Maven release from a branch by jenkins
I have to perform a maven release from branch with Jenkis and tag the RELEASE.At the same time, i need to update the version (new SNAPSHOT) on trunk. For Example: /trunk contains Module_1.0.0-SNAPSHOT /branches/Module_1.0.0-SNAPSHOT After Perform Maven Release on /branches/Module_1.0.0-SNAPSHOT /trunk contains Module_1.0.1-SNAPSHOT /tag/Module_1.0.0-RELEASE Setting maven-release-plugin and scm (url, connection, developerConnection), /tag/Module_1.0.0-RELEASE and new version on branch go right way. But, even with developerConnection pointing to trunk doesn't udpate the version on trunk. How could I achieve that? thank's in advance.
If you run the Maven release plugin on your branch (/branches/Module_1.0.0-SNAPSHOT), it will: Update the version number on this branch (1.0.0-SNAPSHOT --> 1.0.0) Apply a tag on this branch (tag/1.0.0 or something like that) Move your branch to 1.0.1-SNAPSHOT Even if you set the developerConnection property, the Maven release plugin will not update the version number of your trunk branch. If you want to increase the version number on the trunk, you have to release from the trunk (or release from the branch + merge your branch to your trunk).
What are “optional” Maven dependencies? [closed]
Cobertura code coverage for failed tests
amazon aws artifacts could not be resolved
difference between “dependency information” and “dependencies” in the auto-generated site
How to set parameters from console to own maven report plugin
Maven Plugin Logging
How to do continuous integration with Hudson for Maven 3 multi-module projects well?
How to pause a maven build inbetween?
Supporting DocBook olink in Maven Project
Maven jaxws plugin fails with java.lang.UnsupportedClassVersionError: Bad version number in .class file
Maven override properties from command line does for child modules cross reference
How to deploy a parent pom file without executing plugins
TestNG specific testsuite not running
cygwin maven rpm “Segmentation fault”
tomcat 7 embedded doesn't shutdown correctly ClassNotFoundException ContainerBase$StopChild
Deploying war hangs using tomcat maven plugin