sormuras commented on issue #183: junit5
URL: https://github.com/apache/maven-surefire/pull/183#issuecomment-381308724
 
 
   > I got a new problem because you have compiled one artifact with
   JDK9:
   
   ```
   [INFO] Restricted to JDK 1.8 yet
   org.junit.platform:junit-platform-commons:jar:1.1.1:compile contains
   META-INF/versions/9/org/junit/platform/commons/util/ModuleUtils.class
   targeted to 53.0
   ```
   
   "Who" generates that information message? `enforcer`? Can you configure it 
to ignore classes below `META-INF/versions/`?
   
   > [ERROR] junitplattform.BasicTest.testSetUp()  Time elapsed: 0.046 s  <<<
   FAILURE! org.opentest4j.AssertionFailedError: setUp was not called
   
   Running `junitplattform.BasicTest` standalone works fine.
   Do the `its` tests below 
https://github.com/Tibor17/maven-surefire/tree/new-junit5/surefire-its/src/test/resources/junit5/src/test/java/junit5
 work? If yes, what's different here compared to the `junitplattform` `its` 
test setup?

----------------------------------------------------------------
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