Class MavenUtil

java.lang.Object
org.jboss.resteasy.utils.maven.MavenUtil

public class MavenUtil extends Object
This class was originally written by Kabir Khan to download old maven artifact in wildfly-core. This class was updated for RESTEasy TS purposes. Original sources can be found in wildfly-core:/model-test/src/main/java/org/jboss/as/model/test/MavenUtil.java
  • Field Details

    • logger

      protected static final org.jboss.logging.Logger logger
  • Method Details

    • create

      public static MavenUtil create(boolean useEapRepository)
    • createMavenGavFile

      public File createMavenGavFile(String artifactGav) throws MalformedURLException
      Throws:
      MalformedURLException
    • createMavenGavRecursiveFiles

      public List<File> createMavenGavRecursiveFiles(String artifactGav, String... excludes) throws MalformedURLException, org.eclipse.aether.collection.DependencyCollectionException, org.eclipse.aether.resolution.DependencyResolutionException
      Throws:
      MalformedURLException
      org.eclipse.aether.collection.DependencyCollectionException
      org.eclipse.aether.resolution.DependencyResolutionException
    • newRepositorySystem

      public static org.eclipse.aether.RepositorySystem newRepositorySystem()