Class AntRepoSys
java.lang.Object
org.apache.maven.resolver.internal.ant.AntRepoSys
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAuthentication
(Authentication authentication) void
void
org.eclipse.aether.collection.CollectResult
collectDependencies
(org.apache.tools.ant.Task task, Dependencies dependencies, LocalRepository localRepository, RemoteRepositories remoteRepositories) void
deploy
(org.apache.tools.ant.Task task, Pom pom, Artifacts artifacts, RemoteRepository releaseRepository, RemoteRepository snapshotRepository) Returns the current default POM.static AntRepoSys
getInstance
(org.apache.tools.ant.Project project) org.eclipse.aether.RepositorySystemSession
getSession
(org.apache.tools.ant.Task task, LocalRepository localRepo) org.eclipse.aether.RepositorySystem
void
org.apache.maven.model.Model
loadModel
(org.apache.tools.ant.Task task, File pomFile, boolean local, RemoteRepositories remoteRepositories) void
setDefaultPom
(Pom pom) Sets the default POM.void
setGlobalSettings
(File file) void
setLocalRepository
(LocalRepository localRepository) void
setUserSettings
(File file)
-
Method Details
-
getInstance
-
getSystem
public org.eclipse.aether.RepositorySystem getSystem() -
getSession
public org.eclipse.aether.RepositorySystemSession getSession(org.apache.tools.ant.Task task, LocalRepository localRepo) -
setUserSettings
-
setGlobalSettings
-
addProxy
-
addMirror
-
addAuthentication
-
setLocalRepository
-
loadModel
public org.apache.maven.model.Model loadModel(org.apache.tools.ant.Task task, File pomFile, boolean local, RemoteRepositories remoteRepositories) -
setDefaultPom
Sets the default 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
-
deploy
public void deploy(org.apache.tools.ant.Task task, Pom pom, Artifacts artifacts, RemoteRepository releaseRepository, RemoteRepository snapshotRepository)
-