public interface Resolver
<resolverSettings>
in XMvn configuration.Modifier and Type | Method and Description |
---|---|
File |
resolve(org.sonatype.aether.artifact.Artifact artifact)
Deprecated.
|
ResolutionResult |
resolve(ResolutionRequest request)
Resolve artifacts from system repositories configured in
<resolverSettings> in XMvn configuration. |
File |
resolve(String groupId,
String artifactId,
String version,
String extension)
Deprecated.
|
ResolutionResult resolve(ResolutionRequest request)
<resolverSettings>
in XMvn configuration.request
- parameters of artifact resolutionnull
@Deprecated File resolve(org.sonatype.aether.artifact.Artifact artifact)
<resolverSettings>
in XMvn configuration.
This method is deprecated. Clients should use resolve(ResolutionRequest)
instead.
artifact
- artifact which resolution is requestednull
if requested artifact could not be resolved@Deprecated File resolve(String groupId, String artifactId, String version, String extension)
<resolverSettings>
in XMvn configuration.
This method is deprecated. Clients should use resolve(ResolutionRequest)
instead.
groupId
- groupId of artifact which resolution is requestedartifactId
- artifactId of artifact which resolution is requestedversion
- version of artifact which resolution is requestedextension
- extension of artifact which resolution is requestednull
if requested artifact could not be resolvedCopyright © 2012-2021 Red Hat, Inc.. All Rights Reserved.