Configured the 5.0.12-tutorials as integration-test for the plugin
[hibernate4-maven-plugin] / src / it / tutorials-5.0.12 / envers / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ~ Hibernate, Relational Persistence for Idiomatic Java
4   ~
5   ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
6   ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
7   -->
8 <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/xsd/maven-4.0.0.xsd">
9
10     <modelVersion>4.0.0</modelVersion>
11
12     <parent>
13         <groupId>org.hibernate.tutorials</groupId>
14         <artifactId>hibernate-tutorials</artifactId>
15         <version>5.0.12.Final</version>
16         <relativePath>../pom.xml</relativePath>
17     </parent>
18
19     <artifactId>hibernate-tutorial-envers</artifactId>
20     <name>Hibernate Envers Tutorial</name>
21     <description>Hibernate tutorial illustrating basic set up and use of Envers</description>
22
23     <properties>
24         <!-- Skip artifact deployment -->
25         <maven.deploy.skip>true</maven.deploy.skip>
26         <hibernate-maven-plugin.version>@project.version@</hibernate-maven-plugin.version>
27     </properties>
28
29     <dependencies>
30         <dependency>
31             <groupId>org.hibernate</groupId>
32             <artifactId>hibernate-envers</artifactId>
33             <version>5.0.12.Final</version>
34         </dependency>
35         <dependency>
36             <groupId>org.hibernate</groupId>
37             <artifactId>hibernate-entitymanager</artifactId>
38             <version>5.0.12.Final</version>
39         </dependency>
40     </dependencies>
41
42     <build>
43         <plugins>
44             <plugin>
45                 <groupId>de.juplo</groupId>
46                 <artifactId>hibernate-maven-plugin</artifactId>
47                 <version>${hibernate-maven-plugin.version}</version>
48                 <executions>
49                     <execution>
50                         <phase>process-test-classes</phase>
51                         <goals>
52                             <goal>create</goal>
53                         </goals>
54                     </execution>
55                 </executions>
56                 <configuration>
57                     <scanTestClasses>true</scanTestClasses>
58                     <dialect>org.hibernate.dialect.H2Dialect</dialect>
59                     <format>true</format>
60                 </configuration>
61             </plugin>
62         </plugins>
63     </build>
64
65 </project>