Class MvnToAetherMapper


  • public final class MvnToAetherMapper
    extends Object
    • Method Detail

      • toAether

        public static org.eclipse.aether.graph.Dependency toAether​(org.apache.maven.model.Dependency dependency)
        Converts a Maven model dependency to an Aether dependency.
        Parameters:
        dependency - The Maven model dependency.
        Returns:
        The Aether dependency.
      • toAether

        public static List<org.eclipse.aether.graph.Dependency> toAether​(List<org.apache.maven.model.Dependency> dependencies)
        Converts a list of Maven model dependencies to a list of Aether dependencies.
        Parameters:
        dependencies - The Maven model dependencies.
        Returns:
        The Aether dependencies.