java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.googlecode.download.maven.plugin.internal.WGet
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="wget", defaultPhase=PROCESS_RESOURCES, requiresProject=true, threadSafe=true) public class WGet extends org.apache.maven.plugin.AbstractMojo
Will download a file from a web site using the standard HTTP protocol.
Author:
Marc-Andre Houle, Mickael Istria (Red Hat Inc)
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Method call when the mojo is executed for the first time.

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WGet

      public WGet()
  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Method call when the mojo is executed for the first time.
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if an error is occuring in this mojo.
      org.apache.maven.plugin.MojoFailureException - if an error is occuring in this mojo.