Hi Tobias,

You're using an old maven-release-plugin version: did you try with latest 
version, which is currently 2.5.2?

Seems MRELEASE-812, fixed in 2.5, a good candidate to an explanation to the 
issue you're facing

Regards,

Hervé

Le mardi 1 septembre 2015 22:27:47 Tobias Hochgürtel a écrit :
> Dear Maven Developers,
> 
> I had some troubles with Maven Release plugin in combination with Maven
> SCM Provider gitexe plugin as an dependency.
> 
> I found the following Stackoverflow Question which helped me to get the
> known behavior back.
> http://stackoverflow.com/questions/15166781/mvn-releaseprepare-not-committin
> g-changes-to-pom-xml
> 
> But this could not the solution to downgrade the
> maven-scm-provider-gitexe plugin to version 1.8.1, is there any
> information of an behavior change for newer version as 1.8.1? So if I
> use maven-scm-provider-gitexe version 1.9.4 or better I I don't provide
> this dependency like before in my pom.xml I have to configure the
> behavior to get the know behavior from 1.8.1 back.
> 
> the Known behavior is:
> 
> -> pom.xml: <version>1.0-SNAPSHOT</version>
> 
> mvn clean release:clean release:prepare
> -> pom.xml: <version>1.0</version>
> -> git tag is created for version 1.0 (tag name: hello-1.0) (pom.xml
> version: 1.0)
> -> pom.xml: <version>1.1-SNAPSHOT</version>
> -> git push with next developing version number.
> 
> the New behavior is:
> 
> -> pom.xml: <version>1.0-SNAPSHOT</version>
> 
> mvn clean release:clean release:prepare
> -> git tag is created for version 1.0 (tag name: hello-1.0) (pom.xml
> version: 1.0-SNAPSHOT)
> -> pom.xml: <version>1.1-SNAPSHOT</version>
> 
> no git push with next developing version number.
> I have commit the changed pom.xml for next developing iteration manually
> via git add & git commit & git push.
> 
> I don't get also an version number for release. The created Tag includes
> a pom.xml file with an SNAPSHOT suffixed version number.
> 
> I attach to this mail an log of "mvn release:prepare".
> I have also an public repository where the behavior can be seen forked
> or clone to test it self. https://github.com/tobiashochguertel/hello
> 
> Does someone know something about this behavior change?
> 
> Kind regards,
> Tobias Hochgürtel


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to