hibernate4-ddl-maven-plugin
Some time ago I started a project with JPA/Hibernate. Because I wanted to use Flyway for database migrations I needed the SQL for generating the database tables. Because I used Maven in that project I also wanted to integrate the generation of the SQL into the Maven build process. Unfortunately I did not found a suitable Maven plugin for that which worked with Hibernate 4 so I decided to create this little plugin.
The plugin (current version 1.0.0) is available from Maven Central. Add the following dependency to the plugins section or the pluginsManagement section of your pom.xml:
<plugin>
<groupId>de.jpdigital</groupId>
<artifactId>hibernate4-ddl-maven-plugin</artifactId>
<version>1.0.0</version>
</plugin>
The sources can be found at GitHub. The project page generated by Maven is also available on GitHub.
If you think you found a bug or have a suggestion for a feature please file a bug a GitHub.