Goals available for this plugin:
Goal | Description |
---|---|
castor:dtdToXsd | |
castor:generate | A mojo that uses Castor to generate a collection of javabeans from an XSD. Detailed explanations of many of these can be found in the details for the Castor SourceGenerator. |
castor:help | Display help information on castor-maven-plugin. Call mvn castor:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
castor:mapping | A mojo that uses Castor MappingTool to generate mapping files from a single Class. MappingTool. |
castor:mappings | A mojo that uses Castor MappingTool to generate mapping files from a set of Classes. MappingTool. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.2.1 |
JDK | 1.5 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>castor-maven-plugin</artifactId> <version>2.5</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>castor-maven-plugin</artifactId> <version>2.5</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"