Class MavenArtifactFetcher
java.lang.Object
org.robolectric.internal.dependency.MavenArtifactFetcher
Class responsible for fetching artifacts from Maven. This uses a thread pool of size two in order
to parallelize downloads. It uses the Sun JSSE provider for downloading due to its seamless
integration with HTTPUrlConnection.
-
Constructor Summary
ConstructorDescriptionMavenArtifactFetcher
(String repositoryUrl, String repositoryUserName, String repositoryPassword, String proxyHost, int proxyPort, File localRepositoryDir, ExecutorService executorService) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.google.common.util.concurrent.ListenableFuture<Void>
createFetchToFileTask
(URL remoteUrl, File tempFile) void
fetchArtifact
(MavenJarArtifact artifact)
-
Constructor Details
-
MavenArtifactFetcher
-
-
Method Details
-
fetchArtifact
-
createFetchToFileTask
-