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
- Host: GitHub
- URL: https://github.com/mdasberg/maven-closure-compiler-plugin
- Owner: mdasberg
- Created: 2011-10-26T06:52:03.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-27T19:00:53.000Z (over 13 years ago)
- Last Synced: 2025-04-07T22:51:07.507Z (2 months ago)
- Language: Java
- Homepage:
- Size: 98.6 KB
- Stars: 7
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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.