@Mojo(name="gen-ddl",
defaultPhase=PROCESS_CLASSES,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME,
threadSafe=true)
public class GenerateDdlMojo
extends org.apache.maven.plugin.AbstractMojo
| Constructor and Description |
|---|
GenerateDdlMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
The Mojo's execute method.
|
String[] |
getDialects() |
File |
getOutputDirectory() |
String[] |
getPackages() |
File |
getPersistenceXml() |
boolean |
isCreateDropStatements() |
void |
setCreateDropStatements(boolean createDropStatments) |
void |
setDialects(String... dialects) |
void |
setOutputDirectory(File outputDirectory) |
void |
setPackages(String... packages) |
void |
setPersistenceXml(File persistenceXml) |
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - if the Mojo can't be executed.org.apache.maven.plugin.MojoFailureException - if something goes wrong while to Mojo is
executed.public File getOutputDirectory()
public void setOutputDirectory(File outputDirectory)
public String[] getPackages()
public void setPackages(String... packages)
public String[] getDialects()
public void setDialects(String... dialects)
public boolean isCreateDropStatements()
public void setCreateDropStatements(boolean createDropStatments)
public File getPersistenceXml()
public void setPersistenceXml(File persistenceXml)
Copyright © 2016 Jens Pelzetter. All rights reserved.