cocoon:deploy
Full name:
org.apache.cocoon:cocoon-maven-plugin:1.0.0-RC1-SNAPSHOT:deploy
Description:
Create a web application that makes use of Cocoon blocks. In the
case of a web application module, (packaging: war) all referenced
blocks are added, in the case of block (packaging: jar)
additionally a minimal Cocoon environemt is created and it is also
possible to reference other locally available blocks and to
set custom properties to make development highly dynamic.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope:
runtime. - Binds by default to the lifecycle phase:
package.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
| project | MavenProject |
- |
The project whose project files to create. |
| warSourceDirectory | File |
- |
Single directory for extra files to include in the WAR. |
| webappDirectory | File |
- |
The directory where the webapp is built. |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
| useShieldingClassLoader | boolean |
- |
Use shielded classloading |
| useShieldingRepository | boolean |
- |
Move jars for shielded classloading |
| webXml | String |
- |
The path to the web.xml file to use. |
Parameter Details
project:The project whose project files to create.
- Type:
org.apache.maven.project.MavenProject - Required:
Yes - Expression:
${project}
useShieldingClassLoader:
Use shielded classloading
- Type:
boolean - Required:
No - Expression:
${maven.war.shieldingclassloader}
useShieldingRepository:
Move jars for shielded classloading
- Type:
boolean - Required:
No - Expression:
${maven.war.shieldingrepository}
warSourceDirectory:
Single directory for extra files to include in the WAR.
- Type:
java.io.File - Required:
Yes - Expression:
${basedir}/src/main/webapp
webXml:
The path to the web.xml file to use.
- Type:
java.lang.String - Required:
No - Expression:
${maven.war.webxml}
webappDirectory:
The directory where the webapp is built.
- Type:
java.io.File - Required:
Yes - Expression:
${project.build.directory}/${project.build.finalName}


