Class ArtifactResolver

java.lang.Object
com.diffplug.spotless.maven.ArtifactResolver

public class ArtifactResolver extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    ArtifactResolver(org.eclipse.aether.RepositorySystem repositorySystem, org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.apache.maven.plugin.logging.Log log)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(boolean withTransitives, Collection<String> mavenCoordinates)
    Given a set of maven coordinates, returns a set of jars which include all of the specified coordinates and optionally their transitive dependencies.

    Methods inherited from class java.lang.Object

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

    • ArtifactResolver

      public ArtifactResolver(org.eclipse.aether.RepositorySystem repositorySystem, org.eclipse.aether.RepositorySystemSession session, List<org.eclipse.aether.repository.RemoteRepository> repositories, org.apache.maven.plugin.logging.Log log)
  • Method Details

    • resolve

      public Set<File> resolve(boolean withTransitives, Collection<String> mavenCoordinates)
      Given a set of maven coordinates, returns a set of jars which include all of the specified coordinates and optionally their transitive dependencies.