Maven Release Management and the TeamCity Artifactory Plugin

JFrog Integrations Documentation

Content Type

The TeamCity Artifactory Plugin manages a release with Maven running the build only once using the following basic steps:

  1. Change the POM versions to the release version (before the build starts).

  2. Trigger the Maven build (with optionally different goals).

  3. Commit/push changes to the tag (Subversion) or the release branch (Git).

  4. Change the POM versions to the next development version.

  5. Commit/push changes to the trunk.

If the build fails, the plugin attempts to rollback the changes (both local and committed).

For more information including configuration of Maven Runners, and Jobs and staging a release build, please refer to TeamCity Artifactory Plug-in.