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)
Note: Actually the artifact doesn't have to be a 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
- Maven repository systemremoteRepositories
- remote artifact repositoriessession
- repository system sessionpublic Map.Entry<StubConfiguration,File> downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
StubDownloader
downloadAndUnpackStubJar
in interface StubDownloader
stubConfiguration
- configuration for which contracts and stubs should be
resolvednull
.Copyright © 2016–2022 Spring. All rights reserved.