sormuras commented on issue #184: Donate current sources from 
junit-platform-surefire-provider
URL: https://github.com/apache/maven-surefire/pull/184#issuecomment-386519453
 
 
   Nice. But `animal-sniffer-maven-plugin` still fails either by not finding a 
bunch of methods, like:
   
   ```
   
surefire-providers\surefire-junit-platform\src\main\java\org\apache\maven\surefire\junitplatform\JUnitPlatformProvider.java:213:
 Undefined reference: boolean 
org.junit.platform.commons.util.StringUtils.isNotBlank(String)
   
surefire-providers\surefire-junit-platform\src\main\java\org\apache\maven\surefire\junitplatform\JUnitPlatformProvider.java:228:
 Undefined reference: void 
org.junit.platform.commons.util.Preconditions.condition(boolean, String)
   ```
   
   or if I comment the exclude for `org.junit.platform:junit-platform-commons` 
out, it seems to choke due to an out-dated ASM version:
   
   ```
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute 
goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.15:check (signature-check) 
on project surefire-junit-platform: Execution signature-check of goal 
org.codehaus.mojo:animal-sniffer-maven-plugin:1.15:check failed.
   [...]
   Caused by: java.lang.IllegalArgumentException
        at org.objectweb.asm.ClassReader.<init>(Unknown Source)
        at org.objectweb.asm.ClassReader.<init>(Unknown Source)
        at org.objectweb.asm.ClassReader.<init>(Unknown Source)
        at 
org.codehaus.mojo.animal_sniffer.ClassListBuilder.process(ClassListBuilder.java:71)
   ```
   
   How do I fix those build errors?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to