HBASE-25115 HFilePrettyPrinter can't seek to the row which is the first row of a...
[hbase.git] / pom.xml
blob088a7e4898e4d159942f3609cf0916a73de0f650
1 <?xml version="1.0" encoding="UTF-8"?>
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/maven-v4_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  */
23   ON MVN COMPILE NOT WORKING
25   If you wondering why 'mvn compile' does not work building HBase
26   (in particular, if you are doing it for the first time), instead do
27   'mvn package'.  If you are interested in the full story, see
28   https://issues.apache.org/jira/browse/HBASE-6795.
30 -->
31   <modelVersion>4.0.0</modelVersion>
32   <parent>
33     <groupId>org.apache</groupId>
34     <artifactId>apache</artifactId>
35     <version>23</version>
36     <relativePath/>
37     <!-- no parent resolution -->
38   </parent>
39   <groupId>org.apache.hbase</groupId>
40   <artifactId>hbase</artifactId>
41   <packaging>pom</packaging>
42   <version>3.0.0-SNAPSHOT</version>
43   <name>Apache HBase</name>
44   <description>
45     Apache HBase™ is the Hadoop database. Use it when you need
46     random, realtime read/write access to your Big Data.
47     This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48     of commodity hardware.
49   </description>
50   <url>https://hbase.apache.org</url>
51   <inceptionYear>2007</inceptionYear>
52   <!-- Set here so we can consistently use the correct name, even on branches with
53        an ASF parent pom older than v15. Also uses the url from v18.
54     -->
55   <licenses>
56     <license>
57       <name>Apache License, Version 2.0</name>
58       <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59       <distribution>repo</distribution>
60     </license>
61   </licenses>
63   <modules>
64     <module>hbase-build-configuration</module>
65     <module>hbase-replication</module>
66     <module>hbase-balancer</module>
67     <module>hbase-mapreduce</module>
68     <module>hbase-resource-bundle</module>
69     <module>hbase-http</module>
70     <module>hbase-server</module>
71     <module>hbase-thrift</module>
72     <module>hbase-shell</module>
73     <module>hbase-protocol-shaded</module>
74     <module>hbase-client</module>
75     <module>hbase-hadoop-compat</module>
76     <module>hbase-common</module>
77     <module>hbase-procedure</module>
78     <module>hbase-endpoint</module>
79     <module>hbase-it</module>
80     <module>hbase-examples</module>
81     <module>hbase-assembly</module>
82     <module>hbase-testing-util</module>
83     <module>hbase-annotations</module>
84     <module>hbase-rest</module>
85     <module>hbase-checkstyle</module>
86     <module>hbase-external-blockcache</module>
87     <module>hbase-shaded</module>
88     <module>hbase-archetypes</module>
89     <module>hbase-metrics-api</module>
90     <module>hbase-metrics</module>
91     <module>hbase-backup</module>
92     <module>hbase-zookeeper</module>
93     <module>hbase-hbtop</module>
94     <module>hbase-asyncfs</module>
95     <module>hbase-logging</module>
96   </modules>
97   <scm>
98     <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
99     <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
100     <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
101   </scm>
102   <issueManagement>
103     <system>JIRA</system>
104     <url>https://issues.apache.org/jira/browse/HBASE</url>
105   </issueManagement>
106   <mailingLists>
107     <mailingList>
108       <name>User List</name>
109       <subscribe>user-subscribe@hbase.apache.org</subscribe>
110       <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
111       <post>user@hbase.apache.org</post>
112       <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
113       <otherArchives>
114         <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
115         <otherArchive>https://search-hadoop.com/?q=&amp;fc_project=HBase</otherArchive>
116       </otherArchives>
117     </mailingList>
118     <mailingList>
119       <name>Developer List</name>
120       <subscribe>dev-subscribe@hbase.apache.org</subscribe>
121       <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
122       <post>dev@hbase.apache.org</post>
123       <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
124       <otherArchives>
125         <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
126         <otherArchive>https://search-hadoop.com/?q=&amp;fc_project=HBase</otherArchive>
127       </otherArchives>
128     </mailingList>
129     <mailingList>
130       <name>Commits List</name>
131       <subscribe>commits-subscribe@hbase.apache.org</subscribe>
132       <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
133       <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
134     </mailingList>
135     <mailingList>
136       <name>Issues List</name>
137       <subscribe>issues-subscribe@hbase.apache.org</subscribe>
138       <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
139       <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
140     </mailingList>
141     <mailingList>
142       <name>Builds List</name>
143       <subscribe>builds-subscribe@hbase.apache.org</subscribe>
144       <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
145       <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
146     </mailingList>
147     <mailingList>
148       <name>User (ZH) List</name>
149       <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
150       <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
151       <post>user-zh@hbase.apache.org</post>
152       <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
153     </mailingList>
154   </mailingLists>
155   <developers>
156     <developer>
157       <id>achouhan</id>
158       <name>Abhishek Singh Chouhan</name>
159       <email>achouhan@apache.org</email>
160       <timezone>+5</timezone>
161     </developer>
162     <developer>
163       <id>acube123</id>
164       <name>Amitanand S. Aiyer</name>
165       <email>acube123@apache.org</email>
166       <timezone>-8</timezone>
167     </developer>
168     <developer>
169       <id>allan163</id>
170       <name>Allan Yang</name>
171       <email>allan163@apache.org</email>
172       <timezone>+8</timezone>
173     </developer>
174     <developer>
175       <id>appy</id>
176       <name>Apekshit Sharma</name>
177       <email>appy@apache.org</email>
178       <timezone>-8</timezone>
179     </developer>
180     <developer>
181       <id>anastasia</id>
182       <name>Anastasia Braginsky</name>
183       <email>anastasia@apache.org</email>
184       <timezone>+2</timezone>
185     </developer>
186     <developer>
187       <id>apurtell</id>
188       <name>Andrew Purtell</name>
189       <email>apurtell@apache.org</email>
190       <timezone>-8</timezone>
191     </developer>
192     <developer>
193       <id>anoopsamjohn</id>
194       <name>Anoop Sam John</name>
195       <email>anoopsamjohn@apache.org</email>
196       <timezone>+5</timezone>
197     </developer>
198     <developer>
199       <id>antonov</id>
200       <name>Mikhail Antonov</name>
201       <email>antonov@apache.org</email>
202       <timezone>-8</timezone>
203     </developer>
204     <developer>
205       <id>ashishsinghi</id>
206       <name>Ashish Singhi</name>
207       <email>ashishsinghi@apache.org</email>
208       <timezone>+5</timezone>
209     </developer>
210     <developer>
211       <id>ashu</id>
212       <name>Ashu Pachauri</name>
213       <email>ashu@apache.org</email>
214       <timezone>+5</timezone>
215     </developer>
216     <developer>
217       <id>bharathv</id>
218       <name>Bharath Vissapragada</name>
219       <email>bharathv@apache.org</email>
220       <timezone>-8</timezone>
221     </developer>
222     <developer>
223       <id>binlijin</id>
224       <name>Lijin Bin</name>
225       <email>binlijin@apache.org</email>
226       <timezone>+8</timezone>
227     </developer>
228     <developer>
229       <id>brfrn169</id>
230       <name>Toshihiro Suzuki</name>
231       <email>brfrn169@apache.org</email>
232       <timezone>+9</timezone>
233     </developer>
234     <developer>
235       <id>busbey</id>
236       <name>Sean Busbey</name>
237       <email>busbey@apache.org</email>
238       <timezone>-6</timezone>
239     </developer>
240     <developer>
241       <id>chenheng</id>
242       <name>Heng Chen</name>
243       <email>chenheng@apache.org</email>
244       <timezone>+8</timezone>
245     </developer>
246     <developer>
247       <id>chia7712</id>
248       <name>Chia-Ping Tsai</name>
249       <email>chia7712@apache.org</email>
250       <timezone>+8</timezone>
251     </developer>
252     <developer>
253       <id>ddas</id>
254       <name>Devaraj Das</name>
255       <email>ddas@apache.org</email>
256       <timezone>-8</timezone>
257     </developer>
258     <developer>
259       <id>dimaspivak</id>
260       <name>Dima Spivak</name>
261       <email>dimaspivak@apache.org</email>
262       <timezone>-8</timezone>
263     </developer>
264     <developer>
265       <id>dmeil</id>
266       <name>Doug Meil</name>
267       <email>dmeil@apache.org</email>
268       <timezone>-5</timezone>
269     </developer>
270     <developer>
271       <id>eclark</id>
272       <name>Elliott Clark</name>
273       <email>eclark@apache.org</email>
274       <timezone>-8</timezone>
275     </developer>
276     <developer>
277       <id>elserj</id>
278       <name>Josh Elser</name>
279       <email>elserj@apache.org</email>
280       <timezone>-5</timezone>
281     </developer>
282     <developer>
283       <id>enis</id>
284       <name>Enis Soztutar</name>
285       <email>enis@apache.org</email>
286       <timezone>-8</timezone>
287     </developer>
288     <developer>
289       <id>eshcar</id>
290       <name>Eshcar Hillel</name>
291       <email>eshcar@apache.org</email>
292       <timezone>+2</timezone>
293     </developer>
294     <developer>
295       <id>fenghh</id>
296       <name>Honghua Feng</name>
297       <email>fenghh@apache.org</email>
298       <timezone>+8</timezone>
299     </developer>
300     <developer>
301       <id>garyh</id>
302       <name>Gary Helmling</name>
303       <email>garyh@apache.org</email>
304       <timezone>-8</timezone>
305     </developer>
306     <developer>
307       <id>gchanan</id>
308       <name>Gregory Chanan</name>
309       <email>gchanan@apache.org</email>
310       <timezone>-8</timezone>
311     </developer>
312     <developer>
313         <id>gxcheng</id>
314         <name>Guangxu Cheng</name>
315         <email>gxcheng@apache.org</email>
316         <timezone>+8</timezone>
317     </developer>
318     <developer>
319       <id>huaxiangsun</id>
320       <name>Huaxiang Sun</name>
321       <email>huaxiangsun@apache.org</email>
322       <timezone>-8</timezone>
323     </developer>
324     <developer>
325       <id>jdcryans</id>
326       <name>Jean-Daniel Cryans</name>
327       <email>jdcryans@apache.org</email>
328       <timezone>-8</timezone>
329     </developer>
330     <developer>
331       <id>jeffreyz</id>
332       <name>Jeffrey Zhong</name>
333       <email>jeffreyz@apache.org</email>
334       <timezone>-8</timezone>
335     </developer>
336     <developer>
337       <id>jerryjch</id>
338       <name>Jing Chen (Jerry) He</name>
339       <email>jerryjch@apache.org</email>
340       <timezone>-8</timezone>
341     </developer>
342     <developer>
343       <id>jyates</id>
344       <name>Jesse Yates</name>
345       <email>jyates@apache.org</email>
346       <timezone>-8</timezone>
347     </developer>
348     <developer>
349       <id>jgray</id>
350       <name>Jonathan Gray</name>
351       <email>jgray@fb.com</email>
352       <timezone>-8</timezone>
353     </developer>
354     <developer>
355       <id>jingchengdu</id>
356       <name>Jingcheng Du</name>
357       <email>jingchengdu@apache.org</email>
358       <timezone>+8</timezone>
359     </developer>
360     <developer>
361       <id>esteban</id>
362       <name>Esteban Gutierrez</name>
363       <email>esteban@apache.org</email>
364       <timezone>-8</timezone>
365     </developer>
366     <developer>
367       <id>janh</id>
368       <name>Jan Hentschel</name>
369       <email>janh@apache.org</email>
370       <timezone>+1</timezone>
371     </developer>
372     <developer>
373       <id>jmhsieh</id>
374       <name>Jonathan Hsieh</name>
375       <email>jmhsieh@apache.org</email>
376       <timezone>-8</timezone>
377     </developer>
378     <developer>
379       <id>jxiang</id>
380       <name>Jimmy Xiang</name>
381       <email>jxiang@apache.org</email>
382       <timezone>-8</timezone>
383     </developer>
384     <developer>
385       <id>kannan</id>
386       <name>Kannan Muthukkaruppan</name>
387       <email>kannan@fb.com</email>
388       <timezone>-8</timezone>
389     </developer>
390     <developer>
391       <id>karthik</id>
392       <name>Karthik Ranganathan</name>
393       <email>kranganathan@fb.com</email>
394       <timezone>-8</timezone>
395     </developer>
396     <developer>
397       <id>larsfrancke</id>
398       <name>Lars Francke</name>
399       <email>larsfrancke@apache.org</email>
400       <timezone>Europe/Berlin</timezone>
401     </developer>
402     <developer>
403       <id>larsgeorge</id>
404       <name>Lars George</name>
405       <email>larsgeorge@apache.org</email>
406       <timezone>+1</timezone>
407     </developer>
408     <developer>
409       <id>larsh</id>
410       <name>Lars Hofhansl</name>
411       <email>larsh@apache.org</email>
412       <timezone>-8</timezone>
413     </developer>
414     <developer>
415       <id>liangxie</id>
416       <name>Liang Xie</name>
417       <email>liangxie@apache.org</email>
418       <timezone>+8</timezone>
419     </developer>
420     <developer>
421       <id>liushaohui</id>
422       <name>Shaohui Liu</name>
423       <email>liushaohui@apache.org</email>
424       <timezone>+8</timezone>
425     </developer>
426     <developer>
427       <id>liyin</id>
428       <name>Liyin Tang</name>
429       <email>liyin.tang@fb.com</email>
430       <timezone>-8</timezone>
431     </developer>
432     <developer>
433       <id>liyu</id>
434       <name>Yu Li</name>
435       <email>liyu@apache.org</email>
436       <timezone>+8</timezone>
437     </developer>
438     <developer>
439       <id>mbautin</id>
440       <name>Mikhail Bautin</name>
441       <email>mbautin@apache.org</email>
442       <timezone>-8</timezone>
443     </developer>
444     <developer>
445       <id>mbertozzi</id>
446       <name>Matteo Bertozzi</name>
447       <email>mbertozzi@apache.org</email>
448       <timezone>0</timezone>
449     </developer>
450     <developer>
451       <id>mdrob</id>
452       <name>Mike Drob</name>
453       <email>mdrob@apache.org</email>
454       <timezone>-5</timezone>
455     </developer>
456     <developer>
457       <id>meszibalu</id>
458       <name>Balazs Meszaros</name>
459       <email>meszibalu@apache.org</email>
460       <timezone>+1</timezone>
461     </developer>
462     <developer>
463       <id>misty</id>
464       <name>Misty Stanley-Jones</name>
465       <email>misty@apache.org</email>
466       <timezone>-8</timezone>
467     </developer>
468     <developer>
469       <id>ndimiduk</id>
470       <name>Nick Dimiduk</name>
471       <email>ndimiduk@apache.org</email>
472       <timezone>-8</timezone>
473     </developer>
474     <developer>
475       <id>nkeywal</id>
476       <name>Nicolas Liochon</name>
477       <email>nkeywal@apache.org</email>
478       <timezone>+1</timezone>
479     </developer>
480     <developer>
481       <id>nspiegelberg</id>
482       <name>Nicolas Spiegelberg</name>
483       <email>nspiegelberg@fb.com</email>
484       <timezone>-8</timezone>
485     </developer>
486     <developer>
487       <id>octo47</id>
488       <name>Andrey Stepachev</name>
489       <email>octo47@gmail.com</email>
490       <timezone>0</timezone>
491     </developer>
492     <developer>
493       <id>openinx</id>
494       <name>Zheng Hu</name>
495       <email>openinx@apache.org</email>
496       <timezone>+8</timezone>
497     </developer>
498     <developer>
499       <id>pankajkumar</id>
500       <name>Pankaj Kumar</name>
501       <email>pankajkumar@apache.org</email>
502       <timezone>+5</timezone>
503     </developer>
504     <developer>
505       <id>psomogyi</id>
506       <name>Peter Somogyi</name>
507       <email>psomogyi@apache.org</email>
508       <timezone>+1</timezone>
509     </developer>
510     <developer>
511       <id>rajeshbabu</id>
512       <name>Rajeshbabu Chintaguntla</name>
513       <email>rajeshbabu@apache.org</email>
514       <timezone>+5</timezone>
515     </developer>
516     <developer>
517       <id>ramkrishna</id>
518       <name>Ramkrishna S Vasudevan</name>
519       <email>ramkrishna@apache.org</email>
520       <timezone>+5</timezone>
521     </developer>
522     <developer>
523       <id>rawson</id>
524       <name>Ryan Rawson</name>
525       <email>rawson@apache.org</email>
526       <timezone>-8</timezone>
527     </developer>
528     <developer>
529       <id>reidchan</id>
530       <name>Reid Chan</name>
531       <email>reidchan@apache.org</email>
532       <timezone>+8</timezone>
533     </developer>
534     <developer>
535       <id>sakthi</id>
536       <name>Sakthi Vel</name>
537       <email>sakthi@apache.org</email>
538       <timezone>-8</timezone>
539     </developer>
540     <developer>
541       <id>sershe</id>
542       <name>Sergey Shelukhin</name>
543       <email>sershe@apache.org</email>
544       <timezone>-8</timezone>
545     </developer>
546     <developer>
547       <id>ssrungarapu</id>
548       <name>Srikanth Srungarapu</name>
549       <email>ssrungarapu@apache.org</email>
550       <timezone>-8</timezone>
551     </developer>
552     <developer>
553       <id>stack</id>
554       <name>Michael Stack</name>
555       <email>stack@apache.org</email>
556       <timezone>-8</timezone>
557     </developer>
558     <developer>
559       <id>syuanjiang</id>
560       <name>Stephen Yuan Jiang</name>
561       <email>syuanjiang@apache.org</email>
562       <timezone>-8</timezone>
563     </developer>
564     <developer>
565       <id>taklwu</id>
566       <name>Tak-Lon (Stephen) Wu</name>
567       <email>taklwu@apache.org</email>
568       <timezone>-8</timezone>
569     </developer>
570     <developer>
571       <id>tedyu</id>
572       <name>Ted Yu</name>
573       <email>yuzhihong@gmail.com</email>
574       <timezone>-8</timezone>
575     </developer>
576     <developer>
577       <id>tianjy</id>
578       <email>tianjy@apache.org</email>
579       <timezone>+8</timezone>
580     </developer>
581     <developer>
582       <id>todd</id>
583       <name>Todd Lipcon</name>
584       <email>todd@apache.org</email>
585       <timezone>-8</timezone>
586     </developer>
587     <developer>
588       <id>toffer</id>
589       <name>Francis Liu</name>
590       <email>toffer@apache.org</email>
591       <timezone>-8</timezone>
592     </developer>
593     <developer>
594       <id>vikasv</id>
595       <name>Vikas Vishwakarma</name>
596       <email>vikasv@apache.org</email>
597       <timezone>+5</timezone>
598     </developer>
599     <developer>
600       <id>virag</id>
601       <name>Virag Kothari</name>
602       <email>virag@yahoo-inc.com</email>
603       <timezone>-8</timezone>
604     </developer>
605     <developer>
606       <id>vjasani</id>
607       <name>Viraj Jasani</name>
608       <email>vjasani@apache.org</email>
609       <timezone>+5</timezone>
610     </developer>
611     <developer>
612       <id>water</id>
613       <name>Xiang Li</name>
614       <email>xiangli@apache.org</email>
615       <timezone>+8</timezone>
616     </developer>
617     <developer>
618       <id>wchevreuil</id>
619       <name>Wellington Chevreuil</name>
620       <email>wchevreuil@apache.org</email>
621       <timezone>0</timezone>
622     </developer>
623     <developer>
624       <id>xucang</id>
625       <name>Xu Cang</name>
626       <email>xucang@apache.org</email>
627       <timezone>-8</timezone>
628     </developer>
629     <developer>
630       <id>yangzhe1991</id>
631       <name>Phil Yang</name>
632       <email>yangzhe1991@apache.org</email>
633       <timezone>+8</timezone>
634     </developer>
635     <developer>
636       <id>zghao</id>
637       <name>Guanghao Zhang</name>
638       <email>zghao@apache.org</email>
639       <timezone>+8</timezone>
640     </developer>
641     <developer>
642       <id>zhangduo</id>
643       <name>Duo Zhang</name>
644       <email>zhangduo@apache.org</email>
645       <timezone>+8</timezone>
646     </developer>
647     <developer>
648       <id>zjushch</id>
649       <name>Chunhui Shen</name>
650       <email>zjushch@apache.org</email>
651       <timezone>+8</timezone>
652     </developer>
653     <developer>
654       <id>churro</id>
655       <name>Rahul Gidwani</name>
656       <email>churro@apache.org</email>
657       <timezone>-8</timezone>
658     </developer>
659     <developer>
660       <id>yiliang</id>
661       <name>Yi Liang</name>
662       <email>yiliang@apache.org</email>
663       <timezone>-8</timezone>
664     </developer>
665     <developer>
666       <id>zyork</id>
667       <name>Zach York</name>
668       <email>zyork@apache.org</email>
669       <timezone>-8</timezone>
670     </developer>
671     <developer>
672       <id>meiyi</id>
673       <name>Yi Mei</name>
674       <email>meiyi@apache.org</email>
675       <timezone>+8</timezone>
676     </developer>
677     <developer>
678       <id>wangzheng</id>
679       <name>Zheng (bsglz) Wang</name>
680       <email>wangzheng@apache.org</email>
681       <timezone>+8</timezone>
682     </developer>
683   </developers>
684   <build>
685     <extensions>
686       <extension>
687         <groupId>kr.motd.maven</groupId>
688         <artifactId>os-maven-plugin</artifactId>
689         <version>${os.maven.version}</version>
690       </extension>
691     </extensions>
692     <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
693          For specific version use a property and define it in the parent pom.
694      -->
695     <pluginManagement>
696       <plugins>
697         <plugin>
698           <groupId>org.apache.maven.plugins</groupId>
699           <artifactId>maven-remote-resources-plugin</artifactId>
700         </plugin>
701         <plugin>
702           <groupId>org.apache.maven.plugins</groupId>
703           <artifactId>maven-release-plugin</artifactId>
704           <configuration>
705             <!--You need this profile. It'll sign your artifacts.
706                 I'm not sure if this config. actually works though.
707                 I've been specifying -Papache-release on the command-line
708              -->
709             <releaseProfiles>apache-release</releaseProfiles>
710             <!--This stops our running tests for each stage of maven release.
711                 But it builds the test jar.  From SUREFIRE-172.
712               -->
713             <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
714             <goals>${goals}</goals>
715             <pomFileName>pom.xml</pomFileName>
716           </configuration>
717         </plugin>
718         <plugin>
719           <groupId>org.apache.maven.plugins</groupId>
720           <artifactId>maven-compiler-plugin</artifactId>
721           <configuration>
722             <source>${compileSource}</source>
723             <target>${compileSource}</target>
724             <showWarnings>true</showWarnings>
725             <showDeprecation>false</showDeprecation>
726             <useIncrementalCompilation>false</useIncrementalCompilation>
727             <compilerArgument>-Xlint:-options</compilerArgument>
728           </configuration>
729         </plugin>
730         <plugin>
731           <groupId>org.apache.maven.plugins</groupId>
732           <artifactId>maven-javadoc-plugin</artifactId>
733           <version>${maven.javadoc.version}</version>
734         </plugin>
735         <!-- Test oriented plugins -->
736         <plugin>
737           <groupId>org.apache.maven.plugins</groupId>
738           <artifactId>maven-surefire-plugin</artifactId>
739           <version>${surefire.version}</version>
740           <dependencies>
741             <!-- by default surefire selects dynamically the connector to the unit tests
742               tool. We want to use always the same as the different connectors can have different
743               bugs and behaviour. -->
744             <dependency>
745               <groupId>org.apache.maven.surefire</groupId>
746               <artifactId>${surefire.provider}</artifactId>
747               <version>${surefire.version}</version>
748             </dependency>
749           </dependencies>
750           <!-- Generic testing configuration for all packages -->
751           <configuration>
752             <groups>${surefire.firstPartGroups}</groups>
753             <failIfNoTests>false</failIfNoTests>
754             <skip>${surefire.skipFirstPart}</skip>
755             <forkCount>${surefire.firstPartForkCount}</forkCount>
756             <reuseForks>false</reuseForks>
757             <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
758             <tempDir>${surefire.tempDir}</tempDir>
759             <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
760             <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
761             <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
762             <systemPropertyVariables>
763               <test.build.classes>${test.build.classes}</test.build.classes>
764             </systemPropertyVariables>
765             <excludes>
766               <!-- users can add -D option to skip particular test classes
767              ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
768               -->
769               <exclude>${test.exclude.pattern}</exclude>
770             </excludes>
771             <properties>
772               <property>
773                 <name>listener</name>
774                 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
775               </property>
776             </properties>
777           </configuration>
778           <executions>
779             <execution>
780               <id>secondPartTestsExecution</id>
781               <phase>test</phase>
782               <goals>
783                 <goal>test</goal>
784               </goals>
785               <configuration>
786                 <skip>${surefire.skipSecondPart}</skip>
787                 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
788                 <reuseForks>false</reuseForks>
789                 <forkCount>${surefire.secondPartForkCount}</forkCount>
790                 <groups>${surefire.secondPartGroups}</groups>
791                 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
792               </configuration>
793             </execution>
794           </executions>
795         </plugin>
796         <plugin>
797           <groupId>org.apache.maven.plugins</groupId>
798           <artifactId>maven-surefire-report-plugin</artifactId>
799           <version>${surefire.version}</version>
800         </plugin>
801         <plugin>
802           <groupId>org.codehaus.mojo</groupId>
803           <artifactId>buildnumber-maven-plugin</artifactId>
804           <version>${buildnumber.maven.version}</version>
805         </plugin>
806         <plugin>
807           <groupId>com.github.spotbugs</groupId>
808           <artifactId>spotbugs-maven-plugin</artifactId>
809           <version>${spotbugs.maven.version}</version>
810           <configuration>
811             <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
812             <spotbugsXmlOutput>true</spotbugsXmlOutput>
813             <xmlOutput>true</xmlOutput>
814             <effort>Max</effort>
815           </configuration>
816         </plugin>
817         <plugin>
818           <groupId>org.codehaus.mojo</groupId>
819           <artifactId>build-helper-maven-plugin</artifactId>
820           <version>${build.helper.maven.version}</version>
821         </plugin>
822         <plugin>
823           <artifactId>maven-antrun-plugin</artifactId>
824           <version>${maven.antrun.version}</version>
825         </plugin>
826         <plugin>
827           <groupId>org.jamon</groupId>
828           <artifactId>jamon-maven-plugin</artifactId>
829           <version>${jamon.plugin.version}</version>
830         </plugin>
831         <!-- Make a jar and put the sources in the jar.
832         In the parent pom, so submodules will do the right thing. -->
833         <plugin>
834           <groupId>org.apache.maven.plugins</groupId>
835           <artifactId>maven-source-plugin</artifactId>
836           <executions>
837             <execution>
838               <id>attach-sources</id>
839               <phase>prepare-package</phase>
840               <goals>
841                 <goal>jar-no-fork</goal>
842                 <goal>test-jar-no-fork</goal>
843               </goals>
844               <configuration>
845                 <excludes>
846                   <exclude>log4j.properties</exclude>
847                 </excludes>
848               </configuration>
849             </execution>
850           </executions>
851         </plugin>
852         <!-- General configuration for submodules who want to build a test jar -->
853         <plugin>
854           <groupId>org.apache.maven.plugins</groupId>
855           <artifactId>maven-jar-plugin</artifactId>
856           <executions>
857             <execution>
858               <phase>prepare-package</phase>
859               <goals>
860                   <!--This goal will install a -test.jar when we do install
861                       See https://maven.apache.org/guides/mini/guide-attached-tests.html
862                    -->
863                 <goal>test-jar</goal>
864               </goals>
865             </execution>
866           </executions>
867           <configuration>
868             <skipIfEmpty>true</skipIfEmpty>
869             <excludes>
870               <exclude>hbase-site.xml</exclude>
871               <exclude>hdfs-site.xml</exclude>
872               <exclude>mapred-queues.xml</exclude>
873               <exclude>mapred-site.xml</exclude>
874             </excludes>
875           </configuration>
876         </plugin>
877         <plugin>
878           <!-- excludes are inherited -->
879           <groupId>org.apache.rat</groupId>
880           <artifactId>apache-rat-plugin</artifactId>
881           <configuration>
882             <excludes>
883               <exclude>**/*.versionsBackup</exclude>
884               <exclude>**/*.log</exclude>
885               <exclude>**/.*</exclude>
886               <exclude>**/*.tgz</exclude>
887               <exclude>**/*.orig</exclude>
888               <exclude>**/0000000000000016310</exclude>
889               <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
890               <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
891               <exclude>**/.idea/**</exclude>
892               <exclude>**/*.iml</exclude>
893               <exclude>**/CHANGES.txt</exclude>
894               <exclude>**/generated/**</exclude>
895               <exclude>**/gen-*/**</exclude>
896               <!-- No material contents -->
897               <exclude>conf/regionservers</exclude>
898               <exclude>**/*.avpr</exclude>
899               <exclude>**/*.svg</exclude>
900               <!-- non-standard notice file from jruby included by reference -->
901               <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
902               <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
903               <exclude>**/src/main/asciidoc/hbase.css</exclude>
904               <!-- MIT https://jquery.org/license -->
905               <exclude>**/jquery.min.js</exclude>
906               <exclude>**/jquery.tablesorter.min.js</exclude>
907               <!-- MIT: bootstrap -->
908               <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
909               <!-- vector graphics -->
910               <exclude>**/*.vm</exclude>
911               <!-- apache doxia generated -->
912               <exclude>**/control</exclude>
913               <exclude>**/conffile</exclude>
914               <!-- auto-gen docs -->
915               <exclude>docs/*</exclude>
916               <exclude>logs/*</exclude>
917               <!--  exclude source control files -->
918               <exclude>.git/**</exclude>
919               <exclude>.svn/**</exclude>
920               <exclude>**/.settings/**</exclude>
921               <exclude>**/patchprocess/**</exclude>
922               <exclude>src/site/resources/repo/**</exclude>
923               <exclude>**/dependency-reduced-pom.xml</exclude>
924               <exclude>**/rat.txt</exclude>
925               <!-- exclude the shaded protobuf files -->
926               <exclude>**/shaded/com/google/protobuf/**</exclude>
927               <exclude>**/src/main/patches/**</exclude>
928               <exclude>**/vote.tmpl</exclude>
929             </excludes>
930           </configuration>
931         </plugin>
932         <plugin>
933           <artifactId>maven-assembly-plugin</artifactId>
934           <configuration>
935             <!--Defer to the hbase-assembly sub-module.  It
936              does all assembly-->
937             <skipAssembly>true</skipAssembly>
938           </configuration>
939         </plugin>
940         <plugin>
941           <groupId>org.xolstice.maven.plugins</groupId>
942           <artifactId>protobuf-maven-plugin</artifactId>
943           <version>${protobuf.plugin.version}</version>
944           <configuration>
945             <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
946             <clearOutputDirectory>false</clearOutputDirectory>
947             <checkStaleness>true</checkStaleness>
948           </configuration>
949         </plugin>
950         <plugin>
951           <!-- Approach followed here is roughly the same as mentioned here:
952           https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
953           -->
954           <groupId>org.apache.maven.plugins</groupId>
955           <artifactId>maven-checkstyle-plugin</artifactId>
956           <version>${maven.checkstyle.version}</version>
957           <dependencies>
958             <dependency>
959               <groupId>org.apache.hbase</groupId>
960               <artifactId>hbase-checkstyle</artifactId>
961               <version>${project.version}</version>
962             </dependency>
963             <dependency>
964               <groupId>com.puppycrawl.tools</groupId>
965               <artifactId>checkstyle</artifactId>
966               <version>${checkstyle.version}</version>
967             </dependency>
968           </dependencies>
969           <configuration>
970             <configLocation>hbase/checkstyle.xml</configLocation>
971             <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
972             <includeTestSourceDirectory>true</includeTestSourceDirectory>
973           </configuration>
974         </plugin>
975         <plugin>
976           <groupId>net.revelc.code</groupId>
977           <artifactId>warbucks-maven-plugin</artifactId>
978           <version>${maven.warbucks.version}</version>
979           <configuration>
980             <ignoreRuleFailures>false</ignoreRuleFailures>
981             <rules>
982               <rule>
983                 <!-- exclude the generated java files -->
984                 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
985                 <includeTestClasses>false</includeTestClasses>
986                 <includePublicClasses>true</includePublicClasses>
987                 <includePackagePrivateClasses>false</includePackagePrivateClasses>
988                 <includeProtectedClasses>false</includeProtectedClasses>
989                 <includePrivateClasses>false</includePrivateClasses>
990                 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
991               </rule>
992             </rules>
993           </configuration>
994           <executions>
995             <execution>
996               <id>run-warbucks</id>
997               <goals>
998                 <goal>check</goal><!-- runs at process-test-classes phase -->
999               </goals>
1000             </execution>
1001           </executions>
1002         </plugin>
1003         <plugin>
1004           <groupId>org.apache.maven.plugins</groupId>
1005           <artifactId>maven-enforcer-plugin</artifactId>
1006           <version>${enforcer.version}</version>
1007           <dependencies>
1008             <dependency>
1009               <groupId>org.codehaus.mojo</groupId>
1010               <artifactId>extra-enforcer-rules</artifactId>
1011               <version>${extra.enforcer.version}</version>
1012             </dependency>
1013             <dependency>
1014               <groupId>de.skuzzle.enforcer</groupId>
1015               <artifactId>restrict-imports-enforcer-rule</artifactId>
1016               <version>${restrict-imports.enforcer.version}</version>
1017             </dependency>
1018           </dependencies>
1019         </plugin>
1020       </plugins>
1021     </pluginManagement>
1022     <plugins>
1023       <plugin>
1024         <groupId>org.codehaus.mojo</groupId>
1025         <artifactId>build-helper-maven-plugin</artifactId>
1026         <executions>
1027           <execution>
1028             <id>negate-license-bundles-property</id>
1029             <goals>
1030               <goal>bsh-property</goal>
1031             </goals>
1032             <configuration>
1033               <source>skip.license.check = !${license.bundles.dependencies};</source>
1034               <properties>
1035                 <property>skip.license.check</property>
1036               </properties>
1037             </configuration>
1038           </execution>
1039           <!-- sets where to find the generated LICENSE files -->
1040           <execution>
1041             <id>create-license-file-path-property</id>
1042             <goals>
1043               <goal>regex-property</goal>
1044             </goals>
1045             <configuration>
1046               <name>license.aggregate.path</name>
1047               <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1048               <regex>\\</regex>
1049               <replacement>/</replacement>
1050               <failIfNoMatch>false</failIfNoMatch>
1051             </configuration>
1052           </execution>
1053         </executions>
1054       </plugin>
1055       <plugin>
1056         <groupId>org.apache.maven.plugins</groupId>
1057         <artifactId>maven-enforcer-plugin</artifactId>
1058         <executions>
1059           <execution>
1060             <id>display-info</id>
1061             <phase>initialize</phase>
1062             <goals>
1063               <goal>display-info</goal>
1064             </goals>
1065             <inherited>false</inherited>
1066           </execution>
1067           <execution>
1068             <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1069             <goals>
1070               <goal>enforce</goal>
1071             </goals>
1072             <configuration>
1073               <rules>
1074                 <!-- Help people activate profiles correctly -->
1075                 <evaluateBeanshell>
1076                   <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1077                   <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1078                 </evaluateBeanshell>
1079                 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1080                 <requireMavenVersion>
1081                   <version>[${maven.min.version},)</version>
1082                   <message>Maven is out of date.
1083   HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1084   You appear to be using an older version. You can use either "mvn -version" or
1085   "mvn enforcer:display-info" to verify what version is active.
1086   See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1087                   </message>
1088                 </requireMavenVersion>
1089                 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1090                 <requireJavaVersion>
1091                   <version>[${java.min.version},)</version>
1092                   <message>Java is out of date.
1093   HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1094   You appear to be using an older version. You can use either "mvn -version" or
1095   "mvn enforcer:display-info" to verify what version is active.
1096   See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1097                   </message>
1098                 </requireJavaVersion>
1099                 <bannedDependencies>
1100                   <excludes>
1101                     <exclude>xerces:xercesImpl</exclude>
1102                   </excludes>
1103                   <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1104                 </bannedDependencies>
1105               </rules>
1106             </configuration>
1107           </execution>
1108           <execution>
1109             <id>banned-jsr305</id>
1110             <goals>
1111               <goal>enforce</goal>
1112             </goals>
1113             <configuration>
1114               <rules>
1115                 <bannedDependencies>
1116                   <excludes>
1117                     <exclude>com.google.code.findbugs:jsr305</exclude>
1118                   </excludes>
1119                   <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1120                 </bannedDependencies>
1121               </rules>
1122             </configuration>
1123           </execution>
1124           <execution>
1125             <id>banned-scala</id>
1126             <goals>
1127               <goal>enforce</goal>
1128             </goals>
1129             <configuration>
1130               <rules>
1131                 <bannedDependencies>
1132                   <excludes>
1133                     <exclude>org.scala-lang:scala-library</exclude>
1134                   </excludes>
1135                   <message>We don't allow Scala, see HBASE-13992.</message>
1136                 </bannedDependencies>
1137               </rules>
1138             </configuration>
1139           </execution>
1140           <execution>
1141             <id>banned-commons-logging</id>
1142             <goals>
1143               <goal>enforce</goal>
1144             </goals>
1145             <configuration>
1146               <rules>
1147                 <bannedDependencies>
1148                   <excludes>
1149                     <exclude>commons-logging:commons-logging</exclude>
1150                   </excludes>
1151                   <message>
1152                     We don't use commons-logging any more, so do not depend on it directly.
1153                   </message>
1154                   <searchTransitive>false</searchTransitive>
1155                 </bannedDependencies>
1156               </rules>
1157             </configuration>
1158           </execution>
1159           <execution>
1160             <id>banned-jetty</id>
1161             <goals>
1162               <goal>enforce</goal>
1163             </goals>
1164             <configuration>
1165               <rules>
1166                 <bannedDependencies>
1167                   <excludes>
1168                     <exclude>org.eclipse.jetty:**</exclude>
1169                   </excludes>
1170                   <message>
1171                     Use shaded jetty instead
1172                   </message>
1173                   <searchTransitive>false</searchTransitive>
1174                 </bannedDependencies>
1175               </rules>
1176             </configuration>
1177           </execution>
1178           <execution>
1179             <id>banned-jersey</id>
1180             <goals>
1181               <goal>enforce</goal>
1182             </goals>
1183             <configuration>
1184               <rules>
1185                 <bannedDependencies>
1186                   <excludes>
1187                     <exclude>>org.glassfish.jersey.containers:**</exclude>
1188                     <exclude>>org.glassfish.jersey.core:**</exclude>
1189                   </excludes>
1190                   <message>
1191                     Use shaded jersey instead
1192                   </message>
1193                   <searchTransitive>false</searchTransitive>
1194                 </bannedDependencies>
1195               </rules>
1196             </configuration>
1197           </execution>
1198           <execution>
1199             <id>check-aggregate-license</id>
1200             <!-- must check after LICENSE is built at 'generate-resources' -->
1201             <phase>process-resources</phase>
1202             <goals>
1203               <goal>enforce</goal>
1204             </goals>
1205             <configuration>
1206               <rules>
1207                 <evaluateBeanshell>
1208                   <condition>
1209                     File license = new File("${license.aggregate.path}");
1211                     // Beanshell does not support try-with-resources,
1212                     // so we must close this scanner manually
1213                     Scanner scanner = new Scanner(license);
1215                     while (scanner.hasNextLine()) {
1216                       if (scanner.nextLine().startsWith("ERROR:")) {
1217                         scanner.close();
1218                         return false;
1219                       }
1220                     }
1221                     scanner.close();
1222                     return true;
1223                   </condition>
1224                   <message>
1225                     License errors detected, for more detail find ERROR in
1226                     ${license.aggregate.path}
1227                   </message>
1228                 </evaluateBeanshell>
1229               </rules>
1230               <skip>${skip.license.check}</skip>
1231             </configuration>
1232           </execution>
1233           <execution>
1234             <id>banned-illegal-imports</id>
1235             <phase>process-sources</phase>
1236             <goals>
1237               <goal>enforce</goal>
1238             </goals>
1239             <configuration>
1240               <rules>
1241                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1242                   <includeTestCode>true</includeTestCode>
1243                   <commentLineBufferSize>512</commentLineBufferSize>
1244                   <reason>Use SLF4j for logging</reason>
1245                   <bannedImports>
1246                     <bannedImport>org.apache.commons.logging.**</bannedImport>
1247                   </bannedImports>
1248                 </restrictImports>
1249                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1250                   <includeTestCode>false</includeTestCode>
1251                   <commentLineBufferSize>512</commentLineBufferSize>
1252                   <reason>
1253                     Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1254                   </reason>
1255                   <bannedImports>
1256                     <bannedImport>org.apache.log4j.**</bannedImport>
1257                   </bannedImports>
1258                 </restrictImports>
1259                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1260                   <includeTestCode>true</includeTestCode>
1261                   <commentLineBufferSize>512</commentLineBufferSize>
1262                   <reason>Use shaded version in hbase-thirdparty</reason>
1263                   <bannedImports>
1264                     <bannedImport>com.google.common.**</bannedImport>
1265                     <bannedImport>io.netty.**</bannedImport>
1266                     <bannedImport>org.apache.commons.cli.**</bannedImport>
1267                     <bannedImport>org.apache.commons.collections.**</bannedImport>
1268                     <bannedImport>org.apache.commons.collections4.**</bannedImport>
1269                   </bannedImports>
1270                 </restrictImports>
1271                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1272                   <includeTestCode>true</includeTestCode>
1273                   <commentLineBufferSize>512</commentLineBufferSize>
1274                   <reason>Do not use shaded classes from other dependencies</reason>
1275                   <bannedImports>
1276                     <bannedImport>org.apache.curator.shaded.**</bannedImport>
1277                     <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1278                   </bannedImports>
1279                 </restrictImports>
1280                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1281                   <includeTestCode>true</includeTestCode>
1282                   <commentLineBufferSize>512</commentLineBufferSize>
1283                   <reason>Use shaded gson in hbase-thirdparty</reason>
1284                   <bannedImports>
1285                     <bannedImport>org.codehaus.jackson.**</bannedImport>
1286                   </bannedImports>
1287                 </restrictImports>
1288                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1289                   <includeTestCode>true</includeTestCode>
1290                   <commentLineBufferSize>512</commentLineBufferSize>
1291                   <reason>Use commons lang 3</reason>
1292                   <bannedImports>
1293                     <bannedImport>org.apache.commons.lang.**</bannedImport>
1294                   </bannedImports>
1295                 </restrictImports>
1296                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1297                   <includeTestCode>true</includeTestCode>
1298                   <commentLineBufferSize>512</commentLineBufferSize>
1299                   <reason>Use yetus IA and IS annotations</reason>
1300                   <bannedImports>
1301                     <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1302                   </bannedImports>
1303                 </restrictImports>
1304                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1305                   <includeTestCode>true</includeTestCode>
1306                   <commentLineBufferSize>512</commentLineBufferSize>
1307                   <reason>Do not use htrace v3</reason>
1308                   <bannedImports>
1309                     <bannedImport>org.htrace.**</bannedImport>
1310                   </bannedImports>
1311                 </restrictImports>
1312                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1313                   <includeTestCode>true</includeTestCode>
1314                   <commentLineBufferSize>512</commentLineBufferSize>
1315                   <reason>Use shaded jetty in hbase-thirdparty</reason>
1316                   <bannedImports>
1317                     <bannedImport>org.eclipse.jetty.**</bannedImport>
1318                   </bannedImports>
1319                 </restrictImports>
1320                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1321                   <includeTestCode>true</includeTestCode>
1322                   <commentLineBufferSize>512</commentLineBufferSize>
1323                   <reason>Use shaded jersey in hbase-thirdparty</reason>
1324                   <bannedImports>
1325                     <bannedImport>org.glassfish.jersey.**</bannedImport>
1326                   </bannedImports>
1327                 </restrictImports>
1328               </rules>
1329             </configuration>
1330           </execution>
1331         </executions>
1332       </plugin>
1333       <!-- parent-module only plugins -->
1334       <plugin>
1335         <groupId>org.codehaus.mojo</groupId>
1336         <artifactId>xml-maven-plugin</artifactId>
1337         <version>${xml.maven.version}</version>
1338         <inherited>false</inherited>
1339         <executions>
1340           <execution>
1341             <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1342             <goals>
1343               <goal>transform</goal>
1344             </goals>
1345             <phase>site</phase>
1346           </execution>
1347         </executions>
1348         <configuration>
1349           <transformationSets>
1350             <!-- For asciidoc -->
1351             <transformationSet>
1352               <!--Reaching up and over into common sub-module for hbase-default.xml-->
1353               <dir>${basedir}/hbase-common/src/main/resources/</dir>
1354               <includes>
1355                 <include>hbase-default.xml</include>
1356               </includes>
1357               <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1358               <fileMappers>
1359                 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1360                   <pattern>^(.*)\.xml$</pattern>
1361                   <replacement>$1.adoc</replacement>
1362                 </fileMapper>
1363               </fileMappers>
1364               <outputDir>${basedir}/target/asciidoc</outputDir>
1365             </transformationSet>
1366           </transformationSets>
1367         </configuration>
1368       </plugin>
1369       <!-- Special configuration for spotbugs just in the parent so
1370       the filter file location can be more general (see definition in pluginManagement) -->
1371       <plugin>
1372         <groupId>com.github.spotbugs</groupId>
1373         <artifactId>spotbugs-maven-plugin</artifactId>
1374         <executions>
1375           <execution>
1376             <inherited>false</inherited>
1377             <goals>
1378               <goal>spotbugs</goal>
1379             </goals>
1380             <configuration>
1381               <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1382             </configuration>
1383           </execution>
1384         </executions>
1385       </plugin>
1386       <plugin>
1387         <groupId>org.apache.maven.plugins</groupId>
1388         <artifactId>maven-checkstyle-plugin</artifactId>
1389       </plugin>
1390       <plugin>
1391         <groupId>org.apache.maven.plugins</groupId>
1392         <artifactId>maven-site-plugin</artifactId>
1393         <dependencies>
1394           <dependency>
1395             <!-- add support for ssh/scp -->
1396             <groupId>org.apache.maven.wagon</groupId>
1397             <artifactId>wagon-ssh</artifactId>
1398             <version>${wagon.ssh.version}</version>
1399           </dependency>
1400         </dependencies>
1401         <configuration>
1402           <siteDirectory>${basedir}/src/site</siteDirectory>
1403           <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1404           <inputEncoding>UTF-8</inputEncoding>
1405           <outputEncoding>UTF-8</outputEncoding>
1406         </configuration>
1407       </plugin>
1408       <!-- For AsciiDoc docs building -->
1409       <plugin>
1410         <groupId>org.asciidoctor</groupId>
1411         <artifactId>asciidoctor-maven-plugin</artifactId>
1412         <version>${asciidoctor.plugin.version}</version>
1413         <inherited>false</inherited>
1414         <dependencies>
1415           <dependency>
1416             <groupId>org.asciidoctor</groupId>
1417             <artifactId>asciidoctorj-pdf</artifactId>
1418             <version>${asciidoctorj.pdf.version}</version>
1419           </dependency>
1420           <dependency>
1421             <groupId>org.jruby</groupId>
1422             <artifactId>jruby-complete</artifactId>
1423             <version>${jruby.version}</version>
1424           </dependency>
1425         </dependencies>
1426         <configuration>
1427           <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1428           <doctype>book</doctype>
1429           <imagesDir>images</imagesDir>
1430           <sourceHighlighter>coderay</sourceHighlighter>
1431           <attributes>
1432             <docVersion>${project.version}</docVersion>
1433           </attributes>
1434         </configuration>
1435         <executions>
1436           <execution>
1437             <id>output-html</id>
1438             <phase>site</phase>
1439             <goals>
1440               <goal>process-asciidoc</goal>
1441             </goals>
1442             <configuration>
1443               <attributes>
1444                 <stylesheet>hbase.css</stylesheet>
1445               </attributes>
1446               <backend>html5</backend>
1447             </configuration>
1448           </execution>
1449           <execution>
1450             <id>output-pdf</id>
1451             <phase>site</phase>
1452             <goals>
1453               <goal>process-asciidoc</goal>
1454             </goals>
1455             <configuration>
1456               <backend>pdf</backend>
1457               <attributes>
1458                 <pagenums/>
1459                 <toc/>
1460                 <idprefix/>
1461                 <idseparator>-</idseparator>
1462               </attributes>
1463             </configuration>
1464           </execution>
1465         </executions>
1466       </plugin>
1467       <plugin>
1468         <groupId>org.apache.maven.plugins</groupId>
1469         <artifactId>maven-resources-plugin</artifactId>
1470         <!--$NO-MVN-MAN-VER$ -->
1471         <inherited>false</inherited>
1472         <executions>
1473           <execution>
1474             <id>copy-htaccess</id>
1475             <goals>
1476               <goal>copy-resources</goal>
1477             </goals>
1478             <phase>site</phase>
1479             <configuration>
1480               <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1481               <resources>
1482                 <resource>
1483                   <directory>${basedir}/src/site/resources/</directory>
1484                   <includes>
1485                     <include>.htaccess</include>
1486                   </includes>
1487                 </resource>
1488               </resources>
1489             </configuration>
1490           </execution>
1491           <!-- needed to make the redirect above work -->
1492           <execution>
1493             <id>copy-empty-book-dir</id>
1494             <goals>
1495               <goal>copy-resources</goal>
1496             </goals>
1497             <phase>site</phase>
1498             <configuration>
1499               <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1500               <resources>
1501                 <resource>
1502                   <directory>${basedir}/src/site/resources/</directory>
1503                   <includes>
1504                     <include>book/**</include>
1505                   </includes>
1506                 </resource>
1507               </resources>
1508             </configuration>
1509           </execution>
1510         </executions>
1511         <configuration>
1512           <escapeString>\</escapeString>
1513         </configuration>
1514       </plugin>
1515       <plugin>
1516         <groupId>org.apache.maven.plugins</groupId>
1517         <artifactId>maven-antrun-plugin</artifactId>
1518         <version>${maven.antrun.version}</version>
1519         <inherited>false</inherited>
1520         <!-- Rename the book.pdf generated by asciidoctor -->
1521         <executions>
1522           <execution>
1523             <id>rename-pdf</id>
1524             <phase>site</phase>
1525             <configuration>
1526               <target name="rename file">
1527                 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1528               </target>
1529             </configuration>
1530             <goals>
1531               <goal>run</goal>
1532             </goals>
1533           </execution>
1534         </executions>
1535       </plugin>
1536       <plugin>
1537         <groupId>org.codehaus.mojo</groupId>
1538         <artifactId>buildnumber-maven-plugin</artifactId>
1539         <executions>
1540           <execution>
1541             <phase>validate</phase>
1542             <goals>
1543               <goal>create-timestamp</goal>
1544             </goals>
1545           </execution>
1546         </executions>
1547         <configuration>
1548           <timestampFormat>yyyy</timestampFormat>
1549           <timestampPropertyName>build.year</timestampPropertyName>
1550         </configuration>
1551       </plugin>
1552       <plugin>
1553         <groupId>org.apache.felix</groupId>
1554         <artifactId>maven-bundle-plugin</artifactId>
1555         <version>${maven.bundle.version}</version>
1556         <inherited>true</inherited>
1557         <extensions>true</extensions>
1558       </plugin>
1559     </plugins>
1560   </build>
1561   <properties>
1562     <!-- override on command line to have generated LICENSE files include
1563          diagnostic info for verifying notice requirements -->
1564     <license.debug.print.included>false</license.debug.print.included>
1565     <!-- When a particular module bundles its depenendencies, should be true -->
1566     <license.bundles.dependencies>false</license.bundles.dependencies>
1567     <!-- modules that include a the logo in their source tree should set true -->
1568     <license.bundles.logo>false</license.bundles.logo>
1569     <!-- modules that include bootstrap in their source tree should set true -->
1570     <license.bundles.bootstrap>false</license.bundles.bootstrap>
1571     <!-- modules that include jquery in their source tree should set true -->
1572     <license.bundles.jquery>false</license.bundles.jquery>
1573     <tar.name>${project.build.finalName}.tar.gz</tar.name>
1574     <maven.build.timestamp.format>
1575       yyyy-MM-dd'T'HH:mm
1576     </maven.build.timestamp.format>
1577     <buildDate>${maven.build.timestamp}</buildDate>
1578     <compileSource>1.8</compileSource>
1579     <!-- Build dependencies -->
1580     <maven.min.version>3.0.4</maven.min.version>
1581     <java.min.version>${compileSource}</java.min.version>
1582     <!-- Dependencies -->
1583     <hadoop-three.version>3.1.2</hadoop-three.version>
1584     <!-- These must be defined here for downstream build tools that don't look at profiles.
1585     -->
1586     <hadoop.version>${hadoop-three.version}</hadoop.version>
1587     <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
1588     <!--This property is for hadoops netty. HBase netty
1589          comes in via hbase-thirdparty hbase-shaded-netty-->
1590     <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
1591     <!-- end HBASE-15925 default hadoop compatibility values -->
1592     <audience-annotations.version>0.5.0</audience-annotations.version>
1593     <avro.version>1.7.7</avro.version>
1594     <caffeine.version>2.8.1</caffeine.version>
1595     <commons-codec.version>1.13</commons-codec.version>
1596     <commons-validator.version>1.6</commons-validator.version>
1597     <!-- pretty outdated -->
1598     <commons-io.version>2.6</commons-io.version>
1599     <commons-lang3.version>3.9</commons-lang3.version>
1600     <commons-math.version>3.6.1</commons-math.version>
1601     <disruptor.version>3.4.2</disruptor.version>
1602     <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1603       especially when writing out 'no column families'. Later httpclients collapse the '//'
1604       into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1605       TestRemoteTable. -->
1606     <httpclient.version>4.5.3</httpclient.version>
1607     <httpcore.version>4.4.13</httpcore.version>
1608     <metrics-core.version>3.2.6</metrics-core.version>
1609     <jackson.version>2.10.1</jackson.version>
1610     <jackson.databind.version>2.10.1</jackson.databind.version>
1611     <jaxb-api.version>2.3.1</jaxb-api.version>
1612     <servlet.api.version>3.1.0</servlet.api.version>
1613     <wx.rs.api.version>2.1.1</wx.rs.api.version>
1614     <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1615     <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1616     <jruby.version>9.1.17.0</jruby.version>
1617     <junit.version>4.13</junit.version>
1618     <hamcrest.version>1.3</hamcrest.version>
1619     <htrace.version>4.2.0-incubating</htrace.version>
1620     <log4j.version>1.2.17</log4j.version>
1621     <mockito-core.version>2.28.2</mockito-core.version>
1622     <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1623     <thrift.path>thrift</thrift.path>
1624     <thrift.version>0.13.0</thrift.version>
1625     <zookeeper.version>3.5.7</zookeeper.version>
1626     <jline.version>2.11</jline.version>
1627     <slf4j.version>1.7.30</slf4j.version>
1628     <clover.version>4.0.3</clover.version>
1629     <jamon-runtime.version>2.4.1</jamon-runtime.version>
1630     <jettison.version>1.3.8</jettison.version>
1631     <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1632     <joni.version>2.1.11</joni.version>
1633     <jcodings.version>1.0.18</jcodings.version>
1634     <spy.version>2.12.2</spy.version>
1635     <bouncycastle.version>1.60</bouncycastle.version>
1636     <kerby.version>1.0.1</kerby.version>
1637     <commons-crypto.version>1.0.0</commons-crypto.version>
1638     <curator.version>4.2.0</curator.version>
1639     <!-- Plugin Dependencies -->
1640     <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1641     <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1642     <build.helper.maven.version>3.0.0</build.helper.maven.version>
1643     <buildnumber.maven.version>1.4</buildnumber.maven.version>
1644     <!--
1645       When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1646     -->
1647     <checkstyle.version>8.28</checkstyle.version>
1648     <exec.maven.version>1.6.0</exec.maven.version>
1649     <error-prone.version>2.3.4</error-prone.version>
1650     <jamon.plugin.version>2.4.2</jamon.plugin.version>
1651     <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1652     <maven.antrun.version>1.8</maven.antrun.version>
1653     <maven.bundle.version>3.3.0</maven.bundle.version>
1654     <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1655     <maven.eclipse.version>2.10</maven.eclipse.version>
1656     <maven.javadoc.version>3.2.0</maven.javadoc.version>
1657     <maven.warbucks.version>1.1.0</maven.warbucks.version>
1658     <maven.project.info.report.version>2.9</maven.project.info.report.version>
1659     <os.maven.version>1.5.0.Final</os.maven.version>
1660     <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1661     <spotbugs.version>3.1.12</spotbugs.version>
1662     <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1663     <surefire.version>3.0.0-M4</surefire.version>
1664     <wagon.ssh.version>2.12</wagon.ssh.version>
1665     <xml.maven.version>1.0.1</xml.maven.version>
1666     <hbase-thirdparty.version>3.4.0</hbase-thirdparty.version>
1667     <!-- Intraproject jar naming properties -->
1668     <!-- TODO this is pretty ugly, but works for the moment.
1669       Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1670     <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1671     <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1672     <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1673     <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1674     <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1675     <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1676     <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1677     <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1678     <shell-executable>bash</shell-executable>
1679     <surefire.provider>surefire-junit47</surefire.provider>
1680     <!-- default: run small & medium, medium with 2 threads -->
1681     <surefire.skipFirstPart>false</surefire.skipFirstPart>
1682     <surefire.skipSecondPart>false</surefire.skipSecondPart>
1683       <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1684         by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1685       value is you want to burn through tests faster (could make for more failures
1686       if more contention around resources). There is a matching MAVEN_ARG
1687       in our yetus personality where we set the maven -T command to 0.25C too.
1688       For example, to run at a rate that is more furious than our 0.25C, do
1689       something like this:
1690          f="0.5C" ;  mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1691     -->
1692     <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1693     <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1694     <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1695     <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1696     <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1697     <test.output.tofile>true</test.output.tofile>
1698     <surefire.timeout>900</surefire.timeout>
1699     <test.exclude.pattern></test.exclude.pattern>
1700     <!--
1701       Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1702       This value is managed separately for jdk11. See below.
1703     -->
1704     <surefire.Xmx>2200m</surefire.Xmx>
1705     <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1706     <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1708       And for netty eventloops that have no explicit configuration, netty sets
1709       nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1710       clusters/tests.
1711      -->
1712     <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1713       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1714       -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1715       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1716       -Dio.netty.eventLoopThreads=3
1717     </hbase-surefire.argLine>
1718     <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1719       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1720       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1721       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1722     </hbase-surefire.cygwin-argLine>
1723     <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1724     <argLine>${hbase-surefire.argLine}</argLine>
1725     <jacoco.version>0.7.5.201505241946</jacoco.version>
1726     <extra.enforcer.version>1.3</extra.enforcer.version>
1727     <enforcer.version>3.0.0-M3</enforcer.version>
1728     <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1729     <!-- Location of test resources -->
1730     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1731     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1732     <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1733         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1734         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1735     <build.id>${maven.build.timestamp}</build.id>
1736     <shell-executable>bash</shell-executable>
1737     <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1738          property as of javadoc-plugin 3.0.0 -->
1739     <doclint>none</doclint>
1740   </properties>
1741   <!-- Sorted by groups of dependencies then groupId and artifactId -->
1742   <dependencyManagement>
1743     <dependencies>
1744       <!--
1745       Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1746           org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1747           the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1748           implementation of the same, because Hadoop also uses this version
1749           javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1750           is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1751         -->
1752       <!-- Intra-module dependencies -->
1753       <dependency>
1754         <groupId>org.apache.hbase</groupId>
1755         <artifactId>hbase-annotations</artifactId>
1756         <version>${project.version}</version>
1757         <type>test-jar</type>
1758         <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1759       </dependency>
1760       <dependency>
1761         <artifactId>hbase-backup</artifactId>
1762         <groupId>org.apache.hbase</groupId>
1763         <version>${project.version}</version>
1764       </dependency>
1765       <dependency>
1766         <groupId>org.apache.hbase</groupId>
1767         <artifactId>hbase-common</artifactId>
1768         <version>${project.version}</version>
1769       </dependency>
1770       <dependency>
1771         <groupId>org.apache.hbase</groupId>
1772         <artifactId>hbase-common</artifactId>
1773         <version>${project.version}</version>
1774         <type>test-jar</type>
1775         <scope>test</scope>
1776       </dependency>
1777       <dependency>
1778         <groupId>org.apache.hbase</groupId>
1779         <artifactId>hbase-logging</artifactId>
1780         <version>${project.version}</version>
1781       </dependency>
1782       <dependency>
1783         <groupId>org.apache.hbase</groupId>
1784         <artifactId>hbase-logging</artifactId>
1785         <version>${project.version}</version>
1786         <type>test-jar</type>
1787         <scope>test</scope>
1788       </dependency>
1789       <dependency>
1790         <groupId>org.apache.hbase</groupId>
1791         <artifactId>hbase-protocol-shaded</artifactId>
1792         <version>${project.version}</version>
1793       </dependency>
1794       <dependency>
1795         <groupId>org.apache.hbase</groupId>
1796         <artifactId>hbase-procedure</artifactId>
1797         <version>${project.version}</version>
1798       </dependency>
1799       <dependency>
1800         <groupId>org.apache.hbase</groupId>
1801         <artifactId>hbase-procedure</artifactId>
1802         <version>${project.version}</version>
1803         <type>test-jar</type>
1804       </dependency>
1805       <dependency>
1806         <groupId>org.apache.hbase</groupId>
1807         <artifactId>hbase-hadoop-compat</artifactId>
1808         <version>${project.version}</version>
1809       </dependency>
1810       <dependency>
1811         <groupId>org.apache.hbase</groupId>
1812         <artifactId>hbase-hadoop-compat</artifactId>
1813         <version>${project.version}</version>
1814         <type>test-jar</type>
1815         <scope>test</scope>
1816       </dependency>
1817       <dependency>
1818         <artifactId>hbase-replication</artifactId>
1819         <groupId>org.apache.hbase</groupId>
1820         <version>${project.version}</version>
1821       </dependency>
1822       <dependency>
1823         <artifactId>hbase-balancer</artifactId>
1824         <groupId>org.apache.hbase</groupId>
1825         <version>${project.version}</version>
1826       </dependency>
1827       <dependency>
1828         <artifactId>hbase-http</artifactId>
1829         <groupId>org.apache.hbase</groupId>
1830         <version>${project.version}</version>
1831       </dependency>
1832       <dependency>
1833         <artifactId>hbase-http</artifactId>
1834         <groupId>org.apache.hbase</groupId>
1835         <version>${project.version}</version>
1836         <type>test-jar</type>
1837         <scope>test</scope>
1838       </dependency>
1839       <dependency>
1840         <artifactId>hbase-server</artifactId>
1841         <groupId>org.apache.hbase</groupId>
1842         <version>${project.version}</version>
1843       </dependency>
1844       <dependency>
1845         <artifactId>hbase-server</artifactId>
1846         <groupId>org.apache.hbase</groupId>
1847         <version>${project.version}</version>
1848         <type>test-jar</type>
1849         <scope>test</scope>
1850       </dependency>
1851       <dependency>
1852         <artifactId>hbase-mapreduce</artifactId>
1853         <groupId>org.apache.hbase</groupId>
1854         <version>${project.version}</version>
1855       </dependency>
1856       <dependency>
1857         <artifactId>hbase-mapreduce</artifactId>
1858         <groupId>org.apache.hbase</groupId>
1859         <version>${project.version}</version>
1860         <type>test-jar</type>
1861         <scope>test</scope>
1862       </dependency>
1863       <dependency>
1864         <artifactId>hbase-endpoint</artifactId>
1865         <groupId>org.apache.hbase</groupId>
1866         <version>${project.version}</version>
1867       </dependency>
1868       <dependency>
1869         <artifactId>hbase-shell</artifactId>
1870         <groupId>org.apache.hbase</groupId>
1871         <version>${project.version}</version>
1872       </dependency>
1873       <dependency>
1874         <artifactId>hbase-shell</artifactId>
1875         <groupId>org.apache.hbase</groupId>
1876         <version>${project.version}</version>
1877         <type>test-jar</type>
1878         <scope>test</scope>
1879       </dependency>
1880       <dependency>
1881         <artifactId>hbase-thrift</artifactId>
1882         <groupId>org.apache.hbase</groupId>
1883         <version>${project.version}</version>
1884       </dependency>
1885       <dependency>
1886         <artifactId>hbase-thrift</artifactId>
1887         <groupId>org.apache.hbase</groupId>
1888         <version>${project.version}</version>
1889         <type>test-jar</type>
1890         <scope>test</scope>
1891       </dependency>
1892       <dependency>
1893         <groupId>org.apache.hbase</groupId>
1894         <artifactId>hbase-testing-util</artifactId>
1895         <version>${project.version}</version>
1896         <scope>test</scope>
1897       </dependency>
1898       <dependency>
1899         <artifactId>hbase-examples</artifactId>
1900         <groupId>org.apache.hbase</groupId>
1901         <version>${project.version}</version>
1902       </dependency>
1903       <dependency>
1904         <groupId>org.apache.hbase</groupId>
1905         <artifactId>hbase-external-blockcache</artifactId>
1906         <version>${project.version}</version>
1907       </dependency>
1908       <dependency>
1909         <artifactId>hbase-it</artifactId>
1910         <groupId>org.apache.hbase</groupId>
1911         <version>${project.version}</version>
1912         <type>test-jar</type>
1913         <scope>test</scope>
1914       </dependency>
1915       <dependency>
1916         <artifactId>hbase-client</artifactId>
1917         <groupId>org.apache.hbase</groupId>
1918         <version>${project.version}</version>
1919       </dependency>
1920       <dependency>
1921         <artifactId>hbase-metrics-api</artifactId>
1922         <groupId>org.apache.hbase</groupId>
1923         <version>${project.version}</version>
1924       </dependency>
1925       <dependency>
1926         <artifactId>hbase-metrics-api</artifactId>
1927         <groupId>org.apache.hbase</groupId>
1928         <version>${project.version}</version>
1929         <type>test-jar</type>
1930         <scope>test</scope>
1931       </dependency>
1932       <dependency>
1933         <artifactId>hbase-metrics</artifactId>
1934         <groupId>org.apache.hbase</groupId>
1935         <version>${project.version}</version>
1936       </dependency>
1937       <dependency>
1938         <artifactId>hbase-metrics</artifactId>
1939         <groupId>org.apache.hbase</groupId>
1940         <version>${project.version}</version>
1941         <type>test-jar</type>
1942         <scope>test</scope>
1943       </dependency>
1944       <dependency>
1945         <artifactId>hbase-rest</artifactId>
1946         <groupId>org.apache.hbase</groupId>
1947         <version>${project.version}</version>
1948       </dependency>
1949       <dependency>
1950         <artifactId>hbase-resource-bundle</artifactId>
1951         <groupId>org.apache.hbase</groupId>
1952         <version>${project.version}</version>
1953       </dependency>
1954       <dependency>
1955         <artifactId>hbase-zookeeper</artifactId>
1956         <groupId>org.apache.hbase</groupId>
1957         <version>${project.version}</version>
1958         <exclusions>
1959           <exclusion>
1960             <groupId>com.google.code.findbugs</groupId>
1961             <artifactId>jsr305</artifactId>
1962           </exclusion>
1963           <exclusion>
1964             <groupId>com.github.spotbugs</groupId>
1965             <artifactId>spotbugs-annotations</artifactId>
1966           </exclusion>
1967         </exclusions>
1968       </dependency>
1969       <dependency>
1970         <artifactId>hbase-zookeeper</artifactId>
1971         <groupId>org.apache.hbase</groupId>
1972         <version>${project.version}</version>
1973         <type>test-jar</type>
1974         <scope>test</scope>
1975       </dependency>
1976       <dependency>
1977         <artifactId>hbase-hbtop</artifactId>
1978         <groupId>org.apache.hbase</groupId>
1979         <version>${project.version}</version>
1980       </dependency>
1981       <dependency>
1982         <groupId>org.apache.hbase</groupId>
1983         <artifactId>hbase-shaded-client</artifactId>
1984         <version>${project.version}</version>
1985       </dependency>
1986       <dependency>
1987         <groupId>org.apache.hbase</groupId>
1988         <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1989         <version>${project.version}</version>
1990       </dependency>
1991       <dependency>
1992         <groupId>org.apache.hbase</groupId>
1993         <artifactId>hbase-shaded-mapreduce</artifactId>
1994         <version>${project.version}</version>
1995       </dependency>
1996       <dependency>
1997         <groupId>org.apache.hbase</groupId>
1998         <artifactId>hbase-asyncfs</artifactId>
1999         <version>${project.version}</version>
2000       </dependency>
2001       <dependency>
2002         <groupId>org.apache.hbase</groupId>
2003         <artifactId>hbase-asyncfs</artifactId>
2004         <version>${project.version}</version>
2005         <type>test-jar</type>
2006         <scope>test</scope>
2007       </dependency>
2008       <!-- General dependencies -->
2009       <dependency>
2010         <groupId>com.github.stephenc.findbugs</groupId>
2011         <artifactId>findbugs-annotations</artifactId>
2012         <version>${findbugs-annotations.version}</version>
2013       </dependency>
2014       <!--
2015         Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
2016         modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
2017         and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
2018         log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
2019         scope as it will mess up the logging framework for downstream users.
2020         Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
2021         on use these logging framework so we need to redirect their log message to slf4j, and then
2022         redirect the log message to our log4j framework.
2023       -->
2024       <dependency>
2025         <groupId>org.codehaus.jettison</groupId>
2026         <artifactId>jettison</artifactId>
2027         <version>${jettison.version}</version>
2028       </dependency>
2029       <dependency>
2030         <groupId>org.slf4j</groupId>
2031         <artifactId>slf4j-api</artifactId>
2032         <version>${slf4j.version}</version>
2033       </dependency>
2034       <dependency>
2035         <groupId>org.slf4j</groupId>
2036         <artifactId>slf4j-log4j12</artifactId>
2037         <version>${slf4j.version}</version>
2038       </dependency>
2039       <dependency>
2040         <groupId>org.slf4j</groupId>
2041         <artifactId>jcl-over-slf4j</artifactId>
2042         <version>${slf4j.version}</version>
2043       </dependency>
2044       <dependency>
2045         <groupId>org.slf4j</groupId>
2046         <artifactId>jul-to-slf4j</artifactId>
2047         <version>${slf4j.version}</version>
2048       </dependency>
2049       <dependency>
2050         <groupId>log4j</groupId>
2051         <artifactId>log4j</artifactId>
2052         <version>${log4j.version}</version>
2053       </dependency>
2054       <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
2055       <dependency>
2056         <groupId>org.apache.avro</groupId>
2057         <artifactId>avro</artifactId>
2058         <version>${avro.version}</version>
2059       </dependency>
2060       <!--This is not used by hbase directly.  Used by thrift,
2061           dropwizard and zk.-->
2062       <dependency>
2063         <groupId>com.github.ben-manes.caffeine</groupId>
2064         <artifactId>caffeine</artifactId>
2065         <version>${caffeine.version}</version>
2066       </dependency>
2067       <dependency>
2068         <groupId>io.dropwizard.metrics</groupId>
2069         <artifactId>metrics-core</artifactId>
2070         <version>${metrics-core.version}</version>
2071       </dependency>
2072       <dependency>
2073         <groupId>org.apache.httpcomponents</groupId>
2074         <artifactId>httpclient</artifactId>
2075         <version>${httpclient.version}</version>
2076       </dependency>
2077       <dependency>
2078         <groupId>org.apache.httpcomponents</groupId>
2079         <artifactId>httpcore</artifactId>
2080         <version>${httpcore.version}</version>
2081       </dependency>
2082       <dependency>
2083         <groupId>commons-codec</groupId>
2084         <artifactId>commons-codec</artifactId>
2085         <version>${commons-codec.version}</version>
2086       </dependency>
2087       <dependency>
2088         <groupId>commons-validator</groupId>
2089         <artifactId>commons-validator</artifactId>
2090         <version>${commons-validator.version}</version>
2091       </dependency>
2092       <dependency>
2093         <groupId>commons-io</groupId>
2094         <artifactId>commons-io</artifactId>
2095         <version>${commons-io.version}</version>
2096       </dependency>
2097       <dependency>
2098         <groupId>org.apache.commons</groupId>
2099         <artifactId>commons-lang3</artifactId>
2100         <version>${commons-lang3.version}</version>
2101       </dependency>
2102       <dependency>
2103         <groupId>org.apache.commons</groupId>
2104         <artifactId>commons-math3</artifactId>
2105         <version>${commons-math.version}</version>
2106       </dependency>
2107       <dependency>
2108         <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2109              HBaseTestingUtil.
2110           -->
2111         <groupId>commons-logging</groupId>
2112         <artifactId>commons-logging</artifactId>
2113         <version>1.2</version>
2114       </dependency>
2115       <dependency>
2116         <groupId>org.apache.zookeeper</groupId>
2117         <artifactId>zookeeper</artifactId>
2118         <version>${zookeeper.version}</version>
2119         <exclusions>
2120           <exclusion>
2121             <groupId>com.google.code.findbugs</groupId>
2122             <artifactId>jsr305</artifactId>
2123           </exclusion>
2124           <exclusion>
2125             <groupId>com.github.spotbugs</groupId>
2126             <artifactId>spotbugs-annotations</artifactId>
2127           </exclusion>
2128           <exclusion>
2129             <groupId>jline</groupId>
2130             <artifactId>jline</artifactId>
2131           </exclusion>
2132           <exclusion>
2133             <groupId>com.sun.jmx</groupId>
2134             <artifactId>jmxri</artifactId>
2135           </exclusion>
2136           <exclusion>
2137             <groupId>com.sun.jdmk</groupId>
2138             <artifactId>jmxtools</artifactId>
2139           </exclusion>
2140           <exclusion>
2141             <groupId>javax.jms</groupId>
2142             <artifactId>jms</artifactId>
2143           </exclusion>
2144           <exclusion>
2145             <groupId>io.netty</groupId>
2146             <artifactId>netty</artifactId>
2147           </exclusion>
2148           <exclusion>
2149             <groupId>org.slf4j</groupId>
2150             <artifactId>slf4j-log4j12</artifactId>
2151           </exclusion>
2152           <exclusion>
2153             <groupId>log4j</groupId>
2154             <artifactId>log4j</artifactId>
2155           </exclusion>
2156         </exclusions>
2157       </dependency>
2158       <dependency>
2159         <groupId>jline</groupId>
2160         <artifactId>jline</artifactId>
2161         <version>${jline.version}</version>
2162       </dependency>
2163       <dependency>
2164         <groupId>org.apache.thrift</groupId>
2165         <artifactId>libthrift</artifactId>
2166         <version>${thrift.version}</version>
2167         <exclusions>
2168           <exclusion>
2169             <groupId>org.slf4j</groupId>
2170             <artifactId>slf4j-simple</artifactId>
2171           </exclusion>
2172         </exclusions>
2173       </dependency>
2174       <dependency>
2175         <groupId>org.jruby</groupId>
2176         <artifactId>jruby-complete</artifactId>
2177         <version>${jruby.version}</version>
2178       </dependency>
2179       <dependency>
2180         <groupId>org.jruby.jcodings</groupId>
2181         <artifactId>jcodings</artifactId>
2182         <version>${jcodings.version}</version>
2183       </dependency>
2184       <dependency>
2185         <groupId>org.jruby.joni</groupId>
2186         <artifactId>joni</artifactId>
2187         <version>${joni.version}</version>
2188       </dependency>
2189       <dependency>
2190         <groupId>com.fasterxml.jackson.jaxrs</groupId>
2191         <artifactId>jackson-jaxrs-json-provider</artifactId>
2192         <version>${jackson.version}</version>
2193       </dependency>
2194       <dependency>
2195         <groupId>com.fasterxml.jackson.core</groupId>
2196         <artifactId>jackson-annotations</artifactId>
2197         <version>${jackson.version}</version>
2198       </dependency>
2199       <dependency>
2200         <groupId>com.fasterxml.jackson.core</groupId>
2201         <artifactId>jackson-core</artifactId>
2202         <version>${jackson.version}</version>
2203       </dependency>
2204       <dependency>
2205         <groupId>com.fasterxml.jackson.core</groupId>
2206         <artifactId>jackson-databind</artifactId>
2207         <version>${jackson.databind.version}</version>
2208       </dependency>
2209       <dependency>
2210         <groupId>org.jamon</groupId>
2211         <artifactId>jamon-runtime</artifactId>
2212         <version>${jamon-runtime.version}</version>
2213       </dependency>
2214       <!-- REST dependencies -->
2215       <dependency>
2216         <groupId>javax.servlet</groupId>
2217         <artifactId>javax.servlet-api</artifactId>
2218         <version>${servlet.api.version}</version>
2219       </dependency>
2220       <dependency>
2221         <groupId>javax.ws.rs</groupId>
2222         <artifactId>javax.ws.rs-api</artifactId>
2223         <version>${wx.rs.api.version}</version>
2224       </dependency>
2225       <dependency>
2226         <groupId>com.sun.activation</groupId>
2227         <artifactId>javax.activation</artifactId>
2228         <version>1.2.0</version>
2229       </dependency>
2230       <dependency>
2231         <groupId>javax.annotation</groupId>
2232         <artifactId>javax.annotation-api</artifactId>
2233         <version>1.2</version>
2234       </dependency>
2235       <dependency>
2236         <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2237         <groupId>org.glassfish.web</groupId>
2238         <artifactId>javax.servlet.jsp</artifactId>
2239         <version>${glassfish.jsp.version}</version>
2240       </dependency>
2241       <dependency>
2242         <!-- this lib is used by the compiled Jsp from the above JspC -->
2243         <groupId>javax.servlet.jsp</groupId>
2244         <artifactId>javax.servlet.jsp-api</artifactId>
2245         <version>2.3.1</version>
2246       </dependency>
2247       <dependency>
2248         <groupId>org.glassfish</groupId>
2249         <artifactId>javax.el</artifactId>
2250         <version>${glassfish.el.version}</version>
2251       </dependency>
2252       <dependency>
2253         <groupId>javax.xml.bind</groupId>
2254         <artifactId>jaxb-api</artifactId>
2255         <version>${jaxb-api.version}</version>
2256         <exclusions>
2257           <exclusion>
2258             <groupId>javax.xml.stream</groupId>
2259             <artifactId>stax-api</artifactId>
2260           </exclusion>
2261         </exclusions>
2262       </dependency>
2263       <dependency>
2264         <groupId>junit</groupId>
2265         <artifactId>junit</artifactId>
2266         <version>${junit.version}</version>
2267       </dependency>
2268       <dependency>
2269         <groupId>org.hamcrest</groupId>
2270         <artifactId>hamcrest-core</artifactId>
2271         <version>${hamcrest.version}</version>
2272         <scope>test</scope>
2273       </dependency>
2274       <dependency>
2275         <groupId>org.hamcrest</groupId>
2276         <artifactId>hamcrest-library</artifactId>
2277         <version>${hamcrest.version}</version>
2278         <scope>test</scope>
2279       </dependency>
2280       <dependency>
2281         <groupId>org.mockito</groupId>
2282         <artifactId>mockito-core</artifactId>
2283         <version>${mockito-core.version}</version>
2284         <scope>test</scope>
2285       </dependency>
2286       <dependency>
2287         <groupId>org.apache.htrace</groupId>
2288         <artifactId>htrace-core4</artifactId>
2289         <version>${htrace.version}</version>
2290       </dependency>
2291       <dependency>
2292         <groupId>com.lmax</groupId>
2293         <artifactId>disruptor</artifactId>
2294         <version>${disruptor.version}</version>
2295       </dependency>
2296       <dependency>
2297         <groupId>net.spy</groupId>
2298         <artifactId>spymemcached</artifactId>
2299         <version>${spy.version}</version>
2300         <optional>true</optional>
2301       </dependency>
2302       <dependency>
2303         <groupId>org.bouncycastle</groupId>
2304         <artifactId>bcprov-jdk15on</artifactId>
2305         <version>${bouncycastle.version}</version>
2306         <scope>test</scope>
2307       </dependency>
2308       <dependency>
2309         <groupId>org.apache.kerby</groupId>
2310         <artifactId>kerb-core</artifactId>
2311         <version>${kerby.version}</version>
2312       </dependency>
2313       <dependency>
2314         <groupId>org.apache.kerby</groupId>
2315         <artifactId>kerb-client</artifactId>
2316         <version>${kerby.version}</version>
2317       </dependency>
2318       <dependency>
2319         <groupId>org.apache.kerby</groupId>
2320         <artifactId>kerb-simplekdc</artifactId>
2321         <version>${kerby.version}</version>
2322       </dependency>
2323       <dependency>
2324         <groupId>org.apache.commons</groupId>
2325         <artifactId>commons-crypto</artifactId>
2326         <version>${commons-crypto.version}</version>
2327         <exclusions>
2328           <exclusion>
2329             <groupId>net.java.dev.jna</groupId>
2330             <artifactId>jna</artifactId>
2331           </exclusion>
2332         </exclusions>
2333       </dependency>
2334       <dependency>
2335         <groupId>org.apache.curator</groupId>
2336         <artifactId>curator-framework</artifactId>
2337         <version>${curator.version}</version>
2338         <exclusions>
2339           <exclusion>
2340             <groupId>org.apache.zookeeper</groupId>
2341             <artifactId>zookeeper</artifactId>
2342           </exclusion>
2343         </exclusions>
2344       </dependency>
2345       <dependency>
2346         <groupId>org.apache.curator</groupId>
2347         <artifactId>curator-client</artifactId>
2348         <version>${curator.version}</version>
2349         <exclusions>
2350           <exclusion>
2351             <groupId>com.google.guava</groupId>
2352             <artifactId>guava</artifactId>
2353           </exclusion>
2354           <exclusion>
2355             <groupId>org.apache.zookeeper</groupId>
2356             <artifactId>zookeeper</artifactId>
2357           </exclusion>
2358         </exclusions>
2359       </dependency>
2360       <dependency>
2361         <groupId>org.apache.curator</groupId>
2362         <artifactId>curator-recipes</artifactId>
2363         <version>${curator.version}</version>
2364         <exclusions>
2365           <exclusion>
2366             <groupId>com.google.guava</groupId>
2367             <artifactId>guava</artifactId>
2368           </exclusion>
2369           <exclusion>
2370             <groupId>org.apache.zookeeper</groupId>
2371             <artifactId>zookeeper</artifactId>
2372           </exclusion>
2373         </exclusions>
2374       </dependency>
2375       <dependency>
2376         <groupId>org.apache.yetus</groupId>
2377         <artifactId>audience-annotations</artifactId>
2378         <version>${audience-annotations.version}</version>
2379       </dependency>
2380       <dependency>
2381         <groupId>org.apache.hbase.thirdparty</groupId>
2382         <artifactId>hbase-shaded-gson</artifactId>
2383         <version>${hbase-thirdparty.version}</version>
2384       </dependency>
2385       <dependency>
2386         <groupId>org.apache.hbase.thirdparty</groupId>
2387         <artifactId>hbase-shaded-miscellaneous</artifactId>
2388         <version>${hbase-thirdparty.version}</version>
2389       </dependency>
2390       <dependency>
2391         <groupId>org.apache.hbase.thirdparty</groupId>
2392         <artifactId>hbase-shaded-netty</artifactId>
2393         <version>${hbase-thirdparty.version}</version>
2394       </dependency>
2395       <dependency>
2396         <groupId>org.apache.hbase.thirdparty</groupId>
2397         <artifactId>hbase-shaded-protobuf</artifactId>
2398         <version>${hbase-thirdparty.version}</version>
2399       </dependency>
2400       <dependency>
2401         <groupId>org.apache.hbase.thirdparty</groupId>
2402         <artifactId>hbase-shaded-jetty</artifactId>
2403         <version>${hbase-thirdparty.version}</version>
2404       </dependency>
2405       <dependency>
2406         <groupId>org.apache.hbase.thirdparty</groupId>
2407         <artifactId>hbase-shaded-jersey</artifactId>
2408         <version>${hbase-thirdparty.version}</version>
2409       </dependency>
2410       <dependency>
2411         <groupId>com.sun.xml.ws</groupId>
2412           <artifactId>jaxws-ri</artifactId>
2413         <version>2.3.2</version>
2414         <type>pom</type>
2415         <exclusions>
2416           <exclusion>
2417             <groupId>javax.activation</groupId>
2418             <artifactId>javax.activation-api</artifactId>
2419           </exclusion>
2420         </exclusions>
2421       </dependency>
2422     </dependencies>
2423   </dependencyManagement>
2424   <dependencies>
2425     <!--REMOVE THIS. HERE TEMPORARILY.
2426          Implication is that every module needs junit which is not so.
2427          Cannot undo though because build runs test on each module and
2428          it fails if no junit. TODO. -->
2429     <dependency>
2430       <groupId>junit</groupId>
2431       <artifactId>junit</artifactId>
2432       <scope>test</scope>
2433     </dependency>
2434   </dependencies>
2436   <!--
2437   To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2439  <settings>
2440   <servers>
2441     <server>
2442       <id>apache.releases.https</id>
2443       <username>hbase_committer</username>
2444       <password>********</password>
2445     </server>
2447     <server>
2448       <id>apache.snapshots.https</id>
2449       <username>hbase_committer</username>
2450       <password>********</password>
2451     </server>
2453   </servers>
2454  </settings>
2456   $ mvn deploy
2457 (or)
2458   $ mvn -s /my/path/settings.xml deploy
2460   -->
2461   <profiles>
2462     <profile>
2463       <id>build-with-jdk8</id>
2464       <activation>
2465         <jdk>[1.8,)</jdk>
2466       </activation>
2467       <build>
2468         <pluginManagement>
2469           <plugins>
2470           </plugins>
2471         </pluginManagement>
2472       </build>
2473     </profile>
2474     <profile>
2475       <id>build-with-jdk11</id>
2476       <activation>
2477         <jdk>[1.11,)</jdk>
2478       </activation>
2479       <properties>
2480         <!-- TODO: replicate logic for windows support -->
2481         <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2482         <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2483         <hadoop-three.version>3.2.0</hadoop-three.version>
2484         <!--
2485           Value to use for surefire when running jdk11.
2486           TODO: replicate logic for windows
2487         -->
2488         <surefire.Xmx>2200m</surefire.Xmx>
2489       </properties>
2490     </profile>
2491     <!-- profile activated by the Jenkins patch testing job -->
2492     <profile>
2493       <id>jenkins.patch</id>
2494       <activation>
2495         <activeByDefault>false</activeByDefault>
2496         <property>
2497             <name>HBasePatchProcess</name>
2498         </property>
2499       </activation>
2500       <properties>
2501         <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2502       </properties>
2503       <build>
2504         <plugins>
2505           <plugin>
2506             <groupId>org.apache.maven.plugins</groupId>
2507             <artifactId>maven-antrun-plugin</artifactId>
2508             <inherited>false</inherited>
2509             <executions>
2510               <execution>
2511                 <phase>validate</phase>
2512                 <goals>
2513                   <goal>run</goal>
2514                 </goals>
2515                 <configuration>
2516                   <tasks>
2517                     <echo>Maven Execution Environment</echo>
2518                     <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2519                   </tasks>
2520                 </configuration>
2521               </execution>
2522             </executions>
2523           </plugin>
2524         </plugins>
2525       </build>
2526     </profile>
2527     <profile>
2528       <id>jacoco</id>
2529       <activation>
2530         <activeByDefault>false</activeByDefault>
2531       </activation>
2532       <build>
2533         <plugins>
2534           <plugin>
2535             <groupId>org.jacoco</groupId>
2536             <artifactId>jacoco-maven-plugin</artifactId>
2537             <version>${jacoco.version}</version>
2538             <executions>
2539               <execution>
2540                 <id>prepare-agent</id>
2541                 <goals>
2542                   <goal>prepare-agent</goal>
2543                 </goals>
2544               </execution>
2545               <execution>
2546                 <id>report</id>
2547                 <phase>prepare-package</phase>
2548                 <goals>
2549                   <goal>report</goal>
2550                 </goals>
2551               </execution>
2552             </executions>
2553             <configuration>
2554               <systemPropertyVariables>
2555                 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2556               </systemPropertyVariables>
2557               <excludes>
2558                 <exclude>**/generated/**/*.class</exclude>
2559               </excludes>
2560             </configuration>
2561           </plugin>
2562         </plugins>
2563       </build>
2564     </profile>
2565     <profile>
2566       <id>os.linux</id>
2567       <activation>
2568         <activeByDefault>false</activeByDefault>
2569         <os>
2570           <family>Linux</family>
2571         </os>
2572       </activation>
2573       <properties>
2574         <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2575       </properties>
2576     </profile>
2577     <profile>
2578       <id>os.mac</id>
2579       <activation>
2580         <os>
2581           <family>Mac</family>
2582         </os>
2583       </activation>
2584       <properties>
2585         <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2586       </properties>
2587     </profile>
2588     <profile>
2589       <id>os.windows</id>
2590       <activation>
2591         <os>
2592           <family>Windows</family>
2593         </os>
2594       </activation>
2595       <properties>
2596         <build.platform>cygwin</build.platform>
2597         <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2598       </properties>
2599     </profile>
2600     <!-- this profile should match the name of the release profile in the root asf pom -->
2601     <profile>
2602       <id>apache-release</id>
2603       <build>
2604         <plugins>
2605           <!-- This should insert itself in place of the normal deploy plugin and then
2606                handle either closing or dropping the staging repository for us depending
2607                on if the build succeeds.
2608             -->
2609           <plugin>
2610             <groupId>org.sonatype.plugins</groupId>
2611             <artifactId>nexus-staging-maven-plugin</artifactId>
2612             <version>1.6.8</version>
2613             <extensions>true</extensions>
2614             <configuration>
2615               <nexusUrl>https://repository.apache.org/</nexusUrl>
2616               <serverId>apache.releases.https</serverId>
2617             </configuration>
2618           </plugin>
2619         </plugins>
2620       </build>
2621     </profile>
2622     <!-- this profile should be activated for release builds -->
2623     <profile>
2624       <id>release</id>
2625       <build>
2626         <plugins>
2627           <plugin>
2628             <groupId>org.apache.rat</groupId>
2629             <artifactId>apache-rat-plugin</artifactId>
2630             <executions>
2631               <execution>
2632                 <phase>package</phase>
2633                 <goals>
2634                   <goal>check</goal>
2635                 </goals>
2636               </execution>
2637             </executions>
2638           </plugin>
2639           <plugin>
2640             <groupId>org.apache.maven.plugins</groupId>
2641             <artifactId>maven-enforcer-plugin</artifactId>
2642             <version>${enforcer.version}</version>
2643             <dependencies>
2644               <dependency>
2645                 <groupId>org.codehaus.mojo</groupId>
2646                 <artifactId>extra-enforcer-rules</artifactId>
2647                 <version>${extra.enforcer.version}</version>
2648               </dependency>
2649             </dependencies>
2650             <configuration>
2651               <rules>
2652                 <enforceBytecodeVersion>
2653                 <maxJdkVersion>${compileSource}</maxJdkVersion>
2654                 <message>HBase has unsupported dependencies.
2655   HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2656   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
2657   either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2658   Non-release builds can temporarily build with a newer JDK version by setting the
2659   'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2660                 </message>
2661                 <ignoreClasses>
2662                   <ignoreClass>module-info</ignoreClass>
2663                 </ignoreClasses>
2664               </enforceBytecodeVersion>
2665             </rules>
2666           </configuration>
2667           </plugin>
2668         </plugins>
2669       </build>
2670     </profile>
2671     <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2672     <!-- Submodules that need hadoop dependencies should declare
2673          profiles with activation properties matching the profile here.
2674          Generally, it should be sufficient to copy the first
2675          few lines of the profile you want to match. -->
2676     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2677     <profile>
2678       <id>hadoop-3.0</id>
2679       <activation>
2680         <property><name>!hadoop.profile</name></property>
2681       </activation>
2682       <properties>
2683         <hadoop.version>${hadoop-three.version}</hadoop.version>
2684         <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2685       </properties>
2686      <dependencyManagement>
2687        <dependencies>
2688          <dependency>
2689            <groupId>org.apache.hadoop</groupId>
2690            <artifactId>hadoop-mapreduce-client-core</artifactId>
2691            <version>${hadoop-three.version}</version>
2692            <exclusions>
2693              <exclusion>
2694                <groupId>com.sun.jersey</groupId>
2695                <artifactId>jersey-core</artifactId>
2696              </exclusion>
2697              <exclusion>
2698                <groupId>org.codehaus.jackson</groupId>
2699                <artifactId>jackson-jaxrs</artifactId>
2700              </exclusion>
2701              <exclusion>
2702                <groupId>org.codehaus.jackson</groupId>
2703                <artifactId>jackson-xc</artifactId>
2704              </exclusion>
2705              <exclusion>
2706                <groupId>io.netty</groupId>
2707                <artifactId>netty</artifactId>
2708              </exclusion>
2709               <exclusion>
2710                 <groupId>javax.servlet</groupId>
2711                 <artifactId>servlet-api</artifactId>
2712               </exclusion>
2713               <exclusion>
2714                 <groupId>javax.inject</groupId>
2715                 <artifactId>javax.inject</artifactId>
2716               </exclusion>
2717               <exclusion>
2718                 <groupId>org.codehaus.jackson</groupId>
2719                 <artifactId>jackson-core-asl</artifactId>
2720               </exclusion>
2721               <exclusion>
2722                 <groupId>org.codehaus.jackson</groupId>
2723                 <artifactId>jackson-mapper-asl</artifactId>
2724               </exclusion>
2725               <exclusion>
2726                 <groupId>com.google.guava</groupId>
2727                 <artifactId>guava</artifactId>
2728               </exclusion>
2729               <exclusion>
2730                 <groupId>org.slf4j</groupId>
2731                 <artifactId>slf4j-log4j12</artifactId>
2732               </exclusion>
2733               <exclusion>
2734                 <groupId>log4j</groupId>
2735                 <artifactId>log4j</artifactId>
2736               </exclusion>
2737            </exclusions>
2738          </dependency>
2739          <dependency>
2740            <groupId>org.apache.hadoop</groupId>
2741            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2742            <version>${hadoop-three.version}</version>
2743            <exclusions>
2744              <exclusion>
2745                <groupId>com.sun.jersey</groupId>
2746                <artifactId>jersey-core</artifactId>
2747              </exclusion>
2748              <exclusion>
2749                <groupId>io.netty</groupId>
2750                <artifactId>netty</artifactId>
2751              </exclusion>
2752               <exclusion>
2753                 <groupId>javax.servlet</groupId>
2754                 <artifactId>servlet-api</artifactId>
2755               </exclusion>
2756              <exclusion>
2757                <groupId>org.slf4j</groupId>
2758                <artifactId>slf4j-log4j12</artifactId>
2759              </exclusion>
2760              <exclusion>
2761                <groupId>log4j</groupId>
2762                <artifactId>log4j</artifactId>
2763              </exclusion>
2764            </exclusions>
2765          </dependency>
2766          <dependency>
2767            <groupId>org.apache.hadoop</groupId>
2768            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2769            <version>${hadoop-three.version}</version>
2770            <type>test-jar</type>
2771            <scope>test</scope>
2772            <exclusions>
2773              <exclusion>
2774                <groupId>com.sun.jersey</groupId>
2775                <artifactId>jersey-core</artifactId>
2776              </exclusion>
2777              <exclusion>
2778                <groupId>io.netty</groupId>
2779                <artifactId>netty</artifactId>
2780              </exclusion>
2781               <exclusion>
2782                 <groupId>javax.servlet</groupId>
2783                 <artifactId>servlet-api</artifactId>
2784               </exclusion>
2785               <exclusion>
2786                 <groupId>org.slf4j</groupId>
2787                 <artifactId>slf4j-log4j12</artifactId>
2788               </exclusion>
2789               <exclusion>
2790                 <groupId>log4j</groupId>
2791                 <artifactId>log4j</artifactId>
2792               </exclusion>
2793            </exclusions>
2794          </dependency>
2795          <dependency>
2796            <groupId>org.apache.hadoop</groupId>
2797            <artifactId>hadoop-hdfs</artifactId>
2798            <version>${hadoop-three.version}</version>
2799            <exclusions>
2800              <exclusion>
2801                <groupId>com.sun.jersey</groupId>
2802                <artifactId>jersey-core</artifactId>
2803              </exclusion>
2804              <exclusion>
2805                <groupId>com.sun.jersey</groupId>
2806                <artifactId>jersey-server</artifactId>
2807              </exclusion>
2808              <exclusion>
2809                <groupId>javax.servlet.jsp</groupId>
2810                <artifactId>jsp-api</artifactId>
2811              </exclusion>
2812              <exclusion>
2813                <groupId>javax.servlet</groupId>
2814                <artifactId>servlet-api</artifactId>
2815              </exclusion>
2816              <exclusion>
2817                <groupId>stax</groupId>
2818                <artifactId>stax-api</artifactId>
2819              </exclusion>
2820              <exclusion>
2821                <groupId>xerces</groupId>
2822                <artifactId>xercesImpl</artifactId>
2823              </exclusion>
2824              <exclusion>
2825                <groupId>org.codehaus.jackson</groupId>
2826                <artifactId>jackson-core-asl</artifactId>
2827              </exclusion>
2828              <exclusion>
2829                <groupId>org.codehaus.jackson</groupId>
2830                <artifactId>jackson-mapper-asl</artifactId>
2831              </exclusion>
2832              <exclusion>
2833                <groupId>com.google.guava</groupId>
2834                <artifactId>guava</artifactId>
2835              </exclusion>
2836              <exclusion>
2837                <groupId>org.slf4j</groupId>
2838                <artifactId>slf4j-log4j12</artifactId>
2839              </exclusion>
2840              <exclusion>
2841                <groupId>log4j</groupId>
2842                <artifactId>log4j</artifactId>
2843              </exclusion>
2844            </exclusions>
2845          </dependency>
2846          <dependency>
2847            <groupId>org.apache.hadoop</groupId>
2848            <artifactId>hadoop-hdfs</artifactId>
2849            <version>${hadoop-three.version}</version>
2850            <type>test-jar</type>
2851            <scope>test</scope>
2852            <exclusions>
2853              <exclusion>
2854                <groupId>javax.servlet.jsp</groupId>
2855                <artifactId>jsp-api</artifactId>
2856              </exclusion>
2857              <exclusion>
2858                <groupId>javax.servlet</groupId>
2859                <artifactId>servlet-api</artifactId>
2860              </exclusion>
2861              <exclusion>
2862                <groupId>stax</groupId>
2863                <artifactId>stax-api</artifactId>
2864              </exclusion>
2865              <exclusion>
2866                <groupId>xerces</groupId>
2867                <artifactId>xercesImpl</artifactId>
2868              </exclusion>
2869              <exclusion>
2870                <groupId>org.codehaus.jackson</groupId>
2871                <artifactId>jackson-core-asl</artifactId>
2872              </exclusion>
2873              <exclusion>
2874                <groupId>org.codehaus.jackson</groupId>
2875                <artifactId>jackson-mapper-asl</artifactId>
2876              </exclusion>
2877              <exclusion>
2878                <groupId>com.google.guava</groupId>
2879                <artifactId>guava</artifactId>
2880              </exclusion>
2881              <exclusion>
2882                <groupId>com.sun.jersey</groupId>
2883                <artifactId>jersey-core</artifactId>
2884              </exclusion>
2885              <exclusion>
2886                <groupId>org.slf4j</groupId>
2887                <artifactId>slf4j-log4j12</artifactId>
2888              </exclusion>
2889              <exclusion>
2890                <groupId>log4j</groupId>
2891                <artifactId>log4j</artifactId>
2892              </exclusion>
2893            </exclusions>
2894          </dependency>
2895          <dependency>
2896            <groupId>org.apache.hadoop</groupId>
2897            <artifactId>hadoop-hdfs</artifactId>
2898            <version>${hadoop-three.version}</version>
2899            <type>test-jar</type>
2900            <classifier>tests</classifier>
2901            <scope>test</scope>
2902            <exclusions>
2903              <exclusion>
2904                <groupId>com.sun.jersey</groupId>
2905                <artifactId>jersey-core</artifactId>
2906              </exclusion>
2907            </exclusions>
2908          </dependency>
2909          <dependency>
2910            <groupId>org.apache.hadoop</groupId>
2911            <artifactId>hadoop-auth</artifactId>
2912            <version>${hadoop-three.version}</version>
2913            <exclusions>
2914              <exclusion>
2915                <groupId>com.google.guava</groupId>
2916                <artifactId>guava</artifactId>
2917              </exclusion>
2918              <exclusion>
2919                <groupId>net.minidev</groupId>
2920                <artifactId>json-smart</artifactId>
2921              </exclusion>
2922              <exclusion>
2923                <groupId>org.slf4j</groupId>
2924                <artifactId>slf4j-log4j12</artifactId>
2925              </exclusion>
2926              <exclusion>
2927                <groupId>log4j</groupId>
2928                <artifactId>log4j</artifactId>
2929              </exclusion>
2930            </exclusions>
2931          </dependency>
2932          <dependency>
2933            <groupId>org.apache.hadoop</groupId>
2934            <artifactId>hadoop-common</artifactId>
2935            <version>${hadoop-three.version}</version>
2936            <exclusions>
2937              <exclusion>
2938                <groupId>com.sun.jersey</groupId>
2939                <artifactId>jersey-core</artifactId>
2940              </exclusion>
2941              <exclusion>
2942                <groupId>com.sun.jersey</groupId>
2943                <artifactId>jersey-json</artifactId>
2944              </exclusion>
2945              <exclusion>
2946                <groupId>com.sun.jersey</groupId>
2947                <artifactId>jersey-servlet</artifactId>
2948              </exclusion>
2949              <exclusion>
2950               <groupId>com.sun.jersey</groupId>
2951                <artifactId>jersey-server</artifactId>
2952              </exclusion>
2953              <exclusion>
2954                <groupId>javax.servlet.jsp</groupId>
2955                <artifactId>jsp-api</artifactId>
2956              </exclusion>
2957              <exclusion>
2958                <groupId>javax.servlet</groupId>
2959                <artifactId>javax.servlet-api</artifactId>
2960              </exclusion>
2961              <exclusion>
2962                <groupId>stax</groupId>
2963                <artifactId>stax-api</artifactId>
2964              </exclusion>
2965              <exclusion>
2966                <groupId>io.netty</groupId>
2967                <artifactId>netty</artifactId>
2968              </exclusion>
2969              <exclusion>
2970                <groupId>com.google.code.findbugs</groupId>
2971                <artifactId>jsr305</artifactId>
2972              </exclusion>
2973              <exclusion>
2974                <groupId>junit</groupId>
2975                <artifactId>junit</artifactId>
2976              </exclusion>
2977              <exclusion>
2978                <groupId>org.codehause.jackson</groupId>
2979                <artifactId>jackson-core-asl</artifactId>
2980              </exclusion>
2981              <exclusion>
2982                <groupId>org.codehause.jackson</groupId>
2983                <artifactId>jackson-mapper-asl</artifactId>
2984              </exclusion>
2985              <exclusion>
2986                <groupId>org.slf4j</groupId>
2987                <artifactId>slf4j-log4j12</artifactId>
2988              </exclusion>
2989              <exclusion>
2990                <groupId>log4j</groupId>
2991                <artifactId>log4j</artifactId>
2992              </exclusion>
2993            </exclusions>
2994          </dependency>
2995          <dependency>
2996            <!--
2997              a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2998            -->
2999            <groupId>javax.activation</groupId>
3000            <artifactId>javax.activation-api</artifactId>
3001            <version>1.2.0</version>
3002            <scope>test</scope>
3003          </dependency>
3004          <dependency>
3005            <groupId>org.apache.hadoop</groupId>
3006            <artifactId>hadoop-common</artifactId>
3007            <type>test-jar</type>
3008            <classifier>tests</classifier>
3009            <version>${hadoop-three.version}</version>
3010            <exclusions>
3011              <exclusion>
3012                <groupId>com.sun.jersey</groupId>
3013                <artifactId>jersey-core</artifactId>
3014              </exclusion>
3015              <exclusion>
3016                <groupId>com.google.code.findbugs</groupId>
3017                <artifactId>jsr305</artifactId>
3018              </exclusion>
3019            </exclusions>
3020          </dependency>
3021          <dependency>
3022            <groupId>org.apache.hadoop</groupId>
3023            <artifactId>hadoop-client</artifactId>
3024            <version>${hadoop-three.version}</version>
3025          </dependency>
3026          <dependency>
3027            <groupId>org.apache.hadoop</groupId>
3028            <artifactId>hadoop-annotations</artifactId>
3029            <version>${hadoop-three.version}</version>
3030          </dependency>
3031          <!-- This was marked as test dep in earlier pom, but was scoped compile.
3032            Where do we actually need it? -->
3033          <dependency>
3034            <groupId>org.apache.hadoop</groupId>
3035            <artifactId>hadoop-minicluster</artifactId>
3036            <version>${hadoop-three.version}</version>
3037            <exclusions>
3038               <!--If we comment this in, a few tests in hbase-mapreduce
3039                    fail. They depend on jersey-core somehow. But excluding
3040                    jersey-core here messes up hbase-it because jersey-core
3041                    implements a 1.x jaxrs Response Interface when we depend
3042                    on the 2.x Interface... . Letting this jar come in
3043                    transitively here but will exclude it down in hbase-it.
3044                    See HBASE-22029.
3045              <exclusion>
3046                <groupId>com.sun.jersey</groupId>
3047                <artifactId>jersey-core</artifactId>
3048              </exclusion>
3049              -->
3050              <exclusion>
3051                <groupId>commons-httpclient</groupId>
3052                <artifactId>commons-httpclient</artifactId>
3053              </exclusion>
3054              <exclusion>
3055                <groupId>javax.servlet.jsp</groupId>
3056                <artifactId>jsp-api</artifactId>
3057              </exclusion>
3058              <exclusion>
3059                <groupId>javax.servlet</groupId>
3060                <artifactId>servlet-api</artifactId>
3061              </exclusion>
3062              <exclusion>
3063                <groupId>stax</groupId>
3064                <artifactId>stax-api</artifactId>
3065              </exclusion>
3066              <exclusion>
3067                <groupId>io.netty</groupId>
3068                <artifactId>netty</artifactId>
3069              </exclusion>
3070              <exclusion>
3071                <groupId>com.google.code.findbugs</groupId>
3072                <artifactId>jsr305</artifactId>
3073              </exclusion>
3074              <exclusion>
3075                <groupId>org.slf4j</groupId>
3076                <artifactId>slf4j-log4j12</artifactId>
3077              </exclusion>
3078              <exclusion>
3079                <groupId>log4j</groupId>
3080                <artifactId>log4j</artifactId>
3081              </exclusion>
3082            </exclusions>
3083          </dependency>
3084          <dependency>
3085            <groupId>org.apache.hadoop</groupId>
3086            <artifactId>hadoop-minikdc</artifactId>
3087            <version>${hadoop-three.version}</version>
3088            <scope>test</scope>
3089            <exclusions>
3090              <exclusion>
3091                <groupId>org.slf4j</groupId>
3092                <artifactId>slf4j-log4j12</artifactId>
3093              </exclusion>
3094              <exclusion>
3095                <groupId>log4j</groupId>
3096                <artifactId>log4j</artifactId>
3097              </exclusion>
3098            </exclusions>
3099          </dependency>
3100          <dependency>
3101            <groupId>org.apache.hadoop</groupId>
3102            <artifactId>hadoop-distcp</artifactId>
3103            <version>${hadoop-three.version}</version>
3104          </dependency>
3106          <dependency>
3107            <groupId>org.apache.hadoop</groupId>
3108            <artifactId>hadoop-hdfs-client</artifactId>
3109            <version>${hadoop-three.version}</version>
3110          </dependency>
3111        </dependencies>
3112      </dependencyManagement>
3114     </profile>
3115     <!-- profiles for the tests
3116          See as well the properties of the project for the values
3117          when no profile is active.     -->
3118     <profile>
3119       <!-- Use it to launch all tests in the same JVM  -->
3120       <id>singleJVMTests</id>
3121       <activation>
3122         <activeByDefault>false</activeByDefault>
3123       </activation>
3124       <properties>
3125         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3126         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3127         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3128         <surefire.firstPartGroups/>
3129       </properties>
3130     </profile>
3131     <profile>
3132       <!-- Use it to launch small tests only -->
3133       <id>runSmallTests</id>
3134       <activation>
3135         <activeByDefault>false</activeByDefault>
3136       </activation>
3137       <properties>
3138         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3139         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3140         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3141         <surefire.secondPartGroups/>
3142       </properties>
3143     </profile>
3144     <profile>
3145       <!-- Use it to launch medium tests only -->
3146       <id>runMediumTests</id>
3147       <activation>
3148         <activeByDefault>false</activeByDefault>
3149       </activation>
3150       <properties>
3151         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3152         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3153         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3154         <surefire.secondPartGroups/>
3155       </properties>
3156     </profile>
3157     <profile>
3158       <!-- Use it to launch large tests only -->
3159       <id>runLargeTests</id>
3160       <activation>
3161         <activeByDefault>false</activeByDefault>
3162       </activation>
3163       <properties>
3164         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3165         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3166         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3167         <surefire.secondPartGroups/>
3168       </properties>
3169     </profile>
3170     <profile>
3171       <!-- Use it to launch small & medium tests -->
3172       <id>runDevTests</id>
3173       <activation>
3174         <activeByDefault>false</activeByDefault>
3175       </activation>
3176       <properties>
3177         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3178         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3179         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3180         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3181         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3182       </properties>
3183     </profile>
3184     <profile>
3185       <!-- Use it to launch all tests -->
3186       <id>runAllTests</id>
3187       <activation>
3188         <activeByDefault>false</activeByDefault>
3189       </activation>
3190       <properties>
3191         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3192         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3193         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3194         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3195       </properties>
3196     </profile>
3197     <profile>
3198       <id>runMiscTests</id>
3199       <activation>
3200         <activeByDefault>false</activeByDefault>
3201       </activation>
3202       <properties>
3203         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3204         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3205         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3206         </surefire.firstPartGroups>
3207         <surefire.secondPartGroups></surefire.secondPartGroups>
3208       </properties>
3209     </profile>
3210     <profile>
3211       <id>runCoprocessorTests</id>
3212       <activation>
3213         <activeByDefault>false</activeByDefault>
3214       </activation>
3215       <properties>
3216         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3217         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3218         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3219         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3220         <surefire.firstPartGroups>
3221           org.apache.hadoop.hbase.testclassification.CoprocessorTests
3222         </surefire.firstPartGroups>
3223         <surefire.secondPartGroups></surefire.secondPartGroups>
3224       </properties>
3225     </profile>
3226     <profile>
3227       <id>runClientTests</id>
3228       <activation>
3229         <activeByDefault>false</activeByDefault>
3230       </activation>
3231       <properties>
3232         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3233         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3234         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3235         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3236         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3237         </surefire.firstPartGroups>
3238         <surefire.secondPartGroups></surefire.secondPartGroups>
3239       </properties>
3240     </profile>
3241     <profile>
3242       <id>runMasterTests</id>
3243       <activation>
3244         <activeByDefault>false</activeByDefault>
3245       </activation>
3246       <properties>
3247         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3248         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3249         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3250         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3251         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3252         </surefire.firstPartGroups>
3253         <surefire.secondPartGroups></surefire.secondPartGroups>
3254       </properties>
3255     </profile>
3256     <profile>
3257       <id>runMapredTests</id>
3258       <activation>
3259         <activeByDefault>false</activeByDefault>
3260       </activation>
3261       <properties>
3262         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3263         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3264         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3265         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3266         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3267         </surefire.firstPartGroups>
3268         <surefire.secondPartGroups></surefire.secondPartGroups>
3269       </properties>
3270     </profile>
3271     <profile>
3272       <id>runMapreduceTests</id>
3273       <activation>
3274         <activeByDefault>false</activeByDefault>
3275       </activation>
3276       <properties>
3277         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3278         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3279         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3280         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3281         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3282         </surefire.firstPartGroups>
3283         <surefire.secondPartGroups></surefire.secondPartGroups>
3284       </properties>
3285     </profile>
3286     <profile>
3287       <id>runRegionServerTests</id>
3288       <activation>
3289         <activeByDefault>false</activeByDefault>
3290       </activation>
3291       <properties>
3292         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3293         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3294         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3295         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3296         <surefire.firstPartGroups>
3297           org.apache.hadoop.hbase.testclassification.RegionServerTests
3298         </surefire.firstPartGroups>
3299         <surefire.secondPartGroups></surefire.secondPartGroups>
3300       </properties>
3301     </profile>
3302     <profile>
3303       <id>runVerySlowMapReduceTests</id>
3304       <activation>
3305         <activeByDefault>false</activeByDefault>
3306       </activation>
3307       <properties>
3308         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3309         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3310         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3311         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3312         <surefire.firstPartGroups>
3313           org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3314         </surefire.firstPartGroups>
3315         <surefire.secondPartGroups></surefire.secondPartGroups>
3316       </properties>
3317     </profile>
3319     <profile>
3320       <id>runVerySlowRegionServerTests</id>
3321       <activation>
3322         <activeByDefault>false</activeByDefault>
3323       </activation>
3324       <properties>
3325         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3326         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3327         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3328         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3329         <surefire.firstPartGroups>
3330           org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3331         </surefire.firstPartGroups>
3332         <surefire.secondPartGroups></surefire.secondPartGroups>
3333       </properties>
3334     </profile>
3336     <profile>
3337       <id>runFilterTests</id>
3338       <activation>
3339         <activeByDefault>false</activeByDefault>
3340       </activation>
3341       <properties>
3342         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3343         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3344         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3345         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3346         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3347         </surefire.firstPartGroups>
3348         <surefire.secondPartGroups></surefire.secondPartGroups>
3349       </properties>
3350     </profile>
3351     <profile>
3352       <id>runIOTests</id>
3353       <activation>
3354         <activeByDefault>false</activeByDefault>
3355       </activation>
3356       <properties>
3357         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3358         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3359         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3360         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3361         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3362         </surefire.firstPartGroups>
3363         <surefire.secondPartGroups></surefire.secondPartGroups>
3364       </properties>
3365     </profile>
3366     <profile>
3367       <id>runRestTests</id>
3368       <activation>
3369         <activeByDefault>false</activeByDefault>
3370       </activation>
3371       <properties>
3372         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3373         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3374         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3375         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3376         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3377         </surefire.firstPartGroups>
3378         <surefire.secondPartGroups></surefire.secondPartGroups>
3379       </properties>
3380     </profile>
3381     <profile>
3382       <id>runRPCTests</id>
3383       <activation>
3384         <activeByDefault>false</activeByDefault>
3385       </activation>
3386       <properties>
3387         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3388         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3389         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3390         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3391         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3392         </surefire.firstPartGroups>
3393         <surefire.secondPartGroups></surefire.secondPartGroups>
3394       </properties>
3395     </profile>
3396     <profile>
3397       <id>runReplicationTests</id>
3398       <activation>
3399         <activeByDefault>false</activeByDefault>
3400       </activation>
3401       <properties>
3402         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3403         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3404         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3405         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3406         <surefire.firstPartGroups>
3407           org.apache.hadoop.hbase.testclassification.ReplicationTests
3408         </surefire.firstPartGroups>
3409         <surefire.secondPartGroups></surefire.secondPartGroups>
3410       </properties>
3411     </profile>
3412     <profile>
3413       <id>runSecurityTests</id>
3414       <activation>
3415         <activeByDefault>false</activeByDefault>
3416       </activation>
3417       <properties>
3418         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3419         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3420         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3421         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3422         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3423         </surefire.firstPartGroups>
3424         <surefire.secondPartGroups></surefire.secondPartGroups>
3425       </properties>
3426     </profile>
3427     <profile>
3428       <id>runFlakeyTests</id>
3429       <activation>
3430         <activeByDefault>false</activeByDefault>
3431       </activation>
3432       <properties>
3433         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3434         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3435         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3436         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3437         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3438         </surefire.firstPartGroups>
3439         <surefire.secondPartGroups></surefire.secondPartGroups>
3440       </properties>
3441     </profile>
3442     <profile>
3443       <id>runZKTests</id>
3444       <activation>
3445         <activeByDefault>false</activeByDefault>
3446       </activation>
3447       <properties>
3448         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3449         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3450         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3451         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3452         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3453         </surefire.firstPartGroups>
3454         <surefire.secondPartGroups></surefire.secondPartGroups>
3455       </properties>
3456     </profile>
3457     <profile>
3458       <id>runRSGroupTests</id>
3459       <activation>
3460         <activeByDefault>false</activeByDefault>
3461       </activation>
3462       <properties>
3463         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3464         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3465         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3466         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3467         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3468         </surefire.firstPartGroups>
3469         <surefire.secondPartGroups></surefire.secondPartGroups>
3470       </properties>
3471     </profile>
3473     <profile>
3474       <!-- Use it to launch tests locally-->
3475       <id>localTests</id>
3476       <activation>
3477         <property>
3478           <name>test</name>
3479         </property>
3480       </activation>
3481       <properties>
3482         <surefire.provider>surefire-junit4</surefire.provider>
3483         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3484         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3485         <surefire.firstPartGroups/>
3486       </properties>
3487     </profile>
3488     <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3489          or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3490          the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3491          The report will be generated under target/site/clover/index.html when you run
3492          MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3493     <profile>
3494       <id>clover</id>
3495       <activation>
3496         <activeByDefault>false</activeByDefault>
3497         <property>
3498           <name>clover</name>
3499         </property>
3500       </activation>
3501       <properties>
3502         <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3503       </properties>
3504       <build>
3505         <plugins>
3506         <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3507              our instrumented classes for the doclet will fail
3508           -->
3509           <plugin>
3510             <groupId>org.apache.maven.plugins</groupId>
3511             <artifactId>maven-javadoc-plugin</artifactId>
3512             <dependencies>
3513               <dependency>
3514                 <groupId>com.atlassian.maven.plugins</groupId>
3515                 <artifactId>maven-clover2-plugin</artifactId>
3516                 <version>${clover.version}</version>
3517               </dependency>
3518             </dependencies>
3519           </plugin>
3520           <plugin>
3521             <groupId>com.atlassian.maven.plugins</groupId>
3522             <artifactId>maven-clover2-plugin</artifactId>
3523             <version>${clover.version}</version>
3524             <configuration>
3525               <includesAllSourceRoots>true</includesAllSourceRoots>
3526               <includesTestSourceRoots>true</includesTestSourceRoots>
3527               <targetPercentage>50%</targetPercentage>
3528               <generateHtml>true</generateHtml>
3529               <generateXml>true</generateXml>
3530               <excludes>
3531                 <exclude>**/generated/**</exclude>
3532               </excludes>
3533             </configuration>
3534             <executions>
3535               <execution>
3536                 <id>clover-setup</id>
3537                 <phase>process-sources</phase>
3538                 <goals>
3539                   <goal>setup</goal>
3540                 </goals>
3541               </execution>
3542               <execution>
3543                 <id>clover</id>
3544                 <phase>site</phase>
3545                 <goals>
3546                   <goal>clover</goal>
3547                 </goals>
3548               </execution>
3549             </executions>
3550           </plugin>
3551         </plugins>
3552       </build>
3553     </profile>
3554     <profile>
3555       <!-- Used by the website generation script on jenkins to
3556            do a local install of the jars we need to run a normal
3557            site build w/o forking.
3558         -->
3559       <id>site-install-step</id>
3560       <properties>
3561         <skipTests>true</skipTests>
3562         <maven.javadoc.skip>true</maven.javadoc.skip>
3563         <enforcer.skip>true</enforcer.skip>
3564         <checkstyle.skip>true</checkstyle.skip>
3565         <spotbugs.skip>true</spotbugs.skip>
3566         <warbucks.skip>true</warbucks.skip>
3567       </properties>
3568     </profile>
3569     <profile>
3570       <!-- Used by the website generation script on jenkins to
3571            mitigate the impact of unneeded build forks while building
3572            our javadocs.
3573         -->
3574       <id>site-build-step</id>
3575       <properties>
3576         <skipTests>true</skipTests>
3577         <enforcer.skip>true</enforcer.skip>
3578         <maven.main.skip>true</maven.main.skip>
3579         <maven.test.skip>true</maven.test.skip>
3580         <warbucks.skip>true</warbucks.skip>
3581         <protoc.skip>true</protoc.skip>
3582         <remoteresources.skip>true</remoteresources.skip>
3583       </properties>
3584     </profile>
3585     <profile>
3586       <id>eclipse-specific</id>
3587       <activation>
3588         <property>
3589           <name>m2e.version</name>
3590         </property>
3591       </activation>
3592       <build>
3593         <pluginManagement>
3594           <plugins>
3595             <!-- General config for eclipse classpath/settings -->
3596             <plugin>
3597               <groupId>org.apache.maven.plugins</groupId>
3598               <artifactId>maven-eclipse-plugin</artifactId>
3599               <version>${maven.eclipse.version}</version>
3600             </plugin>
3601             <!--This plugin's configuration is used to store Eclipse m2e settings
3602                 only. It has no influence on the Maven build itself. m2e does not
3603                 provide any safeguards against rogue maven plugins that leak
3604                 classloaders, modify random files inside workspace or throw nasty
3605                 exceptions to fail the build.
3606                 Top level doesn't do any specific configuration currently - left
3607                 to modules to decide what they want to bind, sans those plugins
3608                 defined in this pom. -->
3609             <plugin>
3610               <groupId>org.eclipse.m2e</groupId>
3611               <artifactId>lifecycle-mapping</artifactId>
3612               <version>${lifecycle.mapping.version}</version>
3613               <configuration>
3614                 <lifecycleMappingMetadata>
3615                   <pluginExecutions>
3616                     <pluginExecution>
3617                       <pluginExecutionFilter>
3618                         <groupId>org.jacoco</groupId>
3619                         <artifactId>jacoco-maven-plugin</artifactId>
3620                         <versionRange>[0.6.2.201302030002,)</versionRange>
3621                         <goals>
3622                           <goal>prepare-agent</goal>
3623                         </goals>
3624                       </pluginExecutionFilter>
3625                       <action>
3626                         <ignore></ignore>
3627                       </action>
3628                     </pluginExecution>
3629                     <pluginExecution>
3630                       <pluginExecutionFilter>
3631                         <groupId>org.apache.maven.plugins</groupId>
3632                         <artifactId>maven-enforcer-plugin</artifactId>
3633                         <versionRange>${enforcer.version}</versionRange>
3634                         <goals>
3635                           <goal>enforce</goal>
3636                         </goals>
3637                       </pluginExecutionFilter>
3638                       <action>
3639                         <ignore />
3640                       </action>
3641                     </pluginExecution>
3642                     <pluginExecution>
3643                       <pluginExecutionFilter>
3644                         <groupId>org.apache.maven.plugins</groupId>
3645                         <artifactId>maven-remote-resources-plugin</artifactId>
3646                         <versionRange>[1.5,)</versionRange>
3647                         <goals>
3648                           <goal>process</goal>
3649                           <goal>bundle</goal>
3650                         </goals>
3651                       </pluginExecutionFilter>
3652                       <action>
3653                         <ignore />
3654                       </action>
3655                     </pluginExecution>
3656                       <pluginExecution>
3657                         <pluginExecutionFilter>
3658                           <groupId>org.codehaus.mojo</groupId>
3659                           <artifactId>buildnumber-maven-plugin</artifactId>
3660                           <versionRange>[1.3,)</versionRange>
3661                           <goals>
3662                             <goal>create-timestamp</goal>
3663                           </goals>
3664                         </pluginExecutionFilter>
3665                         <action>
3666                           <execute>
3667                             <runOnConfiguration>true</runOnConfiguration>
3668                             <runOnIncremental>true</runOnIncremental>
3669                           </execute>
3670                         </action>
3671                       </pluginExecution>
3672                   </pluginExecutions>
3673                 </lifecycleMappingMetadata>
3674               </configuration>
3675             </plugin>
3676           </plugins>
3677         </pluginManagement>
3678       </build>
3679     </profile>
3680     <profile>
3681       <id>aarch64</id>
3682       <properties>
3683         <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3684       </properties>
3685       <activation>
3686         <os>
3687           <family>linux</family>
3688           <arch>aarch64</arch>
3689         </os>
3690       </activation>
3691     </profile>
3692   </profiles>
3693   <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3694   <reporting>
3695     <plugins>
3696       <plugin>
3697         <artifactId>maven-project-info-reports-plugin</artifactId>
3698         <version>${maven.project.info.report.version}</version>
3699         <reportSets>
3700           <reportSet>
3701             <reports>
3702               <report>dependencies</report>
3703               <report>dependency-convergence</report>
3704               <report>dependency-info</report>
3705               <report>dependency-management</report>
3706               <report>index</report>
3707               <report>issue-tracking</report>
3708               <report>mailing-list</report>
3709               <report>plugin-management</report>
3710               <report>plugins</report>
3711               <report>project-team</report>
3712               <report>scm</report>
3713               <report>summary</report>
3714             </reports>
3715           </reportSet>
3716         </reportSets>
3717         <!-- see src/site/site.xml for selected reports -->
3718         <configuration>
3719           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3720         </configuration>
3721       </plugin>
3723       <plugin>
3724         <groupId>org.apache.maven.plugins</groupId>
3725         <artifactId>maven-javadoc-plugin</artifactId>
3726         <configuration>
3727           <tags>
3728             <tag>
3729               <name>apiNote</name>
3730               <placement>a</placement>
3731               <head>API Note:</head>
3732             </tag>
3733           </tags>
3734         </configuration>
3735         <reportSets>
3736           <!-- Dev API -->
3737           <reportSet>
3738             <id>devapi</id>
3739             <reports>
3740               <report>aggregate-no-fork</report>
3741             </reports>
3742             <configuration>
3743               <destDir>devapidocs</destDir>
3744               <name>Developer API</name>
3745               <description>The full HBase API, including private and unstable APIs</description>
3746               <sourceFileExcludes>
3747                 <exclude>**/generated/*</exclude>
3748                 <exclude>**/protobuf/*</exclude>
3749               </sourceFileExcludes>
3750               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3751               <show>private</show> <!-- (shows all classes and members) -->
3752               <quiet>true</quiet>
3753               <linksource>true</linksource>
3754               <sourcetab>2</sourcetab>
3755               <validateLinks>true</validateLinks>
3756               <fixClassComment>true</fixClassComment>
3757               <fixFieldComment>true</fixFieldComment>
3758               <fixMethodComment>true</fixMethodComment>
3759               <fixTags>all</fixTags>
3760               <notimestamp>true</notimestamp>
3761               <locale>en_US</locale>
3762               <!-- Pass some options straight to the javadoc executable since it is easier -->
3763               <additionalJOption>-J-Xmx2G</additionalJOption>
3764               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3765               <additionalDependencies>
3766                 <additionalDependency>
3767                   <groupId>org.mockito</groupId>
3768                   <artifactId>mockito-core</artifactId>
3769                   <version>${mockito-core.version}</version>
3770                 </additionalDependency>
3771                 <additionalDependency>
3772                   <groupId>org.hamcrest</groupId>
3773                   <artifactId>hamcrest-core</artifactId>
3774                   <version>${hamcrest.version}</version>
3775                 </additionalDependency>
3776                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3777                 <additionalDependency>
3778                   <groupId>com.google.code.findbugs</groupId>
3779                   <artifactId>jsr305</artifactId>
3780                   <version>3.0.2</version>
3781                 </additionalDependency>
3782               </additionalDependencies>
3783               <inherited>false</inherited>
3784             </configuration>
3785           </reportSet>
3786           <reportSet>
3787             <id>testdevapi</id>
3788             <reports>
3789               <report>test-aggregate-no-fork</report>
3790             </reports>
3791             <configuration>
3792               <destDir>testdevapidocs</destDir>
3793               <name>Developer API</name>
3794               <description>The full HBase API test code, including private and unstable APIs</description>
3795               <sourceFileExcludes>
3796                 <exclude>**/generated/*</exclude>
3797                 <exclude>**/protobuf/*</exclude>
3798               </sourceFileExcludes>
3799               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3800               <show>private</show> <!-- (shows all classes and members) -->
3801               <quiet>true</quiet>
3802               <linksource>true</linksource>
3803               <sourcetab>2</sourcetab>
3804               <validateLinks>true</validateLinks>
3805               <fixClassComment>true</fixClassComment>
3806               <fixFieldComment>true</fixFieldComment>
3807               <fixMethodComment>true</fixMethodComment>
3808               <fixTags>all</fixTags>
3809               <notimestamp>true</notimestamp>
3810               <locale>en_US</locale>
3811               <!-- Pass some options straight to the javadoc executable since it is easier -->
3812               <additionalJOption>-J-Xmx2G</additionalJOption>
3813               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3814               <additionalDependencies>
3815                 <additionalDependency>
3816                   <groupId>org.mockito</groupId>
3817                   <artifactId>mockito-core</artifactId>
3818                   <version>${mockito-core.version}</version>
3819                 </additionalDependency>
3820                 <additionalDependency>
3821                   <groupId>org.hamcrest</groupId>
3822                   <artifactId>hamcrest-core</artifactId>
3823                   <version>${hamcrest.version}</version>
3824                 </additionalDependency>
3825                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3826                 <additionalDependency>
3827                   <groupId>com.google.code.findbugs</groupId>
3828                   <artifactId>jsr305</artifactId>
3829                   <version>3.0.2</version>
3830                 </additionalDependency>
3831               </additionalDependencies>
3832               <inherited>false</inherited>
3833             </configuration>
3834           </reportSet>
3836           <!-- User API -->
3837           <reportSet>
3838             <id>userapi</id>
3839             <reports>
3840               <report>aggregate-no-fork</report>
3841             </reports>
3842             <configuration>
3843               <doclet>
3844                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3845               </doclet>
3846               <docletArtifact>
3847                 <groupId>org.apache.yetus</groupId>
3848                 <artifactId>audience-annotations</artifactId>
3849                 <version>${audience-annotations.version}</version>
3850               </docletArtifact>
3851               <useStandardDocletOptions>true</useStandardDocletOptions>
3852               <destDir>apidocs</destDir>
3853               <name>User API</name>
3854               <description>The HBase Application Programmer's API</description>
3855               <excludePackageNames>
3856                 org.apache.hadoop.hbase.backup*:org.apache.hadoop.hbase.catalog:org.apache.hadoop.hbase.client.coprocessor:org.apache.hadoop.hbase.client.metrics:org.apache.hadoop.hbase.codec*:org.apache.hadoop.hbase.constraint:org.apache.hadoop.hbase.coprocessor.*:org.apache.hadoop.hbase.executor:org.apache.hadoop.hbase.fs:*.generated.*:org.apache.hadoop.hbase.io.hfile.*:org.apache.hadoop.hbase.mapreduce.hadoopbackport:org.apache.hadoop.hbase.mapreduce.replication:org.apache.hadoop.hbase.master.*:org.apache.hadoop.hbase.metrics*:org.apache.hadoop.hbase.migration:org.apache.hadoop.hbase.monitoring:org.apache.hadoop.hbase.p*:org.apache.hadoop.hbase.regionserver.compactions:org.apache.hadoop.hbase.regionserver.handler:org.apache.hadoop.hbase.regionserver.snapshot:org.apache.hadoop.hbase.replication.*:org.apache.hadoop.hbase.rest.filter:org.apache.hadoop.hbase.rest.model:org.apache.hadoop.hbase.rest.p*:org.apache.hadoop.hbase.security.*:org.apache.hadoop.hbase.thrift*:org.apache.hadoop.hbase.tmpl.*:org.apache.hadoop.hbase.tool:org.apache.hadoop.hbase.trace:org.apache.hadoop.hbase.util.byterange*:org.apache.hadoop.hbase.util.test:org.apache.hadoop.hbase.util.vint:org.apache.hadoop.metrics2*:org.apache.hadoop.hbase.io.compress*
3857               </excludePackageNames>
3858               <!-- switch on dependency-driven aggregation -->
3859               <includeDependencySources>false</includeDependencySources>
3860               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3861               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3862               <quiet>true</quiet>
3863               <linksource>true</linksource>
3864               <sourcetab>2</sourcetab>
3865               <validateLinks>true</validateLinks>
3866               <fixClassComment>true</fixClassComment>
3867               <fixFieldComment>true</fixFieldComment>
3868               <fixMethodComment>true</fixMethodComment>
3869               <fixTags>all</fixTags>
3870               <notimestamp>true</notimestamp>
3871               <locale>en_US</locale>
3872               <!-- Pass some options straight to the javadoc executable since it is easier -->
3873               <additionalJOption>-J-Xmx2G</additionalJOption>
3874               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3875               <additionalDependencies>
3876                 <additionalDependency>
3877                   <groupId>org.mockito</groupId>
3878                   <artifactId>mockito-core</artifactId>
3879                   <version>${mockito-core.version}</version>
3880                 </additionalDependency>
3881                 <additionalDependency>
3882                   <groupId>org.hamcrest</groupId>
3883                   <artifactId>hamcrest-core</artifactId>
3884                   <version>${hamcrest.version}</version>
3885                 </additionalDependency>
3886                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3887                 <additionalDependency>
3888                   <groupId>com.google.code.findbugs</groupId>
3889                   <artifactId>jsr305</artifactId>
3890                   <version>3.0.2</version>
3891                 </additionalDependency>
3892               </additionalDependencies>
3893               <inherited>false</inherited>
3894             </configuration>
3895           </reportSet>
3896           <!-- User Test API -->
3897           <reportSet>
3898             <id>testuserapi</id>
3899             <reports>
3900               <report>test-aggregate-no-fork</report>
3901             </reports>
3902             <configuration>
3903               <doclet>
3904                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3905               </doclet>
3906               <docletArtifact>
3907                 <groupId>org.apache.yetus</groupId>
3908                 <artifactId>audience-annotations</artifactId>
3909                 <version>${audience-annotations.version}</version>
3910               </docletArtifact>
3911               <useStandardDocletOptions>true</useStandardDocletOptions>
3912               <destDir>testapidocs</destDir>
3913               <name>User API</name>
3914               <description>The HBase Application Programmer's API</description>
3915               <excludePackageNames>
3916                 org.apache.hadoop.hbase.backup*:org.apache.hadoop.hbase.catalog:org.apache.hadoop.hbase.client.coprocessor:org.apache.hadoop.hbase.client.metrics:org.apache.hadoop.hbase.codec*:org.apache.hadoop.hbase.constraint:org.apache.hadoop.hbase.coprocessor.*:org.apache.hadoop.hbase.executor:org.apache.hadoop.hbase.fs:*.generated.*:org.apache.hadoop.hbase.io.hfile.*:org.apache.hadoop.hbase.mapreduce.hadoopbackport:org.apache.hadoop.hbase.mapreduce.replication:org.apache.hadoop.hbase.master.*:org.apache.hadoop.hbase.metrics*:org.apache.hadoop.hbase.migration:org.apache.hadoop.hbase.monitoring:org.apache.hadoop.hbase.p*:org.apache.hadoop.hbase.regionserver.compactions:org.apache.hadoop.hbase.regionserver.handler:org.apache.hadoop.hbase.regionserver.snapshot:org.apache.hadoop.hbase.replication.*:org.apache.hadoop.hbase.rest.filter:org.apache.hadoop.hbase.rest.model:org.apache.hadoop.hbase.rest.p*:org.apache.hadoop.hbase.security.*:org.apache.hadoop.hbase.thrift*:org.apache.hadoop.hbase.tmpl.*:org.apache.hadoop.hbase.tool:org.apache.hadoop.hbase.trace:org.apache.hadoop.hbase.util.byterange*:org.apache.hadoop.hbase.util.test:org.apache.hadoop.hbase.util.vint:org.apache.hadoop.metrics2*:org.apache.hadoop.hbase.io.compress*
3917               </excludePackageNames>
3918               <!-- switch on dependency-driven aggregation -->
3919               <includeDependencySources>false</includeDependencySources>
3920               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3921               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3922               <quiet>true</quiet>
3923               <linksource>true</linksource>
3924               <sourcetab>2</sourcetab>
3925               <validateLinks>true</validateLinks>
3926               <fixClassComment>true</fixClassComment>
3927               <fixFieldComment>true</fixFieldComment>
3928               <fixMethodComment>true</fixMethodComment>
3929               <fixTags>all</fixTags>
3930               <notimestamp>true</notimestamp>
3931               <locale>en_US</locale>
3932               <!-- Pass some options straight to the javadoc executable since it is easier -->
3933               <additionalJOption>-J-Xmx2G</additionalJOption>
3934               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3935               <additionalDependencies>
3936                 <additionalDependency>
3937                   <groupId>org.mockito</groupId>
3938                   <artifactId>mockito-core</artifactId>
3939                   <version>${mockito-core.version}</version>
3940                 </additionalDependency>
3941                 <additionalDependency>
3942                   <groupId>org.hamcrest</groupId>
3943                   <artifactId>hamcrest-core</artifactId>
3944                   <version>${hamcrest.version}</version>
3945                 </additionalDependency>
3946                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3947                 <additionalDependency>
3948                   <groupId>com.google.code.findbugs</groupId>
3949                   <artifactId>jsr305</artifactId>
3950                   <version>3.0.2</version>
3951                 </additionalDependency>
3952               </additionalDependencies>
3953               <inherited>false</inherited>
3954             </configuration>
3955           </reportSet>
3956         </reportSets>
3957       </plugin>
3959       <plugin>
3960         <groupId>org.apache.maven.plugins</groupId>
3961         <artifactId>maven-checkstyle-plugin</artifactId>
3962         <version>${maven.checkstyle.version}</version>
3963         <configuration>
3964           <excludes>target/**</excludes>
3965         </configuration>
3966       </plugin>
3968     </plugins>
3969   </reporting>
3970   <distributionManagement>
3971     <site>
3972       <id>hbase.apache.org</id>
3973       <name>HBase Website at hbase.apache.org</name>
3974       <!-- On why this is the tmp dir and not hbase.apache.org, see
3975         https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3976        -->
3977       <url>file:///tmp</url>
3978     </site>
3979   </distributionManagement>
3980 </project>