[ http://jira.codehaus.org/browse/MRELEASE-33?page=all ]

Jason van Zyl moved MNG-1561 to MRELEASE-33:
--------------------------------------------

    Fix Version:     (was: 2.0.1)
      Component:     (was: maven-release-plugin)
       Workflow: jira  (was: Maven)
            Key: MRELEASE-33  (was: MNG-1561)
        Project: Maven 2.x Release Plugin  (was: Maven 2)

> -Dgoals to use comma separator
> ------------------------------
>
>          Key: MRELEASE-33
>          URL: http://jira.codehaus.org/browse/MRELEASE-33
>      Project: Maven 2.x Release Plugin
>         Type: Bug

>  Environment: xp
>     Reporter: Dan Tran
>     Assignee: Emmanuel Venisse

>
>
> I am writting a custom plugin in order to do release via maven-release-plugin 
> in once step
> So the custom plugin run 2 plexus Commanline, one for prepare and one for 
> release.
> However I am not able able to get commandLine to create this argument
> mvn release:perform -Dgoals="deploy site:site site:deploy"  using plexus 
> commandLine
> In order to make this happen, maven-release-plugin should use String[] for 
> the goals field instead of String
> so that the command should look like this
> mvn release:perform "-Dgoals=deploy site:site site:deploy" 
> Another option is to keep "goals" fieds as String, but requires to use comma 
> as separtor, this way 
> the command line will be
> mvn release:perform -Dgoals=deploy,site:site,site:deploy
> plexus' commandline is happy about those 2 resolutions
> I perfer resolution 2 since maven-scm-plugin (m1 and m2)  already uses this 
> approach in it scm:bootstrap

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to