2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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>3.0.0-SNAPSHOT</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>
94 <!--This plugin's configuration is used to store Eclipse m2e settings
95 only. It has no influence on the Maven build itself. -->
97 <groupId>org.eclipse.m2e</groupId>
98 <artifactId>lifecycle-mapping</artifactId>
100 <lifecycleMappingMetadata>
103 <pluginExecutionFilter>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-antrun-plugin</artifactId>
106 <versionRange>[${maven.antrun.version}]</versionRange>
110 </pluginExecutionFilter>
116 <pluginExecutionFilter>
117 <groupId>org.apache.maven.plugins</groupId>
118 <artifactId>maven-dependency-plugin</artifactId>
119 <versionRange>[2.8,)</versionRange>
121 <goal>build-classpath</goal>
123 </pluginExecutionFilter>
129 </lifecycleMappingMetadata>
138 <groupId>org.apache.hbase</groupId>
139 <artifactId>hbase-common</artifactId>
142 <groupId>org.apache.hbase</groupId>
143 <artifactId>hbase-server</artifactId>
146 <groupId>net.spy</groupId>
147 <artifactId>spymemcached</artifactId>
148 <optional>true</optional>
151 <groupId>org.slf4j</groupId>
152 <artifactId>slf4j-api</artifactId>
155 <groupId>org.apache.htrace</groupId>
156 <artifactId>htrace-core4</artifactId>
159 <groupId>junit</groupId>
160 <artifactId>junit</artifactId>
166 <!-- Needs to make the profile in apache parent pom -->
168 <id>apache-release</id>
172 <groupId>org.apache.maven.plugins</groupId>
173 <artifactId>maven-resources-plugin</artifactId>
176 <id>license-javadocs</id>
177 <phase>prepare-package</phase>
179 <goal>copy-resources</goal>
182 <outputDirectory>${project.build.directory}/apidocs</outputDirectory>
185 <directory>src/main/javadoc/META-INF/</directory>
186 <targetPath>META-INF/</targetPath>
188 <include>NOTICE</include>
190 <filtering>true</filtering>
200 <!-- Skip the tests in this module -->
202 <id>skipCommonTests</id>
205 <name>skipCommonTests</name>
209 <surefire.skipFirstPart>true</surefire.skipFirstPart>
213 <!-- profile for building against Hadoop 2.x: This is the default -->
218 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
219 <!--h2--><name>!hadoop.profile</name>
224 <groupId>org.apache.hadoop</groupId>
225 <artifactId>hadoop-common</artifactId>
228 <groupId>com.google.guava</groupId>
229 <artifactId>guava</artifactId>
237 <artifactId>maven-dependency-plugin</artifactId>
240 <id>create-mrapp-generated-classpath</id>
241 <phase>generate-test-resources</phase>
243 <goal>build-classpath</goal>
246 <!-- needed to run the unit test for DS to generate
247 the required classpath that is required in the env
248 of the launch container in the mini mr/yarn cluster
250 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
260 profile for building against Hadoop 3.0.x. Activate using:
261 mvn -Dhadoop.profile=3.0
267 <name>hadoop.profile</name>
273 <groupId>org.apache.hadoop</groupId>
274 <artifactId>hadoop-common</artifactId>
280 <artifactId>maven-dependency-plugin</artifactId>
283 <id>create-mrapp-generated-classpath</id>
284 <phase>generate-test-resources</phase>
286 <goal>build-classpath</goal>
289 <!-- needed to run the unit test for DS to generate
290 the required classpath that is required in the env
291 of the launch container in the mini mr/yarn cluster
293 <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>