Goals available for this plugin:
Goal | Description |
---|---|
yuicompressor:compress | Apply compression on JS and CSS (using YUI Compressor). |
yuicompressor:jslint | Check JS files with jslint. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 3.0.4 |
JDK | Default target for maven-compiler-plugin version 2.5.1 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.5.1</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>yuicompressor-maven-plugin</artifactId> <version>1.5.1</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"