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