Revert "HBASE-2004 TestClientClusterStatus is flakey"
[hbase.git] / hbase-endpoint / pom.xml
blobd24ea7bd9db76f27fd319b63ec9fa5a94812c5f4
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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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       <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       <!-- 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         <!--Make it so assembly:single does nothing in here-->
52         <artifactId>maven-assembly-plugin</artifactId>
53         <configuration>
54           <skipAssembly>true</skipAssembly>
55         </configuration>
56       </plugin>
57       <plugin>
58         <groupId>org.xolstice.maven.plugins</groupId>
59         <artifactId>protobuf-maven-plugin</artifactId>
60         <executions>
61           <execution>
62             <id>compile-protoc</id>
63             <phase>generate-sources</phase>
64             <goals>
65               <goal>compile</goal>
66             </goals>
67              <configuration>
68               <additionalProtoPathElements>
69                 <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
70               </additionalProtoPathElements>
71              </configuration>
72           </execution>
73         </executions>
74       </plugin>
75     </plugins>
76     <pluginManagement>
77       <plugins>
78         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
79         <plugin>
80           <groupId>org.eclipse.m2e</groupId>
81           <artifactId>lifecycle-mapping</artifactId>
82           <version>1.0.0</version>
83           <configuration>
84             <lifecycleMappingMetadata>
85               <pluginExecutions>
86                 <pluginExecution>
87                   <pluginExecutionFilter>
88                     <groupId>org.apache.hadoop</groupId>
89                     <artifactId>hadoop-maven-plugins</artifactId>
90                     <versionRange>[2.0.5-alpha,)</versionRange>
91                     <goals>
92                       <goal>protoc</goal>
93                     </goals>
94                   </pluginExecutionFilter>
95                   <action>
96                     <ignore/>
97                   </action>
98                 </pluginExecution>
99               </pluginExecutions>
100             </lifecycleMappingMetadata>
101           </configuration>
102         </plugin>
103       </plugins>
104     </pluginManagement>
105   </build>
106   <dependencies>
107     <dependency>
108       <groupId>org.apache.hbase.thirdparty</groupId>
109       <artifactId>hbase-shaded-protobuf</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.hbase.thirdparty</groupId>
113       <artifactId>hbase-shaded-miscellaneous</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.apache.hbase</groupId>
117       <artifactId>hbase-annotations</artifactId>
118       <type>test-jar</type>
119       <scope>test</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.apache.hbase</groupId>
123       <artifactId>hbase-common</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.apache.hbase</groupId>
127       <artifactId>hbase-common</artifactId>
128       <type>test-jar</type>
129       <scope>test</scope>
130     </dependency>
131     <dependency>
132       <groupId>org.apache.hbase</groupId>
133       <artifactId>hbase-hadoop-compat</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.apache.hbase</groupId>
137       <artifactId>hbase-hadoop-compat</artifactId>
138       <type>test-jar</type>
139       <scope>test</scope>
140     </dependency>
141     <dependency>
142       <groupId>org.apache.hbase</groupId>
143       <artifactId>${compat.module}</artifactId>
144       <version>${project.version}</version>
145     </dependency>
146     <dependency>
147       <groupId>org.apache.hbase</groupId>
148       <artifactId>${compat.module}</artifactId>
149       <version>${project.version}</version>
150       <type>test-jar</type>
151       <scope>test</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.apache.hbase</groupId>
155       <artifactId>hbase-protocol</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.apache.hbase</groupId>
159       <artifactId>hbase-protocol-shaded</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.apache.hbase</groupId>
163       <artifactId>hbase-client</artifactId>
164     </dependency>
165     <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
166     <dependency>
167       <groupId>org.apache.hbase</groupId>
168       <artifactId>hbase-zookeeper</artifactId>
169     </dependency>
170     <dependency>
171       <groupId>org.apache.hbase</groupId>
172       <artifactId>hbase-zookeeper</artifactId>
173       <type>test-jar</type>
174       <scope>test</scope>
175     </dependency>
176     <dependency>
177       <groupId>org.apache.hbase</groupId>
178       <artifactId>hbase-server</artifactId>
179     </dependency>
180     <dependency>
181       <groupId>org.apache.hbase</groupId>
182       <artifactId>hbase-server</artifactId>
183       <type>test-jar</type>
184       <scope>test</scope>
185     </dependency>
186     <dependency>
187       <groupId>org.apache.hbase</groupId>
188       <artifactId>hbase-http</artifactId>
189       <type>test-jar</type>
190       <scope>test</scope>
191     </dependency>
192     <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
193     <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
194     <dependency>
195       <groupId>org.apache.hbase</groupId>
196       <artifactId>hbase-mapreduce</artifactId>
197     </dependency>
198     <dependency>
199       <groupId>org.apache.hbase</groupId>
200       <artifactId>hbase-mapreduce</artifactId>
201       <type>test-jar</type>
202       <scope>test</scope>
203     </dependency>
204     <dependency>
205       <groupId>org.apache.hadoop</groupId>
206       <artifactId>hadoop-minikdc</artifactId>
207       <scope>test</scope>
208     </dependency>
209     <!-- General dependencies -->
210     <dependency>
211       <groupId>org.slf4j</groupId>
212       <artifactId>slf4j-api</artifactId>
213     </dependency>
214     <dependency>
215       <groupId>org.apache.curator</groupId>
216       <artifactId>curator-client</artifactId>
217     </dependency>
218     <dependency>
219       <groupId>junit</groupId>
220       <artifactId>junit</artifactId>
221       <scope>test</scope>
222     </dependency>
223     <dependency>
224       <groupId>org.mockito</groupId>
225       <artifactId>mockito-core</artifactId>
226       <scope>test</scope>
227     </dependency>
228     <!-- Some tests rely on Hadoop's KeyStoreTestUtil, which needs bc. -->
229     <dependency>
230       <groupId>org.bouncycastle</groupId>
231       <artifactId>bcprov-jdk16</artifactId>
232       <scope>test</scope>
233     </dependency>
234   </dependencies>
235   <profiles>
236     <!-- Skip the tests in this module -->
237     <profile>
238       <id>skipRpcTests</id>
239       <activation>
240         <property>
241           <name>skipRpcTests</name>
242         </property>
243       </activation>
244       <properties>
245         <surefire.skipFirstPart>true</surefire.skipFirstPart>
246         <surefire.skipSecondPart>true</surefire.skipSecondPart>
247       </properties>
248     </profile>
249     <!-- Profiles for building against different hadoop versions -->
250     <!-- There are a lot of common dependencies used here, should investigate
251     if we can combine these profiles somehow -->
252     <!-- profile for building against Hadoop 2.x.  This is the default.  -->
253     <profile>
254       <id>hadoop-2.0</id>
255       <activation>
256         <property>
257           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
258           <!--h2-->
259           <name>!hadoop.profile</name>
260         </property>
261       </activation>
262       <dependencies>
263         <dependency>
264           <groupId>org.apache.hadoop</groupId>
265           <artifactId>hadoop-common</artifactId>
266           <exclusions>
267             <exclusion>
268               <groupId>org.apache.htrace</groupId>
269               <artifactId>htrace-core</artifactId>
270             </exclusion>
271           </exclusions>
272         </dependency>
273         <dependency>
274           <groupId>org.apache.hadoop</groupId>
275           <artifactId>hadoop-auth</artifactId>
276         </dependency>
277         <dependency>
278           <groupId>org.apache.hadoop</groupId>
279           <artifactId>hadoop-client</artifactId>
280           <exclusions>
281             <exclusion>
282               <groupId>com.google.guava</groupId>
283               <artifactId>guava</artifactId>
284             </exclusion>
285           </exclusions>
286         </dependency>
287         <dependency>
288           <groupId>org.apache.hadoop</groupId>
289           <artifactId>hadoop-hdfs</artifactId>
290         </dependency>
291         <dependency>
292           <groupId>org.apache.hadoop</groupId>
293           <artifactId>hadoop-hdfs</artifactId>
294           <type>test-jar</type>
295           <scope>test</scope>
296         </dependency>
297         <dependency>
298           <groupId>org.apache.hadoop</groupId>
299           <artifactId>hadoop-minicluster</artifactId>
300           <scope>test</scope>
301           <exclusions>
302             <exclusion>
303               <groupId>org.apache.htrace</groupId>
304               <artifactId>htrace-core</artifactId>
305             </exclusion>
306             <exclusion>
307               <groupId>com.google.guava</groupId>
308               <artifactId>guava</artifactId>
309             </exclusion>
310             <exclusion>
311               <groupId>org.apache.zookeeper</groupId>
312               <artifactId>zookeeper</artifactId>
313             </exclusion>
314           </exclusions>
315         </dependency>
316         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
317         <dependency>
318           <groupId>io.netty</groupId>
319           <artifactId>netty</artifactId>
320           <version>${netty.hadoop.version}</version>
321           <scope>test</scope>
322         </dependency>
323       </dependencies>
324     </profile>
325     <!--
326       profile for building against Hadoop 3.0.x. Activate using:
327        mvn -Dhadoop.profile=3.0
328     -->
329     <profile>
330       <id>hadoop-3.0</id>
331       <activation>
332         <property>
333           <name>hadoop.profile</name>
334           <value>3.0</value>
335         </property>
336       </activation>
337       <properties>
338         <hadoop.version>${hadoop-three.version}</hadoop.version>
339       </properties>
340       <dependencies>
341         <dependency>
342           <groupId>org.apache.hadoop</groupId>
343           <artifactId>hadoop-common</artifactId>
344         </dependency>
345         <dependency>
346           <groupId>org.apache.hadoop</groupId>
347           <artifactId>hadoop-minicluster</artifactId>
348           <exclusions>
349             <exclusion>
350               <groupId>org.apache.htrace</groupId>
351               <artifactId>htrace-core</artifactId>
352             </exclusion>
353             <exclusion>
354               <groupId>com.google.guava</groupId>
355               <artifactId>guava</artifactId>
356             </exclusion>
357           </exclusions>
358         </dependency>
359         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
360         <dependency>
361           <groupId>io.netty</groupId>
362           <artifactId>netty</artifactId>
363           <version>3.6.2.Final</version>
364           <scope>test</scope>
365         </dependency>
366       </dependencies>
367     </profile>
368   </profiles>
369 </project>