Parameter -Darguments only allow one argument
---------------------------------------------

                 Key: MRELEASE-171
                 URL: http://jira.codehaus.org/browse/MRELEASE-171
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
    Affects Versions: 2.0-beta-4
         Environment: Ubuntu 6.10
maven 2.0.4
j2sdk1.4.2
            Reporter: Nick Stolwijk


I try to give some arguments when preparing a release to surefire, which is 
called when the mvn integration-test is being run.

My commandline:
mvn release:prepare -DdryRun=true 
-Darguments="-Dautoportaal.environment=continuum 
-Dmaven.test.failure.ignore=true"

When I run this I see in the log:
[INFO] Executing: mvn clean integration-test --no-plugin-updates 
-Dautoportaal.environment=continuum

When I try:
mvn release:prepare -DdryRun=true 
-Darguments="-Dautoportaal.environment=continuum" 
-Darugments="-Dmaven.test.failure.ignore=true"

I see:
[INFO] Executing: mvn clean integration-test --no-plugin-updates 
-Dmaven.test.failure.ignore=true

It seems only one argument is passed on with the -Darguments argument.

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

        

Reply via email to