Class DefaultDownloader
- java.lang.Object
-
- org.apache.maven.archetype.downloader.DefaultDownloader
-
- All Implemented Interfaces:
Downloader
@Named @Singleton public class DefaultDownloader extends java.lang.Object implements Downloader
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.aether.RepositorySystemrepositorySystem
-
Constructor Summary
Constructors Constructor Description DefaultDownloader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.Filedownload(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.util.List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, org.eclipse.aether.RepositorySystemSession repositorySystemSession)
-
-
-
Method Detail
-
download
public java.io.File download(java.lang.String groupId, java.lang.String artifactId, java.lang.String version, java.util.List<org.eclipse.aether.repository.RemoteRepository> remoteRepositories, org.eclipse.aether.RepositorySystemSession repositorySystemSession) throws DownloadException- Specified by:
downloadin interfaceDownloader- Throws:
DownloadException
-
-