Goals available for this plugin:
| Goal | Description |
|---|---|
| hibernate4-ddl:gen-ddl | Goal which creates DDL SQL files for the JPA entities in the project (using the Hibernate 4 SchemaExport class}. |
| hibernate4-ddl:help | Display help information on hibernate4-ddl-maven-plugin. Call mvn hibernate4-ddl:help -Ddetail=true
-Dgoal=<goal-name> to display parameter details. |
The following specifies the minimum requirements to run this Maven plugin:
| Maven | 3.0.0 |
| JDK | 1.7 |
| Memory | No minimum requirement. |
| Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project>
...
<build>
<!-- To define the plugin version in your parent POM -->
<pluginManagement>
<plugins>
<plugin>
<groupId>de.jpdigital</groupId>
<artifactId>hibernate4-ddl-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</plugin>
...
</plugins>
</pluginManagement>
<!-- To use the plugin goals in your POM or parent POM -->
<plugins>
<plugin>
<groupId>de.jpdigital</groupId>
<artifactId>hibernate4-ddl-maven-plugin</artifactId>
<version>1.0.0-SNAPSHOT</version>
</plugin>
...
</plugins>
</build>
...
</project>
For more information, see "Guide to Configuring Plug-ins"