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