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">
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>
39 <groupId>org.apache.maven.plugins</groupId>
40 <artifactId>maven-site-plugin</artifactId>
45 <!-- Make a jar and put the sources in the jar -->
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-source-plugin</artifactId>
51 <!--Make it so assembly:single does nothing in here-->
52 <artifactId>maven-assembly-plugin</artifactId>
54 <skipAssembly>true</skipAssembly>
58 <groupId>org.xolstice.maven.plugins</groupId>
59 <artifactId>protobuf-maven-plugin</artifactId>
62 <id>compile-protoc</id>
63 <phase>generate-sources</phase>
68 <additionalProtoPathElements>
69 <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
70 </additionalProtoPathElements>
78 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
80 <groupId>org.eclipse.m2e</groupId>
81 <artifactId>lifecycle-mapping</artifactId>
82 <version>1.0.0</version>
84 <lifecycleMappingMetadata>
87 <pluginExecutionFilter>
88 <groupId>org.apache.hadoop</groupId>
89 <artifactId>hadoop-maven-plugins</artifactId>
90 <versionRange>[2.0.5-alpha,)</versionRange>
94 </pluginExecutionFilter>
100 </lifecycleMappingMetadata>
108 <groupId>org.apache.hbase.thirdparty</groupId>
109 <artifactId>hbase-shaded-protobuf</artifactId>
112 <groupId>org.apache.hbase.thirdparty</groupId>
113 <artifactId>hbase-shaded-miscellaneous</artifactId>
116 <groupId>org.apache.hbase</groupId>
117 <artifactId>hbase-annotations</artifactId>
118 <type>test-jar</type>
122 <groupId>org.apache.hbase</groupId>
123 <artifactId>hbase-common</artifactId>
126 <groupId>org.apache.hbase</groupId>
127 <artifactId>hbase-common</artifactId>
128 <type>test-jar</type>
132 <groupId>org.apache.hbase</groupId>
133 <artifactId>hbase-hadoop-compat</artifactId>
136 <groupId>org.apache.hbase</groupId>
137 <artifactId>hbase-hadoop-compat</artifactId>
138 <type>test-jar</type>
142 <groupId>org.apache.hbase</groupId>
143 <artifactId>${compat.module}</artifactId>
144 <version>${project.version}</version>
147 <groupId>org.apache.hbase</groupId>
148 <artifactId>${compat.module}</artifactId>
149 <version>${project.version}</version>
150 <type>test-jar</type>
154 <groupId>org.apache.hbase</groupId>
155 <artifactId>hbase-protocol</artifactId>
158 <groupId>org.apache.hbase</groupId>
159 <artifactId>hbase-protocol-shaded</artifactId>
162 <groupId>org.apache.hbase</groupId>
163 <artifactId>hbase-client</artifactId>
165 <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
167 <groupId>org.apache.hbase</groupId>
168 <artifactId>hbase-zookeeper</artifactId>
171 <groupId>org.apache.hbase</groupId>
172 <artifactId>hbase-zookeeper</artifactId>
173 <type>test-jar</type>
177 <groupId>org.apache.hbase</groupId>
178 <artifactId>hbase-server</artifactId>
181 <groupId>org.apache.hbase</groupId>
182 <artifactId>hbase-server</artifactId>
183 <type>test-jar</type>
187 <groupId>org.apache.hbase</groupId>
188 <artifactId>hbase-http</artifactId>
189 <type>test-jar</type>
192 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
193 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
195 <groupId>org.apache.hbase</groupId>
196 <artifactId>hbase-mapreduce</artifactId>
199 <groupId>org.apache.hbase</groupId>
200 <artifactId>hbase-mapreduce</artifactId>
201 <type>test-jar</type>
205 <groupId>org.apache.hadoop</groupId>
206 <artifactId>hadoop-minikdc</artifactId>
209 <!-- General dependencies -->
211 <groupId>org.slf4j</groupId>
212 <artifactId>slf4j-api</artifactId>
215 <groupId>org.apache.curator</groupId>
216 <artifactId>curator-client</artifactId>
219 <groupId>junit</groupId>
220 <artifactId>junit</artifactId>
224 <groupId>org.mockito</groupId>
225 <artifactId>mockito-core</artifactId>
228 <!-- Some tests rely on Hadoop's KeyStoreTestUtil, which needs bc. -->
230 <groupId>org.bouncycastle</groupId>
231 <artifactId>bcprov-jdk16</artifactId>
236 <!-- Skip the tests in this module -->
238 <id>skipRpcTests</id>
241 <name>skipRpcTests</name>
245 <surefire.skipFirstPart>true</surefire.skipFirstPart>
246 <surefire.skipSecondPart>true</surefire.skipSecondPart>
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. -->
257 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
259 <name>!hadoop.profile</name>
264 <groupId>org.apache.hadoop</groupId>
265 <artifactId>hadoop-common</artifactId>
268 <groupId>org.apache.htrace</groupId>
269 <artifactId>htrace-core</artifactId>
274 <groupId>org.apache.hadoop</groupId>
275 <artifactId>hadoop-auth</artifactId>
278 <groupId>org.apache.hadoop</groupId>
279 <artifactId>hadoop-client</artifactId>
282 <groupId>com.google.guava</groupId>
283 <artifactId>guava</artifactId>
288 <groupId>org.apache.hadoop</groupId>
289 <artifactId>hadoop-hdfs</artifactId>
292 <groupId>org.apache.hadoop</groupId>
293 <artifactId>hadoop-hdfs</artifactId>
294 <type>test-jar</type>
298 <groupId>org.apache.hadoop</groupId>
299 <artifactId>hadoop-minicluster</artifactId>
303 <groupId>org.apache.htrace</groupId>
304 <artifactId>htrace-core</artifactId>
307 <groupId>com.google.guava</groupId>
308 <artifactId>guava</artifactId>
311 <groupId>org.apache.zookeeper</groupId>
312 <artifactId>zookeeper</artifactId>
316 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
318 <groupId>io.netty</groupId>
319 <artifactId>netty</artifactId>
320 <version>${netty.hadoop.version}</version>
326 profile for building against Hadoop 3.0.x. Activate using:
327 mvn -Dhadoop.profile=3.0
333 <name>hadoop.profile</name>
338 <hadoop.version>${hadoop-three.version}</hadoop.version>
342 <groupId>org.apache.hadoop</groupId>
343 <artifactId>hadoop-common</artifactId>
346 <groupId>org.apache.hadoop</groupId>
347 <artifactId>hadoop-minicluster</artifactId>
350 <groupId>org.apache.htrace</groupId>
351 <artifactId>htrace-core</artifactId>
354 <groupId>com.google.guava</groupId>
355 <artifactId>guava</artifactId>
359 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
361 <groupId>io.netty</groupId>
362 <artifactId>netty</artifactId>
363 <version>3.6.2.Final</version>