Class MapVersionsPhase

java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.shared.release.phase.AbstractReleasePhase
org.apache.maven.shared.release.phase.MapVersionsPhase
All Implemented Interfaces:
ReleasePhase, org.codehaus.plexus.logging.LogEnabled

public class MapVersionsPhase extends AbstractReleasePhase
Map projects to their new versions after release / into the next development cycle. The map-phases per goal are:
release:prepare
map-release-versions + map-development-versions; RD.isBranchCreation() = false
release:branch
map-branch-versions + map-development-versions; RD.isBranchCreation() = true
release:update-versions
map-development-versions; RD.isBranchCreation() = false

MapVersionsPhase fieldmap-release-versionsmap-branch-versions map-development-versions
convertToSnapshot false true true
convertToBranch false true false
  • Field Details

    • resourceBundle

      private ResourceBundle resourceBundle
    • convertToSnapshot

      private boolean convertToSnapshot
      Whether to convert to a snapshot or a release.
    • convertToBranch

      private boolean convertToBranch
      Whether to convert to a snapshot or a release.
    • prompter

      private org.codehaus.plexus.components.interactivity.Prompter prompter
      Component used to prompt for input.
    • versionPolicies

      private Map<String,VersionPolicy> versionPolicies
      Component used for custom or default version policy
  • Constructor Details

    • MapVersionsPhase

      public MapVersionsPhase()
  • Method Details