Full name:
org.codehaus.mojo:xmlbeans-maven-plugin:2.3.3:xmlbeans
Description:
A Maven 2 plugin which parses xsd files and produces a corresponding object model based on the Apache XML Beans parser.
The plugin produces two sets of output files referred to as
generated sources and generated classes. The former is then
compiled to the build outputDirectory. The latter is
generated in this directory.
Note that the descriptions for the goal's parameters have been blatently copied from http://xmlbeans.apache.org/docs/2.0.0/guide/antXmlbean.html for convenience.
Attributes:
compile.generate-sources.| Name | Type | Since | Description |
|---|---|---|---|
| classGenerationDirectory | File |
- |
Set a location to generate CLASS files into. Default value is: ${project.build.directory}/generated-classes/xmlbeans. |
| schemaDirectory | File |
- |
The directory where .xsd files are to be found. Default value is: ${basedir}/src/main/xsd. |
| sourceGenerationDirectory | File |
- |
Set a location to generate JAVA files into. Default value is: ${project.build.directory}/generated-sources/xmlbeans. |
| staleFile | File |
- |
The location of the flag file used to determine if the output is
stale. Default value is: ${project.build.directory}/generated-sources/xmlbeans/.staleFlag. |
| Name | Type | Since | Description |
|---|---|---|---|
| catalogLocation | File |
- |
The location of the catalog used to resolve xml entities. Default value is: ${basedir}/src/main/catalog/resolver-catalog.xml. |
| compiler | String |
- |
The compiler implementation to use. If this attribute is not set,
the value of the build.compiler property, if set, will be used.
Otherwise, the default compiler for the current VM will be used. |
| debug | boolean |
- |
Indicates whether source should be compiled with debug information;
defaults to off. If set to off, -g:none will be passed on the
command line for compilers that support it (for other compilers, no
command line argument will be used). If set to true, the value of
the debug level attribute determines the command line argument. Default value is: false. |
| defaultXmlConfigDir | File |
- |
Default xmlConfigs directory. If no xmlConfigs list is specified,
this one is checked automatically. Default value is: ${basedir}/src/main/xsdconfig. |
| download | boolean |
- |
Set to true to permit the compiler to download URLs for imports and
includes. Defaults to false, meaning all imports and includes must
be copied locally. Default value is: false. |
| generatedSchemaDirectory | File |
- |
The directory where .xsd's pulled from xsdJars will be stored. Default value is: ${project.build.directory}/xmlbeans-xsds. |
| javaSource | String |
- |
Returns the javasource parameter which specifies an option to the
XmlBeans code generator. |
| jaxb | boolean |
- |
Todo: Unkown use. Default value is: false. |
| mdefNamespaces | Set |
- |
Define a set of Namespaces for which to ignore duplicate errors. |
| memoryInitialSize | String |
- |
The initial size of the memory for the underlying VM, if javac is
run externally; ignored otherwise. Defaults to the standard VM
memory setting. (Examples: 83886080, 81920k, or 80m) |
| memoryMaximumSize | String |
- |
The maximum size of the memory for the underlying VM, if javac is
run externally; ignored otherwise. Defaults to the standard VM
memory setting. (Examples: 83886080, 81920k, or 80m) |
| noAnn | boolean |
- |
Ignore annotations Default value is: false. |
| noJavac | boolean |
- |
Don't compile the generated source files. Default value is: false. |
| noPvr | boolean |
- |
Do not enforce the particle valid (restriction) rule. Default value is: false. |
| noUpa | boolean |
- |
Do not enforce the unique particle attribution rule. Default value is: false. |
| noVDoc | boolean |
- |
do not validate documentation elements Default value is: false. |
| outputJar | File |
- |
Define the name of the jar file created. For instance,
"myXMLBean.jar" will output the results of this task into a jar
with the same name. |
| quiet | boolean |
- |
Supress the normal amount of console output. Default value is: true. |
| sourceSchemas | List |
- |
A List of source schema files. |
| verbose | boolean |
- |
Controls the amount of build message output. Default value is: false. |
| xmlConfigs | List |
- |
Configuration files used by the object generator. For more
information about the format of these files, see Todo. |
| xsdJars | List |
- |
List of artifacts whose xsds need to be compiled. |
java.io.FileNo${xmlbeans.catalogLocation}${basedir}/src/main/catalog/resolver-catalog.xmljava.io.FileYes${xmlbeans.classGenerationDirectory}${project.build.directory}/generated-classes/xmlbeansjava.lang.StringNobooleanNofalsejava.io.FileNo${xmlbeans.defaultXmlConfigDir}${basedir}/src/main/xsdconfigbooleanNofalsejava.io.FileNo${project.build.directory}/xmlbeans-xsdsjava.lang.StringNojaxb:
booleanNofalsejava.util.SetNojava.lang.StringNojava.lang.StringNobooleanNofalsebooleanNofalsebooleanNofalsebooleanNofalsebooleanNofalsejava.io.FileNobooleanNotruejava.io.FileYes${basedir}/src/main/xsdjava.io.FileYes${xmlbeans.sourceGenerationDirectory}${project.build.directory}/generated-sources/xmlbeansList of source schema files.java.util.ListNojava.io.FileYes${xmlbeans.staleFile}${project.build.directory}/generated-sources/xmlbeans/.staleFlagbooleanNofalsejava.util.ListNojava.util.ListNo