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>
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>org.xolstice.maven.plugins</groupId>
52 <artifactId>protobuf-maven-plugin</artifactId>
55 <id>compile-protoc</id>
56 <phase>generate-sources</phase>
61 <additionalProtoPathElements>
62 <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
63 </additionalProtoPathElements>
69 <groupId>net.revelc.code</groupId>
70 <artifactId>warbucks-maven-plugin</artifactId>
75 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
77 <groupId>org.eclipse.m2e</groupId>
78 <artifactId>lifecycle-mapping</artifactId>
79 <version>1.0.0</version>
81 <lifecycleMappingMetadata>
84 <pluginExecutionFilter>
85 <groupId>org.apache.hadoop</groupId>
86 <artifactId>hadoop-maven-plugins</artifactId>
87 <versionRange>[2.0.5-alpha,)</versionRange>
91 </pluginExecutionFilter>
97 </lifecycleMappingMetadata>
105 <groupId>org.apache.hbase.thirdparty</groupId>
106 <artifactId>hbase-shaded-protobuf</artifactId>
109 <groupId>org.apache.hbase.thirdparty</groupId>
110 <artifactId>hbase-shaded-miscellaneous</artifactId>
113 <groupId>org.apache.hbase</groupId>
114 <artifactId>hbase-annotations</artifactId>
115 <type>test-jar</type>
119 <groupId>org.apache.hbase</groupId>
120 <artifactId>hbase-common</artifactId>
123 <groupId>org.apache.hbase</groupId>
124 <artifactId>hbase-common</artifactId>
125 <type>test-jar</type>
129 <groupId>org.apache.hbase</groupId>
130 <artifactId>hbase-hadoop-compat</artifactId>
133 <groupId>org.apache.hbase</groupId>
134 <artifactId>hbase-hadoop-compat</artifactId>
135 <type>test-jar</type>
139 <groupId>org.apache.hbase</groupId>
140 <artifactId>${compat.module}</artifactId>
141 <version>${project.version}</version>
144 <groupId>org.apache.hbase</groupId>
145 <artifactId>${compat.module}</artifactId>
146 <version>${project.version}</version>
147 <type>test-jar</type>
151 <groupId>org.apache.hbase</groupId>
152 <artifactId>hbase-protocol</artifactId>
155 <groupId>org.apache.hbase</groupId>
156 <artifactId>hbase-protocol-shaded</artifactId>
159 <groupId>org.apache.hbase</groupId>
160 <artifactId>hbase-client</artifactId>
162 <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
164 <groupId>org.apache.hbase</groupId>
165 <artifactId>hbase-zookeeper</artifactId>
168 <groupId>org.apache.hbase</groupId>
169 <artifactId>hbase-zookeeper</artifactId>
170 <type>test-jar</type>
174 <groupId>org.apache.hbase</groupId>
175 <artifactId>hbase-server</artifactId>
178 <groupId>org.apache.hbase</groupId>
179 <artifactId>hbase-server</artifactId>
180 <type>test-jar</type>
184 <groupId>org.apache.hbase</groupId>
185 <artifactId>hbase-http</artifactId>
186 <type>test-jar</type>
189 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
190 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
192 <groupId>org.apache.hbase</groupId>
193 <artifactId>hbase-mapreduce</artifactId>
196 <groupId>org.apache.hbase</groupId>
197 <artifactId>hbase-mapreduce</artifactId>
198 <type>test-jar</type>
202 <groupId>org.apache.hadoop</groupId>
203 <artifactId>hadoop-minikdc</artifactId>
206 <!-- General dependencies -->
208 <groupId>org.slf4j</groupId>
209 <artifactId>slf4j-api</artifactId>
212 <groupId>org.apache.curator</groupId>
213 <artifactId>curator-client</artifactId>
216 <groupId>junit</groupId>
217 <artifactId>junit</artifactId>
221 <groupId>org.mockito</groupId>
222 <artifactId>mockito-core</artifactId>
225 <!-- Some tests rely on Hadoop's KeyStoreTestUtil, which needs bc. -->
227 <groupId>org.bouncycastle</groupId>
228 <artifactId>bcprov-jdk16</artifactId>
233 <!-- Skip the tests in this module -->
235 <id>skipRpcTests</id>
238 <name>skipRpcTests</name>
242 <surefire.skipFirstPart>true</surefire.skipFirstPart>
243 <surefire.skipSecondPart>true</surefire.skipSecondPart>
246 <!-- Profiles for building against different hadoop versions -->
247 <!-- There are a lot of common dependencies used here, should investigate
248 if we can combine these profiles somehow -->
249 <!-- profile for building against Hadoop 2.x. This is the default. -->
254 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
256 <name>!hadoop.profile</name>
261 <groupId>org.apache.hadoop</groupId>
262 <artifactId>hadoop-common</artifactId>
265 <groupId>org.apache.htrace</groupId>
266 <artifactId>htrace-core</artifactId>
271 <groupId>org.apache.hadoop</groupId>
272 <artifactId>hadoop-auth</artifactId>
275 <groupId>org.apache.hadoop</groupId>
276 <artifactId>hadoop-client</artifactId>
279 <groupId>com.google.guava</groupId>
280 <artifactId>guava</artifactId>
285 <groupId>org.apache.hadoop</groupId>
286 <artifactId>hadoop-hdfs</artifactId>
289 <groupId>org.apache.hadoop</groupId>
290 <artifactId>hadoop-hdfs</artifactId>
291 <type>test-jar</type>
295 <groupId>org.apache.hadoop</groupId>
296 <artifactId>hadoop-minicluster</artifactId>
300 <groupId>org.apache.htrace</groupId>
301 <artifactId>htrace-core</artifactId>
304 <groupId>com.google.guava</groupId>
305 <artifactId>guava</artifactId>
308 <groupId>org.apache.zookeeper</groupId>
309 <artifactId>zookeeper</artifactId>
313 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
315 <groupId>io.netty</groupId>
316 <artifactId>netty</artifactId>
317 <version>${netty.hadoop.version}</version>
323 profile for building against Hadoop 3.0.x. Activate using:
324 mvn -Dhadoop.profile=3.0
330 <name>hadoop.profile</name>
335 <hadoop.version>${hadoop-three.version}</hadoop.version>
339 <groupId>org.apache.hadoop</groupId>
340 <artifactId>hadoop-common</artifactId>
343 <groupId>org.apache.hadoop</groupId>
344 <artifactId>hadoop-minicluster</artifactId>
347 <groupId>org.apache.htrace</groupId>
348 <artifactId>htrace-core</artifactId>
351 <groupId>com.google.guava</groupId>
352 <artifactId>guava</artifactId>
356 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
358 <groupId>io.netty</groupId>
359 <artifactId>netty</artifactId>
360 <version>3.6.2.Final</version>