castor:mappings
Full name:
org.codehaus.mojo:castor-maven-plugin:2.1:mappings
Description:
A mojo that uses Castor MappingTool to generate mapping files from
a set of Classes.
MappingTool.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Binds by default to the lifecycle phase: process-classes.
Required Parameters
| Name |
Type |
Since |
Description |
| classes |
Map |
- |
A set of Java classes for which a mapping file should be generated.
|
| project |
MavenProject |
- |
The Maven project to act upon.
|
Optional Parameters
| Name |
Type |
Since |
Description |
| force |
boolean |
- |
Whether to force generation of mapping file where one already
exists. Default value is: false. |
| outputDirectory |
File |
- |
The output directory. Default value is: ${project.build.outputDirectory}/. |
Parameter Details
classes:
A set of Java classes for which a mapping file should be generated.
- Type: java.util.Map
- Required: Yes
force:
Whether to force generation of mapping file where one already
exists.
- Type: boolean
- Required: No
- Default: false
outputDirectory:
The output directory.
- Type: java.io.File
- Required: No
- Default: ${project.build.outputDirectory}/
project:
The Maven project to act upon.
- Type: org.apache.maven.project.MavenProject
- Required: Yes
- Expression: ${project}