Class ArtifactResolutionRequest
java.lang.Object
org.apache.maven.artifact.resolver.ArtifactResolutionRequest
- All Implemented Interfaces:
RepositoryRequest
Deprecated.
A resolution request allows you to either use an existing MavenProject, or a coordinate (gid:aid:version)
to process a POMs dependencies.
-
Constructor Summary
ConstructorDescriptionDeprecated.Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionaddListener
(ResolutionListener listener) Deprecated.Deprecated.Deprecated.Deprecated.Gets the artifact filter that controls traversal of the dependency graph.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Gets the artifact filter that controls downloading of artifact files.Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.setArtifact
(Artifact artifact) Deprecated.setArtifactDependencies
(Set<Artifact> artifactDependencies) Deprecated.setCache
(RepositoryCache cache) Deprecated.setCollectionFilter
(ArtifactFilter filter) Deprecated.setForceUpdate
(boolean forceUpdate) Deprecated.setListeners
(List<ResolutionListener> listeners) Deprecated.setLocalRepository
(ArtifactRepository localRepository) Deprecated.setManagedVersionMap
(Map<String, Artifact> managedVersionMap) Deprecated.setMirrors
(List<Mirror> mirrors) Deprecated.setOffline
(boolean offline) Deprecated.setProxies
(List<Proxy> proxies) Deprecated.setRemoteRepositories
(List<ArtifactRepository> remoteRepositories) Deprecated.setResolutionFilter
(ArtifactFilter filter) Deprecated.setResolveRoot
(boolean resolveRoot) Deprecated.setResolveTransitively
(boolean resolveDependencies) Deprecated.setServers
(List<Server> servers) Deprecated.toString()
Deprecated.
-
Constructor Details
-
ArtifactResolutionRequest
public ArtifactResolutionRequest()Deprecated. -
ArtifactResolutionRequest
Deprecated.
-
-
Method Details
-
getArtifact
Deprecated. -
setArtifact
Deprecated. -
setArtifactDependencies
Deprecated. -
getArtifactDependencies
Deprecated. -
getLocalRepository
Deprecated.- Specified by:
getLocalRepository
in interfaceRepositoryRequest
-
setLocalRepository
Deprecated.- Specified by:
setLocalRepository
in interfaceRepositoryRequest
-
getRemoteRepositories
Deprecated.- Specified by:
getRemoteRepositories
in interfaceRepositoryRequest
-
setRemoteRepositories
Deprecated.- Specified by:
setRemoteRepositories
in interfaceRepositoryRequest
-
getCollectionFilter
Deprecated.Gets the artifact filter that controls traversal of the dependency graph.- Returns:
- The filter used to determine which of the artifacts in the dependency graph should be traversed or
null
to collect all transitive dependencies.
-
setCollectionFilter
Deprecated. -
getResolutionFilter
Deprecated.Gets the artifact filter that controls downloading of artifact files. This filter operates on those artifacts that have been included by thegetCollectionFilter()
.- Returns:
- The filter used to determine which of the artifacts should have their files resolved or
null
to resolve the files for all collected artifacts.
-
setResolutionFilter
Deprecated. -
getListeners
Deprecated. -
setListeners
Deprecated. -
addListener
Deprecated. -
getManagedVersionMap
Deprecated. -
setManagedVersionMap
Deprecated. -
setResolveRoot
Deprecated. -
isResolveRoot
public boolean isResolveRoot()Deprecated. -
setResolveTransitively
Deprecated. -
isResolveTransitively
public boolean isResolveTransitively()Deprecated. -
toString
Deprecated. -
isOffline
public boolean isOffline()Deprecated.- Specified by:
isOffline
in interfaceRepositoryRequest
-
setOffline
Deprecated.- Specified by:
setOffline
in interfaceRepositoryRequest
-
isForceUpdate
public boolean isForceUpdate()Deprecated.- Specified by:
isForceUpdate
in interfaceRepositoryRequest
-
setForceUpdate
Deprecated.- Specified by:
setForceUpdate
in interfaceRepositoryRequest
-
setServers
Deprecated. -
getServers
Deprecated. -
setMirrors
Deprecated. -
getMirrors
Deprecated. -
setProxies
Deprecated. -
getProxies
Deprecated. -
setCache
Deprecated.
-