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!
168 <groupId>org.apache.hbase</groupId>
169 <artifactId>hbase-server</artifactId>
172 <groupId>org.apache.hbase</groupId>
173 <artifactId>hbase-server</artifactId>
174 <type>test-jar</type>
177 <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
178 <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
180 <groupId>org.apache.hbase</groupId>
181 <artifactId>hbase-mapreduce</artifactId>
184 <groupId>org.apache.hbase</groupId>
185 <artifactId>hbase-mapreduce</artifactId>
186 <type>test-jar</type>
190 <groupId>org.apache.hadoop</groupId>
191 <artifactId>hadoop-minikdc</artifactId>
194 <!-- General dependencies -->
196 <groupId>commons-logging</groupId>
197 <artifactId>commons-logging</artifactId>
200 <groupId>org.apache.curator</groupId>
201 <artifactId>curator-client</artifactId>
204 <groupId>junit</groupId>
205 <artifactId>junit</artifactId>
209 <groupId>org.mockito</groupId>
210 <artifactId>mockito-all</artifactId>
215 <!-- Skip the tests in this module -->
217 <id>skipRpcTests</id>
220 <name>skipRpcTests</name>
224 <surefire.skipFirstPart>true</surefire.skipFirstPart>
225 <surefire.skipSecondPart>true</surefire.skipSecondPart>
228 <!-- Profiles for building against different hadoop versions -->
229 <!-- There are a lot of common dependencies used here, should investigate
230 if we can combine these profiles somehow -->
231 <!-- profile for building against Hadoop 2.x. This is the default. -->
236 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
238 <name>!hadoop.profile</name>
243 <groupId>org.apache.hadoop</groupId>
244 <artifactId>hadoop-common</artifactId>
247 <groupId>org.apache.hadoop</groupId>
248 <artifactId>hadoop-auth</artifactId>
251 <groupId>org.apache.hadoop</groupId>
252 <artifactId>hadoop-client</artifactId>
255 <groupId>com.google.guava</groupId>
256 <artifactId>guava</artifactId>
261 <groupId>org.apache.hadoop</groupId>
262 <artifactId>hadoop-hdfs</artifactId>
265 <groupId>com.google.guava</groupId>
266 <artifactId>guava</artifactId>
271 <groupId>org.apache.hadoop</groupId>
272 <artifactId>hadoop-hdfs</artifactId>
273 <type>test-jar</type>
277 <groupId>com.google.guava</groupId>
278 <artifactId>guava</artifactId>
283 <groupId>org.apache.hadoop</groupId>
284 <artifactId>hadoop-minicluster</artifactId>
288 <groupId>com.google.guava</groupId>
289 <artifactId>guava</artifactId>
293 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
295 <groupId>io.netty</groupId>
296 <artifactId>netty</artifactId>
297 <version>${netty.hadoop.version}</version>
303 profile for building against Hadoop 3.0.x. Activate using:
304 mvn -Dhadoop.profile=3.0
310 <name>hadoop.profile</name>
315 <hadoop.version>${hadoop-three.version}</hadoop.version>
319 <groupId>org.apache.hadoop</groupId>
320 <artifactId>hadoop-common</artifactId>
323 <groupId>org.apache.hadoop</groupId>
324 <artifactId>hadoop-minicluster</artifactId>
327 <groupId>com.google.guava</groupId>
328 <artifactId>guava</artifactId>
332 <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
334 <groupId>io.netty</groupId>
335 <artifactId>netty</artifactId>
336 <version>3.6.2.Final</version>