org.jibx.maven
Class SchemaCodeGenMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jibx.maven.AbstractJibxMojo
          extended by org.jibx.maven.AbstractCodeGenMojo
              extended by org.jibx.maven.SchemaCodeGenMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class SchemaCodeGenMojo
extends AbstractCodeGenMojo

Generates Java sources from XSD schemas.

Author:
Jerome Bernard, Don Corley

Field Summary
 
Fields inherited from class org.jibx.maven.AbstractJibxMojo
project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
SchemaCodeGenMojo()
           
 
Method Summary
protected  Set<String> getProjectCompileClasspathElements(org.apache.maven.project.MavenProject project)
          Returns the build output directory of the given project.
 
Methods inherited from class org.jibx.maven.AbstractCodeGenMojo
checkConfiguration, execute, getSchemaBindingDirectory, getSchemaLocation, getSingleModuleBindingPath
 
Methods inherited from class org.jibx.maven.AbstractJibxMojo
addDependentArtifact, addDependentBinding, addManualDependentBinding, extractBaseBindingFile, fixFilePath, getBaseBindingDirectory, getBaseBindings, getFullPath, getIncludedFiles, getProjectBasedir
 
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
 

Constructor Detail

SchemaCodeGenMojo

public SchemaCodeGenMojo()
Method Detail

getProjectCompileClasspathElements

protected Set<String> getProjectCompileClasspathElements(org.apache.maven.project.MavenProject project)
                                                  throws org.apache.maven.plugin.MojoExecutionException
Returns the build output directory of the given project.

Specified by:
getProjectCompileClasspathElements in class AbstractJibxMojo
Throws:
org.apache.maven.plugin.MojoExecutionException - if DependencyResolutionRequiredException occurs


Copyright © 2005-2011 jibx.org. All Rights Reserved.