redora.generator
Class GenerateMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by redora.generator.GenerateMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GenerateMojo
extends org.apache.maven.plugin.AbstractMojo

Generates persistence sources and resources. If any XML schema is located in the xsd directory, also the JAXB sources will be generated.

Author:
Nanjing RedOrange (http://www.red-orange.cn)

Field Summary
static String GENERATION_TARGET
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GenerateMojo()
           
 
Method Summary
 void execute()
           
 
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
 

Field Detail

GENERATION_TARGET

public static final String GENERATION_TARGET
See Also:
Constant Field Values
Constructor Detail

GenerateMojo

public GenerateMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2012 Nanjing RedOrange Co. ltd. All Rights Reserved.