maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Gudian (JIRA)" <j...@codehaus.org>
Subject [jira] (SUREFIRE-1010) surefire does not respect or implement useSystemClassLoader from configuration
Date Sun, 30 Jun 2013 18:15:05 GMT

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

Andreas Gudian closed SUREFIRE-1010.
------------------------------------

    Resolution: Duplicate

Dupe of SUREFIRE-1011
                
> surefire does not respect or implement useSystemClassLoader from configuration
> ------------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1010
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-1010
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: classloading
>    Affects Versions: 2.14.1
>         Environment: C:\maven-plugin\maven-war-plugin\maven-war-plugin-2.3>mvn -e
-X -o package > err
> ors.lst
> Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=2048m
> C:\maven-plugin\maven-war-plugin\maven-war-plugin-2.3>
> C:\maven-plugin\maven-war-plugin\maven-war-plugin-2.3>mvn -e -X -o -Dsurefire.us
> eSystemClassLoader=true package > errors.lst
> Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=2048m
> C:\maven-plugin\maven-war-plugin\maven-war-plugin-2.3>echo %CLASSPATH%
> C:\Maven\MAVEN1~1.2\lib;C:\Users\mgainty\.m2\repository\qdox\qdox\1.6.3\qdox-1.6
> .3.jar;C:\Weblogic\Middleware2\modules;C:\Axis\axis-1_3\modules\kernel\target\cl
> asses;C:\Axis\axis2-1.6.2\modules\xmlbeans\build\lib\XBeans-packaged.jar;C:\Axis
> \axis2-1.6.2\modules\kernel\target\axis2-kernel-1.5.jar;C:\apache-servicemix-4.2
> .0\composite\build\classes;C:\JBOSS\jboss-5.0.1.GA\lib\jboss-jca-deployer.jar;C:
> \maven-plugin\wsdl4j\wsdl4j\1.6.2\target\classes;C:\maven-plugin\javaxwsdl\targe
> t\classes;C:\maven-plugin\commons-schema\target\classes;C:\AXIS\axis2-1.5\lib\ne
> ethi-2.0.4.jar;C:\maven-plugin\wsdljava\target\classes;C:\maven-plugin\commons-c
> li\target\classes;C:\maven-plugin\cfx-api\target;C:\SOAPUI\SoapUI\soapui-3.5-win
> dows-bin\soapui-3.5\lib;C:\maven-plugin\j2ssh\target;C:\maven-plugin\j2ssh-ant\t
> arget;C:\maven-plugin\ant-jsch\target;C:\ANT\ant-contrib\ant-contrib-1.0b2.jar;C
> :\maven-plugin\log4j\target\classes;C:\maven-plugin\commons-collections\target\c
> lasses;C:\maven-plugin\commons-io\commons-io\1.4\commons-io-1.4.jar;C:\maven-plu
> gin\commons-lang\2.3\commons-lang-2.3.jar;C:\ANT\apache-ivy-2.2.0;.;C:\maven-plu
> gin\wss4j\target\wss4j-1.5.0.jar;C:\AXIS\axis2-1.6\serviceName-test-client.jar;C
> :\maven-plugin\commons-discovery\commons-discovery\0.2\commons-discovery-0.2.jar
> ;C:\ANT\APACHE~1.1\lib;C:\ANT\APACHE~1.1\lib\tools.jar;C:\ANT\APACHE~1.1\lib\ant
> -bootstrap.jar;C:\Users\mgainty\.m2\repository\org\apache\maven\maven-plugin-plu
> gin\3.0.2\maven-plugin-plugin-3.0.2.jar;C:\ANT\apache-ant-1.8.2\lib\ant-launcher
> .jar;C:\Users\mgainty\org\apache\maven\surefire\maven-surefire-common\2.9\maven-
> surefire-common-2.9.jar
>            Reporter: Martin Gainty
>
> <plugin>
>        		<groupId>org.apache.maven.surefire</groupId>
>           	<artifactId>maven-surefire-plugin</artifactId>
>     		<version>2.9</version>
>     		<configuration>
>    			<useSystemClassLoader>true</useSystemClassLoader>
>                 </configuration>
> </plugin>
> useSystemClassLoader does not appear in properties
> mvn -e -X -o -Dsurefire.useSystemClassLoader=true 
> ..-XX:MaxPermSize=3192m, surefire.useSystemClassLoader=true, env.PGPORT=5432,
> Caused by: org.apache.maven.plugin.PluginContainerException: 
> 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
> Surefire classloaders do not respect or implement useSystemClassLoader

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