2 <project xmlns="https://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
7 * Licensed to the Apache Software Foundation (ASF) under one
8 * or more contributor license agreements. See the NOTICE file
9 * distributed with this work for additional information
10 * regarding copyright ownership. The ASF licenses this file
11 * to you under the Apache License, Version 2.0 (the
12 * "License"); you may not use this file except in compliance
13 * with the License. You may obtain a copy of the License at
15 * http://www.apache.org/licenses/LICENSE-2.0
17 * Unless required by applicable law or agreed to in writing, software
18 * distributed under the License is distributed on an "AS IS" BASIS,
19 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 * See the License for the specific language governing permissions and
21 * limitations under the License.
24 <modelVersion>4.0.0</modelVersion>
26 <artifactId>hbase-build-configuration</artifactId>
27 <groupId>org.apache.hbase</groupId>
28 <version>2.4.8</version>
29 <relativePath>../hbase-build-configuration</relativePath>
31 <artifactId>hbase-external-blockcache</artifactId>
32 <name>Apache HBase - External Block Cache</name>
34 HBase module that provides out of process block cache.
35 Currently Memcached is the reference implementation for external block cache.
37 External block caches allow HBase to take advantage of other more complex caches that can live
38 longer than the HBase regionserver process and are not necessarily tied to a single computer
39 life time. However external block caches add in extra operational overhead.
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-remote-resources-plugin</artifactId>
50 <!--Make it so assembly:single does nothing in here-->
51 <artifactId>maven-assembly-plugin</artifactId>
53 <skipAssembly>true</skipAssembly>
57 <groupId>org.codehaus.mojo</groupId>
58 <artifactId>build-helper-maven-plugin</artifactId>
60 <!-- Add the generated sources -->
62 <id>versionInfo-source</id>
63 <phase>generate-sources</phase>
65 <goal>add-source</goal>
69 <source>${project.build.directory}/generated-sources/java</source>
75 <!-- Make a jar and put the sources in the jar -->
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-source-plugin</artifactId>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-checkstyle-plugin</artifactId>
84 <failOnViolation>true</failOnViolation>
88 <groupId>net.revelc.code</groupId>
89 <artifactId>warbucks-maven-plugin</artifactId>
96 <groupId>org.apache.hbase</groupId>
97 <artifactId>hbase-common</artifactId>
100 <groupId>org.apache.hbase</groupId>
101 <artifactId>hbase-server</artifactId>
104 <groupId>net.spy</groupId>
105 <artifactId>spymemcached</artifactId>
106 <optional>true</optional>
109 <groupId>org.slf4j</groupId>
110 <artifactId>slf4j-api</artifactId>
113 <groupId>org.apache.htrace</groupId>
114 <artifactId>htrace-core4</artifactId>
117 <groupId>junit</groupId>
118 <artifactId>junit</artifactId>
124 <!-- Needs to make the profile in apache parent pom -->
126 <id>apache-release</id>
130 <groupId>org.apache.maven.plugins</groupId>
131 <artifactId>maven-resources-plugin</artifactId>
134 <id>license-javadocs</id>
135 <phase>prepare-package</phase>
137 <goal>copy-resources</goal>
140 <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
143 <directory>src/main/javadoc/META-INF/</directory>
144 <targetPath>META-INF/</targetPath>
146 <include>NOTICE</include>
148 <filtering>true</filtering>
158 <!-- Skip the tests in this module -->
160 <id>skipCommonTests</id>
163 <name>skipCommonTests</name>
167 <surefire.skipFirstPart>true</surefire.skipFirstPart>
171 <!-- profile for building against Hadoop 2.x: This is the default -->
176 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
177 <!--h2--><name>!hadoop.profile</name>
182 <groupId>org.apache.hadoop</groupId>
183 <artifactId>hadoop-common</artifactId>
186 <groupId>com.google.guava</groupId>
187 <artifactId>guava</artifactId>
195 <artifactId>maven-dependency-plugin</artifactId>
198 <id>create-mrapp-generated-classpath</id>
199 <phase>generate-test-resources</phase>
201 <goal>build-classpath</goal>
204 <!-- needed to run the unit test for DS to generate
205 the required classpath that is required in the env
206 of the launch container in the mini mr/yarn cluster
208 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
218 profile for building against Hadoop 3.0.x. Activate using:
219 mvn -Dhadoop.profile=3.0
225 <name>hadoop.profile</name>
231 <groupId>org.apache.hadoop</groupId>
232 <artifactId>hadoop-common</artifactId>
238 <artifactId>maven-dependency-plugin</artifactId>
241 <id>create-mrapp-generated-classpath</id>
242 <phase>generate-test-resources</phase>
244 <goal>build-classpath</goal>
247 <!-- needed to run the unit test for DS to generate
248 the required classpath that is required in the env
249 of the launch container in the mini mr/yarn cluster
251 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
260 <id>eclipse-specific</id>
263 <name>m2e.version</name>
269 <!--This plugin's configuration is used to store Eclipse m2e settings
270 only. It has no influence on the Maven build itself. -->
272 <groupId>org.eclipse.m2e</groupId>
273 <artifactId>lifecycle-mapping</artifactId>
275 <lifecycleMappingMetadata>
278 <pluginExecutionFilter>
279 <groupId>org.apache.maven.plugins</groupId>
280 <artifactId>maven-antrun-plugin</artifactId>
281 <versionRange>[${maven.antrun.version}]</versionRange>
285 </pluginExecutionFilter>
291 <pluginExecutionFilter>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-dependency-plugin</artifactId>
294 <versionRange>[2.8,)</versionRange>
296 <goal>build-classpath</goal>
298 </pluginExecutionFilter>
304 </lifecycleMappingMetadata>