HBASE-25083 further HBase 1.y releases should have Hadoop 2.10 as a minimum version...
[hbase.git] / hbase-testing-util / pom.xml
blob6be2bfb6c394d05096a25a90f7d081a6027349ac
1 <?xml version="1.0"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <!--
4       /**
5        * Licensed to the Apache Software Foundation (ASF) under one
6        * or more contributor license agreements.  See the NOTICE file
7        * distributed with this work for additional information
8        * regarding copyright ownership.  The ASF licenses this file
9        * to you under the Apache License, Version 2.0 (the
10        * "License"); you may not use this file except in compliance
11        * with the License.  You may obtain a copy of the License at
12        *
13        *     http://www.apache.org/licenses/LICENSE-2.0
14        *
15        * Unless required by applicable law or agreed to in writing, software
16        * distributed under the License is distributed on an "AS IS" BASIS,
17        * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18        * See the License for the specific language governing permissions and
19        * limitations under the License.
20        */
21       -->
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <artifactId>hbase-build-configuration</artifactId>
25         <groupId>org.apache.hbase</groupId>
26         <version>3.0.0-SNAPSHOT</version>
27         <relativePath>../hbase-build-configuration</relativePath>
28     </parent>
29     <artifactId>hbase-testing-util</artifactId>
30     <name>Apache HBase - Testing Util</name>
31     <description>HBase Testing Utilities.</description>
32     <dependencies>
33         <!-- Intra-project dependencies -->
34         <!-- we do not want to introduce this to downstream users so still set the scope to test -->
35         <dependency>
36             <groupId>org.apache.hbase</groupId>
37             <artifactId>hbase-logging</artifactId>
38             <type>test-jar</type>
39             <scope>test</scope>
40         </dependency>
41         <dependency>
42             <groupId>org.apache.hbase</groupId>
43             <artifactId>hbase-common</artifactId>
44             <type>jar</type>
45             <scope>compile</scope>
46         </dependency>
47         <dependency>
48             <groupId>org.apache.hbase</groupId>
49             <artifactId>hbase-common</artifactId>
50             <type>test-jar</type>
51             <scope>compile</scope>
52         </dependency>
53         <dependency>
54             <groupId>org.apache.hbase</groupId>
55             <artifactId>hbase-annotations</artifactId>
56             <type>test-jar</type>
57             <scope>compile</scope>
58             <exclusions>
59                 <exclusion>
60                     <groupId>jdk.tools</groupId>
61                     <artifactId>jdk.tools</artifactId>
62                 </exclusion>
63             </exclusions>
64         </dependency>
65         <dependency>
66             <groupId>org.apache.hbase</groupId>
67             <artifactId>hbase-client</artifactId>
68             <type>jar</type>
69             <scope>compile</scope>
70         </dependency>
71         <dependency>
72             <groupId>org.apache.hbase</groupId>
73             <artifactId>hbase-zookeeper</artifactId>
74             <type>jar</type>
75             <scope>compile</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.apache.hbase</groupId>
79             <artifactId>hbase-zookeeper</artifactId>
80             <type>test-jar</type>
81             <scope>compile</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.apache.hbase</groupId>
85             <artifactId>hbase-server</artifactId>
86             <type>jar</type>
87             <scope>compile</scope>
88         </dependency>
89         <dependency>
90             <groupId>org.apache.hbase</groupId>
91             <artifactId>hbase-server</artifactId>
92             <type>test-jar</type>
93             <scope>compile</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.apache.hbase</groupId>
97             <artifactId>hbase-asyncfs</artifactId>
98             <type>test-jar</type>
99             <scope>compile</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.apache.hbase</groupId>
103             <artifactId>hbase-hadoop-compat</artifactId>
104             <type>jar</type>
105             <scope>compile</scope>
106         </dependency>
107         <dependency>
108             <groupId>org.apache.hbase</groupId>
109             <artifactId>hbase-hadoop-compat</artifactId>
110             <type>test-jar</type>
111             <scope>compile</scope>
112         </dependency>
113         <dependency>
114             <groupId>org.slf4j</groupId>
115             <artifactId>jcl-over-slf4j</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.slf4j</groupId>
120             <artifactId>jul-to-slf4j</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>org.slf4j</groupId>
125             <artifactId>slf4j-log4j12</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>log4j</groupId>
130             <artifactId>log4j</artifactId>
131             <scope>test</scope>
132         </dependency>
133     </dependencies>
135     <profiles>
136         <!-- Profiles for building against different hadoop versions -->
137         <!-- There are a lot of common dependencies used here, should investigate
138         if we can combine these profiles somehow -->
139         <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
140         <profile>
141             <id>hadoop-3.0</id>
142             <activation>
143                 <property><name>!hadoop.profile</name></property>
144             </activation>
145             <dependencies>
146                 <dependency>
147                     <groupId>org.apache.hadoop</groupId>
148                     <artifactId>hadoop-common</artifactId>
149                     <exclusions>
150                       <exclusion>
151                          <groupId>javax.xml.bind</groupId>
152                          <artifactId>jaxb-api</artifactId>
153                       </exclusion>
154                       <exclusion>
155                        <groupId>javax.ws.rs</groupId>
156                        <artifactId>jsr311-api</artifactId>
157                       </exclusion>
158                     </exclusions>
159                 </dependency>
160                 <dependency>
161                     <groupId>org.apache.hadoop</groupId>
162                     <artifactId>hadoop-minicluster</artifactId>
163                     <scope>compile</scope>
164                     <exclusions>
165                       <exclusion>
166                         <groupId>com.google.guava</groupId>
167                         <artifactId>guava</artifactId>
168                       </exclusion>
169                       <exclusion>
170                        <groupId>javax.ws.rs</groupId>
171                        <artifactId>jsr311-api</artifactId>
172                       </exclusion>
173                     </exclusions>
174                 </dependency>
175                 <dependency>
176                     <groupId>org.apache.hadoop</groupId>
177                     <artifactId>hadoop-minikdc</artifactId>
178                 </dependency>
179             </dependencies>
180         </profile>
181     </profiles>
182 </project>