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 stubs.
|
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
.
Note: Actually the artifact doesn't have to be a JAR. method name contains that suffix
or historical reasons.downloadAndUnpackStubJar
in interface StubDownloader
Copyright © 2016–2019 Spring. All rights reserved.