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