public class XJCMojo
extends org.apache.maven.plugin.AbstractMojo
Modifier and Type | Field and Description |
---|---|
protected String |
args
Adds arguments to the plugin.
|
protected File |
catalog
Specify the catalog file to resolve external entity references.
|
protected String[] |
excludeBindings
A list of regular expression file search patterns to specify the binding
files to be excluded.
|
protected String[] |
excludeSchemas
A list of regular expression file search patterns to specify the schemas
to be excluded from the includeSchemas list.
|
protected boolean |
extension
If set to true, the XJC binding compiler will run in the extension mode.
|
protected File |
generateDirectory
Generated code will be written under this directory.
|
protected String |
generatePackage
If specified, generated code will be placed under this Java package.
|
protected String[] |
includeBindings
A list of regular expression file search patterns to specify the binding
files to be processed.
|
protected String[] |
includeSchemas
A list of regular expression file search patterns to specify the schemas
to be processed.
|
protected org.apache.maven.project.MavenProject |
project
The Maven project reference.
|
protected boolean |
readOnly
Generate Java source files in the read-only mode if true is specified.
|
protected boolean |
removeOldOutput
Used in pair with nested
|
protected File |
schemaDirectory
The source directory containing *.xsd schema and *.xjb binding files.
|
protected boolean |
strict
Perform strict validation of the input schema.
|
protected boolean |
verbose
If verbose all the configured settings that are to be passed to the xjc
compiler are logged.
|
Constructor and Description |
---|
XJCMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the maven2 mojo to invoke the xjc compiler based on configuration
settings.
|
protected File schemaDirectory
protected String[] includeSchemas
protected String[] excludeSchemas
protected String[] includeBindings
protected String[] excludeBindings
protected String generatePackage
protected File generateDirectory
protected boolean readOnly
protected boolean extension
protected File catalog
protected boolean removeOldOutput
protected boolean strict
protected boolean verbose
protected String args
protected org.apache.maven.project.MavenProject project
Copyright © 2006-2013 java.net. All Rights Reserved.