[
http://jira.codehaus.org/browse/MREACTOR-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=187636#action_187636
]
Henri Tremblay commented on MREACTOR-11:
----------------------------------------
Historically, it wasn't possible to have two -P in the command line.
I just tried with maven 2.1.0 and it now seems to work.
If that's the case, indeed there's a nice workaround to my issue.
> 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