public class PrepareReleasedArtifactsMojo extends AbstractMavenReleaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DRY_RUN_EXTENSION |
protected static String |
GOAL_NAME |
protected static String |
REL |
ARTIFACT, ARTIFACT_XML, ARTIFACT_XML_REGEX, ARTIFACT_XML_TMP_FILE, EMPTY_STRING, GOAL_CHECK_IN, log, MAVEN_PLUGINS_GROUP, MAVEN_SCM_PLUGIN, mavenProject, mavenSession, PARAM_INCLUDES, PARAM_PASSWORD, PARAM_USERNAME, PARAMETER_BASEDIR, PARAMETER_MESSAGE, pluginManager, POM_XML, PROJECT_PREFIX, PROP_SCM_PASSWORD, PROP_SCM_TAG, PROP_SCM_USERNAME, RELEASE_PROPERTIES, releaseProperties, SCM_PLUGIN_VERSION, VERSION, WSO2_RELEASE_PLUGIN_PREFIX| Constructor and Description |
|---|
PrepareReleasedArtifactsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getCommitMessage(Properties releaseProperties)
Method to get the customised commit message for each goal.
|
protected String |
getDryRunFilePrefix()
Method to retrieve the file prefix to be used in dryRunMode of current goal.
|
protected String |
getGoal()
Method to indicate current goal.
|
protected String |
getNewVersion(File artifactXml)
Method to get the new version for the artifacts.
|
execute, getMavenProject, getScmPluginProperties, isInDryRunMode, updateArtifactVersionsprotected static final String GOAL_NAME
protected static final String DRY_RUN_EXTENSION
protected static final String REL
protected String getGoal()
AbstractMavenReleaseMojogetGoal in class AbstractMavenReleaseMojoprotected String getDryRunFilePrefix()
AbstractMavenReleaseMojogetDryRunFilePrefix in class AbstractMavenReleaseMojoprotected String getCommitMessage(Properties releaseProperties)
AbstractMavenReleaseMojogetCommitMessage in class AbstractMavenReleaseMojoreleaseProperties - Properties generated by maven release plugin.protected String getNewVersion(File artifactXml) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
AbstractMavenReleaseMojogetNewVersion in class AbstractMavenReleaseMojoartifactXml - artifact.xml file of the project.IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserExceptionCopyright © 2024 WSO2. All rights reserved.