Class JavaDependencyContextRefiner

java.lang.Object
org.eclipse.aether.util.graph.transformer.JavaDependencyContextRefiner
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyGraphTransformer

public final class JavaDependencyContextRefiner 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 classpath type to which the node belongs. For instance, a compile-time project dependency will be assigned the request context "project/compile".
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) throws org.eclipse.aether.RepositoryException
      Specified by:
      transformGraph in interface org.eclipse.aether.collection.DependencyGraphTransformer
      Throws:
      org.eclipse.aether.RepositoryException