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>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>
73 <groupId>org.apache.maven.plugins</groupId>
74 <artifactId>maven-checkstyle-plugin</artifactId>
76 <failOnViolation>true</failOnViolation>
83 <groupId>org.apache.hbase.thirdparty</groupId>
84 <artifactId>hbase-shaded-protobuf</artifactId>
87 <groupId>org.apache.hbase.thirdparty</groupId>
88 <artifactId>hbase-shaded-miscellaneous</artifactId>
91 <groupId>org.apache.hbase</groupId>
92 <artifactId>hbase-annotations</artifactId>
97 <groupId>org.apache.hbase</groupId>
98 <artifactId>hbase-common</artifactId>
101 <groupId>org.apache.hbase</groupId>
102 <artifactId>hbase-common</artifactId>
103 <type>test-jar</type>
107 <groupId>org.apache.hbase</groupId>
108 <artifactId>hbase-hadoop-compat</artifactId>
111 <groupId>org.apache.hbase</groupId>
112 <artifactId>hbase-hadoop-compat</artifactId>
113 <type>test-jar</type>
117 <groupId>org.apache.hbase</groupId>
118 <artifactId>${compat.module}</artifactId>
119 <version>${project.version}</version>
122 <groupId>org.apache.hbase</groupId>
123 <artifactId>${compat.module}</artifactId>
124 <version>${project.version}</version>
125 <type>test-jar</type>
129 <groupId>org.apache.hbase</groupId>
130 <artifactId>hbase-protocol</artifactId>
133 <groupId>org.apache.hbase</groupId>
134 <artifactId>hbase-protocol-shaded</artifactId>
137 <groupId>org.apache.hbase</groupId>
138 <artifactId>hbase-client</artifactId>
140 <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
142 <groupId>org.apache.hbase</groupId>
143 <artifactId>hbase-zookeeper</artifactId>
146 <groupId>org.apache.hbase</groupId>
147 <artifactId>hbase-zookeeper</artifactId>
148 <type>test-jar</type>
152 <groupId>org.bouncycastle</groupId>
153 <artifactId>bcprov-jdk15on</artifactId>
157 <groupId>org.apache.hbase</groupId>
158 <artifactId>hbase-server</artifactId>
161 <groupId>org.apache.hbase</groupId>
162 <artifactId>hbase-server</artifactId>
163 <type>test-jar</type>
167 <groupId>org.apache.hbase</groupId>
168 <artifactId>hbase-http</artifactId>
169 <type>test-jar</type>
172 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
173 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
175 <groupId>org.apache.hbase</groupId>
176 <artifactId>hbase-mapreduce</artifactId>
179 <groupId>org.apache.hbase</groupId>
180 <artifactId>hbase-mapreduce</artifactId>
181 <type>test-jar</type>
185 <groupId>org.apache.hadoop</groupId>
186 <artifactId>hadoop-minikdc</artifactId>
189 <!-- General dependencies -->
191 <groupId>org.slf4j</groupId>
192 <artifactId>slf4j-api</artifactId>
195 <groupId>org.apache.curator</groupId>
196 <artifactId>curator-client</artifactId>
199 <groupId>junit</groupId>
200 <artifactId>junit</artifactId>
204 <groupId>org.mockito</groupId>
205 <artifactId>mockito-core</artifactId>
210 <!-- Skip the tests in this module -->
212 <id>skipRpcTests</id>
215 <name>skipRpcTests</name>
219 <surefire.skipFirstPart>true</surefire.skipFirstPart>
220 <surefire.skipSecondPart>true</surefire.skipSecondPart>
223 <!-- Profiles for building against different hadoop versions -->
224 <!-- There are a lot of common dependencies used here, should investigate
225 if we can combine these profiles somehow -->
226 <!-- profile for building against Hadoop 2.x. This is the default. -->
231 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
233 <name>!hadoop.profile</name>
238 <groupId>org.apache.hadoop</groupId>
239 <artifactId>hadoop-common</artifactId>
242 <groupId>org.apache.hadoop</groupId>
243 <artifactId>hadoop-auth</artifactId>
246 <groupId>org.apache.hadoop</groupId>
247 <artifactId>hadoop-client</artifactId>
250 <groupId>com.google.guava</groupId>
251 <artifactId>guava</artifactId>
256 <groupId>org.apache.hadoop</groupId>
257 <artifactId>hadoop-hdfs</artifactId>
260 <groupId>org.apache.hadoop</groupId>
261 <artifactId>hadoop-hdfs</artifactId>
262 <type>test-jar</type>
266 <groupId>org.apache.hadoop</groupId>
267 <artifactId>hadoop-minicluster</artifactId>
271 <groupId>com.google.guava</groupId>
272 <artifactId>guava</artifactId>
275 <groupId>org.apache.zookeeper</groupId>
276 <artifactId>zookeeper</artifactId>
280 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
282 <groupId>io.netty</groupId>
283 <artifactId>netty</artifactId>
284 <version>${netty.hadoop.version}</version>
290 profile for building against Hadoop 3.0.x. Activate using:
291 mvn -Dhadoop.profile=3.0
297 <name>hadoop.profile</name>
303 <groupId>org.apache.hadoop</groupId>
304 <artifactId>hadoop-common</artifactId>
307 <groupId>org.apache.hadoop</groupId>
308 <artifactId>hadoop-minicluster</artifactId>
311 <groupId>com.google.guava</groupId>
312 <artifactId>guava</artifactId>
316 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
318 <groupId>io.netty</groupId>
319 <artifactId>netty</artifactId>
320 <version>3.6.2.Final</version>
326 <id>eclipse-specific</id>
329 <name>m2e.version</name>
335 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
337 <groupId>org.eclipse.m2e</groupId>
338 <artifactId>lifecycle-mapping</artifactId>
339 <version>1.0.0</version>
341 <lifecycleMappingMetadata>
344 <pluginExecutionFilter>
345 <groupId>org.apache.hadoop</groupId>
346 <artifactId>hadoop-maven-plugins</artifactId>
347 <versionRange>[2.0.5-alpha,)</versionRange>
351 </pluginExecutionFilter>
357 </lifecycleMappingMetadata>