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