HBASE-22662 Move RSGroupInfoManager to hbase-server (#368)
[hbase.git] / hbase-rsgroup / pom.xml
blob1135939cb8b7e92bad2f17fa6ff9266104117494
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   /**
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.apache.maven.plugins</groupId>
48         <artifactId>maven-checkstyle-plugin</artifactId>
49         <configuration>
50           <failOnViolation>true</failOnViolation>
51         </configuration>
52       </plugin>
53       <plugin>
54         <groupId>net.revelc.code</groupId>
55         <artifactId>warbucks-maven-plugin</artifactId>
56       </plugin>
57     </plugins>
58   </build>
59   <dependencies>
60     <!-- Intra-project dependencies -->
61     <dependency>
62       <groupId>org.apache.hbase</groupId>
63       <artifactId>hbase-annotations</artifactId>
64       <type>test-jar</type>
65       <scope>test</scope>
66     </dependency>
67     <dependency>
68       <groupId>org.apache.hbase</groupId>
69       <artifactId>hbase-client</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.apache.hbase</groupId>
73       <artifactId>hbase-server</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>org.apache.hbase</groupId>
77       <artifactId>hbase-common</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.apache.hbase</groupId>
81       <artifactId>hbase-procedure</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.apache.hbase</groupId>
85       <artifactId>hbase-procedure</artifactId>
86       <type>test-jar</type>
87       <scope>test</scope>
88     </dependency>
89     <dependency>
90       <groupId>org.apache.hbase</groupId>
91       <artifactId>hbase-protocol</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.apache.hbase</groupId>
95       <artifactId>hbase-protocol-shaded</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.apache.hbase</groupId>
99       <artifactId>hbase-testing-util</artifactId>
100       <scope>test</scope>
101     </dependency>
102     <!-- General dependencies -->
103     <dependency>
104       <groupId>org.apache.commons</groupId>
105       <artifactId>commons-lang3</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>org.slf4j</groupId>
109       <artifactId>slf4j-api</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.apache.hbase.thirdparty</groupId>
113       <artifactId>hbase-shaded-miscellaneous</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.apache.zookeeper</groupId>
117       <artifactId>zookeeper</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>log4j</groupId>
121       <artifactId>log4j</artifactId>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>org.mockito</groupId>
126       <artifactId>mockito-core</artifactId>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>junit</groupId>
131       <artifactId>junit</artifactId>
132       <scope>test</scope>
133     </dependency>
134   </dependencies>
135   <profiles>
136     <!-- Skip the tests in this module -->
137     <profile>
138       <id>skipRSGroupTests</id>
139       <activation>
140         <property>
141           <name>skipRSGroupTests</name>
142         </property>
143       </activation>
144       <properties>
145         <surefire.skipFirstPart>true</surefire.skipFirstPart>
146         <surefire.skipSecondPart>true</surefire.skipSecondPart>
147       </properties>
148     </profile>
149     <!-- profile against Hadoop 2.x: This is the default. -->
150     <profile>
151       <id>hadoop-2.0</id>
152       <activation>
153         <property>
154           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
155           <!--h2-->
156           <name>!hadoop.profile</name>
157         </property>
158       </activation>
159       <dependencies>
160         <dependency>
161           <groupId>com.github.stephenc.findbugs</groupId>
162           <artifactId>findbugs-annotations</artifactId>
163           <optional>true</optional>
164         </dependency>
165         <dependency>
166           <groupId>org.apache.hadoop</groupId>
167           <artifactId>hadoop-common</artifactId>
168           <exclusions>
169             <exclusion>
170               <groupId>net.java.dev.jets3t</groupId>
171               <artifactId>jets3t</artifactId>
172             </exclusion>
173             <exclusion>
174               <groupId>javax.servlet.jsp</groupId>
175               <artifactId>jsp-api</artifactId>
176             </exclusion>
177             <exclusion>
178               <groupId>org.mortbay.jetty</groupId>
179               <artifactId>jetty</artifactId>
180             </exclusion>
181             <exclusion>
182               <groupId>com.sun.jersey</groupId>
183               <artifactId>jersey-server</artifactId>
184             </exclusion>
185             <exclusion>
186               <groupId>com.sun.jersey</groupId>
187               <artifactId>jersey-core</artifactId>
188             </exclusion>
189             <exclusion>
190               <groupId>com.sun.jersey</groupId>
191               <artifactId>jersey-json</artifactId>
192             </exclusion>
193             <exclusion>
194               <groupId>javax.servlet</groupId>
195               <artifactId>servlet-api</artifactId>
196             </exclusion>
197             <exclusion>
198               <groupId>tomcat</groupId>
199               <artifactId>jasper-compiler</artifactId>
200             </exclusion>
201             <exclusion>
202               <groupId>tomcat</groupId>
203               <artifactId>jasper-runtime</artifactId>
204             </exclusion>
205             <exclusion>
206               <groupId>com.google.code.findbugs</groupId>
207               <artifactId>jsr305</artifactId>
208             </exclusion>
209           </exclusions>
210         </dependency>
211       </dependencies>
212     </profile>
213     <!--
214       profile for building against Hadoop 3.0.x. Activate using:
215        mvn -Dhadoop.profile=3.0
216     -->
217     <profile>
218       <id>hadoop-3.0</id>
219       <activation>
220         <property>
221           <name>hadoop.profile</name>
222           <value>3.0</value>
223         </property>
224       </activation>
225       <properties>
226         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
227       </properties>
228       <dependencies>
229         <dependency>
230           <groupId>org.apache.hadoop</groupId>
231           <artifactId>hadoop-common</artifactId>
232         </dependency>
233       </dependencies>
234     </profile>
235     <profile>
236       <id>eclipse-specific</id>
237       <activation>
238         <property>
239           <name>m2e.version</name>
240         </property>
241       </activation>
242       <build>
243         <pluginManagement>
244           <plugins>
245             <!--This plugin's configuration is used to store Eclipse m2e settings
246                  only. It has no influence on the Maven build itself.-->
247             <plugin>
248               <groupId>org.eclipse.m2e</groupId>
249               <artifactId>lifecycle-mapping</artifactId>
250               <configuration>
251                 <lifecycleMappingMetadata>
252                   <pluginExecutions>
253                   </pluginExecutions>
254                 </lifecycleMappingMetadata>
255               </configuration>
256             </plugin>
257           </plugins>
258         </pluginManagement>
259       </build>
260     </profile>
261   </profiles>
262 </project>