Class WGet
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Method call when the mojo is executed for the first time.Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
WGet
public WGet()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionMethod 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.
-