|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.plugin.dependency.AbstractDependencyMojo org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo
public abstract class AbstractDependencyFilterMojo
Class that encapsulates the plugin parameters, and contains methods that handle dependency filtering
AbstractDependencyMojo
Field Summary | |
---|---|
protected String |
classifier
Specify classifier to look for. |
protected String |
excludeArtifactIds
Comma separated list of Artifact names too exclude. |
protected String |
excludeClassifiers
Comma Separated list of Classifiers to exclude. |
protected String |
excludeGroupIds
Comma separated list of GroupId Names to exclude. |
protected String |
excludeScope
Scope to exclude. |
protected boolean |
excludeTransitive
If we should exclude transitive dependencies |
protected String |
excludeTypes
Comma Separated list of Types to exclude. |
protected String |
includeArtifactIds
Comma separated list of Artifact names to include. |
protected String |
includeClassifiers
Comma Separated list of Classifiers to include. |
protected String |
includeGroupIds
Comma separated list of GroupIds to include. |
protected String |
includeScope
Scope to include. |
protected String |
includeTypes
Comma Separated list of Types to include. |
protected File |
markersDirectory
Directory to store flag files |
protected boolean |
overWriteIfNewer
Overwrite artifacts that don't exist or are older than the source. |
protected boolean |
overWriteReleases
Overwrite release artifacts |
protected boolean |
overWriteSnapshots
Overwrite snapshot artifacts |
protected boolean |
prependGroupId
Prepend the groupId during copy. |
protected String |
type
Specify type to look for when constructing artifact based on classifier. |
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo |
---|
archiverManager, artifactCollector, artifactMetadataSource, factory, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractDependencyFilterMojo()
|
Method Summary | |
---|---|
protected DependencyStatusSets |
filterMarkedDependencies(Set<org.apache.maven.artifact.Artifact> artifacts)
Filter the marked dependencies |
protected DependencyStatusSets |
getClassifierTranslatedDependencies(Set<org.apache.maven.artifact.Artifact> artifacts,
boolean stopOnFailure)
Transform artifacts |
protected DependencyStatusSets |
getDependencySets(boolean stopOnFailure)
Method creates filters and filters the projects dependencies. |
protected abstract org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter |
getMarkedArtifactFilter()
|
File |
getMarkersDirectory()
|
protected Set<org.apache.maven.artifact.Artifact> |
getResolvedDependencies(boolean stopOnFailure)
Retrieves dependencies, either direct only or all including transitive. |
boolean |
isPrependGroupId()
|
void |
setMarkersDirectory(File theMarkersDirectory)
|
void |
setPrependGroupId(boolean prependGroupId)
|
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo |
---|
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.maven.plugin.Mojo |
---|
execute |
Field Detail |
---|
protected boolean excludeTransitive
protected String includeTypes
protected String excludeTypes
protected String includeScope
protected String excludeScope
protected String includeClassifiers
protected String excludeClassifiers
protected String classifier
protected String type
protected String excludeArtifactIds
protected String includeArtifactIds
protected String excludeGroupIds
protected String includeGroupIds
protected File markersDirectory
protected boolean overWriteReleases
protected boolean overWriteSnapshots
protected boolean overWriteIfNewer
protected boolean prependGroupId
Constructor Detail |
---|
public AbstractDependencyFilterMojo()
Method Detail |
---|
protected abstract org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter getMarkedArtifactFilter()
protected Set<org.apache.maven.artifact.Artifact> getResolvedDependencies(boolean stopOnFailure) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
protected DependencyStatusSets getDependencySets(boolean stopOnFailure) throws org.apache.maven.plugin.MojoExecutionException
stopOnFailure
-
org.apache.maven.plugin.MojoExecutionException
protected DependencyStatusSets getClassifierTranslatedDependencies(Set<org.apache.maven.artifact.Artifact> artifacts, boolean stopOnFailure) throws org.apache.maven.plugin.MojoExecutionException
artifacts
- stopOnFailure
-
org.apache.maven.plugin.MojoExecutionException
protected DependencyStatusSets filterMarkedDependencies(Set<org.apache.maven.artifact.Artifact> artifacts) throws org.apache.maven.plugin.MojoExecutionException
artifacts
-
org.apache.maven.plugin.MojoExecutionException
public File getMarkersDirectory()
public void setMarkersDirectory(File theMarkersDirectory)
theMarkersDirectory
- The markersDirectory to set.public boolean isPrependGroupId()
public void setPrependGroupId(boolean prependGroupId)
prependGroupId
- -
true if the groupId must be prepended during the copy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |