|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.versions.AbstractVersionsUpdaterMojo
org.codehaus.mojo.versions.AbstractVersionsDependencyUpdaterMojo
public abstract class AbstractVersionsDependencyUpdaterMojo
Base class for a mojo that updates dependency versions.
| Field Summary |
|---|
| Fields inherited from class org.codehaus.mojo.versions.AbstractVersionsUpdaterMojo |
|---|
allowSnapshots, artifactFactory, artifactMetadataSource, comparisonMethod, localRepository, pathTranslator, projectBuilder, reactorProjects, remoteArtifactRepositories, remotePluginRepositories, resolver, session |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractVersionsDependencyUpdaterMojo()
|
|
| Method Summary | |
|---|---|
protected Artifact |
findArtifact(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(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(Dependency dependency)
Returns true if the dependency is produced by the current reactor. |
protected Artifact |
toArtifact(Dependency dependency)
Try to find the dependency artifact that matches the given dependency. |
protected String |
toString(Dependency d)
|
| Methods inherited from class org.codehaus.mojo.versions.AbstractVersionsUpdaterMojo |
|---|
execute, findLatestVersion, getExpressionEvaluator, getHelper, getProject, getPropertyValue, getVersionComparator, newModifiedPomXER, process, readFile, setProject, shouldApplyUpdate, update, writeFile |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
|---|
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractVersionsDependencyUpdaterMojo()
| Method Detail |
|---|
public boolean isProcessingDependencies()
true if the project/dependencies section of the pom should be processed.- Since:
- 1.0-alpha-3
public boolean isProcessingDependencyManagement()
true if the project/dependencyManagement section of the pom should be processed.- Since:
- 1.0-alpha-3
public boolean isExcludeReactor()
true if the artifacts produced in the current reactor should be excluded from processing.- Since:
- 1.0-alpha-3
protected Artifact findArtifact(Dependency dependency)
dependency -
protected Artifact toArtifact(Dependency dependency)
throws MojoExecutionException
dependency -
MojoExecutionExceptionprotected String toString(Dependency d)
protected boolean isProducedByReactor(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(Artifact artifact)
artifact - The artifact we want to check.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||