1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
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.
31 <modelVersion>4.0.0</modelVersion>
33 <groupId>org.apache</groupId>
34 <artifactId>apache</artifactId>
37 <!-- no parent resolution -->
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>
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.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-mapreduce</module>
67 <module>hbase-resource-bundle</module>
68 <module>hbase-http</module>
69 <module>hbase-server</module>
70 <module>hbase-thrift</module>
71 <module>hbase-shell</module>
72 <module>hbase-protocol-shaded</module>
73 <module>hbase-client</module>
74 <module>hbase-hadoop-compat</module>
75 <module>hbase-common</module>
76 <module>hbase-procedure</module>
77 <module>hbase-endpoint</module>
78 <module>hbase-it</module>
79 <module>hbase-examples</module>
80 <module>hbase-assembly</module>
81 <module>hbase-testing-util</module>
82 <module>hbase-annotations</module>
83 <module>hbase-rest</module>
84 <module>hbase-checkstyle</module>
85 <module>hbase-external-blockcache</module>
86 <module>hbase-shaded</module>
87 <module>hbase-archetypes</module>
88 <module>hbase-metrics-api</module>
89 <module>hbase-metrics</module>
90 <module>hbase-backup</module>
91 <module>hbase-zookeeper</module>
92 <module>hbase-hbtop</module>
95 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
96 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
97 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
100 <system>JIRA</system>
101 <url>https://issues.apache.org/jira/browse/HBASE</url>
105 <name>User List</name>
106 <subscribe>user-subscribe@hbase.apache.org</subscribe>
107 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
108 <post>user@hbase.apache.org</post>
109 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
111 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
112 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
116 <name>Developer List</name>
117 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
118 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
119 <post>dev@hbase.apache.org</post>
120 <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
122 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
123 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
145 <name>User (ZH) List</name>
146 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
147 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
148 <post>user-zh@hbase.apache.org</post>
149 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
155 <name>Abhishek Singh Chouhan</name>
156 <email>achouhan@apache.org</email>
157 <timezone>+5</timezone>
161 <name>Amitanand S. Aiyer</name>
162 <email>acube123@apache.org</email>
163 <timezone>-8</timezone>
167 <name>Allan Yang</name>
168 <email>allan163@apache.org</email>
169 <timezone>+8</timezone>
173 <name>Apekshit Sharma</name>
174 <email>appy@apache.org</email>
175 <timezone>-8</timezone>
179 <name>Anastasia Braginsky</name>
180 <email>anastasia@apache.org</email>
181 <timezone>+2</timezone>
185 <name>Andrew Purtell</name>
186 <email>apurtell@apache.org</email>
187 <timezone>-8</timezone>
190 <id>anoopsamjohn</id>
191 <name>Anoop Sam John</name>
192 <email>anoopsamjohn@apache.org</email>
193 <timezone>+5</timezone>
197 <name>Mikhail Antonov</name>
198 <email>antonov@apache.org</email>
199 <timezone>-8</timezone>
202 <id>ashishsinghi</id>
203 <name>Ashish Singhi</name>
204 <email>ashishsinghi@apache.org</email>
205 <timezone>+5</timezone>
209 <name>Ashu Pachauri</name>
210 <email>ashu@apache.org</email>
211 <timezone>+5</timezone>
215 <name>Bharath Vissapragada</name>
216 <email>bharathv@apache.org</email>
217 <timezone>-8</timezone>
221 <name>Lijin Bin</name>
222 <email>binlijin@apache.org</email>
223 <timezone>+8</timezone>
227 <name>Toshihiro Suzuki</name>
228 <email>brfrn169@apache.org</email>
229 <timezone>+9</timezone>
233 <name>Sean Busbey</name>
234 <email>busbey@apache.org</email>
235 <timezone>-6</timezone>
239 <name>Heng Chen</name>
240 <email>chenheng@apache.org</email>
241 <timezone>+8</timezone>
245 <name>Chia-Ping Tsai</name>
246 <email>chia7712@apache.org</email>
247 <timezone>+8</timezone>
251 <name>Devaraj Das</name>
252 <email>ddas@apache.org</email>
253 <timezone>-8</timezone>
257 <name>Dima Spivak</name>
258 <email>dimaspivak@apache.org</email>
259 <timezone>-8</timezone>
263 <name>Doug Meil</name>
264 <email>dmeil@apache.org</email>
265 <timezone>-5</timezone>
269 <name>Elliott Clark</name>
270 <email>eclark@apache.org</email>
271 <timezone>-8</timezone>
275 <name>Josh Elser</name>
276 <email>elserj@apache.org</email>
277 <timezone>-5</timezone>
281 <name>Enis Soztutar</name>
282 <email>enis@apache.org</email>
283 <timezone>-8</timezone>
287 <name>Eshcar Hillel</name>
288 <email>eshcar@apache.org</email>
289 <timezone>+2</timezone>
293 <name>Honghua Feng</name>
294 <email>fenghh@apache.org</email>
295 <timezone>+8</timezone>
299 <name>Gary Helmling</name>
300 <email>garyh@apache.org</email>
301 <timezone>-8</timezone>
305 <name>Gregory Chanan</name>
306 <email>gchanan@apache.org</email>
307 <timezone>-8</timezone>
311 <name>Guangxu Cheng</name>
312 <email>gxcheng@apache.org</email>
313 <timezone>+8</timezone>
317 <name>Huaxiang Sun</name>
318 <email>huaxiangsun@apache.org</email>
319 <timezone>-8</timezone>
323 <name>Jean-Daniel Cryans</name>
324 <email>jdcryans@apache.org</email>
325 <timezone>-8</timezone>
329 <name>Jeffrey Zhong</name>
330 <email>jeffreyz@apache.org</email>
331 <timezone>-8</timezone>
335 <name>Jing Chen (Jerry) He</name>
336 <email>jerryjch@apache.org</email>
337 <timezone>-8</timezone>
341 <name>Jesse Yates</name>
342 <email>jyates@apache.org</email>
343 <timezone>-8</timezone>
347 <name>Jonathan Gray</name>
348 <email>jgray@fb.com</email>
349 <timezone>-8</timezone>
353 <name>Jingcheng Du</name>
354 <email>jingchengdu@apache.org</email>
355 <timezone>+8</timezone>
359 <name>Esteban Gutierrez</name>
360 <email>esteban@apache.org</email>
361 <timezone>-8</timezone>
365 <name>Jan Hentschel</name>
366 <email>janh@apache.org</email>
367 <timezone>+1</timezone>
371 <name>Jonathan Hsieh</name>
372 <email>jmhsieh@apache.org</email>
373 <timezone>-8</timezone>
377 <name>Jimmy Xiang</name>
378 <email>jxiang@apache.org</email>
379 <timezone>-8</timezone>
383 <name>Kannan Muthukkaruppan</name>
384 <email>kannan@fb.com</email>
385 <timezone>-8</timezone>
389 <name>Karthik Ranganathan</name>
390 <email>kranganathan@fb.com</email>
391 <timezone>-8</timezone>
395 <name>Lars Francke</name>
396 <email>larsfrancke@apache.org</email>
397 <timezone>Europe/Berlin</timezone>
401 <name>Lars George</name>
402 <email>larsgeorge@apache.org</email>
403 <timezone>+1</timezone>
407 <name>Lars Hofhansl</name>
408 <email>larsh@apache.org</email>
409 <timezone>-8</timezone>
413 <name>Liang Xie</name>
414 <email>liangxie@apache.org</email>
415 <timezone>+8</timezone>
419 <name>Shaohui Liu</name>
420 <email>liushaohui@apache.org</email>
421 <timezone>+8</timezone>
425 <name>Liyin Tang</name>
426 <email>liyin.tang@fb.com</email>
427 <timezone>-8</timezone>
432 <email>liyu@apache.org</email>
433 <timezone>+8</timezone>
437 <name>Mikhail Bautin</name>
438 <email>mbautin@apache.org</email>
439 <timezone>-8</timezone>
443 <name>Matteo Bertozzi</name>
444 <email>mbertozzi@apache.org</email>
445 <timezone>0</timezone>
449 <name>Mike Drob</name>
450 <email>mdrob@apache.org</email>
451 <timezone>-5</timezone>
455 <name>Balazs Meszaros</name>
456 <email>meszibalu@apache.org</email>
457 <timezone>+1</timezone>
461 <name>Misty Stanley-Jones</name>
462 <email>misty@apache.org</email>
463 <timezone>-8</timezone>
467 <name>Nick Dimiduk</name>
468 <email>ndimiduk@apache.org</email>
469 <timezone>-8</timezone>
473 <name>Nicolas Liochon</name>
474 <email>nkeywal@apache.org</email>
475 <timezone>+1</timezone>
478 <id>nspiegelberg</id>
479 <name>Nicolas Spiegelberg</name>
480 <email>nspiegelberg@fb.com</email>
481 <timezone>-8</timezone>
485 <name>Andrey Stepachev</name>
486 <email>octo47@gmail.com</email>
487 <timezone>0</timezone>
491 <name>Zheng Hu</name>
492 <email>openinx@apache.org</email>
493 <timezone>+8</timezone>
497 <name>Pankaj Kumar</name>
498 <email>pankajkumar@apache.org</email>
499 <timezone>+5</timezone>
503 <name>Peter Somogyi</name>
504 <email>psomogyi@apache.org</email>
505 <timezone>+1</timezone>
509 <name>Rajeshbabu Chintaguntla</name>
510 <email>rajeshbabu@apache.org</email>
511 <timezone>+5</timezone>
515 <name>Ramkrishna S Vasudevan</name>
516 <email>ramkrishna@apache.org</email>
517 <timezone>+5</timezone>
521 <name>Ryan Rawson</name>
522 <email>rawson@apache.org</email>
523 <timezone>-8</timezone>
527 <name>Reid Chan</name>
528 <email>reidchan@apache.org</email>
529 <timezone>+8</timezone>
533 <name>Sakthi Vel</name>
534 <email>sakthi@apache.org</email>
535 <timezone>-8</timezone>
539 <name>Sergey Shelukhin</name>
540 <email>sershe@apache.org</email>
541 <timezone>-8</timezone>
545 <name>Srikanth Srungarapu</name>
546 <email>ssrungarapu@apache.org</email>
547 <timezone>-8</timezone>
551 <name>Michael Stack</name>
552 <email>stack@apache.org</email>
553 <timezone>-8</timezone>
557 <name>Stephen Yuan Jiang</name>
558 <email>syuanjiang@apache.org</email>
559 <timezone>-8</timezone>
563 <name>Tak-Lon (Stephen) Wu</name>
564 <email>taklwu@apache.org</email>
565 <timezone>-8</timezone>
570 <email>yuzhihong@gmail.com</email>
571 <timezone>-8</timezone>
575 <email>tianjy@apache.org</email>
576 <timezone>+8</timezone>
580 <name>Todd Lipcon</name>
581 <email>todd@apache.org</email>
582 <timezone>-8</timezone>
586 <name>Francis Liu</name>
587 <email>toffer@apache.org</email>
588 <timezone>-8</timezone>
592 <name>Vikas Vishwakarma</name>
593 <email>vikasv@apache.org</email>
594 <timezone>+5</timezone>
598 <name>Virag Kothari</name>
599 <email>virag@yahoo-inc.com</email>
600 <timezone>-8</timezone>
604 <name>Viraj Jasani</name>
605 <email>vjasani@apache.org</email>
606 <timezone>+5</timezone>
610 <name>Xiang Li</name>
611 <email>xiangli@apache.org</email>
612 <timezone>+8</timezone>
616 <name>Wellington Chevreuil</name>
617 <email>wchevreuil@apache.org</email>
618 <timezone>0</timezone>
623 <email>xucang@apache.org</email>
624 <timezone>-8</timezone>
628 <name>Phil Yang</name>
629 <email>yangzhe1991@apache.org</email>
630 <timezone>+8</timezone>
634 <name>Guanghao Zhang</name>
635 <email>zghao@apache.org</email>
636 <timezone>+8</timezone>
640 <name>Duo Zhang</name>
641 <email>zhangduo@apache.org</email>
642 <timezone>+8</timezone>
646 <name>Chunhui Shen</name>
647 <email>zjushch@apache.org</email>
648 <timezone>+8</timezone>
652 <name>Rahul Gidwani</name>
653 <email>churro@apache.org</email>
654 <timezone>-8</timezone>
658 <name>Yi Liang</name>
659 <email>yiliang@apache.org</email>
660 <timezone>-8</timezone>
664 <name>Zach York</name>
665 <email>zyork@apache.org</email>
666 <timezone>-8</timezone>
671 <email>meiyi@apache.org</email>
672 <timezone>+8</timezone>
678 <groupId>kr.motd.maven</groupId>
679 <artifactId>os-maven-plugin</artifactId>
680 <version>${os.maven.version}</version>
683 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
684 For specific version use a property and define it in the parent pom.
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-remote-resources-plugin</artifactId>
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-release-plugin</artifactId>
696 <!--You need this profile. It'll sign your artifacts.
697 I'm not sure if this config. actually works though.
698 I've been specifying -Papache-release on the command-line
700 <releaseProfiles>apache-release</releaseProfiles>
701 <!--This stops our running tests for each stage of maven release.
702 But it builds the test jar. From SUREFIRE-172.
704 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
705 <goals>${goals}</goals>
706 <pomFileName>pom.xml</pomFileName>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-compiler-plugin</artifactId>
713 <source>${compileSource}</source>
714 <target>${compileSource}</target>
715 <showWarnings>true</showWarnings>
716 <showDeprecation>false</showDeprecation>
717 <useIncrementalCompilation>false</useIncrementalCompilation>
718 <compilerArgument>-Xlint:-options</compilerArgument>
721 <!-- Test oriented plugins -->
723 <groupId>org.apache.maven.plugins</groupId>
724 <artifactId>maven-surefire-plugin</artifactId>
725 <version>${surefire.version}</version>
727 <!-- by default surefire selects dynamically the connector to the unit tests
728 tool. We want to use always the same as the different connectors can have different
729 bugs and behaviour. -->
731 <groupId>org.apache.maven.surefire</groupId>
732 <artifactId>${surefire.provider}</artifactId>
733 <version>${surefire.version}</version>
736 <!-- Generic testing configuration for all packages -->
738 <groups>${surefire.firstPartGroups}</groups>
739 <failIfNoTests>false</failIfNoTests>
740 <skip>${surefire.skipFirstPart}</skip>
741 <forkCount>${surefire.firstPartForkCount}</forkCount>
742 <reuseForks>false</reuseForks>
743 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
744 <tempDir>${surefire.tempDir}</tempDir>
745 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
746 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
747 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
748 <systemPropertyVariables>
749 <test.build.classes>${test.build.classes}</test.build.classes>
750 </systemPropertyVariables>
752 <!-- users can add -D option to skip particular test classes
753 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
755 <exclude>${test.exclude.pattern}</exclude>
759 <name>listener</name>
760 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
766 <id>secondPartTestsExecution</id>
772 <skip>${surefire.skipSecondPart}</skip>
773 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
774 <reuseForks>false</reuseForks>
775 <forkCount>${surefire.secondPartForkCount}</forkCount>
776 <groups>${surefire.secondPartGroups}</groups>
777 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
783 <groupId>org.apache.maven.plugins</groupId>
784 <artifactId>maven-surefire-report-plugin</artifactId>
785 <version>${surefire.version}</version>
788 <groupId>org.codehaus.mojo</groupId>
789 <artifactId>buildnumber-maven-plugin</artifactId>
790 <version>${buildnumber.maven.version}</version>
793 <groupId>com.github.spotbugs</groupId>
794 <artifactId>spotbugs-maven-plugin</artifactId>
795 <version>${spotbugs.maven.version}</version>
797 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
798 <spotbugsXmlOutput>true</spotbugsXmlOutput>
799 <xmlOutput>true</xmlOutput>
804 <groupId>org.codehaus.mojo</groupId>
805 <artifactId>build-helper-maven-plugin</artifactId>
806 <version>${build.helper.maven.version}</version>
809 <artifactId>maven-antrun-plugin</artifactId>
810 <version>${maven.antrun.version}</version>
813 <groupId>org.jamon</groupId>
814 <artifactId>jamon-maven-plugin</artifactId>
815 <version>${jamon.plugin.version}</version>
817 <!-- Make a jar and put the sources in the jar.
818 In the parent pom, so submodules will do the right thing. -->
820 <groupId>org.apache.maven.plugins</groupId>
821 <artifactId>maven-source-plugin</artifactId>
824 <id>attach-sources</id>
825 <phase>prepare-package</phase>
827 <goal>jar-no-fork</goal>
828 <goal>test-jar-no-fork</goal>
833 <!-- General configuration for submodules who want to build a test jar -->
835 <groupId>org.apache.maven.plugins</groupId>
836 <artifactId>maven-jar-plugin</artifactId>
839 <phase>prepare-package</phase>
841 <!--This goal will install a -test.jar when we do install
842 See https://maven.apache.org/guides/mini/guide-attached-tests.html
844 <goal>test-jar</goal>
849 <skipIfEmpty>true</skipIfEmpty>
851 <exclude>hbase-site.xml</exclude>
852 <exclude>hdfs-site.xml</exclude>
853 <exclude>log4j.properties</exclude>
854 <exclude>mapred-queues.xml</exclude>
855 <exclude>mapred-site.xml</exclude>
860 <!-- excludes are inherited -->
861 <groupId>org.apache.rat</groupId>
862 <artifactId>apache-rat-plugin</artifactId>
863 <version>${apache.rat.version}</version>
866 <exclude>**/*.versionsBackup</exclude>
867 <exclude>**/*.log</exclude>
868 <exclude>**/.*</exclude>
869 <exclude>**/*.tgz</exclude>
870 <exclude>**/*.orig</exclude>
871 <exclude>**/0000000000000016310</exclude>
872 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
873 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
874 <exclude>**/.idea/**</exclude>
875 <exclude>**/*.iml</exclude>
876 <exclude>**/CHANGES.txt</exclude>
877 <exclude>**/generated/**</exclude>
878 <exclude>**/gen-*/**</exclude>
879 <!-- No material contents -->
880 <exclude>conf/regionservers</exclude>
881 <exclude>**/*.avpr</exclude>
882 <exclude>**/*.svg</exclude>
883 <!-- non-standard notice file from jruby included by reference -->
884 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
885 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
886 <exclude>**/src/main/asciidoc/hbase.css</exclude>
887 <!-- MIT https://jquery.org/license -->
888 <exclude>**/jquery.min.js</exclude>
889 <exclude>**/jquery.tablesorter.min.js</exclude>
890 <!-- vector graphics -->
891 <exclude>**/*.vm</exclude>
892 <!-- apache doxia generated -->
893 <exclude>**/control</exclude>
894 <exclude>**/conffile</exclude>
895 <!-- auto-gen docs -->
896 <exclude>docs/*</exclude>
897 <exclude>logs/*</exclude>
898 <!-- exclude source control files -->
899 <exclude>.git/**</exclude>
900 <exclude>.svn/**</exclude>
901 <exclude>**/.settings/**</exclude>
902 <exclude>**/patchprocess/**</exclude>
903 <exclude>src/site/resources/repo/**</exclude>
904 <exclude>**/dependency-reduced-pom.xml</exclude>
905 <exclude>**/rat.txt</exclude>
906 <!-- exclude the shaded protobuf files -->
907 <exclude>**/shaded/com/google/protobuf/**</exclude>
908 <exclude>**/src/main/patches/**</exclude>
909 <exclude>**/vote.tmpl</exclude>
914 <artifactId>maven-assembly-plugin</artifactId>
916 <!--Defer to the hbase-assembly sub-module. It
918 <skipAssembly>true</skipAssembly>
922 <groupId>org.xolstice.maven.plugins</groupId>
923 <artifactId>protobuf-maven-plugin</artifactId>
924 <version>${protobuf.plugin.version}</version>
926 <protocArtifact>${external.protobuf.groupid}:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
927 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
928 <clearOutputDirectory>false</clearOutputDirectory>
929 <checkStaleness>true</checkStaleness>
933 <!-- Approach followed here is roughly the same as mentioned here:
934 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
936 <groupId>org.apache.maven.plugins</groupId>
937 <artifactId>maven-checkstyle-plugin</artifactId>
938 <version>${maven.checkstyle.version}</version>
941 <groupId>org.apache.hbase</groupId>
942 <artifactId>hbase-checkstyle</artifactId>
943 <version>${project.version}</version>
946 <groupId>com.puppycrawl.tools</groupId>
947 <artifactId>checkstyle</artifactId>
948 <version>${checkstyle.version}</version>
952 <configLocation>hbase/checkstyle.xml</configLocation>
953 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
954 <includeTestSourceDirectory>true</includeTestSourceDirectory>
958 <groupId>net.revelc.code</groupId>
959 <artifactId>warbucks-maven-plugin</artifactId>
960 <version>${maven.warbucks.version}</version>
962 <ignoreRuleFailures>false</ignoreRuleFailures>
965 <!-- exclude the generated java files -->
966 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
967 <includeTestClasses>false</includeTestClasses>
968 <includePublicClasses>true</includePublicClasses>
969 <includePackagePrivateClasses>false</includePackagePrivateClasses>
970 <includeProtectedClasses>false</includeProtectedClasses>
971 <includePrivateClasses>false</includePrivateClasses>
972 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
978 <id>run-warbucks</id>
980 <goal>check</goal><!-- runs at process-test-classes phase -->
986 <groupId>org.apache.maven.plugins</groupId>
987 <artifactId>maven-enforcer-plugin</artifactId>
988 <version>${enforcer.version}</version>
991 <groupId>org.codehaus.mojo</groupId>
992 <artifactId>extra-enforcer-rules</artifactId>
993 <version>${extra.enforcer.version}</version>
996 <groupId>de.skuzzle.enforcer</groupId>
997 <artifactId>restrict-imports-enforcer-rule</artifactId>
998 <version>${restrict-imports.enforcer.version}</version>
1006 <groupId>org.codehaus.mojo</groupId>
1007 <artifactId>build-helper-maven-plugin</artifactId>
1010 <id>negate-license-bundles-property</id>
1012 <goal>bsh-property</goal>
1015 <source>skip.license.check = !${license.bundles.dependencies};</source>
1017 <property>skip.license.check</property>
1021 <!-- sets where to find the generated LICENSE files -->
1023 <id>create-license-file-path-property</id>
1025 <goal>regex-property</goal>
1028 <name>license.aggregate.path</name>
1029 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1031 <replacement>/</replacement>
1032 <failIfNoMatch>false</failIfNoMatch>
1038 <groupId>org.apache.maven.plugins</groupId>
1039 <artifactId>maven-enforcer-plugin</artifactId>
1042 <id>display-info</id>
1043 <phase>initialize</phase>
1045 <goal>display-info</goal>
1047 <inherited>false</inherited>
1050 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1052 <goal>enforce</goal>
1056 <!-- Help people activate profiles correctly -->
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: https://hbase.apache.org/book.html#build
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: https://hbase.apache.org/book.html#build
1080 </requireJavaVersion>
1081 <bannedDependencies>
1083 <exclude>xerces:xercesImpl</exclude>
1085 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1086 </bannedDependencies>
1091 <id>banned-jsr305</id>
1093 <goal>enforce</goal>
1097 <bannedDependencies>
1099 <exclude>com.google.code.findbugs:jsr305</exclude>
1101 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1102 </bannedDependencies>
1107 <id>banned-scala</id>
1109 <goal>enforce</goal>
1113 <bannedDependencies>
1115 <exclude>org.scala-lang:scala-library</exclude>
1117 <message>We don't allow Scala, see HBASE-13992.</message>
1118 </bannedDependencies>
1123 <id>check-aggregate-license</id>
1124 <!-- must check after LICENSE is built at 'generate-resources' -->
1125 <phase>process-resources</phase>
1127 <goal>enforce</goal>
1133 File license = new File("${license.aggregate.path}");
1135 // Beanshell does not support try-with-resources,
1136 // so we must close this scanner manually
1137 Scanner scanner = new Scanner(license);
1139 while (scanner.hasNextLine()) {
1140 if (scanner.nextLine().startsWith("ERROR:")) {
1149 License errors detected, for more detail find ERROR in
1150 ${license.aggregate.path}
1152 </evaluateBeanshell>
1154 <skip>${skip.license.check}</skip>
1158 <id>banned-illegal-imports</id>
1159 <phase>process-sources</phase>
1161 <goal>enforce</goal>
1165 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1166 <includeTestCode>true</includeTestCode>
1167 <commentLineBufferSize>512</commentLineBufferSize>
1168 <reason>Use SLF4j for logging</reason>
1170 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1171 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1174 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1175 <includeTestCode>true</includeTestCode>
1176 <commentLineBufferSize>512</commentLineBufferSize>
1177 <reason>Use shaded version in hbase-thirdparty</reason>
1179 <bannedImport>com.google.common.**</bannedImport>
1180 <bannedImport>io.netty.**</bannedImport>
1181 <bannedImport>org.apache.commons.cli.**</bannedImport>
1182 <bannedImport>org.apache.commons.collections.**</bannedImport>
1183 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1186 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1187 <includeTestCode>true</includeTestCode>
1188 <commentLineBufferSize>512</commentLineBufferSize>
1189 <reason>Do not use shaded classes from other dependencies</reason>
1191 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1192 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1195 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1196 <includeTestCode>true</includeTestCode>
1197 <commentLineBufferSize>512</commentLineBufferSize>
1198 <reason>Use shaded gson in hbase-thirdparty</reason>
1200 <bannedImport>org.codehaus.jackson.**</bannedImport>
1203 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1204 <includeTestCode>true</includeTestCode>
1205 <commentLineBufferSize>512</commentLineBufferSize>
1206 <reason>Use commons lang 3</reason>
1208 <bannedImport>org.apache.commons.lang.**</bannedImport>
1211 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1212 <includeTestCode>true</includeTestCode>
1213 <commentLineBufferSize>512</commentLineBufferSize>
1214 <reason>Use yetus IA and IS annotations</reason>
1216 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1219 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1220 <includeTestCode>true</includeTestCode>
1221 <commentLineBufferSize>512</commentLineBufferSize>
1222 <reason>Do not use htrace v3</reason>
1224 <bannedImport>org.htrace.**</bannedImport>
1232 <!-- parent-module only plugins -->
1234 <groupId>org.codehaus.mojo</groupId>
1235 <artifactId>xml-maven-plugin</artifactId>
1236 <version>${xml.maven.version}</version>
1237 <inherited>false</inherited>
1240 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1242 <goal>transform</goal>
1248 <transformationSets>
1249 <!-- For asciidoc -->
1251 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1252 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1254 <include>hbase-default.xml</include>
1256 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1258 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1259 <pattern>^(.*)\.xml$</pattern>
1260 <replacement>$1.adoc</replacement>
1263 <outputDir>${basedir}/target/asciidoc</outputDir>
1264 </transformationSet>
1265 </transformationSets>
1268 <!-- Special configuration for spotbugs just in the parent so
1269 the filter file location can be more general (see definition in pluginManagement) -->
1271 <groupId>com.github.spotbugs</groupId>
1272 <artifactId>spotbugs-maven-plugin</artifactId>
1275 <inherited>false</inherited>
1277 <goal>spotbugs</goal>
1280 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1286 <groupId>org.apache.maven.plugins</groupId>
1287 <artifactId>maven-checkstyle-plugin</artifactId>
1290 <groupId>org.apache.maven.plugins</groupId>
1291 <artifactId>maven-site-plugin</artifactId>
1294 <!-- add support for ssh/scp -->
1295 <groupId>org.apache.maven.wagon</groupId>
1296 <artifactId>wagon-ssh</artifactId>
1297 <version>${wagon.ssh.version}</version>
1301 <siteDirectory>${basedir}/src/site</siteDirectory>
1302 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1303 <inputEncoding>UTF-8</inputEncoding>
1304 <outputEncoding>UTF-8</outputEncoding>
1307 <!-- For AsciiDoc docs building -->
1309 <groupId>org.asciidoctor</groupId>
1310 <artifactId>asciidoctor-maven-plugin</artifactId>
1311 <version>${asciidoctor.plugin.version}</version>
1312 <inherited>false</inherited>
1315 <groupId>org.asciidoctor</groupId>
1316 <artifactId>asciidoctorj-pdf</artifactId>
1317 <version>${asciidoctorj.pdf.version}</version>
1320 <groupId>org.jruby</groupId>
1321 <artifactId>jruby-complete</artifactId>
1322 <version>${jruby.version}</version>
1326 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1327 <doctype>book</doctype>
1328 <imagesDir>images</imagesDir>
1329 <sourceHighlighter>coderay</sourceHighlighter>
1331 <docVersion>${project.version}</docVersion>
1336 <id>output-html</id>
1339 <goal>process-asciidoc</goal>
1343 <stylesheet>hbase.css</stylesheet>
1345 <backend>html5</backend>
1352 <goal>process-asciidoc</goal>
1355 <backend>pdf</backend>
1360 <idseparator>-</idseparator>
1367 <groupId>org.apache.maven.plugins</groupId>
1368 <artifactId>maven-resources-plugin</artifactId>
1369 <!--$NO-MVN-MAN-VER$ -->
1370 <inherited>false</inherited>
1373 <id>copy-htaccess</id>
1375 <goal>copy-resources</goal>
1379 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1382 <directory>${basedir}/src/site/resources/</directory>
1384 <include>.htaccess</include>
1390 <!-- needed to make the redirect above work -->
1392 <id>copy-empty-book-dir</id>
1394 <goal>copy-resources</goal>
1398 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1401 <directory>${basedir}/src/site/resources/</directory>
1403 <include>book/**</include>
1411 <escapeString>\</escapeString>
1415 <groupId>org.apache.maven.plugins</groupId>
1416 <artifactId>maven-antrun-plugin</artifactId>
1417 <version>${maven.antrun.version}</version>
1418 <inherited>false</inherited>
1419 <!-- Rename the book.pdf generated by asciidoctor -->
1425 <target name="rename file">
1426 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1436 <groupId>org.codehaus.mojo</groupId>
1437 <artifactId>buildnumber-maven-plugin</artifactId>
1440 <phase>validate</phase>
1442 <goal>create-timestamp</goal>
1447 <timestampFormat>yyyy</timestampFormat>
1448 <timestampPropertyName>build.year</timestampPropertyName>
1452 <groupId>org.apache.felix</groupId>
1453 <artifactId>maven-bundle-plugin</artifactId>
1454 <version>${maven.bundle.version}</version>
1455 <inherited>true</inherited>
1456 <extensions>true</extensions>
1461 <!-- override on command line to have generated LICENSE files include
1462 diagnostic info for verifying notice requirements -->
1463 <license.debug.print.included>false</license.debug.print.included>
1464 <!-- When a particular module bundles its depenendencies, should be true -->
1465 <license.bundles.dependencies>false</license.bundles.dependencies>
1466 <!-- modules that include a the logo in their source tree should set true -->
1467 <license.bundles.logo>false</license.bundles.logo>
1468 <!-- modules that include bootstrap in their source tree should set true -->
1469 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1470 <!-- modules that include jquery in their source tree should set true -->
1471 <license.bundles.jquery>false</license.bundles.jquery>
1472 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1473 <maven.build.timestamp.format>
1475 </maven.build.timestamp.format>
1476 <buildDate>${maven.build.timestamp}</buildDate>
1477 <compileSource>1.8</compileSource>
1478 <!-- Build dependencies -->
1479 <maven.min.version>3.0.4</maven.min.version>
1480 <java.min.version>${compileSource}</java.min.version>
1481 <!-- Dependencies -->
1482 <hadoop-two.version>2.10.0</hadoop-two.version>
1483 <hadoop-three.version>3.1.2</hadoop-three.version>
1484 <!-- These must be defined here for downstream build tools that don't look at profiles.
1485 They ought to match the values found in our default hadoop profile, which is
1486 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1487 <hadoop.version>${hadoop-two.version}</hadoop.version>
1488 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1489 <compat.module>hbase-hadoop2-compat</compat.module>
1490 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1491 <!--This property is for hadoops netty. HBase netty
1492 comes in via hbase-thirdparty hbase-shaded-netty-->
1493 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1494 <!-- end HBASE-15925 default hadoop compatibility values -->
1495 <audience-annotations.version>0.5.0</audience-annotations.version>
1496 <avro.version>1.7.7</avro.version>
1497 <caffeine.version>2.8.1</caffeine.version>
1498 <commons-codec.version>1.13</commons-codec.version>
1499 <commons-validator.version>1.6</commons-validator.version>
1500 <!-- pretty outdated -->
1501 <commons-io.version>2.6</commons-io.version>
1502 <commons-lang3.version>3.9</commons-lang3.version>
1503 <commons-math.version>3.6.1</commons-math.version>
1504 <disruptor.version>3.4.2</disruptor.version>
1505 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1506 especially when writing out 'no column families'. Later httpclients collapse the '//'
1507 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1508 TestRemoteTable. -->
1509 <httpclient.version>4.5.3</httpclient.version>
1510 <httpcore.version>4.4.13</httpcore.version>
1511 <metrics-core.version>3.2.6</metrics-core.version>
1512 <jackson.version>2.10.1</jackson.version>
1513 <jackson.databind.version>2.10.1</jackson.databind.version>
1514 <jaxb-api.version>2.2.12</jaxb-api.version>
1515 <jetty.version>9.3.28.v20191105</jetty.version>
1516 <servlet.api.version>3.1.0</servlet.api.version>
1517 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1518 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1519 <jersey.version>2.25.1</jersey.version>
1520 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1521 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1522 <jruby.version>9.1.17.0</jruby.version>
1523 <junit.version>4.13</junit.version>
1524 <hamcrest.version>1.3</hamcrest.version>
1525 <htrace.version>4.2.0-incubating</htrace.version>
1526 <log4j.version>1.2.17</log4j.version>
1527 <mockito-core.version>2.28.2</mockito-core.version>
1528 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1529 <external.protobuf.version>2.5.0</external.protobuf.version>
1530 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1531 <thrift.path>thrift</thrift.path>
1532 <thrift.version>0.12.0</thrift.version>
1533 <zookeeper.version>3.4.14</zookeeper.version>
1534 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1535 <jline.version>0.9.94</jline.version>
1536 <slf4j.version>1.7.30</slf4j.version>
1537 <clover.version>4.0.3</clover.version>
1538 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1539 <jettison.version>1.3.8</jettison.version>
1540 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1541 <joni.version>2.1.11</joni.version>
1542 <jcodings.version>1.0.18</jcodings.version>
1543 <spy.version>2.12.2</spy.version>
1544 <bouncycastle.version>1.60</bouncycastle.version>
1545 <kerby.version>1.0.1</kerby.version>
1546 <commons-crypto.version>1.0.0</commons-crypto.version>
1547 <curator.version>4.2.0</curator.version>
1548 <!-- Plugin Dependencies -->
1549 <apache.rat.version>0.13</apache.rat.version>
1550 <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1551 <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1552 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1553 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1555 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1557 <checkstyle.version>8.28</checkstyle.version>
1558 <exec.maven.version>1.6.0</exec.maven.version>
1559 <error-prone.version>2.3.4</error-prone.version>
1560 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1561 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1562 <maven.antrun.version>1.8</maven.antrun.version>
1563 <maven.bundle.version>3.3.0</maven.bundle.version>
1564 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1565 <maven.eclipse.version>2.10</maven.eclipse.version>
1566 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1567 <maven.project.info.report.version>2.9</maven.project.info.report.version>
1568 <os.maven.version>1.5.0.Final</os.maven.version>
1569 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1570 <spotbugs.version>3.1.12</spotbugs.version>
1571 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1572 <surefire.version>3.0.0-M4</surefire.version>
1573 <wagon.ssh.version>2.12</wagon.ssh.version>
1574 <xml.maven.version>1.0.1</xml.maven.version>
1575 <hbase-thirdparty.version>3.2.0</hbase-thirdparty.version>
1576 <!-- Intraproject jar naming properties -->
1577 <!-- TODO this is pretty ugly, but works for the moment.
1578 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1579 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1580 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1581 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1582 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1583 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1584 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1585 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1586 <shell-executable>bash</shell-executable>
1587 <surefire.provider>surefire-junit47</surefire.provider>
1588 <!-- default: run small & medium, medium with 2 threads -->
1589 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1590 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1591 <!-- Fork count varies w/ CPU count. Setting is conservative. Up this
1592 value is you want to burn through tests faster (could make for more failures
1593 if more contention around resources). There is a matching MAVEN_ARG
1594 in our yetus personality where we set the maven -T command to 0.5C too.
1596 <surefire.firstPartForkCount>0.5C</surefire.firstPartForkCount>
1597 <surefire.secondPartForkCount>0.5C</surefire.secondPartForkCount>
1598 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1599 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1600 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1601 <test.output.tofile>true</test.output.tofile>
1602 <surefire.timeout>900</surefire.timeout>
1603 <test.exclude.pattern></test.exclude.pattern>
1604 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1605 <surefire.Xmx>2800m</surefire.Xmx>
1606 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1607 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1609 And for netty eventloops that have no explicit configuration, netty sets
1610 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1613 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1614 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1615 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1616 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1617 -Dio.netty.eventLoopThreads=3
1618 </hbase-surefire.argLine>
1619 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1620 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1621 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1622 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1623 </hbase-surefire.cygwin-argLine>
1624 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1625 <argLine>${hbase-surefire.argLine}</argLine>
1626 <jacoco.version>0.7.5.201505241946</jacoco.version>
1627 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1628 <enforcer.version>3.0.0-M2</enforcer.version>
1629 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1630 <!-- Location of test resources -->
1631 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1632 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1633 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1634 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1635 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1636 <build.id>${maven.build.timestamp}</build.id>
1637 <shell-executable>bash</shell-executable>
1638 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1639 property as of javadoc-plugin 3.0.0 -->
1640 <doclint>none</doclint>
1641 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1643 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1644 <dependencyManagement>
1647 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1648 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1649 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1650 implementation of the same, because Hadoop also uses this version
1651 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1652 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1654 <!-- Intra-module dependencies -->
1656 <groupId>org.apache.hbase</groupId>
1657 <artifactId>hbase-annotations</artifactId>
1658 <version>${project.version}</version>
1659 <type>test-jar</type>
1660 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1663 <artifactId>hbase-backup</artifactId>
1664 <groupId>org.apache.hbase</groupId>
1665 <version>${project.version}</version>
1668 <groupId>org.apache.hbase</groupId>
1669 <artifactId>hbase-common</artifactId>
1670 <version>${project.version}</version>
1673 <groupId>org.apache.hbase</groupId>
1674 <artifactId>hbase-common</artifactId>
1675 <version>${project.version}</version>
1676 <type>test-jar</type>
1680 <groupId>org.apache.hbase</groupId>
1681 <artifactId>hbase-protocol-shaded</artifactId>
1682 <version>${project.version}</version>
1685 <groupId>org.apache.hbase</groupId>
1686 <artifactId>hbase-procedure</artifactId>
1687 <version>${project.version}</version>
1690 <groupId>org.apache.hbase</groupId>
1691 <artifactId>hbase-procedure</artifactId>
1692 <version>${project.version}</version>
1693 <type>test-jar</type>
1696 <groupId>org.apache.hbase</groupId>
1697 <artifactId>hbase-hadoop-compat</artifactId>
1698 <version>${project.version}</version>
1701 <groupId>org.apache.hbase</groupId>
1702 <artifactId>hbase-hadoop-compat</artifactId>
1703 <version>${project.version}</version>
1704 <type>test-jar</type>
1708 <groupId>org.apache.hbase</groupId>
1709 <artifactId>${compat.module}</artifactId>
1710 <version>${project.version}</version>
1713 <groupId>org.apache.hbase</groupId>
1714 <artifactId>${compat.module}</artifactId>
1715 <version>${project.version}</version>
1716 <type>test-jar</type>
1720 <artifactId>hbase-replication</artifactId>
1721 <groupId>org.apache.hbase</groupId>
1722 <version>${project.version}</version>
1725 <artifactId>hbase-http</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1730 <artifactId>hbase-http</artifactId>
1731 <groupId>org.apache.hbase</groupId>
1732 <version>${project.version}</version>
1733 <type>test-jar</type>
1737 <artifactId>hbase-server</artifactId>
1738 <groupId>org.apache.hbase</groupId>
1739 <version>${project.version}</version>
1742 <artifactId>hbase-server</artifactId>
1743 <groupId>org.apache.hbase</groupId>
1744 <version>${project.version}</version>
1745 <type>test-jar</type>
1749 <artifactId>hbase-mapreduce</artifactId>
1750 <groupId>org.apache.hbase</groupId>
1751 <version>${project.version}</version>
1754 <artifactId>hbase-mapreduce</artifactId>
1755 <groupId>org.apache.hbase</groupId>
1756 <version>${project.version}</version>
1757 <type>test-jar</type>
1761 <artifactId>hbase-endpoint</artifactId>
1762 <groupId>org.apache.hbase</groupId>
1763 <version>${project.version}</version>
1766 <artifactId>hbase-shell</artifactId>
1767 <groupId>org.apache.hbase</groupId>
1768 <version>${project.version}</version>
1771 <artifactId>hbase-shell</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1774 <type>test-jar</type>
1778 <artifactId>hbase-thrift</artifactId>
1779 <groupId>org.apache.hbase</groupId>
1780 <version>${project.version}</version>
1783 <artifactId>hbase-thrift</artifactId>
1784 <groupId>org.apache.hbase</groupId>
1785 <version>${project.version}</version>
1786 <type>test-jar</type>
1790 <groupId>org.apache.hbase</groupId>
1791 <artifactId>hbase-testing-util</artifactId>
1792 <version>${project.version}</version>
1796 <artifactId>hbase-examples</artifactId>
1797 <groupId>org.apache.hbase</groupId>
1798 <version>${project.version}</version>
1801 <groupId>org.apache.hbase</groupId>
1802 <artifactId>hbase-external-blockcache</artifactId>
1803 <version>${project.version}</version>
1806 <artifactId>hbase-it</artifactId>
1807 <groupId>org.apache.hbase</groupId>
1808 <version>${project.version}</version>
1809 <type>test-jar</type>
1813 <artifactId>hbase-client</artifactId>
1814 <groupId>org.apache.hbase</groupId>
1815 <version>${project.version}</version>
1818 <artifactId>hbase-metrics-api</artifactId>
1819 <groupId>org.apache.hbase</groupId>
1820 <version>${project.version}</version>
1823 <artifactId>hbase-metrics-api</artifactId>
1824 <groupId>org.apache.hbase</groupId>
1825 <version>${project.version}</version>
1826 <type>test-jar</type>
1830 <artifactId>hbase-metrics</artifactId>
1831 <groupId>org.apache.hbase</groupId>
1832 <version>${project.version}</version>
1835 <artifactId>hbase-metrics</artifactId>
1836 <groupId>org.apache.hbase</groupId>
1837 <version>${project.version}</version>
1838 <type>test-jar</type>
1842 <artifactId>hbase-rest</artifactId>
1843 <groupId>org.apache.hbase</groupId>
1844 <version>${project.version}</version>
1847 <artifactId>hbase-resource-bundle</artifactId>
1848 <groupId>org.apache.hbase</groupId>
1849 <version>${project.version}</version>
1852 <artifactId>hbase-zookeeper</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1857 <groupId>com.google.code.findbugs</groupId>
1858 <artifactId>jsr305</artifactId>
1861 <groupId>com.github.spotbugs</groupId>
1862 <artifactId>spotbugs-annotations</artifactId>
1867 <artifactId>hbase-zookeeper</artifactId>
1868 <groupId>org.apache.hbase</groupId>
1869 <version>${project.version}</version>
1870 <type>test-jar</type>
1874 <artifactId>hbase-hbtop</artifactId>
1875 <groupId>org.apache.hbase</groupId>
1876 <version>${project.version}</version>
1879 <groupId>org.apache.hbase</groupId>
1880 <artifactId>hbase-shaded-client</artifactId>
1881 <version>${project.version}</version>
1884 <groupId>org.apache.hbase</groupId>
1885 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1886 <version>${project.version}</version>
1889 <groupId>org.apache.hbase</groupId>
1890 <artifactId>hbase-shaded-mapreduce</artifactId>
1891 <version>${project.version}</version>
1893 <!-- General dependencies -->
1895 <groupId>com.github.stephenc.findbugs</groupId>
1896 <artifactId>findbugs-annotations</artifactId>
1897 <version>${findbugs-annotations.version}</version>
1899 <!-- General dependencies -->
1901 <groupId>org.codehaus.jettison</groupId>
1902 <artifactId>jettison</artifactId>
1903 <version>${jettison.version}</version>
1906 <groupId>org.slf4j</groupId>
1907 <artifactId>slf4j-log4j12</artifactId>
1908 <version>${slf4j.version}</version>
1911 <groupId>log4j</groupId>
1912 <artifactId>log4j</artifactId>
1913 <version>${log4j.version}</version>
1915 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1917 <groupId>org.apache.avro</groupId>
1918 <artifactId>avro</artifactId>
1919 <version>${avro.version}</version>
1921 <!--This is not used by hbase directly. Used by thrift,
1922 dropwizard and zk.-->
1924 <groupId>org.slf4j</groupId>
1925 <artifactId>slf4j-api</artifactId>
1926 <version>${slf4j.version}</version>
1929 <groupId>com.github.ben-manes.caffeine</groupId>
1930 <artifactId>caffeine</artifactId>
1931 <version>${caffeine.version}</version>
1934 <groupId>io.dropwizard.metrics</groupId>
1935 <artifactId>metrics-core</artifactId>
1936 <version>${metrics-core.version}</version>
1939 <groupId>org.apache.httpcomponents</groupId>
1940 <artifactId>httpclient</artifactId>
1941 <version>${httpclient.version}</version>
1944 <groupId>org.apache.httpcomponents</groupId>
1945 <artifactId>httpcore</artifactId>
1946 <version>${httpcore.version}</version>
1949 <groupId>commons-codec</groupId>
1950 <artifactId>commons-codec</artifactId>
1951 <version>${commons-codec.version}</version>
1954 <groupId>commons-validator</groupId>
1955 <artifactId>commons-validator</artifactId>
1956 <version>${commons-validator.version}</version>
1959 <groupId>commons-io</groupId>
1960 <artifactId>commons-io</artifactId>
1961 <version>${commons-io.version}</version>
1964 <groupId>org.apache.commons</groupId>
1965 <artifactId>commons-lang3</artifactId>
1966 <version>${commons-lang3.version}</version>
1969 <groupId>org.apache.commons</groupId>
1970 <artifactId>commons-math3</artifactId>
1971 <version>${commons-math.version}</version>
1974 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1977 <groupId>commons-logging</groupId>
1978 <artifactId>commons-logging</artifactId>
1979 <version>1.2</version>
1982 <groupId>org.apache.zookeeper</groupId>
1983 <artifactId>zookeeper</artifactId>
1984 <version>${zookeeper.version}</version>
1987 <groupId>com.google.code.findbugs</groupId>
1988 <artifactId>jsr305</artifactId>
1991 <groupId>com.github.spotbugs</groupId>
1992 <artifactId>spotbugs-annotations</artifactId>
1995 <groupId>jline</groupId>
1996 <artifactId>jline</artifactId>
1999 <groupId>com.sun.jmx</groupId>
2000 <artifactId>jmxri</artifactId>
2003 <groupId>com.sun.jdmk</groupId>
2004 <artifactId>jmxtools</artifactId>
2007 <groupId>javax.jms</groupId>
2008 <artifactId>jms</artifactId>
2011 <groupId>io.netty</groupId>
2012 <artifactId>netty</artifactId>
2017 <groupId>jline</groupId>
2018 <artifactId>jline</artifactId>
2019 <version>${jline.version}</version>
2022 <groupId>org.apache.thrift</groupId>
2023 <artifactId>libthrift</artifactId>
2024 <version>${thrift.version}</version>
2027 <groupId>org.slf4j</groupId>
2028 <artifactId>slf4j-simple</artifactId>
2033 <groupId>org.jruby</groupId>
2034 <artifactId>jruby-complete</artifactId>
2035 <version>${jruby.version}</version>
2038 <groupId>org.jruby.jcodings</groupId>
2039 <artifactId>jcodings</artifactId>
2040 <version>${jcodings.version}</version>
2043 <groupId>org.jruby.joni</groupId>
2044 <artifactId>joni</artifactId>
2045 <version>${joni.version}</version>
2048 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2049 <artifactId>jackson-jaxrs-json-provider</artifactId>
2050 <version>${jackson.version}</version>
2053 <groupId>com.fasterxml.jackson.core</groupId>
2054 <artifactId>jackson-annotations</artifactId>
2055 <version>${jackson.version}</version>
2058 <groupId>com.fasterxml.jackson.core</groupId>
2059 <artifactId>jackson-core</artifactId>
2060 <version>${jackson.version}</version>
2063 <groupId>com.fasterxml.jackson.core</groupId>
2064 <artifactId>jackson-databind</artifactId>
2065 <version>${jackson.databind.version}</version>
2068 <groupId>org.jamon</groupId>
2069 <artifactId>jamon-runtime</artifactId>
2070 <version>${jamon-runtime.version}</version>
2072 <!-- REST dependencies -->
2074 <groupId>javax.servlet</groupId>
2075 <artifactId>javax.servlet-api</artifactId>
2076 <version>${servlet.api.version}</version>
2079 <groupId>javax.ws.rs</groupId>
2080 <artifactId>javax.ws.rs-api</artifactId>
2081 <version>${wx.rs.api.version}</version>
2084 <groupId>com.sun.activation</groupId>
2085 <artifactId>javax.activation</artifactId>
2086 <version>1.2.0</version>
2089 <groupId>javax.annotation</groupId>
2090 <artifactId>javax.annotation-api</artifactId>
2091 <version>1.2</version>
2094 <groupId>org.eclipse.jetty</groupId>
2095 <artifactId>jetty-server</artifactId>
2096 <version>${jetty.version}</version>
2099 <groupId>org.eclipse.jetty</groupId>
2100 <artifactId>jetty-servlet</artifactId>
2101 <version>${jetty.version}</version>
2104 <groupId>org.eclipse.jetty</groupId>
2105 <artifactId>servlet-api</artifactId>
2110 <groupId>org.eclipse.jetty</groupId>
2111 <artifactId>jetty-security</artifactId>
2112 <version>${jetty.version}</version>
2115 <groupId>org.eclipse.jetty</groupId>
2116 <artifactId>jetty-http</artifactId>
2117 <version>${jetty.version}</version>
2120 <groupId>org.eclipse.jetty</groupId>
2121 <artifactId>jetty-util</artifactId>
2122 <version>${jetty.version}</version>
2125 <groupId>org.eclipse.jetty</groupId>
2126 <artifactId>jetty-io</artifactId>
2127 <version>${jetty.version}</version>
2130 <groupId>org.eclipse.jetty</groupId>
2131 <artifactId>jetty-jmx</artifactId>
2132 <version>${jetty.version}</version>
2135 <groupId>org.eclipse.jetty</groupId>
2136 <artifactId>jetty-webapp</artifactId>
2137 <version>${jetty.version}</version>
2140 <groupId>org.eclipse.jetty</groupId>
2141 <artifactId>jetty-util-ajax</artifactId>
2142 <version>${jetty.version}</version>
2145 <groupId>com.google.protobuf</groupId>
2146 <artifactId>protobuf-java</artifactId>
2147 <version>${external.protobuf.version}</version>
2150 <groupId>org.glassfish.jersey.containers</groupId>
2151 <artifactId>jersey-container-servlet-core</artifactId>
2152 <version>${jersey.version}</version>
2155 <groupId>org.glassfish.jersey.core</groupId>
2156 <artifactId>jersey-client</artifactId>
2157 <version>${jersey.version}</version>
2160 <groupId>org.glassfish.jersey.core</groupId>
2161 <artifactId>jersey-server</artifactId>
2162 <version>${jersey.version}</version>
2165 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2166 <groupId>org.glassfish.web</groupId>
2167 <artifactId>javax.servlet.jsp</artifactId>
2168 <version>${glassfish.jsp.version}</version>
2171 <!-- this lib is used by the compiled Jsp from the above JspC -->
2172 <groupId>javax.servlet.jsp</groupId>
2173 <artifactId>javax.servlet.jsp-api</artifactId>
2174 <version>2.3.1</version>
2177 <groupId>org.glassfish</groupId>
2178 <artifactId>javax.el</artifactId>
2179 <version>${glassfish.el.version}</version>
2182 <groupId>javax.xml.bind</groupId>
2183 <artifactId>jaxb-api</artifactId>
2184 <version>${jaxb-api.version}</version>
2187 <groupId>javax.xml.stream</groupId>
2188 <artifactId>stax-api</artifactId>
2193 <groupId>junit</groupId>
2194 <artifactId>junit</artifactId>
2195 <version>${junit.version}</version>
2198 <groupId>org.hamcrest</groupId>
2199 <artifactId>hamcrest-core</artifactId>
2200 <version>${hamcrest.version}</version>
2204 <groupId>org.hamcrest</groupId>
2205 <artifactId>hamcrest-library</artifactId>
2206 <version>${hamcrest.version}</version>
2210 <groupId>org.mockito</groupId>
2211 <artifactId>mockito-core</artifactId>
2212 <version>${mockito-core.version}</version>
2216 <groupId>org.apache.htrace</groupId>
2217 <artifactId>htrace-core4</artifactId>
2218 <version>${htrace.version}</version>
2221 <groupId>com.lmax</groupId>
2222 <artifactId>disruptor</artifactId>
2223 <version>${disruptor.version}</version>
2226 <groupId>net.spy</groupId>
2227 <artifactId>spymemcached</artifactId>
2228 <version>${spy.version}</version>
2229 <optional>true</optional>
2232 <groupId>org.bouncycastle</groupId>
2233 <artifactId>bcprov-jdk15on</artifactId>
2234 <version>${bouncycastle.version}</version>
2238 <groupId>org.apache.kerby</groupId>
2239 <artifactId>kerb-core</artifactId>
2240 <version>${kerby.version}</version>
2243 <groupId>org.apache.kerby</groupId>
2244 <artifactId>kerb-client</artifactId>
2245 <version>${kerby.version}</version>
2248 <groupId>org.apache.kerby</groupId>
2249 <artifactId>kerb-simplekdc</artifactId>
2250 <version>${kerby.version}</version>
2253 <groupId>org.apache.commons</groupId>
2254 <artifactId>commons-crypto</artifactId>
2255 <version>${commons-crypto.version}</version>
2258 <groupId>net.java.dev.jna</groupId>
2259 <artifactId>jna</artifactId>
2264 <groupId>org.apache.curator</groupId>
2265 <artifactId>curator-framework</artifactId>
2266 <version>${curator.version}</version>
2269 <groupId>org.apache.zookeeper</groupId>
2270 <artifactId>zookeeper</artifactId>
2275 <groupId>org.apache.curator</groupId>
2276 <artifactId>curator-client</artifactId>
2277 <version>${curator.version}</version>
2280 <groupId>com.google.guava</groupId>
2281 <artifactId>guava</artifactId>
2284 <groupId>org.apache.zookeeper</groupId>
2285 <artifactId>zookeeper</artifactId>
2290 <groupId>org.apache.curator</groupId>
2291 <artifactId>curator-recipes</artifactId>
2292 <version>${curator.version}</version>
2295 <groupId>com.google.guava</groupId>
2296 <artifactId>guava</artifactId>
2299 <groupId>org.apache.zookeeper</groupId>
2300 <artifactId>zookeeper</artifactId>
2305 <groupId>org.apache.yetus</groupId>
2306 <artifactId>audience-annotations</artifactId>
2307 <version>${audience-annotations.version}</version>
2310 <groupId>org.apache.hbase.thirdparty</groupId>
2311 <artifactId>hbase-shaded-gson</artifactId>
2312 <version>${hbase-thirdparty.version}</version>
2315 <groupId>org.apache.hbase.thirdparty</groupId>
2316 <artifactId>hbase-shaded-miscellaneous</artifactId>
2317 <version>${hbase-thirdparty.version}</version>
2320 <groupId>org.apache.hbase.thirdparty</groupId>
2321 <artifactId>hbase-shaded-netty</artifactId>
2322 <version>${hbase-thirdparty.version}</version>
2325 <groupId>org.apache.hbase.thirdparty</groupId>
2326 <artifactId>hbase-shaded-protobuf</artifactId>
2327 <version>${hbase-thirdparty.version}</version>
2330 <groupId>com.sun.xml.ws</groupId>
2331 <artifactId>jaxws-ri</artifactId>
2332 <version>2.3.2</version>
2336 <groupId>javax.activation</groupId>
2337 <artifactId>javax.activation-api</artifactId>
2342 </dependencyManagement>
2344 <!--REMOVE THIS. HERE TEMPORARILY.
2345 Implication is that every module needs junit which is not so.
2346 Cannot undo though because build runs test on each module and
2347 it fails if no junit. TODO. -->
2349 <groupId>junit</groupId>
2350 <artifactId>junit</artifactId>
2356 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2361 <id>apache.releases.https</id>
2362 <username>hbase_committer</username>
2363 <password>********</password>
2367 <id>apache.snapshots.https</id>
2368 <username>hbase_committer</username>
2369 <password>********</password>
2377 $ mvn -s /my/path/settings.xml deploy
2382 <id>build-with-jdk8</id>
2394 <id>build-with-jdk11</id>
2399 <!-- TODO: replicate logic for windows support -->
2400 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2405 <groupId>org.apache.maven.plugins</groupId>
2406 <artifactId>maven-enforcer-plugin</artifactId>
2409 <id>hadoop3-profile-required</id>
2411 <goal>enforce</goal>
2417 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2418 enforcer plugin does not see active profiles on sub-modules, so enforce based
2419 on the presence of the activation property and value.
2421 <property>hadoop.profile</property>
2422 <regex>.*3\.0$</regex>
2424 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2427 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2438 <!-- profile activated by the Jenkins patch testing job -->
2440 <id>jenkins.patch</id>
2442 <activeByDefault>false</activeByDefault>
2444 <name>HBasePatchProcess</name>
2448 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2453 <groupId>org.apache.maven.plugins</groupId>
2454 <artifactId>maven-antrun-plugin</artifactId>
2455 <inherited>false</inherited>
2458 <phase>validate</phase>
2464 <echo>Maven Execution Environment</echo>
2465 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2477 <activeByDefault>false</activeByDefault>
2482 <groupId>org.jacoco</groupId>
2483 <artifactId>jacoco-maven-plugin</artifactId>
2484 <version>${jacoco.version}</version>
2487 <id>prepare-agent</id>
2489 <goal>prepare-agent</goal>
2494 <phase>prepare-package</phase>
2501 <systemPropertyVariables>
2502 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2503 </systemPropertyVariables>
2505 <exclude>**/generated/**/*.class</exclude>
2515 <activeByDefault>false</activeByDefault>
2517 <family>Linux</family>
2521 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2528 <family>Mac</family>
2532 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2539 <family>Windows</family>
2543 <build.platform>cygwin</build.platform>
2544 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2547 <!-- this profile should match the name of the release profile in the root asf pom -->
2549 <id>apache-release</id>
2552 <!-- This should insert itself in place of the normal deploy plugin and then
2553 handle either closing or dropping the staging repository for us depending
2554 on if the build succeeds.
2557 <groupId>org.sonatype.plugins</groupId>
2558 <artifactId>nexus-staging-maven-plugin</artifactId>
2559 <version>1.6.8</version>
2560 <extensions>true</extensions>
2562 <nexusUrl>https://repository.apache.org/</nexusUrl>
2563 <serverId>apache.releases.https</serverId>
2569 <!-- this profile should be activated for release builds -->
2575 <groupId>org.apache.rat</groupId>
2576 <artifactId>apache-rat-plugin</artifactId>
2579 <phase>package</phase>
2587 <groupId>org.apache.maven.plugins</groupId>
2588 <artifactId>maven-enforcer-plugin</artifactId>
2589 <version>${enforcer.version}</version>
2592 <groupId>org.codehaus.mojo</groupId>
2593 <artifactId>extra-enforcer-rules</artifactId>
2594 <version>${extra.enforcer.version}</version>
2599 <enforceBytecodeVersion>
2600 <maxJdkVersion>${compileSource}</maxJdkVersion>
2601 <message>HBase has unsupported dependencies.
2602 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2603 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2604 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2605 Non-release builds can temporarily build with a newer JDK version by setting the
2606 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2609 <ignoreClass>module-info</ignoreClass>
2611 </enforceBytecodeVersion>
2618 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2619 <!-- Submodules that need hadoop dependencies should declare
2620 profiles with activation properties matching the profile here.
2621 Generally, it should be sufficient to copy the first
2622 few lines of the profile you want to match. -->
2623 <!-- profile for building against Hadoop 2.0.x
2624 This is the default.
2630 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2631 <!--h2--><name>!hadoop.profile</name>
2635 <module>hbase-hadoop2-compat</module>
2638 <hadoop.version>${hadoop-two.version}</hadoop.version>
2639 <compat.module>hbase-hadoop2-compat</compat.module>
2640 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2641 <!--This property is for hadoops netty. HBase netty
2642 comes in via hbase-thirdparty hbase-shaded-netty-->
2643 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2645 <dependencyManagement>
2648 <groupId>org.apache.hadoop</groupId>
2649 <artifactId>hadoop-mapreduce-client-core</artifactId>
2650 <version>${hadoop-two.version}</version>
2653 <groupId>com.sun.jersey</groupId>
2654 <artifactId>jersey-core</artifactId>
2657 <groupId>org.codehaus.jackson</groupId>
2658 <artifactId>jackson-jaxrs</artifactId>
2661 <groupId>org.codehaus.jackson</groupId>
2662 <artifactId>jackson-xc</artifactId>
2665 <groupId>io.netty</groupId>
2666 <artifactId>netty</artifactId>
2669 <groupId>javax.servlet</groupId>
2670 <artifactId>servlet-api</artifactId>
2673 <groupId>javax.inject</groupId>
2674 <artifactId>javax.inject</artifactId>
2677 <groupId>org.codehaus.jackson</groupId>
2678 <artifactId>jackson-core-asl</artifactId>
2681 <groupId>org.codehaus.jackson</groupId>
2682 <artifactId>jackson-mapper-asl</artifactId>
2687 <groupId>org.apache.hadoop</groupId>
2688 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2689 <version>${hadoop-two.version}</version>
2692 <groupId>com.sun.jersey</groupId>
2693 <artifactId>jersey-core</artifactId>
2696 <groupId>io.netty</groupId>
2697 <artifactId>netty</artifactId>
2700 <groupId>javax.servlet</groupId>
2701 <artifactId>servlet-api</artifactId>
2706 <groupId>org.apache.hadoop</groupId>
2707 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2708 <version>${hadoop-two.version}</version>
2709 <type>test-jar</type>
2713 <groupId>com.sun.jersey</groupId>
2714 <artifactId>jersey-core</artifactId>
2717 <groupId>io.netty</groupId>
2718 <artifactId>netty</artifactId>
2721 <groupId>javax.servlet</groupId>
2722 <artifactId>servlet-api</artifactId>
2727 <groupId>org.apache.hadoop</groupId>
2728 <artifactId>hadoop-hdfs</artifactId>
2729 <version>${hadoop-two.version}</version>
2732 <groupId>com.sun.jersey</groupId>
2733 <artifactId>jersey-core</artifactId>
2736 <groupId>javax.servlet.jsp</groupId>
2737 <artifactId>jsp-api</artifactId>
2740 <groupId>javax.servlet</groupId>
2741 <artifactId>servlet-api</artifactId>
2744 <groupId>io.netty</groupId>
2745 <artifactId>netty</artifactId>
2748 <groupId>stax</groupId>
2749 <artifactId>stax-api</artifactId>
2752 <groupId>xerces</groupId>
2753 <artifactId>xercesImpl</artifactId>
2756 <groupId>org.codehaus.jackson</groupId>
2757 <artifactId>jackson-core-asl</artifactId>
2760 <groupId>org.codehaus.jackson</groupId>
2761 <artifactId>jackson-mapper-asl</artifactId>
2764 <groupId>com.google.guava</groupId>
2765 <artifactId>guava</artifactId>
2770 <groupId>org.apache.hadoop</groupId>
2771 <artifactId>hadoop-hdfs</artifactId>
2772 <version>${hadoop-two.version}</version>
2773 <type>test-jar</type>
2777 <groupId>javax.servlet.jsp</groupId>
2778 <artifactId>jsp-api</artifactId>
2781 <groupId>javax.servlet</groupId>
2782 <artifactId>servlet-api</artifactId>
2785 <groupId>io.netty</groupId>
2786 <artifactId>netty</artifactId>
2789 <groupId>stax</groupId>
2790 <artifactId>stax-api</artifactId>
2793 <groupId>xerces</groupId>
2794 <artifactId>xercesImpl</artifactId>
2797 <groupId>org.codehaus.jackson</groupId>
2798 <artifactId>jackson-core-asl</artifactId>
2801 <groupId>org.codehaus.jackson</groupId>
2802 <artifactId>jackson-mapper-asl</artifactId>
2805 <groupId>com.google.guava</groupId>
2806 <artifactId>guava</artifactId>
2809 <groupId>com.sun.jersey</groupId>
2810 <artifactId>jersey-core</artifactId>
2815 <groupId>org.apache.hadoop</groupId>
2816 <artifactId>hadoop-auth</artifactId>
2817 <version>${hadoop-two.version}</version>
2820 <groupId>com.google.guava</groupId>
2821 <artifactId>guava</artifactId>
2824 <groupId>net.minidev</groupId>
2825 <artifactId>json-smart</artifactId>
2830 <groupId>org.apache.hadoop</groupId>
2831 <artifactId>hadoop-common</artifactId>
2832 <version>${hadoop-two.version}</version>
2835 <groupId>com.sun.jersey</groupId>
2836 <artifactId>jersey-core</artifactId>
2839 <groupId>org.codehaus.jackson</groupId>
2840 <artifactId>jackson-jaxrs</artifactId>
2843 <groupId>org.codehaus.jackson</groupId>
2844 <artifactId>jackson-xc</artifactId>
2847 <groupId>commons-beanutils</groupId>
2848 <artifactId>commons-beanutils</artifactId>
2851 <groupId>javax.servlet.jsp</groupId>
2852 <artifactId>jsp-api</artifactId>
2855 <groupId>javax.servlet</groupId>
2856 <artifactId>servlet-api</artifactId>
2859 <groupId>stax</groupId>
2860 <artifactId>stax-api</artifactId>
2863 <groupId>io.netty</groupId>
2864 <artifactId>netty</artifactId>
2867 <groupId>com.google.code.findbugs</groupId>
2868 <artifactId>jsr305</artifactId>
2871 <groupId>junit</groupId>
2872 <artifactId>junit</artifactId>
2875 <groupId>org.codehaus.jackson</groupId>
2876 <artifactId>jackson-core-asl</artifactId>
2879 <groupId>org.codehaus.jackson</groupId>
2880 <artifactId>jackson-mapper-asl</artifactId>
2885 <groupId>org.apache.hadoop</groupId>
2886 <artifactId>hadoop-common</artifactId>
2887 <version>${hadoop-two.version}</version>
2888 <type>test-jar</type>
2892 <groupId>com.sun.jersey</groupId>
2893 <artifactId>jersey-core</artifactId>
2896 <groupId>com.google.code.findbugs</groupId>
2897 <artifactId>jsr305</artifactId>
2900 <groupId>org.codehaus.jackson</groupId>
2901 <artifactId>jackson-jaxrs</artifactId>
2904 <groupId>org.codehaus.jackson</groupId>
2905 <artifactId>jackson-xc</artifactId>
2911 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2912 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2914 <groupId>javax.activation</groupId>
2915 <artifactId>javax.activation-api</artifactId>
2916 <version>1.2.0</version>
2920 <groupId>org.apache.hadoop</groupId>
2921 <artifactId>hadoop-client</artifactId>
2922 <version>${hadoop-two.version}</version>
2924 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2925 Where do we actually need it? -->
2927 <groupId>org.apache.hadoop</groupId>
2928 <artifactId>hadoop-minicluster</artifactId>
2929 <version>${hadoop-two.version}</version>
2931 <!--If we comment this in, a few tests in hbase-mapreduce
2932 fail. They depend on jersey-core somehow. But excluding
2933 jersey-core here messes up hbase-it because jersey-core
2934 implements a 1.x jaxrs Response Interface when we depend
2935 on the 2.x Interface... . Letting this jar come in
2936 transitively here but will exclude it down in hbase-it.
2939 <groupId>com.sun.jersey</groupId>
2940 <artifactId>jersey-core</artifactId>
2944 <groupId>commons-httpclient</groupId>
2945 <artifactId>commons-httpclient</artifactId>
2948 <groupId>javax.servlet.jsp</groupId>
2949 <artifactId>jsp-api</artifactId>
2952 <groupId>javax.servlet</groupId>
2953 <artifactId>servlet-api</artifactId>
2956 <groupId>stax</groupId>
2957 <artifactId>stax-api</artifactId>
2960 <groupId>io.netty</groupId>
2961 <artifactId>netty</artifactId>
2964 <groupId>com.google.code.findbugs</groupId>
2965 <artifactId>jsr305</artifactId>
2970 <groupId>org.apache.hadoop</groupId>
2971 <artifactId>hadoop-minikdc</artifactId>
2972 <version>${hadoop-two.version}</version>
2976 <groupId>org.apache.hadoop</groupId>
2977 <artifactId>hadoop-annotations</artifactId>
2978 <version>${hadoop-two.version}</version>
2982 <groupId>org.apache.hadoop</groupId>
2983 <artifactId>hadoop-distcp</artifactId>
2984 <version>${hadoop-two.version}</version>
2988 <groupId>org.apache.hadoop</groupId>
2989 <artifactId>hadoop-hdfs-client</artifactId>
2990 <version>${hadoop-two.version}</version>
2993 </dependencyManagement>
2996 profile for building against Hadoop 3.0.0. Activate using:
2997 mvn -Dhadoop.profile=3.0
3003 <name>hadoop.profile</name>
3008 <!--For now, use hadoop2 compat module-->
3009 <module>hbase-hadoop2-compat</module>
3012 <hadoop.version>${hadoop-three.version}</hadoop.version>
3013 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
3014 <compat.module>hbase-hadoop2-compat</compat.module>
3015 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
3016 <!--This property is for hadoops netty. HBase netty
3017 comes in via hbase-thirdparty hbase-shaded-netty-->
3018 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
3020 <dependencyManagement>
3023 <groupId>org.apache.hadoop</groupId>
3024 <artifactId>hadoop-mapreduce-client-core</artifactId>
3025 <version>${hadoop-three.version}</version>
3028 <groupId>com.sun.jersey</groupId>
3029 <artifactId>jersey-core</artifactId>
3032 <groupId>org.codehaus.jackson</groupId>
3033 <artifactId>jackson-jaxrs</artifactId>
3036 <groupId>org.codehaus.jackson</groupId>
3037 <artifactId>jackson-xc</artifactId>
3040 <groupId>io.netty</groupId>
3041 <artifactId>netty</artifactId>
3044 <groupId>javax.inject</groupId>
3045 <artifactId>javax.inject</artifactId>
3048 <groupId>org.codehaus.jackson</groupId>
3049 <artifactId>jackson-core-asl</artifactId>
3052 <groupId>org.codehaus.jackson</groupId>
3053 <artifactId>jackson-mapper-asl</artifactId>
3056 <groupId>com.google.guava</groupId>
3057 <artifactId>guava</artifactId>
3062 <groupId>org.apache.hadoop</groupId>
3063 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3064 <version>${hadoop-three.version}</version>
3067 <groupId>com.sun.jersey</groupId>
3068 <artifactId>jersey-core</artifactId>
3071 <groupId>io.netty</groupId>
3072 <artifactId>netty</artifactId>
3077 <groupId>org.apache.hadoop</groupId>
3078 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3079 <version>${hadoop-three.version}</version>
3080 <type>test-jar</type>
3084 <groupId>com.sun.jersey</groupId>
3085 <artifactId>jersey-core</artifactId>
3088 <groupId>io.netty</groupId>
3089 <artifactId>netty</artifactId>
3094 <groupId>org.apache.hadoop</groupId>
3095 <artifactId>hadoop-hdfs</artifactId>
3096 <version>${hadoop-three.version}</version>
3099 <groupId>com.sun.jersey</groupId>
3100 <artifactId>jersey-core</artifactId>
3103 <groupId>com.sun.jersey</groupId>
3104 <artifactId>jersey-server</artifactId>
3107 <groupId>javax.servlet.jsp</groupId>
3108 <artifactId>jsp-api</artifactId>
3111 <groupId>javax.servlet</groupId>
3112 <artifactId>servlet-api</artifactId>
3115 <groupId>stax</groupId>
3116 <artifactId>stax-api</artifactId>
3119 <groupId>xerces</groupId>
3120 <artifactId>xercesImpl</artifactId>
3123 <groupId>org.codehaus.jackson</groupId>
3124 <artifactId>jackson-core-asl</artifactId>
3127 <groupId>org.codehaus.jackson</groupId>
3128 <artifactId>jackson-mapper-asl</artifactId>
3131 <groupId>com.google.guava</groupId>
3132 <artifactId>guava</artifactId>
3137 <groupId>org.apache.hadoop</groupId>
3138 <artifactId>hadoop-hdfs</artifactId>
3139 <version>${hadoop-three.version}</version>
3140 <type>test-jar</type>
3144 <groupId>javax.servlet.jsp</groupId>
3145 <artifactId>jsp-api</artifactId>
3148 <groupId>javax.servlet</groupId>
3149 <artifactId>servlet-api</artifactId>
3152 <groupId>stax</groupId>
3153 <artifactId>stax-api</artifactId>
3156 <groupId>xerces</groupId>
3157 <artifactId>xercesImpl</artifactId>
3160 <groupId>org.codehaus.jackson</groupId>
3161 <artifactId>jackson-core-asl</artifactId>
3164 <groupId>org.codehaus.jackson</groupId>
3165 <artifactId>jackson-mapper-asl</artifactId>
3168 <groupId>com.google.guava</groupId>
3169 <artifactId>guava</artifactId>
3172 <groupId>com.sun.jersey</groupId>
3173 <artifactId>jersey-core</artifactId>
3178 <groupId>org.apache.hadoop</groupId>
3179 <artifactId>hadoop-hdfs</artifactId>
3180 <version>${hadoop-three.version}</version>
3181 <type>test-jar</type>
3182 <classifier>tests</classifier>
3186 <groupId>com.sun.jersey</groupId>
3187 <artifactId>jersey-core</artifactId>
3192 <groupId>org.apache.hadoop</groupId>
3193 <artifactId>hadoop-auth</artifactId>
3194 <version>${hadoop-three.version}</version>
3197 <groupId>com.google.guava</groupId>
3198 <artifactId>guava</artifactId>
3201 <groupId>net.minidev</groupId>
3202 <artifactId>json-smart</artifactId>
3207 <groupId>org.apache.hadoop</groupId>
3208 <artifactId>hadoop-common</artifactId>
3209 <version>${hadoop-three.version}</version>
3212 <groupId>com.sun.jersey</groupId>
3213 <artifactId>jersey-core</artifactId>
3216 <groupId>com.sun.jersey</groupId>
3217 <artifactId>jersey-json</artifactId>
3220 <groupId>com.sun.jersey</groupId>
3221 <artifactId>jersey-servlet</artifactId>
3224 <groupId>com.sun.jersey</groupId>
3225 <artifactId>jersey-server</artifactId>
3228 <groupId>javax.servlet.jsp</groupId>
3229 <artifactId>jsp-api</artifactId>
3232 <groupId>javax.servlet</groupId>
3233 <artifactId>javax.servlet-api</artifactId>
3236 <groupId>stax</groupId>
3237 <artifactId>stax-api</artifactId>
3240 <groupId>io.netty</groupId>
3241 <artifactId>netty</artifactId>
3244 <groupId>com.google.code.findbugs</groupId>
3245 <artifactId>jsr305</artifactId>
3248 <groupId>junit</groupId>
3249 <artifactId>junit</artifactId>
3252 <groupId>org.codehause.jackson</groupId>
3253 <artifactId>jackson-core-asl</artifactId>
3256 <groupId>org.codehause.jackson</groupId>
3257 <artifactId>jackson-mapper-asl</artifactId>
3263 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3265 <groupId>javax.activation</groupId>
3266 <artifactId>javax.activation-api</artifactId>
3267 <version>1.2.0</version>
3271 <groupId>org.apache.hadoop</groupId>
3272 <artifactId>hadoop-common</artifactId>
3273 <type>test-jar</type>
3274 <classifier>tests</classifier>
3275 <version>${hadoop-three.version}</version>
3278 <groupId>com.sun.jersey</groupId>
3279 <artifactId>jersey-core</artifactId>
3282 <groupId>com.google.code.findbugs</groupId>
3283 <artifactId>jsr305</artifactId>
3288 <groupId>org.apache.hadoop</groupId>
3289 <artifactId>hadoop-client</artifactId>
3290 <version>${hadoop-three.version}</version>
3293 <groupId>org.apache.hadoop</groupId>
3294 <artifactId>hadoop-annotations</artifactId>
3295 <version>${hadoop-three.version}</version>
3297 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3298 Where do we actually need it? -->
3300 <groupId>org.apache.hadoop</groupId>
3301 <artifactId>hadoop-minicluster</artifactId>
3302 <version>${hadoop-three.version}</version>
3304 <!--If we comment this in, a few tests in hbase-mapreduce
3305 fail. They depend on jersey-core somehow. But excluding
3306 jersey-core here messes up hbase-it because jersey-core
3307 implements a 1.x jaxrs Response Interface when we depend
3308 on the 2.x Interface... . Letting this jar come in
3309 transitively here but will exclude it down in hbase-it.
3312 <groupId>com.sun.jersey</groupId>
3313 <artifactId>jersey-core</artifactId>
3317 <groupId>commons-httpclient</groupId>
3318 <artifactId>commons-httpclient</artifactId>
3321 <groupId>javax.servlet.jsp</groupId>
3322 <artifactId>jsp-api</artifactId>
3325 <groupId>javax.servlet</groupId>
3326 <artifactId>servlet-api</artifactId>
3329 <groupId>stax</groupId>
3330 <artifactId>stax-api</artifactId>
3333 <groupId>io.netty</groupId>
3334 <artifactId>netty</artifactId>
3337 <groupId>com.google.code.findbugs</groupId>
3338 <artifactId>jsr305</artifactId>
3343 <groupId>org.apache.hadoop</groupId>
3344 <artifactId>hadoop-minikdc</artifactId>
3345 <version>${hadoop-three.version}</version>
3350 <groupId>org.apache.hadoop</groupId>
3351 <artifactId>hadoop-distcp</artifactId>
3352 <version>${hadoop-three.version}</version>
3356 <groupId>org.apache.hadoop</groupId>
3357 <artifactId>hadoop-hdfs-client</artifactId>
3358 <version>${hadoop-three.version}</version>
3361 </dependencyManagement>
3364 <!-- profiles for the tests
3365 See as well the properties of the project for the values
3366 when no profile is active. -->
3368 <!-- Use it to launch all tests in the same JVM -->
3369 <id>singleJVMTests</id>
3371 <activeByDefault>false</activeByDefault>
3374 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3375 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3376 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3377 <surefire.firstPartGroups/>
3381 <!-- Use it to launch small tests only -->
3382 <id>runSmallTests</id>
3384 <activeByDefault>false</activeByDefault>
3387 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3388 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3389 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3390 <surefire.secondPartGroups/>
3394 <!-- Use it to launch medium tests only -->
3395 <id>runMediumTests</id>
3397 <activeByDefault>false</activeByDefault>
3400 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3401 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3402 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3403 <surefire.secondPartGroups/>
3407 <!-- Use it to launch large tests only -->
3408 <id>runLargeTests</id>
3410 <activeByDefault>false</activeByDefault>
3413 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3414 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3415 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3416 <surefire.secondPartGroups/>
3420 <!-- Use it to launch small & medium tests -->
3421 <id>runDevTests</id>
3423 <activeByDefault>false</activeByDefault>
3426 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3427 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3428 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3429 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3430 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3434 <!-- Use it to launch all tests -->
3435 <id>runAllTests</id>
3437 <activeByDefault>false</activeByDefault>
3440 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3441 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3442 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3443 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3447 <id>runMiscTests</id>
3449 <activeByDefault>false</activeByDefault>
3452 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3453 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3454 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3455 </surefire.firstPartGroups>
3456 <surefire.secondPartGroups></surefire.secondPartGroups>
3460 <id>runCoprocessorTests</id>
3462 <activeByDefault>false</activeByDefault>
3465 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3466 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3467 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3468 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3469 <surefire.firstPartGroups>
3470 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3471 </surefire.firstPartGroups>
3472 <surefire.secondPartGroups></surefire.secondPartGroups>
3476 <id>runClientTests</id>
3478 <activeByDefault>false</activeByDefault>
3481 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3482 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3483 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3484 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3485 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3486 </surefire.firstPartGroups>
3487 <surefire.secondPartGroups></surefire.secondPartGroups>
3491 <id>runMasterTests</id>
3493 <activeByDefault>false</activeByDefault>
3496 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3497 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3498 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3499 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3500 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3501 </surefire.firstPartGroups>
3502 <surefire.secondPartGroups></surefire.secondPartGroups>
3506 <id>runMapredTests</id>
3508 <activeByDefault>false</activeByDefault>
3511 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3512 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3513 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3514 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3515 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3516 </surefire.firstPartGroups>
3517 <surefire.secondPartGroups></surefire.secondPartGroups>
3521 <id>runMapreduceTests</id>
3523 <activeByDefault>false</activeByDefault>
3526 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3527 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3528 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3529 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3530 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3531 </surefire.firstPartGroups>
3532 <surefire.secondPartGroups></surefire.secondPartGroups>
3536 <id>runRegionServerTests</id>
3538 <activeByDefault>false</activeByDefault>
3541 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3542 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3543 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3544 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3545 <surefire.firstPartGroups>
3546 org.apache.hadoop.hbase.testclassification.RegionServerTests
3547 </surefire.firstPartGroups>
3548 <surefire.secondPartGroups></surefire.secondPartGroups>
3552 <id>runVerySlowMapReduceTests</id>
3554 <activeByDefault>false</activeByDefault>
3557 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3558 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3559 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3560 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3561 <surefire.firstPartGroups>
3562 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3563 </surefire.firstPartGroups>
3564 <surefire.secondPartGroups></surefire.secondPartGroups>
3569 <id>runVerySlowRegionServerTests</id>
3571 <activeByDefault>false</activeByDefault>
3574 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3575 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3576 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3577 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3578 <surefire.firstPartGroups>
3579 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3580 </surefire.firstPartGroups>
3581 <surefire.secondPartGroups></surefire.secondPartGroups>
3586 <id>runFilterTests</id>
3588 <activeByDefault>false</activeByDefault>
3591 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3592 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3593 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3594 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3595 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3596 </surefire.firstPartGroups>
3597 <surefire.secondPartGroups></surefire.secondPartGroups>
3603 <activeByDefault>false</activeByDefault>
3606 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3607 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3608 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3609 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3610 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3611 </surefire.firstPartGroups>
3612 <surefire.secondPartGroups></surefire.secondPartGroups>
3616 <id>runRestTests</id>
3618 <activeByDefault>false</activeByDefault>
3621 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3622 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3623 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3624 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3625 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3626 </surefire.firstPartGroups>
3627 <surefire.secondPartGroups></surefire.secondPartGroups>
3631 <id>runRPCTests</id>
3633 <activeByDefault>false</activeByDefault>
3636 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3637 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3638 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3639 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3640 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3641 </surefire.firstPartGroups>
3642 <surefire.secondPartGroups></surefire.secondPartGroups>
3646 <id>runReplicationTests</id>
3648 <activeByDefault>false</activeByDefault>
3651 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3652 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3653 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3654 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3655 <surefire.firstPartGroups>
3656 org.apache.hadoop.hbase.testclassification.ReplicationTests
3657 </surefire.firstPartGroups>
3658 <surefire.secondPartGroups></surefire.secondPartGroups>
3662 <id>runSecurityTests</id>
3664 <activeByDefault>false</activeByDefault>
3667 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3668 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3669 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3670 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3671 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3672 </surefire.firstPartGroups>
3673 <surefire.secondPartGroups></surefire.secondPartGroups>
3677 <id>runFlakeyTests</id>
3679 <activeByDefault>false</activeByDefault>
3682 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3683 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3684 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3685 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3686 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3687 </surefire.firstPartGroups>
3688 <surefire.secondPartGroups></surefire.secondPartGroups>
3694 <activeByDefault>false</activeByDefault>
3697 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3698 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3699 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3700 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3701 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3702 </surefire.firstPartGroups>
3703 <surefire.secondPartGroups></surefire.secondPartGroups>
3707 <id>runRSGroupTests</id>
3709 <activeByDefault>false</activeByDefault>
3712 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3713 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3714 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3715 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3716 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3717 </surefire.firstPartGroups>
3718 <surefire.secondPartGroups></surefire.secondPartGroups>
3723 <!-- Use it to launch tests locally-->
3731 <surefire.provider>surefire-junit4</surefire.provider>
3732 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3733 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3734 <surefire.firstPartGroups/>
3737 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3738 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3739 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3740 The report will be generated under target/site/clover/index.html when you run
3741 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3745 <activeByDefault>false</activeByDefault>
3751 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3755 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3756 our instrumented classes for the doclet will fail
3759 <groupId>org.apache.maven.plugins</groupId>
3760 <artifactId>maven-javadoc-plugin</artifactId>
3763 <groupId>com.atlassian.maven.plugins</groupId>
3764 <artifactId>maven-clover2-plugin</artifactId>
3765 <version>${clover.version}</version>
3770 <groupId>com.atlassian.maven.plugins</groupId>
3771 <artifactId>maven-clover2-plugin</artifactId>
3772 <version>${clover.version}</version>
3774 <includesAllSourceRoots>true</includesAllSourceRoots>
3775 <includesTestSourceRoots>true</includesTestSourceRoots>
3776 <targetPercentage>50%</targetPercentage>
3777 <generateHtml>true</generateHtml>
3778 <generateXml>true</generateXml>
3780 <exclude>**/generated/**</exclude>
3785 <id>clover-setup</id>
3786 <phase>process-sources</phase>
3804 <!-- Used by the website generation script on jenkins to
3805 do a local install of the jars we need to run a normal
3806 site build w/o forking.
3808 <id>site-install-step</id>
3810 <skipTests>true</skipTests>
3811 <maven.javadoc.skip>true</maven.javadoc.skip>
3812 <enforcer.skip>true</enforcer.skip>
3813 <checkstyle.skip>true</checkstyle.skip>
3814 <spotbugs.skip>true</spotbugs.skip>
3815 <warbucks.skip>true</warbucks.skip>
3819 <!-- Used by the website generation script on jenkins to
3820 mitigate the impact of unneeded build forks while building
3823 <id>site-build-step</id>
3825 <skipTests>true</skipTests>
3826 <enforcer.skip>true</enforcer.skip>
3827 <maven.main.skip>true</maven.main.skip>
3828 <maven.test.skip>true</maven.test.skip>
3829 <warbucks.skip>true</warbucks.skip>
3830 <protoc.skip>true</protoc.skip>
3831 <remoteresources.skip>true</remoteresources.skip>
3835 <id>eclipse-specific</id>
3838 <name>m2e.version</name>
3844 <!-- General config for eclipse classpath/settings -->
3846 <groupId>org.apache.maven.plugins</groupId>
3847 <artifactId>maven-eclipse-plugin</artifactId>
3848 <version>${maven.eclipse.version}</version>
3850 <!--This plugin's configuration is used to store Eclipse m2e settings
3851 only. It has no influence on the Maven build itself. m2e does not
3852 provide any safeguards against rogue maven plugins that leak
3853 classloaders, modify random files inside workspace or throw nasty
3854 exceptions to fail the build.
3855 Top level doesn't do any specific configuration currently - left
3856 to modules to decide what they want to bind, sans those plugins
3857 defined in this pom. -->
3859 <groupId>org.eclipse.m2e</groupId>
3860 <artifactId>lifecycle-mapping</artifactId>
3861 <version>${lifecycle.mapping.version}</version>
3863 <lifecycleMappingMetadata>
3866 <pluginExecutionFilter>
3867 <groupId>org.jacoco</groupId>
3868 <artifactId>jacoco-maven-plugin</artifactId>
3869 <versionRange>[0.6.2.201302030002,)</versionRange>
3871 <goal>prepare-agent</goal>
3873 </pluginExecutionFilter>
3879 <pluginExecutionFilter>
3880 <groupId>org.apache.maven.plugins</groupId>
3881 <artifactId>maven-enforcer-plugin</artifactId>
3882 <versionRange>${enforcer.version}</versionRange>
3884 <goal>enforce</goal>
3886 </pluginExecutionFilter>
3892 <pluginExecutionFilter>
3893 <groupId>org.apache.maven.plugins</groupId>
3894 <artifactId>maven-remote-resources-plugin</artifactId>
3895 <versionRange>[1.5,)</versionRange>
3897 <goal>process</goal>
3900 </pluginExecutionFilter>
3906 <pluginExecutionFilter>
3907 <groupId>org.codehaus.mojo</groupId>
3908 <artifactId>buildnumber-maven-plugin</artifactId>
3909 <versionRange>[1.3,)</versionRange>
3911 <goal>create-timestamp</goal>
3913 </pluginExecutionFilter>
3916 <runOnConfiguration>true</runOnConfiguration>
3917 <runOnIncremental>true</runOnIncremental>
3922 </lifecycleMappingMetadata>
3932 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3936 <family>linux</family>
3937 <arch>aarch64</arch>
3942 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3946 <artifactId>maven-project-info-reports-plugin</artifactId>
3947 <version>${maven.project.info.report.version}</version>
3951 <report>dependencies</report>
3952 <report>dependency-convergence</report>
3953 <report>dependency-info</report>
3954 <report>dependency-management</report>
3955 <report>index</report>
3956 <report>issue-tracking</report>
3957 <report>mailing-list</report>
3958 <report>plugin-management</report>
3959 <report>plugins</report>
3960 <report>project-team</report>
3961 <report>scm</report>
3962 <report>summary</report>
3966 <!-- see src/site/site.xml for selected reports -->
3968 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3973 <groupId>org.apache.maven.plugins</groupId>
3974 <artifactId>maven-javadoc-plugin</artifactId>
3978 <name>apiNote</name>
3979 <placement>a</placement>
3980 <head>API Note:</head>
3989 <report>aggregate</report>
3992 <destDir>devapidocs</destDir>
3993 <name>Developer API</name>
3994 <description>The full HBase API, including private and unstable APIs</description>
3995 <sourceFileExcludes>
3996 <exclude>**/generated/*</exclude>
3997 <exclude>**/protobuf/*</exclude>
3998 </sourceFileExcludes>
3999 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4000 <show>private</show> <!-- (shows all classes and members) -->
4002 <linksource>true</linksource>
4003 <sourcetab>2</sourcetab>
4004 <validateLinks>true</validateLinks>
4005 <fixClassComment>true</fixClassComment>
4006 <fixFieldComment>true</fixFieldComment>
4007 <fixMethodComment>true</fixMethodComment>
4008 <fixTags>all</fixTags>
4009 <notimestamp>true</notimestamp>
4010 <locale>en_US</locale>
4011 <!-- Pass some options straight to the javadoc executable since it is easier -->
4012 <additionalJOption>-J-Xmx2G</additionalJOption>
4013 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4014 <additionalDependencies>
4015 <additionalDependency>
4016 <groupId>org.mockito</groupId>
4017 <artifactId>mockito-core</artifactId>
4018 <version>${mockito-core.version}</version>
4019 </additionalDependency>
4020 <additionalDependency>
4021 <groupId>org.hamcrest</groupId>
4022 <artifactId>hamcrest-core</artifactId>
4023 <version>${hamcrest.version}</version>
4024 </additionalDependency>
4025 </additionalDependencies>
4026 <inherited>false</inherited>
4032 <report>test-aggregate</report>
4035 <destDir>testdevapidocs</destDir>
4036 <name>Developer API</name>
4037 <description>The full HBase API test code, including private and unstable APIs</description>
4038 <sourceFileExcludes>
4039 <exclude>**/generated/*</exclude>
4040 <exclude>**/protobuf/*</exclude>
4041 </sourceFileExcludes>
4042 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4043 <show>private</show> <!-- (shows all classes and members) -->
4045 <linksource>true</linksource>
4046 <sourcetab>2</sourcetab>
4047 <validateLinks>true</validateLinks>
4048 <fixClassComment>true</fixClassComment>
4049 <fixFieldComment>true</fixFieldComment>
4050 <fixMethodComment>true</fixMethodComment>
4051 <fixTags>all</fixTags>
4052 <notimestamp>true</notimestamp>
4053 <locale>en_US</locale>
4054 <!-- Pass some options straight to the javadoc executable since it is easier -->
4055 <additionalJOption>-J-Xmx2G</additionalJOption>
4056 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4057 <additionalDependencies>
4058 <additionalDependency>
4059 <groupId>org.mockito</groupId>
4060 <artifactId>mockito-core</artifactId>
4061 <version>${mockito-core.version}</version>
4062 </additionalDependency>
4063 <additionalDependency>
4064 <groupId>org.hamcrest</groupId>
4065 <artifactId>hamcrest-core</artifactId>
4066 <version>${hamcrest.version}</version>
4067 </additionalDependency>
4068 </additionalDependencies>
4069 <inherited>false</inherited>
4077 <report>aggregate</report>
4081 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4084 <groupId>org.apache.yetus</groupId>
4085 <artifactId>audience-annotations</artifactId>
4086 <version>${audience-annotations.version}</version>
4088 <useStandardDocletOptions>true</useStandardDocletOptions>
4089 <destDir>apidocs</destDir>
4090 <name>User API</name>
4091 <description>The HBase Application Programmer's API</description>
4092 <excludePackageNames>
4093 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*
4094 </excludePackageNames>
4095 <!-- switch on dependency-driven aggregation -->
4096 <includeDependencySources>false</includeDependencySources>
4097 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4098 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4100 <linksource>true</linksource>
4101 <sourcetab>2</sourcetab>
4102 <validateLinks>true</validateLinks>
4103 <fixClassComment>true</fixClassComment>
4104 <fixFieldComment>true</fixFieldComment>
4105 <fixMethodComment>true</fixMethodComment>
4106 <fixTags>all</fixTags>
4107 <notimestamp>true</notimestamp>
4108 <locale>en_US</locale>
4109 <!-- Pass some options straight to the javadoc executable since it is easier -->
4110 <additionalJOption>-J-Xmx2G</additionalJOption>
4111 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4112 <additionalDependencies>
4113 <additionalDependency>
4114 <groupId>org.mockito</groupId>
4115 <artifactId>mockito-core</artifactId>
4116 <version>${mockito-core.version}</version>
4117 </additionalDependency>
4118 <additionalDependency>
4119 <groupId>org.hamcrest</groupId>
4120 <artifactId>hamcrest-core</artifactId>
4121 <version>${hamcrest.version}</version>
4122 </additionalDependency>
4123 </additionalDependencies>
4124 <inherited>false</inherited>
4127 <!-- User Test API -->
4129 <id>testuserapi</id>
4131 <report>test-aggregate</report>
4135 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4138 <groupId>org.apache.yetus</groupId>
4139 <artifactId>audience-annotations</artifactId>
4140 <version>${audience-annotations.version}</version>
4142 <useStandardDocletOptions>true</useStandardDocletOptions>
4143 <destDir>testapidocs</destDir>
4144 <name>User API</name>
4145 <description>The HBase Application Programmer's API</description>
4146 <excludePackageNames>
4147 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*
4148 </excludePackageNames>
4149 <!-- switch on dependency-driven aggregation -->
4150 <includeDependencySources>false</includeDependencySources>
4151 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4152 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4154 <linksource>true</linksource>
4155 <sourcetab>2</sourcetab>
4156 <validateLinks>true</validateLinks>
4157 <fixClassComment>true</fixClassComment>
4158 <fixFieldComment>true</fixFieldComment>
4159 <fixMethodComment>true</fixMethodComment>
4160 <fixTags>all</fixTags>
4161 <notimestamp>true</notimestamp>
4162 <locale>en_US</locale>
4163 <!-- Pass some options straight to the javadoc executable since it is easier -->
4164 <additionalJOption>-J-Xmx2G</additionalJOption>
4165 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4166 <additionalDependencies>
4167 <additionalDependency>
4168 <groupId>org.mockito</groupId>
4169 <artifactId>mockito-core</artifactId>
4170 <version>${mockito-core.version}</version>
4171 </additionalDependency>
4172 <additionalDependency>
4173 <groupId>org.hamcrest</groupId>
4174 <artifactId>hamcrest-core</artifactId>
4175 <version>${hamcrest.version}</version>
4176 </additionalDependency>
4177 </additionalDependencies>
4178 <inherited>false</inherited>
4185 <groupId>org.apache.maven.plugins</groupId>
4186 <artifactId>maven-checkstyle-plugin</artifactId>
4187 <version>${maven.checkstyle.version}</version>
4189 <excludes>target/**</excludes>
4195 <distributionManagement>
4197 <id>hbase.apache.org</id>
4198 <name>HBase Website at hbase.apache.org</name>
4199 <!-- On why this is the tmp dir and not hbase.apache.org, see
4200 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4202 <url>file:///tmp</url>
4204 </distributionManagement>