jszip:optimize
Full name:
org.jszip.maven:jszip-maven-plugin:0.1-alpha-9:optimize
Description:
Runs the r.js optimizer over the source
Attributes:
- Requires a Maven project to be executed.
- Requires dependency resolution of artifacts in scope: compile+runtime.
- Since version: 21/12/2012 15:02.
- Binds by default to the lifecycle phase: process-classes.
Required Parameters
Name |
Type |
Since |
Description |
contentDirectory |
File |
21/12/2012 15:02 |
Directory containing the build profiles. Default value is: src/build/js.
|
warSourceDirectory |
File |
21/12/2012 15:02 |
Single directory for extra files to include in the WAR. Default value is: ${basedir}/src/main/webapp.
|
webappDirectory |
File |
21/12/2012 15:02 |
The directory where the webapp is built. Default value is: ${project.build.directory}/${project.build.finalName}.
|
Optional Parameters
Name |
Type |
Since |
Description |
customRScript |
File |
21/12/2012 15:02 |
Directory containing the build profiles. Default value is: src/build/js/r.js.
|
excludes |
List |
21/12/2012 15:02 |
A list of <exclude> elements specifying the build profiles
(by pattern) that should be excluded from optimization. User property is: excludes. |
includes |
List |
21/12/2012 15:02 |
A list of <include> elements specifying the build profiles
(by pattern) that should be included in optimization. User property is: includes. |
mappings |
Mapping[] |
21/12/2012 15:02 |
The artifact path mappings for unpacking. User property is: mappings. |
skip |
boolean |
21/12/2012 15:02 |
Skip optimization. Default value is: false. User property is: jszip.optimize.skip. |
Parameter Details
contentDirectory:
Directory containing the build profiles.
- Type: java.io.File
- Since: 21/12/2012 15:02
- Required: Yes
- Default: src/build/js
customRScript:
Directory containing the build profiles.
- Type: java.io.File
- Since: 21/12/2012 15:02
- Required: No
- Default: src/build/js/r.js
excludes:
A list of <exclude> elements specifying the build profiles
(by pattern) that should be excluded from optimization.
- Type: java.util.List
- Since: 21/12/2012 15:02
- Required: No
- User Property: excludes
includes:
A list of <include> elements specifying the build profiles
(by pattern) that should be included in optimization.
- Type: java.util.List
- Since: 21/12/2012 15:02
- Required: No
- User Property: includes
mappings:
The artifact path mappings for unpacking.
- Type: org.jszip.maven.Mapping[]
- Since: 21/12/2012 15:02
- Required: No
- User Property: mappings
skip:
Skip optimization.
- Type: boolean
- Since: 21/12/2012 15:02
- Required: No
- User Property: jszip.optimize.skip
- Default: false
warSourceDirectory:
Single directory for extra files to include in the WAR.
- Type: java.io.File
- Since: 21/12/2012 15:02
- Required: Yes
- Default: ${basedir}/src/main/webapp
webappDirectory:
The directory where the webapp is built.
- Type: java.io.File
- Since: 21/12/2012 15:02
- Required: Yes
- Default: ${project.build.directory}/${project.build.finalName}