Closure Compiler Maven Plugin
This plugin combines and minimizes JavaScript files.
As the name implies, it is a wrapper around Google Closure Compiler.
Goals Overview
- minify:minify combine and minimize JavaScript files.
Usage
General instructions on how to use the Closure Compiler Maven Plugin can be found on the usage page. Some more specific use cases are described in the examples given below.
f you are missing an option from Closure Compiler, feel free to create an issue. There are many, but most of them are not hard too add.
If you feel like the plugin is missing a feature or has a defect, you can fill a feature request or bug report in the issue tracker. When creating a new issue, please provide a comprehensive description of your concern. Especially for fixing bugs it is crucial that the developers can reproduce your problem. For this reason, entire debug logs, POMs or most preferably little demo projects attached to the issue are very much appreciated. Of course, patches are welcome, too. Contributors can check out the project from the source repository.
Examples
To provide you with better understanding of some usages of the Minify Maven Plugin, you can take a look into the following examples: