HBASE-21662 Add append_peer_exclude_namespaces and remove_peer_exclude_namespaces...
[hbase.git] / hbase-client / pom.xml
blobbb99eec4eae07306a5dddfbfb963ee176cee5fa5
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"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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     <pluginManagement>
56       <plugins>
57         <!--This plugin's configuration is used to store Eclipse m2e settings
58              only. It has no influence on the Maven build itself.-->
59         <plugin>
60           <groupId>org.eclipse.m2e</groupId>
61           <artifactId>lifecycle-mapping</artifactId>
62           <configuration>
63             <lifecycleMappingMetadata>
64               <pluginExecutions>
65               </pluginExecutions>
66             </lifecycleMappingMetadata>
67           </configuration>
68         </plugin>
69       </plugins>
70     </pluginManagement>
71   </build>
73   <dependencies>
74     <dependency>
75       <groupId>org.apache.hbase.thirdparty</groupId>
76       <artifactId>hbase-shaded-protobuf</artifactId>
77     </dependency>
78     <!-- Intra-project dependencies -->
79     <dependency>
80       <groupId>org.apache.hbase</groupId>
81       <artifactId>hbase-annotations</artifactId>
82       <type>test-jar</type>
83       <scope>test</scope>
84     </dependency>
85     <dependency>
86       <groupId>org.apache.hbase</groupId>
87       <artifactId>hbase-common</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.apache.hbase</groupId>
91       <artifactId>hbase-hadoop-compat</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.apache.hbase</groupId>
95       <artifactId>hbase-hadoop2-compat</artifactId>
96       <exclusions>
97         <!-- We don't need MR support classes here. -->
98         <exclusion>
99           <groupId>org.apache.hadoop</groupId>
100           <artifactId>hadoop-mapreduce-client-core</artifactId>
101         </exclusion>
102       </exclusions>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-common</artifactId>
107       <type>test-jar</type>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.hbase</groupId>
112       <artifactId>hbase-protocol-shaded</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.hbase</groupId>
116       <artifactId>hbase-protocol</artifactId>
117     </dependency>
118     <!-- General dependencies -->
119     <dependency>
120       <groupId>commons-codec</groupId>
121       <artifactId>commons-codec</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>commons-io</groupId>
125       <artifactId>commons-io</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.apache.commons</groupId>
129       <artifactId>commons-lang3</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.slf4j</groupId>
133       <artifactId>slf4j-api</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.apache.hbase.thirdparty</groupId>
137       <artifactId>hbase-shaded-miscellaneous</artifactId>
138     </dependency>
139     <dependency>
140       <groupId>com.google.protobuf</groupId>
141       <artifactId>protobuf-java</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>org.apache.hbase.thirdparty</groupId>
145       <artifactId>hbase-shaded-netty</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.apache.zookeeper</groupId>
149       <artifactId>zookeeper</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.apache.htrace</groupId>
153       <artifactId>htrace-core4</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>org.jruby.jcodings</groupId>
157       <artifactId>jcodings</artifactId>
158     </dependency>
159     <dependency>
160       <groupId>org.jruby.joni</groupId>
161       <artifactId>joni</artifactId>
162     </dependency>
163     <dependency>
164       <groupId>log4j</groupId>
165       <artifactId>log4j</artifactId>
166       <scope>test</scope>
167     </dependency>
168     <dependency>
169       <groupId>io.dropwizard.metrics</groupId>
170       <artifactId>metrics-core</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>junit</groupId>
174       <artifactId>junit</artifactId>
175       <scope>test</scope>
176     </dependency>
177     <dependency>
178       <groupId>org.mockito</groupId>
179       <artifactId>mockito-core</artifactId>
180       <scope>test</scope>
181     </dependency>
182     <dependency>
183       <groupId>org.apache.commons</groupId>
184       <artifactId>commons-crypto</artifactId>
185       <version>${commons-crypto.version}</version>
186       <exclusions>
187         <exclusion>
188           <groupId>net.java.dev.jna</groupId>
189           <artifactId>jna</artifactId>
190         </exclusion>
191       </exclusions>
192     </dependency>
193     <dependency>
194       <groupId>com.fasterxml.jackson.core</groupId>
195       <artifactId>jackson-databind</artifactId>
196     </dependency>
197   </dependencies>
199   <profiles>
200     <!-- Skip the tests in this module -->
201     <profile>
202       <id>skipClientTests</id>
203       <activation>
204         <property>
205           <name>skipClientTests</name>
206         </property>
207       </activation>
208       <properties>
209         <surefire.skipFirstPart>true</surefire.skipFirstPart>
210         <surefire.skipSecondPart>true</surefire.skipSecondPart>
211       </properties>
212     </profile>
214     <!-- profile for building against Hadoop 2.x.  This is the default -->
215     <profile>
216       <id>hadoop-2.0</id>
217       <activation>
218         <property>
219             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
220             <!--h2--><name>!hadoop.profile</name>
221         </property>
222       </activation>
223       <dependencies>
224         <dependency>
225            <groupId>com.github.stephenc.findbugs</groupId>
226            <artifactId>findbugs-annotations</artifactId>
227            <optional>true</optional>
228         </dependency>
229         <dependency>
230           <groupId>org.apache.hadoop</groupId>
231           <artifactId>hadoop-auth</artifactId>
232         </dependency>
233         <dependency>
234           <groupId>org.apache.hadoop</groupId>
235           <artifactId>hadoop-common</artifactId>
236           <exclusions>
237             <exclusion>
238               <groupId>net.java.dev.jets3t</groupId>
239               <artifactId>jets3t</artifactId>
240             </exclusion>
241             <exclusion>
242               <groupId>javax.servlet.jsp</groupId>
243               <artifactId>jsp-api</artifactId>
244             </exclusion>
245             <exclusion>
246               <groupId>org.mortbay.jetty</groupId>
247               <artifactId>jetty</artifactId>
248             </exclusion>
249             <exclusion>
250               <groupId>org.mortbay.jetty</groupId>
251               <artifactId>jetty-util</artifactId>
252             </exclusion>
253             <exclusion>
254               <groupId>com.sun.jersey</groupId>
255               <artifactId>jersey-server</artifactId>
256             </exclusion>
257             <exclusion>
258               <groupId>com.sun.jersey</groupId>
259               <artifactId>jersey-core</artifactId>
260             </exclusion>
261             <exclusion>
262               <groupId>com.sun.jersey</groupId>
263               <artifactId>jersey-json</artifactId>
264             </exclusion>
265             <exclusion>
266               <groupId>javax.servlet</groupId>
267               <artifactId>servlet-api</artifactId>
268             </exclusion>
269             <exclusion>
270               <groupId>tomcat</groupId>
271               <artifactId>jasper-compiler</artifactId>
272             </exclusion>
273             <exclusion>
274               <groupId>tomcat</groupId>
275               <artifactId>jasper-runtime</artifactId>
276             </exclusion>
277           </exclusions>
278         </dependency>
279       </dependencies>
280     </profile>
282     <!--
283       profile for building against Hadoop 3.0.x. Activate using:
284        mvn -Dhadoop.profile=3.0
285     -->
286     <profile>
287       <id>hadoop-3.0</id>
288       <activation>
289         <property>
290           <name>hadoop.profile</name>
291           <value>3.0</value>
292         </property>
293       </activation>
294       <properties>
295         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
296       </properties>
297       <dependencies>
298         <dependency>
299           <groupId>org.apache.hadoop</groupId>
300           <artifactId>hadoop-auth</artifactId>
301         </dependency>
302         <dependency>
303           <groupId>org.apache.hadoop</groupId>
304           <artifactId>hadoop-common</artifactId>
305         </dependency>
306       </dependencies>
307     </profile>
308   </profiles>
309 </project>