maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustam Abdullaev (JIRA)" <>
Subject [jira] [Commented] (SUREFIRE-1198) Failsafe does not allow to configure the jar file to use
Date Sat, 03 Nov 2018 14:33:00 GMT


Rustam Abdullaev commented on SUREFIRE-1198:

Failsafe is NOT working with Spring Boot in repackage mode since versionĀ 2.19.



java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
	at sun.reflect.annotation.AnnotationParser.parseClassArray(
	at sun.reflect.annotation.AnnotationParser.parseArray(
	at sun.reflect.annotation.AnnotationParser.parseMemberValue(
	at sun.reflect.annotation.AnnotationParser.parseAnnotation2(
	at sun.reflect.annotation.AnnotationParser.parseAnnotations2(
	at sun.reflect.annotation.AnnotationParser.parseAnnotations(
	at java.lang.Class.createAnnotationData(
	at java.lang.Class.annotationData(
	at java.lang.Class.getAnnotation(
	at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.isValidJUnit4Test(
	at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(
	at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(
	at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(
	at org.apache.maven.surefire.junit4.JUnit4Provider.setTestsToRun(
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(
	at org.apache.maven.surefire.booter.ForkedBooter.execute(
	at org.apache.maven.surefire.booter.ForkedBooter.main(

So we're stuck with version *2.18.1* at the moment.

How to use Surefire with the repackage goal?

> Failsafe does not allow to configure the jar file to use
> --------------------------------------------------------
>                 Key: SUREFIRE-1198
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>            Reporter: Stephane Nicoll
>            Assignee: Tibor Digana
>            Priority: Major
>             Fix For: 2.20
> See [this Spring Boot issue|]
> It seems that SUREFIRE-855 does not allow {{target/classes}} to be used anymore. Is there
a reason why this behaviour was completely removed in favour of only the jar file?
> It would be nice if we had an option to chose between the two (defaulting to the jar)

This message was sent by Atlassian JIRA

View raw message