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.

Site
License

 

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.

Blog Posts