You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2006/04/16 01:41:48 UTC
[jira] Updated: (MSUREFIRE-93) maven-surefire-plugin:2.2-SNAPSHOT
fails with invalid option -ea when forking to a JDK < 1.4
[ http://jira.codehaus.org/browse/MSUREFIRE-93?page=all ]
Brett Porter updated MSUREFIRE-93:
----------------------------------
Fix Version: 2.2
> maven-surefire-plugin:2.2-SNAPSHOT fails with invalid option -ea when forking to a JDK < 1.4
> ---------------------------------------------------------------------------------------------
>
> Key: MSUREFIRE-93
> URL: http://jira.codehaus.org/browse/MSUREFIRE-93
> Project: Maven 2.x Surefire Plugin
> Type: Bug
> Versions: 2.2
> Environment: Win XP, Sun jdk 1.5.0_06
> Reporter: David J. M. Karlsen
> Fix For: 2.2
>
>
> Launching a surefire test with a 1.3 JDK will fail as surefire sets -ea as a default option:
> [DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-surefire-plugin:2.2-SNAPSHOT:test' -->
> .....
> Forking command line: C:\jdk1.3.1_18\bin\java.exe -ea -classpath < lots of classes >
> Unrecognized option: -ea
> The -ea option is not available on a 1.3.1 JDK - effectively disabling testing with a JDK < 1.4 with surefire.
> also tried setting an empty
> <argLine/> in the configuration - but this didn't seem to be read (at least it's not mentioned while running with -X)
> Probably the options should all be set within <argLine> - and surefire should not assume any default options.
--
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