Preparing hbase release 2.4.0RC0; tagging and updates to CHANGES.md and RELEASENOTES.md
[hbase.git] / hbase-rsgroup / pom.xml
blobb5255717e562524cdf0db67dbc60ce5ac310c918
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>2.4.0</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           </execution>
57         </executions>
58       </plugin>
59       <plugin>
60         <groupId>org.apache.maven.plugins</groupId>
61         <artifactId>maven-checkstyle-plugin</artifactId>
62         <configuration>
63           <failOnViolation>true</failOnViolation>
64         </configuration>
65       </plugin>
66       <plugin>
67         <groupId>net.revelc.code</groupId>
68         <artifactId>warbucks-maven-plugin</artifactId>
69       </plugin>
70     </plugins>
71   </build>
72   <dependencies>
73     <!-- Intra-project dependencies -->
74     <dependency>
75       <groupId>org.apache.hbase</groupId>
76       <artifactId>hbase-annotations</artifactId>
77       <type>test-jar</type>
78       <scope>test</scope>
79     </dependency>
80     <dependency>
81       <groupId>org.apache.hbase</groupId>
82       <artifactId>hbase-logging</artifactId>
83       <type>test-jar</type>
84       <scope>test</scope>
85     </dependency>
86     <dependency>
87       <groupId>org.apache.hbase</groupId>
88       <artifactId>hbase-client</artifactId>
89     </dependency>
90     <dependency>
91       <groupId>org.apache.hbase</groupId>
92       <artifactId>hbase-server</artifactId>
93       <exclusions>
94         <exclusion>
95           <groupId>javax.xml.bind</groupId>
96           <artifactId>jaxb-api</artifactId>
97         </exclusion>
98         <exclusion>
99           <groupId>javax.ws.rs</groupId>
100           <artifactId>jsr311-api</artifactId>
101         </exclusion>
102       </exclusions>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-common</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.apache.hbase</groupId>
110       <artifactId>hbase-procedure</artifactId>
111     </dependency>
112     <dependency>
113       <groupId>org.apache.hbase</groupId>
114       <artifactId>hbase-procedure</artifactId>
115       <type>test-jar</type>
116       <scope>test</scope>
117     </dependency>
118     <dependency>
119       <groupId>org.apache.hbase</groupId>
120       <artifactId>hbase-protocol</artifactId>
121     </dependency>
122     <dependency>
123       <groupId>org.apache.hbase</groupId>
124       <artifactId>hbase-protocol-shaded</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.apache.hbase</groupId>
128       <artifactId>hbase-testing-util</artifactId>
129       <scope>test</scope>
130       <exclusions>
131         <exclusion>
132           <groupId>com.google.guava</groupId>
133           <artifactId>guava</artifactId>
134         </exclusion>
135         <exclusion>
136           <groupId>javax.xml.bind</groupId>
137           <artifactId>jaxb-api</artifactId>
138         </exclusion>
139       </exclusions>
140     </dependency>
141     <!-- General dependencies -->
142     <dependency>
143       <groupId>com.github.stephenc.findbugs</groupId>
144       <artifactId>findbugs-annotations</artifactId>
145       <scope>compile</scope>
146       <optional>true</optional>
147     </dependency>
148     <dependency>
149       <groupId>org.apache.commons</groupId>
150       <artifactId>commons-lang3</artifactId>
151     </dependency>
152     <dependency>
153       <groupId>org.slf4j</groupId>
154       <artifactId>slf4j-api</artifactId>
155     </dependency>
156     <dependency>
157       <groupId>org.apache.hbase.thirdparty</groupId>
158       <artifactId>hbase-shaded-miscellaneous</artifactId>
159     </dependency>
160     <dependency>
161       <groupId>com.google.protobuf</groupId>
162       <artifactId>protobuf-java</artifactId>
163     </dependency>
164     <dependency>
165       <groupId>org.apache.zookeeper</groupId>
166       <artifactId>zookeeper</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>org.mockito</groupId>
170       <artifactId>mockito-core</artifactId>
171       <scope>test</scope>
172     </dependency>
173     <dependency>
174       <groupId>org.slf4j</groupId>
175       <artifactId>jcl-over-slf4j</artifactId>
176       <scope>test</scope>
177     </dependency>
178     <dependency>
179       <groupId>org.slf4j</groupId>
180       <artifactId>jul-to-slf4j</artifactId>
181       <scope>test</scope>
182     </dependency>
183     <dependency>
184       <groupId>org.slf4j</groupId>
185       <artifactId>slf4j-log4j12</artifactId>
186       <scope>test</scope>
187     </dependency>
188     <dependency>
189       <groupId>log4j</groupId>
190       <artifactId>log4j</artifactId>
191       <scope>test</scope>
192     </dependency>
193     <dependency>
194       <groupId>junit</groupId>
195       <artifactId>junit</artifactId>
196       <scope>test</scope>
197     </dependency>
198   </dependencies>
199   <profiles>
200     <!-- Skip the tests in this module -->
201     <profile>
202       <id>skipRSGroupTests</id>
203       <activation>
204         <property>
205           <name>skipRSGroupTests</name>
206         </property>
207       </activation>
208       <properties>
209         <surefire.skipFirstPart>true</surefire.skipFirstPart>
210         <surefire.skipSecondPart>true</surefire.skipSecondPart>
211       </properties>
212     </profile>
213     <!-- profile against Hadoop 2.x: This is the default. -->
214     <profile>
215       <id>hadoop-2.0</id>
216       <activation>
217         <property>
218           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
219           <!--h2-->
220           <name>!hadoop.profile</name>
221         </property>
222       </activation>
223       <dependencies>
224         <dependency>
225           <groupId>org.apache.hadoop</groupId>
226           <artifactId>hadoop-common</artifactId>
227           <exclusions>
228             <exclusion>
229               <groupId>net.java.dev.jets3t</groupId>
230               <artifactId>jets3t</artifactId>
231             </exclusion>
232             <exclusion>
233               <groupId>javax.servlet.jsp</groupId>
234               <artifactId>jsp-api</artifactId>
235             </exclusion>
236             <exclusion>
237               <groupId>org.mortbay.jetty</groupId>
238               <artifactId>jetty</artifactId>
239             </exclusion>
240             <exclusion>
241               <groupId>com.sun.jersey</groupId>
242               <artifactId>jersey-server</artifactId>
243             </exclusion>
244             <exclusion>
245               <groupId>com.sun.jersey</groupId>
246               <artifactId>jersey-core</artifactId>
247             </exclusion>
248             <exclusion>
249               <groupId>com.sun.jersey</groupId>
250               <artifactId>jersey-json</artifactId>
251             </exclusion>
252             <exclusion>
253               <groupId>javax.servlet</groupId>
254               <artifactId>servlet-api</artifactId>
255             </exclusion>
256             <exclusion>
257               <groupId>tomcat</groupId>
258               <artifactId>jasper-compiler</artifactId>
259             </exclusion>
260             <exclusion>
261               <groupId>tomcat</groupId>
262               <artifactId>jasper-runtime</artifactId>
263             </exclusion>
264             <exclusion>
265               <groupId>com.google.code.findbugs</groupId>
266               <artifactId>jsr305</artifactId>
267             </exclusion>
268           </exclusions>
269         </dependency>
270       </dependencies>
271     </profile>
272     <!--
273       profile for building against Hadoop 3.0.x. Activate using:
274        mvn -Dhadoop.profile=3.0
275     -->
276     <profile>
277       <id>hadoop-3.0</id>
278       <activation>
279         <property>
280           <name>hadoop.profile</name>
281           <value>3.0</value>
282         </property>
283       </activation>
284       <properties>
285         <hadoop.version>3.0-SNAPSHOT</hadoop.version>
286       </properties>
287       <dependencies>
288         <dependency>
289           <groupId>org.apache.hadoop</groupId>
290           <artifactId>hadoop-common</artifactId>
291         </dependency>
292       </dependencies>
293     </profile>
294     <profile>
295       <id>eclipse-specific</id>
296       <activation>
297         <property>
298           <name>m2e.version</name>
299         </property>
300       </activation>
301       <build>
302         <pluginManagement>
303           <plugins>
304             <!--This plugin's configuration is used to store Eclipse m2e settings
305                  only. It has no influence on the Maven build itself.-->
306             <plugin>
307               <groupId>org.eclipse.m2e</groupId>
308               <artifactId>lifecycle-mapping</artifactId>
309               <configuration>
310                 <lifecycleMappingMetadata>
311                   <pluginExecutions>
312                   </pluginExecutions>
313                 </lifecycleMappingMetadata>
314               </configuration>
315             </plugin>
316           </plugins>
317         </pluginManagement>
318       </build>
319     </profile>
320   </profiles>
321 </project>