HBASE-17977 Enable the MasterSpaceQuotaObserver by default
[hbase.git] / hbase-hadoop2-compat / pom.xml
blobc9705dd6f7f2e16bfdfb657f137e466bdaeefefb
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</artifactId>
23     <groupId>org.apache.hbase</groupId>
24     <version>2.0.0-SNAPSHOT</version>
25     <relativePath>..</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         <version>${maven.assembly.version}</version>
54         <configuration>
55           <skipAssembly>true</skipAssembly>
56         </configuration>
57       </plugin>
58       <plugin>
59       <groupId>org.apache.maven.plugins</groupId>
60         <artifactId>maven-dependency-plugin</artifactId>
61         <version>2.4</version>
62         <executions>
63           <execution>
64             <id>create-mrapp-generated-classpath</id>
65             <phase>generate-test-resources</phase>
66             <goals>
67               <goal>build-classpath</goal>
68             </goals>
69             <configuration>
70               <!-- needed to run the unit test for DS to generate the required classpath
71                 that is required in the env of the launch container in the mini mr/yarn cluster -->
72               <outputFile>
73                 ${project.build.directory}/test-classes/mrapp-generated-classpath
74               </outputFile>
75             </configuration>
76           </execution>
77         </executions>
78       </plugin>
79     </plugins>
80         <pluginManagement>
81       <plugins>
82         <!--This plugin's configuration is used to store Eclipse m2e settings
83              only. It has no influence on the Maven build itself and needs to
84              be kept in plugin management, not in the actual plugins. -->
85         <plugin>
86           <groupId>org.eclipse.m2e</groupId>
87           <artifactId>lifecycle-mapping</artifactId>
88           <version>1.0.0</version>
89           <configuration>
90             <lifecycleMappingMetadata>
91               <pluginExecutions>
92                 <pluginExecution>
93                   <pluginExecutionFilter>
94                     <groupId>org.apache.maven.plugins</groupId>
95                     <artifactId>maven-dependency-plugin</artifactId>
96                     <versionRange>[2.4,)</versionRange>
97                     <goals>
98                       <goal>build-classpath</goal>
99                     </goals>
100                   </pluginExecutionFilter>
101                   <action>
102                     <execute/>
103                   </action>
104                 </pluginExecution>
105                 <pluginExecution>
106                   <pluginExecutionFilter>
107                     <groupId>org.apache.maven.plugins</groupId>
108                     <artifactId>maven-compiler-plugin</artifactId>
109                     <versionRange>[3.2,)</versionRange>
110                     <goals>
111                       <goal>compile</goal>
112                     </goals>
113                   </pluginExecutionFilter>
114                   <action>
115                     <ignore></ignore>
116                   </action>
117                 </pluginExecution>
118               </pluginExecutions>
119             </lifecycleMappingMetadata>
120           </configuration>
121         </plugin>
122       </plugins>
123     </pluginManagement>
124   </build>
126   <dependencies>
127     <dependency>
128       <groupId>org.apache.hbase</groupId>
129       <artifactId>hbase-annotations</artifactId>
130       <exclusions>
131         <exclusion>
132           <groupId>jdk.tools</groupId>
133           <artifactId>jdk.tools</artifactId>
134         </exclusion>
135       </exclusions>
136     </dependency>
137     <dependency>
138       <groupId>org.apache.hbase</groupId>
139       <artifactId>hbase-annotations</artifactId>
140       <type>test-jar</type>
141       <scope>test</scope>
142     </dependency>
143     <dependency>
144       <groupId>org.apache.hbase</groupId>
145       <artifactId>hbase-hadoop-compat</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.apache.hbase</groupId>
149       <artifactId>hbase-common</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.apache.hbase</groupId>
153       <artifactId>hbase-metrics</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>org.apache.hbase</groupId>
157       <artifactId>hbase-hadoop-compat</artifactId>
158       <version>${project.version}</version>
159       <type>test-jar</type>
160       <scope>test</scope>
161     </dependency>
162     <dependency>
163       <groupId>org.apache.commons</groupId>
164       <artifactId>commons-math</artifactId>
165     </dependency>
166     <dependency>
167       <groupId>org.apache.hadoop</groupId>
168       <artifactId>hadoop-mapreduce-client-core</artifactId>
169       <version>${hadoop-two.version}</version>
170     </dependency>
171     <dependency>
172       <groupId>org.apache.hadoop</groupId>
173       <artifactId>hadoop-common</artifactId>
174       <version>${hadoop-two.version}</version>
175     </dependency>
176     <dependency>
177       <groupId>commons-lang</groupId>
178       <artifactId>commons-lang</artifactId>
179     </dependency>
180     <dependency>
181       <groupId>commons-logging</groupId>
182       <artifactId>commons-logging</artifactId>
183     </dependency>
184     <dependency>
185       <groupId>com.google.guava</groupId>
186       <artifactId>guava</artifactId>
187     </dependency>
188   </dependencies>
190   <profiles>
191         <!-- Skip the tests in this module -->
192         <profile>
193             <id>skipHadoopTwoCompatTests</id>
194             <activation>
195                 <property>
196                     <name>skipHadoopTwoCompatTests</name>
197                 </property>
198             </activation>
199             <properties>
200                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
201                 <surefire.skipSecondPart>true</surefire.skipSecondPart>
202             </properties>
203         </profile>
204   </profiles>
205 </project>