[ 
https://jira.codehaus.org/browse/SUREFIRE-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Gudian closed SUREFIRE-1011.
------------------------------------

    Resolution: Incomplete

Closing the issue, as there was no further feedback.

@Martin, feel free to reopen, once you can reproduce the issue with the latest 
version and a small sample project. Thanks! :)
                
> Surefire does not respect or implement additonalClasspathElements
> -----------------------------------------------------------------
>
>                 Key: SUREFIRE-1011
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1011
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: classloading
>    Affects Versions: 2.14.1
>         Environment: mvn -e -X -o -Dmaven.test.
> additionalClasspath=C:\Users\mgainty\org\apache\maven\surefire\maven-surefire-co
> mmon\2.9\maven-surefire-common-2.9.jar package 
>            Reporter: Martin Gainty
>
> <plugin>
>                       <groupId>org.apache.maven.surefire</groupId>
>               <artifactId>maven-surefire-plugin</artifactId>
>               <version>2.9</version>
>               <configuration>
>                       <useSystemClassLoader>true</useSystemClassLoader>       
>         
> <additionalClasspathElements>C:\Users\mgainty\org\apache\maven\surefire\maven-surefire-common\2.9\maven-surefire-common-2.9.jar</additionalClasspathElements>
>                  </configuration>
> </plugin>
> LOG
> mavenPluginPluginVersion=3.1, 
> user.dir=C:\maven-plugin\maven-war-plugin\maven-war-plugin-2.3, 
> env.CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher,
> classworlds.conf=C:\Maven\apache-maven-3.0.2\bin\m2.conf, 
> java.endorsed.dirs=C:\Java\1664\lib\endorsed, env.USERNAME=mgainty, 
> mavenArchiverVersion=2.5, 
> env.MAVEN_CMD_LINE_ARGS=-e -X -o 
> -Dmaven.test.additionalClasspath=C:\Users\mgainty\org\apache\maven\surefire\maven-surefire-common\2.9\maven-surefire-common-2.9.jar
>  
> RESULT:
> Caused by: org.apache.maven.plugin.PluginExecutionException: Execution 
> default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.9:test 
> failed: Unable to load the mojo 'test' in the plugin 
> 'org.apache.maven.plugins:maven-surefire-plugin:2.9'. A required class is 
> missing: org/apache/maven/plugin/surefire/AbstractSurefireMojo

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to