Full name:
net.alchim31.maven:yuicompressor-maven-plugin:0.9:compress
Description:
Attributes:
process-resources.| Name | Type | Since | Description |
|---|---|---|---|
| aggregations | Aggregation[] |
- |
a list of aggregation/concatenation to do after processing, for
example to create big js files that contain several small js files.
Aggregation could be done on any type of file (js, css, ...). |
| disableOptimizations | boolean |
- |
[js only] disable all micro optimizations. Default value is: false. |
| encoding | String |
- |
Read the input file using "encoding". Default value is: UTF-8. |
| excludes | List |
- |
list of additionnal excludes |
| failOnWarning | boolean |
- |
define if plugin must stop/fail on warnings. Default value is: false. |
| force | boolean |
- |
force the compression of every files, else if compressed file
already exists and is younger than source file, nothing is done. Default value is: false. |
| gzip | boolean |
- |
request to create a gzipped version of the
yuicompressed/aggregation files. Default value is: false. |
| jswarn | boolean |
- |
[js only] Display possible errors in the code Default value is: true. |
| linebreakpos | int |
- |
Insert line breaks in output after the specified column number. Default value is: 0. |
| nomunge | boolean |
- |
[js only] Minify only, do not obfuscate. Default value is: false. |
| nosuffix | boolean |
- |
If no "suffix" must be add to output filename (maven's
configuration manage empty suffix like default). Default value is: false. |
| outputDirectory | File |
- |
The output directory into which to copy the resources. |
| preserveAllSemiColons | boolean |
- |
[js only] Preserve unnecessary semicolons. Default value is: false. |
| resources | List |
- |
The list of resources we want to transfer. |
| sourceDirectory | File |
- |
Javascript source directory. (result will be put to
outputDirectory). This allow project with "src/main/js" structure. |
| statistics | boolean |
- |
show statistics (compression ratio). Default value is: true. |
| suffix | String |
- |
The output filename suffix. Default value is: -min. |
| warSourceDirectory | File |
- |
Single directory for extra files to include in the WAR. |
| webappDirectory | File |
- |
The directory where the webapp is built. |
net.sf.alchim.mojo.yuicompressor.Aggregation[]NobooleanNo${maven.yuicompressor.disableOptimizations}falsejava.lang.StringNo${file.encoding}UTF-8java.util.ListNobooleanNo${maven.yuicompressor.failOnWarning}falsebooleanNo${maven.yuicompressor.force}falsegzip:
booleanNo${maven.yuicompressor.gzip}falsebooleanNo${maven.yuicompressor.jswarm}trueintNo${maven.yuicompressor.linebreakpos}0booleanNo${maven.yuicompressor.nomunge}falsebooleanNo${maven.yuicompressor.nosuffix}falsejava.io.FileNo${project.build.outputDirectory}booleanNo${maven.yuicompressor.preserveAllSemiColons}falsejava.util.ListNo${project.resources}java.io.FileNo${project.build.sourceDirectory}/../jsbooleanNo${maven.yuicompressor.statistics}truejava.lang.StringNo${maven.yuicompressor.suffix}-minjava.io.FileNo${basedir}/src/main/webappjava.io.FileNo${project.build.directory}/${project.build.finalName}