HBASE-18851 Add "BSD" to the acceptable licenses list
[hbase.git] / hbase-endpoint / pom.xml
blobfdb4784fcca793d0468657f54dbe68b93ef6af9d
1 <?xml version="1.0"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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       <plugin>
39         <groupId>org.apache.maven.plugins</groupId>
40         <artifactId>maven-site-plugin</artifactId>
41         <configuration>
42           <skip>true</skip>
43         </configuration>
44       </plugin>
45       <!-- Make a jar and put the sources in the jar -->
46       <plugin>
47         <groupId>org.apache.maven.plugins</groupId>
48         <artifactId>maven-source-plugin</artifactId>
49       </plugin>
50       <plugin>
51         <!--Make it so assembly:single does nothing in here-->
52         <artifactId>maven-assembly-plugin</artifactId>
53         <configuration>
54           <skipAssembly>true</skipAssembly>
55         </configuration>
56       </plugin>
57       <plugin>
58         <groupId>org.xolstice.maven.plugins</groupId>
59         <artifactId>protobuf-maven-plugin</artifactId>
60         <executions>
61           <execution>
62             <id>compile-protoc</id>
63             <phase>generate-sources</phase>
64             <goals>
65               <goal>compile</goal>
66             </goals>
67              <configuration>
68               <additionalProtoPathElements>
69                 <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
70               </additionalProtoPathElements>
71              </configuration>
72           </execution>
73         </executions>
74       </plugin>
75     </plugins>
76     <pluginManagement>
77       <plugins>
78         <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
79         <plugin>
80           <groupId>org.eclipse.m2e</groupId>
81           <artifactId>lifecycle-mapping</artifactId>
82           <version>1.0.0</version>
83           <configuration>
84             <lifecycleMappingMetadata>
85               <pluginExecutions>
86                 <pluginExecution>
87                   <pluginExecutionFilter>
88                     <groupId>org.apache.hadoop</groupId>
89                     <artifactId>hadoop-maven-plugins</artifactId>
90                     <versionRange>[2.0.5-alpha,)</versionRange>
91                     <goals>
92                       <goal>protoc</goal>
93                     </goals>
94                   </pluginExecutionFilter>
95                   <action>
96                     <ignore/>
97                   </action>
98                 </pluginExecution>
99               </pluginExecutions>
100             </lifecycleMappingMetadata>
101           </configuration>
102         </plugin>
103       </plugins>
104     </pluginManagement>
105   </build>
106   <dependencies>
107     <dependency>
108       <groupId>org.apache.hbase.thirdparty</groupId>
109       <artifactId>hbase-shaded-protobuf</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.hbase</groupId>
117       <artifactId>hbase-annotations</artifactId>
118       <type>test-jar</type>
119       <scope>test</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.apache.hbase</groupId>
123       <artifactId>hbase-common</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.apache.hbase</groupId>
127       <artifactId>hbase-common</artifactId>
128       <type>test-jar</type>
129       <scope>test</scope>
130     </dependency>
131     <dependency>
132       <groupId>org.apache.hbase</groupId>
133       <artifactId>hbase-hadoop-compat</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.apache.hbase</groupId>
137       <artifactId>hbase-hadoop-compat</artifactId>
138       <type>test-jar</type>
139       <scope>test</scope>
140     </dependency>
141     <dependency>
142       <groupId>org.apache.hbase</groupId>
143       <artifactId>${compat.module}</artifactId>
144       <version>${project.version}</version>
145     </dependency>
146     <dependency>
147       <groupId>org.apache.hbase</groupId>
148       <artifactId>${compat.module}</artifactId>
149       <version>${project.version}</version>
150       <type>test-jar</type>
151       <scope>test</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.apache.hbase</groupId>
155       <artifactId>hbase-protocol</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.apache.hbase</groupId>
159       <artifactId>hbase-protocol-shaded</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.apache.hbase</groupId>
163       <artifactId>hbase-client</artifactId>
164     </dependency>
165     <!--Some of the CPEPs use hbase server-side internals; they shouldn't!
166            -->
167     <dependency>
168       <groupId>org.apache.hbase</groupId>
169       <artifactId>hbase-server</artifactId>
170     </dependency>
171     <dependency>
172       <groupId>org.apache.hbase</groupId>
173       <artifactId>hbase-server</artifactId>
174       <type>test-jar</type>
175       <scope>test</scope>
176     </dependency>
177     <!-- The coprocessor.Export needs mapreduce.Import and mapreduce.Export to run the unit tests -->
178     <!-- see org.apache.hadoop.hbase.coprocessor.TestImportExport -->
179     <dependency>
180       <groupId>org.apache.hbase</groupId>
181       <artifactId>hbase-mapreduce</artifactId>
182     </dependency>
183     <dependency>
184       <groupId>org.apache.hbase</groupId>
185       <artifactId>hbase-mapreduce</artifactId>
186       <type>test-jar</type>
187       <scope>test</scope>
188     </dependency>
189     <dependency>
190       <groupId>org.apache.hadoop</groupId>
191       <artifactId>hadoop-minikdc</artifactId>
192       <scope>test</scope>
193     </dependency>
194     <!-- General dependencies -->
195     <dependency>
196       <groupId>commons-logging</groupId>
197       <artifactId>commons-logging</artifactId>
198     </dependency>
199     <dependency>
200       <groupId>org.apache.curator</groupId>
201       <artifactId>curator-client</artifactId>
202     </dependency>
203     <dependency>
204       <groupId>junit</groupId>
205       <artifactId>junit</artifactId>
206       <scope>test</scope>
207     </dependency>
208     <dependency>
209       <groupId>org.mockito</groupId>
210       <artifactId>mockito-all</artifactId>
211       <scope>test</scope>
212     </dependency>
213   </dependencies>
214   <profiles>
215     <!-- Skip the tests in this module -->
216     <profile>
217       <id>skipRpcTests</id>
218       <activation>
219         <property>
220           <name>skipRpcTests</name>
221         </property>
222       </activation>
223       <properties>
224         <surefire.skipFirstPart>true</surefire.skipFirstPart>
225         <surefire.skipSecondPart>true</surefire.skipSecondPart>
226       </properties>
227     </profile>
228     <!-- Profiles for building against different hadoop versions -->
229     <!-- There are a lot of common dependencies used here, should investigate
230     if we can combine these profiles somehow -->
231     <!-- profile for building against Hadoop 2.x.  This is the default.  -->
232     <profile>
233       <id>hadoop-2.0</id>
234       <activation>
235         <property>
236           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
237           <!--h2-->
238           <name>!hadoop.profile</name>
239         </property>
240       </activation>
241       <dependencies>
242         <dependency>
243           <groupId>org.apache.hadoop</groupId>
244           <artifactId>hadoop-common</artifactId>
245         </dependency>
246         <dependency>
247           <groupId>org.apache.hadoop</groupId>
248           <artifactId>hadoop-auth</artifactId>
249         </dependency>
250         <dependency>
251           <groupId>org.apache.hadoop</groupId>
252           <artifactId>hadoop-client</artifactId>
253           <exclusions>
254             <exclusion>
255               <groupId>com.google.guava</groupId>
256               <artifactId>guava</artifactId>
257             </exclusion>
258           </exclusions>
259         </dependency>
260         <dependency>
261           <groupId>org.apache.hadoop</groupId>
262           <artifactId>hadoop-hdfs</artifactId>
263           <exclusions>
264             <exclusion>
265               <groupId>com.google.guava</groupId>
266               <artifactId>guava</artifactId>
267             </exclusion>
268           </exclusions>
269         </dependency>
270         <dependency>
271           <groupId>org.apache.hadoop</groupId>
272           <artifactId>hadoop-hdfs</artifactId>
273           <type>test-jar</type>
274           <scope>test</scope>
275           <exclusions>
276             <exclusion>
277               <groupId>com.google.guava</groupId>
278               <artifactId>guava</artifactId>
279             </exclusion>
280           </exclusions>
281         </dependency>
282         <dependency>
283           <groupId>org.apache.hadoop</groupId>
284           <artifactId>hadoop-minicluster</artifactId>
285           <scope>test</scope>
286           <exclusions>
287             <exclusion>
288               <groupId>com.google.guava</groupId>
289               <artifactId>guava</artifactId>
290             </exclusion>
291           </exclusions>
292         </dependency>
293         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
294         <dependency>
295           <groupId>io.netty</groupId>
296           <artifactId>netty</artifactId>
297           <version>${netty.hadoop.version}</version>
298           <scope>test</scope>
299         </dependency>
300       </dependencies>
301     </profile>
302     <!--
303       profile for building against Hadoop 3.0.x. Activate using:
304        mvn -Dhadoop.profile=3.0
305     -->
306     <profile>
307       <id>hadoop-3.0</id>
308       <activation>
309         <property>
310           <name>hadoop.profile</name>
311           <value>3.0</value>
312         </property>
313       </activation>
314       <properties>
315         <hadoop.version>${hadoop-three.version}</hadoop.version>
316       </properties>
317       <dependencies>
318         <dependency>
319           <groupId>org.apache.hadoop</groupId>
320           <artifactId>hadoop-common</artifactId>
321         </dependency>
322         <dependency>
323           <groupId>org.apache.hadoop</groupId>
324           <artifactId>hadoop-minicluster</artifactId>
325           <exclusions>
326             <exclusion>
327               <groupId>com.google.guava</groupId>
328               <artifactId>guava</artifactId>
329             </exclusion>
330           </exclusions>
331         </dependency>
332         <!-- Hadoop needs Netty 3.x at test scope for the minicluster -->
333         <dependency>
334           <groupId>io.netty</groupId>
335           <artifactId>netty</artifactId>
336           <version>3.6.2.Final</version>
337           <scope>test</scope>
338         </dependency>
339       </dependencies>
340     </profile>
341   </profiles>
342 </project>