org.jvnet.maven.plugin.antrun
public final class ExcludeArtifactsTransitivelyFilter extends AbstractArtifactsExclusionFilter
DependencyGraph
by excluding the specified set of artifacts. Any artifacts made
unreachable by this process will be also excluded.
Informally, a node will remain in the graph only when it's reachable from the root without going through any of the excluded artifacts.
Here's the format definition.
Let normalize(G={r,V,E}) -> G'={r,V',E'} be defined as follows. This is an operation to remove unreachable nodes and edges.
V' = { v | \exists r ->* v in G } E' = { (u,v) | u \in V' and v \in V' }Given the graph G=(r,V,E) and exclusion nodes N, the new graph G' is defined as follows:
G'=normalize(r,V-N),E)
RemoveSpecificArtifactsFilter
ids
children
Constructor and Description |
---|
ExcludeArtifactsTransitivelyFilter() |
ExcludeArtifactsTransitivelyFilter(java.util.Collection<java.lang.String> artifactIds) |
ExcludeArtifactsTransitivelyFilter(java.lang.String... artifactIds) |
ExcludeArtifactsTransitivelyFilter(java.lang.String artifactId) |
Modifier and Type | Method and Description |
---|---|
boolean |
visit(DependencyGraph.Node node)
Visits a node.
|
addArtifact, addConfiguredArtifact, resolve
process, visit
add, evaluateChild, evaluateChild
public ExcludeArtifactsTransitivelyFilter(java.util.Collection<java.lang.String> artifactIds) throws java.io.IOException
java.io.IOException
public ExcludeArtifactsTransitivelyFilter(java.lang.String... artifactIds) throws java.io.IOException
java.io.IOException
public ExcludeArtifactsTransitivelyFilter(java.lang.String artifactId) throws java.io.IOException
java.io.IOException
public ExcludeArtifactsTransitivelyFilter()
public boolean visit(DependencyGraph.Node node)
GraphVisitor
Copyright © 2014. All Rights Reserved.