Before you start this section, please note that you might get this error if run the command
mvn release:perform
:
This might happen if your Nexus or equivalent repository manager is not configured, or your maven project doesn't have a distribution management element.
Please see this page for more details on how to configure Nexus:
Nexus Repository Manager
Run the following commands to release the project:
- Go to "
mtitek-svn-test-a
" project:
- Configure the "
pom.xml
" file of the project "mtitek-svn-test-a
".
Add a "distributionManagement
" element to configure the nexus repositories Snapshots and Releases:
Commit the modifications to SVN:
- Run "
mvn versions:use-releases
" command:
- Run "
mvn release:prepare
" command:
Verify the project version in the "pom.xml
" file:
Verify the project version in the "pom.xml.releaseBackup
" file:
- Run "
mvn release:perform
" command:
Verify that the released component was deployed to Nexus:

Verify that the new release is created:
Checkout the new release:
Verify the project version and the scm configuration in the 'pom.xml':