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