public class ReleaseDescriptor
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
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 verstions.
|
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
.
|
static java.lang.String |
DEVELOPMENT_KEY |
private java.util.Map<java.lang.Object,java.lang.String> |
developmentVersions
Field developmentVersions.
|
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
.
|
static java.lang.String |
ORIGINAL_VERSION |
private java.util.Map<java.lang.Object,java.lang.String> |
originalScmInfo
Field originalScmInfo.
|
private java.util.Map |
originalVersions
A map of projects to original versions before any transformation.
|
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 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.
|
static java.lang.String |
RELEASE_KEY |
private java.util.Map<java.lang.Object,java.lang.String> |
releaseVersions
Field releaseVersions.
|
private boolean |
remoteTagging
NOTE : currently only implemented with svn scm.
|
private java.util.Map<java.lang.Object,java.lang.String> |
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 |
ScmCommentPrefix
The prefix of SCM modification messages
.
|
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 |
scmReleasedPomRevision
NOTE : currently only implemented with svn scm.
|
private java.lang.String |
scmReleaseLabel
tag name: the identifier for the tag.
|
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.
|
Constructor and Description |
---|
ReleaseDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addCheckModificationExclude(java.lang.String string)
Method addCheckModificationExclude.
|
void |
addDevelopmentVersion(java.lang.Object key,
java.lang.String value)
Method addDevelopmentVersion.
|
void |
addOriginalScmInfo(java.lang.Object key,
java.lang.String value)
Method addOriginalScmInfo.
|
void |
addReleaseVersion(java.lang.Object key,
java.lang.String value)
Method addReleaseVersion.
|
void |
addResolvedSnapshotDependency(java.lang.Object key,
java.lang.String value)
Method addResolvedSnapshotDependency.
|
private boolean |
compareScmCollections(java.util.Map that) |
boolean |
equals(java.lang.Object obj) |
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 |
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.util.Map<java.lang.Object,java.lang.String> |
getDevelopmentVersions()
Method getDevelopmentVersions.
|
java.lang.String |
getModelEncoding()
Get the modelEncoding field.
|
java.lang.String |
getName()
Get the name of this release configuration.
|
java.util.Map<java.lang.Object,java.lang.String> |
getOriginalScmInfo()
Method getOriginalScmInfo.
|
java.util.Map |
getOriginalVersions(java.util.List reactorProjects)
Retrieve the original version map, before transformation, keyed by project's versionless identifier.
|
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.util.Map<java.lang.Object,java.lang.String> |
getReleaseVersions()
Method getReleaseVersions.
|
java.util.Map<java.lang.Object,java.lang.String> |
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 |
getScmCommentPrefix()
Get the prefix of SCM modification messages.
|
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 |
getScmReleasedPomRevision()
Get nOTE : currently only implemented with svn scm.
|
java.lang.String |
getScmReleaseLabel()
Get tag name: the identifier for the tag.
|
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.
|
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
verstions.
|
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 |
mapDevelopmentVersion(java.lang.String projectId,
java.lang.String nextVersion)
Map a given project to a specified version from when it is incremented and placed back into development.
|
void |
mapOriginalScmInfo(java.lang.String projectId,
org.apache.maven.model.Scm scm)
Map a given project to a specified set of SCM information.
|
void |
mapReleaseVersion(java.lang.String projectId,
java.lang.String nextVersion)
Map a given project to a specified version from when it is released.
|
void |
mapResolvedSnapshotDependencies(java.lang.String artifactName,
java.lang.String releaseVersion,
java.lang.String developmentVersion)
Map a given snapshot dependency to a specified version from when it is released.
|
void |
removeCheckModificationExclude(java.lang.String string)
Method removeCheckModificationExclude.
|
(package private) boolean |
safeEquals(java.lang.String a,
java.lang.String b) |
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
verstions.
|
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 |
setDevelopmentVersions(java.util.Map developmentVersions)
Set a map of projects to versions to use when moving the
given projects back into devlopment after release.
|
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 |
setOriginalScmInfo(java.util.Map originalScmInfo)
Set a map of projects to original SCM information.
|
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 |
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 |
setReleaseVersions(java.util.Map releaseVersions)
Set a map of projects to versions to use when releasing the
given projects.
|
void |
setRemoteTagging(boolean remoteTagging)
Set nOTE : currently only implemented with svn scm.
|
void |
setResolvedSnapshotDependencies(java.util.Map resolvedSnapshotDependencies)
Set a map of resolved snapshot dependencies versions.
|
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 |
setScmCommentPrefix(java.lang.String ScmCommentPrefix)
Set the prefix of SCM modification messages.
|
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 |
setScmReleasedPomRevision(java.lang.String scmReleasedPomRevision)
Set nOTE : currently only implemented with svn scm.
|
void |
setScmReleaseLabel(java.lang.String scmReleaseLabel)
Set tag name: the identifier for the tag.
|
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.
|
private java.lang.String name
private java.lang.String description
private java.lang.String ScmCommentPrefix
private java.lang.String scmSourceUrl
private java.lang.String scmTagBase
private java.lang.String scmBranchBase
private java.lang.String scmReleaseLabel
private java.lang.String scmUsername
private java.lang.String scmPassword
private java.lang.String scmPrivateKey
private java.lang.String scmPrivateKeyPassPhrase
private boolean scmUseEditMode
private java.lang.String scmRelativePathProjectDirectory
private java.util.Map<java.lang.Object,java.lang.String> releaseVersions
private java.util.Map<java.lang.Object,java.lang.String> developmentVersions
private java.util.Map<java.lang.Object,java.lang.String> resolvedSnapshotDependencies
private boolean updateDependencies
private boolean useReleaseProfile
private java.util.Map<java.lang.Object,java.lang.String> originalScmInfo
private java.lang.String workingDirectory
private java.lang.String checkoutDirectory
private java.lang.String completedPhase
private boolean addSchema
false
then the root element will
remain untouched.private boolean generateReleasePoms
private boolean autoVersionSubmodules
private boolean interactive
private boolean snapshotReleasePluginAllowed
private java.lang.String additionalArguments
private java.lang.String pomFileName
private java.util.List<java.lang.String> checkModificationExcludes
private java.lang.String preparationGoals
private java.lang.String completionGoals
private java.lang.String performGoals
private boolean commitByProject
private boolean branchCreation
private boolean updateBranchVersions
private boolean updateWorkingCopyVersions
private boolean updateVersionsToSnapshot
private boolean suppressCommitBeforeTagOrBranch
private int waitBeforeTagging
private boolean allowTimestampedSnapshots
private java.lang.String defaultReleaseVersion
private java.lang.String defaultDevelopmentVersion
private boolean remoteTagging
private java.lang.String scmReleasedPomRevision
private boolean pushChanges
private boolean localCheckout
private java.lang.String scmTagNameFormat
private java.lang.String modelEncoding
public static final java.lang.String DEVELOPMENT_KEY
public static final java.lang.String RELEASE_KEY
public static final java.lang.String ORIGINAL_VERSION
private java.util.Map originalVersions
public void addCheckModificationExclude(java.lang.String string)
string
- public void addDevelopmentVersion(java.lang.Object key, java.lang.String value)
key
- value
- public void addOriginalScmInfo(java.lang.Object key, java.lang.String value)
key
- value
- public void addReleaseVersion(java.lang.Object key, java.lang.String value)
key
- value
- public void addResolvedSnapshotDependency(java.lang.Object key, java.lang.String value)
key
- value
- public java.lang.String getAdditionalArguments()
public java.util.List<java.lang.String> getCheckModificationExcludes()
public java.lang.String getCheckoutDirectory()
public java.lang.String getCompletedPhase()
public java.lang.String getCompletionGoals()
public java.lang.String getDefaultDevelopmentVersion()
public java.lang.String getDefaultReleaseVersion()
public java.lang.String getDescription()
public java.util.Map<java.lang.Object,java.lang.String> getDevelopmentVersions()
public java.lang.String getModelEncoding()
public java.lang.String getName()
public java.util.Map<java.lang.Object,java.lang.String> getOriginalScmInfo()
public java.lang.String getPerformGoals()
public java.lang.String getPomFileName()
public java.lang.String getPreparationGoals()
public java.util.Map<java.lang.Object,java.lang.String> getReleaseVersions()
public java.util.Map<java.lang.Object,java.lang.String> getResolvedSnapshotDependencies()
public java.lang.String getScmBranchBase()
public java.lang.String getScmCommentPrefix()
public java.lang.String getScmPassword()
public java.lang.String getScmPrivateKey()
public java.lang.String getScmPrivateKeyPassPhrase()
public java.lang.String getScmRelativePathProjectDirectory()
public java.lang.String getScmReleaseLabel()
public java.lang.String getScmReleasedPomRevision()
public java.lang.String getScmSourceUrl()
public java.lang.String getScmTagBase()
public java.lang.String getScmTagNameFormat()
public java.lang.String getScmUsername()
public int getWaitBeforeTagging()
public java.lang.String getWorkingDirectory()
public boolean isAddSchema()
false
then the root element will
remain untouched.public boolean isAllowTimestampedSnapshots()
public boolean isAutoVersionSubmodules()
public boolean isBranchCreation()
public boolean isCommitByProject()
public boolean isGenerateReleasePoms()
public boolean isInteractive()
public boolean isLocalCheckout()
public boolean isPushChanges()
public boolean isRemoteTagging()
public boolean isScmUseEditMode()
public boolean isSnapshotReleasePluginAllowed()
public boolean isSuppressCommitBeforeTagOrBranch()
public boolean isUpdateBranchVersions()
public boolean isUpdateDependencies()
public boolean isUpdateVersionsToSnapshot()
public boolean isUpdateWorkingCopyVersions()
public boolean isUseReleaseProfile()
public void removeCheckModificationExclude(java.lang.String string)
string
- public void setAddSchema(boolean addSchema)
false
then the root element will
remain untouched.addSchema
- public void setAdditionalArguments(java.lang.String additionalArguments)
additionalArguments
- public void setAllowTimestampedSnapshots(boolean allowTimestampedSnapshots)
allowTimestampedSnapshots
- public void setAutoVersionSubmodules(boolean autoVersionSubmodules)
autoVersionSubmodules
- public void setBranchCreation(boolean branchCreation)
branchCreation
- public void setCheckModificationExcludes(java.util.List<java.lang.String> checkModificationExcludes)
checkModificationExcludes
- public void setCheckoutDirectory(java.lang.String checkoutDirectory)
checkoutDirectory
- public void setCommitByProject(boolean commitByProject)
commitByProject
- public void setCompletedPhase(java.lang.String completedPhase)
completedPhase
- public void setCompletionGoals(java.lang.String completionGoals)
completionGoals
- public void setDefaultDevelopmentVersion(java.lang.String defaultDevelopmentVersion)
defaultDevelopmentVersion
- public void setDefaultReleaseVersion(java.lang.String defaultReleaseVersion)
defaultReleaseVersion
- public void setDescription(java.lang.String description)
description
- public void setDevelopmentVersions(java.util.Map developmentVersions)
developmentVersions
- public void setGenerateReleasePoms(boolean generateReleasePoms)
generateReleasePoms
- public void setInteractive(boolean interactive)
interactive
- public void setLocalCheckout(boolean localCheckout)
localCheckout
- public void setModelEncoding(java.lang.String modelEncoding)
modelEncoding
- public void setName(java.lang.String name)
name
- public void setOriginalScmInfo(java.util.Map originalScmInfo)
originalScmInfo
- public void setPerformGoals(java.lang.String performGoals)
performGoals
- public void setPomFileName(java.lang.String pomFileName)
pomFileName
- public void setPreparationGoals(java.lang.String preparationGoals)
preparationGoals
- public void setPushChanges(boolean pushChanges)
pushChanges
- public void setReleaseVersions(java.util.Map releaseVersions)
releaseVersions
- public void setRemoteTagging(boolean remoteTagging)
remoteTagging
- public void setResolvedSnapshotDependencies(java.util.Map resolvedSnapshotDependencies)
resolvedSnapshotDependencies
- public void setScmBranchBase(java.lang.String scmBranchBase)
scmBranchBase
- public void setScmCommentPrefix(java.lang.String ScmCommentPrefix)
ScmCommentPrefix
- public void setScmPassword(java.lang.String scmPassword)
scmPassword
- public void setScmPrivateKey(java.lang.String scmPrivateKey)
scmPrivateKey
- public void setScmPrivateKeyPassPhrase(java.lang.String scmPrivateKeyPassPhrase)
scmPrivateKeyPassPhrase
- public void setScmRelativePathProjectDirectory(java.lang.String scmRelativePathProjectDirectory)
scmRelativePathProjectDirectory
- public void setScmReleaseLabel(java.lang.String scmReleaseLabel)
scmReleaseLabel
- public void setScmReleasedPomRevision(java.lang.String scmReleasedPomRevision)
scmReleasedPomRevision
- public void setScmSourceUrl(java.lang.String scmSourceUrl)
scmSourceUrl
- public void setScmTagBase(java.lang.String scmTagBase)
scmTagBase
- public void setScmTagNameFormat(java.lang.String scmTagNameFormat)
scmTagNameFormat
- public void setScmUseEditMode(boolean scmUseEditMode)
scmUseEditMode
- public void setScmUsername(java.lang.String scmUsername)
scmUsername
- public void setSnapshotReleasePluginAllowed(boolean snapshotReleasePluginAllowed)
snapshotReleasePluginAllowed
- public void setSuppressCommitBeforeTagOrBranch(boolean suppressCommitBeforeTagOrBranch)
suppressCommitBeforeTagOrBranch
- public void setUpdateBranchVersions(boolean updateBranchVersions)
updateBranchVersions
- public void setUpdateDependencies(boolean updateDependencies)
updateDependencies
- public void setUpdateVersionsToSnapshot(boolean updateVersionsToSnapshot)
updateVersionsToSnapshot
- public void setUpdateWorkingCopyVersions(boolean updateWorkingCopyVersions)
updateWorkingCopyVersions
- public void setUseReleaseProfile(boolean useReleaseProfile)
useReleaseProfile
- public void setWaitBeforeTagging(int waitBeforeTagging)
waitBeforeTagging
- public void setWorkingDirectory(java.lang.String workingDirectory)
workingDirectory
- public void mapResolvedSnapshotDependencies(java.lang.String artifactName, java.lang.String releaseVersion, java.lang.String developmentVersion)
public void mapReleaseVersion(java.lang.String projectId, java.lang.String nextVersion)
projectId
- the project's group and artifact IDnextVersion
- the version to map topublic void mapDevelopmentVersion(java.lang.String projectId, java.lang.String nextVersion)
projectId
- the project's group and artifact IDnextVersion
- the version to map topublic void mapOriginalScmInfo(java.lang.String projectId, org.apache.maven.model.Scm scm)
projectId
- the project's group and artifact IDscm
- the original SCM information to storepublic java.util.Map getOriginalVersions(java.util.List reactorProjects)
reactorProjects
- The reactor projects.public java.lang.String getDependencyDevelopmentVersion(java.lang.String artifactConflictId)
public java.lang.String getDependencyReleaseVersion(java.lang.String artifactConflictId)
boolean safeEquals(java.lang.String a, java.lang.String b)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
private boolean compareScmCollections(java.util.Map that)
public int hashCode()
hashCode
in class java.lang.Object