HBASE-24458 release scripts using docker should specify needed disk consistency
[hbase.git] / pom.xml
blobb7361b0bc59004800564ed16e5a115d34be57f70
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             <protocArtifact>${external.protobuf.groupid}:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
938             <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
939             <clearOutputDirectory>false</clearOutputDirectory>
940             <checkStaleness>true</checkStaleness>
941           </configuration>
942         </plugin>
943         <plugin>
944           <!-- Approach followed here is roughly the same as mentioned here:
945           https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
946           -->
947           <groupId>org.apache.maven.plugins</groupId>
948           <artifactId>maven-checkstyle-plugin</artifactId>
949           <version>${maven.checkstyle.version}</version>
950           <dependencies>
951             <dependency>
952               <groupId>org.apache.hbase</groupId>
953               <artifactId>hbase-checkstyle</artifactId>
954               <version>${project.version}</version>
955             </dependency>
956             <dependency>
957               <groupId>com.puppycrawl.tools</groupId>
958               <artifactId>checkstyle</artifactId>
959               <version>${checkstyle.version}</version>
960             </dependency>
961           </dependencies>
962           <configuration>
963             <configLocation>hbase/checkstyle.xml</configLocation>
964             <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
965             <includeTestSourceDirectory>true</includeTestSourceDirectory>
966           </configuration>
967         </plugin>
968         <plugin>
969           <groupId>net.revelc.code</groupId>
970           <artifactId>warbucks-maven-plugin</artifactId>
971           <version>${maven.warbucks.version}</version>
972           <configuration>
973             <ignoreRuleFailures>false</ignoreRuleFailures>
974             <rules>
975               <rule>
976                 <!-- exclude the generated java files -->
977                 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
978                 <includeTestClasses>false</includeTestClasses>
979                 <includePublicClasses>true</includePublicClasses>
980                 <includePackagePrivateClasses>false</includePackagePrivateClasses>
981                 <includeProtectedClasses>false</includeProtectedClasses>
982                 <includePrivateClasses>false</includePrivateClasses>
983                 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
984               </rule>
985             </rules>
986           </configuration>
987           <executions>
988             <execution>
989               <id>run-warbucks</id>
990               <goals>
991                 <goal>check</goal><!-- runs at process-test-classes phase -->
992               </goals>
993             </execution>
994           </executions>
995         </plugin>
996         <plugin>
997           <groupId>org.apache.maven.plugins</groupId>
998           <artifactId>maven-enforcer-plugin</artifactId>
999           <version>${enforcer.version}</version>
1000           <dependencies>
1001             <dependency>
1002               <groupId>org.codehaus.mojo</groupId>
1003               <artifactId>extra-enforcer-rules</artifactId>
1004               <version>${extra.enforcer.version}</version>
1005             </dependency>
1006             <dependency>
1007               <groupId>de.skuzzle.enforcer</groupId>
1008               <artifactId>restrict-imports-enforcer-rule</artifactId>
1009               <version>${restrict-imports.enforcer.version}</version>
1010             </dependency>
1011           </dependencies>
1012         </plugin>
1013       </plugins>
1014     </pluginManagement>
1015     <plugins>
1016       <plugin>
1017         <groupId>org.codehaus.mojo</groupId>
1018         <artifactId>build-helper-maven-plugin</artifactId>
1019         <executions>
1020           <execution>
1021             <id>negate-license-bundles-property</id>
1022             <goals>
1023               <goal>bsh-property</goal>
1024             </goals>
1025             <configuration>
1026               <source>skip.license.check = !${license.bundles.dependencies};</source>
1027               <properties>
1028                 <property>skip.license.check</property>
1029               </properties>
1030             </configuration>
1031           </execution>
1032           <!-- sets where to find the generated LICENSE files -->
1033           <execution>
1034             <id>create-license-file-path-property</id>
1035             <goals>
1036               <goal>regex-property</goal>
1037             </goals>
1038             <configuration>
1039               <name>license.aggregate.path</name>
1040               <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1041               <regex>\\</regex>
1042               <replacement>/</replacement>
1043               <failIfNoMatch>false</failIfNoMatch>
1044             </configuration>
1045           </execution>
1046         </executions>
1047       </plugin>
1048       <plugin>
1049         <groupId>org.apache.maven.plugins</groupId>
1050         <artifactId>maven-enforcer-plugin</artifactId>
1051         <executions>
1052           <execution>
1053             <id>display-info</id>
1054             <phase>initialize</phase>
1055             <goals>
1056               <goal>display-info</goal>
1057             </goals>
1058             <inherited>false</inherited>
1059           </execution>
1060           <execution>
1061             <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1062             <goals>
1063               <goal>enforce</goal>
1064             </goals>
1065             <configuration>
1066               <rules>
1067                 <!-- Help people activate profiles correctly -->
1068                 <evaluateBeanshell>
1069                   <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1070                   <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1071                 </evaluateBeanshell>
1072                 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1073                 <requireMavenVersion>
1074                   <version>[${maven.min.version},)</version>
1075                   <message>Maven is out of date.
1076   HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1077   You appear to be using an older version. You can use either "mvn -version" or
1078   "mvn enforcer:display-info" to verify what version is active.
1079   See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1080                   </message>
1081                 </requireMavenVersion>
1082                 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1083                 <requireJavaVersion>
1084                   <version>[${java.min.version},)</version>
1085                   <message>Java is out of date.
1086   HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1087   You appear to be using an older version. You can use either "mvn -version" or
1088   "mvn enforcer:display-info" to verify what version is active.
1089   See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1090                   </message>
1091                 </requireJavaVersion>
1092                 <bannedDependencies>
1093                   <excludes>
1094                     <exclude>xerces:xercesImpl</exclude>
1095                   </excludes>
1096                   <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1097                 </bannedDependencies>
1098               </rules>
1099             </configuration>
1100           </execution>
1101           <execution>
1102             <id>banned-jsr305</id>
1103             <goals>
1104               <goal>enforce</goal>
1105             </goals>
1106             <configuration>
1107               <rules>
1108                 <bannedDependencies>
1109                   <excludes>
1110                     <exclude>com.google.code.findbugs:jsr305</exclude>
1111                   </excludes>
1112                   <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1113                 </bannedDependencies>
1114               </rules>
1115             </configuration>
1116           </execution>
1117           <execution>
1118             <id>banned-scala</id>
1119             <goals>
1120               <goal>enforce</goal>
1121             </goals>
1122             <configuration>
1123               <rules>
1124                 <bannedDependencies>
1125                   <excludes>
1126                     <exclude>org.scala-lang:scala-library</exclude>
1127                   </excludes>
1128                   <message>We don't allow Scala, see HBASE-13992.</message>
1129                 </bannedDependencies>
1130               </rules>
1131             </configuration>
1132           </execution>
1133           <execution>
1134             <id>banned-commons-logging</id>
1135             <goals>
1136               <goal>enforce</goal>
1137             </goals>
1138             <configuration>
1139               <rules>
1140                 <bannedDependencies>
1141                   <excludes>
1142                     <exclude>commons-logging:commons-logging</exclude>
1143                   </excludes>
1144                   <message>
1145                     We don't use commons-logging any more, so do not depend on it directly.
1146                   </message>
1147                   <searchTransitive>false</searchTransitive>
1148                 </bannedDependencies>
1149               </rules>
1150             </configuration>
1151           </execution>
1152           <execution>
1153             <id>check-aggregate-license</id>
1154             <!-- must check after LICENSE is built at 'generate-resources' -->
1155             <phase>process-resources</phase>
1156             <goals>
1157               <goal>enforce</goal>
1158             </goals>
1159             <configuration>
1160               <rules>
1161                 <evaluateBeanshell>
1162                   <condition>
1163                     File license = new File("${license.aggregate.path}");
1165                     // Beanshell does not support try-with-resources,
1166                     // so we must close this scanner manually
1167                     Scanner scanner = new Scanner(license);
1169                     while (scanner.hasNextLine()) {
1170                       if (scanner.nextLine().startsWith("ERROR:")) {
1171                         scanner.close();
1172                         return false;
1173                       }
1174                     }
1175                     scanner.close();
1176                     return true;
1177                   </condition>
1178                   <message>
1179                     License errors detected, for more detail find ERROR in
1180                     ${license.aggregate.path}
1181                   </message>
1182                 </evaluateBeanshell>
1183               </rules>
1184               <skip>${skip.license.check}</skip>
1185             </configuration>
1186           </execution>
1187           <execution>
1188             <id>banned-illegal-imports</id>
1189             <phase>process-sources</phase>
1190             <goals>
1191               <goal>enforce</goal>
1192             </goals>
1193             <configuration>
1194               <rules>
1195                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1196                   <includeTestCode>true</includeTestCode>
1197                   <commentLineBufferSize>512</commentLineBufferSize>
1198                   <reason>Use SLF4j for logging</reason>
1199                   <bannedImports>
1200                     <bannedImport>org.apache.commons.logging.**</bannedImport>
1201                   </bannedImports>
1202                 </restrictImports>
1203                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1204                   <includeTestCode>false</includeTestCode>
1205                   <commentLineBufferSize>512</commentLineBufferSize>
1206                   <reason>
1207                     Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1208                   </reason>
1209                   <bannedImports>
1210                     <bannedImport>org.apache.log4j.**</bannedImport>
1211                   </bannedImports>
1212                 </restrictImports>
1213                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1214                   <includeTestCode>true</includeTestCode>
1215                   <commentLineBufferSize>512</commentLineBufferSize>
1216                   <reason>Use shaded version in hbase-thirdparty</reason>
1217                   <bannedImports>
1218                     <bannedImport>com.google.common.**</bannedImport>
1219                     <bannedImport>io.netty.**</bannedImport>
1220                     <bannedImport>org.apache.commons.cli.**</bannedImport>
1221                     <bannedImport>org.apache.commons.collections.**</bannedImport>
1222                     <bannedImport>org.apache.commons.collections4.**</bannedImport>
1223                   </bannedImports>
1224                 </restrictImports>
1225                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1226                   <includeTestCode>true</includeTestCode>
1227                   <commentLineBufferSize>512</commentLineBufferSize>
1228                   <reason>Do not use shaded classes from other dependencies</reason>
1229                   <bannedImports>
1230                     <bannedImport>org.apache.curator.shaded.**</bannedImport>
1231                     <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1232                   </bannedImports>
1233                 </restrictImports>
1234                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1235                   <includeTestCode>true</includeTestCode>
1236                   <commentLineBufferSize>512</commentLineBufferSize>
1237                   <reason>Use shaded gson in hbase-thirdparty</reason>
1238                   <bannedImports>
1239                     <bannedImport>org.codehaus.jackson.**</bannedImport>
1240                   </bannedImports>
1241                 </restrictImports>
1242                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1243                   <includeTestCode>true</includeTestCode>
1244                   <commentLineBufferSize>512</commentLineBufferSize>
1245                   <reason>Use commons lang 3</reason>
1246                   <bannedImports>
1247                     <bannedImport>org.apache.commons.lang.**</bannedImport>
1248                   </bannedImports>
1249                 </restrictImports>
1250                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1251                   <includeTestCode>true</includeTestCode>
1252                   <commentLineBufferSize>512</commentLineBufferSize>
1253                   <reason>Use yetus IA and IS annotations</reason>
1254                   <bannedImports>
1255                     <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1256                   </bannedImports>
1257                 </restrictImports>
1258                 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1259                   <includeTestCode>true</includeTestCode>
1260                   <commentLineBufferSize>512</commentLineBufferSize>
1261                   <reason>Do not use htrace v3</reason>
1262                   <bannedImports>
1263                     <bannedImport>org.htrace.**</bannedImport>
1264                   </bannedImports>
1265                 </restrictImports>
1266               </rules>
1267             </configuration>
1268           </execution>
1269         </executions>
1270       </plugin>
1271       <!-- parent-module only plugins -->
1272       <plugin>
1273         <groupId>org.codehaus.mojo</groupId>
1274         <artifactId>xml-maven-plugin</artifactId>
1275         <version>${xml.maven.version}</version>
1276         <inherited>false</inherited>
1277         <executions>
1278           <execution>
1279             <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1280             <goals>
1281               <goal>transform</goal>
1282             </goals>
1283             <phase>site</phase>
1284           </execution>
1285         </executions>
1286         <configuration>
1287           <transformationSets>
1288             <!-- For asciidoc -->
1289             <transformationSet>
1290               <!--Reaching up and over into common sub-module for hbase-default.xml-->
1291               <dir>${basedir}/hbase-common/src/main/resources/</dir>
1292               <includes>
1293                 <include>hbase-default.xml</include>
1294               </includes>
1295               <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1296               <fileMappers>
1297                 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1298                   <pattern>^(.*)\.xml$</pattern>
1299                   <replacement>$1.adoc</replacement>
1300                 </fileMapper>
1301               </fileMappers>
1302               <outputDir>${basedir}/target/asciidoc</outputDir>
1303             </transformationSet>
1304           </transformationSets>
1305         </configuration>
1306       </plugin>
1307       <!-- Special configuration for spotbugs just in the parent so
1308       the filter file location can be more general (see definition in pluginManagement) -->
1309       <plugin>
1310         <groupId>com.github.spotbugs</groupId>
1311         <artifactId>spotbugs-maven-plugin</artifactId>
1312         <executions>
1313           <execution>
1314             <inherited>false</inherited>
1315             <goals>
1316               <goal>spotbugs</goal>
1317             </goals>
1318             <configuration>
1319               <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1320             </configuration>
1321           </execution>
1322         </executions>
1323       </plugin>
1324       <plugin>
1325         <groupId>org.apache.maven.plugins</groupId>
1326         <artifactId>maven-checkstyle-plugin</artifactId>
1327       </plugin>
1328       <plugin>
1329         <groupId>org.apache.maven.plugins</groupId>
1330         <artifactId>maven-site-plugin</artifactId>
1331         <dependencies>
1332           <dependency>
1333             <!-- add support for ssh/scp -->
1334             <groupId>org.apache.maven.wagon</groupId>
1335             <artifactId>wagon-ssh</artifactId>
1336             <version>${wagon.ssh.version}</version>
1337           </dependency>
1338         </dependencies>
1339         <configuration>
1340           <siteDirectory>${basedir}/src/site</siteDirectory>
1341           <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1342           <inputEncoding>UTF-8</inputEncoding>
1343           <outputEncoding>UTF-8</outputEncoding>
1344         </configuration>
1345       </plugin>
1346       <!-- For AsciiDoc docs building -->
1347       <plugin>
1348         <groupId>org.asciidoctor</groupId>
1349         <artifactId>asciidoctor-maven-plugin</artifactId>
1350         <version>${asciidoctor.plugin.version}</version>
1351         <inherited>false</inherited>
1352         <dependencies>
1353           <dependency>
1354             <groupId>org.asciidoctor</groupId>
1355             <artifactId>asciidoctorj-pdf</artifactId>
1356             <version>${asciidoctorj.pdf.version}</version>
1357           </dependency>
1358           <dependency>
1359             <groupId>org.jruby</groupId>
1360             <artifactId>jruby-complete</artifactId>
1361             <version>${jruby.version}</version>
1362           </dependency>
1363         </dependencies>
1364         <configuration>
1365           <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1366           <doctype>book</doctype>
1367           <imagesDir>images</imagesDir>
1368           <sourceHighlighter>coderay</sourceHighlighter>
1369           <attributes>
1370             <docVersion>${project.version}</docVersion>
1371           </attributes>
1372         </configuration>
1373         <executions>
1374           <execution>
1375             <id>output-html</id>
1376             <phase>site</phase>
1377             <goals>
1378               <goal>process-asciidoc</goal>
1379             </goals>
1380             <configuration>
1381               <attributes>
1382                 <stylesheet>hbase.css</stylesheet>
1383               </attributes>
1384               <backend>html5</backend>
1385             </configuration>
1386           </execution>
1387           <execution>
1388             <id>output-pdf</id>
1389             <phase>site</phase>
1390             <goals>
1391               <goal>process-asciidoc</goal>
1392             </goals>
1393             <configuration>
1394               <backend>pdf</backend>
1395               <attributes>
1396                 <pagenums/>
1397                 <toc/>
1398                 <idprefix/>
1399                 <idseparator>-</idseparator>
1400               </attributes>
1401             </configuration>
1402           </execution>
1403         </executions>
1404       </plugin>
1405       <plugin>
1406         <groupId>org.apache.maven.plugins</groupId>
1407         <artifactId>maven-resources-plugin</artifactId>
1408         <!--$NO-MVN-MAN-VER$ -->
1409         <inherited>false</inherited>
1410         <executions>
1411           <execution>
1412             <id>copy-htaccess</id>
1413             <goals>
1414               <goal>copy-resources</goal>
1415             </goals>
1416             <phase>site</phase>
1417             <configuration>
1418               <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1419               <resources>
1420                 <resource>
1421                   <directory>${basedir}/src/site/resources/</directory>
1422                   <includes>
1423                     <include>.htaccess</include>
1424                   </includes>
1425                 </resource>
1426               </resources>
1427             </configuration>
1428           </execution>
1429           <!-- needed to make the redirect above work -->
1430           <execution>
1431             <id>copy-empty-book-dir</id>
1432             <goals>
1433               <goal>copy-resources</goal>
1434             </goals>
1435             <phase>site</phase>
1436             <configuration>
1437               <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1438               <resources>
1439                 <resource>
1440                   <directory>${basedir}/src/site/resources/</directory>
1441                   <includes>
1442                     <include>book/**</include>
1443                   </includes>
1444                 </resource>
1445               </resources>
1446             </configuration>
1447           </execution>
1448         </executions>
1449         <configuration>
1450           <escapeString>\</escapeString>
1451         </configuration>
1452       </plugin>
1453       <plugin>
1454         <groupId>org.apache.maven.plugins</groupId>
1455         <artifactId>maven-antrun-plugin</artifactId>
1456         <version>${maven.antrun.version}</version>
1457         <inherited>false</inherited>
1458         <!-- Rename the book.pdf generated by asciidoctor -->
1459         <executions>
1460           <execution>
1461             <id>rename-pdf</id>
1462             <phase>site</phase>
1463             <configuration>
1464               <target name="rename file">
1465                 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1466               </target>
1467             </configuration>
1468             <goals>
1469               <goal>run</goal>
1470             </goals>
1471           </execution>
1472         </executions>
1473       </plugin>
1474       <plugin>
1475         <groupId>org.codehaus.mojo</groupId>
1476         <artifactId>buildnumber-maven-plugin</artifactId>
1477         <executions>
1478           <execution>
1479             <phase>validate</phase>
1480             <goals>
1481               <goal>create-timestamp</goal>
1482             </goals>
1483           </execution>
1484         </executions>
1485         <configuration>
1486           <timestampFormat>yyyy</timestampFormat>
1487           <timestampPropertyName>build.year</timestampPropertyName>
1488         </configuration>
1489       </plugin>
1490       <plugin>
1491         <groupId>org.apache.felix</groupId>
1492         <artifactId>maven-bundle-plugin</artifactId>
1493         <version>${maven.bundle.version}</version>
1494         <inherited>true</inherited>
1495         <extensions>true</extensions>
1496       </plugin>
1497     </plugins>
1498   </build>
1499   <properties>
1500     <!-- override on command line to have generated LICENSE files include
1501          diagnostic info for verifying notice requirements -->
1502     <license.debug.print.included>false</license.debug.print.included>
1503     <!-- When a particular module bundles its depenendencies, should be true -->
1504     <license.bundles.dependencies>false</license.bundles.dependencies>
1505     <!-- modules that include a the logo in their source tree should set true -->
1506     <license.bundles.logo>false</license.bundles.logo>
1507     <!-- modules that include bootstrap in their source tree should set true -->
1508     <license.bundles.bootstrap>false</license.bundles.bootstrap>
1509     <!-- modules that include jquery in their source tree should set true -->
1510     <license.bundles.jquery>false</license.bundles.jquery>
1511     <tar.name>${project.build.finalName}.tar.gz</tar.name>
1512     <maven.build.timestamp.format>
1513       yyyy-MM-dd'T'HH:mm
1514     </maven.build.timestamp.format>
1515     <buildDate>${maven.build.timestamp}</buildDate>
1516     <compileSource>1.8</compileSource>
1517     <!-- Build dependencies -->
1518     <maven.min.version>3.0.4</maven.min.version>
1519     <java.min.version>${compileSource}</java.min.version>
1520     <!-- Dependencies -->
1521     <hadoop-three.version>3.1.2</hadoop-three.version>
1522     <!-- These must be defined here for downstream build tools that don't look at profiles.
1523     -->
1524     <hadoop.version>${hadoop-three.version}</hadoop.version>
1525     <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
1526     <!--This property is for hadoops netty. HBase netty
1527          comes in via hbase-thirdparty hbase-shaded-netty-->
1528     <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
1529     <!-- end HBASE-15925 default hadoop compatibility values -->
1530     <audience-annotations.version>0.5.0</audience-annotations.version>
1531     <avro.version>1.7.7</avro.version>
1532     <caffeine.version>2.8.1</caffeine.version>
1533     <commons-codec.version>1.13</commons-codec.version>
1534     <commons-validator.version>1.6</commons-validator.version>
1535     <!-- pretty outdated -->
1536     <commons-io.version>2.6</commons-io.version>
1537     <commons-lang3.version>3.9</commons-lang3.version>
1538     <commons-math.version>3.6.1</commons-math.version>
1539     <disruptor.version>3.4.2</disruptor.version>
1540     <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1541       especially when writing out 'no column families'. Later httpclients collapse the '//'
1542       into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1543       TestRemoteTable. -->
1544     <httpclient.version>4.5.3</httpclient.version>
1545     <httpcore.version>4.4.13</httpcore.version>
1546     <metrics-core.version>3.2.6</metrics-core.version>
1547     <jackson.version>2.10.1</jackson.version>
1548     <jackson.databind.version>2.10.1</jackson.databind.version>
1549     <jaxb-api.version>2.2.12</jaxb-api.version>
1550     <jetty.version>9.3.28.v20191105</jetty.version>
1551     <servlet.api.version>3.1.0</servlet.api.version>
1552     <wx.rs.api.version>2.0.1</wx.rs.api.version>
1553     <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1554     <jersey.version>2.25.1</jersey.version>
1555     <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1556     <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1557     <jruby.version>9.1.17.0</jruby.version>
1558     <junit.version>4.13</junit.version>
1559     <hamcrest.version>1.3</hamcrest.version>
1560     <htrace.version>4.2.0-incubating</htrace.version>
1561     <log4j.version>1.2.17</log4j.version>
1562     <mockito-core.version>2.28.2</mockito-core.version>
1563     <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1564     <external.protobuf.version>2.5.0</external.protobuf.version>
1565     <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1566     <thrift.path>thrift</thrift.path>
1567     <thrift.version>0.13.0</thrift.version>
1568     <zookeeper.version>3.5.7</zookeeper.version>
1569     <jline.version>2.11</jline.version>
1570     <slf4j.version>1.7.30</slf4j.version>
1571     <clover.version>4.0.3</clover.version>
1572     <jamon-runtime.version>2.4.1</jamon-runtime.version>
1573     <jettison.version>1.3.8</jettison.version>
1574     <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1575     <joni.version>2.1.11</joni.version>
1576     <jcodings.version>1.0.18</jcodings.version>
1577     <spy.version>2.12.2</spy.version>
1578     <bouncycastle.version>1.60</bouncycastle.version>
1579     <kerby.version>1.0.1</kerby.version>
1580     <commons-crypto.version>1.0.0</commons-crypto.version>
1581     <curator.version>4.2.0</curator.version>
1582     <!-- Plugin Dependencies -->
1583     <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1584     <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1585     <build.helper.maven.version>3.0.0</build.helper.maven.version>
1586     <buildnumber.maven.version>1.4</buildnumber.maven.version>
1587     <!--
1588       When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1589     -->
1590     <checkstyle.version>8.28</checkstyle.version>
1591     <exec.maven.version>1.6.0</exec.maven.version>
1592     <error-prone.version>2.3.4</error-prone.version>
1593     <jamon.plugin.version>2.4.2</jamon.plugin.version>
1594     <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1595     <maven.antrun.version>1.8</maven.antrun.version>
1596     <maven.bundle.version>3.3.0</maven.bundle.version>
1597     <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1598     <maven.eclipse.version>2.10</maven.eclipse.version>
1599     <maven.javadoc.version>3.2.0</maven.javadoc.version>
1600     <maven.warbucks.version>1.1.0</maven.warbucks.version>
1601     <maven.project.info.report.version>2.9</maven.project.info.report.version>
1602     <os.maven.version>1.5.0.Final</os.maven.version>
1603     <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1604     <spotbugs.version>3.1.12</spotbugs.version>
1605     <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1606     <surefire.version>3.0.0-M4</surefire.version>
1607     <wagon.ssh.version>2.12</wagon.ssh.version>
1608     <xml.maven.version>1.0.1</xml.maven.version>
1609     <hbase-thirdparty.version>3.3.0</hbase-thirdparty.version>
1610     <!-- Intraproject jar naming properties -->
1611     <!-- TODO this is pretty ugly, but works for the moment.
1612       Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1613     <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1614     <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1615     <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1616     <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1617     <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1618     <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1619     <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1620     <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1621     <shell-executable>bash</shell-executable>
1622     <surefire.provider>surefire-junit47</surefire.provider>
1623     <!-- default: run small & medium, medium with 2 threads -->
1624     <surefire.skipFirstPart>false</surefire.skipFirstPart>
1625     <surefire.skipSecondPart>false</surefire.skipSecondPart>
1626       <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1627         by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1628       value is you want to burn through tests faster (could make for more failures
1629       if more contention around resources). There is a matching MAVEN_ARG
1630       in our yetus personality where we set the maven -T command to 0.25C too.
1631       For example, to run at a rate that is more furious than our 0.25C, do
1632       something like this:
1633          f="0.5C" ;  mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1634     -->
1635     <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1636     <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1637     <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1638     <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1639     <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1640     <test.output.tofile>true</test.output.tofile>
1641     <surefire.timeout>900</surefire.timeout>
1642     <test.exclude.pattern></test.exclude.pattern>
1643     <!--
1644       Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1645       This value is managed separately for jdk11. See below.
1646     -->
1647     <surefire.Xmx>2200m</surefire.Xmx>
1648     <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1649     <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1651       And for netty eventloops that have no explicit configuration, netty sets
1652       nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1653       clusters/tests.
1654      -->
1655     <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1656       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1657       -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1658       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1659       -Dio.netty.eventLoopThreads=3
1660     </hbase-surefire.argLine>
1661     <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1662       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1663       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1664       -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1665     </hbase-surefire.cygwin-argLine>
1666     <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1667     <argLine>${hbase-surefire.argLine}</argLine>
1668     <jacoco.version>0.7.5.201505241946</jacoco.version>
1669     <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1670     <enforcer.version>3.0.0-M2</enforcer.version>
1671     <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1672     <!-- Location of test resources -->
1673     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1674     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1675     <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1676         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1677         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1678     <build.id>${maven.build.timestamp}</build.id>
1679     <shell-executable>bash</shell-executable>
1680     <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1681          property as of javadoc-plugin 3.0.0 -->
1682     <doclint>none</doclint>
1683     <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1684   </properties>
1685   <!-- Sorted by groups of dependencies then groupId and artifactId -->
1686   <dependencyManagement>
1687     <dependencies>
1688       <!--
1689       Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1690           org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1691           the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1692           implementation of the same, because Hadoop also uses this version
1693           javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1694           is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1695         -->
1696       <!-- Intra-module dependencies -->
1697       <dependency>
1698         <groupId>org.apache.hbase</groupId>
1699         <artifactId>hbase-annotations</artifactId>
1700         <version>${project.version}</version>
1701         <type>test-jar</type>
1702         <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1703       </dependency>
1704       <dependency>
1705         <artifactId>hbase-backup</artifactId>
1706         <groupId>org.apache.hbase</groupId>
1707         <version>${project.version}</version>
1708       </dependency>
1709       <dependency>
1710         <groupId>org.apache.hbase</groupId>
1711         <artifactId>hbase-common</artifactId>
1712         <version>${project.version}</version>
1713       </dependency>
1714       <dependency>
1715         <groupId>org.apache.hbase</groupId>
1716         <artifactId>hbase-common</artifactId>
1717         <version>${project.version}</version>
1718         <type>test-jar</type>
1719         <scope>test</scope>
1720       </dependency>
1721       <dependency>
1722         <groupId>org.apache.hbase</groupId>
1723         <artifactId>hbase-logging</artifactId>
1724         <version>${project.version}</version>
1725       </dependency>
1726       <dependency>
1727         <groupId>org.apache.hbase</groupId>
1728         <artifactId>hbase-logging</artifactId>
1729         <version>${project.version}</version>
1730         <type>test-jar</type>
1731         <scope>test</scope>
1732       </dependency>
1733       <dependency>
1734         <groupId>org.apache.hbase</groupId>
1735         <artifactId>hbase-protocol-shaded</artifactId>
1736         <version>${project.version}</version>
1737       </dependency>
1738       <dependency>
1739         <groupId>org.apache.hbase</groupId>
1740         <artifactId>hbase-procedure</artifactId>
1741         <version>${project.version}</version>
1742       </dependency>
1743       <dependency>
1744         <groupId>org.apache.hbase</groupId>
1745         <artifactId>hbase-procedure</artifactId>
1746         <version>${project.version}</version>
1747         <type>test-jar</type>
1748       </dependency>
1749       <dependency>
1750         <groupId>org.apache.hbase</groupId>
1751         <artifactId>hbase-hadoop-compat</artifactId>
1752         <version>${project.version}</version>
1753       </dependency>
1754       <dependency>
1755         <groupId>org.apache.hbase</groupId>
1756         <artifactId>hbase-hadoop-compat</artifactId>
1757         <version>${project.version}</version>
1758         <type>test-jar</type>
1759         <scope>test</scope>
1760       </dependency>
1761       <dependency>
1762         <artifactId>hbase-replication</artifactId>
1763         <groupId>org.apache.hbase</groupId>
1764         <version>${project.version}</version>
1765       </dependency>
1766       <dependency>
1767         <artifactId>hbase-balancer</artifactId>
1768         <groupId>org.apache.hbase</groupId>
1769         <version>${project.version}</version>
1770       </dependency>
1771       <dependency>
1772         <artifactId>hbase-http</artifactId>
1773         <groupId>org.apache.hbase</groupId>
1774         <version>${project.version}</version>
1775       </dependency>
1776       <dependency>
1777         <artifactId>hbase-http</artifactId>
1778         <groupId>org.apache.hbase</groupId>
1779         <version>${project.version}</version>
1780         <type>test-jar</type>
1781         <scope>test</scope>
1782       </dependency>
1783       <dependency>
1784         <artifactId>hbase-server</artifactId>
1785         <groupId>org.apache.hbase</groupId>
1786         <version>${project.version}</version>
1787       </dependency>
1788       <dependency>
1789         <artifactId>hbase-server</artifactId>
1790         <groupId>org.apache.hbase</groupId>
1791         <version>${project.version}</version>
1792         <type>test-jar</type>
1793         <scope>test</scope>
1794       </dependency>
1795       <dependency>
1796         <artifactId>hbase-mapreduce</artifactId>
1797         <groupId>org.apache.hbase</groupId>
1798         <version>${project.version}</version>
1799       </dependency>
1800       <dependency>
1801         <artifactId>hbase-mapreduce</artifactId>
1802         <groupId>org.apache.hbase</groupId>
1803         <version>${project.version}</version>
1804         <type>test-jar</type>
1805         <scope>test</scope>
1806       </dependency>
1807       <dependency>
1808         <artifactId>hbase-endpoint</artifactId>
1809         <groupId>org.apache.hbase</groupId>
1810         <version>${project.version}</version>
1811       </dependency>
1812       <dependency>
1813         <artifactId>hbase-shell</artifactId>
1814         <groupId>org.apache.hbase</groupId>
1815         <version>${project.version}</version>
1816       </dependency>
1817       <dependency>
1818         <artifactId>hbase-shell</artifactId>
1819         <groupId>org.apache.hbase</groupId>
1820         <version>${project.version}</version>
1821         <type>test-jar</type>
1822         <scope>test</scope>
1823       </dependency>
1824       <dependency>
1825         <artifactId>hbase-thrift</artifactId>
1826         <groupId>org.apache.hbase</groupId>
1827         <version>${project.version}</version>
1828       </dependency>
1829       <dependency>
1830         <artifactId>hbase-thrift</artifactId>
1831         <groupId>org.apache.hbase</groupId>
1832         <version>${project.version}</version>
1833         <type>test-jar</type>
1834         <scope>test</scope>
1835       </dependency>
1836       <dependency>
1837         <groupId>org.apache.hbase</groupId>
1838         <artifactId>hbase-testing-util</artifactId>
1839         <version>${project.version}</version>
1840         <scope>test</scope>
1841       </dependency>
1842       <dependency>
1843         <artifactId>hbase-examples</artifactId>
1844         <groupId>org.apache.hbase</groupId>
1845         <version>${project.version}</version>
1846       </dependency>
1847       <dependency>
1848         <groupId>org.apache.hbase</groupId>
1849         <artifactId>hbase-external-blockcache</artifactId>
1850         <version>${project.version}</version>
1851       </dependency>
1852       <dependency>
1853         <artifactId>hbase-it</artifactId>
1854         <groupId>org.apache.hbase</groupId>
1855         <version>${project.version}</version>
1856         <type>test-jar</type>
1857         <scope>test</scope>
1858       </dependency>
1859       <dependency>
1860         <artifactId>hbase-client</artifactId>
1861         <groupId>org.apache.hbase</groupId>
1862         <version>${project.version}</version>
1863       </dependency>
1864       <dependency>
1865         <artifactId>hbase-metrics-api</artifactId>
1866         <groupId>org.apache.hbase</groupId>
1867         <version>${project.version}</version>
1868       </dependency>
1869       <dependency>
1870         <artifactId>hbase-metrics-api</artifactId>
1871         <groupId>org.apache.hbase</groupId>
1872         <version>${project.version}</version>
1873         <type>test-jar</type>
1874         <scope>test</scope>
1875       </dependency>
1876       <dependency>
1877         <artifactId>hbase-metrics</artifactId>
1878         <groupId>org.apache.hbase</groupId>
1879         <version>${project.version}</version>
1880       </dependency>
1881       <dependency>
1882         <artifactId>hbase-metrics</artifactId>
1883         <groupId>org.apache.hbase</groupId>
1884         <version>${project.version}</version>
1885         <type>test-jar</type>
1886         <scope>test</scope>
1887       </dependency>
1888       <dependency>
1889         <artifactId>hbase-rest</artifactId>
1890         <groupId>org.apache.hbase</groupId>
1891         <version>${project.version}</version>
1892       </dependency>
1893       <dependency>
1894         <artifactId>hbase-resource-bundle</artifactId>
1895         <groupId>org.apache.hbase</groupId>
1896         <version>${project.version}</version>
1897       </dependency>
1898       <dependency>
1899         <artifactId>hbase-zookeeper</artifactId>
1900         <groupId>org.apache.hbase</groupId>
1901         <version>${project.version}</version>
1902         <exclusions>
1903           <exclusion>
1904             <groupId>com.google.code.findbugs</groupId>
1905             <artifactId>jsr305</artifactId>
1906           </exclusion>
1907           <exclusion>
1908             <groupId>com.github.spotbugs</groupId>
1909             <artifactId>spotbugs-annotations</artifactId>
1910           </exclusion>
1911         </exclusions>
1912       </dependency>
1913       <dependency>
1914         <artifactId>hbase-zookeeper</artifactId>
1915         <groupId>org.apache.hbase</groupId>
1916         <version>${project.version}</version>
1917         <type>test-jar</type>
1918         <scope>test</scope>
1919       </dependency>
1920       <dependency>
1921         <artifactId>hbase-hbtop</artifactId>
1922         <groupId>org.apache.hbase</groupId>
1923         <version>${project.version}</version>
1924       </dependency>
1925       <dependency>
1926         <groupId>org.apache.hbase</groupId>
1927         <artifactId>hbase-shaded-client</artifactId>
1928         <version>${project.version}</version>
1929       </dependency>
1930       <dependency>
1931         <groupId>org.apache.hbase</groupId>
1932         <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1933         <version>${project.version}</version>
1934       </dependency>
1935       <dependency>
1936         <groupId>org.apache.hbase</groupId>
1937         <artifactId>hbase-shaded-mapreduce</artifactId>
1938         <version>${project.version}</version>
1939       </dependency>
1940       <dependency>
1941         <groupId>org.apache.hbase</groupId>
1942         <artifactId>hbase-asyncfs</artifactId>
1943         <version>${project.version}</version>
1944       </dependency>
1945       <dependency>
1946         <groupId>org.apache.hbase</groupId>
1947         <artifactId>hbase-asyncfs</artifactId>
1948         <version>${project.version}</version>
1949         <type>test-jar</type>
1950         <scope>test</scope>
1951       </dependency>
1952       <!-- General dependencies -->
1953       <dependency>
1954         <groupId>com.github.stephenc.findbugs</groupId>
1955         <artifactId>findbugs-annotations</artifactId>
1956         <version>${findbugs-annotations.version}</version>
1957       </dependency>
1958       <!--
1959         Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1960         modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1961         and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1962         log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1963         scope as it will mess up the logging framework for downstream users.
1964         Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1965         on use these logging framework so we need to redirect their log message to slf4j, and then
1966         redirect the log message to our log4j framework.
1967       -->
1968       <dependency>
1969         <groupId>org.codehaus.jettison</groupId>
1970         <artifactId>jettison</artifactId>
1971         <version>${jettison.version}</version>
1972       </dependency>
1973       <dependency>
1974         <groupId>org.slf4j</groupId>
1975         <artifactId>slf4j-api</artifactId>
1976         <version>${slf4j.version}</version>
1977       </dependency>
1978       <dependency>
1979         <groupId>org.slf4j</groupId>
1980         <artifactId>slf4j-log4j12</artifactId>
1981         <version>${slf4j.version}</version>
1982       </dependency>
1983       <dependency>
1984         <groupId>org.slf4j</groupId>
1985         <artifactId>jcl-over-slf4j</artifactId>
1986         <version>${slf4j.version}</version>
1987       </dependency>
1988       <dependency>
1989         <groupId>org.slf4j</groupId>
1990         <artifactId>jul-to-slf4j</artifactId>
1991         <version>${slf4j.version}</version>
1992       </dependency>
1993       <dependency>
1994         <groupId>log4j</groupId>
1995         <artifactId>log4j</artifactId>
1996         <version>${log4j.version}</version>
1997       </dependency>
1998       <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1999       <dependency>
2000         <groupId>org.apache.avro</groupId>
2001         <artifactId>avro</artifactId>
2002         <version>${avro.version}</version>
2003       </dependency>
2004       <!--This is not used by hbase directly.  Used by thrift,
2005           dropwizard and zk.-->
2006       <dependency>
2007         <groupId>com.github.ben-manes.caffeine</groupId>
2008         <artifactId>caffeine</artifactId>
2009         <version>${caffeine.version}</version>
2010       </dependency>
2011       <dependency>
2012         <groupId>io.dropwizard.metrics</groupId>
2013         <artifactId>metrics-core</artifactId>
2014         <version>${metrics-core.version}</version>
2015       </dependency>
2016       <dependency>
2017         <groupId>org.apache.httpcomponents</groupId>
2018         <artifactId>httpclient</artifactId>
2019         <version>${httpclient.version}</version>
2020       </dependency>
2021       <dependency>
2022         <groupId>org.apache.httpcomponents</groupId>
2023         <artifactId>httpcore</artifactId>
2024         <version>${httpcore.version}</version>
2025       </dependency>
2026       <dependency>
2027         <groupId>commons-codec</groupId>
2028         <artifactId>commons-codec</artifactId>
2029         <version>${commons-codec.version}</version>
2030       </dependency>
2031       <dependency>
2032         <groupId>commons-validator</groupId>
2033         <artifactId>commons-validator</artifactId>
2034         <version>${commons-validator.version}</version>
2035       </dependency>
2036       <dependency>
2037         <groupId>commons-io</groupId>
2038         <artifactId>commons-io</artifactId>
2039         <version>${commons-io.version}</version>
2040       </dependency>
2041       <dependency>
2042         <groupId>org.apache.commons</groupId>
2043         <artifactId>commons-lang3</artifactId>
2044         <version>${commons-lang3.version}</version>
2045       </dependency>
2046       <dependency>
2047         <groupId>org.apache.commons</groupId>
2048         <artifactId>commons-math3</artifactId>
2049         <version>${commons-math.version}</version>
2050       </dependency>
2051       <dependency>
2052         <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2053              HBaseTestingUtil.
2054           -->
2055         <groupId>commons-logging</groupId>
2056         <artifactId>commons-logging</artifactId>
2057         <version>1.2</version>
2058       </dependency>
2059       <dependency>
2060         <groupId>org.apache.zookeeper</groupId>
2061         <artifactId>zookeeper</artifactId>
2062         <version>${zookeeper.version}</version>
2063         <exclusions>
2064           <exclusion>
2065             <groupId>com.google.code.findbugs</groupId>
2066             <artifactId>jsr305</artifactId>
2067           </exclusion>
2068           <exclusion>
2069             <groupId>com.github.spotbugs</groupId>
2070             <artifactId>spotbugs-annotations</artifactId>
2071           </exclusion>
2072           <exclusion>
2073             <groupId>jline</groupId>
2074             <artifactId>jline</artifactId>
2075           </exclusion>
2076           <exclusion>
2077             <groupId>com.sun.jmx</groupId>
2078             <artifactId>jmxri</artifactId>
2079           </exclusion>
2080           <exclusion>
2081             <groupId>com.sun.jdmk</groupId>
2082             <artifactId>jmxtools</artifactId>
2083           </exclusion>
2084           <exclusion>
2085             <groupId>javax.jms</groupId>
2086             <artifactId>jms</artifactId>
2087           </exclusion>
2088           <exclusion>
2089             <groupId>io.netty</groupId>
2090             <artifactId>netty</artifactId>
2091           </exclusion>
2092           <exclusion>
2093             <groupId>org.slf4j</groupId>
2094             <artifactId>slf4j-log4j12</artifactId>
2095           </exclusion>
2096           <exclusion>
2097             <groupId>log4j</groupId>
2098             <artifactId>log4j</artifactId>
2099           </exclusion>
2100         </exclusions>
2101       </dependency>
2102       <dependency>
2103         <groupId>jline</groupId>
2104         <artifactId>jline</artifactId>
2105         <version>${jline.version}</version>
2106       </dependency>
2107       <dependency>
2108         <groupId>org.apache.thrift</groupId>
2109         <artifactId>libthrift</artifactId>
2110         <version>${thrift.version}</version>
2111         <exclusions>
2112           <exclusion>
2113             <groupId>org.slf4j</groupId>
2114             <artifactId>slf4j-simple</artifactId>
2115           </exclusion>
2116         </exclusions>
2117       </dependency>
2118       <dependency>
2119         <groupId>org.jruby</groupId>
2120         <artifactId>jruby-complete</artifactId>
2121         <version>${jruby.version}</version>
2122       </dependency>
2123       <dependency>
2124         <groupId>org.jruby.jcodings</groupId>
2125         <artifactId>jcodings</artifactId>
2126         <version>${jcodings.version}</version>
2127       </dependency>
2128       <dependency>
2129         <groupId>org.jruby.joni</groupId>
2130         <artifactId>joni</artifactId>
2131         <version>${joni.version}</version>
2132       </dependency>
2133       <dependency>
2134         <groupId>com.fasterxml.jackson.jaxrs</groupId>
2135         <artifactId>jackson-jaxrs-json-provider</artifactId>
2136         <version>${jackson.version}</version>
2137       </dependency>
2138       <dependency>
2139         <groupId>com.fasterxml.jackson.core</groupId>
2140         <artifactId>jackson-annotations</artifactId>
2141         <version>${jackson.version}</version>
2142       </dependency>
2143       <dependency>
2144         <groupId>com.fasterxml.jackson.core</groupId>
2145         <artifactId>jackson-core</artifactId>
2146         <version>${jackson.version}</version>
2147       </dependency>
2148       <dependency>
2149         <groupId>com.fasterxml.jackson.core</groupId>
2150         <artifactId>jackson-databind</artifactId>
2151         <version>${jackson.databind.version}</version>
2152       </dependency>
2153       <dependency>
2154         <groupId>org.jamon</groupId>
2155         <artifactId>jamon-runtime</artifactId>
2156         <version>${jamon-runtime.version}</version>
2157       </dependency>
2158       <!-- REST dependencies -->
2159       <dependency>
2160         <groupId>javax.servlet</groupId>
2161         <artifactId>javax.servlet-api</artifactId>
2162         <version>${servlet.api.version}</version>
2163       </dependency>
2164       <dependency>
2165         <groupId>javax.ws.rs</groupId>
2166         <artifactId>javax.ws.rs-api</artifactId>
2167         <version>${wx.rs.api.version}</version>
2168       </dependency>
2169       <dependency>
2170         <groupId>com.sun.activation</groupId>
2171         <artifactId>javax.activation</artifactId>
2172         <version>1.2.0</version>
2173       </dependency>
2174       <dependency>
2175         <groupId>javax.annotation</groupId>
2176         <artifactId>javax.annotation-api</artifactId>
2177         <version>1.2</version>
2178       </dependency>
2179       <dependency>
2180         <groupId>org.eclipse.jetty</groupId>
2181         <artifactId>jetty-server</artifactId>
2182         <version>${jetty.version}</version>
2183       </dependency>
2184       <dependency>
2185         <groupId>org.eclipse.jetty</groupId>
2186         <artifactId>jetty-servlet</artifactId>
2187         <version>${jetty.version}</version>
2188         <exclusions>
2189           <exclusion>
2190             <groupId>org.eclipse.jetty</groupId>
2191             <artifactId>servlet-api</artifactId>
2192           </exclusion>
2193         </exclusions>
2194       </dependency>
2195       <dependency>
2196         <groupId>org.eclipse.jetty</groupId>
2197         <artifactId>jetty-security</artifactId>
2198         <version>${jetty.version}</version>
2199       </dependency>
2200       <dependency>
2201         <groupId>org.eclipse.jetty</groupId>
2202         <artifactId>jetty-http</artifactId>
2203         <version>${jetty.version}</version>
2204       </dependency>
2205       <dependency>
2206         <groupId>org.eclipse.jetty</groupId>
2207         <artifactId>jetty-util</artifactId>
2208         <version>${jetty.version}</version>
2209       </dependency>
2210       <dependency>
2211         <groupId>org.eclipse.jetty</groupId>
2212         <artifactId>jetty-io</artifactId>
2213         <version>${jetty.version}</version>
2214       </dependency>
2215       <dependency>
2216         <groupId>org.eclipse.jetty</groupId>
2217         <artifactId>jetty-jmx</artifactId>
2218         <version>${jetty.version}</version>
2219       </dependency>
2220       <dependency>
2221         <groupId>org.eclipse.jetty</groupId>
2222         <artifactId>jetty-webapp</artifactId>
2223         <version>${jetty.version}</version>
2224       </dependency>
2225       <dependency>
2226         <groupId>org.eclipse.jetty</groupId>
2227         <artifactId>jetty-util-ajax</artifactId>
2228         <version>${jetty.version}</version>
2229       </dependency>
2230       <dependency>
2231         <groupId>com.google.protobuf</groupId>
2232         <artifactId>protobuf-java</artifactId>
2233         <version>${external.protobuf.version}</version>
2234       </dependency>
2235       <dependency>
2236         <groupId>org.glassfish.jersey.containers</groupId>
2237         <artifactId>jersey-container-servlet-core</artifactId>
2238         <version>${jersey.version}</version>
2239       </dependency>
2240       <dependency>
2241         <groupId>org.glassfish.jersey.core</groupId>
2242         <artifactId>jersey-client</artifactId>
2243         <version>${jersey.version}</version>
2244       </dependency>
2245       <dependency>
2246         <groupId>org.glassfish.jersey.core</groupId>
2247         <artifactId>jersey-server</artifactId>
2248         <version>${jersey.version}</version>
2249       </dependency>
2250       <dependency>
2251         <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2252         <groupId>org.glassfish.web</groupId>
2253         <artifactId>javax.servlet.jsp</artifactId>
2254         <version>${glassfish.jsp.version}</version>
2255       </dependency>
2256       <dependency>
2257         <!-- this lib is used by the compiled Jsp from the above JspC -->
2258         <groupId>javax.servlet.jsp</groupId>
2259         <artifactId>javax.servlet.jsp-api</artifactId>
2260         <version>2.3.1</version>
2261       </dependency>
2262       <dependency>
2263         <groupId>org.glassfish</groupId>
2264         <artifactId>javax.el</artifactId>
2265         <version>${glassfish.el.version}</version>
2266       </dependency>
2267       <dependency>
2268         <groupId>javax.xml.bind</groupId>
2269         <artifactId>jaxb-api</artifactId>
2270         <version>${jaxb-api.version}</version>
2271         <exclusions>
2272           <exclusion>
2273             <groupId>javax.xml.stream</groupId>
2274             <artifactId>stax-api</artifactId>
2275           </exclusion>
2276         </exclusions>
2277       </dependency>
2278       <dependency>
2279         <groupId>junit</groupId>
2280         <artifactId>junit</artifactId>
2281         <version>${junit.version}</version>
2282       </dependency>
2283       <dependency>
2284         <groupId>org.hamcrest</groupId>
2285         <artifactId>hamcrest-core</artifactId>
2286         <version>${hamcrest.version}</version>
2287         <scope>test</scope>
2288       </dependency>
2289       <dependency>
2290         <groupId>org.hamcrest</groupId>
2291         <artifactId>hamcrest-library</artifactId>
2292         <version>${hamcrest.version}</version>
2293         <scope>test</scope>
2294       </dependency>
2295       <dependency>
2296         <groupId>org.mockito</groupId>
2297         <artifactId>mockito-core</artifactId>
2298         <version>${mockito-core.version}</version>
2299         <scope>test</scope>
2300       </dependency>
2301       <dependency>
2302         <groupId>org.apache.htrace</groupId>
2303         <artifactId>htrace-core4</artifactId>
2304         <version>${htrace.version}</version>
2305       </dependency>
2306       <dependency>
2307         <groupId>com.lmax</groupId>
2308         <artifactId>disruptor</artifactId>
2309         <version>${disruptor.version}</version>
2310       </dependency>
2311       <dependency>
2312         <groupId>net.spy</groupId>
2313         <artifactId>spymemcached</artifactId>
2314         <version>${spy.version}</version>
2315         <optional>true</optional>
2316       </dependency>
2317       <dependency>
2318         <groupId>org.bouncycastle</groupId>
2319         <artifactId>bcprov-jdk15on</artifactId>
2320         <version>${bouncycastle.version}</version>
2321         <scope>test</scope>
2322       </dependency>
2323       <dependency>
2324         <groupId>org.apache.kerby</groupId>
2325         <artifactId>kerb-core</artifactId>
2326         <version>${kerby.version}</version>
2327       </dependency>
2328       <dependency>
2329         <groupId>org.apache.kerby</groupId>
2330         <artifactId>kerb-client</artifactId>
2331         <version>${kerby.version}</version>
2332       </dependency>
2333       <dependency>
2334         <groupId>org.apache.kerby</groupId>
2335         <artifactId>kerb-simplekdc</artifactId>
2336         <version>${kerby.version}</version>
2337       </dependency>
2338       <dependency>
2339         <groupId>org.apache.commons</groupId>
2340         <artifactId>commons-crypto</artifactId>
2341         <version>${commons-crypto.version}</version>
2342         <exclusions>
2343           <exclusion>
2344             <groupId>net.java.dev.jna</groupId>
2345             <artifactId>jna</artifactId>
2346           </exclusion>
2347         </exclusions>
2348       </dependency>
2349       <dependency>
2350         <groupId>org.apache.curator</groupId>
2351         <artifactId>curator-framework</artifactId>
2352         <version>${curator.version}</version>
2353         <exclusions>
2354           <exclusion>
2355             <groupId>org.apache.zookeeper</groupId>
2356             <artifactId>zookeeper</artifactId>
2357           </exclusion>
2358         </exclusions>
2359       </dependency>
2360       <dependency>
2361         <groupId>org.apache.curator</groupId>
2362         <artifactId>curator-client</artifactId>
2363         <version>${curator.version}</version>
2364         <exclusions>
2365           <exclusion>
2366             <groupId>com.google.guava</groupId>
2367             <artifactId>guava</artifactId>
2368           </exclusion>
2369           <exclusion>
2370             <groupId>org.apache.zookeeper</groupId>
2371             <artifactId>zookeeper</artifactId>
2372           </exclusion>
2373         </exclusions>
2374       </dependency>
2375       <dependency>
2376         <groupId>org.apache.curator</groupId>
2377         <artifactId>curator-recipes</artifactId>
2378         <version>${curator.version}</version>
2379         <exclusions>
2380           <exclusion>
2381             <groupId>com.google.guava</groupId>
2382             <artifactId>guava</artifactId>
2383           </exclusion>
2384           <exclusion>
2385             <groupId>org.apache.zookeeper</groupId>
2386             <artifactId>zookeeper</artifactId>
2387           </exclusion>
2388         </exclusions>
2389       </dependency>
2390       <dependency>
2391         <groupId>org.apache.yetus</groupId>
2392         <artifactId>audience-annotations</artifactId>
2393         <version>${audience-annotations.version}</version>
2394       </dependency>
2395       <dependency>
2396         <groupId>org.apache.hbase.thirdparty</groupId>
2397         <artifactId>hbase-shaded-gson</artifactId>
2398         <version>${hbase-thirdparty.version}</version>
2399       </dependency>
2400       <dependency>
2401         <groupId>org.apache.hbase.thirdparty</groupId>
2402         <artifactId>hbase-shaded-miscellaneous</artifactId>
2403         <version>${hbase-thirdparty.version}</version>
2404       </dependency>
2405       <dependency>
2406         <groupId>org.apache.hbase.thirdparty</groupId>
2407         <artifactId>hbase-shaded-netty</artifactId>
2408         <version>${hbase-thirdparty.version}</version>
2409       </dependency>
2410       <dependency>
2411         <groupId>org.apache.hbase.thirdparty</groupId>
2412         <artifactId>hbase-shaded-protobuf</artifactId>
2413         <version>${hbase-thirdparty.version}</version>
2414       </dependency>
2415       <dependency>
2416         <groupId>com.sun.xml.ws</groupId>
2417           <artifactId>jaxws-ri</artifactId>
2418         <version>2.3.2</version>
2419         <type>pom</type>
2420         <exclusions>
2421           <exclusion>
2422             <groupId>javax.activation</groupId>
2423             <artifactId>javax.activation-api</artifactId>
2424           </exclusion>
2425         </exclusions>
2426       </dependency>
2427     </dependencies>
2428   </dependencyManagement>
2429   <dependencies>
2430     <!--REMOVE THIS. HERE TEMPORARILY.
2431          Implication is that every module needs junit which is not so.
2432          Cannot undo though because build runs test on each module and
2433          it fails if no junit. TODO. -->
2434     <dependency>
2435       <groupId>junit</groupId>
2436       <artifactId>junit</artifactId>
2437       <scope>test</scope>
2438     </dependency>
2439   </dependencies>
2441   <!--
2442   To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2444  <settings>
2445   <servers>
2446     <server>
2447       <id>apache.releases.https</id>
2448       <username>hbase_committer</username>
2449       <password>********</password>
2450     </server>
2452     <server>
2453       <id>apache.snapshots.https</id>
2454       <username>hbase_committer</username>
2455       <password>********</password>
2456     </server>
2458   </servers>
2459  </settings>
2461   $ mvn deploy
2462 (or)
2463   $ mvn -s /my/path/settings.xml deploy
2465   -->
2466   <profiles>
2467     <profile>
2468       <id>build-with-jdk8</id>
2469       <activation>
2470         <jdk>[1.8,)</jdk>
2471       </activation>
2472       <build>
2473         <pluginManagement>
2474           <plugins>
2475           </plugins>
2476         </pluginManagement>
2477       </build>
2478     </profile>
2479     <profile>
2480       <id>build-with-jdk11</id>
2481       <activation>
2482         <jdk>[1.11,)</jdk>
2483       </activation>
2484       <properties>
2485         <!-- TODO: replicate logic for windows support -->
2486         <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2487         <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2488         <hadoop-three.version>3.2.0</hadoop-three.version>
2489         <!--
2490           Value to use for surefire when running jdk11.
2491           TODO: replicate logic for windows
2492         -->
2493         <surefire.Xmx>2200m</surefire.Xmx>
2494       </properties>
2495     </profile>
2496     <!-- profile activated by the Jenkins patch testing job -->
2497     <profile>
2498       <id>jenkins.patch</id>
2499       <activation>
2500         <activeByDefault>false</activeByDefault>
2501         <property>
2502             <name>HBasePatchProcess</name>
2503         </property>
2504       </activation>
2505       <properties>
2506         <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2507       </properties>
2508       <build>
2509         <plugins>
2510           <plugin>
2511             <groupId>org.apache.maven.plugins</groupId>
2512             <artifactId>maven-antrun-plugin</artifactId>
2513             <inherited>false</inherited>
2514             <executions>
2515               <execution>
2516                 <phase>validate</phase>
2517                 <goals>
2518                   <goal>run</goal>
2519                 </goals>
2520                 <configuration>
2521                   <tasks>
2522                     <echo>Maven Execution Environment</echo>
2523                     <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2524                   </tasks>
2525                 </configuration>
2526               </execution>
2527             </executions>
2528           </plugin>
2529         </plugins>
2530       </build>
2531     </profile>
2532     <profile>
2533       <id>jacoco</id>
2534       <activation>
2535         <activeByDefault>false</activeByDefault>
2536       </activation>
2537       <build>
2538         <plugins>
2539           <plugin>
2540             <groupId>org.jacoco</groupId>
2541             <artifactId>jacoco-maven-plugin</artifactId>
2542             <version>${jacoco.version}</version>
2543             <executions>
2544               <execution>
2545                 <id>prepare-agent</id>
2546                 <goals>
2547                   <goal>prepare-agent</goal>
2548                 </goals>
2549               </execution>
2550               <execution>
2551                 <id>report</id>
2552                 <phase>prepare-package</phase>
2553                 <goals>
2554                   <goal>report</goal>
2555                 </goals>
2556               </execution>
2557             </executions>
2558             <configuration>
2559               <systemPropertyVariables>
2560                 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2561               </systemPropertyVariables>
2562               <excludes>
2563                 <exclude>**/generated/**/*.class</exclude>
2564               </excludes>
2565             </configuration>
2566           </plugin>
2567         </plugins>
2568       </build>
2569     </profile>
2570     <profile>
2571       <id>os.linux</id>
2572       <activation>
2573         <activeByDefault>false</activeByDefault>
2574         <os>
2575           <family>Linux</family>
2576         </os>
2577       </activation>
2578       <properties>
2579         <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2580       </properties>
2581     </profile>
2582     <profile>
2583       <id>os.mac</id>
2584       <activation>
2585         <os>
2586           <family>Mac</family>
2587         </os>
2588       </activation>
2589       <properties>
2590         <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2591       </properties>
2592     </profile>
2593     <profile>
2594       <id>os.windows</id>
2595       <activation>
2596         <os>
2597           <family>Windows</family>
2598         </os>
2599       </activation>
2600       <properties>
2601         <build.platform>cygwin</build.platform>
2602         <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2603       </properties>
2604     </profile>
2605     <!-- this profile should match the name of the release profile in the root asf pom -->
2606     <profile>
2607       <id>apache-release</id>
2608       <build>
2609         <plugins>
2610           <!-- This should insert itself in place of the normal deploy plugin and then
2611                handle either closing or dropping the staging repository for us depending
2612                on if the build succeeds.
2613             -->
2614           <plugin>
2615             <groupId>org.sonatype.plugins</groupId>
2616             <artifactId>nexus-staging-maven-plugin</artifactId>
2617             <version>1.6.8</version>
2618             <extensions>true</extensions>
2619             <configuration>
2620               <nexusUrl>https://repository.apache.org/</nexusUrl>
2621               <serverId>apache.releases.https</serverId>
2622             </configuration>
2623           </plugin>
2624         </plugins>
2625       </build>
2626     </profile>
2627     <!-- this profile should be activated for release builds -->
2628     <profile>
2629       <id>release</id>
2630       <build>
2631         <plugins>
2632           <plugin>
2633             <groupId>org.apache.rat</groupId>
2634             <artifactId>apache-rat-plugin</artifactId>
2635             <executions>
2636               <execution>
2637                 <phase>package</phase>
2638                 <goals>
2639                   <goal>check</goal>
2640                 </goals>
2641               </execution>
2642             </executions>
2643           </plugin>
2644           <plugin>
2645             <groupId>org.apache.maven.plugins</groupId>
2646             <artifactId>maven-enforcer-plugin</artifactId>
2647             <version>${enforcer.version}</version>
2648             <dependencies>
2649               <dependency>
2650                 <groupId>org.codehaus.mojo</groupId>
2651                 <artifactId>extra-enforcer-rules</artifactId>
2652                 <version>${extra.enforcer.version}</version>
2653               </dependency>
2654             </dependencies>
2655             <configuration>
2656               <rules>
2657                 <enforceBytecodeVersion>
2658                 <maxJdkVersion>${compileSource}</maxJdkVersion>
2659                 <message>HBase has unsupported dependencies.
2660   HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2661   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
2662   either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2663   Non-release builds can temporarily build with a newer JDK version by setting the
2664   'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2665                 </message>
2666                 <ignoreClasses>
2667                   <ignoreClass>module-info</ignoreClass>
2668                 </ignoreClasses>
2669               </enforceBytecodeVersion>
2670             </rules>
2671           </configuration>
2672           </plugin>
2673         </plugins>
2674       </build>
2675     </profile>
2676     <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2677     <!-- Submodules that need hadoop dependencies should declare
2678          profiles with activation properties matching the profile here.
2679          Generally, it should be sufficient to copy the first
2680          few lines of the profile you want to match. -->
2681     <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2682     <profile>
2683       <id>hadoop-3.0</id>
2684       <activation>
2685         <property><name>!hadoop.profile</name></property>
2686       </activation>
2687       <properties>
2688         <hadoop.version>${hadoop-three.version}</hadoop.version>
2689         <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2690       </properties>
2691      <dependencyManagement>
2692        <dependencies>
2693          <dependency>
2694            <groupId>org.apache.hadoop</groupId>
2695            <artifactId>hadoop-mapreduce-client-core</artifactId>
2696            <version>${hadoop-three.version}</version>
2697            <exclusions>
2698              <exclusion>
2699                <groupId>com.sun.jersey</groupId>
2700                <artifactId>jersey-core</artifactId>
2701              </exclusion>
2702              <exclusion>
2703                <groupId>org.codehaus.jackson</groupId>
2704                <artifactId>jackson-jaxrs</artifactId>
2705              </exclusion>
2706              <exclusion>
2707                <groupId>org.codehaus.jackson</groupId>
2708                <artifactId>jackson-xc</artifactId>
2709              </exclusion>
2710              <exclusion>
2711                <groupId>io.netty</groupId>
2712                <artifactId>netty</artifactId>
2713              </exclusion>
2714               <exclusion>
2715                 <groupId>javax.servlet</groupId>
2716                 <artifactId>servlet-api</artifactId>
2717               </exclusion>
2718               <exclusion>
2719                 <groupId>javax.inject</groupId>
2720                 <artifactId>javax.inject</artifactId>
2721               </exclusion>
2722               <exclusion>
2723                 <groupId>org.codehaus.jackson</groupId>
2724                 <artifactId>jackson-core-asl</artifactId>
2725               </exclusion>
2726               <exclusion>
2727                 <groupId>org.codehaus.jackson</groupId>
2728                 <artifactId>jackson-mapper-asl</artifactId>
2729               </exclusion>
2730               <exclusion>
2731                 <groupId>com.google.guava</groupId>
2732                 <artifactId>guava</artifactId>
2733               </exclusion>
2734               <exclusion>
2735                 <groupId>org.slf4j</groupId>
2736                 <artifactId>slf4j-log4j12</artifactId>
2737               </exclusion>
2738               <exclusion>
2739                 <groupId>log4j</groupId>
2740                 <artifactId>log4j</artifactId>
2741               </exclusion>
2742            </exclusions>
2743          </dependency>
2744          <dependency>
2745            <groupId>org.apache.hadoop</groupId>
2746            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2747            <version>${hadoop-three.version}</version>
2748            <exclusions>
2749              <exclusion>
2750                <groupId>com.sun.jersey</groupId>
2751                <artifactId>jersey-core</artifactId>
2752              </exclusion>
2753              <exclusion>
2754                <groupId>io.netty</groupId>
2755                <artifactId>netty</artifactId>
2756              </exclusion>
2757               <exclusion>
2758                 <groupId>javax.servlet</groupId>
2759                 <artifactId>servlet-api</artifactId>
2760               </exclusion>
2761              <exclusion>
2762                <groupId>org.slf4j</groupId>
2763                <artifactId>slf4j-log4j12</artifactId>
2764              </exclusion>
2765              <exclusion>
2766                <groupId>log4j</groupId>
2767                <artifactId>log4j</artifactId>
2768              </exclusion>
2769            </exclusions>
2770          </dependency>
2771          <dependency>
2772            <groupId>org.apache.hadoop</groupId>
2773            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2774            <version>${hadoop-three.version}</version>
2775            <type>test-jar</type>
2776            <scope>test</scope>
2777            <exclusions>
2778              <exclusion>
2779                <groupId>com.sun.jersey</groupId>
2780                <artifactId>jersey-core</artifactId>
2781              </exclusion>
2782              <exclusion>
2783                <groupId>io.netty</groupId>
2784                <artifactId>netty</artifactId>
2785              </exclusion>
2786               <exclusion>
2787                 <groupId>javax.servlet</groupId>
2788                 <artifactId>servlet-api</artifactId>
2789               </exclusion>
2790               <exclusion>
2791                 <groupId>org.slf4j</groupId>
2792                 <artifactId>slf4j-log4j12</artifactId>
2793               </exclusion>
2794               <exclusion>
2795                 <groupId>log4j</groupId>
2796                 <artifactId>log4j</artifactId>
2797               </exclusion>
2798            </exclusions>
2799          </dependency>
2800          <dependency>
2801            <groupId>org.apache.hadoop</groupId>
2802            <artifactId>hadoop-hdfs</artifactId>
2803            <version>${hadoop-three.version}</version>
2804            <exclusions>
2805              <exclusion>
2806                <groupId>com.sun.jersey</groupId>
2807                <artifactId>jersey-core</artifactId>
2808              </exclusion>
2809              <exclusion>
2810                <groupId>com.sun.jersey</groupId>
2811                <artifactId>jersey-server</artifactId>
2812              </exclusion>
2813              <exclusion>
2814                <groupId>javax.servlet.jsp</groupId>
2815                <artifactId>jsp-api</artifactId>
2816              </exclusion>
2817              <exclusion>
2818                <groupId>javax.servlet</groupId>
2819                <artifactId>servlet-api</artifactId>
2820              </exclusion>
2821              <exclusion>
2822                <groupId>stax</groupId>
2823                <artifactId>stax-api</artifactId>
2824              </exclusion>
2825              <exclusion>
2826                <groupId>xerces</groupId>
2827                <artifactId>xercesImpl</artifactId>
2828              </exclusion>
2829              <exclusion>
2830                <groupId>org.codehaus.jackson</groupId>
2831                <artifactId>jackson-core-asl</artifactId>
2832              </exclusion>
2833              <exclusion>
2834                <groupId>org.codehaus.jackson</groupId>
2835                <artifactId>jackson-mapper-asl</artifactId>
2836              </exclusion>
2837              <exclusion>
2838                <groupId>com.google.guava</groupId>
2839                <artifactId>guava</artifactId>
2840              </exclusion>
2841              <exclusion>
2842                <groupId>org.slf4j</groupId>
2843                <artifactId>slf4j-log4j12</artifactId>
2844              </exclusion>
2845              <exclusion>
2846                <groupId>log4j</groupId>
2847                <artifactId>log4j</artifactId>
2848              </exclusion>
2849            </exclusions>
2850          </dependency>
2851          <dependency>
2852            <groupId>org.apache.hadoop</groupId>
2853            <artifactId>hadoop-hdfs</artifactId>
2854            <version>${hadoop-three.version}</version>
2855            <type>test-jar</type>
2856            <scope>test</scope>
2857            <exclusions>
2858              <exclusion>
2859                <groupId>javax.servlet.jsp</groupId>
2860                <artifactId>jsp-api</artifactId>
2861              </exclusion>
2862              <exclusion>
2863                <groupId>javax.servlet</groupId>
2864                <artifactId>servlet-api</artifactId>
2865              </exclusion>
2866              <exclusion>
2867                <groupId>stax</groupId>
2868                <artifactId>stax-api</artifactId>
2869              </exclusion>
2870              <exclusion>
2871                <groupId>xerces</groupId>
2872                <artifactId>xercesImpl</artifactId>
2873              </exclusion>
2874              <exclusion>
2875                <groupId>org.codehaus.jackson</groupId>
2876                <artifactId>jackson-core-asl</artifactId>
2877              </exclusion>
2878              <exclusion>
2879                <groupId>org.codehaus.jackson</groupId>
2880                <artifactId>jackson-mapper-asl</artifactId>
2881              </exclusion>
2882              <exclusion>
2883                <groupId>com.google.guava</groupId>
2884                <artifactId>guava</artifactId>
2885              </exclusion>
2886              <exclusion>
2887                <groupId>com.sun.jersey</groupId>
2888                <artifactId>jersey-core</artifactId>
2889              </exclusion>
2890              <exclusion>
2891                <groupId>org.slf4j</groupId>
2892                <artifactId>slf4j-log4j12</artifactId>
2893              </exclusion>
2894              <exclusion>
2895                <groupId>log4j</groupId>
2896                <artifactId>log4j</artifactId>
2897              </exclusion>
2898            </exclusions>
2899          </dependency>
2900          <dependency>
2901            <groupId>org.apache.hadoop</groupId>
2902            <artifactId>hadoop-hdfs</artifactId>
2903            <version>${hadoop-three.version}</version>
2904            <type>test-jar</type>
2905            <classifier>tests</classifier>
2906            <scope>test</scope>
2907            <exclusions>
2908              <exclusion>
2909                <groupId>com.sun.jersey</groupId>
2910                <artifactId>jersey-core</artifactId>
2911              </exclusion>
2912            </exclusions>
2913          </dependency>
2914          <dependency>
2915            <groupId>org.apache.hadoop</groupId>
2916            <artifactId>hadoop-auth</artifactId>
2917            <version>${hadoop-three.version}</version>
2918            <exclusions>
2919              <exclusion>
2920                <groupId>com.google.guava</groupId>
2921                <artifactId>guava</artifactId>
2922              </exclusion>
2923              <exclusion>
2924                <groupId>net.minidev</groupId>
2925                <artifactId>json-smart</artifactId>
2926              </exclusion>
2927              <exclusion>
2928                <groupId>org.slf4j</groupId>
2929                <artifactId>slf4j-log4j12</artifactId>
2930              </exclusion>
2931              <exclusion>
2932                <groupId>log4j</groupId>
2933                <artifactId>log4j</artifactId>
2934              </exclusion>
2935            </exclusions>
2936          </dependency>
2937          <dependency>
2938            <groupId>org.apache.hadoop</groupId>
2939            <artifactId>hadoop-common</artifactId>
2940            <version>${hadoop-three.version}</version>
2941            <exclusions>
2942              <exclusion>
2943                <groupId>com.sun.jersey</groupId>
2944                <artifactId>jersey-core</artifactId>
2945              </exclusion>
2946              <exclusion>
2947                <groupId>com.sun.jersey</groupId>
2948                <artifactId>jersey-json</artifactId>
2949              </exclusion>
2950              <exclusion>
2951                <groupId>com.sun.jersey</groupId>
2952                <artifactId>jersey-servlet</artifactId>
2953              </exclusion>
2954              <exclusion>
2955               <groupId>com.sun.jersey</groupId>
2956                <artifactId>jersey-server</artifactId>
2957              </exclusion>
2958              <exclusion>
2959                <groupId>javax.servlet.jsp</groupId>
2960                <artifactId>jsp-api</artifactId>
2961              </exclusion>
2962              <exclusion>
2963                <groupId>javax.servlet</groupId>
2964                <artifactId>javax.servlet-api</artifactId>
2965              </exclusion>
2966              <exclusion>
2967                <groupId>stax</groupId>
2968                <artifactId>stax-api</artifactId>
2969              </exclusion>
2970              <exclusion>
2971                <groupId>io.netty</groupId>
2972                <artifactId>netty</artifactId>
2973              </exclusion>
2974              <exclusion>
2975                <groupId>com.google.code.findbugs</groupId>
2976                <artifactId>jsr305</artifactId>
2977              </exclusion>
2978              <exclusion>
2979                <groupId>junit</groupId>
2980                <artifactId>junit</artifactId>
2981              </exclusion>
2982              <exclusion>
2983                <groupId>org.codehause.jackson</groupId>
2984                <artifactId>jackson-core-asl</artifactId>
2985              </exclusion>
2986              <exclusion>
2987                <groupId>org.codehause.jackson</groupId>
2988                <artifactId>jackson-mapper-asl</artifactId>
2989              </exclusion>
2990              <exclusion>
2991                <groupId>org.slf4j</groupId>
2992                <artifactId>slf4j-log4j12</artifactId>
2993              </exclusion>
2994              <exclusion>
2995                <groupId>log4j</groupId>
2996                <artifactId>log4j</artifactId>
2997              </exclusion>
2998            </exclusions>
2999          </dependency>
3000          <dependency>
3001            <!--
3002              a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3003            -->
3004            <groupId>javax.activation</groupId>
3005            <artifactId>javax.activation-api</artifactId>
3006            <version>1.2.0</version>
3007            <scope>test</scope>
3008          </dependency>
3009          <dependency>
3010            <groupId>org.apache.hadoop</groupId>
3011            <artifactId>hadoop-common</artifactId>
3012            <type>test-jar</type>
3013            <classifier>tests</classifier>
3014            <version>${hadoop-three.version}</version>
3015            <exclusions>
3016              <exclusion>
3017                <groupId>com.sun.jersey</groupId>
3018                <artifactId>jersey-core</artifactId>
3019              </exclusion>
3020              <exclusion>
3021                <groupId>com.google.code.findbugs</groupId>
3022                <artifactId>jsr305</artifactId>
3023              </exclusion>
3024            </exclusions>
3025          </dependency>
3026          <dependency>
3027            <groupId>org.apache.hadoop</groupId>
3028            <artifactId>hadoop-client</artifactId>
3029            <version>${hadoop-three.version}</version>
3030          </dependency>
3031          <dependency>
3032            <groupId>org.apache.hadoop</groupId>
3033            <artifactId>hadoop-annotations</artifactId>
3034            <version>${hadoop-three.version}</version>
3035          </dependency>
3036          <!-- This was marked as test dep in earlier pom, but was scoped compile.
3037            Where do we actually need it? -->
3038          <dependency>
3039            <groupId>org.apache.hadoop</groupId>
3040            <artifactId>hadoop-minicluster</artifactId>
3041            <version>${hadoop-three.version}</version>
3042            <exclusions>
3043               <!--If we comment this in, a few tests in hbase-mapreduce
3044                    fail. They depend on jersey-core somehow. But excluding
3045                    jersey-core here messes up hbase-it because jersey-core
3046                    implements a 1.x jaxrs Response Interface when we depend
3047                    on the 2.x Interface... . Letting this jar come in
3048                    transitively here but will exclude it down in hbase-it.
3049                    See HBASE-22029.
3050              <exclusion>
3051                <groupId>com.sun.jersey</groupId>
3052                <artifactId>jersey-core</artifactId>
3053              </exclusion>
3054              -->
3055              <exclusion>
3056                <groupId>commons-httpclient</groupId>
3057                <artifactId>commons-httpclient</artifactId>
3058              </exclusion>
3059              <exclusion>
3060                <groupId>javax.servlet.jsp</groupId>
3061                <artifactId>jsp-api</artifactId>
3062              </exclusion>
3063              <exclusion>
3064                <groupId>javax.servlet</groupId>
3065                <artifactId>servlet-api</artifactId>
3066              </exclusion>
3067              <exclusion>
3068                <groupId>stax</groupId>
3069                <artifactId>stax-api</artifactId>
3070              </exclusion>
3071              <exclusion>
3072                <groupId>io.netty</groupId>
3073                <artifactId>netty</artifactId>
3074              </exclusion>
3075              <exclusion>
3076                <groupId>com.google.code.findbugs</groupId>
3077                <artifactId>jsr305</artifactId>
3078              </exclusion>
3079              <exclusion>
3080                <groupId>org.slf4j</groupId>
3081                <artifactId>slf4j-log4j12</artifactId>
3082              </exclusion>
3083              <exclusion>
3084                <groupId>log4j</groupId>
3085                <artifactId>log4j</artifactId>
3086              </exclusion>
3087            </exclusions>
3088          </dependency>
3089          <dependency>
3090            <groupId>org.apache.hadoop</groupId>
3091            <artifactId>hadoop-minikdc</artifactId>
3092            <version>${hadoop-three.version}</version>
3093            <scope>test</scope>
3094            <exclusions>
3095              <exclusion>
3096                <groupId>org.slf4j</groupId>
3097                <artifactId>slf4j-log4j12</artifactId>
3098              </exclusion>
3099              <exclusion>
3100                <groupId>log4j</groupId>
3101                <artifactId>log4j</artifactId>
3102              </exclusion>
3103            </exclusions>
3104          </dependency>
3105          <dependency>
3106            <groupId>org.apache.hadoop</groupId>
3107            <artifactId>hadoop-distcp</artifactId>
3108            <version>${hadoop-three.version}</version>
3109          </dependency>
3111          <dependency>
3112            <groupId>org.apache.hadoop</groupId>
3113            <artifactId>hadoop-hdfs-client</artifactId>
3114            <version>${hadoop-three.version}</version>
3115          </dependency>
3116        </dependencies>
3117      </dependencyManagement>
3119     </profile>
3120     <!-- profiles for the tests
3121          See as well the properties of the project for the values
3122          when no profile is active.     -->
3123     <profile>
3124       <!-- Use it to launch all tests in the same JVM  -->
3125       <id>singleJVMTests</id>
3126       <activation>
3127         <activeByDefault>false</activeByDefault>
3128       </activation>
3129       <properties>
3130         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3131         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3132         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3133         <surefire.firstPartGroups/>
3134       </properties>
3135     </profile>
3136     <profile>
3137       <!-- Use it to launch small tests only -->
3138       <id>runSmallTests</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.SmallTests</surefire.firstPartGroups>
3146         <surefire.secondPartGroups/>
3147       </properties>
3148     </profile>
3149     <profile>
3150       <!-- Use it to launch medium tests only -->
3151       <id>runMediumTests</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.MediumTests</surefire.firstPartGroups>
3159         <surefire.secondPartGroups/>
3160       </properties>
3161     </profile>
3162     <profile>
3163       <!-- Use it to launch large tests only -->
3164       <id>runLargeTests</id>
3165       <activation>
3166         <activeByDefault>false</activeByDefault>
3167       </activation>
3168       <properties>
3169         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3170         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3171         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3172         <surefire.secondPartGroups/>
3173       </properties>
3174     </profile>
3175     <profile>
3176       <!-- Use it to launch small & medium tests -->
3177       <id>runDevTests</id>
3178       <activation>
3179         <activeByDefault>false</activeByDefault>
3180       </activation>
3181       <properties>
3182         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
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</surefire.secondPartGroups>
3187       </properties>
3188     </profile>
3189     <profile>
3190       <!-- Use it to launch all tests -->
3191       <id>runAllTests</id>
3192       <activation>
3193         <activeByDefault>false</activeByDefault>
3194       </activation>
3195       <properties>
3196         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3197         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3198         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3199         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3200       </properties>
3201     </profile>
3202     <profile>
3203       <id>runMiscTests</id>
3204       <activation>
3205         <activeByDefault>false</activeByDefault>
3206       </activation>
3207       <properties>
3208         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3209         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3210         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3211         </surefire.firstPartGroups>
3212         <surefire.secondPartGroups></surefire.secondPartGroups>
3213       </properties>
3214     </profile>
3215     <profile>
3216       <id>runCoprocessorTests</id>
3217       <activation>
3218         <activeByDefault>false</activeByDefault>
3219       </activation>
3220       <properties>
3221         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3222         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3223         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3224         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3225         <surefire.firstPartGroups>
3226           org.apache.hadoop.hbase.testclassification.CoprocessorTests
3227         </surefire.firstPartGroups>
3228         <surefire.secondPartGroups></surefire.secondPartGroups>
3229       </properties>
3230     </profile>
3231     <profile>
3232       <id>runClientTests</id>
3233       <activation>
3234         <activeByDefault>false</activeByDefault>
3235       </activation>
3236       <properties>
3237         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3238         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3239         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3240         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3241         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3242         </surefire.firstPartGroups>
3243         <surefire.secondPartGroups></surefire.secondPartGroups>
3244       </properties>
3245     </profile>
3246     <profile>
3247       <id>runMasterTests</id>
3248       <activation>
3249         <activeByDefault>false</activeByDefault>
3250       </activation>
3251       <properties>
3252         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3253         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3254         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3255         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3256         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3257         </surefire.firstPartGroups>
3258         <surefire.secondPartGroups></surefire.secondPartGroups>
3259       </properties>
3260     </profile>
3261     <profile>
3262       <id>runMapredTests</id>
3263       <activation>
3264         <activeByDefault>false</activeByDefault>
3265       </activation>
3266       <properties>
3267         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3268         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3269         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3270         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3271         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3272         </surefire.firstPartGroups>
3273         <surefire.secondPartGroups></surefire.secondPartGroups>
3274       </properties>
3275     </profile>
3276     <profile>
3277       <id>runMapreduceTests</id>
3278       <activation>
3279         <activeByDefault>false</activeByDefault>
3280       </activation>
3281       <properties>
3282         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3283         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3284         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3285         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3286         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3287         </surefire.firstPartGroups>
3288         <surefire.secondPartGroups></surefire.secondPartGroups>
3289       </properties>
3290     </profile>
3291     <profile>
3292       <id>runRegionServerTests</id>
3293       <activation>
3294         <activeByDefault>false</activeByDefault>
3295       </activation>
3296       <properties>
3297         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3298         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3299         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3300         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3301         <surefire.firstPartGroups>
3302           org.apache.hadoop.hbase.testclassification.RegionServerTests
3303         </surefire.firstPartGroups>
3304         <surefire.secondPartGroups></surefire.secondPartGroups>
3305       </properties>
3306     </profile>
3307     <profile>
3308       <id>runVerySlowMapReduceTests</id>
3309       <activation>
3310         <activeByDefault>false</activeByDefault>
3311       </activation>
3312       <properties>
3313         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3314         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3315         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3316         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3317         <surefire.firstPartGroups>
3318           org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3319         </surefire.firstPartGroups>
3320         <surefire.secondPartGroups></surefire.secondPartGroups>
3321       </properties>
3322     </profile>
3324     <profile>
3325       <id>runVerySlowRegionServerTests</id>
3326       <activation>
3327         <activeByDefault>false</activeByDefault>
3328       </activation>
3329       <properties>
3330         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3331         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3332         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3333         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3334         <surefire.firstPartGroups>
3335           org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3336         </surefire.firstPartGroups>
3337         <surefire.secondPartGroups></surefire.secondPartGroups>
3338       </properties>
3339     </profile>
3341     <profile>
3342       <id>runFilterTests</id>
3343       <activation>
3344         <activeByDefault>false</activeByDefault>
3345       </activation>
3346       <properties>
3347         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3348         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3349         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3350         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3351         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3352         </surefire.firstPartGroups>
3353         <surefire.secondPartGroups></surefire.secondPartGroups>
3354       </properties>
3355     </profile>
3356     <profile>
3357       <id>runIOTests</id>
3358       <activation>
3359         <activeByDefault>false</activeByDefault>
3360       </activation>
3361       <properties>
3362         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3363         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3364         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3365         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3366         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3367         </surefire.firstPartGroups>
3368         <surefire.secondPartGroups></surefire.secondPartGroups>
3369       </properties>
3370     </profile>
3371     <profile>
3372       <id>runRestTests</id>
3373       <activation>
3374         <activeByDefault>false</activeByDefault>
3375       </activation>
3376       <properties>
3377         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3378         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3379         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3380         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3381         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3382         </surefire.firstPartGroups>
3383         <surefire.secondPartGroups></surefire.secondPartGroups>
3384       </properties>
3385     </profile>
3386     <profile>
3387       <id>runRPCTests</id>
3388       <activation>
3389         <activeByDefault>false</activeByDefault>
3390       </activation>
3391       <properties>
3392         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3393         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3394         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3395         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3396         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3397         </surefire.firstPartGroups>
3398         <surefire.secondPartGroups></surefire.secondPartGroups>
3399       </properties>
3400     </profile>
3401     <profile>
3402       <id>runReplicationTests</id>
3403       <activation>
3404         <activeByDefault>false</activeByDefault>
3405       </activation>
3406       <properties>
3407         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3408         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3409         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3410         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3411         <surefire.firstPartGroups>
3412           org.apache.hadoop.hbase.testclassification.ReplicationTests
3413         </surefire.firstPartGroups>
3414         <surefire.secondPartGroups></surefire.secondPartGroups>
3415       </properties>
3416     </profile>
3417     <profile>
3418       <id>runSecurityTests</id>
3419       <activation>
3420         <activeByDefault>false</activeByDefault>
3421       </activation>
3422       <properties>
3423         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3424         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3425         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3426         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3427         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3428         </surefire.firstPartGroups>
3429         <surefire.secondPartGroups></surefire.secondPartGroups>
3430       </properties>
3431     </profile>
3432     <profile>
3433       <id>runFlakeyTests</id>
3434       <activation>
3435         <activeByDefault>false</activeByDefault>
3436       </activation>
3437       <properties>
3438         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3439         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3440         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3441         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3442         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3443         </surefire.firstPartGroups>
3444         <surefire.secondPartGroups></surefire.secondPartGroups>
3445       </properties>
3446     </profile>
3447     <profile>
3448       <id>runZKTests</id>
3449       <activation>
3450         <activeByDefault>false</activeByDefault>
3451       </activation>
3452       <properties>
3453         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3454         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3455         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3456         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3457         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3458         </surefire.firstPartGroups>
3459         <surefire.secondPartGroups></surefire.secondPartGroups>
3460       </properties>
3461     </profile>
3462     <profile>
3463       <id>runRSGroupTests</id>
3464       <activation>
3465         <activeByDefault>false</activeByDefault>
3466       </activation>
3467       <properties>
3468         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3469         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3470         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3471         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3472         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3473         </surefire.firstPartGroups>
3474         <surefire.secondPartGroups></surefire.secondPartGroups>
3475       </properties>
3476     </profile>
3478     <profile>
3479       <!-- Use it to launch tests locally-->
3480       <id>localTests</id>
3481       <activation>
3482         <property>
3483           <name>test</name>
3484         </property>
3485       </activation>
3486       <properties>
3487         <surefire.provider>surefire-junit4</surefire.provider>
3488         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3489         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3490         <surefire.firstPartGroups/>
3491       </properties>
3492     </profile>
3493     <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3494          or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3495          the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3496          The report will be generated under target/site/clover/index.html when you run
3497          MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3498     <profile>
3499       <id>clover</id>
3500       <activation>
3501         <activeByDefault>false</activeByDefault>
3502         <property>
3503           <name>clover</name>
3504         </property>
3505       </activation>
3506       <properties>
3507         <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3508       </properties>
3509       <build>
3510         <plugins>
3511         <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3512              our instrumented classes for the doclet will fail
3513           -->
3514           <plugin>
3515             <groupId>org.apache.maven.plugins</groupId>
3516             <artifactId>maven-javadoc-plugin</artifactId>
3517             <dependencies>
3518               <dependency>
3519                 <groupId>com.atlassian.maven.plugins</groupId>
3520                 <artifactId>maven-clover2-plugin</artifactId>
3521                 <version>${clover.version}</version>
3522               </dependency>
3523             </dependencies>
3524           </plugin>
3525           <plugin>
3526             <groupId>com.atlassian.maven.plugins</groupId>
3527             <artifactId>maven-clover2-plugin</artifactId>
3528             <version>${clover.version}</version>
3529             <configuration>
3530               <includesAllSourceRoots>true</includesAllSourceRoots>
3531               <includesTestSourceRoots>true</includesTestSourceRoots>
3532               <targetPercentage>50%</targetPercentage>
3533               <generateHtml>true</generateHtml>
3534               <generateXml>true</generateXml>
3535               <excludes>
3536                 <exclude>**/generated/**</exclude>
3537               </excludes>
3538             </configuration>
3539             <executions>
3540               <execution>
3541                 <id>clover-setup</id>
3542                 <phase>process-sources</phase>
3543                 <goals>
3544                   <goal>setup</goal>
3545                 </goals>
3546               </execution>
3547               <execution>
3548                 <id>clover</id>
3549                 <phase>site</phase>
3550                 <goals>
3551                   <goal>clover</goal>
3552                 </goals>
3553               </execution>
3554             </executions>
3555           </plugin>
3556         </plugins>
3557       </build>
3558     </profile>
3559     <profile>
3560       <!-- Used by the website generation script on jenkins to
3561            do a local install of the jars we need to run a normal
3562            site build w/o forking.
3563         -->
3564       <id>site-install-step</id>
3565       <properties>
3566         <skipTests>true</skipTests>
3567         <maven.javadoc.skip>true</maven.javadoc.skip>
3568         <enforcer.skip>true</enforcer.skip>
3569         <checkstyle.skip>true</checkstyle.skip>
3570         <spotbugs.skip>true</spotbugs.skip>
3571         <warbucks.skip>true</warbucks.skip>
3572       </properties>
3573     </profile>
3574     <profile>
3575       <!-- Used by the website generation script on jenkins to
3576            mitigate the impact of unneeded build forks while building
3577            our javadocs.
3578         -->
3579       <id>site-build-step</id>
3580       <properties>
3581         <skipTests>true</skipTests>
3582         <enforcer.skip>true</enforcer.skip>
3583         <maven.main.skip>true</maven.main.skip>
3584         <maven.test.skip>true</maven.test.skip>
3585         <warbucks.skip>true</warbucks.skip>
3586         <protoc.skip>true</protoc.skip>
3587         <remoteresources.skip>true</remoteresources.skip>
3588       </properties>
3589     </profile>
3590     <profile>
3591       <id>eclipse-specific</id>
3592       <activation>
3593         <property>
3594           <name>m2e.version</name>
3595         </property>
3596       </activation>
3597       <build>
3598         <pluginManagement>
3599           <plugins>
3600             <!-- General config for eclipse classpath/settings -->
3601             <plugin>
3602               <groupId>org.apache.maven.plugins</groupId>
3603               <artifactId>maven-eclipse-plugin</artifactId>
3604               <version>${maven.eclipse.version}</version>
3605             </plugin>
3606             <!--This plugin's configuration is used to store Eclipse m2e settings
3607                 only. It has no influence on the Maven build itself. m2e does not
3608                 provide any safeguards against rogue maven plugins that leak
3609                 classloaders, modify random files inside workspace or throw nasty
3610                 exceptions to fail the build.
3611                 Top level doesn't do any specific configuration currently - left
3612                 to modules to decide what they want to bind, sans those plugins
3613                 defined in this pom. -->
3614             <plugin>
3615               <groupId>org.eclipse.m2e</groupId>
3616               <artifactId>lifecycle-mapping</artifactId>
3617               <version>${lifecycle.mapping.version}</version>
3618               <configuration>
3619                 <lifecycleMappingMetadata>
3620                   <pluginExecutions>
3621                     <pluginExecution>
3622                       <pluginExecutionFilter>
3623                         <groupId>org.jacoco</groupId>
3624                         <artifactId>jacoco-maven-plugin</artifactId>
3625                         <versionRange>[0.6.2.201302030002,)</versionRange>
3626                         <goals>
3627                           <goal>prepare-agent</goal>
3628                         </goals>
3629                       </pluginExecutionFilter>
3630                       <action>
3631                         <ignore></ignore>
3632                       </action>
3633                     </pluginExecution>
3634                     <pluginExecution>
3635                       <pluginExecutionFilter>
3636                         <groupId>org.apache.maven.plugins</groupId>
3637                         <artifactId>maven-enforcer-plugin</artifactId>
3638                         <versionRange>${enforcer.version}</versionRange>
3639                         <goals>
3640                           <goal>enforce</goal>
3641                         </goals>
3642                       </pluginExecutionFilter>
3643                       <action>
3644                         <ignore />
3645                       </action>
3646                     </pluginExecution>
3647                     <pluginExecution>
3648                       <pluginExecutionFilter>
3649                         <groupId>org.apache.maven.plugins</groupId>
3650                         <artifactId>maven-remote-resources-plugin</artifactId>
3651                         <versionRange>[1.5,)</versionRange>
3652                         <goals>
3653                           <goal>process</goal>
3654                           <goal>bundle</goal>
3655                         </goals>
3656                       </pluginExecutionFilter>
3657                       <action>
3658                         <ignore />
3659                       </action>
3660                     </pluginExecution>
3661                       <pluginExecution>
3662                         <pluginExecutionFilter>
3663                           <groupId>org.codehaus.mojo</groupId>
3664                           <artifactId>buildnumber-maven-plugin</artifactId>
3665                           <versionRange>[1.3,)</versionRange>
3666                           <goals>
3667                             <goal>create-timestamp</goal>
3668                           </goals>
3669                         </pluginExecutionFilter>
3670                         <action>
3671                           <execute>
3672                             <runOnConfiguration>true</runOnConfiguration>
3673                             <runOnIncremental>true</runOnIncremental>
3674                           </execute>
3675                         </action>
3676                       </pluginExecution>
3677                   </pluginExecutions>
3678                 </lifecycleMappingMetadata>
3679               </configuration>
3680             </plugin>
3681           </plugins>
3682         </pluginManagement>
3683       </build>
3684     </profile>
3685     <profile>
3686       <id>aarch64</id>
3687       <properties>
3688         <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3689       </properties>
3690       <activation>
3691         <os>
3692           <family>linux</family>
3693           <arch>aarch64</arch>
3694         </os>
3695       </activation>
3696     </profile>
3697   </profiles>
3698   <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3699   <reporting>
3700     <plugins>
3701       <plugin>
3702         <artifactId>maven-project-info-reports-plugin</artifactId>
3703         <version>${maven.project.info.report.version}</version>
3704         <reportSets>
3705           <reportSet>
3706             <reports>
3707               <report>dependencies</report>
3708               <report>dependency-convergence</report>
3709               <report>dependency-info</report>
3710               <report>dependency-management</report>
3711               <report>index</report>
3712               <report>issue-tracking</report>
3713               <report>mailing-list</report>
3714               <report>plugin-management</report>
3715               <report>plugins</report>
3716               <report>project-team</report>
3717               <report>scm</report>
3718               <report>summary</report>
3719             </reports>
3720           </reportSet>
3721         </reportSets>
3722         <!-- see src/site/site.xml for selected reports -->
3723         <configuration>
3724           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3725         </configuration>
3726       </plugin>
3728       <plugin>
3729         <groupId>org.apache.maven.plugins</groupId>
3730         <artifactId>maven-javadoc-plugin</artifactId>
3731         <configuration>
3732           <tags>
3733             <tag>
3734               <name>apiNote</name>
3735               <placement>a</placement>
3736               <head>API Note:</head>
3737             </tag>
3738           </tags>
3739         </configuration>
3740         <reportSets>
3741           <!-- Dev API -->
3742           <reportSet>
3743             <id>devapi</id>
3744             <reports>
3745               <report>aggregate-no-fork</report>
3746             </reports>
3747             <configuration>
3748               <destDir>devapidocs</destDir>
3749               <name>Developer API</name>
3750               <description>The full HBase API, including private and unstable APIs</description>
3751               <sourceFileExcludes>
3752                 <exclude>**/generated/*</exclude>
3753                 <exclude>**/protobuf/*</exclude>
3754               </sourceFileExcludes>
3755               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3756               <show>private</show> <!-- (shows all classes and members) -->
3757               <quiet>true</quiet>
3758               <linksource>true</linksource>
3759               <sourcetab>2</sourcetab>
3760               <validateLinks>true</validateLinks>
3761               <fixClassComment>true</fixClassComment>
3762               <fixFieldComment>true</fixFieldComment>
3763               <fixMethodComment>true</fixMethodComment>
3764               <fixTags>all</fixTags>
3765               <notimestamp>true</notimestamp>
3766               <locale>en_US</locale>
3767               <!-- Pass some options straight to the javadoc executable since it is easier -->
3768               <additionalJOption>-J-Xmx2G</additionalJOption>
3769               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3770               <additionalDependencies>
3771                 <additionalDependency>
3772                   <groupId>org.mockito</groupId>
3773                   <artifactId>mockito-core</artifactId>
3774                   <version>${mockito-core.version}</version>
3775                 </additionalDependency>
3776                 <additionalDependency>
3777                   <groupId>org.hamcrest</groupId>
3778                   <artifactId>hamcrest-core</artifactId>
3779                   <version>${hamcrest.version}</version>
3780                 </additionalDependency>
3781                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3782                 <additionalDependency>
3783                   <groupId>com.google.code.findbugs</groupId>
3784                   <artifactId>jsr305</artifactId>
3785                   <version>3.0.2</version>
3786                 </additionalDependency>
3787               </additionalDependencies>
3788               <inherited>false</inherited>
3789             </configuration>
3790           </reportSet>
3791           <reportSet>
3792             <id>testdevapi</id>
3793             <reports>
3794               <report>test-aggregate-no-fork</report>
3795             </reports>
3796             <configuration>
3797               <destDir>testdevapidocs</destDir>
3798               <name>Developer API</name>
3799               <description>The full HBase API test code, including private and unstable APIs</description>
3800               <sourceFileExcludes>
3801                 <exclude>**/generated/*</exclude>
3802                 <exclude>**/protobuf/*</exclude>
3803               </sourceFileExcludes>
3804               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3805               <show>private</show> <!-- (shows all classes and members) -->
3806               <quiet>true</quiet>
3807               <linksource>true</linksource>
3808               <sourcetab>2</sourcetab>
3809               <validateLinks>true</validateLinks>
3810               <fixClassComment>true</fixClassComment>
3811               <fixFieldComment>true</fixFieldComment>
3812               <fixMethodComment>true</fixMethodComment>
3813               <fixTags>all</fixTags>
3814               <notimestamp>true</notimestamp>
3815               <locale>en_US</locale>
3816               <!-- Pass some options straight to the javadoc executable since it is easier -->
3817               <additionalJOption>-J-Xmx2G</additionalJOption>
3818               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3819               <additionalDependencies>
3820                 <additionalDependency>
3821                   <groupId>org.mockito</groupId>
3822                   <artifactId>mockito-core</artifactId>
3823                   <version>${mockito-core.version}</version>
3824                 </additionalDependency>
3825                 <additionalDependency>
3826                   <groupId>org.hamcrest</groupId>
3827                   <artifactId>hamcrest-core</artifactId>
3828                   <version>${hamcrest.version}</version>
3829                 </additionalDependency>
3830                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3831                 <additionalDependency>
3832                   <groupId>com.google.code.findbugs</groupId>
3833                   <artifactId>jsr305</artifactId>
3834                   <version>3.0.2</version>
3835                 </additionalDependency>
3836               </additionalDependencies>
3837               <inherited>false</inherited>
3838             </configuration>
3839           </reportSet>
3841           <!-- User API -->
3842           <reportSet>
3843             <id>userapi</id>
3844             <reports>
3845               <report>aggregate-no-fork</report>
3846             </reports>
3847             <configuration>
3848               <doclet>
3849                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3850               </doclet>
3851               <docletArtifact>
3852                 <groupId>org.apache.yetus</groupId>
3853                 <artifactId>audience-annotations</artifactId>
3854                 <version>${audience-annotations.version}</version>
3855               </docletArtifact>
3856               <useStandardDocletOptions>true</useStandardDocletOptions>
3857               <destDir>apidocs</destDir>
3858               <name>User API</name>
3859               <description>The HBase Application Programmer's API</description>
3860               <excludePackageNames>
3861                 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*
3862               </excludePackageNames>
3863               <!-- switch on dependency-driven aggregation -->
3864               <includeDependencySources>false</includeDependencySources>
3865               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3866               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3867               <quiet>true</quiet>
3868               <linksource>true</linksource>
3869               <sourcetab>2</sourcetab>
3870               <validateLinks>true</validateLinks>
3871               <fixClassComment>true</fixClassComment>
3872               <fixFieldComment>true</fixFieldComment>
3873               <fixMethodComment>true</fixMethodComment>
3874               <fixTags>all</fixTags>
3875               <notimestamp>true</notimestamp>
3876               <locale>en_US</locale>
3877               <!-- Pass some options straight to the javadoc executable since it is easier -->
3878               <additionalJOption>-J-Xmx2G</additionalJOption>
3879               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3880               <additionalDependencies>
3881                 <additionalDependency>
3882                   <groupId>org.mockito</groupId>
3883                   <artifactId>mockito-core</artifactId>
3884                   <version>${mockito-core.version}</version>
3885                 </additionalDependency>
3886                 <additionalDependency>
3887                   <groupId>org.hamcrest</groupId>
3888                   <artifactId>hamcrest-core</artifactId>
3889                   <version>${hamcrest.version}</version>
3890                 </additionalDependency>
3891                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3892                 <additionalDependency>
3893                   <groupId>com.google.code.findbugs</groupId>
3894                   <artifactId>jsr305</artifactId>
3895                   <version>3.0.2</version>
3896                 </additionalDependency>
3897               </additionalDependencies>
3898               <inherited>false</inherited>
3899             </configuration>
3900           </reportSet>
3901           <!-- User Test API -->
3902           <reportSet>
3903             <id>testuserapi</id>
3904             <reports>
3905               <report>test-aggregate-no-fork</report>
3906             </reports>
3907             <configuration>
3908               <doclet>
3909                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3910               </doclet>
3911               <docletArtifact>
3912                 <groupId>org.apache.yetus</groupId>
3913                 <artifactId>audience-annotations</artifactId>
3914                 <version>${audience-annotations.version}</version>
3915               </docletArtifact>
3916               <useStandardDocletOptions>true</useStandardDocletOptions>
3917               <destDir>testapidocs</destDir>
3918               <name>User API</name>
3919               <description>The HBase Application Programmer's API</description>
3920               <excludePackageNames>
3921                 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*
3922               </excludePackageNames>
3923               <!-- switch on dependency-driven aggregation -->
3924               <includeDependencySources>false</includeDependencySources>
3925               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3926               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3927               <quiet>true</quiet>
3928               <linksource>true</linksource>
3929               <sourcetab>2</sourcetab>
3930               <validateLinks>true</validateLinks>
3931               <fixClassComment>true</fixClassComment>
3932               <fixFieldComment>true</fixFieldComment>
3933               <fixMethodComment>true</fixMethodComment>
3934               <fixTags>all</fixTags>
3935               <notimestamp>true</notimestamp>
3936               <locale>en_US</locale>
3937               <!-- Pass some options straight to the javadoc executable since it is easier -->
3938               <additionalJOption>-J-Xmx2G</additionalJOption>
3939               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3940               <additionalDependencies>
3941                 <additionalDependency>
3942                   <groupId>org.mockito</groupId>
3943                   <artifactId>mockito-core</artifactId>
3944                   <version>${mockito-core.version}</version>
3945                 </additionalDependency>
3946                 <additionalDependency>
3947                   <groupId>org.hamcrest</groupId>
3948                   <artifactId>hamcrest-core</artifactId>
3949                   <version>${hamcrest.version}</version>
3950                 </additionalDependency>
3951                 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3952                 <additionalDependency>
3953                   <groupId>com.google.code.findbugs</groupId>
3954                   <artifactId>jsr305</artifactId>
3955                   <version>3.0.2</version>
3956                 </additionalDependency>
3957               </additionalDependencies>
3958               <inherited>false</inherited>
3959             </configuration>
3960           </reportSet>
3961         </reportSets>
3962       </plugin>
3964       <plugin>
3965         <groupId>org.apache.maven.plugins</groupId>
3966         <artifactId>maven-checkstyle-plugin</artifactId>
3967         <version>${maven.checkstyle.version}</version>
3968         <configuration>
3969           <excludes>target/**</excludes>
3970         </configuration>
3971       </plugin>
3973     </plugins>
3974   </reporting>
3975   <distributionManagement>
3976     <site>
3977       <id>hbase.apache.org</id>
3978       <name>HBase Website at hbase.apache.org</name>
3979       <!-- On why this is the tmp dir and not hbase.apache.org, see
3980         https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3981        -->
3982       <url>file:///tmp</url>
3983     </site>
3984   </distributionManagement>
3985 </project>