[ http://jira.codehaus.org/browse/SUREFIRE-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerome Lacoste updated SUREFIRE-409: ------------------------------------ Attachment: pom_2.4_with_systemClassLoader.xml pom.diff mvn_2.4_without_systemClassLoader.log > Upgrading to surefire 2.4-SNAPSHOT breaks my build > -------------------------------------------------- > > Key: SUREFIRE-409 > URL: http://jira.codehaus.org/browse/SUREFIRE-409 > Project: Maven Surefire > Issue Type: Bug > Components: classloading > Affects Versions: 2.4 > Reporter: Jerome Lacoste > Attachments: mvn_2.3_with_systemClassLoader.log, > mvn_2.3_without_systemClassLoader.log, mvn_2.4_with_systemClassLoader.log, > mvn_2.4_without_systemClassLoader.log, pom.diff, > pom_2.4_with_systemClassLoader.xml, svn_info.txt, test-failure-2.4.txt > > > If I upgrade surefire in the Mowebstart plugin project, I get test failures: > Caused by: java.lang.NoSuchMethodError: > org.codehaus.plexus.util.cli.CommandLineUtils.getSystemEnvVars()Ljava/util/Properties; > at > org.apache.maven.project.interpolation.RegexBasedModelInterpolator.<init>(RegexBasedModelInterpolator.java:63 > ) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at java.lang.Class.newInstance0(Class.java:350) > at java.lang.Class.newInstance(Class.java:303) > at > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.java:44) > ... 43 more > It sounds like SUREFIRE-347. > Note that my build was broke on Windows. I usually build on Linux so I didn't > notice the problem. Maybe it has been there for a while. I also attach here > the error I was getting when building with 2.3 on Windows. So I removed the > useSystemClassLoader config (that was introduced to work-around SUREFIRE-347 > w/ surefire 2.3...) in my POM and the build passed again on Windows (didn't > try on Linux). > Then I upgraded to surefire plugin 2.4 and started to see failures in test. I > added the useSystemClassLoader=true section in the surefire plugin config > still the same issue. > I will try on linux when I get the time... -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira