Full name:
org.codehaus.mojo:castor-maven-plugin:2.1:generate
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| project | MavenProject | - | The Maven project to act upon. |
| Name | Type | Since | Description |
|---|---|---|---|
| bindingfile | File | - | The binding file to use for mapping xml to java. |
| classGenerationMode | String | - | The method to use for Java class generation; possible values are
'standard' (default) and 'velocity'. Default value is: standard. |
| createJdoDescriptors | boolean | - | Whether to generate JDO-specific descriptor classes or not. Default value is: false. |
| descriptors | boolean | - | If true, generate descriptors Default value is: true. |
| dest | File | - | The directory to output the generated sources to |
| generateImportedSchemas | boolean | - | Whether to generate Java classes from imported XML schemas or not. Default value is: false. |
| generateMappings | boolean | - | Set to true to generate Castor XML class mappings for the
Java classes generated by the XML code generator from imported XML
schemas. Default value is: false. |
| lineSeparator | String | - | The line separator to use in generated source. Can be either win,
unix, or mac |
| marshal | boolean | - | if false, don't generate the marshaller Default value is: true. |
| packaging | String | - | The package for the generated source |
| properties | File | - | The castorbuilder.properties file to use |
| resourceDestination | File | - | The directory to output generated resources files to. |
| schema | File | - | A schema file to process. If this is not set then all .xsd files in
schemaDirectory will be processed. |
| schemaDirectory | File | - | The source directory containing *.xsd files |
| staleMillis | int | - | The granularity in milliseconds of the last modification date for
testing whether a source needs recompilation Default value is: 0. |
| tstamp | File | - | The directory to store the processed xsds. The timestamps of these
xsds are used to determine if the source for that xsd need to be
regenerated |
| types | String | - | Castor collection types. Allowable values are 'vector',
'arraylist', 'j2' or 'odmg' 'j2' and 'arraylist' are the same. Default value is: arraylist. |
| verbose | boolean | - | Verbose output during generation Default value is: false. |
| warnings | boolean | - | Enable warning messages Default value is: false. |
dest: