org.nanoko.coffee.mill.mojos.compile
Class JavaScriptCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
org.nanoko.coffee.mill.mojos.compile.JavaScriptCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JavaScriptCompilerMojo
- extends AbstractCoffeeMillMojo
Copy JavaScript sources to the work directory and check JavaScript sources with
- Check the code using JSLint
- Check the code using JSHint
- Compile dust template (.dust files)
|
Field Summary |
protected boolean |
skipDustCompilation
Enables / disables dust compilation |
protected boolean |
skipJsHint
Enables / disables JSHint |
protected boolean |
skipJsLint
Enables / disables JSLint |
| 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 |
skipJsLint
protected boolean skipJsLint
- Enables / disables JSLint
skipJsHint
protected boolean skipJsHint
- Enables / disables JSHint
skipDustCompilation
protected boolean skipDustCompilation
- Enables / disables dust compilation
JavaScriptCompilerMojo
public JavaScriptCompilerMojo()
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.