Class WGetMojo

  • All Implemented Interfaces:
    org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

    @Mojo(name="wget",
          defaultPhase=PROCESS_RESOURCES,
          requiresProject=false,
          threadSafe=true)
    public class WGetMojo
    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)
    • Constructor Detail

      • WGetMojo

        public WGetMojo()
    • Method Detail

      • 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.