HBASE-20538 Upgrade our hadoop versions to 2.7.7 and 3.0.3
[hbase.git] / hbase-rsgroup / pom.xml
blob1cc38549b96b79a8fabc89c0354250175be7f8b4
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   /**
5    * Licensed to the Apache Software Foundation (ASF) under one
6    * or more contributor license agreements.  See the NOTICE file
7    * distributed with this work for additional information
8    * regarding copyright ownership.  The ASF licenses this file
9    * to you under the Apache License, Version 2.0 (the
10    * "License"); you may not use this file except in compliance
11    * with the License.  You may obtain a copy of the License at
12    *
13    *     http://www.apache.org/licenses/LICENSE-2.0
14    *
15    * Unless required by applicable law or agreed to in writing, software
16    * distributed under the License is distributed on an "AS IS" BASIS,
17    * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18    * See the License for the specific language governing permissions and
19    * limitations under the License.
20    */
21   -->
22   <modelVersion>4.0.0</modelVersion>
23   <parent>
24     <artifactId>hbase-build-configuration</artifactId>
25     <groupId>org.apache.hbase</groupId>
26     <version>3.0.0-SNAPSHOT</version>
27     <relativePath>../hbase-build-configuration</relativePath>
28   </parent>
29   <artifactId>hbase-rsgroup</artifactId>
30   <name>Apache HBase - RSGroup</name>
31   <description>Regionserver Groups for HBase</description>
32   <build>
33     <plugins>
34       <plugin>
35         <!--Make it so assembly:single does nothing in here-->
36         <artifactId>maven-assembly-plugin</artifactId>
37         <configuration>
38           <skipAssembly>true</skipAssembly>
39         </configuration>
40       </plugin>
41       <!-- Make a jar and put the sources in the jar -->
42       <plugin>
43         <groupId>org.apache.maven.plugins</groupId>
44         <artifactId>maven-source-plugin</artifactId>
45       </plugin>
46       <plugin>
47         <groupId>org.xolstice.maven.plugins</groupId>
48         <artifactId>protobuf-maven-plugin</artifactId>
49         <executions>
50           <execution>
51             <id>compile-protoc</id>
52             <phase>generate-sources</phase>
53             <goals>
54               <goal>compile</goal>
55             </goals>
56             <configuration>
57               <additionalProtoPathElements>
58                 <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
59               </additionalProtoPathElements>
60             </configuration>
61           </execution>
62         </executions>
63       </plugin>
64       <plugin>
65         <groupId>org.apache.maven.plugins</groupId>
66         <artifactId>maven-checkstyle-plugin</artifactId>
67         <configuration>
68           <failOnViolation>true</failOnViolation>
69         </configuration>
70       </plugin>
71       <plugin>
72         <groupId>net.revelc.code</groupId>
73         <artifactId>warbucks-maven-plugin</artifactId>
74       </plugin>
75     </plugins>
76     <pluginManagement>
77       <plugins>
78         <!--This plugin's configuration is used to store Eclipse m2e settings
79              only. It has no influence on the Maven build itself.-->
80         <plugin>
81           <groupId>org.eclipse.m2e</groupId>
82           <artifactId>lifecycle-mapping</artifactId>
83           <configuration>
84             <lifecycleMappingMetadata>
85               <pluginExecutions>
86               </pluginExecutions>
87             </lifecycleMappingMetadata>
88           </configuration>
89         </plugin>
90       </plugins>
91     </pluginManagement>
92   </build>
93   <dependencies>
94     <!-- Intra-project dependencies -->
95     <dependency>
96       <groupId>org.apache.hbase</groupId>
97       <artifactId>hbase-annotations</artifactId>
98       <type>test-jar</type>
99       <scope>test</scope>
100     </dependency>
101     <dependency>
102       <groupId>org.apache.hbase</groupId>
103       <artifactId>hbase-client</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.apache.hbase</groupId>
107       <artifactId>hbase-server</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.apache.hbase</groupId>
111       <artifactId>hbase-common</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.apache.hbase</groupId>
115       <artifactId>hbase-procedure</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.hbase</groupId>
119       <artifactId>hbase-protocol</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.apache.hbase</groupId>
123       <artifactId>hbase-protocol-shaded</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.apache.hbase</groupId>
127       <artifactId>hbase-testing-util</artifactId>
128       <scope>test</scope>
129     </dependency>
130     <!-- General dependencies -->
131     <dependency>
132       <groupId>org.apache.commons</groupId>
133       <artifactId>commons-lang3</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.slf4j</groupId>
137       <artifactId>slf4j-api</artifactId>
138     </dependency>
139     <dependency>
140       <groupId>org.apache.hbase.thirdparty</groupId>
141       <artifactId>hbase-shaded-miscellaneous</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>com.google.protobuf</groupId>
145       <artifactId>protobuf-java</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.apache.zookeeper</groupId>
149       <artifactId>zookeeper</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>log4j</groupId>
153       <artifactId>log4j</artifactId>
154       <scope>test</scope>
155     </dependency>
156     <dependency>
157       <groupId>org.mockito</groupId>
158       <artifactId>mockito-core</artifactId>
159       <scope>test</scope>
160     </dependency>
161     <dependency>
162       <groupId>junit</groupId>
163       <artifactId>junit</artifactId>
164       <scope>test</scope>
165     </dependency>
166   </dependencies>
167   <profiles>
168     <!-- Skip the tests in this module -->
169     <profile>
170       <id>skipRSGroupTests</id>
171       <activation>
172         <property>
173           <name>skipRSGroupTests</name>
174         </property>
175       </activation>
176       <properties>
177         <surefire.skipFirstPart>true</surefire.skipFirstPart>
178         <surefire.skipSecondPart>true</surefire.skipSecondPart>
179       </properties>
180     </profile>
181     <!-- profile against Hadoop 2.x: This is the default. -->
182     <profile>
183       <id>hadoop-2.0</id>
184       <activation>
185         <property>
186           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
187           <!--h2-->
188           <name>!hadoop.profile</name>
189         </property>
190       </activation>
191       <dependencies>
192         <dependency>
193           <groupId>com.github.stephenc.findbugs</groupId>
194           <artifactId>findbugs-annotations</artifactId>
195           <optional>true</optional>
196         </dependency>
197         <dependency>
198           <groupId>org.apache.hadoop</groupId>
199           <artifactId>hadoop-common</artifactId>
200           <exclusions>
201             <exclusion>
202               <groupId>net.java.dev.jets3t</groupId>
203               <artifactId>jets3t</artifactId>
204             </exclusion>
205             <exclusion>
206               <groupId>javax.servlet.jsp</groupId>
207               <artifactId>jsp-api</artifactId>
208             </exclusion>
209             <exclusion>
210               <groupId>org.mortbay.jetty</groupId>
211               <artifactId>jetty</artifactId>
212             </exclusion>
213             <exclusion>
214               <groupId>com.sun.jersey</groupId>
215               <artifactId>jersey-server</artifactId>
216             </exclusion>
217             <exclusion>
218               <groupId>com.sun.jersey</groupId>
219               <artifactId>jersey-core</artifactId>
220             </exclusion>
221             <exclusion>
222               <groupId>com.sun.jersey</groupId>
223               <artifactId>jersey-json</artifactId>
224             </exclusion>
225             <exclusion>
226               <groupId>javax.servlet</groupId>
227               <artifactId>servlet-api</artifactId>
228             </exclusion>
229             <exclusion>
230               <groupId>tomcat</groupId>
231               <artifactId>jasper-compiler</artifactId>
232             </exclusion>
233             <exclusion>
234               <groupId>tomcat</groupId>
235               <artifactId>jasper-runtime</artifactId>
236             </exclusion>
237             <exclusion>
238               <groupId>com.google.code.findbugs</groupId>
239               <artifactId>jsr305</artifactId>
240             </exclusion>
241           </exclusions>
242         </dependency>
243       </dependencies>
244     </profile>
245     <!--
246       profile for building against Hadoop 3.0.x. Activate using:
247        mvn -Dhadoop.profile=3.0
248     -->
249     <profile>
250       <id>hadoop-3.0</id>
251       <activation>
252         <property>
253           <name>hadoop.profile</name>
254           <value>3.0</value>
255         </property>
256       </activation>
257       <properties>
258         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
259       </properties>
260       <dependencies>
261         <dependency>
262           <groupId>org.apache.hadoop</groupId>
263           <artifactId>hadoop-common</artifactId>
264         </dependency>
265       </dependencies>
266     </profile>
267   </profiles>
268 </project>