org.nanoko.coffee.mill.mojos.compile
Class JpegTranMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
org.nanoko.coffee.mill.mojos.compile.JpegTranMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JpegTranMojo
- extends AbstractCoffeeMillMojo
Optimizes JPEG files using jpegtran (http://jpegclub.org/jpegtran/).
JpegTran must be installed and the executable `jpegtran` available form the system path.
|
Field Summary |
boolean |
jpegTranVerbose
Enables the verbose mode of optiPNG. |
protected boolean |
skipjpegTran
Skips the JPEG files optimization. |
| Fields inherited from class org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo |
assetsDir, baseDirectory, buildDirectory, coffeeScriptDir, coffeeScriptTestDir, javaScriptDir, javaScriptTestDir, libDir, project, projectHelper, stylesheetsDir, workDir, workTestDir |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
jpegTranVerbose
public boolean jpegTranVerbose
- Enables the verbose mode of optiPNG.
skipjpegTran
protected boolean skipjpegTran
- Skips the JPEG files optimization.
JpegTranMojo
public JpegTranMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2012-2013 OW2. All Rights Reserved.