You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tresi Arvizo (JIRA)" <ji...@codehaus.org> on 2011/06/22 16:24:43 UTC

[jira] Created: (MRELEASE-686) scmCommentPrefix can't be the empty string when specified in the xml

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