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">
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
22 <modelVersion>4.0.0</modelVersion>
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>
29 <artifactId>hbase-endpoint</artifactId>
30 <name>Apache HBase - Coprocessor Endpoint</name>
31 <description>HBase Coprocessor Endpoint implementations</description>
34 <maven.javadoc.skip>true</maven.javadoc.skip>
38 <!-- Make a jar and put the sources in the jar -->
40 <groupId>org.apache.maven.plugins</groupId>
41 <artifactId>maven-source-plugin</artifactId>
44 <!--Make it so assembly:single does nothing in here-->
45 <artifactId>maven-assembly-plugin</artifactId>
47 <skipAssembly>true</skipAssembly>
51 <groupId>net.revelc.code</groupId>
52 <artifactId>warbucks-maven-plugin</artifactId>
55 <groupId>org.apache.maven.plugins</groupId>
56 <artifactId>maven-checkstyle-plugin</artifactId>
58 <failOnViolation>true</failOnViolation>
65 <groupId>org.apache.hbase.thirdparty</groupId>
66 <artifactId>hbase-shaded-protobuf</artifactId>
69 <groupId>org.apache.hbase.thirdparty</groupId>
70 <artifactId>hbase-shaded-miscellaneous</artifactId>
73 <groupId>org.apache.hbase</groupId>
74 <artifactId>hbase-annotations</artifactId>
79 <groupId>org.apache.hbase</groupId>
80 <artifactId>hbase-common</artifactId>
83 <groupId>org.apache.hbase</groupId>
84 <artifactId>hbase-common</artifactId>
89 <groupId>org.apache.hbase</groupId>
90 <artifactId>hbase-hadoop-compat</artifactId>
93 <groupId>org.apache.hbase</groupId>
94 <artifactId>hbase-hadoop-compat</artifactId>
99 <groupId>org.apache.hbase</groupId>
100 <artifactId>${compat.module}</artifactId>
101 <version>${project.version}</version>
104 <groupId>org.apache.hbase</groupId>
105 <artifactId>${compat.module}</artifactId>
106 <version>${project.version}</version>
107 <type>test-jar</type>
111 <groupId>org.apache.hbase</groupId>
112 <artifactId>hbase-protocol</artifactId>
115 <groupId>org.apache.hbase</groupId>
116 <artifactId>hbase-protocol-shaded</artifactId>
119 <groupId>org.apache.hbase</groupId>
120 <artifactId>hbase-client</artifactId>
122 <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
124 <groupId>org.apache.hbase</groupId>
125 <artifactId>hbase-zookeeper</artifactId>
128 <groupId>org.apache.hbase</groupId>
129 <artifactId>hbase-zookeeper</artifactId>
130 <type>test-jar</type>
134 <groupId>org.bouncycastle</groupId>
135 <artifactId>bcprov-jdk15on</artifactId>
139 <groupId>org.apache.hbase</groupId>
140 <artifactId>hbase-server</artifactId>
143 <groupId>org.apache.hbase</groupId>
144 <artifactId>hbase-server</artifactId>
145 <type>test-jar</type>
149 <groupId>org.apache.hbase</groupId>
150 <artifactId>hbase-http</artifactId>
151 <type>test-jar</type>
154 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
155 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
157 <groupId>org.apache.hbase</groupId>
158 <artifactId>hbase-mapreduce</artifactId>
161 <groupId>org.apache.hbase</groupId>
162 <artifactId>hbase-mapreduce</artifactId>
163 <type>test-jar</type>
167 <groupId>org.apache.hadoop</groupId>
168 <artifactId>hadoop-minikdc</artifactId>
171 <!-- General dependencies -->
173 <groupId>org.slf4j</groupId>
174 <artifactId>slf4j-api</artifactId>
177 <groupId>org.apache.curator</groupId>
178 <artifactId>curator-client</artifactId>
181 <groupId>junit</groupId>
182 <artifactId>junit</artifactId>
186 <groupId>org.mockito</groupId>
187 <artifactId>mockito-core</artifactId>
192 <!-- Skip the tests in this module -->
194 <id>skipRpcTests</id>
197 <name>skipRpcTests</name>
201 <surefire.skipFirstPart>true</surefire.skipFirstPart>
202 <surefire.skipSecondPart>true</surefire.skipSecondPart>
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. -->
213 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
215 <name>!hadoop.profile</name>
220 <groupId>org.apache.hadoop</groupId>
221 <artifactId>hadoop-common</artifactId>
224 <groupId>org.apache.hadoop</groupId>
225 <artifactId>hadoop-auth</artifactId>
228 <groupId>org.apache.hadoop</groupId>
229 <artifactId>hadoop-client</artifactId>
232 <groupId>com.google.guava</groupId>
233 <artifactId>guava</artifactId>
238 <groupId>org.apache.hadoop</groupId>
239 <artifactId>hadoop-hdfs</artifactId>
242 <groupId>org.apache.hadoop</groupId>
243 <artifactId>hadoop-hdfs</artifactId>
244 <type>test-jar</type>
248 <groupId>org.apache.hadoop</groupId>
249 <artifactId>hadoop-minicluster</artifactId>
253 <groupId>com.google.guava</groupId>
254 <artifactId>guava</artifactId>
257 <groupId>org.apache.zookeeper</groupId>
258 <artifactId>zookeeper</artifactId>
262 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
264 <groupId>io.netty</groupId>
265 <artifactId>netty</artifactId>
266 <version>${netty.hadoop.version}</version>
272 profile for building against Hadoop 3.0.x. Activate using:
273 mvn -Dhadoop.profile=3.0
279 <name>hadoop.profile</name>
285 <groupId>org.apache.hadoop</groupId>
286 <artifactId>hadoop-common</artifactId>
289 <groupId>org.apache.hadoop</groupId>
290 <artifactId>hadoop-minicluster</artifactId>
293 <groupId>com.google.guava</groupId>
294 <artifactId>guava</artifactId>
298 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
300 <groupId>io.netty</groupId>
301 <artifactId>netty</artifactId>
302 <version>3.6.2.Final</version>
308 <id>eclipse-specific</id>
311 <name>m2e.version</name>
317 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
319 <groupId>org.eclipse.m2e</groupId>
320 <artifactId>lifecycle-mapping</artifactId>
321 <version>1.0.0</version>
323 <lifecycleMappingMetadata>
326 <pluginExecutionFilter>
327 <groupId>org.apache.hadoop</groupId>
328 <artifactId>hadoop-maven-plugins</artifactId>
329 <versionRange>[2.0.5-alpha,)</versionRange>
333 </pluginExecutionFilter>
339 </lifecycleMappingMetadata>