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