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