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

Robert Scholte closed MRELEASE-816.
-----------------------------------

    Resolution: Won't Fix
      Assignee: Robert Scholte

You're referring to 2 issues: one is a Maven Core issue, the other is a 
duplicate.

The configuration-fields are always trimmed by Plexus (the container of Maven), 
that's out of the hands of the plugin. But there's hope: PLXUTILS-154 adds the 
ability to preserve the space. 

The other is a duplicate of MRELEASE-696.
                
> Various issues with scmCommentPrefix value
> ------------------------------------------
>
>                 Key: MRELEASE-816
>                 URL: https://jira.codehaus.org/browse/MRELEASE-816
>             Project: Maven 2.x Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 2.3.2
>         Environment: Debian Linux OpenJDK 7 mvn 3.0.4 
>            Reporter: Fred Cooke
>            Assignee: Robert Scholte
>            Priority: Minor
>
> When the {{ <scmCommentPrefix> }} property is specified the trailing space is 
> ignored/trimmed for one of the steps and used for the other. When not 
> specified the [maven-release-plugin] has a trailing space for both commit 
> messages. For example:
> Releasing sticky-deployer-embedded at 0.8-SNAPSHOTprepare for next 
> development iteration
> Releasing sticky-deployer-embedded at 0.8-SNAPSHOT copy for tag 
> sticky-deployer-embedded-0.8  
> Versus:
> [maven-release-plugin] prepare for next development iteration
> [maven-release-plugin] prepare release 0.1
> Additionally, the version substituted into ${project.version} in this config 
> is the SNAPSHOT version from before the release. The tagNameFormat value uses 
> the @{project.version} variant to get around this, however if you try to use 
> that in the scmCommentPrefix field you get an error.
> Ideally I'd like to set it up like this and have the trailing space respected 
> for both commits, and the release version used:
> <scmCommentPrefix>Releasing ${project.artifactId} version @{project.version}: 
> </scmCommentPrefix>

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

        

Reply via email to