You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
Provides a very simple way of generating DDL scripts from a JPA unit. It is therefore a very limited version of the hibernate3-maven-plugin.
The Hibernate 4 Maven Plugin provides a very simple way of generating DDL scripts from a JPA unit. It is therefore a very limited version of the Hibernate 3 Maven Plugin.
This plugin basically supports this configuration:
<plugin>
<groupId>de.smartics.maven.plugin</groupId>
<artifactId>hibernate4-maven-plugin</artifactId>
<version>0.1.2</version>
<executions>
<execution>
<id>export</id>
<goals>
<goal>hbm2ddl</goal>
</goals>
</execution>
</executions>
<configuration>
<unitName>jpa-unitname</unitName>
</configuration>
</plugin>
Project Blog
The following posts provide more information about this plugin on our blog.