Upgraded source/target version of Java from 1.6 to 1.8
[hibernate-maven-plugin] / src / it / tutorials / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
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>org.hibernate.tutorials</groupId>
30     <artifactId>hibernate-tutorials</artifactId>
31     <version>4.3.9.Final</version>
32     <packaging>pom</packaging>
33
34     <name>Hibernate Getting Started Guide Tutorials</name>
35     <description>Aggregator for the Hibernate tutorials presented in the Getting Started Guide</description>
36
37     <properties>
38         <!-- Skip artifact deployment -->
39         <maven.deploy.skip>true</maven.deploy.skip>
40     </properties>
41
42     <modules>
43         <module>basic</module>
44         <module>annotations</module>
45         <module>entitymanager</module>
46         <module>envers</module>
47         <module>osgi/unmanaged-native</module>
48         <module>osgi/unmanaged-jpa</module>
49         <module>osgi/managed-jpa</module>
50     </modules>
51
52     <dependencies>
53         <dependency>
54             <groupId>org.hibernate</groupId>
55             <artifactId>hibernate-core</artifactId>
56             <version>4.3.9.Final</version>
57         </dependency>
58
59         <!-- Hibernate uses jboss-logging for logging, for the tutorials we will use the sl4fj-simple backend -->
60         <dependency>
61             <groupId>org.slf4j</groupId>
62             <artifactId>slf4j-simple</artifactId>
63             <version>1.7.12</version>
64         </dependency>
65
66         <!-- The tutorials use JUnit test cases to illustrate usage -->
67         <dependency>
68             <groupId>junit</groupId>
69             <artifactId>junit</artifactId>
70             <version>4.12</version>
71         </dependency>
72
73         <!-- The tutorials use the H2 in-memory database -->
74         <dependency>
75             <groupId>com.h2database</groupId>
76             <artifactId>h2</artifactId>
77             <version>1.4.187</version>
78         </dependency>
79     </dependencies>
80
81     <build>
82         <testResources>
83             <testResource>
84                 <filtering>false</filtering>
85                 <directory>src/test/java</directory>
86                 <includes>
87                     <include>**/*.xml</include>
88                 </includes>
89             </testResource>
90             <testResource>
91                 <directory>src/test/resources</directory>
92                 <filtering>true</filtering>
93             </testResource>
94         </testResources>
95         <plugins>
96             <plugin>
97                 <groupId>org.apache.maven.plugins</groupId>
98                 <artifactId>maven-compiler-plugin</artifactId>
99                 <version>3.3</version>
100                 <configuration>
101                     <source>1.6</source>
102                     <target>1.6</target>
103                     <encoding>utf8</encoding>
104                     <showWarnings>true</showWarnings>
105                 </configuration>
106             </plugin>
107         </plugins>
108     </build>
109
110 </project>