Maven Release Manager

Maven Release Manager implements:

  • the release management engine (ReleaseManager API with DefaultReleaseManager implementation),
  • default release phases (in phase package),
  • and the default release strategy (DefaultStrategy) with its phases configuration:
    <component>
      <role>org.apache.maven.shared.release.strategy.Strategy</role>
      <role-hint>default</role-hint>
      <implementation>org.apache.maven.shared.release.strategies.DefaultStrategy</implementation>
      <configuration>
        <preparePhases>
          <phase>check-poms</phase>
          <phase>scm-check-modifications</phase>
          <phase>check-dependency-snapshots</phase>
          <phase>create-backup-poms</phase>
          <phase>map-release-versions</phase>
          <phase>input-variables</phase>
          <phase>map-development-versions</phase>
          <phase>rewrite-poms-for-release</phase>
          <phase>generate-release-poms</phase>
          <phase>run-preparation-goals</phase>
          <phase>scm-commit-release</phase>
          <phase>scm-tag</phase>
          <phase>rewrite-poms-for-development</phase>
          <phase>remove-release-poms</phase>
          <phase>run-completion-goals</phase>
          <phase>scm-commit-development</phase>
          <phase>end-release</phase>
        </preparePhases>
        <performPhases>
          <phase>verify-completed-prepare-phases</phase>
          <phase>checkout-project-from-scm</phase>
          <phase>run-perform-goals</phase>
        </performPhases>
        <rollbackPhases>
          <phase>restore-backup-poms</phase>
          <phase>scm-commit-rollback</phase>
          <phase>remove-scm-tag</phase>
        </rollbackPhases>
        <branchPhases>
          <phase>check-poms</phase>
          <phase>scm-check-modifications</phase>
          <phase>create-backup-poms</phase>
          <phase>map-branch-versions</phase>
          <phase>branch-input-variables</phase>
          <phase>map-development-versions</phase>
          <phase>rewrite-poms-for-branch</phase>
          <phase>scm-commit-branch</phase>
          <phase>scm-branch</phase>
          <phase>rewrite-poms-for-development</phase>
          <phase>scm-commit-development</phase>
          <phase>end-release</phase>
        </branchPhases>
        <updateVersionsPhases>
          <phase>check-poms-updateversions</phase>
          <phase>create-backup-poms</phase>
          <phase>map-development-versions</phase>
          <phase>rewrite-pom-versions</phase>
        </updateVersionsPhases>
      </configuration>
    </component>