You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Henri Tremblay (JIRA)" <ji...@codehaus.org> on 2008/10/07 00:41:08 UTC

[jira] Commented: (MREACTOR-10) Parameters are not passed through

    [ http://jira.codehaus.org/browse/MREACTOR-10?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=150107#action_150107 ] 

Henri Tremblay commented on MREACTOR-10:
----------------------------------------

Sorry, missed that in the documentation.

I must say it's quite a harsh syntax.

Some points to help others:
* You must specified a goal (like install) in that case. {{-Dmake.goals=-Dmaven.test.skip=true}} doesn't work
* The syntax is {{-Dmake.goals=-Dmaven.test.skip=true,install}} (not a dot between skip and true)

>From the code, it's true that DefaultInvoker is quite command line oriented. But why is it required to launch another process? 

Anyway, thanks for the answer and the plugin :)

> Parameters are not passed through
> ---------------------------------
>
>                 Key: MREACTOR-10
>                 URL: http://jira.codehaus.org/browse/MREACTOR-10
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Bug
>    Affects Versions: 1.0
>         Environment: Windows XP. Maven 2.1.0-M1
>            Reporter: Henri Tremblay
>            Priority: Blocker
>
> Parameters passed to maven in the -M form are not propogated to the inner call to maven.
> For instance:
> {{mvn.bat reactor:make -Dmaven.test.skip=true -Dmake.folders=java/utils/commons -Pjava,deploy}}
> will launch the following call:
> {{mvn.bat -B -N -r -D maven.reactor.includes=java\pom.xml,java\tests\ut\pom.xml,java\utils\commons\pom.xml install}}
> As you can see, the maven.test.skip has disappear and so the tests are ran... Which in this case prevents me from using the plugin. :-(

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