Claus Nielsen created MRELEASE-967:
--------------------------------------
Summary: scmCommentPrefix is not used when tagging
Key: MRELEASE-967
URL: https://issues.apache.org/jira/browse/MRELEASE-967
Project: Maven Release Plugin
Issue Type: Bug
Components: prepare
Affects Versions: 2.5.3
Environment: Linux, Maven 3.3.9, jdk 1.0.8_102, GIT
Reporter: Claus Nielsen
We use a Jira Hook in out GIT installation to ensure a Jira Ticket in all
commits. This is of course also activated when the release plugin comes into
play.
When using release prepare with the scmCommentPrefix parameter, the commit
message is not as expected when it comes to tagging. The initial prepare commit
where the release version is committed works fine with the scmCommentPrefix,
but in the next phase where the actual tagging is made the value in
scmCommentPrefix is ignored. This result in a failing release with a lot of
manual cleaning up in poms... :-(
I can see that there was a problem with this earlier before using scm api 1.3
and before the maven release version 2.0. But this should be fixed now.
Here is an example:
mvn release:prepare release:perform '-DscmCommentPrefix=NIS-145 NIS-295
(clausfod)' -Dresume=false '-Darguments=-DskipTests'
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)