Apache » Cocoon »

  Cocoon Maven Plugin
      1.0
   homepage

Cocoon Maven Plugin 1.0

rcl.properties

Location

The default location of rcl.properties is at the root directory of your block, next to pom.xml.

What can be configured?

Classes directories of blocks

Syntax

[name-of-the-block]%classes-dir=[path-to-a-blocks-classes-dir]

Examples

  • com.mycompany.app.block%classes-dir=./target/classes
  • com.mycompany.app.block2%classes-dir=C:/test/block2/target/classes

Classes directories of libraries that are NOT blocks

Syntax

%classes-dir=[path-to-a-library]
%exclude-lib=[groupId]:[artifactId]

Example

%classes-dir=C:/test/mylib/target/classes
Note: You can use the %classes-dir and %exclude-lib properties as often as you need in your properties file

Cocoon properties and Spring bean configurator properties

All other properties are either interpreted as Cocoon properties or Spring bean properties. The differenciation is done whether the property contains a "/" character. If so, it is considered as Spring bean configurator property.

Variables interpolation and includes

As this configuration file is managed by Apache Commons Configuration you can benefit from all the features it provides. The two most important ones are variables interpolation and includes.