You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kasper Nielsen (JIRA)" <ji...@codehaus.org> on 2007/11/14 23:46:26 UTC
[jira] Created: (SUREFIRE-372) Surefire does not work properly with
maven.repo.local
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
[jira] Updated: (SUREFIRE-372) Surefire does not work properly with
maven.repo.local
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Closed: (SUREFIRE-372) Surefire does not work properly with
maven.repo.local
Posted by "Dan Fabulich (JIRA)" <ji...@codehaus.org>.
[ 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