maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-1011) Surefire does not respect or implement additonalClasspathElements
Date Sun, 30 Jun 2013 13:12:05 GMT
Martin Gainty created SUREFIRE-1011:
---------------------------------------

             Summary: 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

Mime
View raw message