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">
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>2.4.2</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>
86 <groupId>org.apache.hbase</groupId>
87 <artifactId>hbase-annotations</artifactId>
92 <groupId>org.apache.hbase</groupId>
93 <artifactId>hbase-hadoop-compat</artifactId>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
101 <groupId>org.apache.hbase</groupId>
102 <artifactId>hbase-common</artifactId>
105 <groupId>org.apache.hbase</groupId>
106 <artifactId>hbase-common</artifactId>
107 <type>test-jar</type>
111 <groupId>org.apache.hbase</groupId>
112 <artifactId>hbase-metrics</artifactId>
115 <groupId>org.apache.hbase</groupId>
116 <artifactId>hbase-metrics-api</artifactId>
119 <groupId>org.apache.hbase</groupId>
120 <artifactId>hbase-hadoop-compat</artifactId>
121 <type>test-jar</type>
125 <groupId>org.apache.hadoop</groupId>
126 <artifactId>hadoop-mapreduce-client-core</artifactId>
129 <groupId>com.google.guava</groupId>
130 <artifactId>guava</artifactId>
133 <groupId>javax.xml.bind</groupId>
134 <artifactId>jaxb-api</artifactId>
137 <groupId>javax.ws.rs</groupId>
138 <artifactId>jsr311-api</artifactId>
143 <groupId>org.apache.hbase</groupId>
144 <artifactId>hbase-logging</artifactId>
145 <type>test-jar</type>
149 <groupId>org.apache.hadoop</groupId>
150 <artifactId>hadoop-common</artifactId>
154 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
156 <groupId>javax.activation</groupId>
157 <artifactId>javax.activation-api</artifactId>
158 <scope>runtime</scope>
161 <groupId>org.apache.commons</groupId>
162 <artifactId>commons-lang3</artifactId>
165 <groupId>org.slf4j</groupId>
166 <artifactId>slf4j-api</artifactId>
169 <groupId>org.apache.hbase.thirdparty</groupId>
170 <artifactId>hbase-shaded-miscellaneous</artifactId>
173 <groupId>org.slf4j</groupId>
174 <artifactId>jcl-over-slf4j</artifactId>
178 <groupId>org.slf4j</groupId>
179 <artifactId>jul-to-slf4j</artifactId>
183 <groupId>org.slf4j</groupId>
184 <artifactId>slf4j-log4j12</artifactId>
188 <groupId>log4j</groupId>
189 <artifactId>log4j</artifactId>
195 <!-- Skip the tests in this module -->
197 <id>skipHadoopTwoCompatTests</id>
200 <name>skipHadoopTwoCompatTests</name>
204 <surefire.skipFirstPart>true</surefire.skipFirstPart>
205 <surefire.skipSecondPart>true</surefire.skipSecondPart>
209 <id>eclipse-specific</id>
212 <name>m2e.version</name>
218 <!--This plugin's configuration is used to store Eclipse m2e settings
219 only. It has no influence on the Maven build itself and needs to
220 be kept in plugin management, not in the actual plugins. -->
222 <groupId>org.eclipse.m2e</groupId>
223 <artifactId>lifecycle-mapping</artifactId>
225 <lifecycleMappingMetadata>
228 <pluginExecutionFilter>
229 <groupId>org.apache.maven.plugins</groupId>
230 <artifactId>maven-dependency-plugin</artifactId>
231 <versionRange>[2.4,)</versionRange>
233 <goal>build-classpath</goal>
235 </pluginExecutionFilter>
241 </lifecycleMappingMetadata>