You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2012/02/11 16:43:03 UTC

[jira] (MRELEASE-527) Add space between ScmCommitPrefix and "prepare" in the release:prepare goal

     [ https://jira.codehaus.org/browse/MRELEASE-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MRELEASE-527.
-----------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

The quote-solution as described by John is not just a workaround, but the preferred and only way to specify a prefix containing spaces.
{noformat}
mvn release:prepare -DscmCommentPrefix="Release (project) (version) BugId:12345 :" 
{noformat}
                
> Add space between ScmCommitPrefix and "prepare" in the release:prepare goal
> ---------------------------------------------------------------------------
>
>                 Key: MRELEASE-527
>                 URL: https://jira.codehaus.org/browse/MRELEASE-527
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.0
>         Environment: Windows
>            Reporter: Mark Berner
>            Assignee: Robert Scholte
>
> For my Bugzilla I must provide comment like : "BugId:12345 comment" for commit hook.
> Passing -DscmCommentPrefix=BugId:20571 to release plugin I get error from Bugzilla 
> Message veryfication failed - either id 12345prepare.
> I can not add space from command line not from pom file.
> In case I use syntax like "[BugId:12345 ]" prefix not propagated to cvs at all.
> I use native implementation -Dmaven.scm.provider.cvs.implementation=cvs_native

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira