public class MavenArtifactRepositoryManager extends AbstractMavenArtifactRepositoryManager
REPOSITORY_IDID_PREFIX| Constructor and Description |
|---|
MavenArtifactRepositoryManager(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession)
Creates an instance that only will resolve artifacts using the Maven local repository.
|
MavenArtifactRepositoryManager(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession,
List<org.eclipse.aether.repository.RemoteRepository> repositories)
Creates an instance that will use a list of remote repositories where to find an artifact if the artifact is not in
the local Maven repository.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<org.eclipse.aether.repository.RemoteRepository> |
getRepositories() |
protected org.eclipse.aether.RepositorySystemSession |
getSession() |
getAllVersions, getAllVersions, getLatestVersion, getLatestVersion, getLatestVersion, getRepositorySystem, install, install, isLatestVersionResolved, isResolved, resolve, resolveLatestVersion, resolveLatestVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLatestFinalVersion, getRepositoryId, resolve, resolveLatestVersion, resolveLatestVersion, resolveLatestVersionpublic MavenArtifactRepositoryManager(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession)
repoSystem - The repository system instance, must not be null.repoSession - The repository session, must not be null.public MavenArtifactRepositoryManager(org.eclipse.aether.RepositorySystem repoSystem,
org.eclipse.aether.RepositorySystemSession repoSession,
List<org.eclipse.aether.repository.RemoteRepository> repositories)
repoSystem - The repository system instance, must not be null.repoSession - The repository session, must not be null.repositories - The list of remote repositories where to find the artifact if it is not in the local Maven repository.protected org.eclipse.aether.RepositorySystemSession getSession()
throws MavenUniverseException
getSession in class AbstractMavenArtifactRepositoryManagerMavenUniverseExceptionprotected List<org.eclipse.aether.repository.RemoteRepository> getRepositories() throws MavenUniverseException
getRepositories in class AbstractMavenArtifactRepositoryManagerMavenUniverseExceptionCopyright © 2016–2020 JBoss by Red Hat. All rights reserved.