Full name:
org.codehaus.mojo.javascript:javascript-maven-plugin:1.1-softec:compress
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| localRepository | ArtifactRepository | - | The local repository |
| Name | Type | Since | Description |
|---|---|---|---|
| buildDirectory | File | - | The output directory of the compressed javascript archive. Default value is: ${project.build.directory}. |
| compressedDirectory | File | - | The output directory of the compressed javascript files. Default value is: ${project.build.directory}/compressed. |
| compressor | String | - | The compressor to used. Either "shrinksafe", "yahooui" or "jsmin"
for default compressor, or a custom one provided as an artifact in
repo org.codehaus.mojo.javascript:[xxx]-compressor. Default value is: jsmin. |
| excludes | String[] | - | Exclusion patterns |
| includes | String[] | - | Inclusion patterns |
| languageVersion | int | - | JS Language version (130 for JS 1.3) Default value is: 130. |
| optimizationLevel | int | - | Optimization level, from 0 to 9 Default value is: 9. |
| remoteRepositories | List | - | The remote repositories declared in the pom. |
| scriptClassifier | String | - | optional extension for the compressed artifact. Example
"compressed" |
| scriptsDirectory | File | - | The intput directory for the source javascript files. Default value is: ${project.build.outputDirectory}. |
| skipStats | boolean | - | Don't display compression stats |
| strip | String | - | A special token to recognize lines to be removed from scripts
(debugging code). |
| strippedDirectory | File | - | The output directory of the compressed javascript files. Default value is: ${project.build.directory}/stripped. |
| strips | String[] | - | A list of special token to recognize lines to be removed from
scripts (debugging code). |