An open API service indexing awesome lists of open source software.

https://github.com/mdasberg/maven-closure-compiler-plugin

Maven plugin for the Google Closure Compiler
https://github.com/mdasberg/maven-closure-compiler-plugin

Last synced: about 1 month ago
JSON representation

Maven plugin for the Google Closure Compiler

Awesome Lists containing this project

README

        

maven-closure-compiler-plugin
=========================

**Motivation**
Google Closure-compiler doesn't have a maven plugin yet.

**Usage**
Add the following to your maven build plugins.


com.dasberg.maven.plugins
maven-closure-compiler-plugin
${maven-closure-compiler-plugin.version}

ADVANCED_OPTIMIZATIONS
src/test/process
src/test/resources
1.0.0

As you can see there are 4 parameters to the widget:
1: **compilation_level** is a optional parameter which uses SIMPLE_OPTIMIZATIONS as default.
2: **js_dir** is a required parameter which specifies the location of the uncompiled files.
3. **js_output_dir** is a required parameter which specifies the location where the compiled files are put.
4. **version** is an optional parameter which is used to add a version number to the compiled files.