HBASE-18801 Bulk load cleanup may falsely deem file deletion successful
[hbase.git] / hbase-hadoop2-compat / pom.xml
blobc314aca163edb914641410795c005dcf5fa9125d
1 <?xml version="1.0"?>
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">
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>3.0.0-SNAPSHOT</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       <plugin>
39         <groupId>org.apache.maven.plugins</groupId>
40         <artifactId>maven-site-plugin</artifactId>
41         <configuration>
42           <skip>true</skip>
43         </configuration>
44       </plugin>
45       <!-- Make a jar and put the sources in the jar -->
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-source-plugin</artifactId>
49       </plugin>
50       <plugin>
51         <!--Make it so assembly:single does nothing in here-->
52         <artifactId>maven-assembly-plugin</artifactId>
53         <configuration>
54           <skipAssembly>true</skipAssembly>
55         </configuration>
56       </plugin>
57       <plugin>
58       <groupId>org.apache.maven.plugins</groupId>
59         <artifactId>maven-dependency-plugin</artifactId>
60         <executions>
61           <execution>
62             <id>create-mrapp-generated-classpath</id>
63             <phase>generate-test-resources</phase>
64             <goals>
65               <goal>build-classpath</goal>
66             </goals>
67             <configuration>
68               <!-- needed to run the unit test for DS to generate the required classpath
69                 that is required in the env of the launch container in the mini mr/yarn cluster -->
70               <outputFile>
71                 ${project.build.directory}/test-classes/mrapp-generated-classpath
72               </outputFile>
73             </configuration>
74           </execution>
75         </executions>
76       </plugin>
77     </plugins>
78         <pluginManagement>
79       <plugins>
80         <!--This plugin's configuration is used to store Eclipse m2e settings
81              only. It has no influence on the Maven build itself and needs to
82              be kept in plugin management, not in the actual plugins. -->
83         <plugin>
84           <groupId>org.eclipse.m2e</groupId>
85           <artifactId>lifecycle-mapping</artifactId>
86           <configuration>
87             <lifecycleMappingMetadata>
88               <pluginExecutions>
89                 <pluginExecution>
90                   <pluginExecutionFilter>
91                     <groupId>org.apache.maven.plugins</groupId>
92                     <artifactId>maven-dependency-plugin</artifactId>
93                     <versionRange>[2.4,)</versionRange>
94                     <goals>
95                       <goal>build-classpath</goal>
96                     </goals>
97                   </pluginExecutionFilter>
98                   <action>
99                     <execute/>
100                   </action>
101                 </pluginExecution>
102                 <pluginExecution>
103                   <pluginExecutionFilter>
104                     <groupId>org.apache.maven.plugins</groupId>
105                     <artifactId>maven-compiler-plugin</artifactId>
106                     <versionRange>[3.2,)</versionRange>
107                     <goals>
108                       <goal>compile</goal>
109                     </goals>
110                   </pluginExecutionFilter>
111                   <action>
112                     <ignore></ignore>
113                   </action>
114                 </pluginExecution>
115               </pluginExecutions>
116             </lifecycleMappingMetadata>
117           </configuration>
118         </plugin>
119       </plugins>
120     </pluginManagement>
121   </build>
123   <dependencies>
124     <dependency>
125       <groupId>org.apache.hbase</groupId>
126       <artifactId>hbase-annotations</artifactId>
127       <type>test-jar</type>
128       <scope>test</scope>
129     </dependency>
130     <dependency>
131       <groupId>org.apache.hbase</groupId>
132       <artifactId>hbase-hadoop-compat</artifactId>
133     </dependency>
134     <dependency>
135       <groupId>junit</groupId>
136       <artifactId>junit</artifactId>
137       <scope>test</scope>
138     </dependency>
139     <dependency>
140       <groupId>org.apache.hbase</groupId>
141       <artifactId>hbase-common</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>org.apache.hbase</groupId>
145       <artifactId>hbase-metrics</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.apache.hbase</groupId>
149       <artifactId>hbase-metrics-api</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.apache.hbase</groupId>
153       <artifactId>hbase-hadoop-compat</artifactId>
154       <version>${project.version}</version>
155       <type>test-jar</type>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.apache.hadoop</groupId>
160       <artifactId>hadoop-mapreduce-client-core</artifactId>
161       <version>${hadoop-two.version}</version>
162       <exclusions>
163         <exclusion>
164           <groupId>com.google.guava</groupId>
165           <artifactId>guava</artifactId>
166         </exclusion>
167       </exclusions>
168     </dependency>
169     <dependency>
170       <groupId>org.apache.hadoop</groupId>
171       <artifactId>hadoop-common</artifactId>
172       <version>${hadoop-two.version}</version>
173     </dependency>
174     <dependency>
175       <groupId>org.apache.commons</groupId>
176       <artifactId>commons-lang3</artifactId>
177     </dependency>
178     <dependency>
179       <groupId>commons-logging</groupId>
180       <artifactId>commons-logging</artifactId>
181     </dependency>
182     <dependency>
183       <groupId>org.apache.hbase.thirdparty</groupId>
184       <artifactId>hbase-shaded-miscellaneous</artifactId>
185     </dependency>
186   </dependencies>
188   <profiles>
189         <!-- Skip the tests in this module -->
190         <profile>
191             <id>skipHadoopTwoCompatTests</id>
192             <activation>
193                 <property>
194                     <name>skipHadoopTwoCompatTests</name>
195                 </property>
196             </activation>
197             <properties>
198                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
199                 <surefire.skipSecondPart>true</surefire.skipSecondPart>
200             </properties>
201         </profile>
202   </profiles>
203 </project>