org.nanoko.coffee.mill.mojos.compile
Class CoffeeScriptCompilerMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
          extended by 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.


Field Summary
protected  boolean skipCoffeeScriptCompilation
          Enables / Disables the coffeescript compilation.
 
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
 
Constructor Summary
CoffeeScriptCompilerMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
getLibDirectory, getTarget, getWorkDirectory, getWorkTestDirectory
 
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
 

Field Detail

skipCoffeeScriptCompilation

protected boolean skipCoffeeScriptCompilation
Enables / Disables the coffeescript compilation. Be aware that this property disables the compilation on both main sources and test sources.

Constructor Detail

CoffeeScriptCompilerMojo

public CoffeeScriptCompilerMojo()
Method Detail

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.