public class UpdateVersionsMojo extends AbstractReleaseMojo
| Modifier and Type | Field and Description |
|---|---|
private boolean |
addSchema
Whether to add a schema to the POM if it was previously missing on release.
|
private boolean |
autoVersionSubmodules
Whether to automatically assign submodules the parent version.
|
private java.lang.String |
developmentVersion
Default version to use for new local working copy.
|
protected org.apache.maven.execution.MavenSession |
session |
basedir, javaHome, localRepoDirectory, mavenExecutorId, mavenHome, project, reactorProjects, releaseManager, settings| Constructor and Description |
|---|
UpdateVersionsMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
addArgument, createReleaseDescriptor, getAdditionalProfiles, getReactorProjects, getReleaseEnvironment, getSettings, mergeCommandLineConfig, setBasedir, setReleaseManagerprivate boolean autoVersionSubmodules
private boolean addSchema
private java.lang.String developmentVersion
protected org.apache.maven.execution.MavenSession session
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractReleaseMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException