mthmulders commented on pull request #456: URL: https://github.com/apache/maven/pull/456#issuecomment-805247010
I've tried to rewrite the Groovy script to a JUnit test. The test succeeds with both Maven 3.6.3 and 4.0.0-alpha-1-SNAPSHOT: [INFO] Running org.apache.maven.its.mng7045.FindMethodFromDependencyTest InstanceSource: (file:/Users/maarten/.m2/repository/javax/enterprise/cdi-api/2.0/cdi-api-2.0.jar <no signer certificates>) Note that I switched the Geronimo dependency for the javax.enterprise one, as the Geronimo one gives java.lang.NoClassDefFoundError: javax/inject/Provider at org.apache.maven.its.mng7045.FindMethodFromDependencyTest.findInstanceStreamMethod(FindMethodFromDependencyTest.java:9) The test runs using Surefire 3.0.0-M5 and JUnit 4.13.2. But that route doesn't help us, as we can't determine whether CDI 1.0 "leaked in" or not. To be continued - but given that I know nothing about bsh or how to run it from Maven, it will probably take a lot longer. If anyone else does, feel free to chime in. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to 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