You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2007/11/16 22:50:25 UTC
[jira] Updated: (SUREFIRE-372) Surefire does not work properly with
maven.repo.local
[ http://jira.codehaus.org/browse/SUREFIRE-372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated SUREFIRE-372:
----------------------------------
Fix Version/s: 2.4
> 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
> Fix For: 2.4
>
>
> 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