HBASE-25401 Add trace support for async call in rpc client (#2790)
[hbase.git] / hbase-endpoint / pom.xml
blobe5ca7421550eeb499949a185b25d4959aa2cf6da
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-logging</artifactId>
81       <type>test-jar</type>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.apache.hbase</groupId>
86       <artifactId>hbase-common</artifactId>
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-hadoop-compat</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.apache.hbase</groupId>
100       <artifactId>hbase-hadoop-compat</artifactId>
101       <type>test-jar</type>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-protocol-shaded</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.apache.hbase</groupId>
110       <artifactId>hbase-client</artifactId>
111     </dependency>
112     <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
113     <dependency>
114       <groupId>org.apache.hbase</groupId>
115       <artifactId>hbase-zookeeper</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.hbase</groupId>
119       <artifactId>hbase-zookeeper</artifactId>
120       <type>test-jar</type>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.bouncycastle</groupId>
125       <artifactId>bcprov-jdk15on</artifactId>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.apache.hbase</groupId>
130       <artifactId>hbase-server</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.apache.hbase</groupId>
134       <artifactId>hbase-server</artifactId>
135       <type>test-jar</type>
136       <scope>test</scope>
137     </dependency>
138     <dependency>
139       <groupId>org.apache.hbase</groupId>
140       <artifactId>hbase-asyncfs</artifactId>
141       <type>test-jar</type>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.apache.hbase</groupId>
146       <artifactId>hbase-http</artifactId>
147       <type>test-jar</type>
148       <scope>test</scope>
149     </dependency>
150     <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
151     <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
152     <dependency>
153       <groupId>org.apache.hbase</groupId>
154       <artifactId>hbase-mapreduce</artifactId>
155     </dependency>
156     <dependency>
157       <groupId>org.apache.hbase</groupId>
158       <artifactId>hbase-mapreduce</artifactId>
159       <type>test-jar</type>
160       <scope>test</scope>
161     </dependency>
162     <dependency>
163       <groupId>org.apache.hadoop</groupId>
164       <artifactId>hadoop-minikdc</artifactId>
165       <scope>test</scope>
166     </dependency>
167     <!-- General dependencies -->
168     <dependency>
169       <groupId>org.slf4j</groupId>
170       <artifactId>slf4j-api</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.apache.curator</groupId>
174       <artifactId>curator-client</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>junit</groupId>
178       <artifactId>junit</artifactId>
179       <scope>test</scope>
180     </dependency>
181     <dependency>
182       <groupId>org.mockito</groupId>
183       <artifactId>mockito-core</artifactId>
184       <scope>test</scope>
185     </dependency>
186     <dependency>
187       <groupId>org.slf4j</groupId>
188       <artifactId>jcl-over-slf4j</artifactId>
189       <scope>test</scope>
190     </dependency>
191     <dependency>
192       <groupId>org.slf4j</groupId>
193       <artifactId>jul-to-slf4j</artifactId>
194       <scope>test</scope>
195     </dependency>
196     <dependency>
197       <groupId>org.apache.logging.log4j</groupId>
198       <artifactId>log4j-api</artifactId>
199       <scope>test</scope>
200     </dependency>
201     <dependency>
202       <groupId>org.apache.logging.log4j</groupId>
203       <artifactId>log4j-core</artifactId>
204       <scope>test</scope>
205     </dependency>
206     <dependency>
207       <groupId>org.apache.logging.log4j</groupId>
208       <artifactId>log4j-slf4j-impl</artifactId>
209       <scope>test</scope>
210     </dependency>
211     <dependency>
212       <groupId>org.apache.logging.log4j</groupId>
213       <artifactId>log4j-1.2-api</artifactId>
214       <scope>test</scope>
215     </dependency>
216   </dependencies>
217   <profiles>
218     <!-- Skip the tests in this module -->
219     <profile>
220       <id>skipRpcTests</id>
221       <activation>
222         <property>
223           <name>skipRpcTests</name>
224         </property>
225       </activation>
226       <properties>
227         <surefire.skipFirstPart>true</surefire.skipFirstPart>
228         <surefire.skipSecondPart>true</surefire.skipSecondPart>
229       </properties>
230     </profile>
231     <!-- Profiles for building against different hadoop versions -->
232     <!-- There are a lot of common dependencies used here, should investigate
233     if we can combine these profiles somehow -->
234     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
235     <profile>
236       <id>hadoop-3.0</id>
237       <activation>
238         <property><name>!hadoop.profile</name></property>
239       </activation>
240       <dependencies>
241         <dependency>
242           <groupId>org.apache.hadoop</groupId>
243           <artifactId>hadoop-common</artifactId>
244         </dependency>
245         <dependency>
246           <groupId>org.apache.hadoop</groupId>
247           <artifactId>hadoop-minicluster</artifactId>
248           <exclusions>
249             <exclusion>
250               <groupId>com.google.guava</groupId>
251               <artifactId>guava</artifactId>
252             </exclusion>
253             <exclusion>
254               <groupId>javax.xml.bind.</groupId>
255               <artifactId>jaxb-api</artifactId>
256             </exclusion>
257             <exclusion>
258               <groupId>javax.ws.rs</groupId>
259               <artifactId>jsr311-api</artifactId>
260             </exclusion>
261           </exclusions>
262         </dependency>
263         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
264         <dependency>
265           <groupId>io.netty</groupId>
266           <artifactId>netty</artifactId>
267           <version>3.6.2.Final</version>
268           <scope>test</scope>
269         </dependency>
270       </dependencies>
271     </profile>
272     <profile>
273       <id>eclipse-specific</id>
274       <activation>
275         <property>
276           <name>m2e.version</name>
277         </property>
278       </activation>
279       <build>
280         <pluginManagement>
281           <plugins>
282             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
283             <plugin>
284               <groupId>org.eclipse.m2e</groupId>
285               <artifactId>lifecycle-mapping</artifactId>
286               <version>1.0.0</version>
287               <configuration>
288                 <lifecycleMappingMetadata>
289                   <pluginExecutions>
290                     <pluginExecution>
291                       <pluginExecutionFilter>
292                         <groupId>org.apache.hadoop</groupId>
293                         <artifactId>hadoop-maven-plugins</artifactId>
294                         <versionRange>[2.0.5-alpha,)</versionRange>
295                         <goals>
296                           <goal>protoc</goal>
297                         </goals>
298                       </pluginExecutionFilter>
299                       <action>
300                         <ignore/>
301                       </action>
302                     </pluginExecution>
303                   </pluginExecutions>
304                 </lifecycleMappingMetadata>
305               </configuration>
306             </plugin>
307           </plugins>
308         </pluginManagement>
309       </build>
310     </profile>
311   </profiles>
312 </project>