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