Navigate to project location where you should see pom.xml, assume source code is in SVN.
$svn update –username=<username>
Step#4 (This is an optional step)
$mvn -Ddry-run=true release:prepare -DscmCommentPrefix=”provide release information”
<Now Do the proper prepare>
$mvn release:prepare -DscmCommentPrefix=”provide release information”
First input: You need to provide release version: 1.0 <hit enter>
Second input for development version: 1.1 <hit enter>
Then Perform the release.
How to Create a branch for this release:
$mvn -DbranchName=<Branch_Name> -DupdateBranchVersions=true -DupdateWorkingCopyVersions=false release:branch -DscmCommentPrefix=”provide branch information”
Greetings!! This is Ramesh Kunamaneni (RK), I have a decade experience in IT and worked for various MNCs. I am happy to share my knowledge in this blog especially on Java, Groovy, Python, DevOps, Agile Methodology, Banking and Payments Domain. Please do watch this space for more interesting articles and updates!!