Revert "Preparing development version 2.4.4-SNAPSHOT"
[hbase.git] / hbase-hadoop2-compat / pom.xml
blobad874250566e908e13f84fe05ed60b6d92ddb4de
1 <?xml version="1.0"?>
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">
3  <!--
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.
19 -->
20   <modelVersion>4.0.0</modelVersion>
21   <parent>
22     <artifactId>hbase-build-configuration</artifactId>
23     <groupId>org.apache.hbase</groupId>
24     <version>2.4.3</version>
25     <relativePath>../hbase-build-configuration</relativePath>
26   </parent>
28   <artifactId>hbase-hadoop2-compat</artifactId>
29   <name>Apache HBase - Hadoop Two Compatibility</name>
30   <description>
31         Interfaces to be implemented in order to smooth
32         over hadoop version differences
33     </description>
34 <!--REMOVE-->
36   <build>
37     <plugins>
38       <!-- Make a jar and put the sources in the jar -->
39       <plugin>
40         <groupId>org.apache.maven.plugins</groupId>
41         <artifactId>maven-source-plugin</artifactId>
42       </plugin>
43       <plugin>
44         <!--Make it so assembly:single does nothing in here-->
45         <artifactId>maven-assembly-plugin</artifactId>
46         <configuration>
47           <skipAssembly>true</skipAssembly>
48         </configuration>
49       </plugin>
50       <plugin>
51       <groupId>org.apache.maven.plugins</groupId>
52         <artifactId>maven-dependency-plugin</artifactId>
53         <executions>
54           <execution>
55             <id>create-mrapp-generated-classpath</id>
56             <phase>generate-test-resources</phase>
57             <goals>
58               <goal>build-classpath</goal>
59             </goals>
60             <configuration>
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 -->
63               <outputFile>
64                 ${project.build.directory}/test-classes/mrapp-generated-classpath
65               </outputFile>
66             </configuration>
67           </execution>
68         </executions>
69       </plugin>
70       <plugin>
71         <groupId>net.revelc.code</groupId>
72         <artifactId>warbucks-maven-plugin</artifactId>
73       </plugin>
74       <plugin>
75         <groupId>org.apache.maven.plugins</groupId>
76         <artifactId>maven-checkstyle-plugin</artifactId>
77         <configuration>
78           <failOnViolation>true</failOnViolation>
79         </configuration>
80       </plugin>
81     </plugins>
82   </build>
84   <dependencies>
85     <dependency>
86       <groupId>org.apache.hbase</groupId>
87       <artifactId>hbase-annotations</artifactId>
88       <type>test-jar</type>
89       <scope>test</scope>
90     </dependency>
91     <dependency>
92       <groupId>org.apache.hbase</groupId>
93       <artifactId>hbase-hadoop-compat</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>junit</groupId>
97       <artifactId>junit</artifactId>
98       <scope>test</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.apache.hbase</groupId>
102       <artifactId>hbase-common</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-common</artifactId>
107       <type>test-jar</type>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.hbase</groupId>
112       <artifactId>hbase-metrics</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.hbase</groupId>
116       <artifactId>hbase-metrics-api</artifactId>
117     </dependency>
118     <dependency>
119       <groupId>org.apache.hbase</groupId>
120       <artifactId>hbase-hadoop-compat</artifactId>
121       <type>test-jar</type>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>org.apache.hadoop</groupId>
126       <artifactId>hadoop-mapreduce-client-core</artifactId>
127       <exclusions>
128         <exclusion>
129           <groupId>com.google.guava</groupId>
130           <artifactId>guava</artifactId>
131         </exclusion>
132         <exclusion>
133           <groupId>javax.xml.bind</groupId>
134           <artifactId>jaxb-api</artifactId>
135         </exclusion>
136         <exclusion>
137           <groupId>javax.ws.rs</groupId>
138           <artifactId>jsr311-api</artifactId>
139         </exclusion>
140       </exclusions>
141     </dependency>
142     <dependency>
143       <groupId>org.apache.hbase</groupId>
144       <artifactId>hbase-logging</artifactId>
145       <type>test-jar</type>
146       <scope>test</scope>
147     </dependency>
148     <dependency>
149       <groupId>org.apache.hadoop</groupId>
150       <artifactId>hadoop-common</artifactId>
151     </dependency>
152     <dependency>
153       <!--
154         a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
155       -->
156       <groupId>javax.activation</groupId>
157       <artifactId>javax.activation-api</artifactId>
158       <scope>runtime</scope>
159     </dependency>
160     <dependency>
161       <groupId>org.apache.commons</groupId>
162       <artifactId>commons-lang3</artifactId>
163     </dependency>
164     <dependency>
165       <groupId>org.slf4j</groupId>
166       <artifactId>slf4j-api</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>org.apache.hbase.thirdparty</groupId>
170       <artifactId>hbase-shaded-miscellaneous</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.slf4j</groupId>
174       <artifactId>jcl-over-slf4j</artifactId>
175       <scope>test</scope>
176     </dependency>
177     <dependency>
178       <groupId>org.slf4j</groupId>
179       <artifactId>jul-to-slf4j</artifactId>
180       <scope>test</scope>
181     </dependency>
182     <dependency>
183       <groupId>org.slf4j</groupId>
184       <artifactId>slf4j-log4j12</artifactId>
185       <scope>test</scope>
186     </dependency>
187     <dependency>
188       <groupId>log4j</groupId>
189       <artifactId>log4j</artifactId>
190       <scope>test</scope>
191     </dependency>
192   </dependencies>
194   <profiles>
195         <!-- Skip the tests in this module -->
196         <profile>
197             <id>skipHadoopTwoCompatTests</id>
198             <activation>
199                 <property>
200                     <name>skipHadoopTwoCompatTests</name>
201                 </property>
202             </activation>
203             <properties>
204                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
205                 <surefire.skipSecondPart>true</surefire.skipSecondPart>
206             </properties>
207         </profile>
208     <profile>
209       <id>eclipse-specific</id>
210       <activation>
211         <property>
212           <name>m2e.version</name>
213         </property>
214       </activation>
215       <build>
216         <pluginManagement>
217           <plugins>
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. -->
221             <plugin>
222               <groupId>org.eclipse.m2e</groupId>
223               <artifactId>lifecycle-mapping</artifactId>
224               <configuration>
225                 <lifecycleMappingMetadata>
226                   <pluginExecutions>
227                     <pluginExecution>
228                       <pluginExecutionFilter>
229                         <groupId>org.apache.maven.plugins</groupId>
230                         <artifactId>maven-dependency-plugin</artifactId>
231                         <versionRange>[2.4,)</versionRange>
232                         <goals>
233                           <goal>build-classpath</goal>
234                         </goals>
235                       </pluginExecutionFilter>
236                       <action>
237                         <execute/>
238                       </action>
239                     </pluginExecution>
240                   </pluginExecutions>
241                 </lifecycleMappingMetadata>
242               </configuration>
243             </plugin>
244           </plugins>
245         </pluginManagement>
246       </build>
247     </profile>
248   </profiles>
249 </project>