[ https://jira.codehaus.org/browse/MRELEASE-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=316541#comment-316541 ]
Fred Cooke commented on MRELEASE-812: ------------------------------------- I just tried to reproduce this behaviour on a simple git-maven project locally and couldn't: {noformat} commit c658aaec37369f040ba77deb05382bbe5284ee1c Author: Fred Cooke <email> Date: Thu Jan 3 10:46:21 2013 +0100 Update to 2.4 to assist testing MRELEASE-812. diff --git a/pom.xml b/pom.xml index ec5cfe2..9271b8d 100644 --- a/pom.xml +++ b/pom.xml @@ -49,7 +49,7 @@ - <plugin.version.release>2.3.2</plugin.version.release> + <plugin.version.release>2.4</plugin.version.release> {noformat} {noformat} [INFO] --- maven-release-plugin:2.4:prepare (default-cli) @ parent --- {noformat} {noformat} fred@dauntless:~/workspace/parent$ git show 0.4 tag 0.4 Tagger: Fred Cooke <email> Date: Thu Jan 3 10:47:08 2013 +0100 [maven-release-plugin] copy for tag 0.4 commit bf9e44d196c5735cb4fc585ed33e76496064f2a4 Author: Fred Cooke <email> Date: Thu Jan 3 10:47:08 2013 +0100 [maven-release-plugin] prepare release 0.4 diff --git a/pom.xml b/pom.xml index 9271b8d..d413c19 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ <groupId>com.?</groupId> <artifactId>parent</artifactId> - <version>0.4-SNAPSHOT</version> + <version>0.4</version> <packaging>pom</packaging> <name>Parent Project</name> @@ -16,7 +16,7 @@ <scm> <developerConnection>scm:git:?:parent.git</developerConnection> - <tag>HEAD</tag> + <tag>0.4</tag> </scm> <distributionManagement> {noformat} > "prepare" does not commit before tagging and therefore deploys snapshot > instead of release > ------------------------------------------------------------------------------------------ > > Key: MRELEASE-812 > URL: https://jira.codehaus.org/browse/MRELEASE-812 > Project: Maven 2.x Release Plugin > Issue Type: Bug > Components: Git > Affects Versions: 2.4 > Reporter: Andrei Pozolotin > Attachments: mvn-2.3.2.txt, mvn-2.4.0.txt > > > thank you very much for new release! > http://mail-archives.apache.org/mod_mbox/maven-announce/201212.mbox/%3Cop.wpjbptp1kdkhrr@columbia%3E > it seems we need an emergency fix: > attached are 2 logs: > 1) mvn-2.3.2.txt invocation that works fine with 2.3.2 > 2) mvn-2.4.0.txt invocation that fails with 2.4 > problem: > "perform" does not commit tags, deploys snapshot instead of release > here is project parent: > http://search.maven.org/remotecontent?filepath=com/barchart/base/barchart-archon/2.3.6/barchart-archon-2.3.6.pom > build is invoked both times with this: > mvn --define resume=false release:prepare > mvn --define resume=false release:perform -- 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