HBASE-19991 hbase-rest test fail against h3
[hbase.git] / pom.xml
blobd33478a27ce3c30c051515e1e2ae7f67e9d1d8a8
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.TimedOutTestsListener,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 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1421     <jersey.version>2.25.1</jersey.version>
1422     <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1423     <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1424     <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1425     <jruby.version>9.1.10.0</jruby.version>
1426     <junit.version>4.12</junit.version>
1427     <hamcrest.version>1.3</hamcrest.version>
1428     <htrace.version>4.2.0-incubating</htrace.version>
1429     <htrace-hadoop.version>3.2.0-incubating</htrace-hadoop.version>
1430     <log4j.version>1.2.17</log4j.version>
1431     <mockito-core.version>2.1.0</mockito-core.version>
1432     <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1433     <external.protobuf.version>2.5.0</external.protobuf.version>
1434     <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1435     <thrift.path>thrift</thrift.path>
1436     <thrift.version>0.9.3</thrift.version>
1437     <zookeeper.version>3.4.10</zookeeper.version>
1438     <slf4j.version>1.7.25</slf4j.version>
1439     <clover.version>4.0.3</clover.version>
1440     <jamon-runtime.version>2.4.1</jamon-runtime.version>
1441     <jettison.version>1.3.8</jettison.version>
1442     <!--This property is for hadoops netty. HBase netty
1443          comes in via hbase-thirdparty hbase-shaded-netty-->
1444     <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1445     <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1446     <joni.version>2.1.11</joni.version>
1447     <jcodings.version>1.0.18</jcodings.version>
1448     <spy.version>2.12.2</spy.version>
1449     <bouncycastle.version>1.46</bouncycastle.version>
1450     <kerby.version>1.0.1</kerby.version>
1451     <commons-crypto.version>1.0.0</commons-crypto.version>
1452     <curator.version>4.0.0</curator.version>
1453     <!-- Plugin Dependencies -->
1454     <apache.rat.version>0.12</apache.rat.version>
1455     <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1456     <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1457     <build.helper.maven.version>3.0.0</build.helper.maven.version>
1458     <buildnumber.maven.version>1.4</buildnumber.maven.version>
1459     <checkstyle.version>6.18</checkstyle.version>
1460     <exec.maven.version>1.6.0</exec.maven.version>
1461     <error-prone.version>2.1.1</error-prone.version>
1462     <findbugs-annotations>1.3.9-1</findbugs-annotations>
1463     <findbugs.maven.version>3.0.4</findbugs.maven.version>
1464     <jamon.plugin.version>2.4.2</jamon.plugin.version>
1465     <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1466     <maven.antrun.version>1.8</maven.antrun.version>
1467     <maven.bundle.version>3.3.0</maven.bundle.version>
1468     <maven.checkstyle.version>2.17</maven.checkstyle.version>
1469     <maven.compiler.version>3.6.1</maven.compiler.version>
1470     <maven.dependency.version>3.0.1</maven.dependency.version>
1471     <maven.eclipse.version>2.10</maven.eclipse.version>
1472     <maven.install.version>2.5.2</maven.install.version>
1473     <maven.jar.version>3.0.2</maven.jar.version>
1474     <maven.patch.version>1.2</maven.patch.version>
1475     <maven.scala.version>2.15.2</maven.scala.version>
1476     <maven.shade.version>3.0.0</maven.shade.version>
1477     <maven.site.version>3.4</maven.site.version>
1478     <maven.source.version>3.0.1</maven.source.version>
1479     <os.maven.version>1.5.0.Final</os.maven.version>
1480     <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1481     <scala.maven.version>3.2.2</scala.maven.version>
1482     <scalatest.maven.version>1.0</scalatest.maven.version>
1483     <spotbugs.version>3.1.0-RC3</spotbugs.version>
1484     <wagon.ssh.version>2.12</wagon.ssh.version>
1485     <xml.maven.version>1.0.1</xml.maven.version>
1486     <hbase-thirdparty.version>2.0.0</hbase-thirdparty.version>
1487     <!-- General Packaging -->
1488     <package.prefix>/usr</package.prefix>
1489     <package.conf.dir>/etc/hbase</package.conf.dir>
1490     <package.log.dir>/var/log/hbase</package.log.dir>
1491     <package.pid.dir>/var/run/hbase</package.pid.dir>
1492     <package.release>1</package.release>
1493     <final.name>${project.artifactId}-${project.version}</final.name>
1494     <!-- Intraproject jar naming properties -->
1495     <!-- TODO this is pretty ugly, but works for the moment.
1496       Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1497     <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1498     <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1499     <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1500     <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1501     <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1502     <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1503     <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1504     <shell-executable>bash</shell-executable>
1505     <surefire.version>2.20.1</surefire.version>
1506     <surefire.provider>surefire-junit47</surefire.provider>
1507     <!-- default: run small & medium, medium with 2 threads -->
1508     <surefire.skipFirstPart>false</surefire.skipFirstPart>
1509     <surefire.skipSecondPart>false</surefire.skipSecondPart>
1510     <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1511     <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1512     <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1513     <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1514     <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1515     <test.output.tofile>true</test.output.tofile>
1516     <surefire.timeout>900</surefire.timeout>
1517     <test.exclude.pattern></test.exclude.pattern>
1518     <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1519     <surefire.Xmx>2800m</surefire.Xmx>
1520     <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1521     <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1522      -->
1523     <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1524       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1525       -Djava.awt.headless=true
1526     </hbase-surefire.argLine>
1527     <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1528       -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1529       "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1530     </hbase-surefire.cygwin-argLine>
1531     <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1532     <argLine>${hbase-surefire.argLine}</argLine>
1533     <jacoco.version>0.7.5.201505241946</jacoco.version>
1534     <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1535     <enforcer.version>3.0.0-M1</enforcer.version>
1536     <!-- Location of test resources -->
1537     <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1538     <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1539     <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1540         Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1541         this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1542     <build.id>${maven.build.timestamp}</build.id>
1543     <shell-executable>bash</shell-executable>
1544   </properties>
1545   <!-- Sorted by groups of dependencies then groupId and artifactId -->
1546   <dependencyManagement>
1547     <dependencies>
1548       <!--
1549       Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1550           org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1551           the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1552           implementation of the same, because Hadoop also uses this version
1553           javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1
1554         -->
1555       <!-- Intra-module dependencies -->
1556       <dependency>
1557         <groupId>org.apache.hbase</groupId>
1558         <artifactId>hbase-annotations</artifactId>
1559         <version>${project.version}</version>
1560         <type>test-jar</type>
1561         <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1562       </dependency>
1563       <dependency>
1564         <artifactId>hbase-backup</artifactId>
1565         <groupId>org.apache.hbase</groupId>
1566         <version>${project.version}</version>
1567       </dependency>
1568       <dependency>
1569         <groupId>org.apache.hbase</groupId>
1570         <artifactId>hbase-error-prone</artifactId>
1571         <version>${project.version}</version>
1572       </dependency>
1573       <dependency>
1574         <groupId>org.apache.hbase</groupId>
1575         <artifactId>hbase-common</artifactId>
1576         <version>${project.version}</version>
1577       </dependency>
1578       <dependency>
1579         <groupId>org.apache.hbase</groupId>
1580         <artifactId>hbase-common</artifactId>
1581         <version>${project.version}</version>
1582         <type>test-jar</type>
1583         <scope>test</scope>
1584       </dependency>
1585       <dependency>
1586         <groupId>org.apache.hbase</groupId>
1587         <artifactId>hbase-protocol-shaded</artifactId>
1588         <version>${project.version}</version>
1589       </dependency>
1590       <dependency>
1591         <groupId>org.apache.hbase</groupId>
1592         <artifactId>hbase-protocol</artifactId>
1593         <version>${project.version}</version>
1594       </dependency>
1595       <dependency>
1596         <groupId>org.apache.hbase</groupId>
1597         <artifactId>hbase-procedure</artifactId>
1598         <version>${project.version}</version>
1599       </dependency>
1600       <dependency>
1601         <groupId>org.apache.hbase</groupId>
1602         <artifactId>hbase-procedure</artifactId>
1603         <version>${project.version}</version>
1604         <type>test-jar</type>
1605       </dependency>
1606       <dependency>
1607         <groupId>org.apache.hbase</groupId>
1608         <artifactId>hbase-hadoop-compat</artifactId>
1609         <version>${project.version}</version>
1610       </dependency>
1611       <dependency>
1612         <groupId>org.apache.hbase</groupId>
1613         <artifactId>hbase-hadoop-compat</artifactId>
1614         <version>${project.version}</version>
1615         <type>test-jar</type>
1616         <scope>test</scope>
1617       </dependency>
1618       <dependency>
1619         <groupId>org.apache.hbase</groupId>
1620         <artifactId>${compat.module}</artifactId>
1621         <version>${project.version}</version>
1622       </dependency>
1623       <dependency>
1624         <groupId>org.apache.hbase</groupId>
1625         <artifactId>${compat.module}</artifactId>
1626         <version>${project.version}</version>
1627         <type>test-jar</type>
1628         <scope>test</scope>
1629       </dependency>
1630       <dependency>
1631         <artifactId>hbase-rsgroup</artifactId>
1632         <groupId>org.apache.hbase</groupId>
1633         <version>${project.version}</version>
1634       </dependency>
1635       <dependency>
1636         <artifactId>hbase-rsgroup</artifactId>
1637         <groupId>org.apache.hbase</groupId>
1638         <version>${project.version}</version>
1639         <type>test-jar</type>
1640         <scope>test</scope>
1641       </dependency>
1642       <dependency>
1643         <artifactId>hbase-replication</artifactId>
1644         <groupId>org.apache.hbase</groupId>
1645         <version>${project.version}</version>
1646       </dependency>
1647       <dependency>
1648         <artifactId>hbase-http</artifactId>
1649         <groupId>org.apache.hbase</groupId>
1650         <version>${project.version}</version>
1651       </dependency>
1652       <dependency>
1653         <artifactId>hbase-http</artifactId>
1654         <groupId>org.apache.hbase</groupId>
1655         <version>${project.version}</version>
1656         <type>test-jar</type>
1657         <scope>test</scope>
1658       </dependency>
1659       <dependency>
1660         <artifactId>hbase-server</artifactId>
1661         <groupId>org.apache.hbase</groupId>
1662         <version>${project.version}</version>
1663       </dependency>
1664       <dependency>
1665         <artifactId>hbase-server</artifactId>
1666         <groupId>org.apache.hbase</groupId>
1667         <version>${project.version}</version>
1668         <type>test-jar</type>
1669         <scope>test</scope>
1670       </dependency>
1671       <dependency>
1672         <artifactId>hbase-mapreduce</artifactId>
1673         <groupId>org.apache.hbase</groupId>
1674         <version>${project.version}</version>
1675       </dependency>
1676       <dependency>
1677         <artifactId>hbase-mapreduce</artifactId>
1678         <groupId>org.apache.hbase</groupId>
1679         <version>${project.version}</version>
1680         <type>test-jar</type>
1681         <scope>test</scope>
1682       </dependency>
1683       <dependency>
1684         <artifactId>hbase-endpoint</artifactId>
1685         <groupId>org.apache.hbase</groupId>
1686         <version>${project.version}</version>
1687       </dependency>
1688       <dependency>
1689         <artifactId>hbase-shell</artifactId>
1690         <groupId>org.apache.hbase</groupId>
1691         <version>${project.version}</version>
1692       </dependency>
1693       <dependency>
1694         <artifactId>hbase-shell</artifactId>
1695         <groupId>org.apache.hbase</groupId>
1696         <version>${project.version}</version>
1697         <type>test-jar</type>
1698         <scope>test</scope>
1699       </dependency>
1700       <dependency>
1701         <artifactId>hbase-thrift</artifactId>
1702         <groupId>org.apache.hbase</groupId>
1703         <version>${project.version}</version>
1704       </dependency>
1705       <dependency>
1706         <artifactId>hbase-thrift</artifactId>
1707         <groupId>org.apache.hbase</groupId>
1708         <version>${project.version}</version>
1709         <type>test-jar</type>
1710         <scope>test</scope>
1711       </dependency>
1712       <dependency>
1713         <groupId>org.apache.hbase</groupId>
1714         <artifactId>hbase-testing-util</artifactId>
1715         <version>${project.version}</version>
1716         <scope>test</scope>
1717       </dependency>
1718       <dependency>
1719         <artifactId>hbase-examples</artifactId>
1720         <groupId>org.apache.hbase</groupId>
1721         <version>${project.version}</version>
1722       </dependency>
1723       <dependency>
1724         <groupId>org.apache.hbase</groupId>
1725         <artifactId>hbase-external-blockcache</artifactId>
1726         <version>${project.version}</version>
1727       </dependency>
1728       <dependency>
1729         <artifactId>hbase-it</artifactId>
1730         <groupId>org.apache.hbase</groupId>
1731         <version>${project.version}</version>
1732         <type>test-jar</type>
1733         <scope>test</scope>
1734       </dependency>
1735       <dependency>
1736         <artifactId>hbase-client</artifactId>
1737         <groupId>org.apache.hbase</groupId>
1738         <version>${project.version}</version>
1739       </dependency>
1740       <dependency>
1741         <artifactId>hbase-metrics-api</artifactId>
1742         <groupId>org.apache.hbase</groupId>
1743         <version>${project.version}</version>
1744       </dependency>
1745       <dependency>
1746         <artifactId>hbase-metrics-api</artifactId>
1747         <groupId>org.apache.hbase</groupId>
1748         <version>${project.version}</version>
1749         <type>test-jar</type>
1750         <scope>test</scope>
1751       </dependency>
1752       <dependency>
1753         <artifactId>hbase-metrics</artifactId>
1754         <groupId>org.apache.hbase</groupId>
1755         <version>${project.version}</version>
1756       </dependency>
1757       <dependency>
1758         <artifactId>hbase-metrics</artifactId>
1759         <groupId>org.apache.hbase</groupId>
1760         <version>${project.version}</version>
1761         <type>test-jar</type>
1762         <scope>test</scope>
1763       </dependency>
1764       <dependency>
1765         <artifactId>hbase-rest</artifactId>
1766         <groupId>org.apache.hbase</groupId>
1767         <version>${project.version}</version>
1768       </dependency>
1769       <dependency>
1770         <artifactId>hbase-resource-bundle</artifactId>
1771         <groupId>org.apache.hbase</groupId>
1772         <version>${project.version}</version>
1773       </dependency>
1774       <dependency>
1775         <artifactId>hbase-spark</artifactId>
1776         <groupId>org.apache.hbase</groupId>
1777         <version>${project.version}</version>
1778       </dependency>
1779       <dependency>
1780         <artifactId>hbase-spark-it</artifactId>
1781         <groupId>org.apache.hbase</groupId>
1782         <version>${project.version}</version>
1783         <type>test-jar</type>
1784         <scope>test</scope>
1785       </dependency>
1786       <dependency>
1787         <artifactId>hbase-zookeeper</artifactId>
1788         <groupId>org.apache.hbase</groupId>
1789         <version>${project.version}</version>
1790       </dependency>
1791       <dependency>
1792         <artifactId>hbase-zookeeper</artifactId>
1793         <groupId>org.apache.hbase</groupId>
1794         <version>${project.version}</version>
1795         <type>test-jar</type>
1796         <scope>test</scope>
1797       </dependency>
1798       <!-- General dependencies -->
1799       <dependency>
1800         <groupId>com.github.stephenc.findbugs</groupId>
1801         <artifactId>findbugs-annotations</artifactId>
1802         <version>${findbugs-annotations}</version>
1803       </dependency>
1804       <!-- General dependencies -->
1805       <dependency>
1806         <groupId>org.codehaus.jettison</groupId>
1807         <artifactId>jettison</artifactId>
1808         <version>${jettison.version}</version>
1809       </dependency>
1810       <dependency>
1811         <groupId>org.slf4j</groupId>
1812         <artifactId>slf4j-log4j12</artifactId>
1813         <version>${slf4j.version}</version>
1814       </dependency>
1815       <dependency>
1816         <groupId>log4j</groupId>
1817         <artifactId>log4j</artifactId>
1818         <version>${log4j.version}</version>
1819       </dependency>
1820       <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1821       <dependency>
1822         <groupId>org.apache.avro</groupId>
1823         <artifactId>avro</artifactId>
1824         <version>${avro.version}</version>
1825       </dependency>
1826       <!--This is not used by hbase directly.  Used by thrift,
1827           dropwizard and zk.-->
1828       <dependency>
1829         <groupId>org.slf4j</groupId>
1830         <artifactId>slf4j-api</artifactId>
1831         <version>${slf4j.version}</version>
1832       </dependency>
1833       <dependency>
1834         <groupId>io.dropwizard.metrics</groupId>
1835         <artifactId>metrics-core</artifactId>
1836         <version>${metrics-core.version}</version>
1837       </dependency>
1838       <dependency>
1839         <groupId>org.apache.commons</groupId>
1840         <artifactId>commons-collections4</artifactId>
1841         <version>${collections.version}</version>
1842       </dependency>
1843       <dependency>
1844         <groupId>org.apache.httpcomponents</groupId>
1845         <artifactId>httpclient</artifactId>
1846         <version>${httpclient.version}</version>
1847       </dependency>
1848       <dependency>
1849         <groupId>org.apache.httpcomponents</groupId>
1850         <artifactId>httpcore</artifactId>
1851         <version>${httpcore.version}</version>
1852       </dependency>
1853       <dependency>
1854         <groupId>commons-cli</groupId>
1855         <artifactId>commons-cli</artifactId>
1856         <version>${commons-cli.version}</version>
1857       </dependency>
1858       <dependency>
1859         <groupId>commons-codec</groupId>
1860         <artifactId>commons-codec</artifactId>
1861         <version>${commons-codec.version}</version>
1862       </dependency>
1863       <dependency>
1864         <groupId>commons-io</groupId>
1865         <artifactId>commons-io</artifactId>
1866         <version>${commons-io.version}</version>
1867       </dependency>
1868       <dependency>
1869         <groupId>org.apache.commons</groupId>
1870         <artifactId>commons-lang3</artifactId>
1871         <version>${commons-lang3.version}</version>
1872       </dependency>
1873       <dependency>
1874         <groupId>org.apache.commons</groupId>
1875         <artifactId>commons-math3</artifactId>
1876         <version>${commons-math.version}</version>
1877       </dependency>
1878       <dependency>
1879         <groupId>org.apache.zookeeper</groupId>
1880         <artifactId>zookeeper</artifactId>
1881         <version>${zookeeper.version}</version>
1882         <exclusions>
1883           <exclusion>
1884             <groupId>jline</groupId>
1885             <artifactId>jline</artifactId>
1886           </exclusion>
1887           <exclusion>
1888             <groupId>com.sun.jmx</groupId>
1889             <artifactId>jmxri</artifactId>
1890           </exclusion>
1891           <exclusion>
1892             <groupId>com.sun.jdmk</groupId>
1893             <artifactId>jmxtools</artifactId>
1894           </exclusion>
1895           <exclusion>
1896             <groupId>javax.jms</groupId>
1897             <artifactId>jms</artifactId>
1898           </exclusion>
1899           <exclusion>
1900             <groupId>io.netty</groupId>
1901             <artifactId>netty</artifactId>
1902           </exclusion>
1903         </exclusions>
1904       </dependency>
1905       <dependency>
1906         <groupId>org.apache.thrift</groupId>
1907         <artifactId>libthrift</artifactId>
1908         <version>${thrift.version}</version>
1909         <exclusions>
1910           <exclusion>
1911             <groupId>org.slf4j</groupId>
1912             <artifactId>slf4j-simple</artifactId>
1913           </exclusion>
1914         </exclusions>
1915       </dependency>
1916       <dependency>
1917         <groupId>org.jruby</groupId>
1918         <artifactId>jruby-complete</artifactId>
1919         <version>${jruby.version}</version>
1920       </dependency>
1921       <dependency>
1922         <groupId>org.jruby.jcodings</groupId>
1923         <artifactId>jcodings</artifactId>
1924         <version>${jcodings.version}</version>
1925       </dependency>
1926       <dependency>
1927         <groupId>org.jruby.joni</groupId>
1928         <artifactId>joni</artifactId>
1929         <version>${joni.version}</version>
1930       </dependency>
1931       <dependency>
1932         <groupId>com.fasterxml.jackson.jaxrs</groupId>
1933         <artifactId>jackson-jaxrs-json-provider</artifactId>
1934         <version>${jackson.version}</version>
1935       </dependency>
1936       <dependency>
1937         <groupId>com.fasterxml.jackson.core</groupId>
1938         <artifactId>jackson-databind</artifactId>
1939         <version>${jackson.version}</version>
1940       </dependency>
1941       <dependency>
1942         <groupId>org.jamon</groupId>
1943         <artifactId>jamon-runtime</artifactId>
1944         <version>${jamon-runtime.version}</version>
1945       </dependency>
1946       <!-- REST dependencies -->
1947       <dependency>
1948         <groupId>javax.servlet</groupId>
1949         <artifactId>javax.servlet-api</artifactId>
1950         <version>${servlet.api.version}</version>
1951       </dependency>
1952       <dependency>
1953         <groupId>javax.ws.rs</groupId>
1954         <artifactId>javax.ws.rs-api</artifactId>
1955         <version>${wx.rs.api.version}</version>
1956       </dependency>
1957       <dependency>
1958         <groupId>org.eclipse.jetty</groupId>
1959         <artifactId>jetty-server</artifactId>
1960         <version>${jetty.version}</version>
1961       </dependency>
1962       <dependency>
1963         <groupId>org.eclipse.jetty</groupId>
1964         <artifactId>jetty-servlet</artifactId>
1965         <version>${jetty.version}</version>
1966         <exclusions>
1967           <exclusion>
1968             <groupId>org.eclipse.jetty</groupId>
1969             <artifactId>servlet-api</artifactId>
1970           </exclusion>
1971         </exclusions>
1972       </dependency>
1973       <dependency>
1974         <groupId>org.eclipse.jetty</groupId>
1975         <artifactId>jetty-security</artifactId>
1976         <version>${jetty.version}</version>
1977       </dependency>
1978       <dependency>
1979         <groupId>org.eclipse.jetty</groupId>
1980         <artifactId>jetty-http</artifactId>
1981         <version>${jetty.version}</version>
1982       </dependency>
1983       <dependency>
1984         <groupId>org.eclipse.jetty</groupId>
1985         <artifactId>jetty-util</artifactId>
1986         <version>${jetty.version}</version>
1987       </dependency>
1988       <dependency>
1989         <groupId>org.eclipse.jetty</groupId>
1990         <artifactId>jetty-io</artifactId>
1991         <version>${jetty.version}</version>
1992       </dependency>
1993       <dependency>
1994         <groupId>org.eclipse.jetty</groupId>
1995         <artifactId>jetty-jsp</artifactId>
1996         <version>${jetty-jsp.version}</version>
1997       </dependency>
1998       <dependency>
1999         <groupId>org.eclipse.jetty</groupId>
2000         <artifactId>jetty-jmx</artifactId>
2001         <version>${jetty.version}</version>
2002       </dependency>
2003       <dependency>
2004         <groupId>org.eclipse.jetty</groupId>
2005         <artifactId>jetty-webapp</artifactId>
2006         <version>${jetty.version}</version>
2007       </dependency>
2008       <dependency>
2009         <groupId>org.eclipse.jetty</groupId>
2010         <artifactId>jetty-util-ajax</artifactId>
2011         <version>${jetty.version}</version>
2012       </dependency>
2013       <dependency>
2014         <groupId>com.google.protobuf</groupId>
2015         <artifactId>protobuf-java</artifactId>
2016         <version>${external.protobuf.version}</version>
2017       </dependency>
2018       <dependency>
2019         <groupId>org.glassfish.jersey.containers</groupId>
2020         <artifactId>jersey-container-servlet-core</artifactId>
2021         <version>${jersey.version}</version>
2022       </dependency>
2023       <dependency>
2024         <groupId>org.glassfish.jersey.core</groupId>
2025         <artifactId>jersey-client</artifactId>
2026         <version>${jersey.version}</version>
2027       </dependency>
2028       <dependency>
2029         <groupId>org.glassfish.jersey.core</groupId>
2030         <artifactId>jersey-server</artifactId>
2031         <version>${jersey.version}</version>
2032       </dependency>
2033       <dependency>
2034         <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2035         <groupId>org.glassfish.web</groupId>
2036         <artifactId>javax.servlet.jsp</artifactId>
2037         <version>${glassfish.jsp.version}</version>
2038       </dependency>
2039       <dependency>
2040         <groupId>org.glassfish</groupId>
2041         <artifactId>javax.el</artifactId>
2042         <version>${glassfish.el.version}</version>
2043       </dependency>
2044       <dependency>
2045         <groupId>javax.xml.bind</groupId>
2046         <artifactId>jaxb-api</artifactId>
2047         <version>${jaxb-api.version}</version>
2048         <exclusions>
2049           <exclusion>
2050             <groupId>javax.xml.stream</groupId>
2051             <artifactId>stax-api</artifactId>
2052           </exclusion>
2053         </exclusions>
2054       </dependency>
2055       <dependency>
2056         <groupId>junit</groupId>
2057         <artifactId>junit</artifactId>
2058         <version>${junit.version}</version>
2059       </dependency>
2060       <dependency>
2061         <groupId>org.hamcrest</groupId>
2062         <artifactId>hamcrest-core</artifactId>
2063         <version>${hamcrest.version}</version>
2064         <scope>test</scope>
2065       </dependency>
2066       <dependency>
2067         <groupId>org.mockito</groupId>
2068         <artifactId>mockito-core</artifactId>
2069         <version>${mockito-core.version}</version>
2070         <scope>test</scope>
2071       </dependency>
2072       <dependency>
2073         <groupId>org.apache.htrace</groupId>
2074         <artifactId>htrace-core4</artifactId>
2075         <version>${htrace.version}</version>
2076       </dependency>
2077       <dependency>
2078         <groupId>com.lmax</groupId>
2079         <artifactId>disruptor</artifactId>
2080         <version>${disruptor.version}</version>
2081       </dependency>
2082       <dependency>
2083         <groupId>net.spy</groupId>
2084         <artifactId>spymemcached</artifactId>
2085         <version>${spy.version}</version>
2086         <optional>true</optional>
2087       </dependency>
2088       <dependency>
2089         <groupId>org.bouncycastle</groupId>
2090         <artifactId>bcprov-jdk16</artifactId>
2091         <version>${bouncycastle.version}</version>
2092         <scope>test</scope>
2093       </dependency>
2094       <dependency>
2095         <groupId>org.apache.kerby</groupId>
2096         <artifactId>kerb-core</artifactId>
2097         <version>${kerby.version}</version>
2098       </dependency>
2099       <dependency>
2100         <groupId>org.apache.kerby</groupId>
2101         <artifactId>kerb-client</artifactId>
2102         <version>${kerby.version}</version>
2103       </dependency>
2104       <dependency>
2105         <groupId>org.apache.kerby</groupId>
2106         <artifactId>kerb-simplekdc</artifactId>
2107         <version>${kerby.version}</version>
2108       </dependency>
2109       <dependency>
2110         <groupId>org.apache.commons</groupId>
2111         <artifactId>commons-crypto</artifactId>
2112         <version>${commons-crypto.version}</version>
2113         <exclusions>
2114           <exclusion>
2115             <groupId>net.java.dev.jna</groupId>
2116             <artifactId>jna</artifactId>
2117           </exclusion>
2118         </exclusions>
2119       </dependency>
2120       <dependency>
2121         <groupId>org.apache.curator</groupId>
2122         <artifactId>curator-framework</artifactId>
2123         <version>${curator.version}</version>
2124         <exclusions>
2125           <exclusion>
2126             <groupId>org.apache.zookeeper</groupId>
2127             <artifactId>zookeeper</artifactId>
2128           </exclusion>
2129         </exclusions>
2130       </dependency>
2131       <dependency>
2132         <groupId>org.apache.curator</groupId>
2133         <artifactId>curator-client</artifactId>
2134         <version>${curator.version}</version>
2135         <exclusions>
2136           <exclusion>
2137             <groupId>com.google.guava</groupId>
2138             <artifactId>guava</artifactId>
2139           </exclusion>
2140           <exclusion>
2141             <groupId>org.apache.zookeeper</groupId>
2142             <artifactId>zookeeper</artifactId>
2143           </exclusion>
2144         </exclusions>
2145       </dependency>
2146       <dependency>
2147         <groupId>org.apache.curator</groupId>
2148         <artifactId>curator-recipes</artifactId>
2149         <version>${curator.version}</version>
2150         <exclusions>
2151           <exclusion>
2152             <groupId>com.google.guava</groupId>
2153             <artifactId>guava</artifactId>
2154           </exclusion>
2155           <exclusion>
2156             <groupId>org.apache.zookeeper</groupId>
2157             <artifactId>zookeeper</artifactId>
2158           </exclusion>
2159         </exclusions>
2160       </dependency>
2161       <dependency>
2162         <groupId>org.apache.yetus</groupId>
2163         <artifactId>audience-annotations</artifactId>
2164         <version>${audience-annotations.version}</version>
2165       </dependency>
2166       <dependency>
2167         <groupId>org.apache.hbase.thirdparty</groupId>
2168         <artifactId>hbase-shaded-miscellaneous</artifactId>
2169         <version>${hbase-thirdparty.version}</version>
2170       </dependency>
2171       <dependency>
2172         <groupId>org.apache.hbase.thirdparty</groupId>
2173         <artifactId>hbase-shaded-netty</artifactId>
2174         <version>${hbase-thirdparty.version}</version>
2175       </dependency>
2176       <dependency>
2177         <groupId>org.apache.hbase.thirdparty</groupId>
2178         <artifactId>hbase-shaded-protobuf</artifactId>
2179         <version>${hbase-thirdparty.version}</version>
2180       </dependency>
2181     </dependencies>
2182   </dependencyManagement>
2183   <dependencies>
2184     <!--REMOVE THIS. HERE TEMPORARILY.
2185          Implication is that every module needs junit which is not so.
2186          Cannot undo though because build runs test on each module and
2187          it fails if no junit. TODO. -->
2188     <dependency>
2189       <groupId>junit</groupId>
2190       <artifactId>junit</artifactId>
2191     </dependency>
2192   </dependencies>
2194   <!--
2195   To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2197  <settings>
2198   <servers>
2199     <server>
2200       <id>apache.releases.https</id>
2201       <username>hbase_committer</username>
2202       <password>********</password>
2203     </server>
2205     <server>
2206       <id>apache.snapshots.https</id>
2207       <username>hbase_committer</username>
2208       <password>********</password>
2209     </server>
2211   </servers>
2212  </settings>
2214   $ mvn deploy
2215 (or)
2216   $ mvn -s /my/path/settings.xml deploy
2218   -->
2219   <profiles>
2220     <profile>
2221       <id>rsgroup</id>
2222       <activation>
2223         <property>
2224             <name>!skip-rsgroup</name>
2225         </property>
2226       </activation>
2227       <modules>
2228         <module>hbase-rsgroup</module>
2229       </modules>
2230     </profile>
2231     <profile>
2232       <id>build-with-jdk8</id>
2233       <activation>
2234         <jdk>1.8</jdk>
2235       </activation>
2236       <build>
2237         <pluginManagement>
2238           <plugins>
2239             <plugin>
2240               <groupId>org.apache.maven.plugins</groupId>
2241               <artifactId>maven-javadoc-plugin</artifactId>
2242               <configuration>
2243                 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used -->
2244                 <additionalparam>-Xdoclint:none</additionalparam>
2245               </configuration>
2246             </plugin>
2247             <plugin>
2248               <groupId>org.codehaus.mojo</groupId>
2249               <artifactId>findbugs-maven-plugin</artifactId>
2250               <version>3.0.0</version>
2251               <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2252               <configuration>
2253                 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2254                 <findbugsXmlOutput>true</findbugsXmlOutput>
2255                 <xmlOutput>true</xmlOutput>
2256                 <effort>Max</effort>
2257               </configuration>
2258               <dependencies>
2259                 <dependency>
2260                   <groupId>com.github.spotbugs</groupId>
2261                   <artifactId>spotbugs</artifactId>
2262                   <version>${spotbugs.version}</version>
2263                 </dependency>
2264               </dependencies>
2265             </plugin>
2266           </plugins>
2267         </pluginManagement>
2268       </build>
2269     </profile>
2270     <!-- profile activated by the Jenkins patch testing job -->
2271     <profile>
2272       <id>jenkins.patch</id>
2273       <activation>
2274         <activeByDefault>false</activeByDefault>
2275         <property>
2276             <name>HBasePatchProcess</name>
2277         </property>
2278       </activation>
2279       <properties>
2280         <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2281       </properties>
2282       <build>
2283         <plugins>
2284           <plugin>
2285             <groupId>org.apache.maven.plugins</groupId>
2286             <artifactId>maven-antrun-plugin</artifactId>
2287             <inherited>false</inherited>
2288             <executions>
2289               <execution>
2290                 <phase>validate</phase>
2291                 <goals>
2292                   <goal>run</goal>
2293                 </goals>
2294                 <configuration>
2295                   <tasks>
2296                     <echo>Maven Execution Environment</echo>
2297                     <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2298                   </tasks>
2299                 </configuration>
2300               </execution>
2301             </executions>
2302           </plugin>
2303         </plugins>
2304       </build>
2305     </profile>
2306     <profile>
2307       <id>jacoco</id>
2308       <activation>
2309         <activeByDefault>false</activeByDefault>
2310       </activation>
2311       <build>
2312         <plugins>
2313           <plugin>
2314             <groupId>org.jacoco</groupId>
2315             <artifactId>jacoco-maven-plugin</artifactId>
2316             <version>${jacoco.version}</version>
2317             <executions>
2318               <execution>
2319                 <id>prepare-agent</id>
2320                 <goals>
2321                   <goal>prepare-agent</goal>
2322                 </goals>
2323               </execution>
2324               <execution>
2325                 <id>report</id>
2326                 <phase>prepare-package</phase>
2327                 <goals>
2328                   <goal>report</goal>
2329                 </goals>
2330               </execution>
2331             </executions>
2332             <configuration>
2333               <systemPropertyVariables>
2334                 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2335               </systemPropertyVariables>
2336               <excludes>
2337                 <exclude>**/generated/**/*.class</exclude>
2338               </excludes>
2339             </configuration>
2340           </plugin>
2341         </plugins>
2342       </build>
2343     </profile>
2344     <profile>
2345       <id>os.linux</id>
2346       <activation>
2347         <activeByDefault>false</activeByDefault>
2348         <os>
2349           <family>Linux</family>
2350         </os>
2351       </activation>
2352       <properties>
2353         <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2354       </properties>
2355     </profile>
2356     <profile>
2357       <id>os.mac</id>
2358       <activation>
2359         <os>
2360           <family>Mac</family>
2361         </os>
2362       </activation>
2363       <properties>
2364         <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2365       </properties>
2366     </profile>
2367     <profile>
2368       <id>os.windows</id>
2369       <activation>
2370         <os>
2371           <family>Windows</family>
2372         </os>
2373       </activation>
2374       <properties>
2375         <build.platform>cygwin</build.platform>
2376         <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2377       </properties>
2378     </profile>
2379     <!-- this profile should be activated for release builds -->
2380     <profile>
2381       <id>release</id>
2382       <build>
2383         <plugins>
2384           <plugin>
2385             <groupId>org.apache.rat</groupId>
2386             <artifactId>apache-rat-plugin</artifactId>
2387             <executions>
2388               <execution>
2389                 <phase>package</phase>
2390                 <goals>
2391                   <goal>check</goal>
2392                 </goals>
2393               </execution>
2394             </executions>
2395           </plugin>
2396           <plugin>
2397             <groupId>org.apache.maven.plugins</groupId>
2398             <artifactId>maven-enforcer-plugin</artifactId>
2399             <version>${enforcer.version}</version>
2400             <configuration>
2401               <rules>
2402                 <enforceBytecodeVersion>
2403                 <maxJdkVersion>${compileSource}</maxJdkVersion>
2404                 <message>HBase has unsupported dependencies.
2405   HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2406   of the JDK to properly build from source.  You appear to be using a newer dependency. You can use
2407   either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2408   Non-release builds can temporarily build with a newer JDK version by setting the
2409   'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2410                 </message>
2411               </enforceBytecodeVersion>
2412             </rules>
2413           </configuration>
2414           </plugin>
2415         </plugins>
2416       </build>
2417     </profile>
2418     <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2419     <!-- Submodules that need hadoop dependencies should declare
2420     profiles with activation properties matching the profile here.
2421     Generally, it should be sufficient to copy the first
2422     few lines of the profile you want to match.  -->
2423     <!-- profile for building against Hadoop 2.0.x
2424          This is the default.
2425          -->
2426     <profile>
2427       <id>hadoop-2.0</id>
2428       <activation>
2429         <property>
2430           <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2431           <!--h2--><name>!hadoop.profile</name>
2432         </property>
2433       </activation>
2434       <modules>
2435         <module>hbase-hadoop2-compat</module>
2436       </modules>
2437       <properties>
2438         <hadoop.version>${hadoop-two.version}</hadoop.version>
2439         <compat.module>hbase-hadoop2-compat</compat.module>
2440         <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2441       </properties>
2442       <dependencyManagement>
2443         <dependencies>
2444           <dependency>
2445             <groupId>org.apache.hadoop</groupId>
2446             <artifactId>hadoop-mapreduce-client-core</artifactId>
2447             <version>${hadoop-two.version}</version>
2448             <exclusions>
2449               <exclusion>
2450                 <groupId>io.netty</groupId>
2451                 <artifactId>netty</artifactId>
2452               </exclusion>
2453               <exclusion>
2454                 <groupId>javax.servlet</groupId>
2455                 <artifactId>servlet-api</artifactId>
2456               </exclusion>
2457               <exclusion>
2458                 <groupId>javax.inject</groupId>
2459                 <artifactId>javax.inject</artifactId>
2460               </exclusion>
2461               <exclusion>
2462                 <groupId>org.codehaus.jackson</groupId>
2463                 <artifactId>jackson-core-asl</artifactId>
2464               </exclusion>
2465               <exclusion>
2466                 <groupId>org.codehaus.jackson</groupId>
2467                 <artifactId>jackson-mapper-asl</artifactId>
2468               </exclusion>
2469             </exclusions>
2470           </dependency>
2471           <dependency>
2472             <groupId>org.apache.hadoop</groupId>
2473             <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2474             <version>${hadoop-two.version}</version>
2475             <exclusions>
2476               <exclusion>
2477                 <groupId>io.netty</groupId>
2478                 <artifactId>netty</artifactId>
2479               </exclusion>
2480               <exclusion>
2481                 <groupId>javax.servlet</groupId>
2482                 <artifactId>servlet-api</artifactId>
2483               </exclusion>
2484             </exclusions>
2485           </dependency>
2486           <dependency>
2487             <groupId>org.apache.hadoop</groupId>
2488             <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2489             <version>${hadoop-two.version}</version>
2490             <type>test-jar</type>
2491             <scope>test</scope>
2492             <exclusions>
2493               <exclusion>
2494                 <groupId>io.netty</groupId>
2495                 <artifactId>netty</artifactId>
2496               </exclusion>
2497               <exclusion>
2498                 <groupId>javax.servlet</groupId>
2499                 <artifactId>servlet-api</artifactId>
2500               </exclusion>
2501             </exclusions>
2502           </dependency>
2503           <dependency>
2504             <groupId>org.apache.hadoop</groupId>
2505             <artifactId>hadoop-hdfs</artifactId>
2506             <version>${hadoop-two.version}</version>
2507             <exclusions>
2508               <exclusion>
2509                 <groupId>org.apache.htrace</groupId>
2510                 <artifactId>htrace-core</artifactId>
2511               </exclusion>
2512               <exclusion>
2513                 <groupId>javax.servlet.jsp</groupId>
2514                 <artifactId>jsp-api</artifactId>
2515               </exclusion>
2516               <exclusion>
2517                 <groupId>javax.servlet</groupId>
2518                 <artifactId>servlet-api</artifactId>
2519               </exclusion>
2520               <exclusion>
2521                 <groupId>io.netty</groupId>
2522                 <artifactId>netty</artifactId>
2523               </exclusion>
2524               <exclusion>
2525                 <groupId>stax</groupId>
2526                 <artifactId>stax-api</artifactId>
2527               </exclusion>
2528               <exclusion>
2529                 <groupId>xerces</groupId>
2530                 <artifactId>xercesImpl</artifactId>
2531               </exclusion>
2532               <exclusion>
2533                 <groupId>org.codehaus.jackson</groupId>
2534                 <artifactId>jackson-core-asl</artifactId>
2535               </exclusion>
2536               <exclusion>
2537                 <groupId>org.codehaus.jackson</groupId>
2538                 <artifactId>jackson-mapper-asl</artifactId>
2539               </exclusion>
2540               <exclusion>
2541                 <groupId>com.google.guava</groupId>
2542                 <artifactId>guava</artifactId>
2543               </exclusion>
2544             </exclusions>
2545           </dependency>
2546           <dependency>
2547             <groupId>org.apache.hadoop</groupId>
2548             <artifactId>hadoop-hdfs</artifactId>
2549             <version>${hadoop-two.version}</version>
2550             <type>test-jar</type>
2551             <scope>test</scope>
2552             <exclusions>
2553               <exclusion>
2554                 <groupId>org.apache.htrace</groupId>
2555                 <artifactId>htrace-core</artifactId>
2556               </exclusion>
2557               <exclusion>
2558                 <groupId>javax.servlet.jsp</groupId>
2559                 <artifactId>jsp-api</artifactId>
2560               </exclusion>
2561               <exclusion>
2562                 <groupId>javax.servlet</groupId>
2563                 <artifactId>servlet-api</artifactId>
2564               </exclusion>
2565               <exclusion>
2566                 <groupId>io.netty</groupId>
2567                 <artifactId>netty</artifactId>
2568               </exclusion>
2569               <exclusion>
2570                 <groupId>stax</groupId>
2571                 <artifactId>stax-api</artifactId>
2572               </exclusion>
2573               <exclusion>
2574                 <groupId>xerces</groupId>
2575                 <artifactId>xercesImpl</artifactId>
2576               </exclusion>
2577               <exclusion>
2578                 <groupId>org.codehaus.jackson</groupId>
2579                 <artifactId>jackson-core-asl</artifactId>
2580               </exclusion>
2581               <exclusion>
2582                 <groupId>org.codehaus.jackson</groupId>
2583                 <artifactId>jackson-mapper-asl</artifactId>
2584               </exclusion>
2585               <exclusion>
2586                 <groupId>com.google.guava</groupId>
2587                 <artifactId>guava</artifactId>
2588               </exclusion>
2589             </exclusions>
2590           </dependency>
2591           <dependency>
2592             <groupId>org.apache.hadoop</groupId>
2593             <artifactId>hadoop-auth</artifactId>
2594             <version>${hadoop-two.version}</version>
2595           </dependency>
2596           <dependency>
2597             <groupId>org.apache.hadoop</groupId>
2598             <artifactId>hadoop-common</artifactId>
2599             <version>${hadoop-two.version}</version>
2600             <exclusions>
2601               <exclusion>
2602                 <groupId>org.apache.htrace</groupId>
2603                 <artifactId>htrace-core</artifactId>
2604               </exclusion>
2605               <exclusion>
2606                 <groupId>commons-beanutils</groupId>
2607                 <artifactId>commons-beanutils</artifactId>
2608               </exclusion>
2609               <exclusion>
2610                 <groupId>javax.servlet.jsp</groupId>
2611                 <artifactId>jsp-api</artifactId>
2612               </exclusion>
2613               <exclusion>
2614                 <groupId>javax.servlet</groupId>
2615                 <artifactId>servlet-api</artifactId>
2616               </exclusion>
2617               <exclusion>
2618                 <groupId>stax</groupId>
2619                 <artifactId>stax-api</artifactId>
2620               </exclusion>
2621               <exclusion>
2622                 <groupId>io.netty</groupId>
2623                 <artifactId>netty</artifactId>
2624               </exclusion>
2625               <exclusion>
2626                 <groupId>com.google.code.findbugs</groupId>
2627                 <artifactId>jsr305</artifactId>
2628               </exclusion>
2629               <exclusion>
2630                 <groupId>junit</groupId>
2631                 <artifactId>junit</artifactId>
2632               </exclusion>
2633              <exclusion>
2634                <groupId>org.codehaus.jackson</groupId>
2635                <artifactId>jackson-core-asl</artifactId>
2636              </exclusion>
2637              <exclusion>
2638                <groupId>org.codehaus.jackson</groupId>
2639                <artifactId>jackson-mapper-asl</artifactId>
2640              </exclusion>
2641             </exclusions>
2642           </dependency>
2643           <dependency>
2644             <groupId>org.apache.hadoop</groupId>
2645             <artifactId>hadoop-client</artifactId>
2646             <version>${hadoop-two.version}</version>
2647           </dependency>
2648           <!-- This was marked as test dep in earlier pom, but was scoped compile.
2649             Where do we actually need it? -->
2650           <dependency>
2651             <groupId>org.apache.hadoop</groupId>
2652             <artifactId>hadoop-minicluster</artifactId>
2653             <version>${hadoop-two.version}</version>
2654             <exclusions>
2655               <exclusion>
2656                 <groupId>org.apache.htrace</groupId>
2657                 <artifactId>htrace-core</artifactId>
2658               </exclusion>
2659               <exclusion>
2660                 <groupId>commons-httpclient</groupId>
2661                 <artifactId>commons-httpclient</artifactId>
2662               </exclusion>
2663               <exclusion>
2664                 <groupId>javax.servlet.jsp</groupId>
2665                 <artifactId>jsp-api</artifactId>
2666               </exclusion>
2667               <exclusion>
2668                 <groupId>javax.servlet</groupId>
2669                 <artifactId>servlet-api</artifactId>
2670               </exclusion>
2671               <exclusion>
2672                 <groupId>stax</groupId>
2673                 <artifactId>stax-api</artifactId>
2674               </exclusion>
2675               <exclusion>
2676                 <groupId>io.netty</groupId>
2677                 <artifactId>netty</artifactId>
2678               </exclusion>
2679               <exclusion>
2680                 <groupId>com.google.code.findbugs</groupId>
2681                 <artifactId>jsr305</artifactId>
2682               </exclusion>
2683             </exclusions>
2684           </dependency>
2685           <dependency>
2686             <groupId>org.apache.hadoop</groupId>
2687             <artifactId>hadoop-minikdc</artifactId>
2688             <version>${hadoop-two.version}</version>
2689             <scope>test</scope>
2690           </dependency>
2691         </dependencies>
2692       </dependencyManagement>
2693     </profile>
2694     <!--
2695       profile for building against Hadoop 3.0.0. Activate using:
2696        mvn -Dhadoop.profile=3.0
2697     -->
2698     <profile>
2699       <id>hadoop-3.0</id>
2700       <activation>
2701         <property>
2702           <name>hadoop.profile</name>
2703           <value>3.0</value>
2704         </property>
2705       </activation>
2706       <modules>
2707         <!--For now, use hadoop2 compat module-->
2708         <module>hbase-hadoop2-compat</module>
2709       </modules>
2710       <properties>
2711         <hadoop.version>${hadoop-three.version}</hadoop.version>
2712         <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2713         <compat.module>hbase-hadoop2-compat</compat.module>
2714         <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2715       </properties>
2716      <dependencyManagement>
2717        <dependencies>
2718          <dependency>
2719            <groupId>org.apache.hadoop</groupId>
2720            <artifactId>hadoop-mapreduce-client-core</artifactId>
2721            <version>${hadoop-three.version}</version>
2722            <exclusions>
2723              <exclusion>
2724                <groupId>io.netty</groupId>
2725                <artifactId>netty</artifactId>
2726              </exclusion>
2727               <exclusion>
2728                 <groupId>javax.inject</groupId>
2729                 <artifactId>javax.inject</artifactId>
2730               </exclusion>
2731               <exclusion>
2732                 <groupId>org.codehaus.jackson</groupId>
2733                 <artifactId>jackson-core-asl</artifactId>
2734               </exclusion>
2735               <exclusion>
2736                 <groupId>org.codehaus.jackson</groupId>
2737                 <artifactId>jackson-mapper-asl</artifactId>
2738               </exclusion>
2739              <exclusion>
2740                <groupId>com.google.guava</groupId>
2741                <artifactId>guava</artifactId>
2742              </exclusion>
2743            </exclusions>
2744          </dependency>
2745          <dependency>
2746            <groupId>org.apache.hadoop</groupId>
2747            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2748            <version>${hadoop-three.version}</version>
2749            <exclusions>
2750              <exclusion>
2751                <groupId>io.netty</groupId>
2752                <artifactId>netty</artifactId>
2753              </exclusion>
2754            </exclusions>
2755          </dependency>
2756          <dependency>
2757            <groupId>org.apache.hadoop</groupId>
2758            <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2759            <version>${hadoop-three.version}</version>
2760            <type>test-jar</type>
2761            <scope>test</scope>
2762            <exclusions>
2763              <exclusion>
2764                <groupId>io.netty</groupId>
2765                <artifactId>netty</artifactId>
2766              </exclusion>
2767            </exclusions>
2768          </dependency>
2769          <dependency>
2770            <groupId>org.apache.hadoop</groupId>
2771            <artifactId>hadoop-hdfs</artifactId>
2772            <version>${hadoop-three.version}</version>
2773            <exclusions>
2774              <exclusion>
2775                <groupId>org.apache.htrace</groupId>
2776                <artifactId>htrace-core</artifactId>
2777              </exclusion>
2778              <exclusion>
2779                <groupId>com.sun.jersey</groupId>
2780                <artifactId>jersey-core</artifactId>
2781              </exclusion>
2782              <exclusion>
2783                <groupId>com.sun.jersey</groupId>
2784                <artifactId>jersey-server</artifactId>
2785              </exclusion>
2786              <exclusion>
2787                <groupId>javax.servlet.jsp</groupId>
2788                <artifactId>jsp-api</artifactId>
2789              </exclusion>
2790              <exclusion>
2791                <groupId>javax.servlet</groupId>
2792                <artifactId>servlet-api</artifactId>
2793              </exclusion>
2794              <exclusion>
2795                <groupId>stax</groupId>
2796                <artifactId>stax-api</artifactId>
2797              </exclusion>
2798              <exclusion>
2799                <groupId>xerces</groupId>
2800                <artifactId>xercesImpl</artifactId>
2801              </exclusion>
2802              <exclusion>
2803                <groupId>org.codehaus.jackson</groupId>
2804                <artifactId>jackson-core-asl</artifactId>
2805              </exclusion>
2806              <exclusion>
2807                <groupId>org.codehaus.jackson</groupId>
2808                <artifactId>jackson-mapper-asl</artifactId>
2809              </exclusion>
2810               <exclusion>
2811                 <groupId>com.google.guava</groupId>
2812                 <artifactId>guava</artifactId>
2813               </exclusion>
2814            </exclusions>
2815          </dependency>
2816          <dependency>
2817            <groupId>org.apache.hadoop</groupId>
2818            <artifactId>hadoop-hdfs</artifactId>
2819            <version>${hadoop-three.version}</version>
2820            <type>test-jar</type>
2821            <scope>test</scope>
2822            <exclusions>
2823              <exclusion>
2824                <groupId>org.apache.htrace</groupId>
2825                <artifactId>htrace-core</artifactId>
2826              </exclusion>
2827              <exclusion>
2828                <groupId>javax.servlet.jsp</groupId>
2829                <artifactId>jsp-api</artifactId>
2830              </exclusion>
2831              <exclusion>
2832                <groupId>javax.servlet</groupId>
2833                <artifactId>servlet-api</artifactId>
2834              </exclusion>
2835              <exclusion>
2836                <groupId>stax</groupId>
2837                <artifactId>stax-api</artifactId>
2838              </exclusion>
2839              <exclusion>
2840                <groupId>xerces</groupId>
2841                <artifactId>xercesImpl</artifactId>
2842              </exclusion>
2843              <exclusion>
2844                <groupId>org.codehaus.jackson</groupId>
2845                <artifactId>jackson-core-asl</artifactId>
2846              </exclusion>
2847              <exclusion>
2848                <groupId>org.codehaus.jackson</groupId>
2849                <artifactId>jackson-mapper-asl</artifactId>
2850              </exclusion>
2851              <exclusion>
2852                <groupId>com.google.guava</groupId>
2853                <artifactId>guava</artifactId>
2854              </exclusion>
2855              <exclusion>
2856                <groupId>com.sun.jersey</groupId>
2857                <artifactId>jersey-core</artifactId>
2858              </exclusion>
2859            </exclusions>
2860          </dependency>
2861          <dependency>
2862            <groupId>org.apache.hadoop</groupId>
2863            <artifactId>hadoop-hdfs</artifactId>
2864            <version>${hadoop-three.version}</version>
2865            <type>test-jar</type>
2866            <classifier>tests</classifier>
2867            <scope>test</scope>
2868            <exclusions>
2869              <exclusion>
2870                <groupId>com.sun.jersey</groupId>
2871                <artifactId>jersey-core</artifactId>
2872              </exclusion>
2873            </exclusions>
2874          </dependency>
2875          <dependency>
2876            <groupId>org.apache.hadoop</groupId>
2877            <artifactId>hadoop-auth</artifactId>
2878            <version>${hadoop-three.version}</version>
2879            <exclusions>
2880              <exclusion>
2881                <groupId>com.google.guava</groupId>
2882                <artifactId>guava</artifactId>
2883              </exclusion>
2884            </exclusions>
2885          </dependency>
2886          <dependency>
2887            <groupId>org.apache.hadoop</groupId>
2888            <artifactId>hadoop-common</artifactId>
2889            <version>${hadoop-three.version}</version>
2890            <exclusions>
2891              <exclusion>
2892                <groupId>com.sun.jersey</groupId>
2893                <artifactId>jersey-core</artifactId>
2894              </exclusion>
2895              <exclusion>
2896                <groupId>com.sun.jersey</groupId>
2897                <artifactId>jersey-json</artifactId>
2898              </exclusion>
2899              <exclusion>
2900                <groupId>com.sun.jersey</groupId>
2901                <artifactId>jersey-servlet</artifactId>
2902              </exclusion>
2903              <exclusion>
2904               <groupId>com.sun.jersey</groupId>
2905                <artifactId>jersey-server</artifactId>
2906              </exclusion>
2907              <exclusion>
2908                <groupId>org.apache.htrace</groupId>
2909                <artifactId>htrace-core</artifactId>
2910              </exclusion>
2911              <exclusion>
2912                <groupId>javax.servlet.jsp</groupId>
2913                <artifactId>jsp-api</artifactId>
2914              </exclusion>
2915              <exclusion>
2916                <groupId>javax.servlet</groupId>
2917                <artifactId>javax.servlet-api</artifactId>
2918              </exclusion>
2919              <exclusion>
2920                <groupId>stax</groupId>
2921                <artifactId>stax-api</artifactId>
2922              </exclusion>
2923              <exclusion>
2924                <groupId>io.netty</groupId>
2925                <artifactId>netty</artifactId>
2926              </exclusion>
2927              <exclusion>
2928                <groupId>com.google.code.findbugs</groupId>
2929                <artifactId>jsr305</artifactId>
2930              </exclusion>
2931              <exclusion>
2932                <groupId>junit</groupId>
2933                <artifactId>junit</artifactId>
2934              </exclusion>
2935              <exclusion>
2936                <groupId>org.codehause.jackson</groupId>
2937                <artifactId>jackson-core-asl</artifactId>
2938              </exclusion>
2939              <exclusion>
2940                <groupId>org.codehause.jackson</groupId>
2941                <artifactId>jackson-mapper-asl</artifactId>
2942              </exclusion>
2943            </exclusions>
2944          </dependency>
2945          <dependency>
2946            <groupId>org.apache.hadoop</groupId>
2947            <artifactId>hadoop-common</artifactId>
2948            <type>test-jar</type>
2949            <classifier>tests</classifier>
2950            <version>${hadoop-three.version}</version>
2951            <exclusions>
2952              <exclusion>
2953                <groupId>com.sun.jersey</groupId>
2954                <artifactId>jersey-core</artifactId>
2955              </exclusion>
2956            </exclusions>
2957          </dependency>
2958          <dependency>
2959            <groupId>org.apache.hadoop</groupId>
2960            <artifactId>hadoop-client</artifactId>
2961            <version>${hadoop-three.version}</version>
2962          </dependency>
2963          <dependency>
2964            <groupId>org.apache.hadoop</groupId>
2965            <artifactId>hadoop-annotations</artifactId>
2966            <version>${hadoop-three.version}</version>
2967          </dependency>
2968          <!-- This was marked as test dep in earlier pom, but was scoped compile.
2969            Where do we actually need it? -->
2970          <dependency>
2971            <groupId>org.apache.hadoop</groupId>
2972            <artifactId>hadoop-minicluster</artifactId>
2973            <version>${hadoop-three.version}</version>
2974            <exclusions>
2975              <exclusion>
2976                <groupId>org.apache.htrace</groupId>
2977                <artifactId>htrace-core</artifactId>
2978              </exclusion>
2979              <exclusion>
2980                <groupId>commons-httpclient</groupId>
2981                <artifactId>commons-httpclient</artifactId>
2982              </exclusion>
2983              <exclusion>
2984                <groupId>javax.servlet.jsp</groupId>
2985                <artifactId>jsp-api</artifactId>
2986              </exclusion>
2987              <exclusion>
2988                <groupId>javax.servlet</groupId>
2989                <artifactId>servlet-api</artifactId>
2990              </exclusion>
2991              <exclusion>
2992                <groupId>stax</groupId>
2993                <artifactId>stax-api</artifactId>
2994              </exclusion>
2995              <exclusion>
2996                <groupId>io.netty</groupId>
2997                <artifactId>netty</artifactId>
2998              </exclusion>
2999              <exclusion>
3000                <groupId>com.google.code.findbugs</groupId>
3001                <artifactId>jsr305</artifactId>
3002              </exclusion>
3003            </exclusions>
3004          </dependency>
3005          <dependency>
3006            <groupId>org.apache.hadoop</groupId>
3007            <artifactId>hadoop-yarn-server-nodemanager</artifactId>
3008            <version>${hadoop-three.version}</version>
3009            <exclusions>
3010              <exclusion>
3011                <groupId>com.sun.jersey</groupId>
3012                <artifactId>jersey-core</artifactId>
3013              </exclusion>
3014            </exclusions>
3015          </dependency>
3016          <dependency>
3017            <groupId>org.apache.hadoop</groupId>
3018            <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
3019            <version>${hadoop-three.version}</version>
3020            <exclusions>
3021              <exclusion>
3022                <groupId>com.sun.jersey</groupId>
3023                <artifactId>jersey-core</artifactId>
3024              </exclusion>
3025            </exclusions>
3026          </dependency>
3027          <dependency>
3028            <groupId>org.apache.hadoop</groupId>
3029            <artifactId>hadoop-yarn-server-timelineservice</artifactId>
3030            <version>${hadoop-three.version}</version>
3031            <exclusions>
3032              <exclusion>
3033                <groupId>javax.ws.rs</groupId>
3034                <artifactId>jsr311-api</artifactId>
3035              </exclusion>
3036            </exclusions>
3037          </dependency>
3038          <dependency>
3039            <groupId>org.apache.hadoop</groupId>
3040            <artifactId>hadoop-yarn-common</artifactId>
3041            <version>${hadoop-three.version}</version>
3042            <exclusions>
3043              <exclusion>
3044                <groupId>com.sun.jersey</groupId>
3045                <artifactId>jersey-core</artifactId>
3046              </exclusion>
3047            </exclusions>
3048          </dependency>
3049          <dependency>
3050             <groupId>org.apache.hadoop</groupId>
3051             <artifactId>hadoop-minikdc</artifactId>
3052             <version>${hadoop-three.version}</version>
3053             <scope>test</scope>
3054           </dependency>
3055        </dependencies>
3056      </dependencyManagement>
3058     </profile>
3059     <!-- profiles for the tests
3060          See as well the properties of the project for the values
3061          when no profile is active.     -->
3062     <profile>
3063       <!-- Use it to launch all tests in the same JVM  -->
3064       <id>singleJVMTests</id>
3065       <activation>
3066         <activeByDefault>false</activeByDefault>
3067       </activation>
3068       <properties>
3069         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3070         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3071         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3072         <surefire.firstPartGroups/>
3073       </properties>
3074     </profile>
3075     <profile>
3076       <!-- Use it to launch small tests only -->
3077       <id>runSmallTests</id>
3078       <activation>
3079         <activeByDefault>false</activeByDefault>
3080       </activation>
3081       <properties>
3082         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3083         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3084         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3085         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3086         <surefire.secondPartGroups/>
3087       </properties>
3088     </profile>
3089     <profile>
3090       <!-- Use it to launch medium tests only -->
3091       <id>runMediumTests</id>
3092       <activation>
3093         <activeByDefault>false</activeByDefault>
3094       </activation>
3095       <properties>
3096         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3097         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3098         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3099         <surefire.secondPartGroups/>
3100       </properties>
3101     </profile>
3102     <profile>
3103       <!-- Use it to launch large tests only -->
3104       <id>runLargeTests</id>
3105       <activation>
3106         <activeByDefault>false</activeByDefault>
3107       </activation>
3108       <properties>
3109         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3110         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3111         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3112         <surefire.secondPartGroups/>
3113       </properties>
3114     </profile>
3115     <profile>
3116       <!-- Use it to launch small & medium tests -->
3117       <id>runDevTests</id>
3118       <activation>
3119         <activeByDefault>false</activeByDefault>
3120       </activation>
3121       <properties>
3122         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3123         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3124         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3125         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3126         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3127       </properties>
3128     </profile>
3129     <profile>
3130       <!-- Use it to launch all tests -->
3131       <id>runAllTests</id>
3132       <activation>
3133         <activeByDefault>false</activeByDefault>
3134       </activation>
3135       <properties>
3136         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3137         <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3138         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3139         <surefire.skipSecondPart>false</surefire.skipSecondPart>
3140         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3141         <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3142       </properties>
3143     </profile>
3144     <profile>
3145       <id>runMiscTests</id>
3146       <activation>
3147         <activeByDefault>false</activeByDefault>
3148       </activation>
3149       <properties>
3150         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3151         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3152         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3153         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3154         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3155         </surefire.firstPartGroups>
3156         <surefire.secondPartGroups></surefire.secondPartGroups>
3157       </properties>
3158     </profile>
3159     <profile>
3160       <id>runCoprocessorTests</id>
3161       <activation>
3162         <activeByDefault>false</activeByDefault>
3163       </activation>
3164       <properties>
3165         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3166         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3167         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3168         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3169         <surefire.firstPartGroups>
3170           org.apache.hadoop.hbase.testclassification.CoprocessorTests
3171         </surefire.firstPartGroups>
3172         <surefire.secondPartGroups></surefire.secondPartGroups>
3173       </properties>
3174     </profile>
3175     <profile>
3176       <id>runClientTests</id>
3177       <activation>
3178         <activeByDefault>false</activeByDefault>
3179       </activation>
3180       <properties>
3181         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3182         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3183         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3184         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3185         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3186         </surefire.firstPartGroups>
3187         <surefire.secondPartGroups></surefire.secondPartGroups>
3188       </properties>
3189     </profile>
3190     <profile>
3191       <id>runMasterTests</id>
3192       <activation>
3193         <activeByDefault>false</activeByDefault>
3194       </activation>
3195       <properties>
3196         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3197         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3198         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3199         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3200         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3201         </surefire.firstPartGroups>
3202         <surefire.secondPartGroups></surefire.secondPartGroups>
3203       </properties>
3204     </profile>
3205     <profile>
3206       <id>runMapredTests</id>
3207       <activation>
3208         <activeByDefault>false</activeByDefault>
3209       </activation>
3210       <properties>
3211         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3212         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3213         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3214         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3215         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3216         </surefire.firstPartGroups>
3217         <surefire.secondPartGroups></surefire.secondPartGroups>
3218       </properties>
3219     </profile>
3220     <profile>
3221       <id>runMapreduceTests</id>
3222       <activation>
3223         <activeByDefault>false</activeByDefault>
3224       </activation>
3225       <properties>
3226         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3227         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3228         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3229         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3230         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3231         </surefire.firstPartGroups>
3232         <surefire.secondPartGroups></surefire.secondPartGroups>
3233       </properties>
3234     </profile>
3235     <profile>
3236       <id>runRegionServerTests</id>
3237       <activation>
3238         <activeByDefault>false</activeByDefault>
3239       </activation>
3240       <properties>
3241         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3242         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3243         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3244         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3245         <surefire.firstPartGroups>
3246           org.apache.hadoop.hbase.testclassification.RegionServerTests
3247         </surefire.firstPartGroups>
3248         <surefire.secondPartGroups></surefire.secondPartGroups>
3249       </properties>
3250     </profile>
3251     <profile>
3252       <id>runVerySlowMapReduceTests</id>
3253       <activation>
3254         <activeByDefault>false</activeByDefault>
3255       </activation>
3256       <properties>
3257         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3258         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3259         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3260         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3261         <surefire.firstPartGroups>
3262           org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3263         </surefire.firstPartGroups>
3264         <surefire.secondPartGroups></surefire.secondPartGroups>
3265       </properties>
3266     </profile>
3268     <profile>
3269       <id>runVerySlowRegionServerTests</id>
3270       <activation>
3271         <activeByDefault>false</activeByDefault>
3272       </activation>
3273       <properties>
3274         <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3275         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3276         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3277         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3278         <surefire.firstPartGroups>
3279           org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3280         </surefire.firstPartGroups>
3281         <surefire.secondPartGroups></surefire.secondPartGroups>
3282       </properties>
3283     </profile>
3285     <profile>
3286       <id>runFilterTests</id>
3287       <activation>
3288         <activeByDefault>false</activeByDefault>
3289       </activation>
3290       <properties>
3291         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3292         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3293         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3294         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3295         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3296         </surefire.firstPartGroups>
3297         <surefire.secondPartGroups></surefire.secondPartGroups>
3298       </properties>
3299     </profile>
3300     <profile>
3301       <id>runIOTests</id>
3302       <activation>
3303         <activeByDefault>false</activeByDefault>
3304       </activation>
3305       <properties>
3306         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3307         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3308         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3309         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3310         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3311         </surefire.firstPartGroups>
3312         <surefire.secondPartGroups></surefire.secondPartGroups>
3313       </properties>
3314     </profile>
3315     <profile>
3316       <id>runRestTests</id>
3317       <activation>
3318         <activeByDefault>false</activeByDefault>
3319       </activation>
3320       <properties>
3321         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3322         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3323         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3324         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3325         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3326         </surefire.firstPartGroups>
3327         <surefire.secondPartGroups></surefire.secondPartGroups>
3328       </properties>
3329     </profile>
3330     <profile>
3331       <id>runRPCTests</id>
3332       <activation>
3333         <activeByDefault>false</activeByDefault>
3334       </activation>
3335       <properties>
3336         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3337         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3338         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3339         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3340         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3341         </surefire.firstPartGroups>
3342         <surefire.secondPartGroups></surefire.secondPartGroups>
3343       </properties>
3344     </profile>
3345     <profile>
3346       <id>runReplicationTests</id>
3347       <activation>
3348         <activeByDefault>false</activeByDefault>
3349       </activation>
3350       <properties>
3351         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3352         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3353         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3354         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3355         <surefire.firstPartGroups>
3356           org.apache.hadoop.hbase.testclassification.ReplicationTests
3357         </surefire.firstPartGroups>
3358         <surefire.secondPartGroups></surefire.secondPartGroups>
3359       </properties>
3360     </profile>
3361     <profile>
3362       <id>runSecurityTests</id>
3363       <activation>
3364         <activeByDefault>false</activeByDefault>
3365       </activation>
3366       <properties>
3367         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3368         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3369         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3370         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3371         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3372         </surefire.firstPartGroups>
3373         <surefire.secondPartGroups></surefire.secondPartGroups>
3374       </properties>
3375     </profile>
3376     <profile>
3377       <id>runFlakeyTests</id>
3378       <activation>
3379         <activeByDefault>false</activeByDefault>
3380       </activation>
3381       <properties>
3382         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3383         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3384         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3385         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3386         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3387         </surefire.firstPartGroups>
3388         <surefire.secondPartGroups></surefire.secondPartGroups>
3389       </properties>
3390     </profile>
3391     <profile>
3392       <id>runZKTests</id>
3393       <activation>
3394         <activeByDefault>false</activeByDefault>
3395       </activation>
3396       <properties>
3397         <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3398         <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3399         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3400         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3401         <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3402         </surefire.firstPartGroups>
3403         <surefire.secondPartGroups></surefire.secondPartGroups>
3404       </properties>
3405     </profile>
3407     <profile>
3408       <!-- Use it to launch tests locally-->
3409       <id>localTests</id>
3410       <activation>
3411         <property>
3412           <name>test</name>
3413         </property>
3414       </activation>
3415       <properties>
3416         <surefire.provider>surefire-junit4</surefire.provider>
3417         <surefire.skipFirstPart>false</surefire.skipFirstPart>
3418         <surefire.skipSecondPart>true</surefire.skipSecondPart>
3419         <surefire.firstPartGroups/>
3420       </properties>
3421     </profile>
3422     <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3423          or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3424          the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3425          The report will be generated under target/site/clover/index.html when you run
3426          MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3427     <profile>
3428       <id>clover</id>
3429       <activation>
3430         <activeByDefault>false</activeByDefault>
3431         <property>
3432           <name>clover</name>
3433         </property>
3434       </activation>
3435       <properties>
3436         <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3437       </properties>
3438       <build>
3439         <plugins>
3440         <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3441              our instrumented classes for the doclet will fail
3442           -->
3443           <plugin>
3444             <groupId>org.apache.maven.plugins</groupId>
3445             <artifactId>maven-javadoc-plugin</artifactId>
3446             <dependencies>
3447               <dependency>
3448                 <groupId>com.atlassian.maven.plugins</groupId>
3449                 <artifactId>maven-clover2-plugin</artifactId>
3450                 <version>${clover.version}</version>
3451               </dependency>
3452             </dependencies>
3453           </plugin>
3454           <plugin>
3455             <groupId>com.atlassian.maven.plugins</groupId>
3456             <artifactId>maven-clover2-plugin</artifactId>
3457             <version>${clover.version}</version>
3458             <configuration>
3459               <includesAllSourceRoots>true</includesAllSourceRoots>
3460               <includesTestSourceRoots>true</includesTestSourceRoots>
3461               <targetPercentage>50%</targetPercentage>
3462               <generateHtml>true</generateHtml>
3463               <generateXml>true</generateXml>
3464               <excludes>
3465                 <exclude>**/generated/**</exclude>
3466               </excludes>
3467             </configuration>
3468             <executions>
3469               <execution>
3470                 <id>clover-setup</id>
3471                 <phase>process-sources</phase>
3472                 <goals>
3473                   <goal>setup</goal>
3474                 </goals>
3475               </execution>
3476               <execution>
3477                 <id>clover</id>
3478                 <phase>site</phase>
3479                 <goals>
3480                   <goal>clover</goal>
3481                 </goals>
3482               </execution>
3483             </executions>
3484           </plugin>
3485         </plugins>
3486       </build>
3487     </profile>
3488   </profiles>
3489   <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3490   <reporting>
3491     <plugins>
3492       <plugin>
3493         <artifactId>maven-project-info-reports-plugin</artifactId>
3494         <reportSets>
3495           <reportSet>
3496             <reports>
3497               <report>cim</report>
3498               <report>dependencies</report>
3499               <report>dependency-convergence</report>
3500               <report>dependency-info</report>
3501               <report>dependency-management</report>
3502               <report>index</report>
3503               <report>issue-tracking</report>
3504               <report>license</report>
3505               <report>mailing-list</report>
3506               <report>plugin-management</report>
3507               <report>plugins</report>
3508               <report>project-team</report>
3509               <report>scm</report>
3510               <report>summary</report>
3511             </reports>
3512           </reportSet>
3513         </reportSets>
3514         <!-- see src/site/site.xml for selected reports -->
3515         <configuration>
3516           <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3517         </configuration>
3518       </plugin>
3520       <plugin>
3521         <groupId>org.apache.maven.plugins</groupId>
3522         <artifactId>maven-javadoc-plugin</artifactId>
3523         <reportSets>
3524           <!-- Dev API -->
3525           <reportSet>
3526             <id>devapi</id>
3527             <reports>
3528               <report>aggregate</report>
3529             </reports>
3530             <configuration>
3531               <destDir>devapidocs</destDir>
3532               <name>Developer API</name>
3533               <description>The full HBase API, including private and unstable APIs</description>
3534               <sourceFileExcludes>
3535                 <exclude>**/generated/*</exclude>
3536                 <exclude>**/protobuf/*</exclude>
3537                 <exclude>**/*.scala</exclude>
3538               </sourceFileExcludes>
3539               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3540               <show>private</show> <!-- (shows all classes and members) -->
3541               <quiet>true</quiet>
3542               <linksource>true</linksource>
3543               <sourcetab>2</sourcetab>
3544               <validateLinks>true</validateLinks>
3545               <fixClassComment>true</fixClassComment>
3546               <fixFieldComment>true</fixFieldComment>
3547               <fixMethodComment>true</fixMethodComment>
3548               <fixTags>all</fixTags>
3549               <notimestamp>true</notimestamp>
3550               <!-- Pass some options straight to the javadoc executable since it is easier -->
3551               <additionalJOption>-J-Xmx2G</additionalJOption>
3552               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3553               <additionalDependencies>
3554                 <additionalDependency>
3555                   <groupId>org.mockito</groupId>
3556                   <artifactId>mockito-core</artifactId>
3557                   <version>${mockito-core.version}</version>
3558                 </additionalDependency>
3559                 <additionalDependency>
3560                   <groupId>org.hamcrest</groupId>
3561                   <artifactId>hamcrest-core</artifactId>
3562                   <version>${hamcrest.version}</version>
3563                 </additionalDependency>
3564               </additionalDependencies>
3565               <inherited>false</inherited>
3566             </configuration>
3567           </reportSet>
3568           <reportSet>
3569             <id>testdevapi</id>
3570             <reports>
3571               <report>test-aggregate</report>
3572             </reports>
3573             <configuration>
3574               <destDir>testdevapidocs</destDir>
3575               <name>Developer API</name>
3576               <description>The full HBase API test code, including private and unstable APIs</description>
3577               <sourceFileExcludes>
3578                 <exclude>**/generated/*</exclude>
3579                 <exclude>**/protobuf/*</exclude>
3580                 <exclude>**/*.scala</exclude>
3581               </sourceFileExcludes>
3582               <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3583               <show>private</show> <!-- (shows all classes and members) -->
3584               <quiet>true</quiet>
3585               <linksource>true</linksource>
3586               <sourcetab>2</sourcetab>
3587               <validateLinks>true</validateLinks>
3588               <fixClassComment>true</fixClassComment>
3589               <fixFieldComment>true</fixFieldComment>
3590               <fixMethodComment>true</fixMethodComment>
3591               <fixTags>all</fixTags>
3592               <notimestamp>true</notimestamp>
3593               <!-- Pass some options straight to the javadoc executable since it is easier -->
3594               <additionalJOption>-J-Xmx2G</additionalJOption>
3595               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3596               <additionalDependencies>
3597                 <additionalDependency>
3598                   <groupId>org.mockito</groupId>
3599                   <artifactId>mockito-core</artifactId>
3600                   <version>${mockito-core.version}</version>
3601                 </additionalDependency>
3602                 <additionalDependency>
3603                   <groupId>org.hamcrest</groupId>
3604                   <artifactId>hamcrest-core</artifactId>
3605                   <version>${hamcrest.version}</version>
3606                 </additionalDependency>
3607               </additionalDependencies>
3608               <inherited>false</inherited>
3609             </configuration>
3610           </reportSet>
3612           <!-- User API -->
3613           <reportSet>
3614             <id>userapi</id>
3615             <reports>
3616               <report>aggregate</report>
3617             </reports>
3618             <configuration>
3619               <doclet>
3620                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3621               </doclet>
3622               <docletArtifact>
3623                 <groupId>org.apache.yetus</groupId>
3624                 <artifactId>audience-annotations</artifactId>
3625                 <version>${audience-annotations.version}</version>
3626               </docletArtifact>
3627               <useStandardDocletOptions>true</useStandardDocletOptions>
3628               <destDir>apidocs</destDir>
3629               <name>User API</name>
3630               <description>The HBase Application Programmer's API</description>
3631               <excludePackageNames>
3632                 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*
3633               </excludePackageNames>
3634               <!-- switch on dependency-driven aggregation -->
3635               <includeDependencySources>false</includeDependencySources>
3636               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3637               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3638               <quiet>true</quiet>
3639               <linksource>true</linksource>
3640               <sourcetab>2</sourcetab>
3641               <validateLinks>true</validateLinks>
3642               <fixClassComment>true</fixClassComment>
3643               <fixFieldComment>true</fixFieldComment>
3644               <fixMethodComment>true</fixMethodComment>
3645               <fixTags>all</fixTags>
3646               <notimestamp>true</notimestamp>
3647               <!-- Pass some options straight to the javadoc executable since it is easier -->
3648               <additionalJOption>-J-Xmx2G</additionalJOption>
3649               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3650               <additionalDependencies>
3651                 <additionalDependency>
3652                   <groupId>org.mockito</groupId>
3653                   <artifactId>mockito-core</artifactId>
3654                   <version>${mockito-core.version}</version>
3655                 </additionalDependency>
3656                 <additionalDependency>
3657                   <groupId>org.hamcrest</groupId>
3658                   <artifactId>hamcrest-core</artifactId>
3659                   <version>${hamcrest.version}</version>
3660                 </additionalDependency>
3661               </additionalDependencies>
3662               <inherited>false</inherited>
3663             </configuration>
3664           </reportSet>
3665           <!-- User Test API -->
3666           <reportSet>
3667             <id>testuserapi</id>
3668             <reports>
3669               <report>test-aggregate</report>
3670             </reports>
3671             <configuration>
3672               <doclet>
3673                 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3674               </doclet>
3675               <docletArtifact>
3676                 <groupId>org.apache.yetus</groupId>
3677                 <artifactId>audience-annotations</artifactId>
3678                 <version>${audience-annotations.version}</version>
3679               </docletArtifact>
3680               <useStandardDocletOptions>true</useStandardDocletOptions>
3681               <destDir>testapidocs</destDir>
3682               <name>User API</name>
3683               <description>The HBase Application Programmer's API</description>
3684               <excludePackageNames>
3685                 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*
3686               </excludePackageNames>
3687               <!-- switch on dependency-driven aggregation -->
3688               <includeDependencySources>false</includeDependencySources>
3689               <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3690               <show>protected</show> <!-- (shows only public and protected classes and members) -->
3691               <quiet>true</quiet>
3692               <linksource>true</linksource>
3693               <sourcetab>2</sourcetab>
3694               <validateLinks>true</validateLinks>
3695               <fixClassComment>true</fixClassComment>
3696               <fixFieldComment>true</fixFieldComment>
3697               <fixMethodComment>true</fixMethodComment>
3698               <fixTags>all</fixTags>
3699               <notimestamp>true</notimestamp>
3700               <!-- Pass some options straight to the javadoc executable since it is easier -->
3701               <additionalJOption>-J-Xmx2G</additionalJOption>
3702               <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3703               <additionalDependencies>
3704                 <additionalDependency>
3705                   <groupId>org.mockito</groupId>
3706                   <artifactId>mockito-core</artifactId>
3707                   <version>${mockito-core.version}</version>
3708                 </additionalDependency>
3709                 <additionalDependency>
3710                   <groupId>org.hamcrest</groupId>
3711                   <artifactId>hamcrest-core</artifactId>
3712                   <version>${hamcrest.version}</version>
3713                 </additionalDependency>
3714               </additionalDependencies>
3715               <inherited>false</inherited>
3716             </configuration>
3717           </reportSet>
3718         </reportSets>
3719       </plugin>
3721       <plugin>
3722         <groupId>org.apache.maven.plugins</groupId>
3723         <artifactId>maven-checkstyle-plugin</artifactId>
3724         <configuration>
3725           <excludes>target/**</excludes>
3726         </configuration>
3727       </plugin>
3729       <plugin>
3730         <groupId>org.scala-tools</groupId>
3731         <artifactId>maven-scala-plugin</artifactId>
3732       </plugin>
3733     </plugins>
3734   </reporting>
3735   <distributionManagement>
3736     <site>
3737       <id>hbase.apache.org</id>
3738       <name>HBase Website at hbase.apache.org</name>
3739       <!-- On why this is the tmp dir and not hbase.apache.org, see
3740                https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3741                -->
3742       <url>file:///tmp</url>
3743     </site>
3744   </distributionManagement>
3745   <repositories>
3746     <repository>
3747         <id>project.local</id>
3748         <name>project</name>
3749         <url>file:${project.basedir}/src/site/resources/repo</url>
3750     </repository>
3751 </repositories>
3752 </project>