Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
hibernate53-ddl:gen-ddl Provides a goal which creates DDL SQL files for the JPA entities in the project (using the Hibernate 5 SchemaExport class}. The actual logic is in GenerateDdlMojo, but without this class Maven does not find the goal.
hibernate53-ddl:help Display help information on hibernate53-ddl-maven-plugin.
Call mvn hibernate53-ddl:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.0.4
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

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>hibernate53-ddl-maven-plugin</artifactId>
          <version>2.4.0-SNAPSHOT</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>de.jpdigital</groupId>
        <artifactId>hibernate53-ddl-maven-plugin</artifactId>
        <version>2.4.0-SNAPSHOT</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"