Class AntRepoSys

java.lang.Object
org.apache.maven.resolver.internal.ant.AntRepoSys

public class AntRepoSys extends Object
  • Method Details

    • getInstance

      public static AntRepoSys getInstance(org.apache.tools.ant.Project project)
    • getSystem

      public org.eclipse.aether.RepositorySystem getSystem()
    • getSession

      public org.eclipse.aether.RepositorySystemSession getSession(org.apache.tools.ant.Task task, LocalRepository localRepo)
    • setUserSettings

      public void setUserSettings(File file)
    • setGlobalSettings

      public void setGlobalSettings(File file)
    • addProxy

      public void addProxy(Proxy proxy)
    • addMirror

      public void addMirror(Mirror mirror)
    • addAuthentication

      public void addAuthentication(Authentication authentication)
    • setLocalRepository

      public void setLocalRepository(LocalRepository localRepository)
    • loadModel

      public org.apache.maven.model.Model loadModel(org.apache.tools.ant.Task task, File pomFile, boolean local, RemoteRepositories remoteRepositories)
    • setDefaultPom

      public void setDefaultPom(Pom pom)
      Sets the default POM.
    • getDefaultPom

      public Pom getDefaultPom()
      Returns the current default POM.
    • collectDependencies

      public org.eclipse.aether.collection.CollectResult collectDependencies(org.apache.tools.ant.Task task, Dependencies dependencies, LocalRepository localRepository, RemoteRepositories remoteRepositories)
    • install

      public void install(org.apache.tools.ant.Task task, Pom pom, Artifacts artifacts)
    • deploy

      public void deploy(org.apache.tools.ant.Task task, Pom pom, Artifacts artifacts, RemoteRepository releaseRepository, RemoteRepository snapshotRepository)