public class AetherStubDownloader extends Object implements StubDownloader
Constructor and Description |
---|
AetherStubDownloader(org.eclipse.aether.RepositorySystem repositorySystem,
List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories,
org.eclipse.aether.RepositorySystemSession session)
Used by the Maven Plugin
|
AetherStubDownloader(StubRunnerOptions stubRunnerOptions) |
Modifier and Type | Method and Description |
---|---|
Map.Entry<StubConfiguration,File> |
downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
Returns a mapping of updated StubConfiguration (it will contain the resolved version) and the location of the downloaded JAR.
|
public AetherStubDownloader(StubRunnerOptions stubRunnerOptions)
public AetherStubDownloader(org.eclipse.aether.RepositorySystem repositorySystem, List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, org.eclipse.aether.RepositorySystemSession session)
repositorySystem
- remoteRepositories
- - remote artifact repositoriessession
- public Map.Entry<StubConfiguration,File> downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
StubDownloader
null
.downloadAndUnpackStubJar
in interface StubDownloader
Copyright © 2016–2017 Spring. All rights reserved.