HBASE-20598 Upgrade to JRuby 9.2
[hbase.git] / hbase-endpoint / pom.xml
blob09558d47508c7d521b667cda297d766ae75c06a8
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-endpoint</artifactId>
30   <name>Apache HBase - Coprocessor Endpoint</name>
31   <description>HBase Coprocessor Endpoint implementations</description>
32   <!--REMOVE-->
33   <properties>
34     <maven.javadoc.skip>true</maven.javadoc.skip>
35   </properties>
36   <build>
37     <plugins>
38       <!-- Make a jar and put the sources in the jar -->
39       <plugin>
40         <groupId>org.apache.maven.plugins</groupId>
41         <artifactId>maven-source-plugin</artifactId>
42       </plugin>
43       <plugin>
44         <!--Make it so assembly:single does nothing in here-->
45         <artifactId>maven-assembly-plugin</artifactId>
46         <configuration>
47           <skipAssembly>true</skipAssembly>
48         </configuration>
49       </plugin>
50       <plugin>
51         <groupId>net.revelc.code</groupId>
52         <artifactId>warbucks-maven-plugin</artifactId>
53       </plugin>
54       <plugin>
55         <groupId>org.apache.maven.plugins</groupId>
56         <artifactId>maven-checkstyle-plugin</artifactId>
57         <configuration>
58             <failOnViolation>true</failOnViolation>
59         </configuration>
60       </plugin>
61     </plugins>
62   </build>
63   <dependencies>
64     <dependency>
65       <groupId>org.apache.hbase.thirdparty</groupId>
66       <artifactId>hbase-shaded-protobuf</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>org.apache.hbase.thirdparty</groupId>
70       <artifactId>hbase-shaded-miscellaneous</artifactId>
71     </dependency>
72     <dependency>
73       <groupId>org.apache.hbase</groupId>
74       <artifactId>hbase-annotations</artifactId>
75       <type>test-jar</type>
76       <scope>test</scope>
77     </dependency>
78     <dependency>
79       <groupId>org.apache.hbase</groupId>
80       <artifactId>hbase-logging</artifactId>
81       <type>test-jar</type>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.apache.hbase</groupId>
86       <artifactId>hbase-common</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.apache.hbase</groupId>
90       <artifactId>hbase-common</artifactId>
91       <type>test-jar</type>
92       <scope>test</scope>
93     </dependency>
94     <dependency>
95       <groupId>org.apache.hbase</groupId>
96       <artifactId>hbase-hadoop-compat</artifactId>
97     </dependency>
98     <dependency>
99       <groupId>org.apache.hbase</groupId>
100       <artifactId>hbase-hadoop-compat</artifactId>
101       <type>test-jar</type>
102       <scope>test</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.apache.hbase</groupId>
106       <artifactId>hbase-protocol-shaded</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.apache.hbase</groupId>
110       <artifactId>hbase-client</artifactId>
111     </dependency>
112     <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
113     <dependency>
114       <groupId>org.apache.hbase</groupId>
115       <artifactId>hbase-zookeeper</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.apache.hbase</groupId>
119       <artifactId>hbase-zookeeper</artifactId>
120       <type>test-jar</type>
121       <scope>test</scope>
122     </dependency>
123     <dependency>
124       <groupId>org.bouncycastle</groupId>
125       <artifactId>bcprov-jdk15on</artifactId>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.apache.hbase</groupId>
130       <artifactId>hbase-server</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.apache.hbase</groupId>
134       <artifactId>hbase-server</artifactId>
135       <type>test-jar</type>
136       <scope>test</scope>
137     </dependency>
138     <dependency>
139       <groupId>org.apache.hbase</groupId>
140       <artifactId>hbase-asyncfs</artifactId>
141       <type>test-jar</type>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.apache.hbase</groupId>
146       <artifactId>hbase-http</artifactId>
147       <type>test-jar</type>
148       <scope>test</scope>
149     </dependency>
150     <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
151     <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
152     <dependency>
153       <groupId>org.apache.hbase</groupId>
154       <artifactId>hbase-mapreduce</artifactId>
155     </dependency>
156     <dependency>
157       <groupId>org.apache.hbase</groupId>
158       <artifactId>hbase-mapreduce</artifactId>
159       <type>test-jar</type>
160       <scope>test</scope>
161     </dependency>
162     <dependency>
163       <groupId>org.apache.hadoop</groupId>
164       <artifactId>hadoop-minikdc</artifactId>
165       <scope>test</scope>
166     </dependency>
167     <!-- General dependencies -->
168     <dependency>
169       <groupId>org.slf4j</groupId>
170       <artifactId>slf4j-api</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.apache.curator</groupId>
174       <artifactId>curator-client</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>junit</groupId>
178       <artifactId>junit</artifactId>
179       <scope>test</scope>
180     </dependency>
181     <dependency>
182       <groupId>org.mockito</groupId>
183       <artifactId>mockito-core</artifactId>
184       <scope>test</scope>
185     </dependency>
186     <dependency>
187       <groupId>org.slf4j</groupId>
188       <artifactId>jcl-over-slf4j</artifactId>
189       <scope>test</scope>
190     </dependency>
191     <dependency>
192       <groupId>org.slf4j</groupId>
193       <artifactId>jul-to-slf4j</artifactId>
194       <scope>test</scope>
195     </dependency>
196     <dependency>
197       <groupId>org.slf4j</groupId>
198       <artifactId>slf4j-log4j12</artifactId>
199       <scope>test</scope>
200     </dependency>
201     <dependency>
202       <groupId>log4j</groupId>
203       <artifactId>log4j</artifactId>
204       <scope>test</scope>
205     </dependency>
206   </dependencies>
207   <profiles>
208     <!-- Skip the tests in this module -->
209     <profile>
210       <id>skipRpcTests</id>
211       <activation>
212         <property>
213           <name>skipRpcTests</name>
214         </property>
215       </activation>
216       <properties>
217         <surefire.skipFirstPart>true</surefire.skipFirstPart>
218         <surefire.skipSecondPart>true</surefire.skipSecondPart>
219       </properties>
220     </profile>
221     <!-- Profiles for building against different hadoop versions -->
222     <!-- There are a lot of common dependencies used here, should investigate
223     if we can combine these profiles somehow -->
224     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
225     <profile>
226       <id>hadoop-3.0</id>
227       <activation>
228         <property><name>!hadoop.profile</name></property>
229       </activation>
230       <dependencies>
231         <dependency>
232           <groupId>org.apache.hadoop</groupId>
233           <artifactId>hadoop-common</artifactId>
234         </dependency>
235         <dependency>
236           <groupId>org.apache.hadoop</groupId>
237           <artifactId>hadoop-minicluster</artifactId>
238           <exclusions>
239             <exclusion>
240               <groupId>com.google.guava</groupId>
241               <artifactId>guava</artifactId>
242             </exclusion>
243             <exclusion>
244               <groupId>javax.xml.bind.</groupId>
245               <artifactId>jaxb-api</artifactId>
246             </exclusion>
247             <exclusion>
248               <groupId>javax.ws.rs</groupId>
249               <artifactId>jsr311-api</artifactId>
250             </exclusion>
251           </exclusions>
252         </dependency>
253         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
254         <dependency>
255           <groupId>io.netty</groupId>
256           <artifactId>netty</artifactId>
257           <version>3.6.2.Final</version>
258           <scope>test</scope>
259         </dependency>
260       </dependencies>
261     </profile>
262     <profile>
263       <id>eclipse-specific</id>
264       <activation>
265         <property>
266           <name>m2e.version</name>
267         </property>
268       </activation>
269       <build>
270         <pluginManagement>
271           <plugins>
272             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
273             <plugin>
274               <groupId>org.eclipse.m2e</groupId>
275               <artifactId>lifecycle-mapping</artifactId>
276               <version>1.0.0</version>
277               <configuration>
278                 <lifecycleMappingMetadata>
279                   <pluginExecutions>
280                     <pluginExecution>
281                       <pluginExecutionFilter>
282                         <groupId>org.apache.hadoop</groupId>
283                         <artifactId>hadoop-maven-plugins</artifactId>
284                         <versionRange>[2.0.5-alpha,)</versionRange>
285                         <goals>
286                           <goal>protoc</goal>
287                         </goals>
288                       </pluginExecutionFilter>
289                       <action>
290                         <ignore/>
291                       </action>
292                     </pluginExecution>
293                   </pluginExecutions>
294                 </lifecycleMappingMetadata>
295               </configuration>
296             </plugin>
297           </plugins>
298         </pluginManagement>
299       </build>
300     </profile>
301   </profiles>
302 </project>