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