Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.3, 2.4
-
None
-
None
Description
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