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>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>
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 <version>${project.version}</version>
122 <type>test-jar</type>
126 <groupId>org.apache.hadoop</groupId>
127 <artifactId>hadoop-mapreduce-client-core</artifactId>
128 <version>${hadoop.version}</version>
131 <groupId>com.google.guava</groupId>
132 <artifactId>guava</artifactId>
137 <groupId>org.apache.hadoop</groupId>
138 <artifactId>hadoop-common</artifactId>
139 <version>${hadoop.version}</version>
142 <groupId>org.apache.commons</groupId>
143 <artifactId>commons-lang3</artifactId>
146 <groupId>org.slf4j</groupId>
147 <artifactId>slf4j-api</artifactId>
150 <groupId>org.apache.hbase.thirdparty</groupId>
151 <artifactId>hbase-shaded-miscellaneous</artifactId>
156 <!-- Skip the tests in this module -->
158 <id>skipHadoopTwoCompatTests</id>
161 <name>skipHadoopTwoCompatTests</name>
165 <surefire.skipFirstPart>true</surefire.skipFirstPart>
166 <surefire.skipSecondPart>true</surefire.skipSecondPart>
170 <id>eclipse-specific</id>
173 <name>m2e.version</name>
179 <!--This plugin's configuration is used to store Eclipse m2e settings
180 only. It has no influence on the Maven build itself and needs to
181 be kept in plugin management, not in the actual plugins. -->
183 <groupId>org.eclipse.m2e</groupId>
184 <artifactId>lifecycle-mapping</artifactId>
186 <lifecycleMappingMetadata>
189 <pluginExecutionFilter>
190 <groupId>org.apache.maven.plugins</groupId>
191 <artifactId>maven-dependency-plugin</artifactId>
192 <versionRange>[2.4,)</versionRange>
194 <goal>build-classpath</goal>
196 </pluginExecutionFilter>
202 </lifecycleMappingMetadata>