[ http://jira.codehaus.org/browse/SUREFIRE-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-372. --------------------------------- Resolution: Cannot Reproduce Fix Version/s: (was: 2.4) It's odd marking this "Cannot Reproduce" because I definitely can reproduce it following your instructions. However, I believe this bug is in Surefire 2.3 only and not in Surefire 2.4 trunk. When I set maven.repo.local to be a local directory into which I built 2.4 trunk, the test passes. I guess we must have fixed this at some point. > Surefire does not work properly with maven.repo.local > ----------------------------------------------------- > > Key: SUREFIRE-372 > URL: http://jira.codehaus.org/browse/SUREFIRE-372 > Project: Maven Surefire > Issue Type: Bug > Components: classloading > Affects Versions: 2.3, 2.4 > Reporter: Kasper Nielsen > > Surefire fails with the following exception when maven.repo.local is set: > org.apache.maven.surefire.booter.SurefireExecutionException: > junit/framework/TestCase; nested exception is java.lang.NoClassDefFoundError: > junit/framework/TestCase > java.lang.NoClassDefFoundError: junit/framework/TestCase > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:620) > ----Steps to reproduce------------- > mvn archetype:create -DgroupId=sample.group.id -DartifactId=foo > -DartifaceId=maven-artifact-quickstart > mvn -Dmaven.repo.local=tmp-repo -f foo/pom.xml install -- 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