public class UseLatestSnapshotsMojo extends AbstractVersionsDependencyUpdaterMojo
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
allowIncrementalUpdates
Whether to allow the incremental version number to be changed.
|
protected Boolean |
allowMajorUpdates
Whether to allow the major version number to be changed.
|
protected Boolean |
allowMinorUpdates
Whether to allow the minor version number to be changed.
|
Pattern |
matchSnapshotRegex
Pattern to match a snapshot version.
|
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
UseLatestSnapshotsMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
update(ModifiedPomXMLEventReader pom)
Updates the pom.
|
findArtifact, isExcludeReactor, isIncluded, isProcessingDependencies, isProcessingDependencyManagement, isProducedByReactor, separatePatterns, toArtifact, toStringdetermineUnchangedSegment, execute, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, updatePropertyToNewestVersion, writeFileprotected Boolean allowMajorUpdates
protected Boolean allowMinorUpdates
protected Boolean allowIncrementalUpdates
public final Pattern matchSnapshotRegex
protected void update(ModifiedPomXMLEventReader pom) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException, XMLStreamException
AbstractVersionsUpdaterMojoupdate in class AbstractVersionsUpdaterMojopom - the pom to update.org.apache.maven.plugin.MojoExecutionException - when things go wrongorg.apache.maven.plugin.MojoFailureException - when things go wrong in a very bad wayXMLStreamException - when things go wrong with XML streamingAbstractVersionsUpdaterMojo.update(org.codehaus.mojo.versions.rewriting.ModifiedPomXMLEventReader)Copyright © 2008-2014. All Rights Reserved.