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