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