HBASE-24130 rat plugin complains about having an unlicensed file (#1445)
[hbase.git] / hbase-endpoint / pom.xml
blob1bd867363f642387972295cc3712bce6aa72327f
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-common</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>org.apache.hbase</groupId>
84       <artifactId>hbase-common</artifactId>
85       <type>test-jar</type>
86       <scope>test</scope>
87     </dependency>
88     <dependency>
89       <groupId>org.apache.hbase</groupId>
90       <artifactId>hbase-hadoop-compat</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.apache.hbase</groupId>
94       <artifactId>hbase-hadoop-compat</artifactId>
95       <type>test-jar</type>
96       <scope>test</scope>
97     </dependency>
98     <dependency>
99       <groupId>org.apache.hbase</groupId>
100       <artifactId>${compat.module}</artifactId>
101       <version>${project.version}</version>
102     </dependency>
103     <dependency>
104       <groupId>org.apache.hbase</groupId>
105       <artifactId>${compat.module}</artifactId>
106       <version>${project.version}</version>
107       <type>test-jar</type>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.apache.hbase</groupId>
112       <artifactId>hbase-protocol-shaded</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.apache.hbase</groupId>
116       <artifactId>hbase-client</artifactId>
117     </dependency>
118     <!--Some of the CPEPs use hbase server-side internals; they shouldn't!-->
119     <dependency>
120       <groupId>org.apache.hbase</groupId>
121       <artifactId>hbase-zookeeper</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.apache.hbase</groupId>
125       <artifactId>hbase-zookeeper</artifactId>
126       <type>test-jar</type>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.bouncycastle</groupId>
131       <artifactId>bcprov-jdk15on</artifactId>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.apache.hbase</groupId>
136       <artifactId>hbase-server</artifactId>
137     </dependency>
138     <dependency>
139       <groupId>org.apache.hbase</groupId>
140       <artifactId>hbase-server</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   </dependencies>
187   <profiles>
188     <!-- Skip the tests in this module -->
189     <profile>
190       <id>skipRpcTests</id>
191       <activation>
192         <property>
193           <name>skipRpcTests</name>
194         </property>
195       </activation>
196       <properties>
197         <surefire.skipFirstPart>true</surefire.skipFirstPart>
198         <surefire.skipSecondPart>true</surefire.skipSecondPart>
199       </properties>
200     </profile>
201     <!-- Profiles for building against different hadoop versions -->
202     <!-- There are a lot of common dependencies used here, should investigate
203     if we can combine these profiles somehow -->
204     <!-- profile for building against Hadoop 2.x.  This is the default.  -->
205     <profile>
206       <id>hadoop-2.0</id>
207       <activation>
208         <property>
209           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
210           <!--h2-->
211           <name>!hadoop.profile</name>
212         </property>
213       </activation>
214       <dependencies>
215         <dependency>
216           <groupId>org.apache.hadoop</groupId>
217           <artifactId>hadoop-common</artifactId>
218         </dependency>
219         <dependency>
220           <groupId>org.apache.hadoop</groupId>
221           <artifactId>hadoop-auth</artifactId>
222         </dependency>
223         <dependency>
224           <groupId>org.apache.hadoop</groupId>
225           <artifactId>hadoop-client</artifactId>
226           <exclusions>
227             <exclusion>
228               <groupId>com.google.guava</groupId>
229               <artifactId>guava</artifactId>
230             </exclusion>
231           </exclusions>
232         </dependency>
233         <dependency>
234           <groupId>org.apache.hadoop</groupId>
235           <artifactId>hadoop-hdfs</artifactId>
236         </dependency>
237         <dependency>
238           <groupId>org.apache.hadoop</groupId>
239           <artifactId>hadoop-hdfs</artifactId>
240           <type>test-jar</type>
241           <scope>test</scope>
242         </dependency>
243         <dependency>
244           <groupId>org.apache.hadoop</groupId>
245           <artifactId>hadoop-minicluster</artifactId>
246           <scope>test</scope>
247           <exclusions>
248             <exclusion>
249               <groupId>com.google.guava</groupId>
250               <artifactId>guava</artifactId>
251             </exclusion>
252             <exclusion>
253               <groupId>org.apache.zookeeper</groupId>
254               <artifactId>zookeeper</artifactId>
255             </exclusion>
256           </exclusions>
257         </dependency>
258         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
259         <dependency>
260           <groupId>io.netty</groupId>
261           <artifactId>netty</artifactId>
262           <version>${netty.hadoop.version}</version>
263           <scope>test</scope>
264         </dependency>
265       </dependencies>
266     </profile>
267     <!--
268       profile for building against Hadoop 3.0.x. Activate using:
269        mvn -Dhadoop.profile=3.0
270     -->
271     <profile>
272       <id>hadoop-3.0</id>
273       <activation>
274         <property>
275           <name>hadoop.profile</name>
276           <value>3.0</value>
277         </property>
278       </activation>
279       <dependencies>
280         <dependency>
281           <groupId>org.apache.hadoop</groupId>
282           <artifactId>hadoop-common</artifactId>
283         </dependency>
284         <dependency>
285           <groupId>org.apache.hadoop</groupId>
286           <artifactId>hadoop-minicluster</artifactId>
287           <exclusions>
288             <exclusion>
289               <groupId>com.google.guava</groupId>
290               <artifactId>guava</artifactId>
291             </exclusion>
292           </exclusions>
293         </dependency>
294         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
295         <dependency>
296           <groupId>io.netty</groupId>
297           <artifactId>netty</artifactId>
298           <version>3.6.2.Final</version>
299           <scope>test</scope>
300         </dependency>
301       </dependencies>
302     </profile>
303     <profile>
304       <id>eclipse-specific</id>
305       <activation>
306         <property>
307           <name>m2e.version</name>
308         </property>
309       </activation>
310       <build>
311         <pluginManagement>
312           <plugins>
313             <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
314             <plugin>
315               <groupId>org.eclipse.m2e</groupId>
316               <artifactId>lifecycle-mapping</artifactId>
317               <version>1.0.0</version>
318               <configuration>
319                 <lifecycleMappingMetadata>
320                   <pluginExecutions>
321                     <pluginExecution>
322                       <pluginExecutionFilter>
323                         <groupId>org.apache.hadoop</groupId>
324                         <artifactId>hadoop-maven-plugins</artifactId>
325                         <versionRange>[2.0.5-alpha,)</versionRange>
326                         <goals>
327                           <goal>protoc</goal>
328                         </goals>
329                       </pluginExecutionFilter>
330                       <action>
331                         <ignore/>
332                       </action>
333                     </pluginExecution>
334                   </pluginExecutions>
335                 </lifecycleMappingMetadata>
336               </configuration>
337             </plugin>
338           </plugins>
339         </pluginManagement>
340       </build>
341     </profile>
342   </profiles>
343 </project>