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

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.CoffeeScriptTestCompilerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CoffeeScriptTestCompilerMojo
extends AbstractCoffeeMillMojo

Compiles CoffeeScript files. CoffeeScript files are generally in the src/test/coffee directory. It can be configured using the coffeeScriptTestDir parameter. If the directory does not exist, the compilation is skipped.


Field Summary
protected  boolean skipCoffeeScriptCompilation
          Enables / Disables the coffeescript compilation.
protected  boolean skipCoffeeScriptTestCompilation
          Enables / Disables the coffeescript test 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
CoffeeScriptTestCompilerMojo()
           
 
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.


skipCoffeeScriptTestCompilation

protected boolean skipCoffeeScriptTestCompilation
Enables / Disables the coffeescript test compilation. Be aware that this property disables the compilation of test sources only.

Constructor Detail

CoffeeScriptTestCompilerMojo

public CoffeeScriptTestCompilerMojo()
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.