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