[
http://jira.codehaus.org/browse/SUREFIRE-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103622
]
Nick Bower commented on SUREFIRE-117:
-------------------------------------
this will be more helpful perhaps
[DEBUG] C:\Documents and Settings\nick\.m2\repository\commons-pool\commons-poo
l\1.3\commons-pool-1.3.jar
[DEBUG] Setting system property [localRepository]=[C:/Documents and Settings/nic
k/.m2/repository]
[DEBUG] Setting system property [basedir]=[c:\Documents and Settings\nick\worksp
ace\DataFeeds]
[DEBUG] Using JVM: c:\Java\jdk1.5.0_11\jre\bin\java
[INFO] Surefire report directory: c:\Documents and Settings\nick\workspace\DataF
eeds\target\surefire-reports
[INFO] Building jar: c:\DOCUME~1\nick\LOCALS~1\Temp\surefirebooter63991.jar
Forking command line: c:\Java\jdk1.5.0_11\jre\bin\java -jar c:\DOCUME~1\nick\LOC
ALS~1\Temp\surefirebooter63991.jar c:\DOCUME~1\nick\LOCALS~1\Temp\surefire63989t
mp c:\DOCUME~1\nick\LOCALS~1\Temp\surefire63990tmp
java.lang.NoClassDefFoundError: org/apache/maven/surefire/booter/SurefireBooter
Exception in thread "main"
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
> ability to add dependency to jvm's classpath rather in surefirebooter
> classloader
> ---------------------------------------------------------------------------------
>
> Key: SUREFIRE-117
> URL: http://jira.codehaus.org/browse/SUREFIRE-117
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.0 (2.2 plugin)
> Environment: xp
> Reporter: Dan Tran
> Assignee: Kenney Westerhof
> Fix For: 2.4
>
> Attachments: MSUREFIRE-121-booter.patch, MSUREFIRE-121.plugin.patch,
> MSUREFIRE-121.plugin.patch2, MSUREFIRE-121.plugin.patch3
>
>
> I have a usecase where i have a jar file got loaded by -Xbootclasspath, that
> jar file then loads classes from another jar ( my dependency)
> expected in the classpath.
> The problem is that surefire plugin does not add my dependencies at JVM
> commanline thru -classpath option, but after the JVM starts
--
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