Class ResourceGzMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.hadoop.maven.plugin.resourcegz.ResourceGzMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="resource-gz")
public class ResourceGzMojo
extends org.apache.maven.plugin.AbstractMojo
ResourceGzMojo will gzip files.
It is meant to be used for gzipping website resource files (e.g. .js, .css,
etc). It takes an input directory, output directory, and extensions to
process and will generate the .gz files. Any additional directory structure
beyond the input directory is preserved in the output directory.
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Constructor Details
-
ResourceGzMojo
public ResourceGzMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-