You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2008/06/12 03:44:12 UTC
[jira] Closed: (SUREFIRE-497) Unable to force Java endorsed
mechanism for tests
[ http://jira.codehaus.org/browse/SUREFIRE-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Fabulich closed SUREFIRE-497.
---------------------------------
Resolution: Duplicate
I believe this is a dupe of SUREFIRE-491, fixed in Surefire 2.4.3. Try upgrading to Surefire 2.4.3 and see if the problem goes away. If not, feel free to reopen this bug.
> Unable to force Java endorsed mechanism for tests
> -------------------------------------------------
>
> Key: SUREFIRE-497
> URL: http://jira.codehaus.org/browse/SUREFIRE-497
> Project: Maven Surefire
> Issue Type: Bug
> Components: classloading
> Affects Versions: 2.4.2
> Environment: java version "1.5.0_15", Linux version 2.6.21-1.3194.fc7, Maven 2.0.9
> Reporter: Richard Opalka
>
> I tried the following without success:
> * I added java.endorsed.dirs to systemProperties
> <profile>
> <id>jboss500</id>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <systemProperties>
> <property>
> <name>java.endorsed.dirs</name>
> <value>${jboss500.home}/lib/endorsed</value>
> </property>
> </systemProperties>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> * I added java.endorsed.dirs JVM property to argLine:
> <profile>
> <id>jboss500</id>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-surefire-plugin</artifactId>
> <configuration>
> <argLine>-Djava.endorsed.dirs=${jboss501.home}/lib/endorsed</argLine>
> </configuration>
> </plugin>
> </plugins>
> </build>
> </profile>
> * I tried to propagate it from commandline using command:
> mvn -Pjboss500 -Djava.endorsed.dirs=$JBOSS_HOME/lib/endorsed test
--
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