HBASE-24062 Add 2.1.10 to download page (#1454)
[hbase.git] / hbase-client / pom.xml
blobf3845795f532336568dd185bec24e21ff6334ec8
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     <!-- General dependencies -->
99     <dependency>
100       <groupId>com.github.stephenc.findbugs</groupId>
101       <artifactId>findbugs-annotations</artifactId>
102       <scope>compile</scope>
103       <optional>true</optional>
104     </dependency>
105     <dependency>
106       <groupId>commons-codec</groupId>
107       <artifactId>commons-codec</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>commons-io</groupId>
111       <artifactId>commons-io</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.apache.commons</groupId>
115       <artifactId>commons-lang3</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.slf4j</groupId>
119       <artifactId>slf4j-api</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.apache.hbase.thirdparty</groupId>
123       <artifactId>hbase-shaded-miscellaneous</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>com.google.protobuf</groupId>
127       <artifactId>protobuf-java</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.apache.hbase.thirdparty</groupId>
131       <artifactId>hbase-shaded-netty</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.apache.zookeeper</groupId>
135       <artifactId>zookeeper</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>org.apache.htrace</groupId>
139       <artifactId>htrace-core4</artifactId>
140     </dependency>
141     <dependency>
142       <groupId>org.jruby.jcodings</groupId>
143       <artifactId>jcodings</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.jruby.joni</groupId>
147       <artifactId>joni</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>log4j</groupId>
151       <artifactId>log4j</artifactId>
152       <scope>test</scope>
153     </dependency>
154     <dependency>
155       <groupId>io.dropwizard.metrics</groupId>
156       <artifactId>metrics-core</artifactId>
157     </dependency>
158     <dependency>
159       <groupId>junit</groupId>
160       <artifactId>junit</artifactId>
161       <scope>test</scope>
162     </dependency>
163     <dependency>
164       <groupId>org.mockito</groupId>
165       <artifactId>mockito-core</artifactId>
166       <scope>test</scope>
167     </dependency>
168     <dependency>
169       <groupId>org.apache.commons</groupId>
170       <artifactId>commons-crypto</artifactId>
171       <exclusions>
172         <exclusion>
173           <groupId>net.java.dev.jna</groupId>
174           <artifactId>jna</artifactId>
175         </exclusion>
176       </exclusions>
177     </dependency>
178   </dependencies>
180   <profiles>
181     <!-- Skip the tests in this module -->
182     <profile>
183       <id>skipClientTests</id>
184       <activation>
185         <property>
186           <name>skipClientTests</name>
187         </property>
188       </activation>
189       <properties>
190         <surefire.skipFirstPart>true</surefire.skipFirstPart>
191         <surefire.skipSecondPart>true</surefire.skipSecondPart>
192       </properties>
193     </profile>
195     <!-- profile for building against Hadoop 2.x.  This is the default -->
196     <profile>
197       <id>hadoop-2.0</id>
198       <activation>
199         <property>
200             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
201             <!--h2--><name>!hadoop.profile</name>
202         </property>
203       </activation>
204       <dependencies>
205         <dependency>
206           <groupId>org.apache.hadoop</groupId>
207           <artifactId>hadoop-auth</artifactId>
208         </dependency>
209         <dependency>
210           <groupId>org.apache.hadoop</groupId>
211           <artifactId>hadoop-common</artifactId>
212           <exclusions>
213             <exclusion>
214               <groupId>net.java.dev.jets3t</groupId>
215               <artifactId>jets3t</artifactId>
216             </exclusion>
217             <exclusion>
218               <groupId>javax.servlet.jsp</groupId>
219               <artifactId>jsp-api</artifactId>
220             </exclusion>
221             <exclusion>
222               <groupId>org.mortbay.jetty</groupId>
223               <artifactId>jetty</artifactId>
224             </exclusion>
225             <exclusion>
226               <groupId>org.mortbay.jetty</groupId>
227               <artifactId>jetty-util</artifactId>
228             </exclusion>
229             <exclusion>
230               <groupId>com.sun.jersey</groupId>
231               <artifactId>jersey-server</artifactId>
232             </exclusion>
233             <exclusion>
234               <groupId>com.sun.jersey</groupId>
235               <artifactId>jersey-core</artifactId>
236             </exclusion>
237             <exclusion>
238               <groupId>com.sun.jersey</groupId>
239               <artifactId>jersey-json</artifactId>
240             </exclusion>
241             <exclusion>
242               <groupId>javax.servlet</groupId>
243               <artifactId>servlet-api</artifactId>
244             </exclusion>
245             <exclusion>
246               <groupId>tomcat</groupId>
247               <artifactId>jasper-compiler</artifactId>
248             </exclusion>
249             <exclusion>
250               <groupId>tomcat</groupId>
251               <artifactId>jasper-runtime</artifactId>
252             </exclusion>
253           </exclusions>
254         </dependency>
255       </dependencies>
256     </profile>
258     <!--
259       profile for building against Hadoop 3.0.x. Activate using:
260        mvn -Dhadoop.profile=3.0
261     -->
262     <profile>
263       <id>hadoop-3.0</id>
264       <activation>
265         <property>
266           <name>hadoop.profile</name>
267           <value>3.0</value>
268         </property>
269       </activation>
270       <properties>
271         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
272       </properties>
273       <dependencies>
274         <dependency>
275           <groupId>org.apache.hadoop</groupId>
276           <artifactId>hadoop-auth</artifactId>
277         </dependency>
278         <dependency>
279           <groupId>org.apache.hadoop</groupId>
280           <artifactId>hadoop-common</artifactId>
281           <exclusions>
282             <exclusion>
283               <groupId>net.java.dev.jets3t</groupId>
284               <artifactId>jets3t</artifactId>
285             </exclusion>
286             <exclusion>
287               <groupId>javax.servlet.jsp</groupId>
288               <artifactId>jsp-api</artifactId>
289             </exclusion>
290             <exclusion>
291               <groupId>org.eclipse.jetty</groupId>
292               <artifactId>jetty-server</artifactId>
293             </exclusion>
294             <exclusion>
295               <groupId>org.eclipse.jetty</groupId>
296               <artifactId>jetty-servlet</artifactId>
297             </exclusion>
298             <exclusion>
299               <groupId>org.eclipse.jetty</groupId>
300               <artifactId>jetty-webapp</artifactId>
301             </exclusion>
302             <exclusion>
303               <groupId>org.eclipse.jetty</groupId>
304               <artifactId>jetty-util</artifactId>
305             </exclusion>
306             <exclusion>
307               <groupId>com.sun.jersey</groupId>
308               <artifactId>jersey-server</artifactId>
309             </exclusion>
310             <exclusion>
311               <groupId>com.sun.jersey</groupId>
312               <artifactId>jersey-core</artifactId>
313             </exclusion>
314             <exclusion>
315               <groupId>com.sun.jersey</groupId>
316               <artifactId>jersey-json</artifactId>
317             </exclusion>
318             <exclusion>
319               <groupId>javax.servlet</groupId>
320               <artifactId>servlet-api</artifactId>
321             </exclusion>
322             <exclusion>
323               <groupId>tomcat</groupId>
324               <artifactId>jasper-compiler</artifactId>
325             </exclusion>
326             <exclusion>
327               <groupId>tomcat</groupId>
328               <artifactId>jasper-runtime</artifactId>
329             </exclusion>
330           </exclusions>
331         </dependency>
332       </dependencies>
333     </profile>
334     <profile>
335       <id>eclipse-specific</id>
336       <activation>
337         <property>
338           <name>m2e.version</name>
339         </property>
340       </activation>
341       <build>
342         <pluginManagement>
343           <plugins>
344             <!--This plugin's configuration is used to store Eclipse m2e settings
345                  only. It has no influence on the Maven build itself.-->
346             <plugin>
347               <groupId>org.eclipse.m2e</groupId>
348               <artifactId>lifecycle-mapping</artifactId>
349               <configuration>
350                 <lifecycleMappingMetadata>
351                   <pluginExecutions>
352                   </pluginExecutions>
353                 </lifecycleMappingMetadata>
354               </configuration>
355             </plugin>
356           </plugins>
357         </pluginManagement>
358       </build>
359     </profile>
360   </profiles>
361 </project>