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