Class ManagedDependencyContextRefiner

java.lang.Object
org.eclipse.aether.internal.impl.scope.ManagedDependencyContextRefiner
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyGraphTransformer

public final class ManagedDependencyContextRefiner extends Object implements org.eclipse.aether.collection.DependencyGraphTransformer
A dependency graph transformer that refines the request context for nodes that belong to the "project" context by appending the buildpath type to which the node belongs. For instance, a compile-time project dependency will be assigned the request context "project/compile".

This class also "bridges" between DependencyScope and Resolver that uses plain string labels for scopes.

See Also:
  • DependencyNode.getRequestContext()
  • Constructor Details

  • Method Details

    • transformGraph

      public org.eclipse.aether.graph.DependencyNode transformGraph(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context)
      Specified by:
      transformGraph in interface org.eclipse.aether.collection.DependencyGraphTransformer