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-balancer</module>
67 <module>hbase-mapreduce</module>
68 <module>hbase-resource-bundle</module>
69 <module>hbase-http</module>
70 <module>hbase-server</module>
71 <module>hbase-thrift</module>
72 <module>hbase-shell</module>
73 <module>hbase-protocol-shaded</module>
74 <module>hbase-client</module>
75 <module>hbase-hadoop-compat</module>
76 <module>hbase-common</module>
77 <module>hbase-procedure</module>
78 <module>hbase-endpoint</module>
79 <module>hbase-it</module>
80 <module>hbase-examples</module>
81 <module>hbase-assembly</module>
82 <module>hbase-testing-util</module>
83 <module>hbase-annotations</module>
84 <module>hbase-rest</module>
85 <module>hbase-checkstyle</module>
86 <module>hbase-external-blockcache</module>
87 <module>hbase-shaded</module>
88 <module>hbase-archetypes</module>
89 <module>hbase-metrics-api</module>
90 <module>hbase-metrics</module>
91 <module>hbase-backup</module>
92 <module>hbase-zookeeper</module>
93 <module>hbase-hbtop</module>
94 <module>hbase-asyncfs</module>
95 <module>hbase-logging</module>
98 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
99 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
100 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
103 <system>JIRA</system>
104 <url>https://issues.apache.org/jira/browse/HBASE</url>
108 <name>User List</name>
109 <subscribe>user-subscribe@hbase.apache.org</subscribe>
110 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
111 <post>user@hbase.apache.org</post>
112 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
114 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
115 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
119 <name>Developer List</name>
120 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
121 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
122 <post>dev@hbase.apache.org</post>
123 <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
125 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
126 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
130 <name>Commits List</name>
131 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
132 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
133 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
136 <name>Issues List</name>
137 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
138 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
139 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
142 <name>Builds List</name>
143 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
144 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
145 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
148 <name>User (ZH) List</name>
149 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
150 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
151 <post>user-zh@hbase.apache.org</post>
152 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
158 <name>Abhishek Singh Chouhan</name>
159 <email>achouhan@apache.org</email>
160 <timezone>+5</timezone>
164 <name>Amitanand S. Aiyer</name>
165 <email>acube123@apache.org</email>
166 <timezone>-8</timezone>
170 <name>Allan Yang</name>
171 <email>allan163@apache.org</email>
172 <timezone>+8</timezone>
176 <name>Apekshit Sharma</name>
177 <email>appy@apache.org</email>
178 <timezone>-8</timezone>
182 <name>Anastasia Braginsky</name>
183 <email>anastasia@apache.org</email>
184 <timezone>+2</timezone>
188 <name>Andrew Purtell</name>
189 <email>apurtell@apache.org</email>
190 <timezone>-8</timezone>
193 <id>anoopsamjohn</id>
194 <name>Anoop Sam John</name>
195 <email>anoopsamjohn@apache.org</email>
196 <timezone>+5</timezone>
200 <name>Mikhail Antonov</name>
201 <email>antonov@apache.org</email>
202 <timezone>-8</timezone>
205 <id>ashishsinghi</id>
206 <name>Ashish Singhi</name>
207 <email>ashishsinghi@apache.org</email>
208 <timezone>+5</timezone>
212 <name>Ashu Pachauri</name>
213 <email>ashu@apache.org</email>
214 <timezone>+5</timezone>
218 <name>Bharath Vissapragada</name>
219 <email>bharathv@apache.org</email>
220 <timezone>-8</timezone>
224 <name>Lijin Bin</name>
225 <email>binlijin@apache.org</email>
226 <timezone>+8</timezone>
230 <name>Toshihiro Suzuki</name>
231 <email>brfrn169@apache.org</email>
232 <timezone>+9</timezone>
236 <name>Sean Busbey</name>
237 <email>busbey@apache.org</email>
238 <timezone>-6</timezone>
242 <name>Heng Chen</name>
243 <email>chenheng@apache.org</email>
244 <timezone>+8</timezone>
248 <name>Chia-Ping Tsai</name>
249 <email>chia7712@apache.org</email>
250 <timezone>+8</timezone>
254 <name>Devaraj Das</name>
255 <email>ddas@apache.org</email>
256 <timezone>-8</timezone>
260 <name>Dima Spivak</name>
261 <email>dimaspivak@apache.org</email>
262 <timezone>-8</timezone>
266 <name>Doug Meil</name>
267 <email>dmeil@apache.org</email>
268 <timezone>-5</timezone>
272 <name>Elliott Clark</name>
273 <email>eclark@apache.org</email>
274 <timezone>-8</timezone>
278 <name>Josh Elser</name>
279 <email>elserj@apache.org</email>
280 <timezone>-5</timezone>
284 <name>Enis Soztutar</name>
285 <email>enis@apache.org</email>
286 <timezone>-8</timezone>
290 <name>Eshcar Hillel</name>
291 <email>eshcar@apache.org</email>
292 <timezone>+2</timezone>
296 <name>Honghua Feng</name>
297 <email>fenghh@apache.org</email>
298 <timezone>+8</timezone>
302 <name>Gary Helmling</name>
303 <email>garyh@apache.org</email>
304 <timezone>-8</timezone>
308 <name>Gregory Chanan</name>
309 <email>gchanan@apache.org</email>
310 <timezone>-8</timezone>
314 <name>Guangxu Cheng</name>
315 <email>gxcheng@apache.org</email>
316 <timezone>+8</timezone>
320 <name>Huaxiang Sun</name>
321 <email>huaxiangsun@apache.org</email>
322 <timezone>-8</timezone>
326 <name>Jean-Daniel Cryans</name>
327 <email>jdcryans@apache.org</email>
328 <timezone>-8</timezone>
332 <name>Jeffrey Zhong</name>
333 <email>jeffreyz@apache.org</email>
334 <timezone>-8</timezone>
338 <name>Jing Chen (Jerry) He</name>
339 <email>jerryjch@apache.org</email>
340 <timezone>-8</timezone>
344 <name>Jesse Yates</name>
345 <email>jyates@apache.org</email>
346 <timezone>-8</timezone>
350 <name>Jonathan Gray</name>
351 <email>jgray@fb.com</email>
352 <timezone>-8</timezone>
356 <name>Jingcheng Du</name>
357 <email>jingchengdu@apache.org</email>
358 <timezone>+8</timezone>
362 <name>Esteban Gutierrez</name>
363 <email>esteban@apache.org</email>
364 <timezone>-8</timezone>
368 <name>Jan Hentschel</name>
369 <email>janh@apache.org</email>
370 <timezone>+1</timezone>
374 <name>Jonathan Hsieh</name>
375 <email>jmhsieh@apache.org</email>
376 <timezone>-8</timezone>
380 <name>Jimmy Xiang</name>
381 <email>jxiang@apache.org</email>
382 <timezone>-8</timezone>
386 <name>Kannan Muthukkaruppan</name>
387 <email>kannan@fb.com</email>
388 <timezone>-8</timezone>
392 <name>Karthik Ranganathan</name>
393 <email>kranganathan@fb.com</email>
394 <timezone>-8</timezone>
398 <name>Lars Francke</name>
399 <email>larsfrancke@apache.org</email>
400 <timezone>Europe/Berlin</timezone>
404 <name>Lars George</name>
405 <email>larsgeorge@apache.org</email>
406 <timezone>+1</timezone>
410 <name>Lars Hofhansl</name>
411 <email>larsh@apache.org</email>
412 <timezone>-8</timezone>
416 <name>Liang Xie</name>
417 <email>liangxie@apache.org</email>
418 <timezone>+8</timezone>
422 <name>Shaohui Liu</name>
423 <email>liushaohui@apache.org</email>
424 <timezone>+8</timezone>
428 <name>Liyin Tang</name>
429 <email>liyin.tang@fb.com</email>
430 <timezone>-8</timezone>
435 <email>liyu@apache.org</email>
436 <timezone>+8</timezone>
440 <name>Mikhail Bautin</name>
441 <email>mbautin@apache.org</email>
442 <timezone>-8</timezone>
446 <name>Matteo Bertozzi</name>
447 <email>mbertozzi@apache.org</email>
448 <timezone>0</timezone>
452 <name>Mike Drob</name>
453 <email>mdrob@apache.org</email>
454 <timezone>-5</timezone>
458 <name>Balazs Meszaros</name>
459 <email>meszibalu@apache.org</email>
460 <timezone>+1</timezone>
464 <name>Misty Stanley-Jones</name>
465 <email>misty@apache.org</email>
466 <timezone>-8</timezone>
470 <name>Nick Dimiduk</name>
471 <email>ndimiduk@apache.org</email>
472 <timezone>-8</timezone>
476 <name>Nicolas Liochon</name>
477 <email>nkeywal@apache.org</email>
478 <timezone>+1</timezone>
481 <id>nspiegelberg</id>
482 <name>Nicolas Spiegelberg</name>
483 <email>nspiegelberg@fb.com</email>
484 <timezone>-8</timezone>
488 <name>Andrey Stepachev</name>
489 <email>octo47@gmail.com</email>
490 <timezone>0</timezone>
494 <name>Zheng Hu</name>
495 <email>openinx@apache.org</email>
496 <timezone>+8</timezone>
500 <name>Pankaj Kumar</name>
501 <email>pankajkumar@apache.org</email>
502 <timezone>+5</timezone>
506 <name>Peter Somogyi</name>
507 <email>psomogyi@apache.org</email>
508 <timezone>+1</timezone>
512 <name>Rajeshbabu Chintaguntla</name>
513 <email>rajeshbabu@apache.org</email>
514 <timezone>+5</timezone>
518 <name>Ramkrishna S Vasudevan</name>
519 <email>ramkrishna@apache.org</email>
520 <timezone>+5</timezone>
524 <name>Ryan Rawson</name>
525 <email>rawson@apache.org</email>
526 <timezone>-8</timezone>
530 <name>Reid Chan</name>
531 <email>reidchan@apache.org</email>
532 <timezone>+8</timezone>
536 <name>Sakthi Vel</name>
537 <email>sakthi@apache.org</email>
538 <timezone>-8</timezone>
542 <name>Sergey Shelukhin</name>
543 <email>sershe@apache.org</email>
544 <timezone>-8</timezone>
548 <name>Srikanth Srungarapu</name>
549 <email>ssrungarapu@apache.org</email>
550 <timezone>-8</timezone>
554 <name>Michael Stack</name>
555 <email>stack@apache.org</email>
556 <timezone>-8</timezone>
560 <name>Stephen Yuan Jiang</name>
561 <email>syuanjiang@apache.org</email>
562 <timezone>-8</timezone>
566 <name>Tak-Lon (Stephen) Wu</name>
567 <email>taklwu@apache.org</email>
568 <timezone>-8</timezone>
573 <email>yuzhihong@gmail.com</email>
574 <timezone>-8</timezone>
578 <email>tianjy@apache.org</email>
579 <timezone>+8</timezone>
583 <name>Todd Lipcon</name>
584 <email>todd@apache.org</email>
585 <timezone>-8</timezone>
589 <name>Francis Liu</name>
590 <email>toffer@apache.org</email>
591 <timezone>-8</timezone>
595 <name>Vikas Vishwakarma</name>
596 <email>vikasv@apache.org</email>
597 <timezone>+5</timezone>
601 <name>Virag Kothari</name>
602 <email>virag@yahoo-inc.com</email>
603 <timezone>-8</timezone>
607 <name>Viraj Jasani</name>
608 <email>vjasani@apache.org</email>
609 <timezone>+5</timezone>
613 <name>Xiang Li</name>
614 <email>xiangli@apache.org</email>
615 <timezone>+8</timezone>
619 <name>Wellington Chevreuil</name>
620 <email>wchevreuil@apache.org</email>
621 <timezone>0</timezone>
626 <email>xucang@apache.org</email>
627 <timezone>-8</timezone>
631 <name>Phil Yang</name>
632 <email>yangzhe1991@apache.org</email>
633 <timezone>+8</timezone>
637 <name>Guanghao Zhang</name>
638 <email>zghao@apache.org</email>
639 <timezone>+8</timezone>
643 <name>Duo Zhang</name>
644 <email>zhangduo@apache.org</email>
645 <timezone>+8</timezone>
649 <name>Chunhui Shen</name>
650 <email>zjushch@apache.org</email>
651 <timezone>+8</timezone>
655 <name>Rahul Gidwani</name>
656 <email>churro@apache.org</email>
657 <timezone>-8</timezone>
661 <name>Yi Liang</name>
662 <email>yiliang@apache.org</email>
663 <timezone>-8</timezone>
667 <name>Zach York</name>
668 <email>zyork@apache.org</email>
669 <timezone>-8</timezone>
674 <email>meiyi@apache.org</email>
675 <timezone>+8</timezone>
681 <groupId>kr.motd.maven</groupId>
682 <artifactId>os-maven-plugin</artifactId>
683 <version>${os.maven.version}</version>
686 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
687 For specific version use a property and define it in the parent pom.
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-remote-resources-plugin</artifactId>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-release-plugin</artifactId>
699 <!--You need this profile. It'll sign your artifacts.
700 I'm not sure if this config. actually works though.
701 I've been specifying -Papache-release on the command-line
703 <releaseProfiles>apache-release</releaseProfiles>
704 <!--This stops our running tests for each stage of maven release.
705 But it builds the test jar. From SUREFIRE-172.
707 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
708 <goals>${goals}</goals>
709 <pomFileName>pom.xml</pomFileName>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-compiler-plugin</artifactId>
716 <source>${compileSource}</source>
717 <target>${compileSource}</target>
718 <showWarnings>true</showWarnings>
719 <showDeprecation>false</showDeprecation>
720 <useIncrementalCompilation>false</useIncrementalCompilation>
721 <compilerArgument>-Xlint:-options</compilerArgument>
724 <!-- Test oriented plugins -->
726 <groupId>org.apache.maven.plugins</groupId>
727 <artifactId>maven-surefire-plugin</artifactId>
728 <version>${surefire.version}</version>
730 <!-- by default surefire selects dynamically the connector to the unit tests
731 tool. We want to use always the same as the different connectors can have different
732 bugs and behaviour. -->
734 <groupId>org.apache.maven.surefire</groupId>
735 <artifactId>${surefire.provider}</artifactId>
736 <version>${surefire.version}</version>
739 <!-- Generic testing configuration for all packages -->
741 <groups>${surefire.firstPartGroups}</groups>
742 <failIfNoTests>false</failIfNoTests>
743 <skip>${surefire.skipFirstPart}</skip>
744 <forkCount>${surefire.firstPartForkCount}</forkCount>
745 <reuseForks>false</reuseForks>
746 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
747 <tempDir>${surefire.tempDir}</tempDir>
748 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
749 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
750 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
751 <systemPropertyVariables>
752 <test.build.classes>${test.build.classes}</test.build.classes>
753 </systemPropertyVariables>
755 <!-- users can add -D option to skip particular test classes
756 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
758 <exclude>${test.exclude.pattern}</exclude>
762 <name>listener</name>
763 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
769 <id>secondPartTestsExecution</id>
775 <skip>${surefire.skipSecondPart}</skip>
776 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
777 <reuseForks>false</reuseForks>
778 <forkCount>${surefire.secondPartForkCount}</forkCount>
779 <groups>${surefire.secondPartGroups}</groups>
780 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-surefire-report-plugin</artifactId>
788 <version>${surefire.version}</version>
791 <groupId>org.codehaus.mojo</groupId>
792 <artifactId>buildnumber-maven-plugin</artifactId>
793 <version>${buildnumber.maven.version}</version>
796 <groupId>com.github.spotbugs</groupId>
797 <artifactId>spotbugs-maven-plugin</artifactId>
798 <version>${spotbugs.maven.version}</version>
800 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
801 <spotbugsXmlOutput>true</spotbugsXmlOutput>
802 <xmlOutput>true</xmlOutput>
807 <groupId>org.codehaus.mojo</groupId>
808 <artifactId>build-helper-maven-plugin</artifactId>
809 <version>${build.helper.maven.version}</version>
812 <artifactId>maven-antrun-plugin</artifactId>
813 <version>${maven.antrun.version}</version>
816 <groupId>org.jamon</groupId>
817 <artifactId>jamon-maven-plugin</artifactId>
818 <version>${jamon.plugin.version}</version>
820 <!-- Make a jar and put the sources in the jar.
821 In the parent pom, so submodules will do the right thing. -->
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-source-plugin</artifactId>
827 <id>attach-sources</id>
828 <phase>prepare-package</phase>
830 <goal>jar-no-fork</goal>
831 <goal>test-jar-no-fork</goal>
835 <exclude>log4j.properties</exclude>
841 <!-- General configuration for submodules who want to build a test jar -->
843 <groupId>org.apache.maven.plugins</groupId>
844 <artifactId>maven-jar-plugin</artifactId>
847 <phase>prepare-package</phase>
849 <!--This goal will install a -test.jar when we do install
850 See https://maven.apache.org/guides/mini/guide-attached-tests.html
852 <goal>test-jar</goal>
857 <skipIfEmpty>true</skipIfEmpty>
859 <exclude>hbase-site.xml</exclude>
860 <exclude>hdfs-site.xml</exclude>
861 <exclude>mapred-queues.xml</exclude>
862 <exclude>mapred-site.xml</exclude>
867 <!-- excludes are inherited -->
868 <groupId>org.apache.rat</groupId>
869 <artifactId>apache-rat-plugin</artifactId>
872 <exclude>**/*.versionsBackup</exclude>
873 <exclude>**/*.log</exclude>
874 <exclude>**/.*</exclude>
875 <exclude>**/*.tgz</exclude>
876 <exclude>**/*.orig</exclude>
877 <exclude>**/0000000000000016310</exclude>
878 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
879 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
880 <exclude>**/.idea/**</exclude>
881 <exclude>**/*.iml</exclude>
882 <exclude>**/CHANGES.txt</exclude>
883 <exclude>**/generated/**</exclude>
884 <exclude>**/gen-*/**</exclude>
885 <!-- No material contents -->
886 <exclude>conf/regionservers</exclude>
887 <exclude>**/*.avpr</exclude>
888 <exclude>**/*.svg</exclude>
889 <!-- non-standard notice file from jruby included by reference -->
890 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
891 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
892 <exclude>**/src/main/asciidoc/hbase.css</exclude>
893 <!-- MIT https://jquery.org/license -->
894 <exclude>**/jquery.min.js</exclude>
895 <exclude>**/jquery.tablesorter.min.js</exclude>
896 <!-- vector graphics -->
897 <exclude>**/*.vm</exclude>
898 <!-- apache doxia generated -->
899 <exclude>**/control</exclude>
900 <exclude>**/conffile</exclude>
901 <!-- auto-gen docs -->
902 <exclude>docs/*</exclude>
903 <exclude>logs/*</exclude>
904 <!-- exclude source control files -->
905 <exclude>.git/**</exclude>
906 <exclude>.svn/**</exclude>
907 <exclude>**/.settings/**</exclude>
908 <exclude>**/patchprocess/**</exclude>
909 <exclude>src/site/resources/repo/**</exclude>
910 <exclude>**/dependency-reduced-pom.xml</exclude>
911 <exclude>**/rat.txt</exclude>
912 <!-- exclude the shaded protobuf files -->
913 <exclude>**/shaded/com/google/protobuf/**</exclude>
914 <exclude>**/src/main/patches/**</exclude>
915 <exclude>**/vote.tmpl</exclude>
920 <artifactId>maven-assembly-plugin</artifactId>
922 <!--Defer to the hbase-assembly sub-module. It
924 <skipAssembly>true</skipAssembly>
928 <groupId>org.xolstice.maven.plugins</groupId>
929 <artifactId>protobuf-maven-plugin</artifactId>
930 <version>${protobuf.plugin.version}</version>
932 <protocArtifact>${external.protobuf.groupid}:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
933 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
934 <clearOutputDirectory>false</clearOutputDirectory>
935 <checkStaleness>true</checkStaleness>
939 <!-- Approach followed here is roughly the same as mentioned here:
940 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
942 <groupId>org.apache.maven.plugins</groupId>
943 <artifactId>maven-checkstyle-plugin</artifactId>
944 <version>${maven.checkstyle.version}</version>
947 <groupId>org.apache.hbase</groupId>
948 <artifactId>hbase-checkstyle</artifactId>
949 <version>${project.version}</version>
952 <groupId>com.puppycrawl.tools</groupId>
953 <artifactId>checkstyle</artifactId>
954 <version>${checkstyle.version}</version>
958 <configLocation>hbase/checkstyle.xml</configLocation>
959 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
960 <includeTestSourceDirectory>true</includeTestSourceDirectory>
964 <groupId>net.revelc.code</groupId>
965 <artifactId>warbucks-maven-plugin</artifactId>
966 <version>${maven.warbucks.version}</version>
968 <ignoreRuleFailures>false</ignoreRuleFailures>
971 <!-- exclude the generated java files -->
972 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
973 <includeTestClasses>false</includeTestClasses>
974 <includePublicClasses>true</includePublicClasses>
975 <includePackagePrivateClasses>false</includePackagePrivateClasses>
976 <includeProtectedClasses>false</includeProtectedClasses>
977 <includePrivateClasses>false</includePrivateClasses>
978 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
984 <id>run-warbucks</id>
986 <goal>check</goal><!-- runs at process-test-classes phase -->
992 <groupId>org.apache.maven.plugins</groupId>
993 <artifactId>maven-enforcer-plugin</artifactId>
994 <version>${enforcer.version}</version>
997 <groupId>org.codehaus.mojo</groupId>
998 <artifactId>extra-enforcer-rules</artifactId>
999 <version>${extra.enforcer.version}</version>
1002 <groupId>de.skuzzle.enforcer</groupId>
1003 <artifactId>restrict-imports-enforcer-rule</artifactId>
1004 <version>${restrict-imports.enforcer.version}</version>
1012 <groupId>org.codehaus.mojo</groupId>
1013 <artifactId>build-helper-maven-plugin</artifactId>
1016 <id>negate-license-bundles-property</id>
1018 <goal>bsh-property</goal>
1021 <source>skip.license.check = !${license.bundles.dependencies};</source>
1023 <property>skip.license.check</property>
1027 <!-- sets where to find the generated LICENSE files -->
1029 <id>create-license-file-path-property</id>
1031 <goal>regex-property</goal>
1034 <name>license.aggregate.path</name>
1035 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1037 <replacement>/</replacement>
1038 <failIfNoMatch>false</failIfNoMatch>
1044 <groupId>org.apache.maven.plugins</groupId>
1045 <artifactId>maven-enforcer-plugin</artifactId>
1048 <id>display-info</id>
1049 <phase>initialize</phase>
1051 <goal>display-info</goal>
1053 <inherited>false</inherited>
1056 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1058 <goal>enforce</goal>
1062 <!-- Help people activate profiles correctly -->
1064 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1065 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1066 </evaluateBeanshell>
1067 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1068 <requireMavenVersion>
1069 <version>[${maven.min.version},)</version>
1070 <message>Maven is out of date.
1071 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1072 You appear to be using an older version. You can use either "mvn -version" or
1073 "mvn enforcer:display-info" to verify what version is active.
1074 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1076 </requireMavenVersion>
1077 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1078 <requireJavaVersion>
1079 <version>[${java.min.version},)</version>
1080 <message>Java is out of date.
1081 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1082 You appear to be using an older version. You can use either "mvn -version" or
1083 "mvn enforcer:display-info" to verify what version is active.
1084 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1086 </requireJavaVersion>
1087 <bannedDependencies>
1089 <exclude>xerces:xercesImpl</exclude>
1091 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1092 </bannedDependencies>
1097 <id>banned-jsr305</id>
1099 <goal>enforce</goal>
1103 <bannedDependencies>
1105 <exclude>com.google.code.findbugs:jsr305</exclude>
1107 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1108 </bannedDependencies>
1113 <id>banned-scala</id>
1115 <goal>enforce</goal>
1119 <bannedDependencies>
1121 <exclude>org.scala-lang:scala-library</exclude>
1123 <message>We don't allow Scala, see HBASE-13992.</message>
1124 </bannedDependencies>
1129 <id>banned-commons-logging</id>
1131 <goal>enforce</goal>
1135 <bannedDependencies>
1137 <exclude>commons-logging:commons-logging</exclude>
1140 We don't use commons-logging any more, so do not depend on it directly.
1142 <searchTransitive>false</searchTransitive>
1143 </bannedDependencies>
1148 <id>check-aggregate-license</id>
1149 <!-- must check after LICENSE is built at 'generate-resources' -->
1150 <phase>process-resources</phase>
1152 <goal>enforce</goal>
1158 File license = new File("${license.aggregate.path}");
1160 // Beanshell does not support try-with-resources,
1161 // so we must close this scanner manually
1162 Scanner scanner = new Scanner(license);
1164 while (scanner.hasNextLine()) {
1165 if (scanner.nextLine().startsWith("ERROR:")) {
1174 License errors detected, for more detail find ERROR in
1175 ${license.aggregate.path}
1177 </evaluateBeanshell>
1179 <skip>${skip.license.check}</skip>
1183 <id>banned-illegal-imports</id>
1184 <phase>process-sources</phase>
1186 <goal>enforce</goal>
1190 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1191 <includeTestCode>true</includeTestCode>
1192 <commentLineBufferSize>512</commentLineBufferSize>
1193 <reason>Use SLF4j for logging</reason>
1195 <bannedImport>org.apache.commons.logging.**</bannedImport>
1198 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1199 <includeTestCode>false</includeTestCode>
1200 <commentLineBufferSize>512</commentLineBufferSize>
1202 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1205 <bannedImport>org.apache.log4j.**</bannedImport>
1208 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1209 <includeTestCode>true</includeTestCode>
1210 <commentLineBufferSize>512</commentLineBufferSize>
1211 <reason>Use shaded version in hbase-thirdparty</reason>
1213 <bannedImport>com.google.common.**</bannedImport>
1214 <bannedImport>io.netty.**</bannedImport>
1215 <bannedImport>org.apache.commons.cli.**</bannedImport>
1216 <bannedImport>org.apache.commons.collections.**</bannedImport>
1217 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1220 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1221 <includeTestCode>true</includeTestCode>
1222 <commentLineBufferSize>512</commentLineBufferSize>
1223 <reason>Do not use shaded classes from other dependencies</reason>
1225 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1226 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1229 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1230 <includeTestCode>true</includeTestCode>
1231 <commentLineBufferSize>512</commentLineBufferSize>
1232 <reason>Use shaded gson in hbase-thirdparty</reason>
1234 <bannedImport>org.codehaus.jackson.**</bannedImport>
1237 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1238 <includeTestCode>true</includeTestCode>
1239 <commentLineBufferSize>512</commentLineBufferSize>
1240 <reason>Use commons lang 3</reason>
1242 <bannedImport>org.apache.commons.lang.**</bannedImport>
1245 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1246 <includeTestCode>true</includeTestCode>
1247 <commentLineBufferSize>512</commentLineBufferSize>
1248 <reason>Use yetus IA and IS annotations</reason>
1250 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1253 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1254 <includeTestCode>true</includeTestCode>
1255 <commentLineBufferSize>512</commentLineBufferSize>
1256 <reason>Do not use htrace v3</reason>
1258 <bannedImport>org.htrace.**</bannedImport>
1266 <!-- parent-module only plugins -->
1268 <groupId>org.codehaus.mojo</groupId>
1269 <artifactId>xml-maven-plugin</artifactId>
1270 <version>${xml.maven.version}</version>
1271 <inherited>false</inherited>
1274 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1276 <goal>transform</goal>
1282 <transformationSets>
1283 <!-- For asciidoc -->
1285 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1286 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1288 <include>hbase-default.xml</include>
1290 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1292 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1293 <pattern>^(.*)\.xml$</pattern>
1294 <replacement>$1.adoc</replacement>
1297 <outputDir>${basedir}/target/asciidoc</outputDir>
1298 </transformationSet>
1299 </transformationSets>
1302 <!-- Special configuration for spotbugs just in the parent so
1303 the filter file location can be more general (see definition in pluginManagement) -->
1305 <groupId>com.github.spotbugs</groupId>
1306 <artifactId>spotbugs-maven-plugin</artifactId>
1309 <inherited>false</inherited>
1311 <goal>spotbugs</goal>
1314 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1320 <groupId>org.apache.maven.plugins</groupId>
1321 <artifactId>maven-checkstyle-plugin</artifactId>
1324 <groupId>org.apache.maven.plugins</groupId>
1325 <artifactId>maven-site-plugin</artifactId>
1328 <!-- add support for ssh/scp -->
1329 <groupId>org.apache.maven.wagon</groupId>
1330 <artifactId>wagon-ssh</artifactId>
1331 <version>${wagon.ssh.version}</version>
1335 <siteDirectory>${basedir}/src/site</siteDirectory>
1336 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1337 <inputEncoding>UTF-8</inputEncoding>
1338 <outputEncoding>UTF-8</outputEncoding>
1341 <!-- For AsciiDoc docs building -->
1343 <groupId>org.asciidoctor</groupId>
1344 <artifactId>asciidoctor-maven-plugin</artifactId>
1345 <version>${asciidoctor.plugin.version}</version>
1346 <inherited>false</inherited>
1349 <groupId>org.asciidoctor</groupId>
1350 <artifactId>asciidoctorj-pdf</artifactId>
1351 <version>${asciidoctorj.pdf.version}</version>
1354 <groupId>org.jruby</groupId>
1355 <artifactId>jruby-complete</artifactId>
1356 <version>${jruby.version}</version>
1360 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1361 <doctype>book</doctype>
1362 <imagesDir>images</imagesDir>
1363 <sourceHighlighter>coderay</sourceHighlighter>
1365 <docVersion>${project.version}</docVersion>
1370 <id>output-html</id>
1373 <goal>process-asciidoc</goal>
1377 <stylesheet>hbase.css</stylesheet>
1379 <backend>html5</backend>
1386 <goal>process-asciidoc</goal>
1389 <backend>pdf</backend>
1394 <idseparator>-</idseparator>
1401 <groupId>org.apache.maven.plugins</groupId>
1402 <artifactId>maven-resources-plugin</artifactId>
1403 <!--$NO-MVN-MAN-VER$ -->
1404 <inherited>false</inherited>
1407 <id>copy-htaccess</id>
1409 <goal>copy-resources</goal>
1413 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1416 <directory>${basedir}/src/site/resources/</directory>
1418 <include>.htaccess</include>
1424 <!-- needed to make the redirect above work -->
1426 <id>copy-empty-book-dir</id>
1428 <goal>copy-resources</goal>
1432 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1435 <directory>${basedir}/src/site/resources/</directory>
1437 <include>book/**</include>
1445 <escapeString>\</escapeString>
1449 <groupId>org.apache.maven.plugins</groupId>
1450 <artifactId>maven-antrun-plugin</artifactId>
1451 <version>${maven.antrun.version}</version>
1452 <inherited>false</inherited>
1453 <!-- Rename the book.pdf generated by asciidoctor -->
1459 <target name="rename file">
1460 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1470 <groupId>org.codehaus.mojo</groupId>
1471 <artifactId>buildnumber-maven-plugin</artifactId>
1474 <phase>validate</phase>
1476 <goal>create-timestamp</goal>
1481 <timestampFormat>yyyy</timestampFormat>
1482 <timestampPropertyName>build.year</timestampPropertyName>
1486 <groupId>org.apache.felix</groupId>
1487 <artifactId>maven-bundle-plugin</artifactId>
1488 <version>${maven.bundle.version}</version>
1489 <inherited>true</inherited>
1490 <extensions>true</extensions>
1495 <!-- override on command line to have generated LICENSE files include
1496 diagnostic info for verifying notice requirements -->
1497 <license.debug.print.included>false</license.debug.print.included>
1498 <!-- When a particular module bundles its depenendencies, should be true -->
1499 <license.bundles.dependencies>false</license.bundles.dependencies>
1500 <!-- modules that include a the logo in their source tree should set true -->
1501 <license.bundles.logo>false</license.bundles.logo>
1502 <!-- modules that include bootstrap in their source tree should set true -->
1503 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1504 <!-- modules that include jquery in their source tree should set true -->
1505 <license.bundles.jquery>false</license.bundles.jquery>
1506 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1507 <maven.build.timestamp.format>
1509 </maven.build.timestamp.format>
1510 <buildDate>${maven.build.timestamp}</buildDate>
1511 <compileSource>1.8</compileSource>
1512 <!-- Build dependencies -->
1513 <maven.min.version>3.0.4</maven.min.version>
1514 <java.min.version>${compileSource}</java.min.version>
1515 <!-- Dependencies -->
1516 <hadoop-three.version>3.1.2</hadoop-three.version>
1517 <!-- These must be defined here for downstream build tools that don't look at profiles.
1519 <hadoop.version>${hadoop-three.version}</hadoop.version>
1520 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
1521 <!--This property is for hadoops netty. HBase netty
1522 comes in via hbase-thirdparty hbase-shaded-netty-->
1523 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
1524 <!-- end HBASE-15925 default hadoop compatibility values -->
1525 <audience-annotations.version>0.5.0</audience-annotations.version>
1526 <avro.version>1.7.7</avro.version>
1527 <caffeine.version>2.8.1</caffeine.version>
1528 <commons-codec.version>1.13</commons-codec.version>
1529 <commons-validator.version>1.6</commons-validator.version>
1530 <!-- pretty outdated -->
1531 <commons-io.version>2.6</commons-io.version>
1532 <commons-lang3.version>3.9</commons-lang3.version>
1533 <commons-math.version>3.6.1</commons-math.version>
1534 <disruptor.version>3.4.2</disruptor.version>
1535 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1536 especially when writing out 'no column families'. Later httpclients collapse the '//'
1537 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1538 TestRemoteTable. -->
1539 <httpclient.version>4.5.3</httpclient.version>
1540 <httpcore.version>4.4.13</httpcore.version>
1541 <metrics-core.version>3.2.6</metrics-core.version>
1542 <jackson.version>2.10.1</jackson.version>
1543 <jackson.databind.version>2.10.1</jackson.databind.version>
1544 <jaxb-api.version>2.2.12</jaxb-api.version>
1545 <jetty.version>9.3.28.v20191105</jetty.version>
1546 <servlet.api.version>3.1.0</servlet.api.version>
1547 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1548 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1549 <jersey.version>2.25.1</jersey.version>
1550 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1551 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1552 <jruby.version>9.1.17.0</jruby.version>
1553 <junit.version>4.13</junit.version>
1554 <hamcrest.version>1.3</hamcrest.version>
1555 <htrace.version>4.2.0-incubating</htrace.version>
1556 <log4j.version>1.2.17</log4j.version>
1557 <mockito-core.version>2.28.2</mockito-core.version>
1558 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1559 <external.protobuf.version>2.5.0</external.protobuf.version>
1560 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1561 <thrift.path>thrift</thrift.path>
1562 <thrift.version>0.13.0</thrift.version>
1563 <zookeeper.version>3.5.7</zookeeper.version>
1564 <jline.version>2.11</jline.version>
1565 <slf4j.version>1.7.30</slf4j.version>
1566 <clover.version>4.0.3</clover.version>
1567 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1568 <jettison.version>1.3.8</jettison.version>
1569 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1570 <joni.version>2.1.11</joni.version>
1571 <jcodings.version>1.0.18</jcodings.version>
1572 <spy.version>2.12.2</spy.version>
1573 <bouncycastle.version>1.60</bouncycastle.version>
1574 <kerby.version>1.0.1</kerby.version>
1575 <commons-crypto.version>1.0.0</commons-crypto.version>
1576 <curator.version>4.2.0</curator.version>
1577 <!-- Plugin Dependencies -->
1578 <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1579 <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1580 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1581 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1583 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1585 <checkstyle.version>8.28</checkstyle.version>
1586 <exec.maven.version>1.6.0</exec.maven.version>
1587 <error-prone.version>2.3.4</error-prone.version>
1588 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1589 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1590 <maven.antrun.version>1.8</maven.antrun.version>
1591 <maven.bundle.version>3.3.0</maven.bundle.version>
1592 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1593 <maven.eclipse.version>2.10</maven.eclipse.version>
1594 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1595 <maven.project.info.report.version>2.9</maven.project.info.report.version>
1596 <os.maven.version>1.5.0.Final</os.maven.version>
1597 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1598 <spotbugs.version>3.1.12</spotbugs.version>
1599 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1600 <surefire.version>3.0.0-M4</surefire.version>
1601 <wagon.ssh.version>2.12</wagon.ssh.version>
1602 <xml.maven.version>1.0.1</xml.maven.version>
1603 <hbase-thirdparty.version>3.3.0</hbase-thirdparty.version>
1604 <!-- Intraproject jar naming properties -->
1605 <!-- TODO this is pretty ugly, but works for the moment.
1606 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1607 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1608 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1609 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1610 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1611 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1612 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1613 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1614 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1615 <shell-executable>bash</shell-executable>
1616 <surefire.provider>surefire-junit47</surefire.provider>
1617 <!-- default: run small & medium, medium with 2 threads -->
1618 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1619 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1620 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1621 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1622 value is you want to burn through tests faster (could make for more failures
1623 if more contention around resources). There is a matching MAVEN_ARG
1624 in our yetus personality where we set the maven -T command to 0.25C too.
1625 For example, to run at a rate that is more furious than our 0.25C, do
1626 something like this:
1627 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1629 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1630 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1631 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1632 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1633 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1634 <test.output.tofile>true</test.output.tofile>
1635 <surefire.timeout>900</surefire.timeout>
1636 <test.exclude.pattern></test.exclude.pattern>
1638 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1639 This value is managed separately for jdk11. See below.
1641 <surefire.Xmx>2200m</surefire.Xmx>
1642 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1643 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1645 And for netty eventloops that have no explicit configuration, netty sets
1646 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1649 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1650 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1651 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1652 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1653 -Dio.netty.eventLoopThreads=3
1654 </hbase-surefire.argLine>
1655 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1656 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1657 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1658 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1659 </hbase-surefire.cygwin-argLine>
1660 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1661 <argLine>${hbase-surefire.argLine}</argLine>
1662 <jacoco.version>0.7.5.201505241946</jacoco.version>
1663 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1664 <enforcer.version>3.0.0-M2</enforcer.version>
1665 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1666 <!-- Location of test resources -->
1667 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1668 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1669 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1670 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1671 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1672 <build.id>${maven.build.timestamp}</build.id>
1673 <shell-executable>bash</shell-executable>
1674 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1675 property as of javadoc-plugin 3.0.0 -->
1676 <doclint>none</doclint>
1677 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1679 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1680 <dependencyManagement>
1683 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1684 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1685 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1686 implementation of the same, because Hadoop also uses this version
1687 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1688 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1690 <!-- Intra-module dependencies -->
1692 <groupId>org.apache.hbase</groupId>
1693 <artifactId>hbase-annotations</artifactId>
1694 <version>${project.version}</version>
1695 <type>test-jar</type>
1696 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1699 <artifactId>hbase-backup</artifactId>
1700 <groupId>org.apache.hbase</groupId>
1701 <version>${project.version}</version>
1704 <groupId>org.apache.hbase</groupId>
1705 <artifactId>hbase-common</artifactId>
1706 <version>${project.version}</version>
1709 <groupId>org.apache.hbase</groupId>
1710 <artifactId>hbase-common</artifactId>
1711 <version>${project.version}</version>
1712 <type>test-jar</type>
1716 <groupId>org.apache.hbase</groupId>
1717 <artifactId>hbase-logging</artifactId>
1718 <version>${project.version}</version>
1721 <groupId>org.apache.hbase</groupId>
1722 <artifactId>hbase-logging</artifactId>
1723 <version>${project.version}</version>
1724 <type>test-jar</type>
1728 <groupId>org.apache.hbase</groupId>
1729 <artifactId>hbase-protocol-shaded</artifactId>
1730 <version>${project.version}</version>
1733 <groupId>org.apache.hbase</groupId>
1734 <artifactId>hbase-procedure</artifactId>
1735 <version>${project.version}</version>
1738 <groupId>org.apache.hbase</groupId>
1739 <artifactId>hbase-procedure</artifactId>
1740 <version>${project.version}</version>
1741 <type>test-jar</type>
1744 <groupId>org.apache.hbase</groupId>
1745 <artifactId>hbase-hadoop-compat</artifactId>
1746 <version>${project.version}</version>
1749 <groupId>org.apache.hbase</groupId>
1750 <artifactId>hbase-hadoop-compat</artifactId>
1751 <version>${project.version}</version>
1752 <type>test-jar</type>
1756 <artifactId>hbase-replication</artifactId>
1757 <groupId>org.apache.hbase</groupId>
1758 <version>${project.version}</version>
1761 <artifactId>hbase-balancer</artifactId>
1762 <groupId>org.apache.hbase</groupId>
1763 <version>${project.version}</version>
1766 <artifactId>hbase-http</artifactId>
1767 <groupId>org.apache.hbase</groupId>
1768 <version>${project.version}</version>
1771 <artifactId>hbase-http</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1774 <type>test-jar</type>
1778 <artifactId>hbase-server</artifactId>
1779 <groupId>org.apache.hbase</groupId>
1780 <version>${project.version}</version>
1783 <artifactId>hbase-server</artifactId>
1784 <groupId>org.apache.hbase</groupId>
1785 <version>${project.version}</version>
1786 <type>test-jar</type>
1790 <artifactId>hbase-mapreduce</artifactId>
1791 <groupId>org.apache.hbase</groupId>
1792 <version>${project.version}</version>
1795 <artifactId>hbase-mapreduce</artifactId>
1796 <groupId>org.apache.hbase</groupId>
1797 <version>${project.version}</version>
1798 <type>test-jar</type>
1802 <artifactId>hbase-endpoint</artifactId>
1803 <groupId>org.apache.hbase</groupId>
1804 <version>${project.version}</version>
1807 <artifactId>hbase-shell</artifactId>
1808 <groupId>org.apache.hbase</groupId>
1809 <version>${project.version}</version>
1812 <artifactId>hbase-shell</artifactId>
1813 <groupId>org.apache.hbase</groupId>
1814 <version>${project.version}</version>
1815 <type>test-jar</type>
1819 <artifactId>hbase-thrift</artifactId>
1820 <groupId>org.apache.hbase</groupId>
1821 <version>${project.version}</version>
1824 <artifactId>hbase-thrift</artifactId>
1825 <groupId>org.apache.hbase</groupId>
1826 <version>${project.version}</version>
1827 <type>test-jar</type>
1831 <groupId>org.apache.hbase</groupId>
1832 <artifactId>hbase-testing-util</artifactId>
1833 <version>${project.version}</version>
1837 <artifactId>hbase-examples</artifactId>
1838 <groupId>org.apache.hbase</groupId>
1839 <version>${project.version}</version>
1842 <groupId>org.apache.hbase</groupId>
1843 <artifactId>hbase-external-blockcache</artifactId>
1844 <version>${project.version}</version>
1847 <artifactId>hbase-it</artifactId>
1848 <groupId>org.apache.hbase</groupId>
1849 <version>${project.version}</version>
1850 <type>test-jar</type>
1854 <artifactId>hbase-client</artifactId>
1855 <groupId>org.apache.hbase</groupId>
1856 <version>${project.version}</version>
1859 <artifactId>hbase-metrics-api</artifactId>
1860 <groupId>org.apache.hbase</groupId>
1861 <version>${project.version}</version>
1864 <artifactId>hbase-metrics-api</artifactId>
1865 <groupId>org.apache.hbase</groupId>
1866 <version>${project.version}</version>
1867 <type>test-jar</type>
1871 <artifactId>hbase-metrics</artifactId>
1872 <groupId>org.apache.hbase</groupId>
1873 <version>${project.version}</version>
1876 <artifactId>hbase-metrics</artifactId>
1877 <groupId>org.apache.hbase</groupId>
1878 <version>${project.version}</version>
1879 <type>test-jar</type>
1883 <artifactId>hbase-rest</artifactId>
1884 <groupId>org.apache.hbase</groupId>
1885 <version>${project.version}</version>
1888 <artifactId>hbase-resource-bundle</artifactId>
1889 <groupId>org.apache.hbase</groupId>
1890 <version>${project.version}</version>
1893 <artifactId>hbase-zookeeper</artifactId>
1894 <groupId>org.apache.hbase</groupId>
1895 <version>${project.version}</version>
1898 <groupId>com.google.code.findbugs</groupId>
1899 <artifactId>jsr305</artifactId>
1902 <groupId>com.github.spotbugs</groupId>
1903 <artifactId>spotbugs-annotations</artifactId>
1908 <artifactId>hbase-zookeeper</artifactId>
1909 <groupId>org.apache.hbase</groupId>
1910 <version>${project.version}</version>
1911 <type>test-jar</type>
1915 <artifactId>hbase-hbtop</artifactId>
1916 <groupId>org.apache.hbase</groupId>
1917 <version>${project.version}</version>
1920 <groupId>org.apache.hbase</groupId>
1921 <artifactId>hbase-shaded-client</artifactId>
1922 <version>${project.version}</version>
1925 <groupId>org.apache.hbase</groupId>
1926 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1927 <version>${project.version}</version>
1930 <groupId>org.apache.hbase</groupId>
1931 <artifactId>hbase-shaded-mapreduce</artifactId>
1932 <version>${project.version}</version>
1935 <groupId>org.apache.hbase</groupId>
1936 <artifactId>hbase-asyncfs</artifactId>
1937 <version>${project.version}</version>
1940 <groupId>org.apache.hbase</groupId>
1941 <artifactId>hbase-asyncfs</artifactId>
1942 <version>${project.version}</version>
1943 <type>test-jar</type>
1946 <!-- General dependencies -->
1948 <groupId>com.github.stephenc.findbugs</groupId>
1949 <artifactId>findbugs-annotations</artifactId>
1950 <version>${findbugs-annotations.version}</version>
1953 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1954 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1955 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1956 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1957 scope as it will mess up the logging framework for downstream users.
1958 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1959 on use these logging framework so we need to redirect their log message to slf4j, and then
1960 redirect the log message to our log4j framework.
1963 <groupId>org.codehaus.jettison</groupId>
1964 <artifactId>jettison</artifactId>
1965 <version>${jettison.version}</version>
1968 <groupId>org.slf4j</groupId>
1969 <artifactId>slf4j-api</artifactId>
1970 <version>${slf4j.version}</version>
1973 <groupId>org.slf4j</groupId>
1974 <artifactId>slf4j-log4j12</artifactId>
1975 <version>${slf4j.version}</version>
1978 <groupId>org.slf4j</groupId>
1979 <artifactId>jcl-over-slf4j</artifactId>
1980 <version>${slf4j.version}</version>
1983 <groupId>org.slf4j</groupId>
1984 <artifactId>jul-to-slf4j</artifactId>
1985 <version>${slf4j.version}</version>
1988 <groupId>log4j</groupId>
1989 <artifactId>log4j</artifactId>
1990 <version>${log4j.version}</version>
1992 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1994 <groupId>org.apache.avro</groupId>
1995 <artifactId>avro</artifactId>
1996 <version>${avro.version}</version>
1998 <!--This is not used by hbase directly. Used by thrift,
1999 dropwizard and zk.-->
2001 <groupId>com.github.ben-manes.caffeine</groupId>
2002 <artifactId>caffeine</artifactId>
2003 <version>${caffeine.version}</version>
2006 <groupId>io.dropwizard.metrics</groupId>
2007 <artifactId>metrics-core</artifactId>
2008 <version>${metrics-core.version}</version>
2011 <groupId>org.apache.httpcomponents</groupId>
2012 <artifactId>httpclient</artifactId>
2013 <version>${httpclient.version}</version>
2016 <groupId>org.apache.httpcomponents</groupId>
2017 <artifactId>httpcore</artifactId>
2018 <version>${httpcore.version}</version>
2021 <groupId>commons-codec</groupId>
2022 <artifactId>commons-codec</artifactId>
2023 <version>${commons-codec.version}</version>
2026 <groupId>commons-validator</groupId>
2027 <artifactId>commons-validator</artifactId>
2028 <version>${commons-validator.version}</version>
2031 <groupId>commons-io</groupId>
2032 <artifactId>commons-io</artifactId>
2033 <version>${commons-io.version}</version>
2036 <groupId>org.apache.commons</groupId>
2037 <artifactId>commons-lang3</artifactId>
2038 <version>${commons-lang3.version}</version>
2041 <groupId>org.apache.commons</groupId>
2042 <artifactId>commons-math3</artifactId>
2043 <version>${commons-math.version}</version>
2046 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2049 <groupId>commons-logging</groupId>
2050 <artifactId>commons-logging</artifactId>
2051 <version>1.2</version>
2054 <groupId>org.apache.zookeeper</groupId>
2055 <artifactId>zookeeper</artifactId>
2056 <version>${zookeeper.version}</version>
2059 <groupId>com.google.code.findbugs</groupId>
2060 <artifactId>jsr305</artifactId>
2063 <groupId>com.github.spotbugs</groupId>
2064 <artifactId>spotbugs-annotations</artifactId>
2067 <groupId>jline</groupId>
2068 <artifactId>jline</artifactId>
2071 <groupId>com.sun.jmx</groupId>
2072 <artifactId>jmxri</artifactId>
2075 <groupId>com.sun.jdmk</groupId>
2076 <artifactId>jmxtools</artifactId>
2079 <groupId>javax.jms</groupId>
2080 <artifactId>jms</artifactId>
2083 <groupId>io.netty</groupId>
2084 <artifactId>netty</artifactId>
2087 <groupId>org.slf4j</groupId>
2088 <artifactId>slf4j-log4j12</artifactId>
2091 <groupId>log4j</groupId>
2092 <artifactId>log4j</artifactId>
2097 <groupId>jline</groupId>
2098 <artifactId>jline</artifactId>
2099 <version>${jline.version}</version>
2102 <groupId>org.apache.thrift</groupId>
2103 <artifactId>libthrift</artifactId>
2104 <version>${thrift.version}</version>
2107 <groupId>org.slf4j</groupId>
2108 <artifactId>slf4j-simple</artifactId>
2113 <groupId>org.jruby</groupId>
2114 <artifactId>jruby-complete</artifactId>
2115 <version>${jruby.version}</version>
2118 <groupId>org.jruby.jcodings</groupId>
2119 <artifactId>jcodings</artifactId>
2120 <version>${jcodings.version}</version>
2123 <groupId>org.jruby.joni</groupId>
2124 <artifactId>joni</artifactId>
2125 <version>${joni.version}</version>
2128 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2129 <artifactId>jackson-jaxrs-json-provider</artifactId>
2130 <version>${jackson.version}</version>
2133 <groupId>com.fasterxml.jackson.core</groupId>
2134 <artifactId>jackson-annotations</artifactId>
2135 <version>${jackson.version}</version>
2138 <groupId>com.fasterxml.jackson.core</groupId>
2139 <artifactId>jackson-core</artifactId>
2140 <version>${jackson.version}</version>
2143 <groupId>com.fasterxml.jackson.core</groupId>
2144 <artifactId>jackson-databind</artifactId>
2145 <version>${jackson.databind.version}</version>
2148 <groupId>org.jamon</groupId>
2149 <artifactId>jamon-runtime</artifactId>
2150 <version>${jamon-runtime.version}</version>
2152 <!-- REST dependencies -->
2154 <groupId>javax.servlet</groupId>
2155 <artifactId>javax.servlet-api</artifactId>
2156 <version>${servlet.api.version}</version>
2159 <groupId>javax.ws.rs</groupId>
2160 <artifactId>javax.ws.rs-api</artifactId>
2161 <version>${wx.rs.api.version}</version>
2164 <groupId>com.sun.activation</groupId>
2165 <artifactId>javax.activation</artifactId>
2166 <version>1.2.0</version>
2169 <groupId>javax.annotation</groupId>
2170 <artifactId>javax.annotation-api</artifactId>
2171 <version>1.2</version>
2174 <groupId>org.eclipse.jetty</groupId>
2175 <artifactId>jetty-server</artifactId>
2176 <version>${jetty.version}</version>
2179 <groupId>org.eclipse.jetty</groupId>
2180 <artifactId>jetty-servlet</artifactId>
2181 <version>${jetty.version}</version>
2184 <groupId>org.eclipse.jetty</groupId>
2185 <artifactId>servlet-api</artifactId>
2190 <groupId>org.eclipse.jetty</groupId>
2191 <artifactId>jetty-security</artifactId>
2192 <version>${jetty.version}</version>
2195 <groupId>org.eclipse.jetty</groupId>
2196 <artifactId>jetty-http</artifactId>
2197 <version>${jetty.version}</version>
2200 <groupId>org.eclipse.jetty</groupId>
2201 <artifactId>jetty-util</artifactId>
2202 <version>${jetty.version}</version>
2205 <groupId>org.eclipse.jetty</groupId>
2206 <artifactId>jetty-io</artifactId>
2207 <version>${jetty.version}</version>
2210 <groupId>org.eclipse.jetty</groupId>
2211 <artifactId>jetty-jmx</artifactId>
2212 <version>${jetty.version}</version>
2215 <groupId>org.eclipse.jetty</groupId>
2216 <artifactId>jetty-webapp</artifactId>
2217 <version>${jetty.version}</version>
2220 <groupId>org.eclipse.jetty</groupId>
2221 <artifactId>jetty-util-ajax</artifactId>
2222 <version>${jetty.version}</version>
2225 <groupId>com.google.protobuf</groupId>
2226 <artifactId>protobuf-java</artifactId>
2227 <version>${external.protobuf.version}</version>
2230 <groupId>org.glassfish.jersey.containers</groupId>
2231 <artifactId>jersey-container-servlet-core</artifactId>
2232 <version>${jersey.version}</version>
2235 <groupId>org.glassfish.jersey.core</groupId>
2236 <artifactId>jersey-client</artifactId>
2237 <version>${jersey.version}</version>
2240 <groupId>org.glassfish.jersey.core</groupId>
2241 <artifactId>jersey-server</artifactId>
2242 <version>${jersey.version}</version>
2245 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2246 <groupId>org.glassfish.web</groupId>
2247 <artifactId>javax.servlet.jsp</artifactId>
2248 <version>${glassfish.jsp.version}</version>
2251 <!-- this lib is used by the compiled Jsp from the above JspC -->
2252 <groupId>javax.servlet.jsp</groupId>
2253 <artifactId>javax.servlet.jsp-api</artifactId>
2254 <version>2.3.1</version>
2257 <groupId>org.glassfish</groupId>
2258 <artifactId>javax.el</artifactId>
2259 <version>${glassfish.el.version}</version>
2262 <groupId>javax.xml.bind</groupId>
2263 <artifactId>jaxb-api</artifactId>
2264 <version>${jaxb-api.version}</version>
2267 <groupId>javax.xml.stream</groupId>
2268 <artifactId>stax-api</artifactId>
2273 <groupId>junit</groupId>
2274 <artifactId>junit</artifactId>
2275 <version>${junit.version}</version>
2278 <groupId>org.hamcrest</groupId>
2279 <artifactId>hamcrest-core</artifactId>
2280 <version>${hamcrest.version}</version>
2284 <groupId>org.hamcrest</groupId>
2285 <artifactId>hamcrest-library</artifactId>
2286 <version>${hamcrest.version}</version>
2290 <groupId>org.mockito</groupId>
2291 <artifactId>mockito-core</artifactId>
2292 <version>${mockito-core.version}</version>
2296 <groupId>org.apache.htrace</groupId>
2297 <artifactId>htrace-core4</artifactId>
2298 <version>${htrace.version}</version>
2301 <groupId>com.lmax</groupId>
2302 <artifactId>disruptor</artifactId>
2303 <version>${disruptor.version}</version>
2306 <groupId>net.spy</groupId>
2307 <artifactId>spymemcached</artifactId>
2308 <version>${spy.version}</version>
2309 <optional>true</optional>
2312 <groupId>org.bouncycastle</groupId>
2313 <artifactId>bcprov-jdk15on</artifactId>
2314 <version>${bouncycastle.version}</version>
2318 <groupId>org.apache.kerby</groupId>
2319 <artifactId>kerb-core</artifactId>
2320 <version>${kerby.version}</version>
2323 <groupId>org.apache.kerby</groupId>
2324 <artifactId>kerb-client</artifactId>
2325 <version>${kerby.version}</version>
2328 <groupId>org.apache.kerby</groupId>
2329 <artifactId>kerb-simplekdc</artifactId>
2330 <version>${kerby.version}</version>
2333 <groupId>org.apache.commons</groupId>
2334 <artifactId>commons-crypto</artifactId>
2335 <version>${commons-crypto.version}</version>
2338 <groupId>net.java.dev.jna</groupId>
2339 <artifactId>jna</artifactId>
2344 <groupId>org.apache.curator</groupId>
2345 <artifactId>curator-framework</artifactId>
2346 <version>${curator.version}</version>
2349 <groupId>org.apache.zookeeper</groupId>
2350 <artifactId>zookeeper</artifactId>
2355 <groupId>org.apache.curator</groupId>
2356 <artifactId>curator-client</artifactId>
2357 <version>${curator.version}</version>
2360 <groupId>com.google.guava</groupId>
2361 <artifactId>guava</artifactId>
2364 <groupId>org.apache.zookeeper</groupId>
2365 <artifactId>zookeeper</artifactId>
2370 <groupId>org.apache.curator</groupId>
2371 <artifactId>curator-recipes</artifactId>
2372 <version>${curator.version}</version>
2375 <groupId>com.google.guava</groupId>
2376 <artifactId>guava</artifactId>
2379 <groupId>org.apache.zookeeper</groupId>
2380 <artifactId>zookeeper</artifactId>
2385 <groupId>org.apache.yetus</groupId>
2386 <artifactId>audience-annotations</artifactId>
2387 <version>${audience-annotations.version}</version>
2390 <groupId>org.apache.hbase.thirdparty</groupId>
2391 <artifactId>hbase-shaded-gson</artifactId>
2392 <version>${hbase-thirdparty.version}</version>
2395 <groupId>org.apache.hbase.thirdparty</groupId>
2396 <artifactId>hbase-shaded-miscellaneous</artifactId>
2397 <version>${hbase-thirdparty.version}</version>
2400 <groupId>org.apache.hbase.thirdparty</groupId>
2401 <artifactId>hbase-shaded-netty</artifactId>
2402 <version>${hbase-thirdparty.version}</version>
2405 <groupId>org.apache.hbase.thirdparty</groupId>
2406 <artifactId>hbase-shaded-protobuf</artifactId>
2407 <version>${hbase-thirdparty.version}</version>
2410 <groupId>com.sun.xml.ws</groupId>
2411 <artifactId>jaxws-ri</artifactId>
2412 <version>2.3.2</version>
2416 <groupId>javax.activation</groupId>
2417 <artifactId>javax.activation-api</artifactId>
2422 </dependencyManagement>
2424 <!--REMOVE THIS. HERE TEMPORARILY.
2425 Implication is that every module needs junit which is not so.
2426 Cannot undo though because build runs test on each module and
2427 it fails if no junit. TODO. -->
2429 <groupId>junit</groupId>
2430 <artifactId>junit</artifactId>
2436 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2441 <id>apache.releases.https</id>
2442 <username>hbase_committer</username>
2443 <password>********</password>
2447 <id>apache.snapshots.https</id>
2448 <username>hbase_committer</username>
2449 <password>********</password>
2457 $ mvn -s /my/path/settings.xml deploy
2462 <id>build-with-jdk8</id>
2474 <id>build-with-jdk11</id>
2479 <!-- TODO: replicate logic for windows support -->
2480 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2481 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2482 <hadoop-three.version>3.2.0</hadoop-three.version>
2484 Value to use for surefire when running jdk11.
2485 TODO: replicate logic for windows
2487 <surefire.Xmx>2200m</surefire.Xmx>
2490 <!-- profile activated by the Jenkins patch testing job -->
2492 <id>jenkins.patch</id>
2494 <activeByDefault>false</activeByDefault>
2496 <name>HBasePatchProcess</name>
2500 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2505 <groupId>org.apache.maven.plugins</groupId>
2506 <artifactId>maven-antrun-plugin</artifactId>
2507 <inherited>false</inherited>
2510 <phase>validate</phase>
2516 <echo>Maven Execution Environment</echo>
2517 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2529 <activeByDefault>false</activeByDefault>
2534 <groupId>org.jacoco</groupId>
2535 <artifactId>jacoco-maven-plugin</artifactId>
2536 <version>${jacoco.version}</version>
2539 <id>prepare-agent</id>
2541 <goal>prepare-agent</goal>
2546 <phase>prepare-package</phase>
2553 <systemPropertyVariables>
2554 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2555 </systemPropertyVariables>
2557 <exclude>**/generated/**/*.class</exclude>
2567 <activeByDefault>false</activeByDefault>
2569 <family>Linux</family>
2573 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2580 <family>Mac</family>
2584 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2591 <family>Windows</family>
2595 <build.platform>cygwin</build.platform>
2596 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2599 <!-- this profile should match the name of the release profile in the root asf pom -->
2601 <id>apache-release</id>
2604 <!-- This should insert itself in place of the normal deploy plugin and then
2605 handle either closing or dropping the staging repository for us depending
2606 on if the build succeeds.
2609 <groupId>org.sonatype.plugins</groupId>
2610 <artifactId>nexus-staging-maven-plugin</artifactId>
2611 <version>1.6.8</version>
2612 <extensions>true</extensions>
2614 <nexusUrl>https://repository.apache.org/</nexusUrl>
2615 <serverId>apache.releases.https</serverId>
2621 <!-- this profile should be activated for release builds -->
2627 <groupId>org.apache.rat</groupId>
2628 <artifactId>apache-rat-plugin</artifactId>
2631 <phase>package</phase>
2639 <groupId>org.apache.maven.plugins</groupId>
2640 <artifactId>maven-enforcer-plugin</artifactId>
2641 <version>${enforcer.version}</version>
2644 <groupId>org.codehaus.mojo</groupId>
2645 <artifactId>extra-enforcer-rules</artifactId>
2646 <version>${extra.enforcer.version}</version>
2651 <enforceBytecodeVersion>
2652 <maxJdkVersion>${compileSource}</maxJdkVersion>
2653 <message>HBase has unsupported dependencies.
2654 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2655 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2656 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2657 Non-release builds can temporarily build with a newer JDK version by setting the
2658 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2661 <ignoreClass>module-info</ignoreClass>
2663 </enforceBytecodeVersion>
2670 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2671 <!-- Submodules that need hadoop dependencies should declare
2672 profiles with activation properties matching the profile here.
2673 Generally, it should be sufficient to copy the first
2674 few lines of the profile you want to match. -->
2675 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2679 <property><name>!hadoop.profile</name></property>
2682 <hadoop.version>${hadoop-three.version}</hadoop.version>
2683 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2685 <dependencyManagement>
2688 <groupId>org.apache.hadoop</groupId>
2689 <artifactId>hadoop-mapreduce-client-core</artifactId>
2690 <version>${hadoop-three.version}</version>
2693 <groupId>com.sun.jersey</groupId>
2694 <artifactId>jersey-core</artifactId>
2697 <groupId>org.codehaus.jackson</groupId>
2698 <artifactId>jackson-jaxrs</artifactId>
2701 <groupId>org.codehaus.jackson</groupId>
2702 <artifactId>jackson-xc</artifactId>
2705 <groupId>io.netty</groupId>
2706 <artifactId>netty</artifactId>
2709 <groupId>javax.servlet</groupId>
2710 <artifactId>servlet-api</artifactId>
2713 <groupId>javax.inject</groupId>
2714 <artifactId>javax.inject</artifactId>
2717 <groupId>org.codehaus.jackson</groupId>
2718 <artifactId>jackson-core-asl</artifactId>
2721 <groupId>org.codehaus.jackson</groupId>
2722 <artifactId>jackson-mapper-asl</artifactId>
2725 <groupId>com.google.guava</groupId>
2726 <artifactId>guava</artifactId>
2729 <groupId>org.slf4j</groupId>
2730 <artifactId>slf4j-log4j12</artifactId>
2733 <groupId>log4j</groupId>
2734 <artifactId>log4j</artifactId>
2739 <groupId>org.apache.hadoop</groupId>
2740 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2741 <version>${hadoop-three.version}</version>
2744 <groupId>com.sun.jersey</groupId>
2745 <artifactId>jersey-core</artifactId>
2748 <groupId>io.netty</groupId>
2749 <artifactId>netty</artifactId>
2752 <groupId>javax.servlet</groupId>
2753 <artifactId>servlet-api</artifactId>
2756 <groupId>org.slf4j</groupId>
2757 <artifactId>slf4j-log4j12</artifactId>
2760 <groupId>log4j</groupId>
2761 <artifactId>log4j</artifactId>
2766 <groupId>org.apache.hadoop</groupId>
2767 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2768 <version>${hadoop-three.version}</version>
2769 <type>test-jar</type>
2773 <groupId>com.sun.jersey</groupId>
2774 <artifactId>jersey-core</artifactId>
2777 <groupId>io.netty</groupId>
2778 <artifactId>netty</artifactId>
2781 <groupId>javax.servlet</groupId>
2782 <artifactId>servlet-api</artifactId>
2785 <groupId>org.slf4j</groupId>
2786 <artifactId>slf4j-log4j12</artifactId>
2789 <groupId>log4j</groupId>
2790 <artifactId>log4j</artifactId>
2795 <groupId>org.apache.hadoop</groupId>
2796 <artifactId>hadoop-hdfs</artifactId>
2797 <version>${hadoop-three.version}</version>
2800 <groupId>com.sun.jersey</groupId>
2801 <artifactId>jersey-core</artifactId>
2804 <groupId>com.sun.jersey</groupId>
2805 <artifactId>jersey-server</artifactId>
2808 <groupId>javax.servlet.jsp</groupId>
2809 <artifactId>jsp-api</artifactId>
2812 <groupId>javax.servlet</groupId>
2813 <artifactId>servlet-api</artifactId>
2816 <groupId>stax</groupId>
2817 <artifactId>stax-api</artifactId>
2820 <groupId>xerces</groupId>
2821 <artifactId>xercesImpl</artifactId>
2824 <groupId>org.codehaus.jackson</groupId>
2825 <artifactId>jackson-core-asl</artifactId>
2828 <groupId>org.codehaus.jackson</groupId>
2829 <artifactId>jackson-mapper-asl</artifactId>
2832 <groupId>com.google.guava</groupId>
2833 <artifactId>guava</artifactId>
2836 <groupId>org.slf4j</groupId>
2837 <artifactId>slf4j-log4j12</artifactId>
2840 <groupId>log4j</groupId>
2841 <artifactId>log4j</artifactId>
2846 <groupId>org.apache.hadoop</groupId>
2847 <artifactId>hadoop-hdfs</artifactId>
2848 <version>${hadoop-three.version}</version>
2849 <type>test-jar</type>
2853 <groupId>javax.servlet.jsp</groupId>
2854 <artifactId>jsp-api</artifactId>
2857 <groupId>javax.servlet</groupId>
2858 <artifactId>servlet-api</artifactId>
2861 <groupId>stax</groupId>
2862 <artifactId>stax-api</artifactId>
2865 <groupId>xerces</groupId>
2866 <artifactId>xercesImpl</artifactId>
2869 <groupId>org.codehaus.jackson</groupId>
2870 <artifactId>jackson-core-asl</artifactId>
2873 <groupId>org.codehaus.jackson</groupId>
2874 <artifactId>jackson-mapper-asl</artifactId>
2877 <groupId>com.google.guava</groupId>
2878 <artifactId>guava</artifactId>
2881 <groupId>com.sun.jersey</groupId>
2882 <artifactId>jersey-core</artifactId>
2885 <groupId>org.slf4j</groupId>
2886 <artifactId>slf4j-log4j12</artifactId>
2889 <groupId>log4j</groupId>
2890 <artifactId>log4j</artifactId>
2895 <groupId>org.apache.hadoop</groupId>
2896 <artifactId>hadoop-hdfs</artifactId>
2897 <version>${hadoop-three.version}</version>
2898 <type>test-jar</type>
2899 <classifier>tests</classifier>
2903 <groupId>com.sun.jersey</groupId>
2904 <artifactId>jersey-core</artifactId>
2909 <groupId>org.apache.hadoop</groupId>
2910 <artifactId>hadoop-auth</artifactId>
2911 <version>${hadoop-three.version}</version>
2914 <groupId>com.google.guava</groupId>
2915 <artifactId>guava</artifactId>
2918 <groupId>net.minidev</groupId>
2919 <artifactId>json-smart</artifactId>
2922 <groupId>org.slf4j</groupId>
2923 <artifactId>slf4j-log4j12</artifactId>
2926 <groupId>log4j</groupId>
2927 <artifactId>log4j</artifactId>
2932 <groupId>org.apache.hadoop</groupId>
2933 <artifactId>hadoop-common</artifactId>
2934 <version>${hadoop-three.version}</version>
2937 <groupId>com.sun.jersey</groupId>
2938 <artifactId>jersey-core</artifactId>
2941 <groupId>com.sun.jersey</groupId>
2942 <artifactId>jersey-json</artifactId>
2945 <groupId>com.sun.jersey</groupId>
2946 <artifactId>jersey-servlet</artifactId>
2949 <groupId>com.sun.jersey</groupId>
2950 <artifactId>jersey-server</artifactId>
2953 <groupId>javax.servlet.jsp</groupId>
2954 <artifactId>jsp-api</artifactId>
2957 <groupId>javax.servlet</groupId>
2958 <artifactId>javax.servlet-api</artifactId>
2961 <groupId>stax</groupId>
2962 <artifactId>stax-api</artifactId>
2965 <groupId>io.netty</groupId>
2966 <artifactId>netty</artifactId>
2969 <groupId>com.google.code.findbugs</groupId>
2970 <artifactId>jsr305</artifactId>
2973 <groupId>junit</groupId>
2974 <artifactId>junit</artifactId>
2977 <groupId>org.codehause.jackson</groupId>
2978 <artifactId>jackson-core-asl</artifactId>
2981 <groupId>org.codehause.jackson</groupId>
2982 <artifactId>jackson-mapper-asl</artifactId>
2985 <groupId>org.slf4j</groupId>
2986 <artifactId>slf4j-log4j12</artifactId>
2989 <groupId>log4j</groupId>
2990 <artifactId>log4j</artifactId>
2996 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2998 <groupId>javax.activation</groupId>
2999 <artifactId>javax.activation-api</artifactId>
3000 <version>1.2.0</version>
3004 <groupId>org.apache.hadoop</groupId>
3005 <artifactId>hadoop-common</artifactId>
3006 <type>test-jar</type>
3007 <classifier>tests</classifier>
3008 <version>${hadoop-three.version}</version>
3011 <groupId>com.sun.jersey</groupId>
3012 <artifactId>jersey-core</artifactId>
3015 <groupId>com.google.code.findbugs</groupId>
3016 <artifactId>jsr305</artifactId>
3021 <groupId>org.apache.hadoop</groupId>
3022 <artifactId>hadoop-client</artifactId>
3023 <version>${hadoop-three.version}</version>
3026 <groupId>org.apache.hadoop</groupId>
3027 <artifactId>hadoop-annotations</artifactId>
3028 <version>${hadoop-three.version}</version>
3030 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3031 Where do we actually need it? -->
3033 <groupId>org.apache.hadoop</groupId>
3034 <artifactId>hadoop-minicluster</artifactId>
3035 <version>${hadoop-three.version}</version>
3037 <!--If we comment this in, a few tests in hbase-mapreduce
3038 fail. They depend on jersey-core somehow. But excluding
3039 jersey-core here messes up hbase-it because jersey-core
3040 implements a 1.x jaxrs Response Interface when we depend
3041 on the 2.x Interface... . Letting this jar come in
3042 transitively here but will exclude it down in hbase-it.
3045 <groupId>com.sun.jersey</groupId>
3046 <artifactId>jersey-core</artifactId>
3050 <groupId>commons-httpclient</groupId>
3051 <artifactId>commons-httpclient</artifactId>
3054 <groupId>javax.servlet.jsp</groupId>
3055 <artifactId>jsp-api</artifactId>
3058 <groupId>javax.servlet</groupId>
3059 <artifactId>servlet-api</artifactId>
3062 <groupId>stax</groupId>
3063 <artifactId>stax-api</artifactId>
3066 <groupId>io.netty</groupId>
3067 <artifactId>netty</artifactId>
3070 <groupId>com.google.code.findbugs</groupId>
3071 <artifactId>jsr305</artifactId>
3074 <groupId>org.slf4j</groupId>
3075 <artifactId>slf4j-log4j12</artifactId>
3078 <groupId>log4j</groupId>
3079 <artifactId>log4j</artifactId>
3084 <groupId>org.apache.hadoop</groupId>
3085 <artifactId>hadoop-minikdc</artifactId>
3086 <version>${hadoop-three.version}</version>
3090 <groupId>org.slf4j</groupId>
3091 <artifactId>slf4j-log4j12</artifactId>
3094 <groupId>log4j</groupId>
3095 <artifactId>log4j</artifactId>
3100 <groupId>org.apache.hadoop</groupId>
3101 <artifactId>hadoop-distcp</artifactId>
3102 <version>${hadoop-three.version}</version>
3106 <groupId>org.apache.hadoop</groupId>
3107 <artifactId>hadoop-hdfs-client</artifactId>
3108 <version>${hadoop-three.version}</version>
3111 </dependencyManagement>
3114 <!-- profiles for the tests
3115 See as well the properties of the project for the values
3116 when no profile is active. -->
3118 <!-- Use it to launch all tests in the same JVM -->
3119 <id>singleJVMTests</id>
3121 <activeByDefault>false</activeByDefault>
3124 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3125 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3126 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3127 <surefire.firstPartGroups/>
3131 <!-- Use it to launch small tests only -->
3132 <id>runSmallTests</id>
3134 <activeByDefault>false</activeByDefault>
3137 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3138 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3139 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3140 <surefire.secondPartGroups/>
3144 <!-- Use it to launch medium tests only -->
3145 <id>runMediumTests</id>
3147 <activeByDefault>false</activeByDefault>
3150 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3151 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3152 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3153 <surefire.secondPartGroups/>
3157 <!-- Use it to launch large tests only -->
3158 <id>runLargeTests</id>
3160 <activeByDefault>false</activeByDefault>
3163 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3164 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3165 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3166 <surefire.secondPartGroups/>
3170 <!-- Use it to launch small & medium tests -->
3171 <id>runDevTests</id>
3173 <activeByDefault>false</activeByDefault>
3176 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3177 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3178 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3179 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3180 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3184 <!-- Use it to launch all tests -->
3185 <id>runAllTests</id>
3187 <activeByDefault>false</activeByDefault>
3190 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3191 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3192 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3193 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3197 <id>runMiscTests</id>
3199 <activeByDefault>false</activeByDefault>
3202 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3203 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3204 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3205 </surefire.firstPartGroups>
3206 <surefire.secondPartGroups></surefire.secondPartGroups>
3210 <id>runCoprocessorTests</id>
3212 <activeByDefault>false</activeByDefault>
3215 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3216 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3217 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3218 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3219 <surefire.firstPartGroups>
3220 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3221 </surefire.firstPartGroups>
3222 <surefire.secondPartGroups></surefire.secondPartGroups>
3226 <id>runClientTests</id>
3228 <activeByDefault>false</activeByDefault>
3231 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3232 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3233 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3234 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3235 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3236 </surefire.firstPartGroups>
3237 <surefire.secondPartGroups></surefire.secondPartGroups>
3241 <id>runMasterTests</id>
3243 <activeByDefault>false</activeByDefault>
3246 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3247 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3248 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3249 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3250 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3251 </surefire.firstPartGroups>
3252 <surefire.secondPartGroups></surefire.secondPartGroups>
3256 <id>runMapredTests</id>
3258 <activeByDefault>false</activeByDefault>
3261 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3262 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3263 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3264 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3265 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3266 </surefire.firstPartGroups>
3267 <surefire.secondPartGroups></surefire.secondPartGroups>
3271 <id>runMapreduceTests</id>
3273 <activeByDefault>false</activeByDefault>
3276 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3277 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3278 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3279 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3280 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3281 </surefire.firstPartGroups>
3282 <surefire.secondPartGroups></surefire.secondPartGroups>
3286 <id>runRegionServerTests</id>
3288 <activeByDefault>false</activeByDefault>
3291 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3292 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3293 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3294 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3295 <surefire.firstPartGroups>
3296 org.apache.hadoop.hbase.testclassification.RegionServerTests
3297 </surefire.firstPartGroups>
3298 <surefire.secondPartGroups></surefire.secondPartGroups>
3302 <id>runVerySlowMapReduceTests</id>
3304 <activeByDefault>false</activeByDefault>
3307 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3308 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3309 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3310 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3311 <surefire.firstPartGroups>
3312 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3313 </surefire.firstPartGroups>
3314 <surefire.secondPartGroups></surefire.secondPartGroups>
3319 <id>runVerySlowRegionServerTests</id>
3321 <activeByDefault>false</activeByDefault>
3324 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3325 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3326 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3327 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3328 <surefire.firstPartGroups>
3329 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3330 </surefire.firstPartGroups>
3331 <surefire.secondPartGroups></surefire.secondPartGroups>
3336 <id>runFilterTests</id>
3338 <activeByDefault>false</activeByDefault>
3341 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3342 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3343 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3344 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3345 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3346 </surefire.firstPartGroups>
3347 <surefire.secondPartGroups></surefire.secondPartGroups>
3353 <activeByDefault>false</activeByDefault>
3356 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3357 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3358 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3359 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3360 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3361 </surefire.firstPartGroups>
3362 <surefire.secondPartGroups></surefire.secondPartGroups>
3366 <id>runRestTests</id>
3368 <activeByDefault>false</activeByDefault>
3371 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3372 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3373 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3374 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3375 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3376 </surefire.firstPartGroups>
3377 <surefire.secondPartGroups></surefire.secondPartGroups>
3381 <id>runRPCTests</id>
3383 <activeByDefault>false</activeByDefault>
3386 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3387 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3388 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3389 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3390 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3391 </surefire.firstPartGroups>
3392 <surefire.secondPartGroups></surefire.secondPartGroups>
3396 <id>runReplicationTests</id>
3398 <activeByDefault>false</activeByDefault>
3401 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3402 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3403 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3404 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3405 <surefire.firstPartGroups>
3406 org.apache.hadoop.hbase.testclassification.ReplicationTests
3407 </surefire.firstPartGroups>
3408 <surefire.secondPartGroups></surefire.secondPartGroups>
3412 <id>runSecurityTests</id>
3414 <activeByDefault>false</activeByDefault>
3417 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3418 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3419 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3420 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3421 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3422 </surefire.firstPartGroups>
3423 <surefire.secondPartGroups></surefire.secondPartGroups>
3427 <id>runFlakeyTests</id>
3429 <activeByDefault>false</activeByDefault>
3432 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3433 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3434 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3435 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3436 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3437 </surefire.firstPartGroups>
3438 <surefire.secondPartGroups></surefire.secondPartGroups>
3444 <activeByDefault>false</activeByDefault>
3447 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3448 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3449 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3450 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3451 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3452 </surefire.firstPartGroups>
3453 <surefire.secondPartGroups></surefire.secondPartGroups>
3457 <id>runRSGroupTests</id>
3459 <activeByDefault>false</activeByDefault>
3462 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3463 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3464 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3465 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3466 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3467 </surefire.firstPartGroups>
3468 <surefire.secondPartGroups></surefire.secondPartGroups>
3473 <!-- Use it to launch tests locally-->
3481 <surefire.provider>surefire-junit4</surefire.provider>
3482 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3483 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3484 <surefire.firstPartGroups/>
3487 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3488 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3489 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3490 The report will be generated under target/site/clover/index.html when you run
3491 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3495 <activeByDefault>false</activeByDefault>
3501 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3505 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3506 our instrumented classes for the doclet will fail
3509 <groupId>org.apache.maven.plugins</groupId>
3510 <artifactId>maven-javadoc-plugin</artifactId>
3513 <groupId>com.atlassian.maven.plugins</groupId>
3514 <artifactId>maven-clover2-plugin</artifactId>
3515 <version>${clover.version}</version>
3520 <groupId>com.atlassian.maven.plugins</groupId>
3521 <artifactId>maven-clover2-plugin</artifactId>
3522 <version>${clover.version}</version>
3524 <includesAllSourceRoots>true</includesAllSourceRoots>
3525 <includesTestSourceRoots>true</includesTestSourceRoots>
3526 <targetPercentage>50%</targetPercentage>
3527 <generateHtml>true</generateHtml>
3528 <generateXml>true</generateXml>
3530 <exclude>**/generated/**</exclude>
3535 <id>clover-setup</id>
3536 <phase>process-sources</phase>
3554 <!-- Used by the website generation script on jenkins to
3555 do a local install of the jars we need to run a normal
3556 site build w/o forking.
3558 <id>site-install-step</id>
3560 <skipTests>true</skipTests>
3561 <maven.javadoc.skip>true</maven.javadoc.skip>
3562 <enforcer.skip>true</enforcer.skip>
3563 <checkstyle.skip>true</checkstyle.skip>
3564 <spotbugs.skip>true</spotbugs.skip>
3565 <warbucks.skip>true</warbucks.skip>
3569 <!-- Used by the website generation script on jenkins to
3570 mitigate the impact of unneeded build forks while building
3573 <id>site-build-step</id>
3575 <skipTests>true</skipTests>
3576 <enforcer.skip>true</enforcer.skip>
3577 <maven.main.skip>true</maven.main.skip>
3578 <maven.test.skip>true</maven.test.skip>
3579 <warbucks.skip>true</warbucks.skip>
3580 <protoc.skip>true</protoc.skip>
3581 <remoteresources.skip>true</remoteresources.skip>
3585 <id>eclipse-specific</id>
3588 <name>m2e.version</name>
3594 <!-- General config for eclipse classpath/settings -->
3596 <groupId>org.apache.maven.plugins</groupId>
3597 <artifactId>maven-eclipse-plugin</artifactId>
3598 <version>${maven.eclipse.version}</version>
3600 <!--This plugin's configuration is used to store Eclipse m2e settings
3601 only. It has no influence on the Maven build itself. m2e does not
3602 provide any safeguards against rogue maven plugins that leak
3603 classloaders, modify random files inside workspace or throw nasty
3604 exceptions to fail the build.
3605 Top level doesn't do any specific configuration currently - left
3606 to modules to decide what they want to bind, sans those plugins
3607 defined in this pom. -->
3609 <groupId>org.eclipse.m2e</groupId>
3610 <artifactId>lifecycle-mapping</artifactId>
3611 <version>${lifecycle.mapping.version}</version>
3613 <lifecycleMappingMetadata>
3616 <pluginExecutionFilter>
3617 <groupId>org.jacoco</groupId>
3618 <artifactId>jacoco-maven-plugin</artifactId>
3619 <versionRange>[0.6.2.201302030002,)</versionRange>
3621 <goal>prepare-agent</goal>
3623 </pluginExecutionFilter>
3629 <pluginExecutionFilter>
3630 <groupId>org.apache.maven.plugins</groupId>
3631 <artifactId>maven-enforcer-plugin</artifactId>
3632 <versionRange>${enforcer.version}</versionRange>
3634 <goal>enforce</goal>
3636 </pluginExecutionFilter>
3642 <pluginExecutionFilter>
3643 <groupId>org.apache.maven.plugins</groupId>
3644 <artifactId>maven-remote-resources-plugin</artifactId>
3645 <versionRange>[1.5,)</versionRange>
3647 <goal>process</goal>
3650 </pluginExecutionFilter>
3656 <pluginExecutionFilter>
3657 <groupId>org.codehaus.mojo</groupId>
3658 <artifactId>buildnumber-maven-plugin</artifactId>
3659 <versionRange>[1.3,)</versionRange>
3661 <goal>create-timestamp</goal>
3663 </pluginExecutionFilter>
3666 <runOnConfiguration>true</runOnConfiguration>
3667 <runOnIncremental>true</runOnIncremental>
3672 </lifecycleMappingMetadata>
3682 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3686 <family>linux</family>
3687 <arch>aarch64</arch>
3692 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3696 <artifactId>maven-project-info-reports-plugin</artifactId>
3697 <version>${maven.project.info.report.version}</version>
3701 <report>dependencies</report>
3702 <report>dependency-convergence</report>
3703 <report>dependency-info</report>
3704 <report>dependency-management</report>
3705 <report>index</report>
3706 <report>issue-tracking</report>
3707 <report>mailing-list</report>
3708 <report>plugin-management</report>
3709 <report>plugins</report>
3710 <report>project-team</report>
3711 <report>scm</report>
3712 <report>summary</report>
3716 <!-- see src/site/site.xml for selected reports -->
3718 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3723 <groupId>org.apache.maven.plugins</groupId>
3724 <artifactId>maven-javadoc-plugin</artifactId>
3728 <name>apiNote</name>
3729 <placement>a</placement>
3730 <head>API Note:</head>
3739 <report>aggregate</report>
3742 <destDir>devapidocs</destDir>
3743 <name>Developer API</name>
3744 <description>The full HBase API, including private and unstable APIs</description>
3745 <sourceFileExcludes>
3746 <exclude>**/generated/*</exclude>
3747 <exclude>**/protobuf/*</exclude>
3748 </sourceFileExcludes>
3749 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3750 <show>private</show> <!-- (shows all classes and members) -->
3752 <linksource>true</linksource>
3753 <sourcetab>2</sourcetab>
3754 <validateLinks>true</validateLinks>
3755 <fixClassComment>true</fixClassComment>
3756 <fixFieldComment>true</fixFieldComment>
3757 <fixMethodComment>true</fixMethodComment>
3758 <fixTags>all</fixTags>
3759 <notimestamp>true</notimestamp>
3760 <locale>en_US</locale>
3761 <!-- Pass some options straight to the javadoc executable since it is easier -->
3762 <additionalJOption>-J-Xmx2G</additionalJOption>
3763 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3764 <additionalDependencies>
3765 <additionalDependency>
3766 <groupId>org.mockito</groupId>
3767 <artifactId>mockito-core</artifactId>
3768 <version>${mockito-core.version}</version>
3769 </additionalDependency>
3770 <additionalDependency>
3771 <groupId>org.hamcrest</groupId>
3772 <artifactId>hamcrest-core</artifactId>
3773 <version>${hamcrest.version}</version>
3774 </additionalDependency>
3775 </additionalDependencies>
3776 <inherited>false</inherited>
3782 <report>test-aggregate</report>
3785 <destDir>testdevapidocs</destDir>
3786 <name>Developer API</name>
3787 <description>The full HBase API test code, including private and unstable APIs</description>
3788 <sourceFileExcludes>
3789 <exclude>**/generated/*</exclude>
3790 <exclude>**/protobuf/*</exclude>
3791 </sourceFileExcludes>
3792 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3793 <show>private</show> <!-- (shows all classes and members) -->
3795 <linksource>true</linksource>
3796 <sourcetab>2</sourcetab>
3797 <validateLinks>true</validateLinks>
3798 <fixClassComment>true</fixClassComment>
3799 <fixFieldComment>true</fixFieldComment>
3800 <fixMethodComment>true</fixMethodComment>
3801 <fixTags>all</fixTags>
3802 <notimestamp>true</notimestamp>
3803 <locale>en_US</locale>
3804 <!-- Pass some options straight to the javadoc executable since it is easier -->
3805 <additionalJOption>-J-Xmx2G</additionalJOption>
3806 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3807 <additionalDependencies>
3808 <additionalDependency>
3809 <groupId>org.mockito</groupId>
3810 <artifactId>mockito-core</artifactId>
3811 <version>${mockito-core.version}</version>
3812 </additionalDependency>
3813 <additionalDependency>
3814 <groupId>org.hamcrest</groupId>
3815 <artifactId>hamcrest-core</artifactId>
3816 <version>${hamcrest.version}</version>
3817 </additionalDependency>
3818 </additionalDependencies>
3819 <inherited>false</inherited>
3827 <report>aggregate</report>
3831 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3834 <groupId>org.apache.yetus</groupId>
3835 <artifactId>audience-annotations</artifactId>
3836 <version>${audience-annotations.version}</version>
3838 <useStandardDocletOptions>true</useStandardDocletOptions>
3839 <destDir>apidocs</destDir>
3840 <name>User API</name>
3841 <description>The HBase Application Programmer's API</description>
3842 <excludePackageNames>
3843 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*
3844 </excludePackageNames>
3845 <!-- switch on dependency-driven aggregation -->
3846 <includeDependencySources>false</includeDependencySources>
3847 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3848 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3850 <linksource>true</linksource>
3851 <sourcetab>2</sourcetab>
3852 <validateLinks>true</validateLinks>
3853 <fixClassComment>true</fixClassComment>
3854 <fixFieldComment>true</fixFieldComment>
3855 <fixMethodComment>true</fixMethodComment>
3856 <fixTags>all</fixTags>
3857 <notimestamp>true</notimestamp>
3858 <locale>en_US</locale>
3859 <!-- Pass some options straight to the javadoc executable since it is easier -->
3860 <additionalJOption>-J-Xmx2G</additionalJOption>
3861 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3862 <additionalDependencies>
3863 <additionalDependency>
3864 <groupId>org.mockito</groupId>
3865 <artifactId>mockito-core</artifactId>
3866 <version>${mockito-core.version}</version>
3867 </additionalDependency>
3868 <additionalDependency>
3869 <groupId>org.hamcrest</groupId>
3870 <artifactId>hamcrest-core</artifactId>
3871 <version>${hamcrest.version}</version>
3872 </additionalDependency>
3873 </additionalDependencies>
3874 <inherited>false</inherited>
3877 <!-- User Test API -->
3879 <id>testuserapi</id>
3881 <report>test-aggregate</report>
3885 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3888 <groupId>org.apache.yetus</groupId>
3889 <artifactId>audience-annotations</artifactId>
3890 <version>${audience-annotations.version}</version>
3892 <useStandardDocletOptions>true</useStandardDocletOptions>
3893 <destDir>testapidocs</destDir>
3894 <name>User API</name>
3895 <description>The HBase Application Programmer's API</description>
3896 <excludePackageNames>
3897 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*
3898 </excludePackageNames>
3899 <!-- switch on dependency-driven aggregation -->
3900 <includeDependencySources>false</includeDependencySources>
3901 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3902 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3904 <linksource>true</linksource>
3905 <sourcetab>2</sourcetab>
3906 <validateLinks>true</validateLinks>
3907 <fixClassComment>true</fixClassComment>
3908 <fixFieldComment>true</fixFieldComment>
3909 <fixMethodComment>true</fixMethodComment>
3910 <fixTags>all</fixTags>
3911 <notimestamp>true</notimestamp>
3912 <locale>en_US</locale>
3913 <!-- Pass some options straight to the javadoc executable since it is easier -->
3914 <additionalJOption>-J-Xmx2G</additionalJOption>
3915 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3916 <additionalDependencies>
3917 <additionalDependency>
3918 <groupId>org.mockito</groupId>
3919 <artifactId>mockito-core</artifactId>
3920 <version>${mockito-core.version}</version>
3921 </additionalDependency>
3922 <additionalDependency>
3923 <groupId>org.hamcrest</groupId>
3924 <artifactId>hamcrest-core</artifactId>
3925 <version>${hamcrest.version}</version>
3926 </additionalDependency>
3927 </additionalDependencies>
3928 <inherited>false</inherited>
3935 <groupId>org.apache.maven.plugins</groupId>
3936 <artifactId>maven-checkstyle-plugin</artifactId>
3937 <version>${maven.checkstyle.version}</version>
3939 <excludes>target/**</excludes>
3945 <distributionManagement>
3947 <id>hbase.apache.org</id>
3948 <name>HBase Website at hbase.apache.org</name>
3949 <!-- On why this is the tmp dir and not hbase.apache.org, see
3950 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3952 <url>file:///tmp</url>
3954 </distributionManagement>