Full name:
org.codehaus.mojo:jaxb2-maven-plugin:1.3:xjc
Description:
parse xsd and binding resources (xjb) to produce a corresponding object model based on the JAXB Xjc parsing engine.
Attributes:
runtime.generate-sources.| Name | Type | Since | Description |
|---|---|---|---|
| outputDirectory | File |
- |
The working directory to create the generated java source files. |
| schemaDirectory | File |
- |
The schema directory or xsd files |
| staleFile | File |
- |
The location of the flag file used to determine if the output is
stale. Default value is: ${project.build.directory}/generated-sources/jaxb/.staleFlag. |
| Name | Type | Since | Description |
|---|---|---|---|
| arguments | String |
- |
Space separated string of extra arguments, for instance
-Xfluent-api -episode somefile; These will be passed
on to XJC as "-Xfluent-api" "-episode" "somefile"
options. |
| bindingDirectory | File |
- |
The binding directory for xjb files |
| bindingFiles | String |
- |
List of files to use for bindings, comma delimited. If none, then
all xjb files are used in the bindingDirectory |
| catalog | File |
- |
Catalog file to resolve external entity references support TR9401,
XCatalog, and OASIS XML Catalog format. |
| clearOutputDir | boolean |
- |
Clears the output directory on each run. Defaults to 'true' but if
false, will not clear the directory. Default value is: true. |
| dtd | boolean |
- |
Treat input schemas as XML DTD (experimental, unsupported). Default value is: false. |
| explicitAnnotation | boolean |
- |
Allow generation of explicit annotations that are needed for JAXB2
to work on RetroTranslator. Default value is: false. |
| extension | boolean |
- |
Allow to use the JAXB Vendor Extensions. Default value is: false. |
| failOnNoSchemas | boolean |
1.3 |
Fails the mojo if no schemas has been found Default value is: true. |
| generatedResourcesDirectory | File |
- |
The optional directory where generated resources can be placed,
generated by addons/plugins. |
| httpproxy | String |
- |
Set HTTP/HTTPS proxy. Format is
[user[:password]@]proxyHost[:proxyPort] |
| includeSchemasOutputPath | String |
- |
The output path to include in your jar/war/etc if you wish to
include your schemas in your artifact. |
| npa | boolean |
- |
Suppress generation of package level annotations
(package-info.java) Default value is: false. |
| nv | boolean |
- |
Do not perform strict validation of the input schema(s) Default value is: false. |
| packageName | String |
- |
The package in which the source files will be generated. |
| quiet | boolean |
- |
Suppress compiler output Default value is: false. |
| readOnly | boolean |
- |
Generated files will be in read-only mode Default value is: false. |
| relaxng | boolean |
- |
Treat input schemas as RELAX NG (experimental, unsupported). Default value is: false. |
| relaxngCompact | boolean |
- |
Treat input as RELAX NG compact syntax (experimental,unsupported) Default value is: false. |
| schemaFiles | String |
- |
List of files to use for schemas, comma delimited. If none, then
all xsd files are used in the schemaDirectory Note: you may use
either the 'schemaFiles' or 'schemaListFileName' option (you may
use both at once) |
| schemaListFileName | String |
- |
A filename containing the list of files to use for schemas, comma
delimited. If none, then all xsd files are used in the
schemaDirectory. Note: you may use either the 'schemaFiles' or
'schemaListFileName' option (you may use both at once) |
| target | String |
1.3 |
Avoid generating code that relies on any current JAXB 2.x features.
This will allow the generated code to run with earlier JAXB 2.x
runtime |
| verbose | boolean |
- |
Be extra verbose Default value is: false. |
| wsdl | boolean |
- |
Treat input as WSDL and compile schemas inside it
(experimental,unsupported) Default value is: false. |
| xmlschema | boolean |
- |
Treat input as W3C XML Schema (default) Default value is: true. |
-Xfluent-api -episode somefile; These will be passed
on to XJC as "-Xfluent-api" "-episode" "somefile"
options.java.lang.StringNo${xjc.arguments}java.io.FileNo${basedir}/src/main/xjbjava.lang.StringNojava.io.FileNobooleanNotruedtd:
booleanNofalsebooleanNofalsebooleanNofalseboolean1.3Notruejava.io.FileNojava.lang.StringNojava.lang.StringNonpa:
booleanNofalsenv:
booleanNofalsejava.io.FileYes${project.build.directory}/generated-sources/jaxbjava.lang.StringNobooleanNofalsebooleanNofalsebooleanNofalsebooleanNofalsejava.io.FileYes${basedir}/src/main/xsdjava.lang.StringNojava.lang.StringNojava.io.FileYes${project.build.directory}/generated-sources/jaxb/.staleFlagjava.lang.String1.3NobooleanNofalsewsdl:
booleanNofalsebooleanNotrue