public class ResolverImpl extends Object implements Resolver
Resolver based on Aether.| Modifier and Type | Field and Description |
|---|---|
static String |
REMOTE_SNAPSHOT_POLICY_SYS_PROP
Deprecated.
use
ResolverOptions.REMOTE_SNAPSHOT_POLICY_SYS_PROP instead. |
| Constructor and Description |
|---|
ResolverImpl(ResolverOptions options)
Creates a new instance of
ResolverImpl with the given options. |
| Modifier and Type | Method and Description |
|---|---|
void |
customizeRemoteRepoBuilder(org.eclipse.aether.repository.RemoteRepository.Builder builder) |
List<org.eclipse.aether.artifact.Artifact> |
resolve(org.eclipse.aether.artifact.Artifact artifact,
boolean transitive,
List<String> exclusions)
Resolve the given artifact.
|
List<org.eclipse.aether.artifact.Artifact> |
resolve(String gacv,
ResolutionOptions options)
Resolves a dependency.
|
@Deprecated public static final String REMOTE_SNAPSHOT_POLICY_SYS_PROP
ResolverOptions.REMOTE_SNAPSHOT_POLICY_SYS_PROP instead.public ResolverImpl(ResolverOptions options)
ResolverImpl with the given options.options - the optionspublic List<org.eclipse.aether.artifact.Artifact> resolve(org.eclipse.aether.artifact.Artifact artifact, boolean transitive, List<String> exclusions)
artifact - the artifacttransitive - whether or not the transitive dependencies needs to be resolved tooexclusions - the list of exclusionspublic void customizeRemoteRepoBuilder(org.eclipse.aether.repository.RemoteRepository.Builder builder)
public List<org.eclipse.aether.artifact.Artifact> resolve(String gacv, ResolutionOptions options)
Resolverresolve in interface Resolvergacv - the dependency, using the GACV form.options - the resolution optionsCopyright © 2022 Eclipse. All rights reserved.