HBASE-18106 Redo ProcedureInfo and LockInfo
[hbase.git] / hbase-client / pom.xml
blob73d0265b33276ddf05ee0f46c29400b7c03e2ac5
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         <groupId>org.apache.maven.plugins</groupId>
40         <artifactId>maven-site-plugin</artifactId>
41         <configuration>
42           <skip>true</skip>
43         </configuration>
44       </plugin>
45       <plugin>
46         <!--Make it so assembly:single does nothing in here-->
47         <artifactId>maven-assembly-plugin</artifactId>
48         <configuration>
49           <skipAssembly>true</skipAssembly>
50         </configuration>
51       </plugin>
52       <!-- Make a jar and put the sources in the jar -->
53       <plugin>
54         <groupId>org.apache.maven.plugins</groupId>
55         <artifactId>maven-source-plugin</artifactId>
56       </plugin>
57     </plugins>
58     <pluginManagement>
59       <plugins>
60         <!--This plugin's configuration is used to store Eclipse m2e settings
61              only. It has no influence on the Maven build itself.-->
62         <plugin>
63           <groupId>org.eclipse.m2e</groupId>
64           <artifactId>lifecycle-mapping</artifactId>
65           <configuration>
66             <lifecycleMappingMetadata>
67               <pluginExecutions>
68                 <pluginExecution>
69                   <pluginExecutionFilter>
70                     <groupId>org.apache.maven.plugins</groupId>
71                     <artifactId>maven-compiler-plugin</artifactId>
72                     <versionRange>[3.2,)</versionRange>
73                     <goals>
74                       <goal>compile</goal>
75                     </goals>
76                   </pluginExecutionFilter>
77                   <action>
78                     <ignore></ignore>
79                   </action>
80                 </pluginExecution>
81               </pluginExecutions>
82             </lifecycleMappingMetadata>
83           </configuration>
84         </plugin>
85       </plugins>
86     </pluginManagement>
87   </build>
89   <dependencies>
90     <dependency>
91       <groupId>org.apache.hbase.thirdparty</groupId>
92       <artifactId>hbase-shaded-protobuf</artifactId>
93     </dependency>
94     <!-- Intra-project dependencies -->
95     <dependency>
96       <groupId>org.apache.hbase</groupId>
97       <artifactId>hbase-annotations</artifactId>
98       <exclusions>
99         <exclusion>
100           <groupId>jdk.tools</groupId>
101           <artifactId>jdk.tools</artifactId>
102         </exclusion>
103       </exclusions>
104     </dependency>
105     <dependency>
106       <groupId>org.apache.hbase</groupId>
107       <artifactId>hbase-annotations</artifactId>
108       <type>test-jar</type>
109       <scope>test</scope>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.hbase</groupId>
113       <artifactId>hbase-common</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.apache.hbase</groupId>
117       <artifactId>hbase-hadoop-compat</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>org.apache.hbase</groupId>
121       <artifactId>hbase-hadoop2-compat</artifactId>
122       <exclusions>
123         <!-- We don't need MR support classes here. -->
124         <exclusion>
125           <groupId>org.apache.hadoop</groupId>
126           <artifactId>hadoop-mapreduce-client-core</artifactId>
127         </exclusion>
128       </exclusions>
129     </dependency>
130     <dependency>
131       <groupId>org.apache.hbase</groupId>
132       <artifactId>hbase-common</artifactId>
133       <type>test-jar</type>
134       <scope>test</scope>
135     </dependency>
136     <dependency>
137       <groupId>org.apache.hbase</groupId>
138       <artifactId>hbase-protocol-shaded</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>org.apache.hbase</groupId>
142       <artifactId>hbase-protocol</artifactId>
143     </dependency>
144     <!-- General dependencies -->
145     <dependency>
146       <groupId>commons-codec</groupId>
147       <artifactId>commons-codec</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>commons-io</groupId>
151       <artifactId>commons-io</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.apache.commons</groupId>
155       <artifactId>commons-lang3</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>commons-logging</groupId>
159       <artifactId>commons-logging</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.apache.hbase.thirdparty</groupId>
163       <artifactId>hbase-shaded-miscellaneous</artifactId>
164     </dependency>
165     <dependency>
166       <groupId>com.google.protobuf</groupId>
167       <artifactId>protobuf-java</artifactId>
168     </dependency>
169     <dependency>
170       <groupId>org.apache.hbase.thirdparty</groupId>
171       <artifactId>hbase-shaded-netty</artifactId>
172     </dependency>
173     <dependency>
174       <groupId>org.apache.zookeeper</groupId>
175       <artifactId>zookeeper</artifactId>
176     </dependency>
177     <dependency>
178       <groupId>org.apache.htrace</groupId>
179       <artifactId>htrace-core</artifactId>
180     </dependency>
181     <dependency>
182       <groupId>org.codehaus.jackson</groupId>
183       <artifactId>jackson-mapper-asl</artifactId>
184     </dependency>
185     <dependency>
186       <groupId>org.jruby.jcodings</groupId>
187       <artifactId>jcodings</artifactId>
188     </dependency>
189     <dependency>
190       <groupId>org.jruby.joni</groupId>
191       <artifactId>joni</artifactId>
192     </dependency>
193     <dependency>
194       <groupId>log4j</groupId>
195       <artifactId>log4j</artifactId>
196       <scope>test</scope>
197     </dependency>
198     <dependency>
199       <groupId>io.dropwizard.metrics</groupId>
200       <artifactId>metrics-core</artifactId>
201     </dependency>
202     <dependency>
203       <groupId>junit</groupId>
204       <artifactId>junit</artifactId>
205       <scope>test</scope>
206     </dependency>
207     <dependency>
208       <groupId>org.mockito</groupId>
209       <artifactId>mockito-all</artifactId>
210       <scope>test</scope>
211     </dependency>
212     <dependency>
213       <groupId>org.apache.curator</groupId>
214       <artifactId>curator-framework</artifactId>
215     </dependency>
216     <dependency>
217       <groupId>org.apache.curator</groupId>
218       <artifactId>curator-client</artifactId>
219     </dependency>
220     <dependency>
221       <groupId>org.apache.commons</groupId>
222       <artifactId>commons-crypto</artifactId>
223       <version>${commons-crypto.version}</version>
224       <exclusions>
225         <exclusion>
226           <groupId>net.java.dev.jna</groupId>
227           <artifactId>jna</artifactId>
228         </exclusion>
229       </exclusions>
230     </dependency>
231   </dependencies>
233   <profiles>
234     <!-- Skip the tests in this module -->
235     <profile>
236       <id>skipClientTests</id>
237       <activation>
238         <property>
239           <name>skipClientTests</name>
240         </property>
241       </activation>
242       <properties>
243         <surefire.skipFirstPart>true</surefire.skipFirstPart>
244         <surefire.skipSecondPart>true</surefire.skipSecondPart>
245       </properties>
246     </profile>
248     <!-- profile for building against Hadoop 2.x.  This is the default -->
249     <profile>
250       <id>hadoop-2.0</id>
251       <activation>
252         <property>
253             <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
254             <!--h2--><name>!hadoop.profile</name>
255         </property>
256       </activation>
257       <dependencies>
258         <dependency>
259            <groupId>com.github.stephenc.findbugs</groupId>
260            <artifactId>findbugs-annotations</artifactId>
261            <optional>true</optional>
262         </dependency>
263         <dependency>
264           <groupId>org.apache.hadoop</groupId>
265           <artifactId>hadoop-auth</artifactId>
266         </dependency>
267         <dependency>
268           <groupId>org.apache.hadoop</groupId>
269           <artifactId>hadoop-common</artifactId>
270           <exclusions>
271             <exclusion>
272               <groupId>net.java.dev.jets3t</groupId>
273               <artifactId>jets3t</artifactId>
274             </exclusion>
275             <exclusion>
276               <groupId>javax.servlet.jsp</groupId>
277               <artifactId>jsp-api</artifactId>
278             </exclusion>
279             <exclusion>
280               <groupId>org.mortbay.jetty</groupId>
281               <artifactId>jetty</artifactId>
282             </exclusion>
283             <exclusion>
284               <groupId>org.mortbay.jetty</groupId>
285               <artifactId>jetty-util</artifactId>
286             </exclusion>
287             <exclusion>
288               <groupId>com.sun.jersey</groupId>
289               <artifactId>jersey-server</artifactId>
290             </exclusion>
291             <exclusion>
292               <groupId>com.sun.jersey</groupId>
293               <artifactId>jersey-core</artifactId>
294             </exclusion>
295             <exclusion>
296               <groupId>com.sun.jersey</groupId>
297               <artifactId>jersey-json</artifactId>
298             </exclusion> 
299             <exclusion>
300               <groupId>javax.servlet</groupId>
301               <artifactId>servlet-api</artifactId>
302             </exclusion>
303             <exclusion>
304               <groupId>tomcat</groupId>
305               <artifactId>jasper-compiler</artifactId>
306             </exclusion>
307             <exclusion>
308               <groupId>tomcat</groupId>
309               <artifactId>jasper-runtime</artifactId>
310             </exclusion>
311           </exclusions>
312         </dependency>
313       </dependencies>
314     </profile>
316     <!--
317       profile for building against Hadoop 3.0.x. Activate using:
318        mvn -Dhadoop.profile=3.0
319     -->
320     <profile>
321       <id>hadoop-3.0</id>
322       <activation>
323         <property>
324           <name>hadoop.profile</name>
325           <value>3.0</value>
326         </property>
327       </activation>
328       <properties>
329         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
330       </properties>
331       <dependencies>
332         <dependency>
333           <groupId>org.apache.hadoop</groupId>
334           <artifactId>hadoop-auth</artifactId>
335         </dependency>
336         <dependency>
337           <groupId>org.apache.hadoop</groupId>
338           <artifactId>hadoop-common</artifactId>
339         </dependency>
340       </dependencies>
341     </profile>
342   </profiles>
343 </project>