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[]
No
boolean
No
${maven.yuicompressor.disableOptimizations}
false
java.lang.String
No
${file.encoding}
UTF-8
java.util.List
No
boolean
No
${maven.yuicompressor.failOnWarning}
false
boolean
No
${maven.yuicompressor.force}
false
gzip:
boolean
No
${maven.yuicompressor.gzip}
false
boolean
No
${maven.yuicompressor.jswarm}
true
int
No
${maven.yuicompressor.linebreakpos}
0
boolean
No
${maven.yuicompressor.nomunge}
false
boolean
No
${maven.yuicompressor.nosuffix}
false
java.io.File
No
${project.build.outputDirectory}
boolean
No
${maven.yuicompressor.preserveAllSemiColons}
false
java.util.List
No
${project.resources}
java.io.File
No
${project.build.sourceDirectory}/../js
boolean
No
${maven.yuicompressor.statistics}
true
java.lang.String
No
${maven.yuicompressor.suffix}
-min
java.io.File
No
${basedir}/src/main/webapp
java.io.File
No
${project.build.directory}/${project.build.finalName}