Class ModelloReleaseDescriptor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<java.lang.String> activateProfiles
      Field activateProfiles.
      private java.lang.String additionalArguments
      Additional arguments to pass to any executed Maven process.
      private boolean addSchema
      Whether to add the model schema to the top of the rewritten POM if it wasn't there already.
      private boolean allowTimestampedSnapshots
      Should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
      private boolean autoVersionSubmodules
      Whether to use the parent pom version for submodule versions.
      private boolean branchCreation
      Whether to create a branch instead of do a release.
      private java.util.List<java.lang.String> checkModificationExcludes
      Field checkModificationExcludes.
      private java.lang.String checkoutDirectory
      The directory where the tag will be checked out.
      private boolean commitByProject
      The commits must be done by modules or not.
      private java.lang.String completedPhase
      The last completed phase.
      private java.lang.String completionGoals
      The goals to execute in on completion of preparation for the release.
      private java.lang.String defaultDevelopmentVersion
      Default version to use for new working copy.
      private java.lang.String defaultReleaseVersion
      Default version to use for the tagged release or the new branch.
      private java.lang.String description
      The description of this release configuration .
      private boolean generateReleasePoms
      Whether to generate release POMs.
      private boolean interactive
      Whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
      private boolean localCheckout
      If the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network.
      private java.lang.String modelEncoding
      Field modelEncoding.
      private java.lang.String name
      The name of this release configuration .
      private java.util.Map<java.lang.String,​org.apache.maven.model.Scm> originalScmInfo
      Field originalScmInfo.
      private java.lang.String performGoals
      The goals to execute in perform phase for the release.
      private java.lang.String pomFileName
      The file name of the POM to pass to any executed Maven process.
      private java.lang.String preparationGoals
      The goals to execute in preparation for the release.
      private java.lang.String projectNamingPolicyId
      The role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
      private java.lang.String projectVersionPolicyId
      The role-hint for the VersionPolicy implementation used to calculate the project versions.
      private java.util.Map<java.lang.String,​ReleaseStageVersions> projectVersions
      Field projectVersions
      private boolean pushChanges
      Should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository.
      private java.lang.String releaseStrategyId
      The role-hint for the release Strategy implementation.
      private boolean remoteTagging
      NOTE : currently only implemented with svn scm.
      private java.util.Map<java.lang.String,​ReleaseStageVersions> resolvedSnapshotDependencies
      Field resolvedSnapshotDependencies.
      private java.lang.String scmBranchBase
      Where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches .
      private java.lang.String scmBranchCommitComment
      The SCM commit comment when branching .
      private java.lang.String ScmCommentPrefix
      The prefix of SCM modification messages .
      private java.lang.String scmDevelopmentCommitComment
      The SCM commit comment when setting pom.xml back to development .
      private java.lang.String scmId
      The id can be used to get the credentials by the server-id from the settings.xml .
      private java.lang.String scmPassword
      The password for the user interacting with the scm .
      private java.lang.String scmPrivateKey
      Private key for an SSH based SCM repository.
      private java.lang.String scmPrivateKeyPassPhrase
      Pass phrase for the private key.
      private java.lang.String scmRelativePathProjectDirectory
      Relative path of the project returned by the checkout command.
      private java.lang.String scmReleaseCommitComment
      The SCM commit comment when setting pom.xml to release .
      private java.lang.String scmReleasedPomRevision
      NOTE : currently only implemented with svn scm.
      private java.lang.String scmReleaseLabel
      tag or branch name: the identifier for the tag/branch.
      private java.lang.String scmRollbackCommitComment
      The SCM commit comment when rolling back .
      private java.lang.String scmSourceUrl
      This is a MavenSCM of where you're going to get the sources to make the release with.
      private java.lang.String scmTagBase
      Where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags .
      private java.lang.String scmTagNameFormat
      Specifies the format for generating a tag name.
      private boolean scmUseEditMode
      Whether to use edit mode when making SCM modifications.
      private java.lang.String scmUsername
      The user name to interact with the scm .
      private boolean snapshotReleasePluginAllowed
      Whether a SNAPSHOT of the release plugin is allowed.
      private boolean suppressCommitBeforeTagOrBranch
      Whether to suppress a commit of changes to the working copy before a tag or branch is created.
      private boolean updateBranchVersions
      Whether to update branch POM versions.
      private boolean updateDependencies
      If updateDependencies is false, dependencies version won't be updated to the next development version.
      private boolean updateVersionsToSnapshot
      Whether to update branch versions to SNAPSHOT.
      private boolean updateWorkingCopyVersions
      Whether to update working copy POM versions.
      private boolean useReleaseProfile
      Whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate.
      private int waitBeforeTagging
      Wait the specified number of seconds before creating a tag.
      private java.lang.String workingDirectory
      The directory where the release is performed.
      private java.lang.String workItem
      Some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addActivateProfile​(java.lang.String string)
      Method addActivateProfile.
      void addCheckModificationExclude​(java.lang.String string)
      Method addCheckModificationExclude.
      void addDependencyDevelopmentVersion​(java.lang.String dependencyKey, java.lang.String version)  
      void addDependencyOriginalVersion​(java.lang.String dependencyKey, java.lang.String version)  
      void addDependencyReleaseVersion​(java.lang.String dependencyKey, java.lang.String version)  
      void addDevelopmentVersion​(java.lang.String projectId, java.lang.String version)
      Method addDevelopmentVersion.
      void addOriginalScmInfo​(java.lang.String key, org.apache.maven.model.Scm value)
      Method addOriginalScmInfo.
      void addOriginalVersion​(java.lang.String projectId, java.lang.String version)  
      void addReleaseVersion​(java.lang.String projectId, java.lang.String version)
      Method addReleaseVersion.
      private boolean compareScmCollections​(java.util.Map<java.lang.String,​org.apache.maven.model.Scm> that)  
      private static ReleaseStageVersions computeIfAbsent​(java.util.Map<java.lang.String,​ReleaseStageVersions> map, java.lang.String key)  
      boolean equals​(java.lang.Object obj)  
      java.util.List<java.lang.String> getActivateProfiles()
      Method getActivateProfiles.
      java.lang.String getAdditionalArguments()
      Get additional arguments to pass to any executed Maven process.
      java.util.List<java.lang.String> getCheckModificationExcludes()
      Method getCheckModificationExcludes.
      java.lang.String getCheckoutDirectory()
      Get the directory where the tag will be checked out.
      java.lang.String getCompletedPhase()
      Get the last completed phase.
      java.lang.String getCompletionGoals()
      Get the goals to execute in on completion of preparation for the release.
      java.lang.String getDefaultDevelopmentVersion()
      Get default version to use for new working copy.
      java.lang.String getDefaultReleaseVersion()
      Get default version to use for the tagged release or the new branch.
      java.lang.String getDependencyDevelopmentVersion​(java.lang.String artifactConflictId)
      Retrieve the release version for the resolved snapshot dependency.
      java.lang.String getDependencyOriginalVersion​(java.lang.String artifactConflictId)
      Retrieve the original version for the resolved snapshot dependency.
      java.lang.String getDependencyReleaseVersion​(java.lang.String artifactConflictId)
      Retrieve the release version for the resolved snapshot dependency.
      java.lang.String getDescription()
      Get the description of this release configuration.
      java.lang.String getModelEncoding()
      Get the modelEncoding field.
      java.lang.String getName()
      Get the name of this release configuration.
      (package private) java.util.Map<java.lang.String,​org.apache.maven.model.Scm> getOriginalScmInfo()  
      org.apache.maven.model.Scm getOriginalScmInfo​(java.lang.String id)
      Method getOriginalScmInfo.
      java.lang.String getPerformGoals()
      Get the goals to execute in perform phase for the release.
      java.lang.String getPomFileName()
      Get the file name of the POM to pass to any executed Maven process.
      java.lang.String getPreparationGoals()
      Get the goals to execute in preparation for the release.
      java.lang.String getProjectDevelopmentVersion​(java.lang.String projectId)  
      java.lang.String getProjectNamingPolicyId()
      Get the role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
      java.lang.String getProjectOriginalVersion​(java.lang.String projectId)  
      java.lang.String getProjectReleaseVersion​(java.lang.String projectId)  
      java.lang.String getProjectVersionPolicyId()
      Get the role-hint for the VersionPolicy implementation used to calculate the project versions.
      (package private) java.util.Map<java.lang.String,​ReleaseStageVersions> getProjectVersions()  
      java.lang.String getReleaseStrategyId()
      Get the role-hint for the release Strategy implementation.
      (package private) java.util.Map<java.lang.String,​ReleaseStageVersions> getResolvedSnapshotDependencies()
      Method getResolvedSnapshotDependencies.
      java.lang.String getScmBranchBase()
      Get where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches.
      java.lang.String getScmBranchCommitComment()
      Get the SCM commit comment when branching.
      java.lang.String getScmCommentPrefix()
      Get the prefix of SCM modification messages.
      java.lang.String getScmDevelopmentCommitComment()
      Get the SCM commit comment when setting pom.xml back to development.
      java.lang.String getScmId()
      Get the id can be used to get the credentials by the server-id from the settings.xml.
      java.lang.String getScmPassword()
      Get the password for the user interacting with the scm.
      java.lang.String getScmPrivateKey()
      Get private key for an SSH based SCM repository.
      java.lang.String getScmPrivateKeyPassPhrase()
      Get pass phrase for the private key.
      java.lang.String getScmRelativePathProjectDirectory()
      Get relative path of the project returned by the checkout command.
      java.lang.String getScmReleaseCommitComment()
      Get the SCM commit comment when setting pom.xml to release.
      java.lang.String getScmReleasedPomRevision()
      Get nOTE : currently only implemented with svn scm.
      java.lang.String getScmReleaseLabel()
      Get tag or branch name: the identifier for the tag/branch.
      java.lang.String getScmRollbackCommitComment()
      Get the SCM commit comment when rolling back.
      java.lang.String getScmSourceUrl()
      Get this is a MavenSCM of where you're going to get the sources to make the release with.
      java.lang.String getScmTagBase()
      Get where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags.
      java.lang.String getScmTagNameFormat()
      Get specifies the format for generating a tag name.
      java.lang.String getScmUsername()
      Get the user name to interact with the scm.
      int getWaitBeforeTagging()
      Get wait the specified number of seconds before creating a tag.
      java.lang.String getWorkingDirectory()
      Get the directory where the release is performed.
      java.lang.String getWorkItem()
      Get some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered.
      int hashCode()  
      boolean isAddSchema()
      Get whether to add the model schema to the top of the rewritten POM if it wasn't there already.
      boolean isAllowTimestampedSnapshots()
      Get should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
      boolean isAutoVersionSubmodules()
      Get whether to use the parent pom version for submodule versions.
      boolean isBranchCreation()
      Get whether to create a branch instead of do a release.
      boolean isCommitByProject()
      Get the commits must be done by modules or not.
      boolean isGenerateReleasePoms()
      Get whether to generate release POMs.
      boolean isInteractive()
      Get whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
      boolean isLocalCheckout()
      Get if the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network.
      boolean isPushChanges()
      Get should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository.
      boolean isRemoteTagging()
      Get nOTE : currently only implemented with svn scm.
      boolean isScmUseEditMode()
      Get whether to use edit mode when making SCM modifications.
      boolean isSnapshotReleasePluginAllowed()
      Get whether a SNAPSHOT of the release plugin is allowed.
      boolean isSuppressCommitBeforeTagOrBranch()
      Get whether to suppress a commit of changes to the working copy before a tag or branch is created.
      boolean isUpdateBranchVersions()
      Get whether to update branch POM versions.
      boolean isUpdateDependencies()
      Get if updateDependencies is false, dependencies version won't be updated to the next development version.
      boolean isUpdateVersionsToSnapshot()
      Get whether to update branch versions to SNAPSHOT.
      boolean isUpdateWorkingCopyVersions()
      Get whether to update working copy POM versions.
      boolean isUseReleaseProfile()
      Get whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate.
      void removeActivateProfile​(java.lang.String string)
      Method removeActivateProfile.
      void removeCheckModificationExclude​(java.lang.String string)
      Method removeCheckModificationExclude.
      void setActivateProfiles​(java.util.List<java.lang.String> activateProfiles)
      Set list of profiles to activate.
      void setAdditionalArguments​(java.lang.String additionalArguments)
      Set additional arguments to pass to any executed Maven process.
      void setAddSchema​(boolean addSchema)
      Set whether to add the model schema to the top of the rewritten POM if it wasn't there already.
      void setAllowTimestampedSnapshots​(boolean allowTimestampedSnapshots)
      Set should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
      void setAutoVersionSubmodules​(boolean autoVersionSubmodules)
      Set whether to use the parent pom version for submodule versions.
      void setBranchCreation​(boolean branchCreation)
      Set whether to create a branch instead of do a release.
      void setCheckModificationExcludes​(java.util.List<java.lang.String> checkModificationExcludes)
      Set in some exceptions you want to allow changes to the working copy.
      void setCheckoutDirectory​(java.lang.String checkoutDirectory)
      Set the directory where the tag will be checked out.
      void setCommitByProject​(boolean commitByProject)
      Set the commits must be done by modules or not.
      void setCompletedPhase​(java.lang.String completedPhase)
      Set the last completed phase.
      void setCompletionGoals​(java.lang.String completionGoals)
      Set the goals to execute in on completion of preparation for the release.
      void setDefaultDevelopmentVersion​(java.lang.String defaultDevelopmentVersion)
      Set default version to use for new working copy.
      void setDefaultReleaseVersion​(java.lang.String defaultReleaseVersion)
      Set default version to use for the tagged release or the new branch.
      void setDescription​(java.lang.String description)
      Set the description of this release configuration.
      void setGenerateReleasePoms​(boolean generateReleasePoms)
      Set whether to generate release POMs.
      void setInteractive​(boolean interactive)
      Set whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
      void setLocalCheckout​(boolean localCheckout)
      Set if the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network.
      void setModelEncoding​(java.lang.String modelEncoding)
      Set the modelEncoding field.
      void setName​(java.lang.String name)
      Set the name of this release configuration.
      void setPerformGoals​(java.lang.String performGoals)
      Set the goals to execute in perform phase for the release.
      void setPomFileName​(java.lang.String pomFileName)
      Set the file name of the POM to pass to any executed Maven process.
      void setPreparationGoals​(java.lang.String preparationGoals)
      Set the goals to execute in preparation for the release.
      void setProjectNamingPolicyId​(java.lang.String projectNamingPolicyId)
      Set the role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
      void setProjectVersionPolicyId​(java.lang.String projectVersionPolicyId)
      Set the role-hint for the VersionPolicy implementation used to calculate the project versions.
      void setPushChanges​(boolean pushChanges)
      Set should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository.
      void setReleaseStrategyId​(java.lang.String releaseStrategyId)
      Set the role-hint for the release Strategy implementation.
      void setRemoteTagging​(boolean remoteTagging)
      Set nOTE : currently only implemented with svn scm.
      void setScmBranchBase​(java.lang.String scmBranchBase)
      Set where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches.
      void setScmBranchCommitComment​(java.lang.String scmBranchCommitComment)
      Set the SCM commit comment when branching.
      void setScmCommentPrefix​(java.lang.String ScmCommentPrefix)
      Set the prefix of SCM modification messages.
      void setScmDevelopmentCommitComment​(java.lang.String scmDevelopmentCommitComment)
      Set the SCM commit comment when setting pom.xml back to development.
      void setScmId​(java.lang.String scmId)
      Set the id can be used to get the credentials by the server-id from the settings.xml.
      void setScmPassword​(java.lang.String scmPassword)
      Set the password for the user interacting with the scm.
      void setScmPrivateKey​(java.lang.String scmPrivateKey)
      Set private key for an SSH based SCM repository.
      void setScmPrivateKeyPassPhrase​(java.lang.String scmPrivateKeyPassPhrase)
      Set pass phrase for the private key.
      void setScmRelativePathProjectDirectory​(java.lang.String scmRelativePathProjectDirectory)
      Set relative path of the project returned by the checkout command.
      void setScmReleaseCommitComment​(java.lang.String scmReleaseCommitComment)
      Set the SCM commit comment when setting pom.xml to release.
      void setScmReleasedPomRevision​(java.lang.String scmReleasedPomRevision)
      Set nOTE : currently only implemented with svn scm.
      void setScmReleaseLabel​(java.lang.String scmReleaseLabel)
      Set tag or branch name: the identifier for the tag/branch.
      void setScmRollbackCommitComment​(java.lang.String scmRollbackCommitComment)
      Set the SCM commit comment when rolling back.
      void setScmSourceUrl​(java.lang.String scmSourceUrl)
      Set this is a MavenSCM of where you're going to get the sources to make the release with.
      void setScmTagBase​(java.lang.String scmTagBase)
      Set where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags.
      void setScmTagNameFormat​(java.lang.String scmTagNameFormat)
      Set specifies the format for generating a tag name.
      void setScmUseEditMode​(boolean scmUseEditMode)
      Set whether to use edit mode when making SCM modifications.
      void setScmUsername​(java.lang.String scmUsername)
      Set the user name to interact with the scm.
      void setSnapshotReleasePluginAllowed​(boolean snapshotReleasePluginAllowed)
      Set whether a SNAPSHOT of the release plugin is allowed.
      void setSuppressCommitBeforeTagOrBranch​(boolean suppressCommitBeforeTagOrBranch)
      Set whether to suppress a commit of changes to the working copy before a tag or branch is created.
      void setUpdateBranchVersions​(boolean updateBranchVersions)
      Set whether to update branch POM versions.
      void setUpdateDependencies​(boolean updateDependencies)
      Set if updateDependencies is false, dependencies version won't be updated to the next development version.
      void setUpdateVersionsToSnapshot​(boolean updateVersionsToSnapshot)
      Set whether to update branch versions to SNAPSHOT.
      void setUpdateWorkingCopyVersions​(boolean updateWorkingCopyVersions)
      Set whether to update working copy POM versions.
      void setUseReleaseProfile​(boolean useReleaseProfile)
      Set whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate.
      void setWaitBeforeTagging​(int waitBeforeTagging)
      Set wait the specified number of seconds before creating a tag.
      void setWorkingDirectory​(java.lang.String workingDirectory)
      Set the directory where the release is performed.
      void setWorkItem​(java.lang.String workItem)
      Set some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        private java.lang.String name
        The name of this release configuration .
      • description

        private java.lang.String description
        The description of this release configuration .
      • ScmCommentPrefix

        private java.lang.String ScmCommentPrefix
        The prefix of SCM modification messages .
      • scmReleaseCommitComment

        private java.lang.String scmReleaseCommitComment
        The SCM commit comment when setting pom.xml to release .
      • scmDevelopmentCommitComment

        private java.lang.String scmDevelopmentCommitComment
        The SCM commit comment when setting pom.xml back to development .
      • scmBranchCommitComment

        private java.lang.String scmBranchCommitComment
        The SCM commit comment when branching .
      • scmRollbackCommitComment

        private java.lang.String scmRollbackCommitComment
        The SCM commit comment when rolling back .
      • scmSourceUrl

        private java.lang.String scmSourceUrl
        This is a MavenSCM of where you're going to get the sources to make the release with. Example: scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin .
      • scmTagBase

        private java.lang.String scmTagBase
        Where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags .
      • scmBranchBase

        private java.lang.String scmBranchBase
        Where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches .
      • scmReleaseLabel

        private java.lang.String scmReleaseLabel
        tag or branch name: the identifier for the tag/branch. Example: maven-release-plugin-2.0 .
      • scmId

        private java.lang.String scmId
        The id can be used to get the credentials by the server-id from the settings.xml .
      • scmUsername

        private java.lang.String scmUsername
        The user name to interact with the scm .
      • scmPassword

        private java.lang.String scmPassword
        The password for the user interacting with the scm .
      • scmPrivateKey

        private java.lang.String scmPrivateKey
        Private key for an SSH based SCM repository.
      • scmPrivateKeyPassPhrase

        private java.lang.String scmPrivateKeyPassPhrase
        Pass phrase for the private key.
      • scmUseEditMode

        private boolean scmUseEditMode
        Whether to use edit mode when making SCM modifications. This setting is disregarded if the SCM does not support edit mode, or if edit mode is compulsory for the given SCM.
      • scmRelativePathProjectDirectory

        private java.lang.String scmRelativePathProjectDirectory
        Relative path of the project returned by the checkout command.
      • updateDependencies

        private boolean updateDependencies
        If updateDependencies is false, dependencies version won't be updated to the next development version.
      • useReleaseProfile

        private boolean useReleaseProfile
        Whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate. If set to true, this will set the property "performRelease" to true.
      • activateProfiles

        private java.util.List<java.lang.String> activateProfiles
        Field activateProfiles.
      • workingDirectory

        private java.lang.String workingDirectory
        The directory where the release is performed.
      • checkoutDirectory

        private java.lang.String checkoutDirectory
        The directory where the tag will be checked out.
      • completedPhase

        private java.lang.String completedPhase
        The last completed phase.
      • addSchema

        private boolean addSchema
        Whether to add the model schema to the top of the rewritten POM if it wasn't there already. If false then the root element will remain untouched.
      • generateReleasePoms

        private boolean generateReleasePoms
        Whether to generate release POMs.
      • autoVersionSubmodules

        private boolean autoVersionSubmodules
        Whether to use the parent pom version for submodule versions.
      • interactive

        private boolean interactive
        Whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
      • snapshotReleasePluginAllowed

        private boolean snapshotReleasePluginAllowed
        Whether a SNAPSHOT of the release plugin is allowed.
      • additionalArguments

        private java.lang.String additionalArguments
        Additional arguments to pass to any executed Maven process.
      • pomFileName

        private java.lang.String pomFileName
        The file name of the POM to pass to any executed Maven process.
      • checkModificationExcludes

        private java.util.List<java.lang.String> checkModificationExcludes
        Field checkModificationExcludes.
      • preparationGoals

        private java.lang.String preparationGoals
        The goals to execute in preparation for the release.
      • completionGoals

        private java.lang.String completionGoals
        The goals to execute in on completion of preparation for the release.
      • performGoals

        private java.lang.String performGoals
        The goals to execute in perform phase for the release.
      • commitByProject

        private boolean commitByProject
        The commits must be done by modules or not. Set it to true in case of flat directory structure.
      • branchCreation

        private boolean branchCreation
        Whether to create a branch instead of do a release.
      • updateBranchVersions

        private boolean updateBranchVersions
        Whether to update branch POM versions.
      • updateWorkingCopyVersions

        private boolean updateWorkingCopyVersions
        Whether to update working copy POM versions.
      • updateVersionsToSnapshot

        private boolean updateVersionsToSnapshot
        Whether to update branch versions to SNAPSHOT.
      • suppressCommitBeforeTagOrBranch

        private boolean suppressCommitBeforeTagOrBranch
        Whether to suppress a commit of changes to the working copy before a tag or branch is created.
      • waitBeforeTagging

        private int waitBeforeTagging
        Wait the specified number of seconds before creating a tag.
      • allowTimestampedSnapshots

        private boolean allowTimestampedSnapshots
        Should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
      • defaultReleaseVersion

        private java.lang.String defaultReleaseVersion
        Default version to use for the tagged release or the new branch.
      • defaultDevelopmentVersion

        private java.lang.String defaultDevelopmentVersion
        Default version to use for new working copy.
      • projectVersionPolicyId

        private java.lang.String projectVersionPolicyId
        The role-hint for the VersionPolicy implementation used to calculate the project versions.
      • projectNamingPolicyId

        private java.lang.String projectNamingPolicyId
        The role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
      • releaseStrategyId

        private java.lang.String releaseStrategyId
        The role-hint for the release Strategy implementation.
      • remoteTagging

        private boolean remoteTagging
        NOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client > 1.5.0 (http://jira.codehaus.org/browse/SCM-406) .
      • scmReleasedPomRevision

        private java.lang.String scmReleasedPomRevision
        NOTE : currently only implemented with svn scm. It contains the revision of the committed released pom to remotely tag the source code with this revision.
      • pushChanges

        private boolean pushChanges
        Should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository. Pushing the change allows your to more easily share it with other users.
      • localCheckout

        private boolean localCheckout
        If the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network. This is very helpful for releasing large projects!
      • scmTagNameFormat

        private java.lang.String scmTagNameFormat
        Specifies the format for generating a tag name. Property expansion is used with the optional prefix of project, where properties are delimited with @{ and } .
      • workItem

        private java.lang.String workItem
        Some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered. This field allows you to specify that Work Item or Task. It is optional, and only relevant if pushChanges is true.
      • modelEncoding

        private java.lang.String modelEncoding
        Field modelEncoding.
      • resolvedSnapshotDependencies

        private java.util.Map<java.lang.String,​ReleaseStageVersions> resolvedSnapshotDependencies
        Field resolvedSnapshotDependencies.
      • projectVersions

        private java.util.Map<java.lang.String,​ReleaseStageVersions> projectVersions
        Field projectVersions
      • originalScmInfo

        private java.util.Map<java.lang.String,​org.apache.maven.model.Scm> originalScmInfo
        Field originalScmInfo.
    • Constructor Detail

      • ModelloReleaseDescriptor

        public ModelloReleaseDescriptor()
    • Method Detail

      • addActivateProfile

        public void addActivateProfile​(java.lang.String string)
        Method addActivateProfile.
        Parameters:
        string - a string object.
      • addCheckModificationExclude

        public void addCheckModificationExclude​(java.lang.String string)
        Method addCheckModificationExclude.
        Parameters:
        string - a string object.
      • getActivateProfiles

        public java.util.List<java.lang.String> getActivateProfiles()
        Method getActivateProfiles.
        Returns:
        List
      • getAdditionalArguments

        public java.lang.String getAdditionalArguments()
        Get additional arguments to pass to any executed Maven process.
        Returns:
        String
      • getCheckModificationExcludes

        public java.util.List<java.lang.String> getCheckModificationExcludes()
        Method getCheckModificationExcludes.
        Returns:
        List
      • getCheckoutDirectory

        public java.lang.String getCheckoutDirectory()
        Get the directory where the tag will be checked out.
        Returns:
        String
      • getCompletedPhase

        public java.lang.String getCompletedPhase()
        Get the last completed phase.
        Returns:
        String
      • getCompletionGoals

        public java.lang.String getCompletionGoals()
        Get the goals to execute in on completion of preparation for the release.
        Returns:
        String
      • getDefaultDevelopmentVersion

        public java.lang.String getDefaultDevelopmentVersion()
        Get default version to use for new working copy.
        Returns:
        String
      • getDefaultReleaseVersion

        public java.lang.String getDefaultReleaseVersion()
        Get default version to use for the tagged release or the new branch.
        Returns:
        String
      • getDescription

        public java.lang.String getDescription()
        Get the description of this release configuration.
        Returns:
        String
      • getModelEncoding

        public java.lang.String getModelEncoding()
        Get the modelEncoding field.
        Returns:
        String
      • getName

        public java.lang.String getName()
        Get the name of this release configuration.
        Returns:
        String
      • getPerformGoals

        public java.lang.String getPerformGoals()
        Get the goals to execute in perform phase for the release.
        Returns:
        String
      • getPomFileName

        public java.lang.String getPomFileName()
        Get the file name of the POM to pass to any executed Maven process.
        Returns:
        String
      • getPreparationGoals

        public java.lang.String getPreparationGoals()
        Get the goals to execute in preparation for the release.
        Returns:
        String
      • getProjectNamingPolicyId

        public java.lang.String getProjectNamingPolicyId()
        Get the role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
        Returns:
        String
      • getProjectVersionPolicyId

        public java.lang.String getProjectVersionPolicyId()
        Get the role-hint for the VersionPolicy implementation used to calculate the project versions.
        Returns:
        String
      • getReleaseStrategyId

        public java.lang.String getReleaseStrategyId()
        Get the role-hint for the release Strategy implementation.
        Returns:
        String
      • getScmBranchBase

        public java.lang.String getScmBranchBase()
        Get where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches.
        Returns:
        String
      • getScmBranchCommitComment

        public java.lang.String getScmBranchCommitComment()
        Get the SCM commit comment when branching.
        Returns:
        String
      • getScmCommentPrefix

        public java.lang.String getScmCommentPrefix()
        Get the prefix of SCM modification messages.
        Returns:
        String
      • getScmDevelopmentCommitComment

        public java.lang.String getScmDevelopmentCommitComment()
        Get the SCM commit comment when setting pom.xml back to development.
        Returns:
        String
      • getScmId

        public java.lang.String getScmId()
        Get the id can be used to get the credentials by the server-id from the settings.xml.
        Returns:
        String
      • getScmPassword

        public java.lang.String getScmPassword()
        Get the password for the user interacting with the scm.
        Returns:
        String
      • getScmPrivateKey

        public java.lang.String getScmPrivateKey()
        Get private key for an SSH based SCM repository.
        Returns:
        String
      • getScmPrivateKeyPassPhrase

        public java.lang.String getScmPrivateKeyPassPhrase()
        Get pass phrase for the private key.
        Returns:
        String
      • getScmRelativePathProjectDirectory

        public java.lang.String getScmRelativePathProjectDirectory()
        Get relative path of the project returned by the checkout command.
        Returns:
        String
      • getScmReleaseCommitComment

        public java.lang.String getScmReleaseCommitComment()
        Get the SCM commit comment when setting pom.xml to release.
        Returns:
        String
      • getScmReleaseLabel

        public java.lang.String getScmReleaseLabel()
        Get tag or branch name: the identifier for the tag/branch. Example: maven-release-plugin-2.0.
        Returns:
        String
      • getScmReleasedPomRevision

        public java.lang.String getScmReleasedPomRevision()
        Get nOTE : currently only implemented with svn scm. It contains the revision of the committed released pom to remotely tag the source code with this revision.
        Returns:
        String
      • getScmRollbackCommitComment

        public java.lang.String getScmRollbackCommitComment()
        Get the SCM commit comment when rolling back.
        Returns:
        String
      • getScmSourceUrl

        public java.lang.String getScmSourceUrl()
        Get this is a MavenSCM of where you're going to get the sources to make the release with. Example: scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin.
        Returns:
        String
      • getScmTagBase

        public java.lang.String getScmTagBase()
        Get where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags.
        Returns:
        String
      • getScmTagNameFormat

        public java.lang.String getScmTagNameFormat()
        Get specifies the format for generating a tag name. Property expansion is used with the optional prefix of project, where properties are delimited with @{ and }.
        Returns:
        String
      • getScmUsername

        public java.lang.String getScmUsername()
        Get the user name to interact with the scm.
        Returns:
        String
      • getWaitBeforeTagging

        public int getWaitBeforeTagging()
        Get wait the specified number of seconds before creating a tag.
        Returns:
        int
      • getWorkItem

        public java.lang.String getWorkItem()
        Get some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered. This field allows you to specify that Work Item or Task. It is optional, and only relevant if pushChanges is true.
        Returns:
        String
      • getWorkingDirectory

        public java.lang.String getWorkingDirectory()
        Get the directory where the release is performed.
        Returns:
        String
      • isAddSchema

        public boolean isAddSchema()
        Get whether to add the model schema to the top of the rewritten POM if it wasn't there already. If false then the root element will remain untouched.
        Returns:
        boolean
      • isAllowTimestampedSnapshots

        public boolean isAllowTimestampedSnapshots()
        Get should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
        Returns:
        boolean
      • isAutoVersionSubmodules

        public boolean isAutoVersionSubmodules()
        Get whether to use the parent pom version for submodule versions.
        Returns:
        boolean
      • isBranchCreation

        public boolean isBranchCreation()
        Get whether to create a branch instead of do a release.
        Returns:
        boolean
      • isCommitByProject

        public boolean isCommitByProject()
        Get the commits must be done by modules or not. Set it to true in case of flat directory structure.
        Returns:
        boolean
      • isGenerateReleasePoms

        public boolean isGenerateReleasePoms()
        Get whether to generate release POMs.
        Returns:
        boolean
      • isInteractive

        public boolean isInteractive()
        Get whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
        Returns:
        boolean
      • isLocalCheckout

        public boolean isLocalCheckout()
        Get if the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network. This is very helpful for releasing large projects!
        Returns:
        boolean
      • isPushChanges

        public boolean isPushChanges()
        Get should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository. Pushing the change allows your to more easily share it with other users.
        Returns:
        boolean
      • isRemoteTagging

        public boolean isRemoteTagging()
        Get nOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client > 1.5.0 (http://jira.codehaus.org/browse/SCM-406).
        Returns:
        boolean
      • isScmUseEditMode

        public boolean isScmUseEditMode()
        Get whether to use edit mode when making SCM modifications. This setting is disregarded if the SCM does not support edit mode, or if edit mode is compulsory for the given SCM.
        Returns:
        boolean
      • isSnapshotReleasePluginAllowed

        public boolean isSnapshotReleasePluginAllowed()
        Get whether a SNAPSHOT of the release plugin is allowed.
        Returns:
        boolean
      • isSuppressCommitBeforeTagOrBranch

        public boolean isSuppressCommitBeforeTagOrBranch()
        Get whether to suppress a commit of changes to the working copy before a tag or branch is created.
        Returns:
        boolean
      • isUpdateBranchVersions

        public boolean isUpdateBranchVersions()
        Get whether to update branch POM versions.
        Returns:
        boolean
      • isUpdateDependencies

        public boolean isUpdateDependencies()
        Get if updateDependencies is false, dependencies version won't be updated to the next development version.
        Returns:
        boolean
      • isUpdateVersionsToSnapshot

        public boolean isUpdateVersionsToSnapshot()
        Get whether to update branch versions to SNAPSHOT.
        Returns:
        boolean
      • isUpdateWorkingCopyVersions

        public boolean isUpdateWorkingCopyVersions()
        Get whether to update working copy POM versions.
        Returns:
        boolean
      • isUseReleaseProfile

        public boolean isUseReleaseProfile()
        Get whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate. If set to true, this will set the property "performRelease" to true.
        Returns:
        boolean
      • removeActivateProfile

        public void removeActivateProfile​(java.lang.String string)
        Method removeActivateProfile.
        Parameters:
        string - a string object.
      • removeCheckModificationExclude

        public void removeCheckModificationExclude​(java.lang.String string)
        Method removeCheckModificationExclude.
        Parameters:
        string - a string object.
      • setActivateProfiles

        public void setActivateProfiles​(java.util.List<java.lang.String> activateProfiles)
        Set list of profiles to activate.
        Parameters:
        activateProfiles - a activateProfiles object.
      • setAddSchema

        public void setAddSchema​(boolean addSchema)
        Set whether to add the model schema to the top of the rewritten POM if it wasn't there already. If false then the root element will remain untouched.
        Parameters:
        addSchema - a addSchema object.
      • setAdditionalArguments

        public void setAdditionalArguments​(java.lang.String additionalArguments)
        Set additional arguments to pass to any executed Maven process.
        Parameters:
        additionalArguments - a additionalArguments object.
      • setAllowTimestampedSnapshots

        public void setAllowTimestampedSnapshots​(boolean allowTimestampedSnapshots)
        Set should timestamped SNAPSHOT dependencies be allowed? Default is to fail when any SNAPSHOT dependency is found.
        Parameters:
        allowTimestampedSnapshots - a allowTimestampedSnapshots object.
      • setAutoVersionSubmodules

        public void setAutoVersionSubmodules​(boolean autoVersionSubmodules)
        Set whether to use the parent pom version for submodule versions.
        Parameters:
        autoVersionSubmodules - a autoVersionSubmodules object.
      • setBranchCreation

        public void setBranchCreation​(boolean branchCreation)
        Set whether to create a branch instead of do a release.
        Parameters:
        branchCreation - a branchCreation object.
      • setCheckModificationExcludes

        public void setCheckModificationExcludes​(java.util.List<java.lang.String> checkModificationExcludes)
        Set in some exceptions you want to allow changes to the working copy. Changes to files listed here will not make the ScmCheckModificationsPhase fail.
        Parameters:
        checkModificationExcludes - a checkModificationExcludes object.
      • setCheckoutDirectory

        public void setCheckoutDirectory​(java.lang.String checkoutDirectory)
        Set the directory where the tag will be checked out.
        Parameters:
        checkoutDirectory - a checkoutDirectory object.
      • setCommitByProject

        public void setCommitByProject​(boolean commitByProject)
        Set the commits must be done by modules or not. Set it to true in case of flat directory structure.
        Parameters:
        commitByProject - a commitByProject object.
      • setCompletedPhase

        public void setCompletedPhase​(java.lang.String completedPhase)
        Set the last completed phase.
        Parameters:
        completedPhase - a completedPhase object.
      • setCompletionGoals

        public void setCompletionGoals​(java.lang.String completionGoals)
        Set the goals to execute in on completion of preparation for the release.
        Parameters:
        completionGoals - a completionGoals object.
      • setDefaultDevelopmentVersion

        public void setDefaultDevelopmentVersion​(java.lang.String defaultDevelopmentVersion)
        Set default version to use for new working copy.
        Parameters:
        defaultDevelopmentVersion - a defaultDevelopmentVersion object.
      • setDefaultReleaseVersion

        public void setDefaultReleaseVersion​(java.lang.String defaultReleaseVersion)
        Set default version to use for the tagged release or the new branch.
        Parameters:
        defaultReleaseVersion - a defaultReleaseVersion object.
      • setDescription

        public void setDescription​(java.lang.String description)
        Set the description of this release configuration.
        Parameters:
        description - a description object.
      • setGenerateReleasePoms

        public void setGenerateReleasePoms​(boolean generateReleasePoms)
        Set whether to generate release POMs.
        Parameters:
        generateReleasePoms - a generateReleasePoms object.
      • setInteractive

        public void setInteractive​(boolean interactive)
        Set whether the release process is interactive and the release manager should be prompted to confirm values, or whether the defaults are used regardless.
        Parameters:
        interactive - a interactive object.
      • setLocalCheckout

        public void setLocalCheckout​(boolean localCheckout)
        Set if the scm provider should use local checkouts via file://${basedir} instead of doing a clean checkout over the network. This is very helpful for releasing large projects!
        Parameters:
        localCheckout - a localCheckout object.
      • setModelEncoding

        public void setModelEncoding​(java.lang.String modelEncoding)
        Set the modelEncoding field.
        Parameters:
        modelEncoding - a modelEncoding object.
      • setName

        public void setName​(java.lang.String name)
        Set the name of this release configuration.
        Parameters:
        name - a name object.
      • setPerformGoals

        public void setPerformGoals​(java.lang.String performGoals)
        Set the goals to execute in perform phase for the release.
        Parameters:
        performGoals - a performGoals object.
      • setPomFileName

        public void setPomFileName​(java.lang.String pomFileName)
        Set the file name of the POM to pass to any executed Maven process.
        Parameters:
        pomFileName - a pomFileName object.
      • setPreparationGoals

        public void setPreparationGoals​(java.lang.String preparationGoals)
        Set the goals to execute in preparation for the release.
        Parameters:
        preparationGoals - a preparationGoals object.
      • setProjectNamingPolicyId

        public void setProjectNamingPolicyId​(java.lang.String projectNamingPolicyId)
        Set the role-hint for the NamingPolicy implementation used to calculate the project branch and tag names.
        Parameters:
        projectNamingPolicyId - a projectNamingPolicyId object.
      • setProjectVersionPolicyId

        public void setProjectVersionPolicyId​(java.lang.String projectVersionPolicyId)
        Set the role-hint for the VersionPolicy implementation used to calculate the project versions.
        Parameters:
        projectVersionPolicyId - a projectVersionPolicyId object
      • setPushChanges

        public void setPushChanges​(boolean pushChanges)
        Set should distributed changes be pushed to the central repository? For many distributed SCMs like Git, a change like a commit is only stored in your local copy of the repository. Pushing the change allows your to more easily share it with other users.
        Parameters:
        pushChanges - a pushChanges object.
      • setReleaseStrategyId

        public void setReleaseStrategyId​(java.lang.String releaseStrategyId)
        Set the role-hint for the release Strategy implementation.
        Parameters:
        releaseStrategyId - a releaseStrategyId object.
      • setRemoteTagging

        public void setRemoteTagging​(boolean remoteTagging)
        Set nOTE : currently only implemented with svn scm. Enable a workaround to prevent issue due to svn client > 1.5.0 (http://jira.codehaus.org/browse/SCM-406).
        Parameters:
        remoteTagging - a remoteTagging object.
      • setScmBranchBase

        public void setScmBranchBase​(java.lang.String scmBranchBase)
        Set where you are going to put your branched sources Example https://svn.apache.org/repos/asf/maven/plugins/branches.
        Parameters:
        scmBranchBase - a scmBranchBase object.
      • setScmBranchCommitComment

        public void setScmBranchCommitComment​(java.lang.String scmBranchCommitComment)
        Set the SCM commit comment when branching.
        Parameters:
        scmBranchCommitComment - a scmBranchCommitComment object
      • setScmCommentPrefix

        public void setScmCommentPrefix​(java.lang.String ScmCommentPrefix)
        Set the prefix of SCM modification messages.
        Parameters:
        ScmCommentPrefix - a ScmCommentPrefix object.
      • setScmDevelopmentCommitComment

        public void setScmDevelopmentCommitComment​(java.lang.String scmDevelopmentCommitComment)
        Set the SCM commit comment when setting pom.xml back to development.
        Parameters:
        scmDevelopmentCommitComment - a scmDevelopmentCommitComment object.
      • setScmId

        public void setScmId​(java.lang.String scmId)
        Set the id can be used to get the credentials by the server-id from the settings.xml.
        Parameters:
        scmId - a scmId object.
      • setScmPassword

        public void setScmPassword​(java.lang.String scmPassword)
        Set the password for the user interacting with the scm.
        Parameters:
        scmPassword - a scmPassword object.
      • setScmPrivateKey

        public void setScmPrivateKey​(java.lang.String scmPrivateKey)
        Set private key for an SSH based SCM repository.
        Parameters:
        scmPrivateKey - a scmPrivateKey object.
      • setScmPrivateKeyPassPhrase

        public void setScmPrivateKeyPassPhrase​(java.lang.String scmPrivateKeyPassPhrase)
        Set pass phrase for the private key.
        Parameters:
        scmPrivateKeyPassPhrase - a scmPrivateKeyPassPhrase object.
      • setScmRelativePathProjectDirectory

        public void setScmRelativePathProjectDirectory​(java.lang.String scmRelativePathProjectDirectory)
        Set relative path of the project returned by the checkout command.
        Parameters:
        scmRelativePathProjectDirectory - a scmRelativePathProjectDirectory object.
      • setScmReleaseCommitComment

        public void setScmReleaseCommitComment​(java.lang.String scmReleaseCommitComment)
        Set the SCM commit comment when setting pom.xml to release.
        Parameters:
        scmReleaseCommitComment - a scmReleaseCommitComment object.
      • setScmReleaseLabel

        public void setScmReleaseLabel​(java.lang.String scmReleaseLabel)
        Set tag or branch name: the identifier for the tag/branch. Example: maven-release-plugin-2.0.
        Parameters:
        scmReleaseLabel - a scmReleaseLabel object.
      • setScmReleasedPomRevision

        public void setScmReleasedPomRevision​(java.lang.String scmReleasedPomRevision)
        Set nOTE : currently only implemented with svn scm. It contains the revision of the committed released pom to remotely tag the source code with this revision.
        Parameters:
        scmReleasedPomRevision - a scmReleasedPomRevision object
      • setScmRollbackCommitComment

        public void setScmRollbackCommitComment​(java.lang.String scmRollbackCommitComment)
        Set the SCM commit comment when rolling back.
        Parameters:
        scmRollbackCommitComment - a scmRollbackCommitComment object.
      • setScmSourceUrl

        public void setScmSourceUrl​(java.lang.String scmSourceUrl)
        Set this is a MavenSCM of where you're going to get the sources to make the release with. Example: scm:svn:https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin.
        Parameters:
        scmSourceUrl - a scmSourceUrl object.
      • setScmTagBase

        public void setScmTagBase​(java.lang.String scmTagBase)
        Set where you are going to put your tagged sources Example https://svn.apache.org/repos/asf/maven/plugins/tags.
        Parameters:
        scmTagBase - a scmTagBase object.
      • setScmTagNameFormat

        public void setScmTagNameFormat​(java.lang.String scmTagNameFormat)
        Set specifies the format for generating a tag name. Property expansion is used with the optional prefix of project, where properties are delimited with @{ and }.
        Parameters:
        scmTagNameFormat - a scmTagNameFormat object.
      • setScmUseEditMode

        public void setScmUseEditMode​(boolean scmUseEditMode)
        Set whether to use edit mode when making SCM modifications. This setting is disregarded if the SCM does not support edit mode, or if edit mode is compulsory for the given SCM.
        Parameters:
        scmUseEditMode - a scmUseEditMode object.
      • setScmUsername

        public void setScmUsername​(java.lang.String scmUsername)
        Set the user name to interact with the scm.
        Parameters:
        scmUsername - a scmUsername object.
      • setSnapshotReleasePluginAllowed

        public void setSnapshotReleasePluginAllowed​(boolean snapshotReleasePluginAllowed)
        Set whether a SNAPSHOT of the release plugin is allowed.
        Parameters:
        snapshotReleasePluginAllowed - a snapshotReleasePluginAllowed object.
      • setSuppressCommitBeforeTagOrBranch

        public void setSuppressCommitBeforeTagOrBranch​(boolean suppressCommitBeforeTagOrBranch)
        Set whether to suppress a commit of changes to the working copy before a tag or branch is created.
        Parameters:
        suppressCommitBeforeTagOrBranch - a suppressCommitBeforeTagOrBranch object.
      • setUpdateBranchVersions

        public void setUpdateBranchVersions​(boolean updateBranchVersions)
        Set whether to update branch POM versions.
        Parameters:
        updateBranchVersions - a updateBranchVersions object.
      • setUpdateDependencies

        public void setUpdateDependencies​(boolean updateDependencies)
        Set if updateDependencies is false, dependencies version won't be updated to the next development version.
        Parameters:
        updateDependencies - a updateDependencies object.
      • setUpdateVersionsToSnapshot

        public void setUpdateVersionsToSnapshot​(boolean updateVersionsToSnapshot)
        Set whether to update branch versions to SNAPSHOT.
        Parameters:
        updateVersionsToSnapshot - a updateVersionsToSnapshot object.
      • setUpdateWorkingCopyVersions

        public void setUpdateWorkingCopyVersions​(boolean updateWorkingCopyVersions)
        Set whether to update working copy POM versions.
        Parameters:
        updateWorkingCopyVersions - a updateWorkingCopyVersions object.
      • setUseReleaseProfile

        public void setUseReleaseProfile​(boolean useReleaseProfile)
        Set whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate. If set to true, this will set the property "performRelease" to true.
        Parameters:
        useReleaseProfile - a useReleaseProfile object.
      • setWaitBeforeTagging

        public void setWaitBeforeTagging​(int waitBeforeTagging)
        Set wait the specified number of seconds before creating a tag.
        Parameters:
        waitBeforeTagging - a waitBeforeTagging object.
      • setWorkItem

        public void setWorkItem​(java.lang.String workItem)
        Set some SCMs may require a Work Item or a Task to allow the changes to be pushed or delivered. This field allows you to specify that Work Item or Task. It is optional, and only relevant if pushChanges is true.
        Parameters:
        workItem - a workItem object.
      • setWorkingDirectory

        public void setWorkingDirectory​(java.lang.String workingDirectory)
        Set the directory where the release is performed.
        Parameters:
        workingDirectory - a workingDirectory object.
      • getOriginalScmInfo

        java.util.Map<java.lang.String,​org.apache.maven.model.Scm> getOriginalScmInfo()
      • getResolvedSnapshotDependencies

        java.util.Map<java.lang.String,​ReleaseStageVersions> getResolvedSnapshotDependencies()
        Method getResolvedSnapshotDependencies.
        Returns:
        Map
      • getProjectReleaseVersion

        public java.lang.String getProjectReleaseVersion​(java.lang.String projectId)
      • addReleaseVersion

        public void addReleaseVersion​(java.lang.String projectId,
                                      java.lang.String version)
        Method addReleaseVersion.
        Parameters:
        key -
        value -
      • getProjectDevelopmentVersion

        public java.lang.String getProjectDevelopmentVersion​(java.lang.String projectId)
      • addDevelopmentVersion

        public void addDevelopmentVersion​(java.lang.String projectId,
                                          java.lang.String version)
        Method addDevelopmentVersion.
        Parameters:
        key -
        value -
      • getOriginalScmInfo

        public org.apache.maven.model.Scm getOriginalScmInfo​(java.lang.String id)
        Method getOriginalScmInfo.
        Returns:
        Map
      • addOriginalScmInfo

        public void addOriginalScmInfo​(java.lang.String key,
                                       org.apache.maven.model.Scm value)
        Method addOriginalScmInfo.
        Parameters:
        key -
        value -
      • getProjectOriginalVersion

        public java.lang.String getProjectOriginalVersion​(java.lang.String projectId)
      • addOriginalVersion

        public void addOriginalVersion​(java.lang.String projectId,
                                       java.lang.String version)
      • getDependencyDevelopmentVersion

        public java.lang.String getDependencyDevelopmentVersion​(java.lang.String artifactConflictId)
        Retrieve the release version for the resolved snapshot dependency.
      • getDependencyReleaseVersion

        public java.lang.String getDependencyReleaseVersion​(java.lang.String artifactConflictId)
        Retrieve the release version for the resolved snapshot dependency.
      • getDependencyOriginalVersion

        public java.lang.String getDependencyOriginalVersion​(java.lang.String artifactConflictId)
        Retrieve the original version for the resolved snapshot dependency.
      • addDependencyOriginalVersion

        public void addDependencyOriginalVersion​(java.lang.String dependencyKey,
                                                 java.lang.String version)
      • addDependencyReleaseVersion

        public void addDependencyReleaseVersion​(java.lang.String dependencyKey,
                                                java.lang.String version)
      • addDependencyDevelopmentVersion

        public void addDependencyDevelopmentVersion​(java.lang.String dependencyKey,
                                                    java.lang.String version)
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • compareScmCollections

        private boolean compareScmCollections​(java.util.Map<java.lang.String,​org.apache.maven.model.Scm> that)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object