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