Apache » Cocoon »

  Cocoon Maven 2 Plugin
      1.0
   homepage

Cocoon Maven 2 Plugin 1.0

cocoon:rcl

Full name:

org.apache.cocoon:cocoon-maven-plugin:1.0.0-RC1-SNAPSHOT:rcl

This plugin goal has been deprecated:

Use PrepareWebappMojo instead.

Description:

[DEPRECATED] Use the 'prepare' goal instead.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: runtime.
  • Invokes the execution of the lifecycle phase process-classes prior to executing itself.

Required Parameters

Name Type Since Description
project MavenProject - The project whose project files to create.

Optional Parameters

Name Type Since Description
customLog4jXconf String - Logging: Use a custom log4j xml configuration file.
customWebappDirectory File - Use a custom web application directory.
rclPropertiesFile File - The central property file that contains all information about where to find blocks.
reloadingClassLoaderEnabled boolean - Enable the reloading class loader. Default value is true.
reloadingSpringEnabled boolean - Enable reloading of the Spring application context. Note: The reload of the application context doesn't work properly if it contains beans which are based on proxies with interfaces which are loaded by the reloading class loader. As a workaround you can put all those interfaces into a separate module which is NOT loaded by the reloading class loader.
target File - The directory that contains the Cocoon web application.
useConsoleAppender boolean - Logging: Use console appender?
useSocketAppender boolean - Logging: Use socket appender?
webappProfile String - This goal prepares a minimal Cocoon web application using the default profile 'cocoon-22' that can be used to run a block. Alternatively a 'ssf' (servlet-service framework) profile is supported, which creates a web application that want to use the servlet-service framework only.

Parameter Details

customLog4jXconf:
Logging: Use a custom log4j xml configuration file.
  • Type: java.lang.String
  • Required: No

customWebappDirectory:
Use a custom web application directory.
  • Type: java.io.File
  • Required: No

project:
The project whose project files to create.
  • Type: org.apache.maven.project.MavenProject
  • Required: Yes
  • Expression: ${project}

rclPropertiesFile:
The central property file that contains all information about where to find blocks.
  • Type: java.io.File
  • Required: No
  • Expression: ./rcl.properties

reloadingClassLoaderEnabled:
Enable the reloading class loader. Default value is true.
  • Type: boolean
  • Required: No

reloadingSpringEnabled:
Enable reloading of the Spring application context. Note: The reload of the application context doesn't work properly if it contains beans which are based on proxies with interfaces which are loaded by the reloading class loader. As a workaround you can put all those interfaces into a separate module which is NOT loaded by the reloading class loader.
  • Type: boolean
  • Required: No

target:
The directory that contains the Cocoon web application.
  • Type: java.io.File
  • Required: No
  • Expression: ./target/rcl

useConsoleAppender:
Logging: Use console appender?
  • Type: boolean
  • Required: No

useSocketAppender:
Logging: Use socket appender?
  • Type: boolean
  • Required: No

webappProfile:
This goal prepares a minimal Cocoon web application using the default profile 'cocoon-22' that can be used to run a block. Alternatively a 'ssf' (servlet-service framework) profile is supported, which creates a web application that want to use the servlet-service framework only.
  • Type: java.lang.String
  • Required: No