HBASE-25481 Add host and port attribute when tracing rpc call at client side (#2857)
[hbase.git] / pom.xml
blobb8ba5d053781fe1be3c4edc839c65969dcf0b284
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     <opentelemetry-instrumentation.version>0.13.0</opentelemetry-instrumentation.version>
1722     <log4j2.version>2.14.1</log4j2.version>
1723     <mockito-core.version>2.28.2</mockito-core.version>
1724     <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1725     <thrift.path>thrift</thrift.path>
1726     <thrift.version>0.14.1</thrift.version>
1727     <zookeeper.version>3.5.7</zookeeper.version>
1728     <jline.version>2.11</jline.version>
1729     <slf4j.version>1.7.30</slf4j.version>
1730     <clover.version>4.0.3</clover.version>
1731     <jamon-runtime.version>2.4.1</jamon-runtime.version>
1732     <jettison.version>1.3.8</jettison.version>
1733     <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1734     <joni.version>2.1.31</joni.version>
1735     <jcodings.version>1.0.55</jcodings.version>
1736     <spy.version>2.12.2</spy.version>
1737     <bouncycastle.version>1.60</bouncycastle.version>
1738     <kerby.version>1.0.1</kerby.version>
1739     <commons-crypto.version>1.0.0</commons-crypto.version>
1740     <curator.version>4.2.0</curator.version>
1741     <!-- Plugin Dependencies -->
1742     <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1743     <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1744     <build.helper.maven.version>3.0.0</build.helper.maven.version>
1745     <buildnumber.maven.version>1.4</buildnumber.maven.version>
1746     <!--
1747       When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1748     -->
1749     <checkstyle.version>8.28</checkstyle.version>
1750     <exec.maven.version>1.6.0</exec.maven.version>
1751     <error-prone.version>2.4.0</error-prone.version>
1752     <jamon.plugin.version>2.4.2</jamon.plugin.version>
1753     <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1754     <maven.antrun.version>1.8</maven.antrun.version>
1755     <maven.bundle.version>3.3.0</maven.bundle.version>
1756     <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1757     <maven.eclipse.version>2.10</maven.eclipse.version>
1758     <maven.javadoc.version>3.2.0</maven.javadoc.version>
1759     <maven.warbucks.version>1.1.0</maven.warbucks.version>
1760     <maven.project.info.report.version>2.9</maven.project.info.report.version>
1761     <os.maven.version>1.5.0.Final</os.maven.version>
1762     <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1763     <spotbugs.version>4.2.2</spotbugs.version>
1764     <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1765     <surefire.version>3.0.0-M4</surefire.version>
1766     <wagon.ssh.version>2.12</wagon.ssh.version>
1767     <xml.maven.version>1.0.1</xml.maven.version>
1768     <hbase-thirdparty.version>3.4.1</hbase-thirdparty.version>
1769     <!-- Intraproject jar naming properties -->
1770     <!-- TODO this is pretty ugly, but works for the moment.
1771       Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1772     <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1773     <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1774     <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1775     <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1776     <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1777     <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1778     <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1779     <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1780     <shell-executable>bash</shell-executable>
1781     <surefire.provider>surefire-junit47</surefire.provider>
1782     <!-- default: run small & medium, medium with 2 threads -->
1783     <surefire.skipFirstPart>false</surefire.skipFirstPart>
1784     <surefire.skipSecondPart>false</surefire.skipSecondPart>
1785       <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1786         by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1787       value is you want to burn through tests faster (could make for more failures
1788       if more contention around resources). There is a matching MAVEN_ARG
1789       in our yetus personality where we set the maven -T command to 0.25C too.
1790       For example, to run at a rate that is more furious than our 0.25C, do
1791       something like this:
1792          f="0.5C" ;  mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1793     -->
1794     <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1795     <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1796     <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1797     <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1798     <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1799     <test.output.tofile>true</test.output.tofile>
1800     <surefire.timeout>900</surefire.timeout>
1801     <test.exclude.pattern></test.exclude.pattern>
1802     <!--
1803       Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1804       This value is managed separately for jdk11. See below.
1805     -->
1806     <surefire.Xmx>2200m</surefire.Xmx>
1807     <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1808     <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1810       And for netty eventloops that have no explicit configuration, netty sets
1811       nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1812       clusters/tests.
1813      -->
1814     <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1815       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1816       -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1817       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1818       -Dio.netty.eventLoopThreads=3
1819     </hbase-surefire.argLine>
1820     <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1821       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1822       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1823       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1824     </hbase-surefire.cygwin-argLine>
1825     <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1826     <argLine>${hbase-surefire.argLine}</argLine>
1827     <jacoco.version>0.7.5.201505241946</jacoco.version>
1828     <extra.enforcer.version>1.3</extra.enforcer.version>
1829     <enforcer.version>3.0.0-M3</enforcer.version>
1830     <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1831     <!-- Location of test resources -->
1832     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1833     <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1834     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1835     <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1836         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1837         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1838     <build.id>${maven.build.timestamp}</build.id>
1839     <shell-executable>bash</shell-executable>
1840     <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1841          property as of javadoc-plugin 3.0.0 -->
1842     <doclint>none</doclint>
1843   </properties>
1844   <!-- Sorted by groups of dependencies then groupId and artifactId -->
1845   <dependencyManagement>
1846     <dependencies>
1847       <!--
1848       Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1849           org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1850           the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1851           implementation of the same, because Hadoop also uses this version
1852           javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1853           is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1854         -->
1855       <!-- Intra-module dependencies -->
1856       <dependency>
1857         <groupId>org.apache.hbase</groupId>
1858         <artifactId>hbase-annotations</artifactId>
1859         <version>${project.version}</version>
1860         <type>test-jar</type>
1861         <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1862       </dependency>
1863       <dependency>
1864         <artifactId>hbase-backup</artifactId>
1865         <groupId>org.apache.hbase</groupId>
1866         <version>${project.version}</version>
1867       </dependency>
1868       <dependency>
1869         <groupId>org.apache.hbase</groupId>
1870         <artifactId>hbase-common</artifactId>
1871         <version>${project.version}</version>
1872       </dependency>
1873       <dependency>
1874         <groupId>org.apache.hbase</groupId>
1875         <artifactId>hbase-common</artifactId>
1876         <version>${project.version}</version>
1877         <type>test-jar</type>
1878         <scope>test</scope>
1879       </dependency>
1880       <dependency>
1881         <groupId>org.apache.hbase</groupId>
1882         <artifactId>hbase-logging</artifactId>
1883         <version>${project.version}</version>
1884       </dependency>
1885       <dependency>
1886         <groupId>org.apache.hbase</groupId>
1887         <artifactId>hbase-logging</artifactId>
1888         <version>${project.version}</version>
1889         <type>test-jar</type>
1890         <scope>test</scope>
1891       </dependency>
1892       <dependency>
1893         <groupId>org.apache.hbase</groupId>
1894         <artifactId>hbase-protocol-shaded</artifactId>
1895         <version>${project.version}</version>
1896       </dependency>
1897       <dependency>
1898         <groupId>org.apache.hbase</groupId>
1899         <artifactId>hbase-procedure</artifactId>
1900         <version>${project.version}</version>
1901       </dependency>
1902       <dependency>
1903         <groupId>org.apache.hbase</groupId>
1904         <artifactId>hbase-procedure</artifactId>
1905         <version>${project.version}</version>
1906         <type>test-jar</type>
1907       </dependency>
1908       <dependency>
1909         <groupId>org.apache.hbase</groupId>
1910         <artifactId>hbase-hadoop-compat</artifactId>
1911         <version>${project.version}</version>
1912       </dependency>
1913       <dependency>
1914         <groupId>org.apache.hbase</groupId>
1915         <artifactId>hbase-hadoop-compat</artifactId>
1916         <version>${project.version}</version>
1917         <type>test-jar</type>
1918         <scope>test</scope>
1919       </dependency>
1920       <dependency>
1921         <artifactId>hbase-replication</artifactId>
1922         <groupId>org.apache.hbase</groupId>
1923         <version>${project.version}</version>
1924       </dependency>
1925       <dependency>
1926         <artifactId>hbase-balancer</artifactId>
1927         <groupId>org.apache.hbase</groupId>
1928         <version>${project.version}</version>
1929       </dependency>
1930       <dependency>
1931         <artifactId>hbase-http</artifactId>
1932         <groupId>org.apache.hbase</groupId>
1933         <version>${project.version}</version>
1934       </dependency>
1935       <dependency>
1936         <artifactId>hbase-http</artifactId>
1937         <groupId>org.apache.hbase</groupId>
1938         <version>${project.version}</version>
1939         <type>test-jar</type>
1940         <scope>test</scope>
1941       </dependency>
1942       <dependency>
1943         <artifactId>hbase-server</artifactId>
1944         <groupId>org.apache.hbase</groupId>
1945         <version>${project.version}</version>
1946       </dependency>
1947       <dependency>
1948         <artifactId>hbase-server</artifactId>
1949         <groupId>org.apache.hbase</groupId>
1950         <version>${project.version}</version>
1951         <type>test-jar</type>
1952         <scope>test</scope>
1953       </dependency>
1954       <dependency>
1955         <artifactId>hbase-mapreduce</artifactId>
1956         <groupId>org.apache.hbase</groupId>
1957         <version>${project.version}</version>
1958       </dependency>
1959       <dependency>
1960         <artifactId>hbase-mapreduce</artifactId>
1961         <groupId>org.apache.hbase</groupId>
1962         <version>${project.version}</version>
1963         <type>test-jar</type>
1964         <scope>test</scope>
1965       </dependency>
1966       <dependency>
1967         <artifactId>hbase-endpoint</artifactId>
1968         <groupId>org.apache.hbase</groupId>
1969         <version>${project.version}</version>
1970       </dependency>
1971       <dependency>
1972         <artifactId>hbase-shell</artifactId>
1973         <groupId>org.apache.hbase</groupId>
1974         <version>${project.version}</version>
1975       </dependency>
1976       <dependency>
1977         <artifactId>hbase-shell</artifactId>
1978         <groupId>org.apache.hbase</groupId>
1979         <version>${project.version}</version>
1980         <type>test-jar</type>
1981         <scope>test</scope>
1982       </dependency>
1983       <dependency>
1984         <artifactId>hbase-thrift</artifactId>
1985         <groupId>org.apache.hbase</groupId>
1986         <version>${project.version}</version>
1987       </dependency>
1988       <dependency>
1989         <artifactId>hbase-thrift</artifactId>
1990         <groupId>org.apache.hbase</groupId>
1991         <version>${project.version}</version>
1992         <type>test-jar</type>
1993         <scope>test</scope>
1994       </dependency>
1995       <dependency>
1996         <groupId>org.apache.hbase</groupId>
1997         <artifactId>hbase-testing-util</artifactId>
1998         <version>${project.version}</version>
1999         <scope>test</scope>
2000       </dependency>
2001       <dependency>
2002         <artifactId>hbase-examples</artifactId>
2003         <groupId>org.apache.hbase</groupId>
2004         <version>${project.version}</version>
2005       </dependency>
2006       <dependency>
2007         <groupId>org.apache.hbase</groupId>
2008         <artifactId>hbase-external-blockcache</artifactId>
2009         <version>${project.version}</version>
2010       </dependency>
2011       <dependency>
2012         <artifactId>hbase-it</artifactId>
2013         <groupId>org.apache.hbase</groupId>
2014         <version>${project.version}</version>
2015         <type>test-jar</type>
2016         <scope>test</scope>
2017       </dependency>
2018       <dependency>
2019         <artifactId>hbase-client</artifactId>
2020         <groupId>org.apache.hbase</groupId>
2021         <version>${project.version}</version>
2022       </dependency>
2023       <dependency>
2024         <artifactId>hbase-metrics-api</artifactId>
2025         <groupId>org.apache.hbase</groupId>
2026         <version>${project.version}</version>
2027       </dependency>
2028       <dependency>
2029         <artifactId>hbase-metrics-api</artifactId>
2030         <groupId>org.apache.hbase</groupId>
2031         <version>${project.version}</version>
2032         <type>test-jar</type>
2033         <scope>test</scope>
2034       </dependency>
2035       <dependency>
2036         <artifactId>hbase-metrics</artifactId>
2037         <groupId>org.apache.hbase</groupId>
2038         <version>${project.version}</version>
2039       </dependency>
2040       <dependency>
2041         <artifactId>hbase-metrics</artifactId>
2042         <groupId>org.apache.hbase</groupId>
2043         <version>${project.version}</version>
2044         <type>test-jar</type>
2045         <scope>test</scope>
2046       </dependency>
2047       <dependency>
2048         <artifactId>hbase-rest</artifactId>
2049         <groupId>org.apache.hbase</groupId>
2050         <version>${project.version}</version>
2051       </dependency>
2052       <dependency>
2053         <artifactId>hbase-resource-bundle</artifactId>
2054         <groupId>org.apache.hbase</groupId>
2055         <version>${project.version}</version>
2056       </dependency>
2057       <dependency>
2058         <artifactId>hbase-zookeeper</artifactId>
2059         <groupId>org.apache.hbase</groupId>
2060         <version>${project.version}</version>
2061         <exclusions>
2062           <exclusion>
2063             <groupId>com.google.code.findbugs</groupId>
2064             <artifactId>jsr305</artifactId>
2065           </exclusion>
2066           <exclusion>
2067             <groupId>com.github.spotbugs</groupId>
2068             <artifactId>spotbugs-annotations</artifactId>
2069           </exclusion>
2070         </exclusions>
2071       </dependency>
2072       <dependency>
2073         <artifactId>hbase-zookeeper</artifactId>
2074         <groupId>org.apache.hbase</groupId>
2075         <version>${project.version}</version>
2076         <type>test-jar</type>
2077         <scope>test</scope>
2078       </dependency>
2079       <dependency>
2080         <artifactId>hbase-hbtop</artifactId>
2081         <groupId>org.apache.hbase</groupId>
2082         <version>${project.version}</version>
2083       </dependency>
2084       <dependency>
2085         <groupId>org.apache.hbase</groupId>
2086         <artifactId>hbase-shaded-client</artifactId>
2087         <version>${project.version}</version>
2088       </dependency>
2089       <dependency>
2090         <groupId>org.apache.hbase</groupId>
2091         <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
2092         <version>${project.version}</version>
2093       </dependency>
2094       <dependency>
2095         <groupId>org.apache.hbase</groupId>
2096         <artifactId>hbase-shaded-mapreduce</artifactId>
2097         <version>${project.version}</version>
2098       </dependency>
2099       <dependency>
2100         <groupId>org.apache.hbase</groupId>
2101         <artifactId>hbase-asyncfs</artifactId>
2102         <version>${project.version}</version>
2103       </dependency>
2104       <dependency>
2105         <groupId>org.apache.hbase</groupId>
2106         <artifactId>hbase-asyncfs</artifactId>
2107         <version>${project.version}</version>
2108         <type>test-jar</type>
2109         <scope>test</scope>
2110       </dependency>
2111       <!-- General dependencies -->
2112       <dependency>
2113         <groupId>com.github.stephenc.findbugs</groupId>
2114         <artifactId>findbugs-annotations</artifactId>
2115         <version>${findbugs-annotations.version}</version>
2116       </dependency>
2117       <!--
2118         Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
2119         modules should depend on slf4j-api at compile scope, and then depend on log4j-slf4j-impl
2120         and log4j2 at test scope(and in hbase-assembly when shipping the binary) to redirect the
2121         log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
2122         scope as it will mess up the logging framework for downstream users.
2123         Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
2124         on use these logging framework so we need to redirect their log message to slf4j, and then
2125         redirect the log message to our log4j framework.
2126       -->
2127       <dependency>
2128         <groupId>org.codehaus.jettison</groupId>
2129         <artifactId>jettison</artifactId>
2130         <version>${jettison.version}</version>
2131       </dependency>
2132       <!-- Logging -->
2133       <dependency>
2134         <groupId>org.slf4j</groupId>
2135         <artifactId>slf4j-api</artifactId>
2136         <version>${slf4j.version}</version>
2137       </dependency>
2138       <dependency>
2139         <groupId>org.slf4j</groupId>
2140         <artifactId>jcl-over-slf4j</artifactId>
2141         <version>${slf4j.version}</version>
2142       </dependency>
2143       <dependency>
2144         <groupId>org.slf4j</groupId>
2145         <artifactId>jul-to-slf4j</artifactId>
2146         <version>${slf4j.version}</version>
2147       </dependency>
2148       <dependency>
2149         <groupId>org.apache.logging.log4j</groupId>
2150         <artifactId>log4j-api</artifactId>
2151         <version>${log4j2.version}</version>
2152       </dependency>
2153       <dependency>
2154         <groupId>org.apache.logging.log4j</groupId>
2155         <artifactId>log4j-core</artifactId>
2156         <version>${log4j2.version}</version>
2157       </dependency>
2158       <dependency>
2159         <groupId>org.apache.logging.log4j</groupId>
2160         <artifactId>log4j-slf4j-impl</artifactId>
2161         <version>${log4j2.version}</version>
2162       </dependency>
2163       <dependency>
2164         <groupId>org.apache.logging.log4j</groupId>
2165         <artifactId>log4j-1.2-api</artifactId>
2166         <version>${log4j2.version}</version>
2167       </dependency>
2168       <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
2169       <dependency>
2170         <groupId>org.apache.avro</groupId>
2171         <artifactId>avro</artifactId>
2172         <version>${avro.version}</version>
2173       </dependency>
2174       <dependency>
2175         <groupId>com.github.ben-manes.caffeine</groupId>
2176         <artifactId>caffeine</artifactId>
2177         <version>${caffeine.version}</version>
2178       </dependency>
2179       <dependency>
2180         <groupId>io.dropwizard.metrics</groupId>
2181         <artifactId>metrics-core</artifactId>
2182         <version>${metrics-core.version}</version>
2183       </dependency>
2184       <dependency>
2185         <groupId>org.apache.httpcomponents</groupId>
2186         <artifactId>httpclient</artifactId>
2187         <version>${httpclient.version}</version>
2188       </dependency>
2189       <dependency>
2190         <groupId>org.apache.httpcomponents</groupId>
2191         <artifactId>httpcore</artifactId>
2192         <version>${httpcore.version}</version>
2193       </dependency>
2194       <dependency>
2195         <groupId>commons-codec</groupId>
2196         <artifactId>commons-codec</artifactId>
2197         <version>${commons-codec.version}</version>
2198       </dependency>
2199       <dependency>
2200         <groupId>commons-validator</groupId>
2201         <artifactId>commons-validator</artifactId>
2202         <version>${commons-validator.version}</version>
2203       </dependency>
2204       <dependency>
2205         <groupId>commons-io</groupId>
2206         <artifactId>commons-io</artifactId>
2207         <version>${commons-io.version}</version>
2208       </dependency>
2209       <dependency>
2210         <groupId>org.apache.commons</groupId>
2211         <artifactId>commons-lang3</artifactId>
2212         <version>${commons-lang3.version}</version>
2213       </dependency>
2214       <dependency>
2215         <groupId>org.apache.commons</groupId>
2216         <artifactId>commons-math3</artifactId>
2217         <version>${commons-math.version}</version>
2218       </dependency>
2219       <dependency>
2220         <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2221              HBaseTestingUtil.
2222           -->
2223         <groupId>commons-logging</groupId>
2224         <artifactId>commons-logging</artifactId>
2225         <version>1.2</version>
2226       </dependency>
2227       <dependency>
2228         <groupId>org.apache.zookeeper</groupId>
2229         <artifactId>zookeeper</artifactId>
2230         <version>${zookeeper.version}</version>
2231         <exclusions>
2232           <exclusion>
2233             <groupId>com.google.code.findbugs</groupId>
2234             <artifactId>jsr305</artifactId>
2235           </exclusion>
2236           <exclusion>
2237             <groupId>com.github.spotbugs</groupId>
2238             <artifactId>spotbugs-annotations</artifactId>
2239           </exclusion>
2240           <exclusion>
2241             <groupId>jline</groupId>
2242             <artifactId>jline</artifactId>
2243           </exclusion>
2244           <exclusion>
2245             <groupId>com.sun.jmx</groupId>
2246             <artifactId>jmxri</artifactId>
2247           </exclusion>
2248           <exclusion>
2249             <groupId>com.sun.jdmk</groupId>
2250             <artifactId>jmxtools</artifactId>
2251           </exclusion>
2252           <exclusion>
2253             <groupId>javax.jms</groupId>
2254             <artifactId>jms</artifactId>
2255           </exclusion>
2256           <exclusion>
2257             <groupId>io.netty</groupId>
2258             <artifactId>netty</artifactId>
2259           </exclusion>
2260           <exclusion>
2261             <groupId>org.slf4j</groupId>
2262             <artifactId>slf4j-log4j12</artifactId>
2263           </exclusion>
2264           <exclusion>
2265             <groupId>log4j</groupId>
2266             <artifactId>log4j</artifactId>
2267           </exclusion>
2268         </exclusions>
2269       </dependency>
2270       <dependency>
2271         <groupId>jline</groupId>
2272         <artifactId>jline</artifactId>
2273         <version>${jline.version}</version>
2274       </dependency>
2275       <dependency>
2276         <groupId>org.apache.thrift</groupId>
2277         <artifactId>libthrift</artifactId>
2278         <version>${thrift.version}</version>
2279         <exclusions>
2280           <exclusion>
2281             <groupId>org.apache.tomcat.embed</groupId>
2282             <artifactId>tomcat-embed-core</artifactId>
2283           </exclusion>
2284         </exclusions>
2285       </dependency>
2286       <dependency>
2287         <groupId>org.jruby</groupId>
2288         <artifactId>jruby-complete</artifactId>
2289         <version>${jruby.version}</version>
2290       </dependency>
2291       <dependency>
2292         <groupId>org.jruby.jcodings</groupId>
2293         <artifactId>jcodings</artifactId>
2294         <version>${jcodings.version}</version>
2295       </dependency>
2296       <dependency>
2297         <groupId>org.jruby.joni</groupId>
2298         <artifactId>joni</artifactId>
2299         <version>${joni.version}</version>
2300       </dependency>
2301       <dependency>
2302         <groupId>com.fasterxml.jackson.jaxrs</groupId>
2303         <artifactId>jackson-jaxrs-json-provider</artifactId>
2304         <version>${jackson.version}</version>
2305       </dependency>
2306       <dependency>
2307         <groupId>com.fasterxml.jackson.core</groupId>
2308         <artifactId>jackson-annotations</artifactId>
2309         <version>${jackson.version}</version>
2310       </dependency>
2311       <dependency>
2312         <groupId>com.fasterxml.jackson.core</groupId>
2313         <artifactId>jackson-core</artifactId>
2314         <version>${jackson.version}</version>
2315       </dependency>
2316       <dependency>
2317         <groupId>com.fasterxml.jackson.core</groupId>
2318         <artifactId>jackson-databind</artifactId>
2319         <version>${jackson.databind.version}</version>
2320       </dependency>
2321       <dependency>
2322         <groupId>org.jamon</groupId>
2323         <artifactId>jamon-runtime</artifactId>
2324         <version>${jamon-runtime.version}</version>
2325       </dependency>
2326       <!-- REST dependencies -->
2327       <dependency>
2328         <groupId>javax.servlet</groupId>
2329         <artifactId>javax.servlet-api</artifactId>
2330         <version>${servlet.api.version}</version>
2331       </dependency>
2332       <dependency>
2333         <groupId>javax.ws.rs</groupId>
2334         <artifactId>javax.ws.rs-api</artifactId>
2335         <version>${wx.rs.api.version}</version>
2336       </dependency>
2337       <dependency>
2338         <groupId>com.sun.activation</groupId>
2339         <artifactId>javax.activation</artifactId>
2340         <version>1.2.0</version>
2341       </dependency>
2342       <dependency>
2343         <groupId>javax.annotation</groupId>
2344         <artifactId>javax.annotation-api</artifactId>
2345         <version>1.2</version>
2346       </dependency>
2347       <dependency>
2348         <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2349         <groupId>org.glassfish.web</groupId>
2350         <artifactId>javax.servlet.jsp</artifactId>
2351         <version>${glassfish.jsp.version}</version>
2352       </dependency>
2353       <dependency>
2354         <!-- this lib is used by the compiled Jsp from the above JspC -->
2355         <groupId>javax.servlet.jsp</groupId>
2356         <artifactId>javax.servlet.jsp-api</artifactId>
2357         <version>2.3.1</version>
2358       </dependency>
2359       <dependency>
2360         <groupId>org.glassfish</groupId>
2361         <artifactId>javax.el</artifactId>
2362         <version>${glassfish.el.version}</version>
2363       </dependency>
2364       <dependency>
2365         <groupId>javax.xml.bind</groupId>
2366         <artifactId>jaxb-api</artifactId>
2367         <version>${jaxb-api.version}</version>
2368         <exclusions>
2369           <exclusion>
2370             <groupId>javax.xml.stream</groupId>
2371             <artifactId>stax-api</artifactId>
2372           </exclusion>
2373         </exclusions>
2374       </dependency>
2375       <dependency>
2376         <groupId>junit</groupId>
2377         <artifactId>junit</artifactId>
2378         <version>${junit.version}</version>
2379       </dependency>
2380       <dependency>
2381         <groupId>org.hamcrest</groupId>
2382         <artifactId>hamcrest-core</artifactId>
2383         <version>${hamcrest.version}</version>
2384       </dependency>
2385       <dependency>
2386         <groupId>org.hamcrest</groupId>
2387         <artifactId>hamcrest-library</artifactId>
2388         <version>${hamcrest.version}</version>
2389       </dependency>
2390       <dependency>
2391         <groupId>org.mockito</groupId>
2392         <artifactId>mockito-core</artifactId>
2393         <version>${mockito-core.version}</version>
2394         <scope>test</scope>
2395       </dependency>
2396       <dependency>
2397         <groupId>io.opentelemetry</groupId>
2398         <artifactId>opentelemetry-api</artifactId>
2399         <version>${opentelemetry.version}</version>
2400       </dependency>
2401       <dependency>
2402         <groupId>io.opentelemetry</groupId>
2403         <artifactId>opentelemetry-sdk</artifactId>
2404         <version>${opentelemetry.version}</version>
2405       </dependency>
2406       <dependency>
2407         <groupId>io.opentelemetry</groupId>
2408         <artifactId>opentelemetry-sdk-testing</artifactId>
2409         <version>${opentelemetry.version}</version>
2410       </dependency>
2411       <dependency>
2412         <groupId>io.opentelemetry.javaagent</groupId>
2413         <artifactId>opentelemetry-javaagent</artifactId>
2414         <version>${opentelemetry.version}</version>
2415         <classifier>all</classifier>
2416       </dependency>
2417       <dependency>
2418         <groupId>com.lmax</groupId>
2419         <artifactId>disruptor</artifactId>
2420         <version>${disruptor.version}</version>
2421       </dependency>
2422       <dependency>
2423         <groupId>net.spy</groupId>
2424         <artifactId>spymemcached</artifactId>
2425         <version>${spy.version}</version>
2426         <optional>true</optional>
2427       </dependency>
2428       <dependency>
2429         <groupId>org.bouncycastle</groupId>
2430         <artifactId>bcprov-jdk15on</artifactId>
2431         <version>${bouncycastle.version}</version>
2432         <scope>test</scope>
2433       </dependency>
2434       <dependency>
2435         <groupId>org.apache.kerby</groupId>
2436         <artifactId>kerb-core</artifactId>
2437         <version>${kerby.version}</version>
2438       </dependency>
2439       <dependency>
2440         <groupId>org.apache.kerby</groupId>
2441         <artifactId>kerb-client</artifactId>
2442         <version>${kerby.version}</version>
2443       </dependency>
2444       <dependency>
2445         <groupId>org.apache.kerby</groupId>
2446         <artifactId>kerb-simplekdc</artifactId>
2447         <version>${kerby.version}</version>
2448       </dependency>
2449       <dependency>
2450         <groupId>org.apache.commons</groupId>
2451         <artifactId>commons-crypto</artifactId>
2452         <version>${commons-crypto.version}</version>
2453         <exclusions>
2454           <exclusion>
2455             <groupId>net.java.dev.jna</groupId>
2456             <artifactId>jna</artifactId>
2457           </exclusion>
2458         </exclusions>
2459       </dependency>
2460       <dependency>
2461         <groupId>org.apache.curator</groupId>
2462         <artifactId>curator-framework</artifactId>
2463         <version>${curator.version}</version>
2464         <exclusions>
2465           <exclusion>
2466             <groupId>org.apache.zookeeper</groupId>
2467             <artifactId>zookeeper</artifactId>
2468           </exclusion>
2469         </exclusions>
2470       </dependency>
2471       <dependency>
2472         <groupId>org.apache.curator</groupId>
2473         <artifactId>curator-client</artifactId>
2474         <version>${curator.version}</version>
2475         <exclusions>
2476           <exclusion>
2477             <groupId>com.google.guava</groupId>
2478             <artifactId>guava</artifactId>
2479           </exclusion>
2480           <exclusion>
2481             <groupId>org.apache.zookeeper</groupId>
2482             <artifactId>zookeeper</artifactId>
2483           </exclusion>
2484         </exclusions>
2485       </dependency>
2486       <dependency>
2487         <groupId>org.apache.curator</groupId>
2488         <artifactId>curator-recipes</artifactId>
2489         <version>${curator.version}</version>
2490         <exclusions>
2491           <exclusion>
2492             <groupId>com.google.guava</groupId>
2493             <artifactId>guava</artifactId>
2494           </exclusion>
2495           <exclusion>
2496             <groupId>org.apache.zookeeper</groupId>
2497             <artifactId>zookeeper</artifactId>
2498           </exclusion>
2499         </exclusions>
2500       </dependency>
2501       <dependency>
2502         <groupId>org.apache.yetus</groupId>
2503         <artifactId>audience-annotations</artifactId>
2504         <version>${audience-annotations.version}</version>
2505       </dependency>
2506       <dependency>
2507         <groupId>org.apache.hbase.thirdparty</groupId>
2508         <artifactId>hbase-shaded-gson</artifactId>
2509         <version>${hbase-thirdparty.version}</version>
2510       </dependency>
2511       <dependency>
2512         <groupId>org.apache.hbase.thirdparty</groupId>
2513         <artifactId>hbase-shaded-miscellaneous</artifactId>
2514         <version>${hbase-thirdparty.version}</version>
2515       </dependency>
2516       <dependency>
2517         <groupId>org.apache.hbase.thirdparty</groupId>
2518         <artifactId>hbase-shaded-netty</artifactId>
2519         <version>${hbase-thirdparty.version}</version>
2520       </dependency>
2521       <dependency>
2522         <groupId>org.apache.hbase.thirdparty</groupId>
2523         <artifactId>hbase-shaded-protobuf</artifactId>
2524         <version>${hbase-thirdparty.version}</version>
2525       </dependency>
2526       <dependency>
2527         <groupId>org.apache.hbase.thirdparty</groupId>
2528         <artifactId>hbase-shaded-jetty</artifactId>
2529         <version>${hbase-thirdparty.version}</version>
2530       </dependency>
2531       <dependency>
2532         <groupId>org.apache.hbase.thirdparty</groupId>
2533         <artifactId>hbase-shaded-jersey</artifactId>
2534         <version>${hbase-thirdparty.version}</version>
2535       </dependency>
2536       <dependency>
2537         <groupId>com.sun.xml.ws</groupId>
2538           <artifactId>jaxws-ri</artifactId>
2539         <version>2.3.2</version>
2540         <type>pom</type>
2541         <exclusions>
2542           <exclusion>
2543             <groupId>javax.activation</groupId>
2544             <artifactId>javax.activation-api</artifactId>
2545           </exclusion>
2546         </exclusions>
2547       </dependency>
2548     </dependencies>
2549   </dependencyManagement>
2550   <dependencies>
2551     <!--REMOVE THIS. HERE TEMPORARILY.
2552          Implication is that every module needs junit which is not so.
2553          Cannot undo though because build runs test on each module and
2554          it fails if no junit. TODO. -->
2555     <dependency>
2556       <groupId>junit</groupId>
2557       <artifactId>junit</artifactId>
2558       <scope>test</scope>
2559     </dependency>
2560   </dependencies>
2562   <!--
2563   To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2565  <settings>
2566   <servers>
2567     <server>
2568       <id>apache.releases.https</id>
2569       <username>hbase_committer</username>
2570       <password>********</password>
2571     </server>
2573     <server>
2574       <id>apache.snapshots.https</id>
2575       <username>hbase_committer</username>
2576       <password>********</password>
2577     </server>
2579   </servers>
2580  </settings>
2582   $ mvn deploy
2583 (or)
2584   $ mvn -s /my/path/settings.xml deploy
2586   -->
2587   <profiles>
2588     <profile>
2589       <id>build-with-jdk8</id>
2590       <activation>
2591         <jdk>[1.8,)</jdk>
2592       </activation>
2593       <build>
2594         <pluginManagement>
2595           <plugins>
2596           </plugins>
2597         </pluginManagement>
2598       </build>
2599     </profile>
2600     <profile>
2601       <id>build-with-jdk11</id>
2602       <activation>
2603         <jdk>[1.11,)</jdk>
2604       </activation>
2605       <properties>
2606         <!-- TODO: replicate logic for windows support -->
2607         <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2608         <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2609         <hadoop-three.version>3.2.0</hadoop-three.version>
2610         <!--
2611           Value to use for surefire when running jdk11.
2612           TODO: replicate logic for windows
2613         -->
2614         <surefire.Xmx>2200m</surefire.Xmx>
2615       </properties>
2616     </profile>
2617     <!-- profile activated by the Jenkins patch testing job -->
2618     <profile>
2619       <id>jenkins.patch</id>
2620       <activation>
2621         <activeByDefault>false</activeByDefault>
2622         <property>
2623             <name>HBasePatchProcess</name>
2624         </property>
2625       </activation>
2626       <properties>
2627         <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2628       </properties>
2629       <build>
2630         <plugins>
2631           <plugin>
2632             <groupId>org.apache.maven.plugins</groupId>
2633             <artifactId>maven-antrun-plugin</artifactId>
2634             <inherited>false</inherited>
2635             <executions>
2636               <execution>
2637                 <phase>validate</phase>
2638                 <goals>
2639                   <goal>run</goal>
2640                 </goals>
2641                 <configuration>
2642                   <tasks>
2643                     <echo>Maven Execution Environment</echo>
2644                     <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2645                   </tasks>
2646                 </configuration>
2647               </execution>
2648             </executions>
2649           </plugin>
2650         </plugins>
2651       </build>
2652     </profile>
2653     <profile>
2654       <id>jacoco</id>
2655       <activation>
2656         <activeByDefault>false</activeByDefault>
2657       </activation>
2658       <build>
2659         <plugins>
2660           <plugin>
2661             <groupId>org.jacoco</groupId>
2662             <artifactId>jacoco-maven-plugin</artifactId>
2663             <version>${jacoco.version}</version>
2664             <executions>
2665               <execution>
2666                 <id>prepare-agent</id>
2667                 <goals>
2668                   <goal>prepare-agent</goal>
2669                 </goals>
2670               </execution>
2671               <execution>
2672                 <id>report</id>
2673                 <phase>prepare-package</phase>
2674                 <goals>
2675                   <goal>report</goal>
2676                 </goals>
2677               </execution>
2678             </executions>
2679             <configuration>
2680               <systemPropertyVariables>
2681                 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2682               </systemPropertyVariables>
2683               <excludes>
2684                 <exclude>**/generated/**/*.class</exclude>
2685               </excludes>
2686             </configuration>
2687           </plugin>
2688         </plugins>
2689       </build>
2690     </profile>
2691     <profile>
2692       <id>os.linux</id>
2693       <activation>
2694         <activeByDefault>false</activeByDefault>
2695         <os>
2696           <family>Linux</family>
2697         </os>
2698       </activation>
2699       <properties>
2700         <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2701       </properties>
2702     </profile>
2703     <profile>
2704       <id>os.mac</id>
2705       <activation>
2706         <os>
2707           <family>Mac</family>
2708         </os>
2709       </activation>
2710       <properties>
2711         <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2712       </properties>
2713     </profile>
2714     <profile>
2715       <id>os.windows</id>
2716       <activation>
2717         <os>
2718           <family>Windows</family>
2719         </os>
2720       </activation>
2721       <properties>
2722         <build.platform>cygwin</build.platform>
2723         <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2724       </properties>
2725     </profile>
2726     <!-- this profile should match the name of the release profile in the root asf pom -->
2727     <profile>
2728       <id>apache-release</id>
2729       <build>
2730         <plugins>
2731           <!-- This should insert itself in place of the normal deploy plugin and then
2732                handle either closing or dropping the staging repository for us depending
2733                on if the build succeeds.
2734             -->
2735           <plugin>
2736             <groupId>org.sonatype.plugins</groupId>
2737             <artifactId>nexus-staging-maven-plugin</artifactId>
2738             <version>1.6.8</version>
2739             <extensions>true</extensions>
2740             <configuration>
2741               <nexusUrl>https://repository.apache.org/</nexusUrl>
2742               <serverId>apache.releases.https</serverId>
2743             </configuration>
2744           </plugin>
2745         </plugins>
2746       </build>
2747     </profile>
2748     <!-- this profile should be activated for release builds -->
2749     <profile>
2750       <id>release</id>
2751       <build>
2752         <plugins>
2753           <plugin>
2754             <groupId>org.apache.rat</groupId>
2755             <artifactId>apache-rat-plugin</artifactId>
2756             <executions>
2757               <execution>
2758                 <phase>package</phase>
2759                 <goals>
2760                   <goal>check</goal>
2761                 </goals>
2762               </execution>
2763             </executions>
2764           </plugin>
2765           <plugin>
2766             <groupId>org.apache.maven.plugins</groupId>
2767             <artifactId>maven-enforcer-plugin</artifactId>
2768             <version>${enforcer.version}</version>
2769             <dependencies>
2770               <dependency>
2771                 <groupId>org.codehaus.mojo</groupId>
2772                 <artifactId>extra-enforcer-rules</artifactId>
2773                 <version>${extra.enforcer.version}</version>
2774               </dependency>
2775             </dependencies>
2776             <configuration>
2777               <rules>
2778                 <enforceBytecodeVersion>
2779                 <maxJdkVersion>${compileSource}</maxJdkVersion>
2780                 <message>HBase has unsupported dependencies.
2781   HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2782   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
2783   either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2784   Non-release builds can temporarily build with a newer JDK version by setting the
2785   'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2786                 </message>
2787                 <ignoreClasses>
2788                   <ignoreClass>module-info</ignoreClass>
2789                 </ignoreClasses>
2790               </enforceBytecodeVersion>
2791             </rules>
2792           </configuration>
2793           </plugin>
2794         </plugins>
2795       </build>
2796     </profile>
2797     <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2798     <!-- Submodules that need hadoop dependencies should declare
2799          profiles with activation properties matching the profile here.
2800          Generally, it should be sufficient to copy the first
2801          few lines of the profile you want to match. -->
2802     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2803     <profile>
2804       <id>hadoop-3.0</id>
2805       <activation>
2806         <property><name>!hadoop.profile</name></property>
2807       </activation>
2808       <properties>
2809         <hadoop.version>${hadoop-three.version}</hadoop.version>
2810         <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2811       </properties>
2812      <dependencyManagement>
2813        <dependencies>
2814          <dependency>
2815            <groupId>org.apache.hadoop</groupId>
2816            <artifactId>hadoop-mapreduce-client-core</artifactId>
2817            <version>${hadoop-three.version}</version>
2818            <exclusions>
2819              <exclusion>
2820                <groupId>com.sun.jersey</groupId>
2821                <artifactId>jersey-core</artifactId>
2822              </exclusion>
2823              <exclusion>
2824                <groupId>org.codehaus.jackson</groupId>
2825                <artifactId>jackson-jaxrs</artifactId>
2826              </exclusion>
2827              <exclusion>
2828                <groupId>org.codehaus.jackson</groupId>
2829                <artifactId>jackson-xc</artifactId>
2830              </exclusion>
2831              <exclusion>
2832                <groupId>io.netty</groupId>
2833                <artifactId>netty</artifactId>
2834              </exclusion>
2835               <exclusion>
2836                 <groupId>javax.servlet</groupId>
2837                 <artifactId>servlet-api</artifactId>
2838               </exclusion>
2839               <exclusion>
2840                 <groupId>javax.inject</groupId>
2841                 <artifactId>javax.inject</artifactId>
2842               </exclusion>
2843               <exclusion>
2844                 <groupId>org.codehaus.jackson</groupId>
2845                 <artifactId>jackson-core-asl</artifactId>
2846               </exclusion>
2847               <exclusion>
2848                 <groupId>org.codehaus.jackson</groupId>
2849                 <artifactId>jackson-mapper-asl</artifactId>
2850               </exclusion>
2851               <exclusion>
2852                 <groupId>com.google.guava</groupId>
2853                 <artifactId>guava</artifactId>
2854               </exclusion>
2855               <exclusion>
2856                 <groupId>org.slf4j</groupId>
2857                 <artifactId>slf4j-log4j12</artifactId>
2858               </exclusion>
2859               <exclusion>
2860                 <groupId>log4j</groupId>
2861                 <artifactId>log4j</artifactId>
2862               </exclusion>
2863            </exclusions>
2864          </dependency>
2865          <dependency>
2866            <groupId>org.apache.hadoop</groupId>
2867            <artifactId>hadoop-mapreduce-client-app</artifactId>
2868            <version>${hadoop-three.version}</version>
2869            <type>test-jar</type>
2870            <exclusions>
2871              <exclusion>
2872                <groupId>org.codehaus.jackson</groupId>
2873                <artifactId>jackson-mapper-asl</artifactId>
2874              </exclusion>
2875              <exclusion>
2876                <groupId>org.codehaus.jackson</groupId>
2877                <artifactId>jackson-core-asl</artifactId>
2878              </exclusion>
2879              <exclusion>
2880                <groupId>org.codehaus.jackson</groupId>
2881                <artifactId>jackson-jaxrs</artifactId>
2882              </exclusion>
2883              <exclusion>
2884                <groupId>org.codehaus.jackson</groupId>
2885                <artifactId>jackson-xc</artifactId>
2886              </exclusion>
2887              <exclusion>
2888                <groupId>javax.xml.bind</groupId>
2889                <artifactId>jaxb-api</artifactId>
2890              </exclusion>
2891              <exclusion>
2892                <groupId>javax.ws.rs</groupId>
2893                <artifactId>jsr311-api</artifactId>
2894              </exclusion>
2895              <exclusion>
2896                <groupId>org.slf4j</groupId>
2897               <artifactId>slf4j-log4j12</artifactId>
2898              </exclusion>
2899              <exclusion>
2900                 <groupId>log4j</groupId>
2901                 <artifactId>log4j</artifactId>
2902               </exclusion>
2903            </exclusions>
2904          </dependency>
2905          <dependency>
2906            <groupId>org.apache.hadoop</groupId>
2907            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2908            <version>${hadoop-three.version}</version>
2909            <exclusions>
2910              <exclusion>
2911                <groupId>com.sun.jersey</groupId>
2912                <artifactId>jersey-core</artifactId>
2913              </exclusion>
2914              <exclusion>
2915                <groupId>io.netty</groupId>
2916                <artifactId>netty</artifactId>
2917              </exclusion>
2918               <exclusion>
2919                 <groupId>javax.servlet</groupId>
2920                 <artifactId>servlet-api</artifactId>
2921               </exclusion>
2922              <exclusion>
2923                <groupId>org.slf4j</groupId>
2924                <artifactId>slf4j-log4j12</artifactId>
2925              </exclusion>
2926            </exclusions>
2927          </dependency>
2928          <dependency>
2929            <groupId>org.apache.hadoop</groupId>
2930            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2931            <version>${hadoop-three.version}</version>
2932            <type>test-jar</type>
2933            <scope>test</scope>
2934            <exclusions>
2935              <exclusion>
2936                <groupId>com.sun.jersey</groupId>
2937                <artifactId>jersey-core</artifactId>
2938              </exclusion>
2939              <exclusion>
2940                <groupId>io.netty</groupId>
2941                <artifactId>netty</artifactId>
2942              </exclusion>
2943               <exclusion>
2944                 <groupId>javax.servlet</groupId>
2945                 <artifactId>servlet-api</artifactId>
2946               </exclusion>
2947               <exclusion>
2948                 <groupId>org.slf4j</groupId>
2949                 <artifactId>slf4j-log4j12</artifactId>
2950               </exclusion>
2951            </exclusions>
2952          </dependency>
2953          <dependency>
2954            <groupId>org.apache.hadoop</groupId>
2955            <artifactId>hadoop-hdfs</artifactId>
2956            <version>${hadoop-three.version}</version>
2957            <exclusions>
2958              <exclusion>
2959                <groupId>com.sun.jersey</groupId>
2960                <artifactId>jersey-core</artifactId>
2961              </exclusion>
2962              <exclusion>
2963                <groupId>com.sun.jersey</groupId>
2964                <artifactId>jersey-server</artifactId>
2965              </exclusion>
2966              <exclusion>
2967                <groupId>javax.servlet.jsp</groupId>
2968                <artifactId>jsp-api</artifactId>
2969              </exclusion>
2970              <exclusion>
2971                <groupId>javax.servlet</groupId>
2972                <artifactId>servlet-api</artifactId>
2973              </exclusion>
2974              <exclusion>
2975                <groupId>stax</groupId>
2976                <artifactId>stax-api</artifactId>
2977              </exclusion>
2978              <exclusion>
2979                <groupId>xerces</groupId>
2980                <artifactId>xercesImpl</artifactId>
2981              </exclusion>
2982              <exclusion>
2983                <groupId>org.codehaus.jackson</groupId>
2984                <artifactId>jackson-core-asl</artifactId>
2985              </exclusion>
2986              <exclusion>
2987                <groupId>org.codehaus.jackson</groupId>
2988                <artifactId>jackson-mapper-asl</artifactId>
2989              </exclusion>
2990              <exclusion>
2991                <groupId>com.google.guava</groupId>
2992                <artifactId>guava</artifactId>
2993              </exclusion>
2994              <exclusion>
2995                <groupId>org.slf4j</groupId>
2996                <artifactId>slf4j-log4j12</artifactId>
2997              </exclusion>
2998              <exclusion>
2999                <groupId>log4j</groupId>
3000                <artifactId>log4j</artifactId>
3001              </exclusion>
3002            </exclusions>
3003          </dependency>
3004          <dependency>
3005            <groupId>org.apache.hadoop</groupId>
3006            <artifactId>hadoop-hdfs</artifactId>
3007            <version>${hadoop-three.version}</version>
3008            <type>test-jar</type>
3009            <scope>test</scope>
3010            <exclusions>
3011              <exclusion>
3012                <groupId>javax.servlet.jsp</groupId>
3013                <artifactId>jsp-api</artifactId>
3014              </exclusion>
3015              <exclusion>
3016                <groupId>javax.servlet</groupId>
3017                <artifactId>servlet-api</artifactId>
3018              </exclusion>
3019              <exclusion>
3020                <groupId>stax</groupId>
3021                <artifactId>stax-api</artifactId>
3022              </exclusion>
3023              <exclusion>
3024                <groupId>xerces</groupId>
3025                <artifactId>xercesImpl</artifactId>
3026              </exclusion>
3027              <exclusion>
3028                <groupId>org.codehaus.jackson</groupId>
3029                <artifactId>jackson-core-asl</artifactId>
3030              </exclusion>
3031              <exclusion>
3032                <groupId>org.codehaus.jackson</groupId>
3033                <artifactId>jackson-mapper-asl</artifactId>
3034              </exclusion>
3035              <exclusion>
3036                <groupId>com.google.guava</groupId>
3037                <artifactId>guava</artifactId>
3038              </exclusion>
3039              <exclusion>
3040                <groupId>com.sun.jersey</groupId>
3041                <artifactId>jersey-core</artifactId>
3042              </exclusion>
3043              <exclusion>
3044                <groupId>org.slf4j</groupId>
3045                <artifactId>slf4j-log4j12</artifactId>
3046              </exclusion>
3047              <exclusion>
3048                <groupId>log4j</groupId>
3049                <artifactId>log4j</artifactId>
3050              </exclusion>
3051            </exclusions>
3052          </dependency>
3053          <dependency>
3054            <groupId>org.apache.hadoop</groupId>
3055            <artifactId>hadoop-hdfs</artifactId>
3056            <version>${hadoop-three.version}</version>
3057            <type>test-jar</type>
3058            <classifier>tests</classifier>
3059            <scope>test</scope>
3060            <exclusions>
3061              <exclusion>
3062                <groupId>com.sun.jersey</groupId>
3063                <artifactId>jersey-core</artifactId>
3064              </exclusion>
3065            </exclusions>
3066          </dependency>
3067          <dependency>
3068            <groupId>org.apache.hadoop</groupId>
3069            <artifactId>hadoop-auth</artifactId>
3070            <version>${hadoop-three.version}</version>
3071            <exclusions>
3072              <exclusion>
3073                <groupId>com.google.guava</groupId>
3074                <artifactId>guava</artifactId>
3075              </exclusion>
3076              <exclusion>
3077                <groupId>net.minidev</groupId>
3078                <artifactId>json-smart</artifactId>
3079              </exclusion>
3080              <exclusion>
3081                <groupId>org.slf4j</groupId>
3082                <artifactId>slf4j-log4j12</artifactId>
3083              </exclusion>
3084              <exclusion>
3085                <groupId>log4j</groupId>
3086                <artifactId>log4j</artifactId>
3087              </exclusion>
3088            </exclusions>
3089          </dependency>
3090          <dependency>
3091            <groupId>org.apache.hadoop</groupId>
3092            <artifactId>hadoop-common</artifactId>
3093            <version>${hadoop-three.version}</version>
3094            <exclusions>
3095              <exclusion>
3096                <groupId>com.sun.jersey</groupId>
3097                <artifactId>jersey-core</artifactId>
3098              </exclusion>
3099              <exclusion>
3100                <groupId>com.sun.jersey</groupId>
3101                <artifactId>jersey-json</artifactId>
3102              </exclusion>
3103              <exclusion>
3104                <groupId>com.sun.jersey</groupId>
3105                <artifactId>jersey-servlet</artifactId>
3106              </exclusion>
3107              <exclusion>
3108               <groupId>com.sun.jersey</groupId>
3109                <artifactId>jersey-server</artifactId>
3110              </exclusion>
3111              <exclusion>
3112                <groupId>javax.servlet.jsp</groupId>
3113                <artifactId>jsp-api</artifactId>
3114              </exclusion>
3115              <exclusion>
3116                <groupId>javax.servlet</groupId>
3117                <artifactId>javax.servlet-api</artifactId>
3118              </exclusion>
3119              <exclusion>
3120                <groupId>stax</groupId>
3121                <artifactId>stax-api</artifactId>
3122              </exclusion>
3123              <exclusion>
3124                <groupId>io.netty</groupId>
3125                <artifactId>netty</artifactId>
3126              </exclusion>
3127              <exclusion>
3128                <groupId>com.google.code.findbugs</groupId>
3129                <artifactId>jsr305</artifactId>
3130              </exclusion>
3131              <exclusion>
3132                <groupId>junit</groupId>
3133                <artifactId>junit</artifactId>
3134              </exclusion>
3135              <exclusion>
3136                <groupId>org.codehause.jackson</groupId>
3137                <artifactId>jackson-core-asl</artifactId>
3138              </exclusion>
3139              <exclusion>
3140                <groupId>org.codehause.jackson</groupId>
3141                <artifactId>jackson-mapper-asl</artifactId>
3142              </exclusion>
3143              <exclusion>
3144                <groupId>org.slf4j</groupId>
3145                <artifactId>slf4j-log4j12</artifactId>
3146              </exclusion>
3147              <exclusion>
3148                <groupId>log4j</groupId>
3149                <artifactId>log4j</artifactId>
3150              </exclusion>
3151            </exclusions>
3152          </dependency>
3153          <dependency>
3154            <!--
3155              a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3156            -->
3157            <groupId>javax.activation</groupId>
3158            <artifactId>javax.activation-api</artifactId>
3159            <version>1.2.0</version>
3160            <scope>test</scope>
3161          </dependency>
3162          <dependency>
3163            <groupId>org.apache.hadoop</groupId>
3164            <artifactId>hadoop-common</artifactId>
3165            <type>test-jar</type>
3166            <classifier>tests</classifier>
3167            <version>${hadoop-three.version}</version>
3168            <exclusions>
3169              <exclusion>
3170                <groupId>com.sun.jersey</groupId>
3171                <artifactId>jersey-core</artifactId>
3172              </exclusion>
3173              <exclusion>
3174                <groupId>com.google.code.findbugs</groupId>
3175                <artifactId>jsr305</artifactId>
3176              </exclusion>
3177              <exclusion>
3178                <groupId>org.slf4j</groupId>
3179                <artifactId>slf4j-log4j12</artifactId>
3180              </exclusion>
3181              <exclusion>
3182                <groupId>log4j</groupId>
3183                <artifactId>log4j</artifactId>
3184              </exclusion>
3185            </exclusions>
3186          </dependency>
3187          <dependency>
3188            <groupId>org.apache.hadoop</groupId>
3189            <artifactId>hadoop-client</artifactId>
3190            <version>${hadoop-three.version}</version>
3191          </dependency>
3192          <dependency>
3193            <groupId>org.apache.hadoop</groupId>
3194            <artifactId>hadoop-annotations</artifactId>
3195            <version>${hadoop-three.version}</version>
3196          </dependency>
3197          <!-- This was marked as test dep in earlier pom, but was scoped compile.
3198            Where do we actually need it? -->
3199          <dependency>
3200            <groupId>org.apache.hadoop</groupId>
3201            <artifactId>hadoop-minicluster</artifactId>
3202            <version>${hadoop-three.version}</version>
3203            <exclusions>
3204               <!--If we comment this in, a few tests in hbase-mapreduce
3205                    fail. They depend on jersey-core somehow. But excluding
3206                    jersey-core here messes up hbase-it because jersey-core
3207                    implements a 1.x jaxrs Response Interface when we depend
3208                    on the 2.x Interface... . Letting this jar come in
3209                    transitively here but will exclude it down in hbase-it.
3210                    See HBASE-22029.
3211              <exclusion>
3212                <groupId>com.sun.jersey</groupId>
3213                <artifactId>jersey-core</artifactId>
3214              </exclusion>
3215              -->
3216              <exclusion>
3217                <groupId>commons-httpclient</groupId>
3218                <artifactId>commons-httpclient</artifactId>
3219              </exclusion>
3220              <exclusion>
3221                <groupId>javax.servlet.jsp</groupId>
3222                <artifactId>jsp-api</artifactId>
3223              </exclusion>
3224              <exclusion>
3225                <groupId>javax.servlet</groupId>
3226                <artifactId>servlet-api</artifactId>
3227              </exclusion>
3228              <exclusion>
3229                <groupId>stax</groupId>
3230                <artifactId>stax-api</artifactId>
3231              </exclusion>
3232              <exclusion>
3233                <groupId>io.netty</groupId>
3234                <artifactId>netty</artifactId>
3235              </exclusion>
3236              <exclusion>
3237                <groupId>com.google.code.findbugs</groupId>
3238                <artifactId>jsr305</artifactId>
3239              </exclusion>
3240              <exclusion>
3241                <groupId>org.slf4j</groupId>
3242                <artifactId>slf4j-log4j12</artifactId>
3243              </exclusion>
3244              <exclusion>
3245                <groupId>log4j</groupId>
3246                <artifactId>log4j</artifactId>
3247              </exclusion>
3248            </exclusions>
3249          </dependency>
3250          <dependency>
3251            <groupId>org.apache.hadoop</groupId>
3252            <artifactId>hadoop-minikdc</artifactId>
3253            <version>${hadoop-three.version}</version>
3254            <scope>test</scope>
3255            <exclusions>
3256              <exclusion>
3257                <groupId>org.slf4j</groupId>
3258                <artifactId>slf4j-log4j12</artifactId>
3259              </exclusion>
3260            </exclusions>
3261          </dependency>
3262          <dependency>
3263            <groupId>org.apache.hadoop</groupId>
3264            <artifactId>hadoop-distcp</artifactId>
3265            <version>${hadoop-three.version}</version>
3266          </dependency>
3268          <dependency>
3269            <groupId>org.apache.hadoop</groupId>
3270            <artifactId>hadoop-hdfs-client</artifactId>
3271            <version>${hadoop-three.version}</version>
3272          </dependency>
3273        </dependencies>
3274      </dependencyManagement>
3276     </profile>
3277     <!-- profiles for the tests
3278          See as well the properties of the project for the values
3279          when no profile is active.     -->
3280     <profile>
3281       <!-- Use it to launch all tests in the same JVM  -->
3282       <id>singleJVMTests</id>
3283       <activation>
3284         <activeByDefault>false</activeByDefault>
3285       </activation>
3286       <properties>
3287         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3288         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3289         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3290         <surefire.firstPartGroups/>
3291       </properties>
3292     </profile>
3293     <profile>
3294       <!-- Use it to launch small tests only -->
3295       <id>runSmallTests</id>
3296       <activation>
3297         <activeByDefault>false</activeByDefault>
3298       </activation>
3299       <properties>
3300         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3301         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3302         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3303         <surefire.secondPartGroups/>
3304       </properties>
3305     </profile>
3306     <profile>
3307       <!-- Use it to launch medium tests only -->
3308       <id>runMediumTests</id>
3309       <activation>
3310         <activeByDefault>false</activeByDefault>
3311       </activation>
3312       <properties>
3313         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3314         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3315         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3316         <surefire.secondPartGroups/>
3317       </properties>
3318     </profile>
3319     <profile>
3320       <!-- Use it to launch large tests only -->
3321       <id>runLargeTests</id>
3322       <activation>
3323         <activeByDefault>false</activeByDefault>
3324       </activation>
3325       <properties>
3326         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3327         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3328         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3329         <surefire.secondPartGroups/>
3330       </properties>
3331     </profile>
3332     <profile>
3333       <!-- Use it to launch small & medium tests -->
3334       <id>runDevTests</id>
3335       <activation>
3336         <activeByDefault>false</activeByDefault>
3337       </activation>
3338       <properties>
3339         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3340         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3341         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3342         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3343         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3344       </properties>
3345     </profile>
3346     <profile>
3347       <!-- Use it to launch all tests -->
3348       <id>runAllTests</id>
3349       <activation>
3350         <activeByDefault>false</activeByDefault>
3351       </activation>
3352       <properties>
3353         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3354         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3355         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3356         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3357       </properties>
3358     </profile>
3359     <profile>
3360       <id>runMiscTests</id>
3361       <activation>
3362         <activeByDefault>false</activeByDefault>
3363       </activation>
3364       <properties>
3365         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3366         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3367         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3368         </surefire.firstPartGroups>
3369         <surefire.secondPartGroups></surefire.secondPartGroups>
3370       </properties>
3371     </profile>
3372     <profile>
3373       <id>runCoprocessorTests</id>
3374       <activation>
3375         <activeByDefault>false</activeByDefault>
3376       </activation>
3377       <properties>
3378         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3379         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3380         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3381         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3382         <surefire.firstPartGroups>
3383           org.apache.hadoop.hbase.testclassification.CoprocessorTests
3384         </surefire.firstPartGroups>
3385         <surefire.secondPartGroups></surefire.secondPartGroups>
3386       </properties>
3387     </profile>
3388     <profile>
3389       <id>runClientTests</id>
3390       <activation>
3391         <activeByDefault>false</activeByDefault>
3392       </activation>
3393       <properties>
3394         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3395         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3396         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3397         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3398         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3399         </surefire.firstPartGroups>
3400         <surefire.secondPartGroups></surefire.secondPartGroups>
3401       </properties>
3402     </profile>
3403     <profile>
3404       <id>runMasterTests</id>
3405       <activation>
3406         <activeByDefault>false</activeByDefault>
3407       </activation>
3408       <properties>
3409         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3410         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3411         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3412         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3413         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3414         </surefire.firstPartGroups>
3415         <surefire.secondPartGroups></surefire.secondPartGroups>
3416       </properties>
3417     </profile>
3418     <profile>
3419       <id>runMapredTests</id>
3420       <activation>
3421         <activeByDefault>false</activeByDefault>
3422       </activation>
3423       <properties>
3424         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3425         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3426         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3427         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3428         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3429         </surefire.firstPartGroups>
3430         <surefire.secondPartGroups></surefire.secondPartGroups>
3431       </properties>
3432     </profile>
3433     <profile>
3434       <id>runMapreduceTests</id>
3435       <activation>
3436         <activeByDefault>false</activeByDefault>
3437       </activation>
3438       <properties>
3439         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3440         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3441         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3442         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3443         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3444         </surefire.firstPartGroups>
3445         <surefire.secondPartGroups></surefire.secondPartGroups>
3446       </properties>
3447     </profile>
3448     <profile>
3449       <id>runRegionServerTests</id>
3450       <activation>
3451         <activeByDefault>false</activeByDefault>
3452       </activation>
3453       <properties>
3454         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3455         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3456         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3457         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3458         <surefire.firstPartGroups>
3459           org.apache.hadoop.hbase.testclassification.RegionServerTests
3460         </surefire.firstPartGroups>
3461         <surefire.secondPartGroups></surefire.secondPartGroups>
3462       </properties>
3463     </profile>
3464     <profile>
3465       <id>runVerySlowMapReduceTests</id>
3466       <activation>
3467         <activeByDefault>false</activeByDefault>
3468       </activation>
3469       <properties>
3470         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3471         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3472         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3473         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3474         <surefire.firstPartGroups>
3475           org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3476         </surefire.firstPartGroups>
3477         <surefire.secondPartGroups></surefire.secondPartGroups>
3478       </properties>
3479     </profile>
3481     <profile>
3482       <id>runVerySlowRegionServerTests</id>
3483       <activation>
3484         <activeByDefault>false</activeByDefault>
3485       </activation>
3486       <properties>
3487         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3488         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3489         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3490         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3491         <surefire.firstPartGroups>
3492           org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3493         </surefire.firstPartGroups>
3494         <surefire.secondPartGroups></surefire.secondPartGroups>
3495       </properties>
3496     </profile>
3498     <profile>
3499       <id>runFilterTests</id>
3500       <activation>
3501         <activeByDefault>false</activeByDefault>
3502       </activation>
3503       <properties>
3504         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3505         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3506         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3507         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3508         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3509         </surefire.firstPartGroups>
3510         <surefire.secondPartGroups></surefire.secondPartGroups>
3511       </properties>
3512     </profile>
3513     <profile>
3514       <id>runIOTests</id>
3515       <activation>
3516         <activeByDefault>false</activeByDefault>
3517       </activation>
3518       <properties>
3519         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3520         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3521         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3522         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3523         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3524         </surefire.firstPartGroups>
3525         <surefire.secondPartGroups></surefire.secondPartGroups>
3526       </properties>
3527     </profile>
3528     <profile>
3529       <id>runRestTests</id>
3530       <activation>
3531         <activeByDefault>false</activeByDefault>
3532       </activation>
3533       <properties>
3534         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3535         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3536         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3537         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3538         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3539         </surefire.firstPartGroups>
3540         <surefire.secondPartGroups></surefire.secondPartGroups>
3541       </properties>
3542     </profile>
3543     <profile>
3544       <id>runRPCTests</id>
3545       <activation>
3546         <activeByDefault>false</activeByDefault>
3547       </activation>
3548       <properties>
3549         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3550         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3551         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3552         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3553         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3554         </surefire.firstPartGroups>
3555         <surefire.secondPartGroups></surefire.secondPartGroups>
3556       </properties>
3557     </profile>
3558     <profile>
3559       <id>runReplicationTests</id>
3560       <activation>
3561         <activeByDefault>false</activeByDefault>
3562       </activation>
3563       <properties>
3564         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3565         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3566         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3567         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3568         <surefire.firstPartGroups>
3569           org.apache.hadoop.hbase.testclassification.ReplicationTests
3570         </surefire.firstPartGroups>
3571         <surefire.secondPartGroups></surefire.secondPartGroups>
3572       </properties>
3573     </profile>
3574     <profile>
3575       <id>runSecurityTests</id>
3576       <activation>
3577         <activeByDefault>false</activeByDefault>
3578       </activation>
3579       <properties>
3580         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3581         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3582         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3583         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3584         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3585         </surefire.firstPartGroups>
3586         <surefire.secondPartGroups></surefire.secondPartGroups>
3587       </properties>
3588     </profile>
3589     <profile>
3590       <id>runFlakeyTests</id>
3591       <activation>
3592         <activeByDefault>false</activeByDefault>
3593       </activation>
3594       <properties>
3595         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3596         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3597         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3598         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3599         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3600         </surefire.firstPartGroups>
3601         <surefire.secondPartGroups></surefire.secondPartGroups>
3602       </properties>
3603     </profile>
3604     <profile>
3605       <id>runZKTests</id>
3606       <activation>
3607         <activeByDefault>false</activeByDefault>
3608       </activation>
3609       <properties>
3610         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3611         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3612         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3613         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3614         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3615         </surefire.firstPartGroups>
3616         <surefire.secondPartGroups></surefire.secondPartGroups>
3617       </properties>
3618     </profile>
3619     <profile>
3620       <id>runRSGroupTests</id>
3621       <activation>
3622         <activeByDefault>false</activeByDefault>
3623       </activation>
3624       <properties>
3625         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3626         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3627         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3628         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3629         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3630         </surefire.firstPartGroups>
3631         <surefire.secondPartGroups></surefire.secondPartGroups>
3632       </properties>
3633     </profile>
3635     <profile>
3636       <!-- Use it to launch tests locally-->
3637       <id>localTests</id>
3638       <activation>
3639         <property>
3640           <name>test</name>
3641         </property>
3642       </activation>
3643       <properties>
3644         <surefire.provider>surefire-junit4</surefire.provider>
3645         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3646         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3647         <surefire.firstPartGroups/>
3648       </properties>
3649     </profile>
3650     <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3651          or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3652          the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3653          The report will be generated under target/site/clover/index.html when you run
3654          MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3655     <profile>
3656       <id>clover</id>
3657       <activation>
3658         <activeByDefault>false</activeByDefault>
3659         <property>
3660           <name>clover</name>
3661         </property>
3662       </activation>
3663       <properties>
3664         <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3665       </properties>
3666       <build>
3667         <plugins>
3668         <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3669              our instrumented classes for the doclet will fail
3670           -->
3671           <plugin>
3672             <groupId>org.apache.maven.plugins</groupId>
3673             <artifactId>maven-javadoc-plugin</artifactId>
3674             <dependencies>
3675               <dependency>
3676                 <groupId>com.atlassian.maven.plugins</groupId>
3677                 <artifactId>maven-clover2-plugin</artifactId>
3678                 <version>${clover.version}</version>
3679               </dependency>
3680             </dependencies>
3681           </plugin>
3682           <plugin>
3683             <groupId>com.atlassian.maven.plugins</groupId>
3684             <artifactId>maven-clover2-plugin</artifactId>
3685             <version>${clover.version}</version>
3686             <configuration>
3687               <includesAllSourceRoots>true</includesAllSourceRoots>
3688               <includesTestSourceRoots>true</includesTestSourceRoots>
3689               <targetPercentage>50%</targetPercentage>
3690               <generateHtml>true</generateHtml>
3691               <generateXml>true</generateXml>
3692               <excludes>
3693                 <exclude>**/generated/**</exclude>
3694               </excludes>
3695             </configuration>
3696             <executions>
3697               <execution>
3698                 <id>clover-setup</id>
3699                 <phase>process-sources</phase>
3700                 <goals>
3701                   <goal>setup</goal>
3702                 </goals>
3703               </execution>
3704               <execution>
3705                 <id>clover</id>
3706                 <phase>site</phase>
3707                 <goals>
3708                   <goal>clover</goal>
3709                 </goals>
3710               </execution>
3711             </executions>
3712           </plugin>
3713         </plugins>
3714       </build>
3715     </profile>
3716     <profile>
3717       <!-- Used by the website generation script on jenkins to
3718            do a local install of the jars we need to run a normal
3719            site build w/o forking.
3720         -->
3721       <id>site-install-step</id>
3722       <properties>
3723         <skipTests>true</skipTests>
3724         <maven.javadoc.skip>true</maven.javadoc.skip>
3725         <enforcer.skip>true</enforcer.skip>
3726         <checkstyle.skip>true</checkstyle.skip>
3727         <spotbugs.skip>true</spotbugs.skip>
3728         <warbucks.skip>true</warbucks.skip>
3729       </properties>
3730     </profile>
3731     <profile>
3732       <!-- Used by the website generation script on jenkins to
3733            mitigate the impact of unneeded build forks while building
3734            our javadocs.
3735         -->
3736       <id>site-build-step</id>
3737       <properties>
3738         <skipTests>true</skipTests>
3739         <enforcer.skip>true</enforcer.skip>
3740         <maven.main.skip>true</maven.main.skip>
3741         <maven.test.skip>true</maven.test.skip>
3742         <warbucks.skip>true</warbucks.skip>
3743         <protoc.skip>true</protoc.skip>
3744         <remoteresources.skip>true</remoteresources.skip>
3745       </properties>
3746     </profile>
3747     <profile>
3748       <id>eclipse-specific</id>
3749       <activation>
3750         <property>
3751           <name>m2e.version</name>
3752         </property>
3753       </activation>
3754       <build>
3755         <pluginManagement>
3756           <plugins>
3757             <!-- General config for eclipse classpath/settings -->
3758             <plugin>
3759               <groupId>org.apache.maven.plugins</groupId>
3760               <artifactId>maven-eclipse-plugin</artifactId>
3761               <version>${maven.eclipse.version}</version>
3762             </plugin>
3763             <!--This plugin's configuration is used to store Eclipse m2e settings
3764                 only. It has no influence on the Maven build itself. m2e does not
3765                 provide any safeguards against rogue maven plugins that leak
3766                 classloaders, modify random files inside workspace or throw nasty
3767                 exceptions to fail the build.
3768                 Top level doesn't do any specific configuration currently - left
3769                 to modules to decide what they want to bind, sans those plugins
3770                 defined in this pom. -->
3771             <plugin>
3772               <groupId>org.eclipse.m2e</groupId>
3773               <artifactId>lifecycle-mapping</artifactId>
3774               <version>${lifecycle.mapping.version}</version>
3775               <configuration>
3776                 <lifecycleMappingMetadata>
3777                   <pluginExecutions>
3778                     <pluginExecution>
3779                       <pluginExecutionFilter>
3780                         <groupId>org.jacoco</groupId>
3781                         <artifactId>jacoco-maven-plugin</artifactId>
3782                         <versionRange>[0.6.2.201302030002,)</versionRange>
3783                         <goals>
3784                           <goal>prepare-agent</goal>
3785                         </goals>
3786                       </pluginExecutionFilter>
3787                       <action>
3788                         <ignore></ignore>
3789                       </action>
3790                     </pluginExecution>
3791                     <pluginExecution>
3792                       <pluginExecutionFilter>
3793                         <groupId>org.apache.maven.plugins</groupId>
3794                         <artifactId>maven-enforcer-plugin</artifactId>
3795                         <versionRange>${enforcer.version}</versionRange>
3796                         <goals>
3797                           <goal>enforce</goal>
3798                         </goals>
3799                       </pluginExecutionFilter>
3800                       <action>
3801                         <ignore />
3802                       </action>
3803                     </pluginExecution>
3804                     <pluginExecution>
3805                       <pluginExecutionFilter>
3806                         <groupId>org.apache.maven.plugins</groupId>
3807                         <artifactId>maven-remote-resources-plugin</artifactId>
3808                         <versionRange>[1.5,)</versionRange>
3809                         <goals>
3810                           <goal>process</goal>
3811                           <goal>bundle</goal>
3812                         </goals>
3813                       </pluginExecutionFilter>
3814                       <action>
3815                         <ignore />
3816                       </action>
3817                     </pluginExecution>
3818                       <pluginExecution>
3819                         <pluginExecutionFilter>
3820                           <groupId>org.codehaus.mojo</groupId>
3821                           <artifactId>buildnumber-maven-plugin</artifactId>
3822                           <versionRange>[1.3,)</versionRange>
3823                           <goals>
3824                             <goal>create-timestamp</goal>
3825                           </goals>
3826                         </pluginExecutionFilter>
3827                         <action>
3828                           <execute>
3829                             <runOnConfiguration>true</runOnConfiguration>
3830                             <runOnIncremental>true</runOnIncremental>
3831                           </execute>
3832                         </action>
3833                       </pluginExecution>
3834                   </pluginExecutions>
3835                 </lifecycleMappingMetadata>
3836               </configuration>
3837             </plugin>
3838           </plugins>
3839         </pluginManagement>
3840       </build>
3841     </profile>
3842     <profile>
3843       <id>aarch64</id>
3844       <properties>
3845         <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3846       </properties>
3847       <activation>
3848         <os>
3849           <family>linux</family>
3850           <arch>aarch64</arch>
3851         </os>
3852       </activation>
3853     </profile>
3854   </profiles>
3855   <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3856   <reporting>
3857     <plugins>
3858       <plugin>
3859         <artifactId>maven-project-info-reports-plugin</artifactId>
3860         <version>${maven.project.info.report.version}</version>
3861         <reportSets>
3862           <reportSet>
3863             <reports>
3864               <report>dependencies</report>
3865               <report>dependency-convergence</report>
3866               <report>dependency-info</report>
3867               <report>dependency-management</report>
3868               <report>index</report>
3869               <report>issue-tracking</report>
3870               <report>mailing-list</report>
3871               <report>plugin-management</report>
3872               <report>plugins</report>
3873               <report>project-team</report>
3874               <report>scm</report>
3875               <report>summary</report>
3876             </reports>
3877           </reportSet>
3878         </reportSets>
3879         <!-- see src/site/site.xml for selected reports -->
3880         <configuration>
3881           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3882         </configuration>
3883       </plugin>
3885       <plugin>
3886         <groupId>org.apache.maven.plugins</groupId>
3887         <artifactId>maven-javadoc-plugin</artifactId>
3888         <configuration>
3889           <tags>
3890             <tag>
3891               <name>apiNote</name>
3892               <placement>a</placement>
3893               <head>API Note:</head>
3894             </tag>
3895           </tags>
3896         </configuration>
3897         <reportSets>
3898           <!-- Dev API -->
3899           <reportSet>
3900             <id>devapi</id>
3901             <reports>
3902               <report>aggregate-no-fork</report>
3903             </reports>
3904             <configuration>
3905               <destDir>devapidocs</destDir>
3906               <name>Developer API</name>
3907               <description>The full HBase API, including private and unstable APIs</description>
3908               <sourceFileExcludes>
3909                 <exclude>**/generated/*</exclude>
3910                 <exclude>**/protobuf/*</exclude>
3911               </sourceFileExcludes>
3912               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3913               <show>private</show> <!-- (shows all classes and members) -->
3914               <quiet>true</quiet>
3915               <linksource>true</linksource>
3916               <sourcetab>2</sourcetab>
3917               <validateLinks>true</validateLinks>
3918               <fixClassComment>true</fixClassComment>
3919               <fixFieldComment>true</fixFieldComment>
3920               <fixMethodComment>true</fixMethodComment>
3921               <fixTags>all</fixTags>
3922               <notimestamp>true</notimestamp>
3923               <locale>en_US</locale>
3924               <!-- Pass some options straight to the javadoc executable since it is easier -->
3925               <additionalJOption>-J-Xmx2G</additionalJOption>
3926               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3927               <additionalDependencies>
3928                 <additionalDependency>
3929                   <groupId>org.mockito</groupId>
3930                   <artifactId>mockito-core</artifactId>
3931                   <version>${mockito-core.version}</version>
3932                 </additionalDependency>
3933                 <additionalDependency>
3934                   <groupId>org.hamcrest</groupId>
3935                   <artifactId>hamcrest-core</artifactId>
3936                   <version>${hamcrest.version}</version>
3937                 </additionalDependency>
3938                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3939                 <additionalDependency>
3940                   <groupId>com.google.code.findbugs</groupId>
3941                   <artifactId>jsr305</artifactId>
3942                   <version>3.0.2</version>
3943                 </additionalDependency>
3944               </additionalDependencies>
3945               <inherited>false</inherited>
3946             </configuration>
3947           </reportSet>
3948           <reportSet>
3949             <id>testdevapi</id>
3950             <reports>
3951               <report>test-aggregate-no-fork</report>
3952             </reports>
3953             <configuration>
3954               <destDir>testdevapidocs</destDir>
3955               <name>Developer API</name>
3956               <description>The full HBase API test code, including private and unstable APIs</description>
3957               <sourceFileExcludes>
3958                 <exclude>**/generated/*</exclude>
3959                 <exclude>**/protobuf/*</exclude>
3960               </sourceFileExcludes>
3961               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3962               <show>private</show> <!-- (shows all classes and members) -->
3963               <quiet>true</quiet>
3964               <linksource>true</linksource>
3965               <sourcetab>2</sourcetab>
3966               <validateLinks>true</validateLinks>
3967               <fixClassComment>true</fixClassComment>
3968               <fixFieldComment>true</fixFieldComment>
3969               <fixMethodComment>true</fixMethodComment>
3970               <fixTags>all</fixTags>
3971               <notimestamp>true</notimestamp>
3972               <locale>en_US</locale>
3973               <!-- Pass some options straight to the javadoc executable since it is easier -->
3974               <additionalJOption>-J-Xmx2G</additionalJOption>
3975               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3976               <additionalDependencies>
3977                 <additionalDependency>
3978                   <groupId>org.mockito</groupId>
3979                   <artifactId>mockito-core</artifactId>
3980                   <version>${mockito-core.version}</version>
3981                 </additionalDependency>
3982                 <additionalDependency>
3983                   <groupId>org.hamcrest</groupId>
3984                   <artifactId>hamcrest-core</artifactId>
3985                   <version>${hamcrest.version}</version>
3986                 </additionalDependency>
3987                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3988                 <additionalDependency>
3989                   <groupId>com.google.code.findbugs</groupId>
3990                   <artifactId>jsr305</artifactId>
3991                   <version>3.0.2</version>
3992                 </additionalDependency>
3993               </additionalDependencies>
3994               <inherited>false</inherited>
3995             </configuration>
3996           </reportSet>
3998           <!-- User API -->
3999           <reportSet>
4000             <id>userapi</id>
4001             <reports>
4002               <report>aggregate-no-fork</report>
4003             </reports>
4004             <configuration>
4005               <doclet>
4006                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4007               </doclet>
4008               <docletArtifact>
4009                 <groupId>org.apache.yetus</groupId>
4010                 <artifactId>audience-annotations</artifactId>
4011                 <version>${audience-annotations.version}</version>
4012               </docletArtifact>
4013               <useStandardDocletOptions>true</useStandardDocletOptions>
4014               <destDir>apidocs</destDir>
4015               <name>User API</name>
4016               <description>The HBase Application Programmer's API</description>
4017               <excludePackageNames>
4018                 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*
4019               </excludePackageNames>
4020               <!-- switch on dependency-driven aggregation -->
4021               <includeDependencySources>false</includeDependencySources>
4022               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4023               <show>protected</show> <!-- (shows only public and protected classes and members) -->
4024               <quiet>true</quiet>
4025               <linksource>true</linksource>
4026               <sourcetab>2</sourcetab>
4027               <validateLinks>true</validateLinks>
4028               <fixClassComment>true</fixClassComment>
4029               <fixFieldComment>true</fixFieldComment>
4030               <fixMethodComment>true</fixMethodComment>
4031               <fixTags>all</fixTags>
4032               <notimestamp>true</notimestamp>
4033               <locale>en_US</locale>
4034               <!-- Pass some options straight to the javadoc executable since it is easier -->
4035               <additionalJOption>-J-Xmx2G</additionalJOption>
4036               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4037               <additionalDependencies>
4038                 <additionalDependency>
4039                   <groupId>org.mockito</groupId>
4040                   <artifactId>mockito-core</artifactId>
4041                   <version>${mockito-core.version}</version>
4042                 </additionalDependency>
4043                 <additionalDependency>
4044                   <groupId>org.hamcrest</groupId>
4045                   <artifactId>hamcrest-core</artifactId>
4046                   <version>${hamcrest.version}</version>
4047                 </additionalDependency>
4048                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4049                 <additionalDependency>
4050                   <groupId>com.google.code.findbugs</groupId>
4051                   <artifactId>jsr305</artifactId>
4052                   <version>3.0.2</version>
4053                 </additionalDependency>
4054               </additionalDependencies>
4055               <inherited>false</inherited>
4056             </configuration>
4057           </reportSet>
4058           <!-- User Test API -->
4059           <reportSet>
4060             <id>testuserapi</id>
4061             <reports>
4062               <report>test-aggregate-no-fork</report>
4063             </reports>
4064             <configuration>
4065               <doclet>
4066                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4067               </doclet>
4068               <docletArtifact>
4069                 <groupId>org.apache.yetus</groupId>
4070                 <artifactId>audience-annotations</artifactId>
4071                 <version>${audience-annotations.version}</version>
4072               </docletArtifact>
4073               <useStandardDocletOptions>true</useStandardDocletOptions>
4074               <destDir>testapidocs</destDir>
4075               <name>User API</name>
4076               <description>The HBase Application Programmer's API</description>
4077               <excludePackageNames>
4078                 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*
4079               </excludePackageNames>
4080               <!-- switch on dependency-driven aggregation -->
4081               <includeDependencySources>false</includeDependencySources>
4082               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4083               <show>protected</show> <!-- (shows only public and protected classes and members) -->
4084               <quiet>true</quiet>
4085               <linksource>true</linksource>
4086               <sourcetab>2</sourcetab>
4087               <validateLinks>true</validateLinks>
4088               <fixClassComment>true</fixClassComment>
4089               <fixFieldComment>true</fixFieldComment>
4090               <fixMethodComment>true</fixMethodComment>
4091               <fixTags>all</fixTags>
4092               <notimestamp>true</notimestamp>
4093               <locale>en_US</locale>
4094               <!-- Pass some options straight to the javadoc executable since it is easier -->
4095               <additionalJOption>-J-Xmx2G</additionalJOption>
4096               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4097               <additionalDependencies>
4098                 <additionalDependency>
4099                   <groupId>org.mockito</groupId>
4100                   <artifactId>mockito-core</artifactId>
4101                   <version>${mockito-core.version}</version>
4102                 </additionalDependency>
4103                 <additionalDependency>
4104                   <groupId>org.hamcrest</groupId>
4105                   <artifactId>hamcrest-core</artifactId>
4106                   <version>${hamcrest.version}</version>
4107                 </additionalDependency>
4108                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4109                 <additionalDependency>
4110                   <groupId>com.google.code.findbugs</groupId>
4111                   <artifactId>jsr305</artifactId>
4112                   <version>3.0.2</version>
4113                 </additionalDependency>
4114               </additionalDependencies>
4115               <inherited>false</inherited>
4116             </configuration>
4117           </reportSet>
4118         </reportSets>
4119       </plugin>
4121       <plugin>
4122         <groupId>org.apache.maven.plugins</groupId>
4123         <artifactId>maven-checkstyle-plugin</artifactId>
4124         <version>${maven.checkstyle.version}</version>
4125         <configuration>
4126           <excludes>target/**</excludes>
4127         </configuration>
4128       </plugin>
4130     </plugins>
4131   </reporting>
4132   <distributionManagement>
4133     <site>
4134       <id>hbase.apache.org</id>
4135       <name>HBase Website at hbase.apache.org</name>
4136       <!-- On why this is the tmp dir and not hbase.apache.org, see
4137         https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4138        -->
4139       <url>file:///tmp</url>
4140     </site>
4141   </distributionManagement>
4142 </project>