Class MuleDomainDependencyGraphTransformer

java.lang.Object
org.mule.maven.client.internal.MuleDomainDependencyGraphTransformer
All Implemented Interfaces:
org.eclipse.aether.collection.DependencyGraphTransformer

public class MuleDomainDependencyGraphTransformer extends Object implements org.eclipse.aether.collection.DependencyGraphTransformer
Transformer that will go over the graph and look for mule-domain classified dependencies, once found it will remove all the child dependencies.

This way nested transformers will apply Maven's logic and transitive dependencies from mule-domains will not interfere.

Since:
1.0
  • Constructor Details

    • MuleDomainDependencyGraphTransformer

      public MuleDomainDependencyGraphTransformer()
  • 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
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object