Integration-Tests are skiped, if "maven.test.skip" is set to true
[hibernate4-maven-plugin] / src / it / tutorials / basic / pom.xml
1 <?xml version="1.0"?>
2 <!--
3   ~ Hibernate, Relational Persistence for Idiomatic Java
4   ~
5   ~ Copyright (c) 2010, Red Hat Inc. or third-party contributors as
6   ~ indicated by the @author tags or express copyright attribution
7   ~ statements applied by the authors.  All third-party contributions are
8   ~ distributed under license by Red Hat Inc.
9   ~
10   ~ This copyrighted material is made available to anyone wishing to use, modify,
11   ~ copy, or redistribute it subject to the terms and conditions of the GNU
12   ~ Lesser General Public License, as published by the Free Software Foundation.
13   ~
14   ~ This program is distributed in the hope that it will be useful,
15   ~ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16   ~ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
17   ~ for more details.
18   ~
19   ~ You should have received a copy of the GNU Lesser General Public License
20   ~ along with this distribution; if not, write to:
21   ~ Free Software Foundation, Inc.
22   ~ 51 Franklin Street, Fifth Floor
23   ~ Boston, MA  02110-1301  USA
24   -->
25 <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">
26
27     <modelVersion>4.0.0</modelVersion>
28
29     <parent>
30         <groupId>org.hibernate.tutorials</groupId>
31         <artifactId>hibernate-tutorials</artifactId>
32         <version>4.3.9.Final</version>
33         <relativePath>../pom.xml</relativePath>
34     </parent>
35
36     <artifactId>hibernate-tutorial-hbm</artifactId>
37     <name>Hibernate hbm.xml Tutorial</name>
38     <description>Hibernate tutorial illustrating the use of native APIs and hbm.xml for mapping metadata</description>
39
40     <properties>
41         <!-- Skip artifact deployment -->
42         <maven.deploy.skip>true</maven.deploy.skip>
43         <h4mp.version>@project.version@</h4mp.version>
44     </properties>
45
46     <build>
47         <plugins>
48             <plugin>
49                 <groupId>de.juplo</groupId>
50                 <artifactId>hibernate4-maven-plugin</artifactId>
51                 <version>${h4mp.version}</version>
52                 <executions>
53                     <execution>
54                         <phase>process-test-classes</phase>
55                         <goals>
56                             <goal>export</goal>
57                         </goals>
58                     </execution>
59                 </executions>
60                 <configuration>
61                     <scanTestClasses>true</scanTestClasses>
62                 </configuration>
63             </plugin>
64         </plugins>
65     </build>
66
67 </project>