Added an explicit test against Hibernate 5.2.18.Final
[hibernate4-maven-plugin] / src / it / hib-test-5.2.18 / pom.xml
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>
9   <properties>
10     <!--hibernate.skip>false</hibernate.skip-->
11   </properties>
12   <dependencies>
13     <dependency>
14       <groupId>org.hibernate</groupId>
15       <artifactId>hibernate-core</artifactId>
16       <version>5.2.18.Final</version>
17     </dependency>
18     <dependency>
19       <groupId>org.jadira.usertype</groupId>
20       <artifactId>usertype.jodatime</artifactId>
21       <version>2.0.1</version>
22     </dependency>
23     <dependency>
24       <groupId>joda-time</groupId>
25       <artifactId>joda-time</artifactId>
26       <version>2.7</version>
27     </dependency>
28   </dependencies>
29   <build>
30     <plugins>
31       <plugin>
32         <groupId>org.apache.maven.plugins</groupId>
33         <artifactId>maven-compiler-plugin</artifactId>
34         <version>2.0.2</version>
35         <configuration>
36           <source>1.7</source>
37           <target>1.7</target>
38           <encoding>utf8</encoding>
39           <showWarnings>true</showWarnings>
40         </configuration>
41       </plugin>
42       <!--  Generate database schema files -->
43       <plugin>
44         <groupId>de.juplo</groupId>
45         <artifactId>hibernate-maven-plugin</artifactId>
46         <version>@project.version@</version>
47         <configuration>
48           <!-- Generat schema only, no DB connection needed -->
49           <execute>false</execute>
50           <format>true</format>
51         </configuration>
52         <executions>
53           <execution>
54             <id>create-h2-ddl</id>
55             <goals>
56               <goal>create</goal>
57             </goals>
58             <configuration>
59               <dialect>org.hibernate.dialect.H2Dialect</dialect>
60               <outputFile>h2.sql</outputFile>
61             </configuration>
62           </execution>
63           <execution>
64             <id>create-postgres-ddl</id>
65             <goals>
66               <goal>create</goal>
67             </goals>
68             <configuration>
69               <dialect>org.hibernate.dialect.PostgreSQL82Dialect</dialect>
70               <outputFile>postgres.sql</outputFile>
71             </configuration>
72           </execution>
73           <execution>
74             <id>create-oracle-ddl</id>
75             <goals>
76               <goal>create</goal>
77             </goals>
78             <configuration>
79               <dialect>org.hibernate.dialect.Oracle10gDialect</dialect>
80               <outputFile>oracle.sql</outputFile>
81             </configuration>
82           </execution>
83         </executions>
84       </plugin>
85     </plugins>
86   </build>
87 </project>