[
http://jira.codehaus.org/browse/MNG-4284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=186128#action_186128
]
Matthew Fleming commented on MNG-4284:
--------------------------------------
I'll change the plugin version to see if that is indeed the issue (and that the
plugin version was different on each machine).
> [surefire] Command line parms not passed to tests on linux
> -----------------------------------------------------------
>
> Key: MNG-4284
> URL: http://jira.codehaus.org/browse/MNG-4284
> Project: Maven 2
> Issue Type: Bug
> Affects Versions: 2.2.0
> Environment: fedora 8 32-bit linux
> Reporter: Matthew Fleming
>
> When I use maven 2.2 on fedora, the command line properties are not passed
> into the surefire tests. When I run the exact same build using maven 2.2 on
> OSX, the parameters are passed.
> Example:
> mvn -Dsmr.jdbc.port=4306 -X > debug.log
> On linux:
> DEBUG] Setting system property [user.dir]=[/data2/apps/smr]
> [DEBUG] Setting system property
> [localRepository]=[/home/oabuild/.m2/repository]
> [DEBUG] Setting system property [basedir]=[/data2/apps/smr]
> [DEBUG] Using JVM: /opt/jdk1.5.0_18/jre/bin/java
> On Mac:
> A whole bunch of properties including:
> [DEBUG] Setting system property [smr.jdbc.port]=[4306]
> Any ideas?
--
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