cocoon:deploy
Full name:
org.apache.cocoon:cocoon-maven-plugin:1.0.2: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 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. User property is: project. |
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 User property is: maven.war.shieldingclassloader. |
useShieldingRepository | boolean | - | Move jars for shielded classloading User property is: maven.war.shieldingrepository. |
webXml | String | - | The path to the web.xml file to use. User property is: maven.war.webxml. |
Parameter Details
The project whose project files to create.
- Type: org.apache.maven.project.MavenProject
- Required: Yes
- User Property: project
Use shielded classloading
- Type: boolean
- Required: No
- User Property: maven.war.shieldingclassloader
Move jars for shielded classloading
- Type: boolean
- Required: No
- User Property: maven.war.shieldingrepository
Single directory for extra files to include in the WAR.
- Type: java.io.File
- Required: Yes
- Expression: ${basedir}/src/main/webapp
The path to the web.xml file to use.
- Type: java.lang.String
- Required: No
- User Property: maven.war.webxml
The directory where the webapp is built.
- Type: java.io.File
- Required: Yes
- Expression: ${project.build.directory}/${project.build.finalName}