public abstract class AbstractVersionsDependencyUpdaterMojo extends AbstractVersionsUpdaterMojo
allowSnapshots, artifactFactory, artifactMetadataSource, artifactResolver, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session, settings| Constructor and Description |
|---|
AbstractVersionsDependencyUpdaterMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.maven.artifact.Artifact |
findArtifact(org.apache.maven.model.Dependency dependency)
Try to find the dependency artifact that matches the given dependency.
|
boolean |
isExcludeReactor()
Should the artifacts produced in the current reactor be excluded from processing.
|
protected boolean |
isIncluded(org.apache.maven.artifact.Artifact artifact)
Determine if the artifact is included in the list of artifacts to be processed.
|
boolean |
isProcessingDependencies()
Should the project/dependencies section of the pom be processed.
|
boolean |
isProcessingDependencyManagement()
Should the project/dependencyManagement section of the pom be processed.
|
protected boolean |
isProducedByReactor(org.apache.maven.model.Dependency dependency)
Returns
true if the dependency is produced by the current reactor. |
protected List |
separatePatterns(String includeString)
To handle multiple includes with version range like "group:artifact:jar:[1.0.0,2.2)",
we have to use a parsing a little bit more complex than split().
|
protected org.apache.maven.artifact.Artifact |
toArtifact(org.apache.maven.model.Dependency dependency)
Try to find the dependency artifact that matches the given dependency.
|
protected String |
toString(org.apache.maven.model.Dependency d) |
determineUnchangedSegment, execute, findLatestVersion, getHelper, getProject, getPropertyValue, newModifiedPomXER, process, setProject, shouldApplyUpdate, update, updatePropertyToNewestVersion, writeFilepublic AbstractVersionsDependencyUpdaterMojo()
public boolean isProcessingDependencies()
true if the project/dependencies section of the pom should be processed.public boolean isProcessingDependencyManagement()
true if the project/dependencyManagement section of the pom should be processed.public boolean isExcludeReactor()
true if the artifacts produced in the current reactor should be excluded from processing.protected org.apache.maven.artifact.Artifact findArtifact(org.apache.maven.model.Dependency dependency)
dependency - protected org.apache.maven.artifact.Artifact toArtifact(org.apache.maven.model.Dependency dependency)
throws org.apache.maven.plugin.MojoExecutionException
dependency - org.apache.maven.plugin.MojoExecutionExceptionprotected String toString(org.apache.maven.model.Dependency d)
protected boolean isProducedByReactor(org.apache.maven.model.Dependency dependency)
true if the dependency is produced by the current reactor.dependency - the dependency to heck.true if the dependency is produced by the current reactor.protected boolean isIncluded(org.apache.maven.artifact.Artifact artifact)
artifact - The artifact we want to check.Copyright © 2008-2014. All Rights Reserved.