Class SMaven


  • public class SMaven
    extends java.lang.Object
    Helper class for converting between maven and aether objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      SMaven()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.sonatype.aether.artifact.Artifact convertDependency​(org.apache.maven.model.Dependency dep)
      Convert a maven model dependency to an aether artifact.
      static org.sonatype.aether.repository.RemoteRepository convertRepository​(org.apache.maven.model.Repository rep)
      Convert a maven model repository to an aether remote repository.
      static org.sonatype.aether.repository.RemoteRepository convertRepository​(org.apache.maven.settings.Repository rep)
      Convert a maven settings repository to an aether remote repository.
      • Methods inherited from class java.lang.Object

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

      • SMaven

        public SMaven()
    • Method Detail

      • convertRepository

        public static org.sonatype.aether.repository.RemoteRepository convertRepository​(org.apache.maven.model.Repository rep)
        Convert a maven model repository to an aether remote repository.
      • convertRepository

        public static org.sonatype.aether.repository.RemoteRepository convertRepository​(org.apache.maven.settings.Repository rep)
        Convert a maven settings repository to an aether remote repository.
      • convertDependency

        public static org.sonatype.aether.artifact.Artifact convertDependency​(org.apache.maven.model.Dependency dep)
        Convert a maven model dependency to an aether artifact.