public abstract class AbstractArtifactsExclusionFilter extends ListFilter
ListFilters that takes several nested <artifact> elements as parameters
to identify artifacts.| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
ids
IDs of the artifacts to exclude.
|
children| Modifier | Constructor and Description |
|---|---|
protected |
AbstractArtifactsExclusionFilter() |
protected |
AbstractArtifactsExclusionFilter(Collection<String> artifactIds) |
protected |
AbstractArtifactsExclusionFilter(String... artifactIds) |
protected |
AbstractArtifactsExclusionFilter(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, visitadd, evaluateChild, evaluateChildclone, getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvisitprotected AbstractArtifactsExclusionFilter(Collection<String> artifactIds) throws IOException
IOExceptionprotected AbstractArtifactsExclusionFilter(String... artifactIds) throws IOException
IOExceptionprotected AbstractArtifactsExclusionFilter(String artifactId) throws IOException
IOExceptionprotected 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.