org.nanoko.coffee.mill.mojos.packaging
Class JavaScriptAggregatorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nanoko.coffee.mill.mojos.AbstractCoffeeMillMojo
org.nanoko.coffee.mill.mojos.packaging.JavaScriptAggregatorMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class JavaScriptAggregatorMojo
- extends AbstractCoffeeMillMojo
Aggregate JavaScript sources:
Aggregation order can be specified in the Maven Configuration
It can also include:
- The Javascript file from the project ((filename.js)
- Dependencies files (artifactId.js)
- Compile files (CoffeeScript) (coffee_filename.js)
If no file are included, the project js files are aggregated in the alphabetical order.
| 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 |
javascriptAggregation
protected List<String> javascriptAggregation
JavaScriptAggregatorMojo
public JavaScriptAggregatorMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2012-2013 OW2. All Rights Reserved.