HBASE-20335 ensure each stage of the nightly job gathers machine information.
[hbase.git] / hbase-testing-util / pom.xml
blob0f1b86cf83c686d435a527acc3500ece1e2ae20c
1 <?xml version="1.0"?>
2 <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">
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         <dependency>
35             <groupId>org.apache.hbase</groupId>
36             <artifactId>hbase-common</artifactId>
37             <type>jar</type>
38             <scope>compile</scope>
39         </dependency>
40         <dependency>
41             <groupId>org.apache.hbase</groupId>
42             <artifactId>hbase-common</artifactId>
43             <type>test-jar</type>
44             <scope>compile</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.hbase</groupId>
48             <artifactId>hbase-annotations</artifactId>
49             <type>test-jar</type>
50             <scope>compile</scope>
51             <exclusions>
52                 <exclusion>
53                     <groupId>jdk.tools</groupId>
54                     <artifactId>jdk.tools</artifactId>
55                 </exclusion>
56             </exclusions>
57         </dependency>
58         <dependency>
59             <groupId>org.apache.hbase</groupId>
60             <artifactId>hbase-protocol</artifactId>
61             <type>jar</type>
62             <scope>compile</scope>
63         </dependency>
64         <dependency>
65             <groupId>org.apache.hbase</groupId>
66             <artifactId>hbase-client</artifactId>
67             <type>jar</type>
68             <scope>compile</scope>
69         </dependency>
70         <dependency>
71             <groupId>org.apache.hbase</groupId>
72             <artifactId>hbase-zookeeper</artifactId>
73             <type>jar</type>
74             <scope>compile</scope>
75         </dependency>
76         <dependency>
77             <groupId>org.apache.hbase</groupId>
78             <artifactId>hbase-zookeeper</artifactId>
79             <type>test-jar</type>
80             <scope>compile</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.apache.hbase</groupId>
84             <artifactId>hbase-server</artifactId>
85             <type>jar</type>
86             <scope>compile</scope>
87         </dependency>
88         <dependency>
89             <groupId>org.apache.hbase</groupId>
90             <artifactId>hbase-server</artifactId>
91             <type>test-jar</type>
92             <scope>compile</scope>
93         </dependency>
94         <dependency>
95             <groupId>org.apache.hbase</groupId>
96             <artifactId>hbase-hadoop-compat</artifactId>
97             <type>jar</type>
98             <scope>compile</scope>
99         </dependency>
100         <dependency>
101             <groupId>org.apache.hbase</groupId>
102             <artifactId>hbase-hadoop-compat</artifactId>
103             <type>test-jar</type>
104             <scope>compile</scope>
105         </dependency>
106         <dependency>
107             <groupId>org.apache.hbase</groupId>
108             <artifactId>${compat.module}</artifactId>
109             <type>jar</type>
110             <scope>compile</scope>
111         </dependency>
112         <dependency>
113             <groupId>org.apache.hbase</groupId>
114             <artifactId>${compat.module}</artifactId>
115             <type>test-jar</type>
116             <scope>compile</scope>
117         </dependency>
118         <dependency>
119             <groupId>org.slf4j</groupId>
120             <artifactId>slf4j-log4j12</artifactId>
121         </dependency>
122     </dependencies>
124     <profiles>
125         <!-- Profiles for building against different hadoop versions -->
126         <!-- There are a lot of common dependencies used here, should investigate
127         if we can combine these profiles somehow -->
129         <!-- profile for building against Hadoop 2.x. This is the default -->
130         <profile>
131             <id>hadoop-2.0</id>
132             <activation>
133                 <property>
134                     <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
135                     <!--h2--><name>!hadoop.profile</name>
136                 </property>
137             </activation>
138             <dependencies>
139                 <dependency>
140                     <groupId>org.apache.hadoop</groupId>
141                     <artifactId>hadoop-common</artifactId>
142                     <scope>compile</scope>
143                     <exclusions>
144                         <exclusion>
145                             <groupId>org.apache.htrace</groupId>
146                             <artifactId>htrace-core</artifactId>
147                         </exclusion>
148                     </exclusions>
149                 </dependency>
150                 <dependency>
151                     <groupId>org.apache.hadoop</groupId>
152                     <artifactId>hadoop-auth</artifactId>
153                     <scope>compile</scope>
154                 </dependency>
155                 <dependency>
156                     <groupId>org.apache.hadoop</groupId>
157                     <artifactId>hadoop-client</artifactId>
158                     <scope>compile</scope>
159                     <exclusions>
160                       <exclusion>
161                         <groupId>com.google.guava</groupId>
162                         <artifactId>guava</artifactId>
163                       </exclusion>
164                     </exclusions>
165                 </dependency>
166                 <dependency>
167                     <groupId>org.apache.hadoop</groupId>
168                     <artifactId>hadoop-mapreduce-client-core</artifactId>
169                     <scope>compile</scope>
170                     <exclusions>
171                       <exclusion>
172                         <groupId>com.google.guava</groupId>
173                         <artifactId>guava</artifactId>
174                       </exclusion>
175                     </exclusions>
176                 </dependency>
177                 <dependency>
178                     <groupId>org.apache.hadoop</groupId>
179                     <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
180                     <scope>compile</scope>
181                     <exclusions>
182                       <exclusion>
183                         <groupId>com.google.guava</groupId>
184                         <artifactId>guava</artifactId>
185                       </exclusion>
186                     </exclusions>
187                 </dependency>
188                 <dependency>
189                     <groupId>org.apache.hadoop</groupId>
190                     <artifactId>hadoop-hdfs</artifactId>
191                     <scope>compile</scope>
192                 </dependency>
193                 <dependency>
194                     <groupId>org.apache.hadoop</groupId>
195                     <artifactId>hadoop-hdfs</artifactId>
196                     <type>test-jar</type>
197                     <scope>compile</scope>
198                 </dependency>
199                 <dependency>
200                     <groupId>org.apache.hadoop</groupId>
201                     <artifactId>hadoop-minicluster</artifactId>
202                     <scope>compile</scope>
203                     <exclusions>
204                       <exclusion>
205                         <groupId>org.apache.htrace</groupId>
206                         <artifactId>htrace-core</artifactId>
207                       </exclusion>
208                       <exclusion>
209                         <groupId>com.google.guava</groupId>
210                         <artifactId>guava</artifactId>
211                       </exclusion>
212                       <exclusion>
213                         <groupId>org.apache.zookeeper</groupId>
214                         <artifactId>zookeeper</artifactId>
215                       </exclusion>
216                     </exclusions>
217                 </dependency>
218                 <dependency>
219                     <groupId>org.apache.hadoop</groupId>
220                     <artifactId>hadoop-minikdc</artifactId>
221                 </dependency>
222             </dependencies>
223         </profile>
224         <!--
225           profile for building against Hadoop 3.0.x. Activate using:
226            mvn -Dhadoop.profile=3.0
227         -->
228         <profile>
229             <id>hadoop-3.0</id>
230             <activation>
231                 <property>
232                     <name>hadoop.profile</name>
233                     <value>3.0</value>
234                 </property>
235             </activation>
236             <dependencies>
237                 <dependency>
238                     <groupId>org.apache.hadoop</groupId>
239                     <artifactId>hadoop-common</artifactId>
240                 </dependency>
241                 <dependency>
242                     <groupId>org.apache.hadoop</groupId>
243                     <artifactId>hadoop-minicluster</artifactId>
244                     <scope>compile</scope>
245                     <exclusions>
246                         <exclusion>
247                             <groupId>org.apache.htrace</groupId>
248                             <artifactId>htrace-core</artifactId>
249                         </exclusion>
250                     </exclusions>
251                 </dependency>
252                 <dependency>
253                     <groupId>org.apache.hadoop</groupId>
254                     <artifactId>hadoop-minikdc</artifactId>
255                 </dependency>
256             </dependencies>
257         </profile>
258     </profiles>
259 </project>