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