HBASE-22943 Various procedures should not cache log trace level (#557)
[hbase.git] / hbase-client / pom.xml
blob57b375c506b5566e49940365cc88078b4d102756
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"
3          xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4   <!--
5   /**
6    * Licensed to the Apache Software Foundation (ASF) under one
7    * or more contributor license agreements.  See the NOTICE file
8    * distributed with this work for additional information
9    * regarding copyright ownership.  The ASF licenses this file
10    * to you under the Apache License, Version 2.0 (the
11    * "License"); you may not use this file except in compliance
12    * with the License.  You may obtain a copy of the License at
13    *
14    *     http://www.apache.org/licenses/LICENSE-2.0
15    *
16    * Unless required by applicable law or agreed to in writing, software
17    * distributed under the License is distributed on an "AS IS" BASIS,
18    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19    * See the License for the specific language governing permissions and
20    * limitations under the License.
21    */
22   -->
23   <modelVersion>4.0.0</modelVersion>
24   <parent>
25     <artifactId>hbase-build-configuration</artifactId>
26     <groupId>org.apache.hbase</groupId>
27     <version>3.0.0-SNAPSHOT</version>
28     <relativePath>../hbase-build-configuration</relativePath>
29   </parent>
31   <artifactId>hbase-client</artifactId>
32   <name>Apache HBase - Client</name>
33   <description>Client of HBase</description>
34 <!--REMOVE-->
36   <build>
37     <plugins>
38       <plugin>
39         <!--Make it so assembly:single does nothing in here-->
40         <artifactId>maven-assembly-plugin</artifactId>
41         <configuration>
42           <skipAssembly>true</skipAssembly>
43         </configuration>
44       </plugin>
45       <!-- Make a jar and put the sources in the jar -->
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-source-plugin</artifactId>
49       </plugin>
50       <plugin>
51         <groupId>net.revelc.code</groupId>
52         <artifactId>warbucks-maven-plugin</artifactId>
53       </plugin>
54     </plugins>
55   </build>
57   <dependencies>
58     <dependency>
59       <groupId>org.apache.hbase.thirdparty</groupId>
60       <artifactId>hbase-shaded-protobuf</artifactId>
61     </dependency>
62     <!-- Intra-project dependencies -->
63     <dependency>
64       <groupId>org.apache.hbase</groupId>
65       <artifactId>hbase-annotations</artifactId>
66       <type>test-jar</type>
67       <scope>test</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.apache.hbase</groupId>
71       <artifactId>hbase-common</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.apache.hbase</groupId>
75       <artifactId>hbase-hadoop-compat</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.apache.hbase</groupId>
79       <artifactId>hbase-hadoop2-compat</artifactId>
80       <exclusions>
81         <!-- We don't need MR support classes here. -->
82         <exclusion>
83           <groupId>org.apache.hadoop</groupId>
84           <artifactId>hadoop-mapreduce-client-core</artifactId>
85         </exclusion>
86       </exclusions>
87     </dependency>
88     <dependency>
89       <groupId>org.apache.hbase</groupId>
90       <artifactId>hbase-common</artifactId>
91       <type>test-jar</type>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.hbase</groupId>
96       <artifactId>hbase-protocol-shaded</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.apache.hbase</groupId>
100       <artifactId>hbase-protocol</artifactId>
101     </dependency>
102     <!-- General dependencies -->
103     <dependency>
104       <groupId>commons-codec</groupId>
105       <artifactId>commons-codec</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>commons-io</groupId>
109       <artifactId>commons-io</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.commons</groupId>
113       <artifactId>commons-lang3</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.slf4j</groupId>
117       <artifactId>slf4j-api</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>org.apache.hbase.thirdparty</groupId>
121       <artifactId>hbase-shaded-miscellaneous</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>com.google.protobuf</groupId>
125       <artifactId>protobuf-java</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.apache.hbase.thirdparty</groupId>
129       <artifactId>hbase-shaded-netty</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.apache.zookeeper</groupId>
133       <artifactId>zookeeper</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.apache.htrace</groupId>
137       <artifactId>htrace-core4</artifactId>
138     </dependency>
139     <dependency>
140       <groupId>org.jruby.jcodings</groupId>
141       <artifactId>jcodings</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>org.jruby.joni</groupId>
145       <artifactId>joni</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>log4j</groupId>
149       <artifactId>log4j</artifactId>
150       <scope>test</scope>
151     </dependency>
152     <dependency>
153       <groupId>io.dropwizard.metrics</groupId>
154       <artifactId>metrics-core</artifactId>
155     </dependency>
156     <dependency>
157       <groupId>junit</groupId>
158       <artifactId>junit</artifactId>
159       <scope>test</scope>
160     </dependency>
161     <dependency>
162       <groupId>org.mockito</groupId>
163       <artifactId>mockito-core</artifactId>
164       <scope>test</scope>
165     </dependency>
166     <dependency>
167       <groupId>org.apache.commons</groupId>
168       <artifactId>commons-crypto</artifactId>
169       <exclusions>
170         <exclusion>
171           <groupId>net.java.dev.jna</groupId>
172           <artifactId>jna</artifactId>
173         </exclusion>
174       </exclusions>
175     </dependency>
176   </dependencies>
178   <profiles>
179     <!-- Skip the tests in this module -->
180     <profile>
181       <id>skipClientTests</id>
182       <activation>
183         <property>
184           <name>skipClientTests</name>
185         </property>
186       </activation>
187       <properties>
188         <surefire.skipFirstPart>true</surefire.skipFirstPart>
189         <surefire.skipSecondPart>true</surefire.skipSecondPart>
190       </properties>
191     </profile>
193     <!-- profile for building against Hadoop 2.x.  This is the default -->
194     <profile>
195       <id>hadoop-2.0</id>
196       <activation>
197         <property>
198             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
199             <!--h2--><name>!hadoop.profile</name>
200         </property>
201       </activation>
202       <dependencies>
203         <dependency>
204            <groupId>com.github.stephenc.findbugs</groupId>
205            <artifactId>findbugs-annotations</artifactId>
206            <optional>true</optional>
207         </dependency>
208         <dependency>
209           <groupId>org.apache.hadoop</groupId>
210           <artifactId>hadoop-auth</artifactId>
211         </dependency>
212         <dependency>
213           <groupId>org.apache.hadoop</groupId>
214           <artifactId>hadoop-common</artifactId>
215           <exclusions>
216             <exclusion>
217               <groupId>net.java.dev.jets3t</groupId>
218               <artifactId>jets3t</artifactId>
219             </exclusion>
220             <exclusion>
221               <groupId>javax.servlet.jsp</groupId>
222               <artifactId>jsp-api</artifactId>
223             </exclusion>
224             <exclusion>
225               <groupId>org.mortbay.jetty</groupId>
226               <artifactId>jetty</artifactId>
227             </exclusion>
228             <exclusion>
229               <groupId>org.mortbay.jetty</groupId>
230               <artifactId>jetty-util</artifactId>
231             </exclusion>
232             <exclusion>
233               <groupId>com.sun.jersey</groupId>
234               <artifactId>jersey-server</artifactId>
235             </exclusion>
236             <exclusion>
237               <groupId>com.sun.jersey</groupId>
238               <artifactId>jersey-core</artifactId>
239             </exclusion>
240             <exclusion>
241               <groupId>com.sun.jersey</groupId>
242               <artifactId>jersey-json</artifactId>
243             </exclusion>
244             <exclusion>
245               <groupId>javax.servlet</groupId>
246               <artifactId>servlet-api</artifactId>
247             </exclusion>
248             <exclusion>
249               <groupId>tomcat</groupId>
250               <artifactId>jasper-compiler</artifactId>
251             </exclusion>
252             <exclusion>
253               <groupId>tomcat</groupId>
254               <artifactId>jasper-runtime</artifactId>
255             </exclusion>
256           </exclusions>
257         </dependency>
258       </dependencies>
259     </profile>
261     <!--
262       profile for building against Hadoop 3.0.x. Activate using:
263        mvn -Dhadoop.profile=3.0
264     -->
265     <profile>
266       <id>hadoop-3.0</id>
267       <activation>
268         <property>
269           <name>hadoop.profile</name>
270           <value>3.0</value>
271         </property>
272       </activation>
273       <properties>
274         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
275       </properties>
276       <dependencies>
277         <dependency>
278           <groupId>org.apache.hadoop</groupId>
279           <artifactId>hadoop-auth</artifactId>
280         </dependency>
281         <dependency>
282           <groupId>org.apache.hadoop</groupId>
283           <artifactId>hadoop-common</artifactId>
284           <exclusions>
285             <exclusion>
286               <groupId>net.java.dev.jets3t</groupId>
287               <artifactId>jets3t</artifactId>
288             </exclusion>
289             <exclusion>
290               <groupId>javax.servlet.jsp</groupId>
291               <artifactId>jsp-api</artifactId>
292             </exclusion>
293             <exclusion>
294               <groupId>org.eclipse.jetty</groupId>
295               <artifactId>jetty-server</artifactId>
296             </exclusion>
297             <exclusion>
298               <groupId>org.eclipse.jetty</groupId>
299               <artifactId>jetty-servlet</artifactId>
300             </exclusion>
301             <exclusion>
302               <groupId>org.eclipse.jetty</groupId>
303               <artifactId>jetty-webapp</artifactId>
304             </exclusion>
305             <exclusion>
306               <groupId>org.eclipse.jetty</groupId>
307               <artifactId>jetty-util</artifactId>
308             </exclusion>
309             <exclusion>
310               <groupId>com.sun.jersey</groupId>
311               <artifactId>jersey-server</artifactId>
312             </exclusion>
313             <exclusion>
314               <groupId>com.sun.jersey</groupId>
315               <artifactId>jersey-core</artifactId>
316             </exclusion>
317             <exclusion>
318               <groupId>com.sun.jersey</groupId>
319               <artifactId>jersey-json</artifactId>
320             </exclusion>
321             <exclusion>
322               <groupId>javax.servlet</groupId>
323               <artifactId>servlet-api</artifactId>
324             </exclusion>
325             <exclusion>
326               <groupId>tomcat</groupId>
327               <artifactId>jasper-compiler</artifactId>
328             </exclusion>
329             <exclusion>
330               <groupId>tomcat</groupId>
331               <artifactId>jasper-runtime</artifactId>
332             </exclusion>
333           </exclusions>
334         </dependency>
335       </dependencies>
336     </profile>
337     <profile>
338       <id>eclipse-specific</id>
339       <activation>
340         <property>
341           <name>m2e.version</name>
342         </property>
343       </activation>
344       <build>
345         <pluginManagement>
346           <plugins>
347             <!--This plugin's configuration is used to store Eclipse m2e settings
348                  only. It has no influence on the Maven build itself.-->
349             <plugin>
350               <groupId>org.eclipse.m2e</groupId>
351               <artifactId>lifecycle-mapping</artifactId>
352               <configuration>
353                 <lifecycleMappingMetadata>
354                   <pluginExecutions>
355                   </pluginExecutions>
356                 </lifecycleMappingMetadata>
357               </configuration>
358             </plugin>
359           </plugins>
360         </pluginManagement>
361       </build>
362     </profile>
363   </profiles>
364 </project>