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

Damian Carrillo commented on MREACTOR-11:
-----------------------------------------

I think that the patch might be overkill if the gist of the problem is to 
include those two build profiles in the builds spawned by the reactor.  Instead 
of issuing the command as you have done, try using the following:

$ mvn reactor:make -Dmake.goals="install -Pprofile1 -Pprofile2"

You can even pass any combination of command line parameters this way, ie:

$ mvn reactor:make -Dmake.goals="install -Pprofile1 -Pprofile2 
-Dmaven.test.skip=true"

> Can't pass a parameter with a comma to -Dmake.goals
> ---------------------------------------------------
>
>                 Key: MREACTOR-11
>                 URL: http://jira.codehaus.org/browse/MREACTOR-11
>             Project: Maven 2.x Reactor Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Henri Tremblay
>         Attachments: comma.patch
>
>
> If tried to do
> {{mvn reactor:make -Dmake.goals=install,-Pprofile1,profile2}}
> If fails because {{-Pprofile1,profile2}} is split in two parameters.
> My solution was to be able to escape a comma by doubling it. 
> Its implementation and the test case are in attachment.

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