Class MavenEngineDownloader

java.lang.Object
ch.ivyteam.ivy.maven.engine.download.MavenEngineDownloader
All Implemented Interfaces:
EngineDownloader

public class MavenEngineDownloader extends Object implements EngineDownloader
  • Constructor Details

    • MavenEngineDownloader

      public MavenEngineDownloader(org.apache.maven.plugin.logging.Log log, String ivyVersion, String osArchitecture, List<org.eclipse.aether.repository.RemoteRepository> pluginRepositories, org.eclipse.aether.RepositorySystem repositorySystem, org.eclipse.aether.RepositorySystemSession repositorySession)
  • Method Details

    • toEngineArtifact

      public static org.eclipse.aether.artifact.DefaultArtifact toEngineArtifact(String ivyVersion, String osArchitecture)
    • downloadEngine

      public File downloadEngine() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      downloadEngine in interface EngineDownloader
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • getZipFileNameFromDownloadLocation

      public String getZipFileNameFromDownloadLocation() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      getZipFileNameFromDownloadLocation in interface EngineDownloader
      Throws:
      org.apache.maven.plugin.MojoExecutionException