Configured the 5.1.17-tutorials as integration-tests for the plugin
[hibernate4-maven-plugin] / src / it / tutorials-5.1.17 / annotations / pom.xml
1 <?xml version="1.0"?>
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.1.17.Final</version>
16         <relativePath>../pom.xml</relativePath>
17     </parent>
18
19     <artifactId>hibernate-tutorial-annotations</artifactId>
20     <name>Hibernate Annotations Tutorial</name>
21     <description>Hibernate tutorial illustrating the use of native APIs and annotations for mapping metadata</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
30     <build>
31         <plugins>
32             <plugin>
33                 <groupId>de.juplo</groupId>
34                 <artifactId>hibernate-maven-plugin</artifactId>
35                 <version>${hibernate-maven-plugin.version}</version>
36                 <executions>
37                     <execution>
38                         <phase>process-test-classes</phase>
39                         <goals>
40                             <goal>create</goal>
41                         </goals>
42                     </execution>
43                 </executions>
44                 <configuration>
45                     <scanTestClasses>true</scanTestClasses>
46                     <format>true</format>
47                 </configuration>
48             </plugin>
49         </plugins>
50     </build>
51
52 </project>