Am 20.09.2013 10:46, schrieb Tim Kettler:
Am 20.09.2013 10:10, schrieb Christian Grobmeier:
Hi folks,
I have used the release plugin fro a millions of releases. And suddenly
it stopped working as expected.
I am doing:
$> mvn release:prepare
$> mvn release:perform
And usually I see commits of the kind:
[maven-release-plugin] prepare release v3.2.2
------8<-----------
Previously i have used release plugin version 2.3.1, but when the error
appeared I upgraded to 2.4.
--- maven-release-plugin:2.4:prepare (default-cli) @ webapp ---
[INFO] Verifying that there are no local modifications...
[INFO] ignoring changes on: **/pom.xml.backup, **/release.properties,
**/pom.xml.branch, **/pom.xml.next, **/pom.xml.releaseBackup,
**/pom.xml.tag
[INFO] Executing: /bin/sh -c cd /Users/cg/project.git/webapp && git
status --porcelain
[INFO] Working directory: /Users/cg/project.git/webapp
------8<-----------
Any ideas are much welcome. It doesn't feel well that way.
You probably hit MRELEASE-812 [1]. The release-plugin-2.4 is borked when
using git and releasing not from the repository root.
What you should use is release-plugin-2.4.1. That reverts the scm lib
back to a working version: http://jira.codehaus.org/browse/MRELEASE-830
Thanks!
Christian
-Tim
[1] http://jira.codehaus.org/browse/MRELEASE-812
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org