WIP:site
[hibernate4-maven-plugin] / src / it / update / 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     <groupId>de.juplo</groupId>
30     <artifactId>update-test</artifactId>
31     <name>Hibernate Annotations Tutorial -- Modified to proove the new update-goal</name>
32     <version>0.0.0.0.1b-SNAPSHOT</version>
33
34     <properties>
35         <!-- Skip artifact deployment -->
36         <maven.deploy.skip>true</maven.deploy.skip>
37         <plugin.version>@project.version@</plugin.version>
38     </properties>
39
40
41     <dependencies>
42         <dependency>
43             <groupId>org.hibernate</groupId>
44             <artifactId>hibernate-core</artifactId>
45             <version>5.2.4.Final</version>
46         </dependency>
47         <!-- The tutorials use the H2 in-memory database -->
48         <dependency>
49             <groupId>com.h2database</groupId>
50             <artifactId>h2</artifactId>
51             <version>1.4.187</version>
52         </dependency>
53     </dependencies>
54
55     <build>
56         <testResources>
57             <testResource>
58                 <directory>src/test/resources</directory>
59                 <filtering>true</filtering>
60             </testResource>
61         </testResources>
62         <plugins>
63             <plugin>
64                 <groupId>org.apache.maven.plugins</groupId>
65                 <artifactId>maven-compiler-plugin</artifactId>
66                 <version>3.3</version>
67                 <configuration>
68                     <source>1.8</source>
69                     <target>1.8</target>
70                     <encoding>utf8</encoding>
71                     <showWarnings>true</showWarnings>
72                 </configuration>
73             </plugin>
74             <plugin>
75                 <groupId>de.juplo</groupId>
76                 <artifactId>hibernate-maven-plugin</artifactId>
77                 <version>${plugin.version}</version>
78                 <executions>
79                     <execution>
80                         <goals>
81                             <goal>update</goal>
82                         </goals>
83                     </execution>
84                 </executions>
85                 <configuration>
86                     <scanTestClasses>true</scanTestClasses>
87                     <format>true</format>
88                     <show>true</show>
89                     <execute>false</execute>
90                 </configuration>
91             </plugin>
92         </plugins>
93     </build>
94
95 </project>