Recently I tried to create DDLs with the hibernate3-maven-plugin. Since I was using Hibernate 4 this did not work. Since Hibernate 4 provides support for DDL generation, the integration into a Maven plugin proofed not to be very difficult.
I wrote a quick-and-simple hibernate4-maven-plugin that provides just the DDL generation I needed. Please consider it not to be a replacement for the fine hibernate3-maven-plugin! But if DDL creation is all you need for Hibernate 4, the hibernate4-maven-plugin might come handy to you.
The following POM fragment shows everything the plugin is currently (version 0.1.1) capable of:
I wrote a quick-and-simple hibernate4-maven-plugin that provides just the DDL generation I needed. Please consider it not to be a replacement for the fine hibernate3-maven-plugin! But if DDL creation is all you need for Hibernate 4, the hibernate4-maven-plugin might come handy to you.
The following POM fragment shows everything the plugin is currently (version 0.1.1) capable of:
de.smartics.maven.plugin
hibernate4-maven-plugin
0.1.1
export
hbm2ddl
jpa-unitname