Class PlexusUtilsInjector

  • All Implemented Interfaces:
    org.eclipse.aether.collection.DependencyGraphTransformer

    class PlexusUtilsInjector
    extends java.lang.Object
    implements org.eclipse.aether.collection.DependencyGraphTransformer
    Injects plexus-utils:1.1 into a plugin's class path if it doesn't already declare a dependency on plexus-utils. This is another legacy bit to provide backward-compat with Maven 2.x.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String AID  
      private static java.lang.String EXT  
      private static java.lang.String GID  
      private static java.lang.String VER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.eclipse.aether.graph.DependencyNode findPlexusUtils​(org.eclipse.aether.graph.DependencyNode node)  
      org.eclipse.aether.graph.DependencyNode transformGraph​(org.eclipse.aether.graph.DependencyNode node, org.eclipse.aether.collection.DependencyGraphTransformationContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlexusUtilsInjector

        PlexusUtilsInjector()
    • Method Detail

      • 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
      • findPlexusUtils

        private org.eclipse.aether.graph.DependencyNode findPlexusUtils​(org.eclipse.aether.graph.DependencyNode node)