Although performing a release usually is followed by deploying the packages to a Maven repository, it is not always required. This practically means that you can just release an application or distribute it manually to its users.
The release process is supported by the Maven-release plugin, but we need to make sure that the following requirements are met:
Although this is optional, it is highly recommended to explicitly define the version of the Maven-release plugin in the
<pluginManagement>
element of thepom.xml
fileThe SCM URL that points to the folder containing the
pom.xml
file is correctly configured in the<scm>
section of thepom.xml
fileThere are no pending local modifications to be committed. Otherwise, the plugin will display an error message.