de.juplo.plugins.hibernate4
Class Hbm2DdlMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by de.juplo.plugins.hibernate4.Hbm2DdlMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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

Goal which extracts the hibernate-mapping-configuration and exports an according SQL-database-schema.


Field Summary
static String DIALECT
           
static String DRIVER_CLASS
           
static String EXPORT_SKIPPED_PROPERTY
           
static String PASSWORD
           
static String URL
           
static String USERNAME
           
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
Hbm2DdlMojo()
           
 
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

EXPORT_SKIPPED_PROPERTY

public static final String EXPORT_SKIPPED_PROPERTY
See Also:
Constant Field Values

DRIVER_CLASS

public static final String DRIVER_CLASS
See Also:
Constant Field Values

URL

public static final String URL
See Also:
Constant Field Values

USERNAME

public static final String USERNAME
See Also:
Constant Field Values

PASSWORD

public static final String PASSWORD
See Also:
Constant Field Values

DIALECT

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

Hbm2DdlMojo

public Hbm2DdlMojo()
Method Detail

execute

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


Copyright © 2013. All Rights Reserved.