org.codehaus.mojo.xjc
Class XjcMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.codehaus.mojo.xjc.XjcMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class XjcMojo
- extends org.apache.maven.plugin.AbstractMojo
xjc compiler plugin.
This plugin uses JaxMe 2 to generate JAXB source files from an XML schema.
The source files are generated in a directory under the project build
directory derived from the configured properties.
A word of caution:
Your schema may be rejected if your text editor places spurious whitespace
characters at the start of the file - if you think your schema is otherwise well
formed then open it up in a hex editor and correct as necessary.
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XjcMojo
public XjcMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
Copyright © 2005-2011 Codehaus. All Rights Reserved.