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).
How do I exclude java files from a jar in maven-jar-plugin?
Running Tomcat Server with an artifact created by Maven into IntelliJ 13
AxisServlet ClassCastException when deploying Axis2 on Tomcat via Maven
Configuring Maven to use Central Repository if Nexus is unreachable
Hg : join many repositories into a single one
Artifact has not been packaged yet - maven-dependency-plugin
how to make a automation testing framework
Maven module dependency and resources
Permission denied error
Apache Maven Error : Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom: 2.5 to central
Replace tokens from one file to another using Ant script
How to run all the test files and trigger test using maven-surefire plugin
Execute a separate Java process in the classpath of a module
How to trigger distribution module when rebuilding sub module in Maven?
java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://central.maven.org/maven2/org/jboss/weld/servlet/weld-servlet/2.1.2.Final
Openshift deploy with additional Maven command line options