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