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>2.4.1</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-logging</artifactId>
103 <groupId>org.apache.hbase</groupId>
104 <artifactId>hbase-common</artifactId>
107 <groupId>org.apache.hbase</groupId>
108 <artifactId>hbase-common</artifactId>
109 <type>test-jar</type>
113 <groupId>org.apache.hbase</groupId>
114 <artifactId>hbase-hadoop-compat</artifactId>
117 <groupId>org.apache.hbase</groupId>
118 <artifactId>hbase-hadoop-compat</artifactId>
119 <type>test-jar</type>
123 <groupId>org.apache.hbase</groupId>
124 <artifactId>${compat.module}</artifactId>
125 <version>${project.version}</version>
128 <groupId>org.apache.hbase</groupId>
129 <artifactId>${compat.module}</artifactId>
130 <version>${project.version}</version>
131 <type>test-jar</type>
135 <groupId>org.apache.hbase</groupId>
136 <artifactId>hbase-protocol</artifactId>
139 <groupId>org.apache.hbase</groupId>
140 <artifactId>hbase-protocol-shaded</artifactId>
143 <groupId>org.apache.hbase</groupId>
144 <artifactId>hbase-client</artifactId>
146 <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
148 <groupId>org.apache.hbase</groupId>
149 <artifactId>hbase-zookeeper</artifactId>
152 <groupId>org.apache.hbase</groupId>
153 <artifactId>hbase-zookeeper</artifactId>
154 <type>test-jar</type>
158 <groupId>org.bouncycastle</groupId>
159 <artifactId>bcprov-jdk15on</artifactId>
163 <groupId>org.apache.hbase</groupId>
164 <artifactId>hbase-server</artifactId>
167 <groupId>org.apache.hbase</groupId>
168 <artifactId>hbase-server</artifactId>
169 <type>test-jar</type>
173 <groupId>org.apache.hbase</groupId>
174 <artifactId>hbase-asyncfs</artifactId>
175 <type>test-jar</type>
179 <groupId>org.apache.hbase</groupId>
180 <artifactId>hbase-http</artifactId>
181 <type>test-jar</type>
184 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
185 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
187 <groupId>org.apache.hbase</groupId>
188 <artifactId>hbase-mapreduce</artifactId>
191 <groupId>org.apache.hbase</groupId>
192 <artifactId>hbase-mapreduce</artifactId>
193 <type>test-jar</type>
197 <groupId>org.apache.hadoop</groupId>
198 <artifactId>hadoop-minikdc</artifactId>
201 <!-- General dependencies -->
203 <groupId>org.slf4j</groupId>
204 <artifactId>slf4j-api</artifactId>
207 <groupId>org.apache.curator</groupId>
208 <artifactId>curator-client</artifactId>
211 <groupId>junit</groupId>
212 <artifactId>junit</artifactId>
216 <groupId>org.mockito</groupId>
217 <artifactId>mockito-core</artifactId>
221 <groupId>org.slf4j</groupId>
222 <artifactId>jcl-over-slf4j</artifactId>
226 <groupId>org.slf4j</groupId>
227 <artifactId>jul-to-slf4j</artifactId>
231 <groupId>org.slf4j</groupId>
232 <artifactId>slf4j-log4j12</artifactId>
236 <groupId>log4j</groupId>
237 <artifactId>log4j</artifactId>
242 <!-- Skip the tests in this module -->
244 <id>skipRpcTests</id>
247 <name>skipRpcTests</name>
251 <surefire.skipFirstPart>true</surefire.skipFirstPart>
252 <surefire.skipSecondPart>true</surefire.skipSecondPart>
255 <!-- Profiles for building against different hadoop versions -->
256 <!-- There are a lot of common dependencies used here, should investigate
257 if we can combine these profiles somehow -->
258 <!-- profile for building against Hadoop 2.x. This is the default. -->
263 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
265 <name>!hadoop.profile</name>
270 <groupId>org.apache.hadoop</groupId>
271 <artifactId>hadoop-common</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>com.google.guava</groupId>
304 <artifactId>guava</artifactId>
307 <groupId>org.apache.zookeeper</groupId>
308 <artifactId>zookeeper</artifactId>
312 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
314 <groupId>io.netty</groupId>
315 <artifactId>netty</artifactId>
316 <version>${netty.hadoop.version}</version>
322 profile for building against Hadoop 3.0.x. Activate using:
323 mvn -Dhadoop.profile=3.0
329 <name>hadoop.profile</name>
335 <groupId>org.apache.hadoop</groupId>
336 <artifactId>hadoop-common</artifactId>
339 <groupId>org.apache.hadoop</groupId>
340 <artifactId>hadoop-minicluster</artifactId>
343 <groupId>com.google.guava</groupId>
344 <artifactId>guava</artifactId>
347 <groupId>javax.xml.bind.</groupId>
348 <artifactId>jaxb-api</artifactId>
351 <groupId>javax.ws.rs</groupId>
352 <artifactId>jsr311-api</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>
366 <id>eclipse-specific</id>
369 <name>m2e.version</name>
375 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
377 <groupId>org.eclipse.m2e</groupId>
378 <artifactId>lifecycle-mapping</artifactId>
379 <version>1.0.0</version>
381 <lifecycleMappingMetadata>
384 <pluginExecutionFilter>
385 <groupId>org.apache.hadoop</groupId>
386 <artifactId>hadoop-maven-plugins</artifactId>
387 <versionRange>[2.0.5-alpha,)</versionRange>
391 </pluginExecutionFilter>
397 </lifecycleMappingMetadata>