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,
shaded.org.apache.maven.settings.Settings settings)
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,
shaded.org.apache.maven.settings.Settings settings)
repositorySystem - Maven repository systemremoteRepositories - remote artifact repositoriessession - repository system sessionpublic Map.Entry<StubConfiguration,File> downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
StubDownloaderdownloadAndUnpackStubJar in interface StubDownloaderstubConfiguration - configuration for which contracts and stubs should be
resolvednull.Copyright © 2016–2021 Spring. All rights reserved.