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