org.apache.maven.plugin.dependency
public abstract class AbstractDependencyFilterMojo extends AbstractDependencyMojo
AbstractDependencyMojo
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
classifier
Specify classifier to look for.
|
protected java.lang.String |
excludeArtifactIds
Comma separated list of Artifact names too exclude.
|
protected java.lang.String |
excludeClassifiers
Comma Separated list of Classifiers to exclude.
|
protected java.lang.String |
excludeGroupIds
Comma separated list of GroupId Names to exclude.
|
protected java.lang.String |
excludeScope
Scope to exclude.
|
protected boolean |
excludeTransitive
If we should exclude transitive dependencies
|
protected java.lang.String |
excludeTypes
Comma Separated list of Types to exclude.
|
protected java.lang.String |
includeArtifactIds
Comma separated list of Artifact names to include.
|
protected java.lang.String |
includeClassifiers
Comma Separated list of Classifiers to include.
|
protected java.lang.String |
includeGroupIds
Comma separated list of GroupIds to include.
|
protected java.lang.String |
includeScope
Scope to include.
|
protected java.lang.String |
includeTypes
Comma Separated list of Types to include.
|
protected java.io.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 java.lang.String |
type
Specify type to look for when constructing artifact based on classifier.
|
archiverManager, artifactCollector, artifactMetadataSource, factory, local, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
Constructor and Description |
---|
AbstractDependencyFilterMojo() |
Modifier and Type | Method and Description |
---|---|
protected DependencyStatusSets |
filterMarkedDependencies(java.util.Set artifacts)
Filter the marked dependencies
|
protected DependencyStatusSets |
getClassifierTranslatedDependencies(java.util.Set 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() |
java.io.File |
getMarkersDirectory() |
protected java.util.Set |
getResolvedDependencies(boolean stopOnFailure)
Retrieves dependencies, either direct only or all including transitive.
|
void |
setMarkersDirectory(java.io.File theMarkersDirectory) |
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack, unpack
getPluginContext, setLog, setPluginContext
protected boolean excludeTransitive
protected java.lang.String includeTypes
protected java.lang.String excludeTypes
protected java.lang.String includeScope
protected java.lang.String excludeScope
protected java.lang.String includeClassifiers
protected java.lang.String excludeClassifiers
protected java.lang.String classifier
protected java.lang.String type
protected java.lang.String excludeArtifactIds
protected java.lang.String includeArtifactIds
protected java.lang.String excludeGroupIds
protected java.lang.String includeGroupIds
protected java.io.File markersDirectory
protected boolean overWriteReleases
protected boolean overWriteSnapshots
protected boolean overWriteIfNewer
protected abstract org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter getMarkedArtifactFilter()
protected java.util.Set 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(java.util.Set artifacts, boolean stopOnFailure) throws org.apache.maven.plugin.MojoExecutionException
artifacts
- stopOnFailure
- org.apache.maven.plugin.MojoExecutionException
protected DependencyStatusSets filterMarkedDependencies(java.util.Set artifacts) throws org.apache.maven.plugin.MojoExecutionException
artifacts
- org.apache.maven.plugin.MojoExecutionException
public java.io.File getMarkersDirectory()
public void setMarkersDirectory(java.io.File theMarkersDirectory)
theMarkersDirectory
- The markersDirectory to set.Copyright © 2014. All Rights Reserved.