org.jvnet.maven.plugin.antrun
public abstract class AbstractArtifactsExclusionFilter extends ListFilter
ListFilter
s that takes several nested <artifact> elements as parameters
to identify artifacts.Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.lang.String> |
ids
IDs of the artifacts to exclude.
|
children
Modifier | Constructor and Description |
---|---|
protected |
AbstractArtifactsExclusionFilter() |
protected |
AbstractArtifactsExclusionFilter(java.util.Collection<java.lang.String> artifactIds) |
protected |
AbstractArtifactsExclusionFilter(java.lang.String... artifactIds) |
protected |
AbstractArtifactsExclusionFilter(java.lang.String artifactId) |
Modifier and Type | Method and Description |
---|---|
protected void |
addArtifact(org.apache.maven.artifact.Artifact a) |
void |
addConfiguredArtifact(ArtifactElement a)
Nested <artifact> element can be used to specify what artifacts to exclude.
|
protected void |
resolve()
Resolves all the artifacts and computes
ids . |
process, visit
add, evaluateChild, evaluateChild
clone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visit
protected final java.util.Set<java.lang.String> ids
protected AbstractArtifactsExclusionFilter(java.util.Collection<java.lang.String> artifactIds) throws java.io.IOException
java.io.IOException
protected AbstractArtifactsExclusionFilter(java.lang.String... artifactIds) throws java.io.IOException
java.io.IOException
protected AbstractArtifactsExclusionFilter(java.lang.String artifactId) throws java.io.IOException
java.io.IOException
protected AbstractArtifactsExclusionFilter()
protected final void resolve()
ids
.
This normally needs to be done at GraphVisitor.visit(DependencyGraph.Node)
,
because this implementation could be used as a filter.
Can be invoked multiple times safely.protected void addArtifact(org.apache.maven.artifact.Artifact a)
public void addConfiguredArtifact(ArtifactElement a)
Copyright © 2014. All Rights Reserved.