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">
4 Licensed to the Apache Software Foundation (ASF) under one
5 or more contributor license agreements. See the NOTICE file
6 distributed with this work for additional information
7 regarding copyright ownership. The ASF licenses this file
8 to you under the Apache License, Version 2.0 (the
9 "License"); you may not use this file except in compliance
10 with the License. You may obtain a copy of the License at
12 http://www.apache.org/licenses/LICENSE-2.0
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
20 <modelVersion>4.0.0</modelVersion>
22 <artifactId>hbase-build-configuration</artifactId>
23 <groupId>org.apache.hbase</groupId>
24 <version>3.0.0-SNAPSHOT</version>
25 <relativePath>../hbase-build-configuration</relativePath>
28 <artifactId>hbase-hadoop2-compat</artifactId>
29 <name>Apache HBase - Hadoop Two Compatibility</name>
31 Interfaces to be implemented in order to smooth
32 over hadoop version differences
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.apache.maven.plugins</groupId>
52 <artifactId>maven-dependency-plugin</artifactId>
55 <id>create-mrapp-generated-classpath</id>
56 <phase>generate-test-resources</phase>
58 <goal>build-classpath</goal>
61 <!-- needed to run the unit test for DS to generate the required classpath
62 that is required in the env of the launch container in the mini mr/yarn cluster -->
64 ${project.build.directory}/test-classes/mrapp-generated-classpath
71 <groupId>net.revelc.code</groupId>
72 <artifactId>warbucks-maven-plugin</artifactId>
75 <groupId>org.apache.maven.plugins</groupId>
76 <artifactId>maven-checkstyle-plugin</artifactId>
78 <failOnViolation>true</failOnViolation>
84 <!--This plugin's configuration is used to store Eclipse m2e settings
85 only. It has no influence on the Maven build itself and needs to
86 be kept in plugin management, not in the actual plugins. -->
88 <groupId>org.eclipse.m2e</groupId>
89 <artifactId>lifecycle-mapping</artifactId>
91 <lifecycleMappingMetadata>
94 <pluginExecutionFilter>
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-dependency-plugin</artifactId>
97 <versionRange>[2.4,)</versionRange>
99 <goal>build-classpath</goal>
101 </pluginExecutionFilter>
107 </lifecycleMappingMetadata>
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-hadoop-compat</artifactId>
126 <groupId>junit</groupId>
127 <artifactId>junit</artifactId>
131 <groupId>org.apache.hbase</groupId>
132 <artifactId>hbase-common</artifactId>
135 <groupId>org.apache.hbase</groupId>
136 <artifactId>hbase-common</artifactId>
137 <type>test-jar</type>
141 <groupId>org.apache.hbase</groupId>
142 <artifactId>hbase-metrics</artifactId>
145 <groupId>org.apache.hbase</groupId>
146 <artifactId>hbase-metrics-api</artifactId>
149 <groupId>org.apache.hbase</groupId>
150 <artifactId>hbase-hadoop-compat</artifactId>
151 <version>${project.version}</version>
152 <type>test-jar</type>
156 <groupId>org.apache.hadoop</groupId>
157 <artifactId>hadoop-mapreduce-client-core</artifactId>
158 <version>${hadoop.version}</version>
161 <groupId>com.google.guava</groupId>
162 <artifactId>guava</artifactId>
167 <groupId>org.apache.hadoop</groupId>
168 <artifactId>hadoop-common</artifactId>
169 <version>${hadoop.version}</version>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-lang3</artifactId>
176 <groupId>org.slf4j</groupId>
177 <artifactId>slf4j-api</artifactId>
180 <groupId>org.apache.hbase.thirdparty</groupId>
181 <artifactId>hbase-shaded-miscellaneous</artifactId>
186 <!-- Skip the tests in this module -->
188 <id>skipHadoopTwoCompatTests</id>
191 <name>skipHadoopTwoCompatTests</name>
195 <surefire.skipFirstPart>true</surefire.skipFirstPart>
196 <surefire.skipSecondPart>true</surefire.skipSecondPart>