scmCommentPrefix can't be the empty string when specified in the xml
--------------------------------------------------------------------

                 Key: MRELEASE-686
                 URL: https://jira.codehaus.org/browse/MRELEASE-686
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: prepare
    Affects Versions: 2.1
         Environment: linux, git
            Reporter: Tresi Arvizo
            Priority: Minor


The release plugin ignores the scmCommentPrefix parameter when it is set to the 
empty string in the xml.  It will silently revert back to the default 
"[maven-release-plugin]".

Manually specifying -DscmCommentPrefix="" on the "mvn release:prepare" command 
line does the right thing, however.

This is using scm:git with a local repo and <pushChanges>false</pushChanges>, 
if that matters.

...
<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-release-plugin</artifactId>
  <version>2.1</version>
  <configuration>
    <!-- silently ignored -->
    <scmCommentPrefix />
    <!-- also silently ignored -->
    <scmCommentPrefix></scmCommentPrefix>
  </configuration>
</plugin>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to