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