Preparing hbase release 2.4.1RC1; tagging and updates to CHANGES.md again
[hbase.git] / hbase-testing-util / pom.xml
blob4c0e1e00dccd3398fbb9a79882e95e548b1996d6
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>2.4.1</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-protocol</artifactId>
68             <type>jar</type>
69             <scope>compile</scope>
70         </dependency>
71         <dependency>
72             <groupId>org.apache.hbase</groupId>
73             <artifactId>hbase-client</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>jar</type>
81             <scope>compile</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.apache.hbase</groupId>
85             <artifactId>hbase-zookeeper</artifactId>
86             <type>test-jar</type>
87             <scope>compile</scope>
88         </dependency>
89         <dependency>
90             <groupId>org.apache.hbase</groupId>
91             <artifactId>hbase-server</artifactId>
92             <type>jar</type>
93             <scope>compile</scope>
94         </dependency>
95         <dependency>
96             <groupId>org.apache.hbase</groupId>
97             <artifactId>hbase-server</artifactId>
98             <type>test-jar</type>
99             <scope>compile</scope>
100         </dependency>
101         <dependency>
102             <groupId>org.apache.hbase</groupId>
103             <artifactId>hbase-asyncfs</artifactId>
104             <type>test-jar</type>
105             <scope>compile</scope>
106         </dependency>
107         <dependency>
108             <groupId>org.apache.hbase</groupId>
109             <artifactId>hbase-hadoop-compat</artifactId>
110             <type>jar</type>
111             <scope>compile</scope>
112         </dependency>
113         <dependency>
114             <groupId>org.apache.hbase</groupId>
115             <artifactId>hbase-hadoop-compat</artifactId>
116             <type>test-jar</type>
117             <scope>compile</scope>
118         </dependency>
119         <dependency>
120             <groupId>org.apache.hbase</groupId>
121             <artifactId>${compat.module}</artifactId>
122             <type>jar</type>
123             <scope>compile</scope>
124         </dependency>
125         <dependency>
126             <groupId>org.apache.hbase</groupId>
127             <artifactId>${compat.module}</artifactId>
128             <type>test-jar</type>
129             <scope>compile</scope>
130         </dependency>
131         <dependency>
132             <groupId>org.slf4j</groupId>
133             <artifactId>jcl-over-slf4j</artifactId>
134             <scope>test</scope>
135         </dependency>
136         <dependency>
137             <groupId>org.slf4j</groupId>
138             <artifactId>jul-to-slf4j</artifactId>
139             <scope>test</scope>
140         </dependency>
141         <dependency>
142             <groupId>org.slf4j</groupId>
143             <artifactId>slf4j-log4j12</artifactId>
144             <scope>test</scope>
145         </dependency>
146         <dependency>
147             <groupId>log4j</groupId>
148             <artifactId>log4j</artifactId>
149             <scope>test</scope>
150         </dependency>
151     </dependencies>
153     <profiles>
154         <!-- Profiles for building against different hadoop versions -->
155         <!-- There are a lot of common dependencies used here, should investigate
156         if we can combine these profiles somehow -->
158         <!-- profile for building against Hadoop 2.x. This is the default -->
159         <profile>
160             <id>hadoop-2.0</id>
161             <activation>
162                 <property>
163                     <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
164                     <!--h2--><name>!hadoop.profile</name>
165                 </property>
166             </activation>
167             <dependencies>
168                 <dependency>
169                     <groupId>org.apache.hadoop</groupId>
170                     <artifactId>hadoop-common</artifactId>
171                     <scope>compile</scope>
172                     <exclusions>
173                       <exclusion>
174                         <groupId>javax.xml.bind</groupId>
175                         <artifactId>jaxb-api</artifactId>
176                       </exclusion>
177                     </exclusions>
178                 </dependency>
179                 <dependency>
180                     <groupId>org.apache.hadoop</groupId>
181                     <artifactId>hadoop-auth</artifactId>
182                     <scope>compile</scope>
183                 </dependency>
184                 <dependency>
185                     <groupId>org.apache.hadoop</groupId>
186                     <artifactId>hadoop-client</artifactId>
187                     <scope>compile</scope>
188                     <exclusions>
189                       <exclusion>
190                         <groupId>com.google.guava</groupId>
191                         <artifactId>guava</artifactId>
192                       </exclusion>
193                       <exclusion>
194                         <groupId>javax.xml.bind</groupId>
195                         <artifactId>jaxb-api</artifactId>
196                       </exclusion>
197                     </exclusions>
198                 </dependency>
199                 <dependency>
200                     <groupId>org.apache.hadoop</groupId>
201                     <artifactId>hadoop-mapreduce-client-core</artifactId>
202                     <scope>compile</scope>
203                     <exclusions>
204                       <exclusion>
205                         <groupId>com.google.guava</groupId>
206                         <artifactId>guava</artifactId>
207                       </exclusion>
208                       <exclusion>
209                         <groupId>javax.xml.bind</groupId>
210                         <artifactId>jaxb-api</artifactId>
211                       </exclusion>
212                     </exclusions>
213                 </dependency>
214                 <dependency>
215                     <groupId>org.apache.hadoop</groupId>
216                     <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
217                     <scope>compile</scope>
218                     <exclusions>
219                       <exclusion>
220                         <groupId>com.google.guava</groupId>
221                         <artifactId>guava</artifactId>
222                       </exclusion>
223                     </exclusions>
224                 </dependency>
225                 <dependency>
226                     <groupId>org.apache.hadoop</groupId>
227                     <artifactId>hadoop-hdfs</artifactId>
228                     <scope>compile</scope>
229                 </dependency>
230                 <dependency>
231                     <groupId>org.apache.hadoop</groupId>
232                     <artifactId>hadoop-hdfs</artifactId>
233                     <type>test-jar</type>
234                     <scope>compile</scope>
235                 </dependency>
236                 <dependency>
237                     <groupId>org.apache.hadoop</groupId>
238                     <artifactId>hadoop-minicluster</artifactId>
239                     <scope>compile</scope>
240                     <exclusions>
241                       <exclusion>
242                         <groupId>com.google.guava</groupId>
243                         <artifactId>guava</artifactId>
244                       </exclusion>
245                       <exclusion>
246                         <groupId>org.apache.zookeeper</groupId>
247                         <artifactId>zookeeper</artifactId>
248                       </exclusion>
249                     </exclusions>
250                 </dependency>
251                 <dependency>
252                     <groupId>org.apache.hadoop</groupId>
253                     <artifactId>hadoop-minikdc</artifactId>
254                 </dependency>
255             </dependencies>
256         </profile>
257         <!--
258           profile for building against Hadoop 3.0.x. Activate using:
259            mvn -Dhadoop.profile=3.0
260         -->
261         <profile>
262             <id>hadoop-3.0</id>
263             <activation>
264                 <property>
265                     <name>hadoop.profile</name>
266                     <value>3.0</value>
267                 </property>
268             </activation>
269             <dependencies>
270                 <dependency>
271                     <groupId>org.apache.hadoop</groupId>
272                     <artifactId>hadoop-common</artifactId>
273                     <exclusions>
274                       <exclusion>
275                          <groupId>javax.xml.bind</groupId>
276                          <artifactId>jaxb-api</artifactId>
277                       </exclusion>
278                       <exclusion>
279                        <groupId>javax.ws.rs</groupId>
280                        <artifactId>jsr311-api</artifactId>
281                       </exclusion>
282                     </exclusions>
283                 </dependency>
284                 <dependency>
285                     <groupId>org.apache.hadoop</groupId>
286                     <artifactId>hadoop-minicluster</artifactId>
287                     <scope>compile</scope>
288                     <exclusions>
289                       <exclusion>
290                         <groupId>com.google.guava</groupId>
291                         <artifactId>guava</artifactId>
292                       </exclusion>
293                       <exclusion>
294                        <groupId>javax.ws.rs</groupId>
295                        <artifactId>jsr311-api</artifactId>
296                       </exclusion>
297                     </exclusions>
298                 </dependency>
299                 <dependency>
300                     <groupId>org.apache.hadoop</groupId>
301                     <artifactId>hadoop-minikdc</artifactId>
302                 </dependency>
303             </dependencies>
304         </profile>
305     </profiles>
306 </project>