HBASE-22724 Add a emoji on the vote table for pre commit result on github (#568)
[hbase.git] / hbase-hadoop2-compat / pom.xml
blob4c79857cd19bf5ab243c6802567d6aff24eec460
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>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       <!-- 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       <version>${project.version}</version>
122       <type>test-jar</type>
123       <scope>test</scope>
124     </dependency>
125     <dependency>
126       <groupId>org.apache.hadoop</groupId>
127       <artifactId>hadoop-mapreduce-client-core</artifactId>
128       <version>${hadoop.version}</version>
129       <exclusions>
130         <exclusion>
131           <groupId>com.google.guava</groupId>
132           <artifactId>guava</artifactId>
133         </exclusion>
134       </exclusions>
135     </dependency>
136     <dependency>
137       <groupId>org.apache.hadoop</groupId>
138       <artifactId>hadoop-common</artifactId>
139       <version>${hadoop.version}</version>
140     </dependency>
141     <dependency>
142       <groupId>org.apache.commons</groupId>
143       <artifactId>commons-lang3</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.slf4j</groupId>
147       <artifactId>slf4j-api</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.apache.hbase.thirdparty</groupId>
151       <artifactId>hbase-shaded-miscellaneous</artifactId>
152     </dependency>
153   </dependencies>
155   <profiles>
156         <!-- Skip the tests in this module -->
157         <profile>
158             <id>skipHadoopTwoCompatTests</id>
159             <activation>
160                 <property>
161                     <name>skipHadoopTwoCompatTests</name>
162                 </property>
163             </activation>
164             <properties>
165                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
166                 <surefire.skipSecondPart>true</surefire.skipSecondPart>
167             </properties>
168         </profile>
169     <profile>
170       <id>eclipse-specific</id>
171       <activation>
172         <property>
173           <name>m2e.version</name>
174         </property>
175       </activation>
176       <build>
177         <pluginManagement>
178           <plugins>
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. -->
182             <plugin>
183               <groupId>org.eclipse.m2e</groupId>
184               <artifactId>lifecycle-mapping</artifactId>
185               <configuration>
186                 <lifecycleMappingMetadata>
187                   <pluginExecutions>
188                     <pluginExecution>
189                       <pluginExecutionFilter>
190                         <groupId>org.apache.maven.plugins</groupId>
191                         <artifactId>maven-dependency-plugin</artifactId>
192                         <versionRange>[2.4,)</versionRange>
193                         <goals>
194                           <goal>build-classpath</goal>
195                         </goals>
196                       </pluginExecutionFilter>
197                       <action>
198                         <execute/>
199                       </action>
200                     </pluginExecution>
201                   </pluginExecutions>
202                 </lifecycleMappingMetadata>
203               </configuration>
204             </plugin>
205           </plugins>
206         </pluginManagement>
207       </build>
208     </profile>
209   </profiles>
210 </project>