Class FatArtifactTraverser
java.lang.Object
org.apache.maven.internal.impl.resolver.artifact.FatArtifactTraverser
- All Implemented Interfaces:
org.eclipse.aether.collection.DependencyTraverser
public final class FatArtifactTraverser
extends Object
implements org.eclipse.aether.collection.DependencyTraverser
A dependency traverser that excludes the dependencies of fat artifacts from the traversal. Fat artifacts are
artifacts that have the property
MavenArtifactProperties.INCLUDES_DEPENDENCIES
set to
true
.- Since:
- 4.0.0
- See Also:
-
Artifact.getProperties()
MavenArtifactProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.aether.collection.DependencyTraverser
deriveChildTraverser
(org.eclipse.aether.collection.DependencyCollectionContext context) boolean
int
hashCode()
boolean
traverseDependency
(org.eclipse.aether.graph.Dependency dependency)
-
Constructor Details
-
FatArtifactTraverser
public FatArtifactTraverser()
-
-
Method Details
-
traverseDependency
public boolean traverseDependency(org.eclipse.aether.graph.Dependency dependency) - Specified by:
traverseDependency
in interfaceorg.eclipse.aether.collection.DependencyTraverser
-
deriveChildTraverser
public org.eclipse.aether.collection.DependencyTraverser deriveChildTraverser(org.eclipse.aether.collection.DependencyCollectionContext context) - Specified by:
deriveChildTraverser
in interfaceorg.eclipse.aether.collection.DependencyTraverser
-
equals
-
hashCode
public int hashCode()
-