1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4 <groupId>de.juplo</groupId>
5 <artifactId>hibernate4-basictest</artifactId>
6 <name>Hibernate 4 Test</name>
7 <version>0.1-SNAPSHOT</version>
8 <packaging>jar</packaging>
10 <!--hibernate.skip>false</hibernate.skip-->
14 <groupId>org.hibernate</groupId>
15 <artifactId>hibernate-core</artifactId>
16 <version>4.3.0.Final</version>
19 <groupId>org.jadira.usertype</groupId>
20 <artifactId>usertype.jodatime</artifactId>
21 <version>2.0.1</version>
24 <groupId>joda-time</groupId>
25 <artifactId>joda-time</artifactId>
26 <version>2.7</version>
32 <groupId>org.apache.maven.plugins</groupId>
33 <artifactId>maven-compiler-plugin</artifactId>
34 <version>2.0.2</version>
38 <encoding>utf8</encoding>
39 <showWarnings>true</showWarnings>
42 <!-- Generate database schema files -->
44 <groupId>de.juplo</groupId>
45 <artifactId>hibernate4-maven-plugin</artifactId>
46 <version>@project.version@</version>
48 <!-- Target of none generates schema only, no DB connection -->
50 <!-- Generate both CREATE and DROP statements in scripts -->
55 <id>create-h2-ddl</id>
60 <hibernateDialect>org.hibernate.dialect.H2Dialect</hibernateDialect>
61 <outputFile>h2.sql</outputFile>
65 <id>create-postgres-ddl</id>
70 <hibernateDialect>org.hibernate.dialect.PostgreSQL82Dialect</hibernateDialect>
71 <outputFile>postgres.sql</outputFile>
75 <id>create-oracle-ddl</id>
80 <hibernateDialect>org.hibernate.dialect.Oracle10gDialect</hibernateDialect>
81 <outputFile>oracle.sql</outputFile>