org.nanoko.coffee.mill.mojos.compile
Class CoffeeScriptCompilerMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
org.nanoko.coffee.mill.mojos.compile.CoffeeScriptCompilerMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class CoffeeScriptCompilerMojo
- extends AbstractCoffeeMillMojo
Compiles CoffeeScript files.
CoffeeScript files are generally in the src/main/coffee directory. It can be configured using the
coffeeScriptDir parameter.
If the directory does not exist, the compilation is skipped.
| 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 |
skipCoffeeScriptCompilation
protected boolean skipCoffeeScriptCompilation
- Enables / Disables the coffeescript compilation.
Be aware that this property disables the compilation on both main sources and test sources.
CoffeeScriptCompilerMojo
public CoffeeScriptCompilerMojo()
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.