Class FatArtifactTraverser

java.lang.Object
org.apache.maven.repository.internal.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:
  • Constructor Details

    • FatArtifactTraverser

      public FatArtifactTraverser()
  • Method Details

    • traverseDependency

      public boolean traverseDependency(org.eclipse.aether.graph.Dependency dependency)
      Specified by:
      traverseDependency in interface org.eclipse.aether.collection.DependencyTraverser
    • deriveChildTraverser

      public org.eclipse.aether.collection.DependencyTraverser deriveChildTraverser(org.eclipse.aether.collection.DependencyCollectionContext context)
      Specified by:
      deriveChildTraverser in interface org.eclipse.aether.collection.DependencyTraverser
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object