Class DownloadSingleMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="download-single", requiresProject=false) public class DownloadSingleMojo extends AbstractSingleWagonMojo
Download a single file.
  • Constructor Details

    • DownloadSingleMojo

      public DownloadSingleMojo()
  • Method Details

    • execute

      protected void execute(org.apache.maven.wagon.Wagon wagon) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.wagon.WagonException
      Description copied from class: AbstractSingleWagonMojo
      Perform the necessary action. To be implemented in the child mojo.
      Specified by:
      execute in class AbstractSingleWagonMojo
      Parameters:
      wagon - - wagon instance to use
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if any execution error
      org.apache.maven.wagon.WagonException - if any wagon error
    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException
      Specified by:
      execute in interface org.apache.maven.plugin.Mojo
      Overrides:
      execute in class AbstractSingleWagonMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException