Skip to content

Instantly share code, notes, and snippets.

@jlandure
Created July 24, 2012 15:59
Show Gist options
  • Save jlandure/3170852 to your computer and use it in GitHub Desktop.
Save jlandure/3170852 to your computer and use it in GitHub Desktop.
pom-hibernate3-maven-plugin.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<configuration>
<components>
<component>
<name>hbm2ddl</name>
<implementation>jpaconfiguration</implementation>
<outputDirectory>target/sql</outputDirectory>
</component>
</components>
<componentProperties>
<console>false</console>
<format>true</format>
<outputfilename>db-scheme.sql</outputfilename>
<export>false</export>
</componentProperties>
</configuration>
<dependencies>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>3.6.5.Final</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.6.5.Final</version>
</dependency>
</dependencies>
</plugin>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment