@Loggable(value=1) public final class Aether extends Object
You need the following dependencies to have in classpath in order to to work with this class:
org.sonatype.aether:aether-api:1.13.1 org.apache.maven:maven-core:3.0.3
Classpath| Constructor and Description |
|---|
Aether(Collection<RemoteRepository> repos,
File repo)
Public ctor, requires information about all remote repositories and one
lrepo.
|
Aether(MavenProject prj,
File repo)
Public ctor, requires information about all remote repositories and one
lrepo.
|
public Aether(@NotNull MavenProject prj, @NotNull File repo)
prj - The Maven projectrepo - Local repository location (directory path)public Aether(@NotNull Collection<RemoteRepository> repos, @NotNull File repo)
repos - Collection of remote repositoriesrepo - Local repository location (directory path)public List<Artifact> resolve(@NotNull Artifact root, @NotNull String scope) throws DependencyResolutionException
root - The artifact to work withscope - The scope to work with ("runtime", "test", etc.)DependencyResolutionException - If can't fetch itpublic List<Artifact> resolve(@NotNull Artifact root, @NotNull String scope, @NotNull DependencyFilter filter) throws DependencyResolutionException
root - The artifact to work withscope - The scope to work with ("runtime", "test", etc.)filter - The dependency filter to work withDependencyResolutionException - If can't fetch itCopyright © 2012–2014 jcabi.com. All rights reserved.