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>
725 <groupId>org.apache.maven.plugins</groupId>
726 <artifactId>maven-javadoc-plugin</artifactId>
727 <version>${maven.javadoc.version}</version>
729 <!-- Test oriented plugins -->
731 <groupId>org.apache.maven.plugins</groupId>
732 <artifactId>maven-surefire-plugin</artifactId>
733 <version>${surefire.version}</version>
735 <!-- by default surefire selects dynamically the connector to the unit tests
736 tool. We want to use always the same as the different connectors can have different
737 bugs and behaviour. -->
739 <groupId>org.apache.maven.surefire</groupId>
740 <artifactId>${surefire.provider}</artifactId>
741 <version>${surefire.version}</version>
744 <!-- Generic testing configuration for all packages -->
746 <groups>${surefire.firstPartGroups}</groups>
747 <failIfNoTests>false</failIfNoTests>
748 <skip>${surefire.skipFirstPart}</skip>
749 <forkCount>${surefire.firstPartForkCount}</forkCount>
750 <reuseForks>false</reuseForks>
751 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
752 <tempDir>${surefire.tempDir}</tempDir>
753 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
754 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
755 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
756 <systemPropertyVariables>
757 <test.build.classes>${test.build.classes}</test.build.classes>
758 </systemPropertyVariables>
760 <!-- users can add -D option to skip particular test classes
761 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
763 <exclude>${test.exclude.pattern}</exclude>
767 <name>listener</name>
768 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
774 <id>secondPartTestsExecution</id>
780 <skip>${surefire.skipSecondPart}</skip>
781 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
782 <reuseForks>false</reuseForks>
783 <forkCount>${surefire.secondPartForkCount}</forkCount>
784 <groups>${surefire.secondPartGroups}</groups>
785 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
791 <groupId>org.apache.maven.plugins</groupId>
792 <artifactId>maven-surefire-report-plugin</artifactId>
793 <version>${surefire.version}</version>
796 <groupId>org.codehaus.mojo</groupId>
797 <artifactId>buildnumber-maven-plugin</artifactId>
798 <version>${buildnumber.maven.version}</version>
801 <groupId>com.github.spotbugs</groupId>
802 <artifactId>spotbugs-maven-plugin</artifactId>
803 <version>${spotbugs.maven.version}</version>
805 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
806 <spotbugsXmlOutput>true</spotbugsXmlOutput>
807 <xmlOutput>true</xmlOutput>
812 <groupId>org.codehaus.mojo</groupId>
813 <artifactId>build-helper-maven-plugin</artifactId>
814 <version>${build.helper.maven.version}</version>
817 <artifactId>maven-antrun-plugin</artifactId>
818 <version>${maven.antrun.version}</version>
821 <groupId>org.jamon</groupId>
822 <artifactId>jamon-maven-plugin</artifactId>
823 <version>${jamon.plugin.version}</version>
825 <!-- Make a jar and put the sources in the jar.
826 In the parent pom, so submodules will do the right thing. -->
828 <groupId>org.apache.maven.plugins</groupId>
829 <artifactId>maven-source-plugin</artifactId>
832 <id>attach-sources</id>
833 <phase>prepare-package</phase>
835 <goal>jar-no-fork</goal>
836 <goal>test-jar-no-fork</goal>
840 <exclude>log4j.properties</exclude>
846 <!-- General configuration for submodules who want to build a test jar -->
848 <groupId>org.apache.maven.plugins</groupId>
849 <artifactId>maven-jar-plugin</artifactId>
852 <phase>prepare-package</phase>
854 <!--This goal will install a -test.jar when we do install
855 See https://maven.apache.org/guides/mini/guide-attached-tests.html
857 <goal>test-jar</goal>
862 <skipIfEmpty>true</skipIfEmpty>
864 <exclude>hbase-site.xml</exclude>
865 <exclude>hdfs-site.xml</exclude>
866 <exclude>mapred-queues.xml</exclude>
867 <exclude>mapred-site.xml</exclude>
872 <!-- excludes are inherited -->
873 <groupId>org.apache.rat</groupId>
874 <artifactId>apache-rat-plugin</artifactId>
877 <exclude>**/*.versionsBackup</exclude>
878 <exclude>**/*.log</exclude>
879 <exclude>**/.*</exclude>
880 <exclude>**/*.tgz</exclude>
881 <exclude>**/*.orig</exclude>
882 <exclude>**/0000000000000016310</exclude>
883 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
884 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
885 <exclude>**/.idea/**</exclude>
886 <exclude>**/*.iml</exclude>
887 <exclude>**/CHANGES.txt</exclude>
888 <exclude>**/generated/**</exclude>
889 <exclude>**/gen-*/**</exclude>
890 <!-- No material contents -->
891 <exclude>conf/regionservers</exclude>
892 <exclude>**/*.avpr</exclude>
893 <exclude>**/*.svg</exclude>
894 <!-- non-standard notice file from jruby included by reference -->
895 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
896 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
897 <exclude>**/src/main/asciidoc/hbase.css</exclude>
898 <!-- MIT https://jquery.org/license -->
899 <exclude>**/jquery.min.js</exclude>
900 <exclude>**/jquery.tablesorter.min.js</exclude>
901 <!-- vector graphics -->
902 <exclude>**/*.vm</exclude>
903 <!-- apache doxia generated -->
904 <exclude>**/control</exclude>
905 <exclude>**/conffile</exclude>
906 <!-- auto-gen docs -->
907 <exclude>docs/*</exclude>
908 <exclude>logs/*</exclude>
909 <!-- exclude source control files -->
910 <exclude>.git/**</exclude>
911 <exclude>.svn/**</exclude>
912 <exclude>**/.settings/**</exclude>
913 <exclude>**/patchprocess/**</exclude>
914 <exclude>src/site/resources/repo/**</exclude>
915 <exclude>**/dependency-reduced-pom.xml</exclude>
916 <exclude>**/rat.txt</exclude>
917 <!-- exclude the shaded protobuf files -->
918 <exclude>**/shaded/com/google/protobuf/**</exclude>
919 <exclude>**/src/main/patches/**</exclude>
920 <exclude>**/vote.tmpl</exclude>
925 <artifactId>maven-assembly-plugin</artifactId>
927 <!--Defer to the hbase-assembly sub-module. It
929 <skipAssembly>true</skipAssembly>
933 <groupId>org.xolstice.maven.plugins</groupId>
934 <artifactId>protobuf-maven-plugin</artifactId>
935 <version>${protobuf.plugin.version}</version>
937 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
938 <clearOutputDirectory>false</clearOutputDirectory>
939 <checkStaleness>true</checkStaleness>
943 <!-- Approach followed here is roughly the same as mentioned here:
944 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
946 <groupId>org.apache.maven.plugins</groupId>
947 <artifactId>maven-checkstyle-plugin</artifactId>
948 <version>${maven.checkstyle.version}</version>
951 <groupId>org.apache.hbase</groupId>
952 <artifactId>hbase-checkstyle</artifactId>
953 <version>${project.version}</version>
956 <groupId>com.puppycrawl.tools</groupId>
957 <artifactId>checkstyle</artifactId>
958 <version>${checkstyle.version}</version>
962 <configLocation>hbase/checkstyle.xml</configLocation>
963 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
964 <includeTestSourceDirectory>true</includeTestSourceDirectory>
968 <groupId>net.revelc.code</groupId>
969 <artifactId>warbucks-maven-plugin</artifactId>
970 <version>${maven.warbucks.version}</version>
972 <ignoreRuleFailures>false</ignoreRuleFailures>
975 <!-- exclude the generated java files -->
976 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
977 <includeTestClasses>false</includeTestClasses>
978 <includePublicClasses>true</includePublicClasses>
979 <includePackagePrivateClasses>false</includePackagePrivateClasses>
980 <includeProtectedClasses>false</includeProtectedClasses>
981 <includePrivateClasses>false</includePrivateClasses>
982 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
988 <id>run-warbucks</id>
990 <goal>check</goal><!-- runs at process-test-classes phase -->
996 <groupId>org.apache.maven.plugins</groupId>
997 <artifactId>maven-enforcer-plugin</artifactId>
998 <version>${enforcer.version}</version>
1001 <groupId>org.codehaus.mojo</groupId>
1002 <artifactId>extra-enforcer-rules</artifactId>
1003 <version>${extra.enforcer.version}</version>
1006 <groupId>de.skuzzle.enforcer</groupId>
1007 <artifactId>restrict-imports-enforcer-rule</artifactId>
1008 <version>${restrict-imports.enforcer.version}</version>
1016 <groupId>org.codehaus.mojo</groupId>
1017 <artifactId>build-helper-maven-plugin</artifactId>
1020 <id>negate-license-bundles-property</id>
1022 <goal>bsh-property</goal>
1025 <source>skip.license.check = !${license.bundles.dependencies};</source>
1027 <property>skip.license.check</property>
1031 <!-- sets where to find the generated LICENSE files -->
1033 <id>create-license-file-path-property</id>
1035 <goal>regex-property</goal>
1038 <name>license.aggregate.path</name>
1039 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1041 <replacement>/</replacement>
1042 <failIfNoMatch>false</failIfNoMatch>
1048 <groupId>org.apache.maven.plugins</groupId>
1049 <artifactId>maven-enforcer-plugin</artifactId>
1052 <id>display-info</id>
1053 <phase>initialize</phase>
1055 <goal>display-info</goal>
1057 <inherited>false</inherited>
1060 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1062 <goal>enforce</goal>
1066 <!-- Help people activate profiles correctly -->
1068 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1069 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1070 </evaluateBeanshell>
1071 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1072 <requireMavenVersion>
1073 <version>[${maven.min.version},)</version>
1074 <message>Maven is out of date.
1075 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1076 You appear to be using an older version. You can use either "mvn -version" or
1077 "mvn enforcer:display-info" to verify what version is active.
1078 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1080 </requireMavenVersion>
1081 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1082 <requireJavaVersion>
1083 <version>[${java.min.version},)</version>
1084 <message>Java is out of date.
1085 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1086 You appear to be using an older version. You can use either "mvn -version" or
1087 "mvn enforcer:display-info" to verify what version is active.
1088 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1090 </requireJavaVersion>
1091 <bannedDependencies>
1093 <exclude>xerces:xercesImpl</exclude>
1095 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1096 </bannedDependencies>
1101 <id>banned-jsr305</id>
1103 <goal>enforce</goal>
1107 <bannedDependencies>
1109 <exclude>com.google.code.findbugs:jsr305</exclude>
1111 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1112 </bannedDependencies>
1117 <id>banned-scala</id>
1119 <goal>enforce</goal>
1123 <bannedDependencies>
1125 <exclude>org.scala-lang:scala-library</exclude>
1127 <message>We don't allow Scala, see HBASE-13992.</message>
1128 </bannedDependencies>
1133 <id>banned-commons-logging</id>
1135 <goal>enforce</goal>
1139 <bannedDependencies>
1141 <exclude>commons-logging:commons-logging</exclude>
1144 We don't use commons-logging any more, so do not depend on it directly.
1146 <searchTransitive>false</searchTransitive>
1147 </bannedDependencies>
1152 <id>banned-jetty</id>
1154 <goal>enforce</goal>
1158 <bannedDependencies>
1160 <exclude>org.eclipse.jetty:**</exclude>
1163 Use shaded jetty instead
1165 <searchTransitive>false</searchTransitive>
1166 </bannedDependencies>
1171 <id>banned-jersey</id>
1173 <goal>enforce</goal>
1177 <bannedDependencies>
1179 <exclude>>org.glassfish.jersey.containers:**</exclude>
1180 <exclude>>org.glassfish.jersey.core:**</exclude>
1183 Use shaded jersey instead
1185 <searchTransitive>false</searchTransitive>
1186 </bannedDependencies>
1191 <id>check-aggregate-license</id>
1192 <!-- must check after LICENSE is built at 'generate-resources' -->
1193 <phase>process-resources</phase>
1195 <goal>enforce</goal>
1201 File license = new File("${license.aggregate.path}");
1203 // Beanshell does not support try-with-resources,
1204 // so we must close this scanner manually
1205 Scanner scanner = new Scanner(license);
1207 while (scanner.hasNextLine()) {
1208 if (scanner.nextLine().startsWith("ERROR:")) {
1217 License errors detected, for more detail find ERROR in
1218 ${license.aggregate.path}
1220 </evaluateBeanshell>
1222 <skip>${skip.license.check}</skip>
1226 <id>banned-illegal-imports</id>
1227 <phase>process-sources</phase>
1229 <goal>enforce</goal>
1233 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1234 <includeTestCode>true</includeTestCode>
1235 <commentLineBufferSize>512</commentLineBufferSize>
1236 <reason>Use SLF4j for logging</reason>
1238 <bannedImport>org.apache.commons.logging.**</bannedImport>
1241 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1242 <includeTestCode>false</includeTestCode>
1243 <commentLineBufferSize>512</commentLineBufferSize>
1245 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1248 <bannedImport>org.apache.log4j.**</bannedImport>
1251 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1252 <includeTestCode>true</includeTestCode>
1253 <commentLineBufferSize>512</commentLineBufferSize>
1254 <reason>Use shaded version in hbase-thirdparty</reason>
1256 <bannedImport>com.google.common.**</bannedImport>
1257 <bannedImport>io.netty.**</bannedImport>
1258 <bannedImport>org.apache.commons.cli.**</bannedImport>
1259 <bannedImport>org.apache.commons.collections.**</bannedImport>
1260 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1263 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1264 <includeTestCode>true</includeTestCode>
1265 <commentLineBufferSize>512</commentLineBufferSize>
1266 <reason>Do not use shaded classes from other dependencies</reason>
1268 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1269 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1272 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1273 <includeTestCode>true</includeTestCode>
1274 <commentLineBufferSize>512</commentLineBufferSize>
1275 <reason>Use shaded gson in hbase-thirdparty</reason>
1277 <bannedImport>org.codehaus.jackson.**</bannedImport>
1280 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1281 <includeTestCode>true</includeTestCode>
1282 <commentLineBufferSize>512</commentLineBufferSize>
1283 <reason>Use commons lang 3</reason>
1285 <bannedImport>org.apache.commons.lang.**</bannedImport>
1288 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1289 <includeTestCode>true</includeTestCode>
1290 <commentLineBufferSize>512</commentLineBufferSize>
1291 <reason>Use yetus IA and IS annotations</reason>
1293 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1296 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1297 <includeTestCode>true</includeTestCode>
1298 <commentLineBufferSize>512</commentLineBufferSize>
1299 <reason>Do not use htrace v3</reason>
1301 <bannedImport>org.htrace.**</bannedImport>
1304 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1305 <includeTestCode>true</includeTestCode>
1306 <commentLineBufferSize>512</commentLineBufferSize>
1307 <reason>Use shaded jetty in hbase-thirdparty</reason>
1309 <bannedImport>org.eclipse.jetty.**</bannedImport>
1312 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1313 <includeTestCode>true</includeTestCode>
1314 <commentLineBufferSize>512</commentLineBufferSize>
1315 <reason>Use shaded jersey in hbase-thirdparty</reason>
1317 <bannedImport>org.glassfish.jersey.**</bannedImport>
1325 <!-- parent-module only plugins -->
1327 <groupId>org.codehaus.mojo</groupId>
1328 <artifactId>xml-maven-plugin</artifactId>
1329 <version>${xml.maven.version}</version>
1330 <inherited>false</inherited>
1333 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1335 <goal>transform</goal>
1341 <transformationSets>
1342 <!-- For asciidoc -->
1344 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1345 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1347 <include>hbase-default.xml</include>
1349 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1351 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1352 <pattern>^(.*)\.xml$</pattern>
1353 <replacement>$1.adoc</replacement>
1356 <outputDir>${basedir}/target/asciidoc</outputDir>
1357 </transformationSet>
1358 </transformationSets>
1361 <!-- Special configuration for spotbugs just in the parent so
1362 the filter file location can be more general (see definition in pluginManagement) -->
1364 <groupId>com.github.spotbugs</groupId>
1365 <artifactId>spotbugs-maven-plugin</artifactId>
1368 <inherited>false</inherited>
1370 <goal>spotbugs</goal>
1373 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1379 <groupId>org.apache.maven.plugins</groupId>
1380 <artifactId>maven-checkstyle-plugin</artifactId>
1383 <groupId>org.apache.maven.plugins</groupId>
1384 <artifactId>maven-site-plugin</artifactId>
1387 <!-- add support for ssh/scp -->
1388 <groupId>org.apache.maven.wagon</groupId>
1389 <artifactId>wagon-ssh</artifactId>
1390 <version>${wagon.ssh.version}</version>
1394 <siteDirectory>${basedir}/src/site</siteDirectory>
1395 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1396 <inputEncoding>UTF-8</inputEncoding>
1397 <outputEncoding>UTF-8</outputEncoding>
1400 <!-- For AsciiDoc docs building -->
1402 <groupId>org.asciidoctor</groupId>
1403 <artifactId>asciidoctor-maven-plugin</artifactId>
1404 <version>${asciidoctor.plugin.version}</version>
1405 <inherited>false</inherited>
1408 <groupId>org.asciidoctor</groupId>
1409 <artifactId>asciidoctorj-pdf</artifactId>
1410 <version>${asciidoctorj.pdf.version}</version>
1413 <groupId>org.jruby</groupId>
1414 <artifactId>jruby-complete</artifactId>
1415 <version>${jruby.version}</version>
1419 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1420 <doctype>book</doctype>
1421 <imagesDir>images</imagesDir>
1422 <sourceHighlighter>coderay</sourceHighlighter>
1424 <docVersion>${project.version}</docVersion>
1429 <id>output-html</id>
1432 <goal>process-asciidoc</goal>
1436 <stylesheet>hbase.css</stylesheet>
1438 <backend>html5</backend>
1445 <goal>process-asciidoc</goal>
1448 <backend>pdf</backend>
1453 <idseparator>-</idseparator>
1460 <groupId>org.apache.maven.plugins</groupId>
1461 <artifactId>maven-resources-plugin</artifactId>
1462 <!--$NO-MVN-MAN-VER$ -->
1463 <inherited>false</inherited>
1466 <id>copy-htaccess</id>
1468 <goal>copy-resources</goal>
1472 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1475 <directory>${basedir}/src/site/resources/</directory>
1477 <include>.htaccess</include>
1483 <!-- needed to make the redirect above work -->
1485 <id>copy-empty-book-dir</id>
1487 <goal>copy-resources</goal>
1491 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1494 <directory>${basedir}/src/site/resources/</directory>
1496 <include>book/**</include>
1504 <escapeString>\</escapeString>
1508 <groupId>org.apache.maven.plugins</groupId>
1509 <artifactId>maven-antrun-plugin</artifactId>
1510 <version>${maven.antrun.version}</version>
1511 <inherited>false</inherited>
1512 <!-- Rename the book.pdf generated by asciidoctor -->
1518 <target name="rename file">
1519 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1529 <groupId>org.codehaus.mojo</groupId>
1530 <artifactId>buildnumber-maven-plugin</artifactId>
1533 <phase>validate</phase>
1535 <goal>create-timestamp</goal>
1540 <timestampFormat>yyyy</timestampFormat>
1541 <timestampPropertyName>build.year</timestampPropertyName>
1545 <groupId>org.apache.felix</groupId>
1546 <artifactId>maven-bundle-plugin</artifactId>
1547 <version>${maven.bundle.version}</version>
1548 <inherited>true</inherited>
1549 <extensions>true</extensions>
1554 <!-- override on command line to have generated LICENSE files include
1555 diagnostic info for verifying notice requirements -->
1556 <license.debug.print.included>false</license.debug.print.included>
1557 <!-- When a particular module bundles its depenendencies, should be true -->
1558 <license.bundles.dependencies>false</license.bundles.dependencies>
1559 <!-- modules that include a the logo in their source tree should set true -->
1560 <license.bundles.logo>false</license.bundles.logo>
1561 <!-- modules that include bootstrap in their source tree should set true -->
1562 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1563 <!-- modules that include jquery in their source tree should set true -->
1564 <license.bundles.jquery>false</license.bundles.jquery>
1565 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1566 <maven.build.timestamp.format>
1568 </maven.build.timestamp.format>
1569 <buildDate>${maven.build.timestamp}</buildDate>
1570 <compileSource>1.8</compileSource>
1571 <!-- Build dependencies -->
1572 <maven.min.version>3.0.4</maven.min.version>
1573 <java.min.version>${compileSource}</java.min.version>
1574 <!-- Dependencies -->
1575 <hadoop-three.version>3.1.2</hadoop-three.version>
1576 <!-- These must be defined here for downstream build tools that don't look at profiles.
1578 <hadoop.version>${hadoop-three.version}</hadoop.version>
1579 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
1580 <!--This property is for hadoops netty. HBase netty
1581 comes in via hbase-thirdparty hbase-shaded-netty-->
1582 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
1583 <!-- end HBASE-15925 default hadoop compatibility values -->
1584 <audience-annotations.version>0.5.0</audience-annotations.version>
1585 <avro.version>1.7.7</avro.version>
1586 <caffeine.version>2.8.1</caffeine.version>
1587 <commons-codec.version>1.13</commons-codec.version>
1588 <commons-validator.version>1.6</commons-validator.version>
1589 <!-- pretty outdated -->
1590 <commons-io.version>2.6</commons-io.version>
1591 <commons-lang3.version>3.9</commons-lang3.version>
1592 <commons-math.version>3.6.1</commons-math.version>
1593 <disruptor.version>3.4.2</disruptor.version>
1594 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1595 especially when writing out 'no column families'. Later httpclients collapse the '//'
1596 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1597 TestRemoteTable. -->
1598 <httpclient.version>4.5.3</httpclient.version>
1599 <httpcore.version>4.4.13</httpcore.version>
1600 <metrics-core.version>3.2.6</metrics-core.version>
1601 <jackson.version>2.10.1</jackson.version>
1602 <jackson.databind.version>2.10.1</jackson.databind.version>
1603 <jaxb-api.version>2.3.1</jaxb-api.version>
1604 <servlet.api.version>3.1.0</servlet.api.version>
1605 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1606 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1607 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1608 <jruby.version>9.1.17.0</jruby.version>
1609 <junit.version>4.13</junit.version>
1610 <hamcrest.version>1.3</hamcrest.version>
1611 <htrace.version>4.2.0-incubating</htrace.version>
1612 <log4j.version>1.2.17</log4j.version>
1613 <mockito-core.version>2.28.2</mockito-core.version>
1614 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1615 <thrift.path>thrift</thrift.path>
1616 <thrift.version>0.13.0</thrift.version>
1617 <zookeeper.version>3.5.7</zookeeper.version>
1618 <jline.version>2.11</jline.version>
1619 <slf4j.version>1.7.30</slf4j.version>
1620 <clover.version>4.0.3</clover.version>
1621 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1622 <jettison.version>1.3.8</jettison.version>
1623 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1624 <joni.version>2.1.11</joni.version>
1625 <jcodings.version>1.0.18</jcodings.version>
1626 <spy.version>2.12.2</spy.version>
1627 <bouncycastle.version>1.60</bouncycastle.version>
1628 <kerby.version>1.0.1</kerby.version>
1629 <commons-crypto.version>1.0.0</commons-crypto.version>
1630 <curator.version>4.2.0</curator.version>
1631 <!-- Plugin Dependencies -->
1632 <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1633 <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1634 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1635 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1637 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1639 <checkstyle.version>8.28</checkstyle.version>
1640 <exec.maven.version>1.6.0</exec.maven.version>
1641 <error-prone.version>2.3.4</error-prone.version>
1642 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1643 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1644 <maven.antrun.version>1.8</maven.antrun.version>
1645 <maven.bundle.version>3.3.0</maven.bundle.version>
1646 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1647 <maven.eclipse.version>2.10</maven.eclipse.version>
1648 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1649 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1650 <maven.project.info.report.version>2.9</maven.project.info.report.version>
1651 <os.maven.version>1.5.0.Final</os.maven.version>
1652 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1653 <spotbugs.version>3.1.12</spotbugs.version>
1654 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1655 <surefire.version>3.0.0-M4</surefire.version>
1656 <wagon.ssh.version>2.12</wagon.ssh.version>
1657 <xml.maven.version>1.0.1</xml.maven.version>
1658 <hbase-thirdparty.version>3.4.0</hbase-thirdparty.version>
1659 <!-- Intraproject jar naming properties -->
1660 <!-- TODO this is pretty ugly, but works for the moment.
1661 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1662 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1663 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1664 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1665 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1666 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1667 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1668 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1669 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1670 <shell-executable>bash</shell-executable>
1671 <surefire.provider>surefire-junit47</surefire.provider>
1672 <!-- default: run small & medium, medium with 2 threads -->
1673 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1674 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1675 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1676 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1677 value is you want to burn through tests faster (could make for more failures
1678 if more contention around resources). There is a matching MAVEN_ARG
1679 in our yetus personality where we set the maven -T command to 0.25C too.
1680 For example, to run at a rate that is more furious than our 0.25C, do
1681 something like this:
1682 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1684 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1685 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1686 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1687 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1688 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1689 <test.output.tofile>true</test.output.tofile>
1690 <surefire.timeout>900</surefire.timeout>
1691 <test.exclude.pattern></test.exclude.pattern>
1693 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1694 This value is managed separately for jdk11. See below.
1696 <surefire.Xmx>2200m</surefire.Xmx>
1697 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1698 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1700 And for netty eventloops that have no explicit configuration, netty sets
1701 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1704 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1705 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1706 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1707 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1708 -Dio.netty.eventLoopThreads=3
1709 </hbase-surefire.argLine>
1710 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1711 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1712 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1713 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1714 </hbase-surefire.cygwin-argLine>
1715 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1716 <argLine>${hbase-surefire.argLine}</argLine>
1717 <jacoco.version>0.7.5.201505241946</jacoco.version>
1718 <extra.enforcer.version>1.3</extra.enforcer.version>
1719 <enforcer.version>3.0.0-M3</enforcer.version>
1720 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1721 <!-- Location of test resources -->
1722 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1723 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1724 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1725 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1726 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1727 <build.id>${maven.build.timestamp}</build.id>
1728 <shell-executable>bash</shell-executable>
1729 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1730 property as of javadoc-plugin 3.0.0 -->
1731 <doclint>none</doclint>
1733 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1734 <dependencyManagement>
1737 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1738 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1739 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1740 implementation of the same, because Hadoop also uses this version
1741 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1742 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1744 <!-- Intra-module dependencies -->
1746 <groupId>org.apache.hbase</groupId>
1747 <artifactId>hbase-annotations</artifactId>
1748 <version>${project.version}</version>
1749 <type>test-jar</type>
1750 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1753 <artifactId>hbase-backup</artifactId>
1754 <groupId>org.apache.hbase</groupId>
1755 <version>${project.version}</version>
1758 <groupId>org.apache.hbase</groupId>
1759 <artifactId>hbase-common</artifactId>
1760 <version>${project.version}</version>
1763 <groupId>org.apache.hbase</groupId>
1764 <artifactId>hbase-common</artifactId>
1765 <version>${project.version}</version>
1766 <type>test-jar</type>
1770 <groupId>org.apache.hbase</groupId>
1771 <artifactId>hbase-logging</artifactId>
1772 <version>${project.version}</version>
1775 <groupId>org.apache.hbase</groupId>
1776 <artifactId>hbase-logging</artifactId>
1777 <version>${project.version}</version>
1778 <type>test-jar</type>
1782 <groupId>org.apache.hbase</groupId>
1783 <artifactId>hbase-protocol-shaded</artifactId>
1784 <version>${project.version}</version>
1787 <groupId>org.apache.hbase</groupId>
1788 <artifactId>hbase-procedure</artifactId>
1789 <version>${project.version}</version>
1792 <groupId>org.apache.hbase</groupId>
1793 <artifactId>hbase-procedure</artifactId>
1794 <version>${project.version}</version>
1795 <type>test-jar</type>
1798 <groupId>org.apache.hbase</groupId>
1799 <artifactId>hbase-hadoop-compat</artifactId>
1800 <version>${project.version}</version>
1803 <groupId>org.apache.hbase</groupId>
1804 <artifactId>hbase-hadoop-compat</artifactId>
1805 <version>${project.version}</version>
1806 <type>test-jar</type>
1810 <artifactId>hbase-replication</artifactId>
1811 <groupId>org.apache.hbase</groupId>
1812 <version>${project.version}</version>
1815 <artifactId>hbase-balancer</artifactId>
1816 <groupId>org.apache.hbase</groupId>
1817 <version>${project.version}</version>
1820 <artifactId>hbase-http</artifactId>
1821 <groupId>org.apache.hbase</groupId>
1822 <version>${project.version}</version>
1825 <artifactId>hbase-http</artifactId>
1826 <groupId>org.apache.hbase</groupId>
1827 <version>${project.version}</version>
1828 <type>test-jar</type>
1832 <artifactId>hbase-server</artifactId>
1833 <groupId>org.apache.hbase</groupId>
1834 <version>${project.version}</version>
1837 <artifactId>hbase-server</artifactId>
1838 <groupId>org.apache.hbase</groupId>
1839 <version>${project.version}</version>
1840 <type>test-jar</type>
1844 <artifactId>hbase-mapreduce</artifactId>
1845 <groupId>org.apache.hbase</groupId>
1846 <version>${project.version}</version>
1849 <artifactId>hbase-mapreduce</artifactId>
1850 <groupId>org.apache.hbase</groupId>
1851 <version>${project.version}</version>
1852 <type>test-jar</type>
1856 <artifactId>hbase-endpoint</artifactId>
1857 <groupId>org.apache.hbase</groupId>
1858 <version>${project.version}</version>
1861 <artifactId>hbase-shell</artifactId>
1862 <groupId>org.apache.hbase</groupId>
1863 <version>${project.version}</version>
1866 <artifactId>hbase-shell</artifactId>
1867 <groupId>org.apache.hbase</groupId>
1868 <version>${project.version}</version>
1869 <type>test-jar</type>
1873 <artifactId>hbase-thrift</artifactId>
1874 <groupId>org.apache.hbase</groupId>
1875 <version>${project.version}</version>
1878 <artifactId>hbase-thrift</artifactId>
1879 <groupId>org.apache.hbase</groupId>
1880 <version>${project.version}</version>
1881 <type>test-jar</type>
1885 <groupId>org.apache.hbase</groupId>
1886 <artifactId>hbase-testing-util</artifactId>
1887 <version>${project.version}</version>
1891 <artifactId>hbase-examples</artifactId>
1892 <groupId>org.apache.hbase</groupId>
1893 <version>${project.version}</version>
1896 <groupId>org.apache.hbase</groupId>
1897 <artifactId>hbase-external-blockcache</artifactId>
1898 <version>${project.version}</version>
1901 <artifactId>hbase-it</artifactId>
1902 <groupId>org.apache.hbase</groupId>
1903 <version>${project.version}</version>
1904 <type>test-jar</type>
1908 <artifactId>hbase-client</artifactId>
1909 <groupId>org.apache.hbase</groupId>
1910 <version>${project.version}</version>
1913 <artifactId>hbase-metrics-api</artifactId>
1914 <groupId>org.apache.hbase</groupId>
1915 <version>${project.version}</version>
1918 <artifactId>hbase-metrics-api</artifactId>
1919 <groupId>org.apache.hbase</groupId>
1920 <version>${project.version}</version>
1921 <type>test-jar</type>
1925 <artifactId>hbase-metrics</artifactId>
1926 <groupId>org.apache.hbase</groupId>
1927 <version>${project.version}</version>
1930 <artifactId>hbase-metrics</artifactId>
1931 <groupId>org.apache.hbase</groupId>
1932 <version>${project.version}</version>
1933 <type>test-jar</type>
1937 <artifactId>hbase-rest</artifactId>
1938 <groupId>org.apache.hbase</groupId>
1939 <version>${project.version}</version>
1942 <artifactId>hbase-resource-bundle</artifactId>
1943 <groupId>org.apache.hbase</groupId>
1944 <version>${project.version}</version>
1947 <artifactId>hbase-zookeeper</artifactId>
1948 <groupId>org.apache.hbase</groupId>
1949 <version>${project.version}</version>
1952 <groupId>com.google.code.findbugs</groupId>
1953 <artifactId>jsr305</artifactId>
1956 <groupId>com.github.spotbugs</groupId>
1957 <artifactId>spotbugs-annotations</artifactId>
1962 <artifactId>hbase-zookeeper</artifactId>
1963 <groupId>org.apache.hbase</groupId>
1964 <version>${project.version}</version>
1965 <type>test-jar</type>
1969 <artifactId>hbase-hbtop</artifactId>
1970 <groupId>org.apache.hbase</groupId>
1971 <version>${project.version}</version>
1974 <groupId>org.apache.hbase</groupId>
1975 <artifactId>hbase-shaded-client</artifactId>
1976 <version>${project.version}</version>
1979 <groupId>org.apache.hbase</groupId>
1980 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1981 <version>${project.version}</version>
1984 <groupId>org.apache.hbase</groupId>
1985 <artifactId>hbase-shaded-mapreduce</artifactId>
1986 <version>${project.version}</version>
1989 <groupId>org.apache.hbase</groupId>
1990 <artifactId>hbase-asyncfs</artifactId>
1991 <version>${project.version}</version>
1994 <groupId>org.apache.hbase</groupId>
1995 <artifactId>hbase-asyncfs</artifactId>
1996 <version>${project.version}</version>
1997 <type>test-jar</type>
2000 <!-- General dependencies -->
2002 <groupId>com.github.stephenc.findbugs</groupId>
2003 <artifactId>findbugs-annotations</artifactId>
2004 <version>${findbugs-annotations.version}</version>
2007 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
2008 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
2009 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
2010 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
2011 scope as it will mess up the logging framework for downstream users.
2012 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
2013 on use these logging framework so we need to redirect their log message to slf4j, and then
2014 redirect the log message to our log4j framework.
2017 <groupId>org.codehaus.jettison</groupId>
2018 <artifactId>jettison</artifactId>
2019 <version>${jettison.version}</version>
2022 <groupId>org.slf4j</groupId>
2023 <artifactId>slf4j-api</artifactId>
2024 <version>${slf4j.version}</version>
2027 <groupId>org.slf4j</groupId>
2028 <artifactId>slf4j-log4j12</artifactId>
2029 <version>${slf4j.version}</version>
2032 <groupId>org.slf4j</groupId>
2033 <artifactId>jcl-over-slf4j</artifactId>
2034 <version>${slf4j.version}</version>
2037 <groupId>org.slf4j</groupId>
2038 <artifactId>jul-to-slf4j</artifactId>
2039 <version>${slf4j.version}</version>
2042 <groupId>log4j</groupId>
2043 <artifactId>log4j</artifactId>
2044 <version>${log4j.version}</version>
2046 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
2048 <groupId>org.apache.avro</groupId>
2049 <artifactId>avro</artifactId>
2050 <version>${avro.version}</version>
2052 <!--This is not used by hbase directly. Used by thrift,
2053 dropwizard and zk.-->
2055 <groupId>com.github.ben-manes.caffeine</groupId>
2056 <artifactId>caffeine</artifactId>
2057 <version>${caffeine.version}</version>
2060 <groupId>io.dropwizard.metrics</groupId>
2061 <artifactId>metrics-core</artifactId>
2062 <version>${metrics-core.version}</version>
2065 <groupId>org.apache.httpcomponents</groupId>
2066 <artifactId>httpclient</artifactId>
2067 <version>${httpclient.version}</version>
2070 <groupId>org.apache.httpcomponents</groupId>
2071 <artifactId>httpcore</artifactId>
2072 <version>${httpcore.version}</version>
2075 <groupId>commons-codec</groupId>
2076 <artifactId>commons-codec</artifactId>
2077 <version>${commons-codec.version}</version>
2080 <groupId>commons-validator</groupId>
2081 <artifactId>commons-validator</artifactId>
2082 <version>${commons-validator.version}</version>
2085 <groupId>commons-io</groupId>
2086 <artifactId>commons-io</artifactId>
2087 <version>${commons-io.version}</version>
2090 <groupId>org.apache.commons</groupId>
2091 <artifactId>commons-lang3</artifactId>
2092 <version>${commons-lang3.version}</version>
2095 <groupId>org.apache.commons</groupId>
2096 <artifactId>commons-math3</artifactId>
2097 <version>${commons-math.version}</version>
2100 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2103 <groupId>commons-logging</groupId>
2104 <artifactId>commons-logging</artifactId>
2105 <version>1.2</version>
2108 <groupId>org.apache.zookeeper</groupId>
2109 <artifactId>zookeeper</artifactId>
2110 <version>${zookeeper.version}</version>
2113 <groupId>com.google.code.findbugs</groupId>
2114 <artifactId>jsr305</artifactId>
2117 <groupId>com.github.spotbugs</groupId>
2118 <artifactId>spotbugs-annotations</artifactId>
2121 <groupId>jline</groupId>
2122 <artifactId>jline</artifactId>
2125 <groupId>com.sun.jmx</groupId>
2126 <artifactId>jmxri</artifactId>
2129 <groupId>com.sun.jdmk</groupId>
2130 <artifactId>jmxtools</artifactId>
2133 <groupId>javax.jms</groupId>
2134 <artifactId>jms</artifactId>
2137 <groupId>io.netty</groupId>
2138 <artifactId>netty</artifactId>
2141 <groupId>org.slf4j</groupId>
2142 <artifactId>slf4j-log4j12</artifactId>
2145 <groupId>log4j</groupId>
2146 <artifactId>log4j</artifactId>
2151 <groupId>jline</groupId>
2152 <artifactId>jline</artifactId>
2153 <version>${jline.version}</version>
2156 <groupId>org.apache.thrift</groupId>
2157 <artifactId>libthrift</artifactId>
2158 <version>${thrift.version}</version>
2161 <groupId>org.slf4j</groupId>
2162 <artifactId>slf4j-simple</artifactId>
2167 <groupId>org.jruby</groupId>
2168 <artifactId>jruby-complete</artifactId>
2169 <version>${jruby.version}</version>
2172 <groupId>org.jruby.jcodings</groupId>
2173 <artifactId>jcodings</artifactId>
2174 <version>${jcodings.version}</version>
2177 <groupId>org.jruby.joni</groupId>
2178 <artifactId>joni</artifactId>
2179 <version>${joni.version}</version>
2182 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2183 <artifactId>jackson-jaxrs-json-provider</artifactId>
2184 <version>${jackson.version}</version>
2187 <groupId>com.fasterxml.jackson.core</groupId>
2188 <artifactId>jackson-annotations</artifactId>
2189 <version>${jackson.version}</version>
2192 <groupId>com.fasterxml.jackson.core</groupId>
2193 <artifactId>jackson-core</artifactId>
2194 <version>${jackson.version}</version>
2197 <groupId>com.fasterxml.jackson.core</groupId>
2198 <artifactId>jackson-databind</artifactId>
2199 <version>${jackson.databind.version}</version>
2202 <groupId>org.jamon</groupId>
2203 <artifactId>jamon-runtime</artifactId>
2204 <version>${jamon-runtime.version}</version>
2206 <!-- REST dependencies -->
2208 <groupId>javax.servlet</groupId>
2209 <artifactId>javax.servlet-api</artifactId>
2210 <version>${servlet.api.version}</version>
2213 <groupId>javax.ws.rs</groupId>
2214 <artifactId>javax.ws.rs-api</artifactId>
2215 <version>${wx.rs.api.version}</version>
2218 <groupId>com.sun.activation</groupId>
2219 <artifactId>javax.activation</artifactId>
2220 <version>1.2.0</version>
2223 <groupId>javax.annotation</groupId>
2224 <artifactId>javax.annotation-api</artifactId>
2225 <version>1.2</version>
2228 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2229 <groupId>org.glassfish.web</groupId>
2230 <artifactId>javax.servlet.jsp</artifactId>
2231 <version>${glassfish.jsp.version}</version>
2234 <!-- this lib is used by the compiled Jsp from the above JspC -->
2235 <groupId>javax.servlet.jsp</groupId>
2236 <artifactId>javax.servlet.jsp-api</artifactId>
2237 <version>2.3.1</version>
2240 <groupId>org.glassfish</groupId>
2241 <artifactId>javax.el</artifactId>
2242 <version>${glassfish.el.version}</version>
2245 <groupId>javax.xml.bind</groupId>
2246 <artifactId>jaxb-api</artifactId>
2247 <version>${jaxb-api.version}</version>
2250 <groupId>javax.xml.stream</groupId>
2251 <artifactId>stax-api</artifactId>
2256 <groupId>junit</groupId>
2257 <artifactId>junit</artifactId>
2258 <version>${junit.version}</version>
2261 <groupId>org.hamcrest</groupId>
2262 <artifactId>hamcrest-core</artifactId>
2263 <version>${hamcrest.version}</version>
2267 <groupId>org.hamcrest</groupId>
2268 <artifactId>hamcrest-library</artifactId>
2269 <version>${hamcrest.version}</version>
2273 <groupId>org.mockito</groupId>
2274 <artifactId>mockito-core</artifactId>
2275 <version>${mockito-core.version}</version>
2279 <groupId>org.apache.htrace</groupId>
2280 <artifactId>htrace-core4</artifactId>
2281 <version>${htrace.version}</version>
2284 <groupId>com.lmax</groupId>
2285 <artifactId>disruptor</artifactId>
2286 <version>${disruptor.version}</version>
2289 <groupId>net.spy</groupId>
2290 <artifactId>spymemcached</artifactId>
2291 <version>${spy.version}</version>
2292 <optional>true</optional>
2295 <groupId>org.bouncycastle</groupId>
2296 <artifactId>bcprov-jdk15on</artifactId>
2297 <version>${bouncycastle.version}</version>
2301 <groupId>org.apache.kerby</groupId>
2302 <artifactId>kerb-core</artifactId>
2303 <version>${kerby.version}</version>
2306 <groupId>org.apache.kerby</groupId>
2307 <artifactId>kerb-client</artifactId>
2308 <version>${kerby.version}</version>
2311 <groupId>org.apache.kerby</groupId>
2312 <artifactId>kerb-simplekdc</artifactId>
2313 <version>${kerby.version}</version>
2316 <groupId>org.apache.commons</groupId>
2317 <artifactId>commons-crypto</artifactId>
2318 <version>${commons-crypto.version}</version>
2321 <groupId>net.java.dev.jna</groupId>
2322 <artifactId>jna</artifactId>
2327 <groupId>org.apache.curator</groupId>
2328 <artifactId>curator-framework</artifactId>
2329 <version>${curator.version}</version>
2332 <groupId>org.apache.zookeeper</groupId>
2333 <artifactId>zookeeper</artifactId>
2338 <groupId>org.apache.curator</groupId>
2339 <artifactId>curator-client</artifactId>
2340 <version>${curator.version}</version>
2343 <groupId>com.google.guava</groupId>
2344 <artifactId>guava</artifactId>
2347 <groupId>org.apache.zookeeper</groupId>
2348 <artifactId>zookeeper</artifactId>
2353 <groupId>org.apache.curator</groupId>
2354 <artifactId>curator-recipes</artifactId>
2355 <version>${curator.version}</version>
2358 <groupId>com.google.guava</groupId>
2359 <artifactId>guava</artifactId>
2362 <groupId>org.apache.zookeeper</groupId>
2363 <artifactId>zookeeper</artifactId>
2368 <groupId>org.apache.yetus</groupId>
2369 <artifactId>audience-annotations</artifactId>
2370 <version>${audience-annotations.version}</version>
2373 <groupId>org.apache.hbase.thirdparty</groupId>
2374 <artifactId>hbase-shaded-gson</artifactId>
2375 <version>${hbase-thirdparty.version}</version>
2378 <groupId>org.apache.hbase.thirdparty</groupId>
2379 <artifactId>hbase-shaded-miscellaneous</artifactId>
2380 <version>${hbase-thirdparty.version}</version>
2383 <groupId>org.apache.hbase.thirdparty</groupId>
2384 <artifactId>hbase-shaded-netty</artifactId>
2385 <version>${hbase-thirdparty.version}</version>
2388 <groupId>org.apache.hbase.thirdparty</groupId>
2389 <artifactId>hbase-shaded-protobuf</artifactId>
2390 <version>${hbase-thirdparty.version}</version>
2393 <groupId>org.apache.hbase.thirdparty</groupId>
2394 <artifactId>hbase-shaded-jetty</artifactId>
2395 <version>${hbase-thirdparty.version}</version>
2398 <groupId>org.apache.hbase.thirdparty</groupId>
2399 <artifactId>hbase-shaded-jersey</artifactId>
2400 <version>${hbase-thirdparty.version}</version>
2403 <groupId>com.sun.xml.ws</groupId>
2404 <artifactId>jaxws-ri</artifactId>
2405 <version>2.3.2</version>
2409 <groupId>javax.activation</groupId>
2410 <artifactId>javax.activation-api</artifactId>
2415 </dependencyManagement>
2417 <!--REMOVE THIS. HERE TEMPORARILY.
2418 Implication is that every module needs junit which is not so.
2419 Cannot undo though because build runs test on each module and
2420 it fails if no junit. TODO. -->
2422 <groupId>junit</groupId>
2423 <artifactId>junit</artifactId>
2429 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2434 <id>apache.releases.https</id>
2435 <username>hbase_committer</username>
2436 <password>********</password>
2440 <id>apache.snapshots.https</id>
2441 <username>hbase_committer</username>
2442 <password>********</password>
2450 $ mvn -s /my/path/settings.xml deploy
2455 <id>build-with-jdk8</id>
2467 <id>build-with-jdk11</id>
2472 <!-- TODO: replicate logic for windows support -->
2473 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2474 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2475 <hadoop-three.version>3.2.0</hadoop-three.version>
2477 Value to use for surefire when running jdk11.
2478 TODO: replicate logic for windows
2480 <surefire.Xmx>2200m</surefire.Xmx>
2483 <!-- profile activated by the Jenkins patch testing job -->
2485 <id>jenkins.patch</id>
2487 <activeByDefault>false</activeByDefault>
2489 <name>HBasePatchProcess</name>
2493 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2498 <groupId>org.apache.maven.plugins</groupId>
2499 <artifactId>maven-antrun-plugin</artifactId>
2500 <inherited>false</inherited>
2503 <phase>validate</phase>
2509 <echo>Maven Execution Environment</echo>
2510 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2522 <activeByDefault>false</activeByDefault>
2527 <groupId>org.jacoco</groupId>
2528 <artifactId>jacoco-maven-plugin</artifactId>
2529 <version>${jacoco.version}</version>
2532 <id>prepare-agent</id>
2534 <goal>prepare-agent</goal>
2539 <phase>prepare-package</phase>
2546 <systemPropertyVariables>
2547 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2548 </systemPropertyVariables>
2550 <exclude>**/generated/**/*.class</exclude>
2560 <activeByDefault>false</activeByDefault>
2562 <family>Linux</family>
2566 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2573 <family>Mac</family>
2577 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2584 <family>Windows</family>
2588 <build.platform>cygwin</build.platform>
2589 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2592 <!-- this profile should match the name of the release profile in the root asf pom -->
2594 <id>apache-release</id>
2597 <!-- This should insert itself in place of the normal deploy plugin and then
2598 handle either closing or dropping the staging repository for us depending
2599 on if the build succeeds.
2602 <groupId>org.sonatype.plugins</groupId>
2603 <artifactId>nexus-staging-maven-plugin</artifactId>
2604 <version>1.6.8</version>
2605 <extensions>true</extensions>
2607 <nexusUrl>https://repository.apache.org/</nexusUrl>
2608 <serverId>apache.releases.https</serverId>
2614 <!-- this profile should be activated for release builds -->
2620 <groupId>org.apache.rat</groupId>
2621 <artifactId>apache-rat-plugin</artifactId>
2624 <phase>package</phase>
2632 <groupId>org.apache.maven.plugins</groupId>
2633 <artifactId>maven-enforcer-plugin</artifactId>
2634 <version>${enforcer.version}</version>
2637 <groupId>org.codehaus.mojo</groupId>
2638 <artifactId>extra-enforcer-rules</artifactId>
2639 <version>${extra.enforcer.version}</version>
2644 <enforceBytecodeVersion>
2645 <maxJdkVersion>${compileSource}</maxJdkVersion>
2646 <message>HBase has unsupported dependencies.
2647 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2648 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2649 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2650 Non-release builds can temporarily build with a newer JDK version by setting the
2651 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2654 <ignoreClass>module-info</ignoreClass>
2656 </enforceBytecodeVersion>
2663 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2664 <!-- Submodules that need hadoop dependencies should declare
2665 profiles with activation properties matching the profile here.
2666 Generally, it should be sufficient to copy the first
2667 few lines of the profile you want to match. -->
2668 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2672 <property><name>!hadoop.profile</name></property>
2675 <hadoop.version>${hadoop-three.version}</hadoop.version>
2676 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2678 <dependencyManagement>
2681 <groupId>org.apache.hadoop</groupId>
2682 <artifactId>hadoop-mapreduce-client-core</artifactId>
2683 <version>${hadoop-three.version}</version>
2686 <groupId>com.sun.jersey</groupId>
2687 <artifactId>jersey-core</artifactId>
2690 <groupId>org.codehaus.jackson</groupId>
2691 <artifactId>jackson-jaxrs</artifactId>
2694 <groupId>org.codehaus.jackson</groupId>
2695 <artifactId>jackson-xc</artifactId>
2698 <groupId>io.netty</groupId>
2699 <artifactId>netty</artifactId>
2702 <groupId>javax.servlet</groupId>
2703 <artifactId>servlet-api</artifactId>
2706 <groupId>javax.inject</groupId>
2707 <artifactId>javax.inject</artifactId>
2710 <groupId>org.codehaus.jackson</groupId>
2711 <artifactId>jackson-core-asl</artifactId>
2714 <groupId>org.codehaus.jackson</groupId>
2715 <artifactId>jackson-mapper-asl</artifactId>
2718 <groupId>com.google.guava</groupId>
2719 <artifactId>guava</artifactId>
2722 <groupId>org.slf4j</groupId>
2723 <artifactId>slf4j-log4j12</artifactId>
2726 <groupId>log4j</groupId>
2727 <artifactId>log4j</artifactId>
2732 <groupId>org.apache.hadoop</groupId>
2733 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2734 <version>${hadoop-three.version}</version>
2737 <groupId>com.sun.jersey</groupId>
2738 <artifactId>jersey-core</artifactId>
2741 <groupId>io.netty</groupId>
2742 <artifactId>netty</artifactId>
2745 <groupId>javax.servlet</groupId>
2746 <artifactId>servlet-api</artifactId>
2749 <groupId>org.slf4j</groupId>
2750 <artifactId>slf4j-log4j12</artifactId>
2753 <groupId>log4j</groupId>
2754 <artifactId>log4j</artifactId>
2759 <groupId>org.apache.hadoop</groupId>
2760 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2761 <version>${hadoop-three.version}</version>
2762 <type>test-jar</type>
2766 <groupId>com.sun.jersey</groupId>
2767 <artifactId>jersey-core</artifactId>
2770 <groupId>io.netty</groupId>
2771 <artifactId>netty</artifactId>
2774 <groupId>javax.servlet</groupId>
2775 <artifactId>servlet-api</artifactId>
2778 <groupId>org.slf4j</groupId>
2779 <artifactId>slf4j-log4j12</artifactId>
2782 <groupId>log4j</groupId>
2783 <artifactId>log4j</artifactId>
2788 <groupId>org.apache.hadoop</groupId>
2789 <artifactId>hadoop-hdfs</artifactId>
2790 <version>${hadoop-three.version}</version>
2793 <groupId>com.sun.jersey</groupId>
2794 <artifactId>jersey-core</artifactId>
2797 <groupId>com.sun.jersey</groupId>
2798 <artifactId>jersey-server</artifactId>
2801 <groupId>javax.servlet.jsp</groupId>
2802 <artifactId>jsp-api</artifactId>
2805 <groupId>javax.servlet</groupId>
2806 <artifactId>servlet-api</artifactId>
2809 <groupId>stax</groupId>
2810 <artifactId>stax-api</artifactId>
2813 <groupId>xerces</groupId>
2814 <artifactId>xercesImpl</artifactId>
2817 <groupId>org.codehaus.jackson</groupId>
2818 <artifactId>jackson-core-asl</artifactId>
2821 <groupId>org.codehaus.jackson</groupId>
2822 <artifactId>jackson-mapper-asl</artifactId>
2825 <groupId>com.google.guava</groupId>
2826 <artifactId>guava</artifactId>
2829 <groupId>org.slf4j</groupId>
2830 <artifactId>slf4j-log4j12</artifactId>
2833 <groupId>log4j</groupId>
2834 <artifactId>log4j</artifactId>
2839 <groupId>org.apache.hadoop</groupId>
2840 <artifactId>hadoop-hdfs</artifactId>
2841 <version>${hadoop-three.version}</version>
2842 <type>test-jar</type>
2846 <groupId>javax.servlet.jsp</groupId>
2847 <artifactId>jsp-api</artifactId>
2850 <groupId>javax.servlet</groupId>
2851 <artifactId>servlet-api</artifactId>
2854 <groupId>stax</groupId>
2855 <artifactId>stax-api</artifactId>
2858 <groupId>xerces</groupId>
2859 <artifactId>xercesImpl</artifactId>
2862 <groupId>org.codehaus.jackson</groupId>
2863 <artifactId>jackson-core-asl</artifactId>
2866 <groupId>org.codehaus.jackson</groupId>
2867 <artifactId>jackson-mapper-asl</artifactId>
2870 <groupId>com.google.guava</groupId>
2871 <artifactId>guava</artifactId>
2874 <groupId>com.sun.jersey</groupId>
2875 <artifactId>jersey-core</artifactId>
2878 <groupId>org.slf4j</groupId>
2879 <artifactId>slf4j-log4j12</artifactId>
2882 <groupId>log4j</groupId>
2883 <artifactId>log4j</artifactId>
2888 <groupId>org.apache.hadoop</groupId>
2889 <artifactId>hadoop-hdfs</artifactId>
2890 <version>${hadoop-three.version}</version>
2891 <type>test-jar</type>
2892 <classifier>tests</classifier>
2896 <groupId>com.sun.jersey</groupId>
2897 <artifactId>jersey-core</artifactId>
2902 <groupId>org.apache.hadoop</groupId>
2903 <artifactId>hadoop-auth</artifactId>
2904 <version>${hadoop-three.version}</version>
2907 <groupId>com.google.guava</groupId>
2908 <artifactId>guava</artifactId>
2911 <groupId>net.minidev</groupId>
2912 <artifactId>json-smart</artifactId>
2915 <groupId>org.slf4j</groupId>
2916 <artifactId>slf4j-log4j12</artifactId>
2919 <groupId>log4j</groupId>
2920 <artifactId>log4j</artifactId>
2925 <groupId>org.apache.hadoop</groupId>
2926 <artifactId>hadoop-common</artifactId>
2927 <version>${hadoop-three.version}</version>
2930 <groupId>com.sun.jersey</groupId>
2931 <artifactId>jersey-core</artifactId>
2934 <groupId>com.sun.jersey</groupId>
2935 <artifactId>jersey-json</artifactId>
2938 <groupId>com.sun.jersey</groupId>
2939 <artifactId>jersey-servlet</artifactId>
2942 <groupId>com.sun.jersey</groupId>
2943 <artifactId>jersey-server</artifactId>
2946 <groupId>javax.servlet.jsp</groupId>
2947 <artifactId>jsp-api</artifactId>
2950 <groupId>javax.servlet</groupId>
2951 <artifactId>javax.servlet-api</artifactId>
2954 <groupId>stax</groupId>
2955 <artifactId>stax-api</artifactId>
2958 <groupId>io.netty</groupId>
2959 <artifactId>netty</artifactId>
2962 <groupId>com.google.code.findbugs</groupId>
2963 <artifactId>jsr305</artifactId>
2966 <groupId>junit</groupId>
2967 <artifactId>junit</artifactId>
2970 <groupId>org.codehause.jackson</groupId>
2971 <artifactId>jackson-core-asl</artifactId>
2974 <groupId>org.codehause.jackson</groupId>
2975 <artifactId>jackson-mapper-asl</artifactId>
2978 <groupId>org.slf4j</groupId>
2979 <artifactId>slf4j-log4j12</artifactId>
2982 <groupId>log4j</groupId>
2983 <artifactId>log4j</artifactId>
2989 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2991 <groupId>javax.activation</groupId>
2992 <artifactId>javax.activation-api</artifactId>
2993 <version>1.2.0</version>
2997 <groupId>org.apache.hadoop</groupId>
2998 <artifactId>hadoop-common</artifactId>
2999 <type>test-jar</type>
3000 <classifier>tests</classifier>
3001 <version>${hadoop-three.version}</version>
3004 <groupId>com.sun.jersey</groupId>
3005 <artifactId>jersey-core</artifactId>
3008 <groupId>com.google.code.findbugs</groupId>
3009 <artifactId>jsr305</artifactId>
3014 <groupId>org.apache.hadoop</groupId>
3015 <artifactId>hadoop-client</artifactId>
3016 <version>${hadoop-three.version}</version>
3019 <groupId>org.apache.hadoop</groupId>
3020 <artifactId>hadoop-annotations</artifactId>
3021 <version>${hadoop-three.version}</version>
3023 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3024 Where do we actually need it? -->
3026 <groupId>org.apache.hadoop</groupId>
3027 <artifactId>hadoop-minicluster</artifactId>
3028 <version>${hadoop-three.version}</version>
3030 <!--If we comment this in, a few tests in hbase-mapreduce
3031 fail. They depend on jersey-core somehow. But excluding
3032 jersey-core here messes up hbase-it because jersey-core
3033 implements a 1.x jaxrs Response Interface when we depend
3034 on the 2.x Interface... . Letting this jar come in
3035 transitively here but will exclude it down in hbase-it.
3038 <groupId>com.sun.jersey</groupId>
3039 <artifactId>jersey-core</artifactId>
3043 <groupId>commons-httpclient</groupId>
3044 <artifactId>commons-httpclient</artifactId>
3047 <groupId>javax.servlet.jsp</groupId>
3048 <artifactId>jsp-api</artifactId>
3051 <groupId>javax.servlet</groupId>
3052 <artifactId>servlet-api</artifactId>
3055 <groupId>stax</groupId>
3056 <artifactId>stax-api</artifactId>
3059 <groupId>io.netty</groupId>
3060 <artifactId>netty</artifactId>
3063 <groupId>com.google.code.findbugs</groupId>
3064 <artifactId>jsr305</artifactId>
3067 <groupId>org.slf4j</groupId>
3068 <artifactId>slf4j-log4j12</artifactId>
3071 <groupId>log4j</groupId>
3072 <artifactId>log4j</artifactId>
3077 <groupId>org.apache.hadoop</groupId>
3078 <artifactId>hadoop-minikdc</artifactId>
3079 <version>${hadoop-three.version}</version>
3083 <groupId>org.slf4j</groupId>
3084 <artifactId>slf4j-log4j12</artifactId>
3087 <groupId>log4j</groupId>
3088 <artifactId>log4j</artifactId>
3093 <groupId>org.apache.hadoop</groupId>
3094 <artifactId>hadoop-distcp</artifactId>
3095 <version>${hadoop-three.version}</version>
3099 <groupId>org.apache.hadoop</groupId>
3100 <artifactId>hadoop-hdfs-client</artifactId>
3101 <version>${hadoop-three.version}</version>
3104 </dependencyManagement>
3107 <!-- profiles for the tests
3108 See as well the properties of the project for the values
3109 when no profile is active. -->
3111 <!-- Use it to launch all tests in the same JVM -->
3112 <id>singleJVMTests</id>
3114 <activeByDefault>false</activeByDefault>
3117 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3118 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3119 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3120 <surefire.firstPartGroups/>
3124 <!-- Use it to launch small tests only -->
3125 <id>runSmallTests</id>
3127 <activeByDefault>false</activeByDefault>
3130 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3131 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3132 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3133 <surefire.secondPartGroups/>
3137 <!-- Use it to launch medium tests only -->
3138 <id>runMediumTests</id>
3140 <activeByDefault>false</activeByDefault>
3143 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3144 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3145 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3146 <surefire.secondPartGroups/>
3150 <!-- Use it to launch large tests only -->
3151 <id>runLargeTests</id>
3153 <activeByDefault>false</activeByDefault>
3156 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3157 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3158 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3159 <surefire.secondPartGroups/>
3163 <!-- Use it to launch small & medium tests -->
3164 <id>runDevTests</id>
3166 <activeByDefault>false</activeByDefault>
3169 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3170 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3171 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3172 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3173 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3177 <!-- Use it to launch all tests -->
3178 <id>runAllTests</id>
3180 <activeByDefault>false</activeByDefault>
3183 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3184 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3185 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3186 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3190 <id>runMiscTests</id>
3192 <activeByDefault>false</activeByDefault>
3195 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3196 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3197 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3198 </surefire.firstPartGroups>
3199 <surefire.secondPartGroups></surefire.secondPartGroups>
3203 <id>runCoprocessorTests</id>
3205 <activeByDefault>false</activeByDefault>
3208 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3209 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3210 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3211 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3212 <surefire.firstPartGroups>
3213 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3214 </surefire.firstPartGroups>
3215 <surefire.secondPartGroups></surefire.secondPartGroups>
3219 <id>runClientTests</id>
3221 <activeByDefault>false</activeByDefault>
3224 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3225 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3226 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3227 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3228 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3229 </surefire.firstPartGroups>
3230 <surefire.secondPartGroups></surefire.secondPartGroups>
3234 <id>runMasterTests</id>
3236 <activeByDefault>false</activeByDefault>
3239 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3240 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3241 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3242 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3243 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3244 </surefire.firstPartGroups>
3245 <surefire.secondPartGroups></surefire.secondPartGroups>
3249 <id>runMapredTests</id>
3251 <activeByDefault>false</activeByDefault>
3254 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3255 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3256 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3257 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3258 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3259 </surefire.firstPartGroups>
3260 <surefire.secondPartGroups></surefire.secondPartGroups>
3264 <id>runMapreduceTests</id>
3266 <activeByDefault>false</activeByDefault>
3269 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3270 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3271 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3272 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3273 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3274 </surefire.firstPartGroups>
3275 <surefire.secondPartGroups></surefire.secondPartGroups>
3279 <id>runRegionServerTests</id>
3281 <activeByDefault>false</activeByDefault>
3284 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3285 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3286 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3287 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3288 <surefire.firstPartGroups>
3289 org.apache.hadoop.hbase.testclassification.RegionServerTests
3290 </surefire.firstPartGroups>
3291 <surefire.secondPartGroups></surefire.secondPartGroups>
3295 <id>runVerySlowMapReduceTests</id>
3297 <activeByDefault>false</activeByDefault>
3300 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3301 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3302 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3303 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3304 <surefire.firstPartGroups>
3305 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3306 </surefire.firstPartGroups>
3307 <surefire.secondPartGroups></surefire.secondPartGroups>
3312 <id>runVerySlowRegionServerTests</id>
3314 <activeByDefault>false</activeByDefault>
3317 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3318 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3319 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3320 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3321 <surefire.firstPartGroups>
3322 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3323 </surefire.firstPartGroups>
3324 <surefire.secondPartGroups></surefire.secondPartGroups>
3329 <id>runFilterTests</id>
3331 <activeByDefault>false</activeByDefault>
3334 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3335 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3336 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3337 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3338 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3339 </surefire.firstPartGroups>
3340 <surefire.secondPartGroups></surefire.secondPartGroups>
3346 <activeByDefault>false</activeByDefault>
3349 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3350 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3351 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3352 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3353 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3354 </surefire.firstPartGroups>
3355 <surefire.secondPartGroups></surefire.secondPartGroups>
3359 <id>runRestTests</id>
3361 <activeByDefault>false</activeByDefault>
3364 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3365 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3366 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3367 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3368 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3369 </surefire.firstPartGroups>
3370 <surefire.secondPartGroups></surefire.secondPartGroups>
3374 <id>runRPCTests</id>
3376 <activeByDefault>false</activeByDefault>
3379 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3380 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3381 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3382 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3383 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3384 </surefire.firstPartGroups>
3385 <surefire.secondPartGroups></surefire.secondPartGroups>
3389 <id>runReplicationTests</id>
3391 <activeByDefault>false</activeByDefault>
3394 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3395 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3396 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3397 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3398 <surefire.firstPartGroups>
3399 org.apache.hadoop.hbase.testclassification.ReplicationTests
3400 </surefire.firstPartGroups>
3401 <surefire.secondPartGroups></surefire.secondPartGroups>
3405 <id>runSecurityTests</id>
3407 <activeByDefault>false</activeByDefault>
3410 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3411 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3412 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3413 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3414 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3415 </surefire.firstPartGroups>
3416 <surefire.secondPartGroups></surefire.secondPartGroups>
3420 <id>runFlakeyTests</id>
3422 <activeByDefault>false</activeByDefault>
3425 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3426 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3427 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3428 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3429 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3430 </surefire.firstPartGroups>
3431 <surefire.secondPartGroups></surefire.secondPartGroups>
3437 <activeByDefault>false</activeByDefault>
3440 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3441 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3442 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3443 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3444 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3445 </surefire.firstPartGroups>
3446 <surefire.secondPartGroups></surefire.secondPartGroups>
3450 <id>runRSGroupTests</id>
3452 <activeByDefault>false</activeByDefault>
3455 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3456 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3457 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3458 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3459 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3460 </surefire.firstPartGroups>
3461 <surefire.secondPartGroups></surefire.secondPartGroups>
3466 <!-- Use it to launch tests locally-->
3474 <surefire.provider>surefire-junit4</surefire.provider>
3475 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3476 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3477 <surefire.firstPartGroups/>
3480 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3481 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3482 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3483 The report will be generated under target/site/clover/index.html when you run
3484 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3488 <activeByDefault>false</activeByDefault>
3494 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3498 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3499 our instrumented classes for the doclet will fail
3502 <groupId>org.apache.maven.plugins</groupId>
3503 <artifactId>maven-javadoc-plugin</artifactId>
3506 <groupId>com.atlassian.maven.plugins</groupId>
3507 <artifactId>maven-clover2-plugin</artifactId>
3508 <version>${clover.version}</version>
3513 <groupId>com.atlassian.maven.plugins</groupId>
3514 <artifactId>maven-clover2-plugin</artifactId>
3515 <version>${clover.version}</version>
3517 <includesAllSourceRoots>true</includesAllSourceRoots>
3518 <includesTestSourceRoots>true</includesTestSourceRoots>
3519 <targetPercentage>50%</targetPercentage>
3520 <generateHtml>true</generateHtml>
3521 <generateXml>true</generateXml>
3523 <exclude>**/generated/**</exclude>
3528 <id>clover-setup</id>
3529 <phase>process-sources</phase>
3547 <!-- Used by the website generation script on jenkins to
3548 do a local install of the jars we need to run a normal
3549 site build w/o forking.
3551 <id>site-install-step</id>
3553 <skipTests>true</skipTests>
3554 <maven.javadoc.skip>true</maven.javadoc.skip>
3555 <enforcer.skip>true</enforcer.skip>
3556 <checkstyle.skip>true</checkstyle.skip>
3557 <spotbugs.skip>true</spotbugs.skip>
3558 <warbucks.skip>true</warbucks.skip>
3562 <!-- Used by the website generation script on jenkins to
3563 mitigate the impact of unneeded build forks while building
3566 <id>site-build-step</id>
3568 <skipTests>true</skipTests>
3569 <enforcer.skip>true</enforcer.skip>
3570 <maven.main.skip>true</maven.main.skip>
3571 <maven.test.skip>true</maven.test.skip>
3572 <warbucks.skip>true</warbucks.skip>
3573 <protoc.skip>true</protoc.skip>
3574 <remoteresources.skip>true</remoteresources.skip>
3578 <id>eclipse-specific</id>
3581 <name>m2e.version</name>
3587 <!-- General config for eclipse classpath/settings -->
3589 <groupId>org.apache.maven.plugins</groupId>
3590 <artifactId>maven-eclipse-plugin</artifactId>
3591 <version>${maven.eclipse.version}</version>
3593 <!--This plugin's configuration is used to store Eclipse m2e settings
3594 only. It has no influence on the Maven build itself. m2e does not
3595 provide any safeguards against rogue maven plugins that leak
3596 classloaders, modify random files inside workspace or throw nasty
3597 exceptions to fail the build.
3598 Top level doesn't do any specific configuration currently - left
3599 to modules to decide what they want to bind, sans those plugins
3600 defined in this pom. -->
3602 <groupId>org.eclipse.m2e</groupId>
3603 <artifactId>lifecycle-mapping</artifactId>
3604 <version>${lifecycle.mapping.version}</version>
3606 <lifecycleMappingMetadata>
3609 <pluginExecutionFilter>
3610 <groupId>org.jacoco</groupId>
3611 <artifactId>jacoco-maven-plugin</artifactId>
3612 <versionRange>[0.6.2.201302030002,)</versionRange>
3614 <goal>prepare-agent</goal>
3616 </pluginExecutionFilter>
3622 <pluginExecutionFilter>
3623 <groupId>org.apache.maven.plugins</groupId>
3624 <artifactId>maven-enforcer-plugin</artifactId>
3625 <versionRange>${enforcer.version}</versionRange>
3627 <goal>enforce</goal>
3629 </pluginExecutionFilter>
3635 <pluginExecutionFilter>
3636 <groupId>org.apache.maven.plugins</groupId>
3637 <artifactId>maven-remote-resources-plugin</artifactId>
3638 <versionRange>[1.5,)</versionRange>
3640 <goal>process</goal>
3643 </pluginExecutionFilter>
3649 <pluginExecutionFilter>
3650 <groupId>org.codehaus.mojo</groupId>
3651 <artifactId>buildnumber-maven-plugin</artifactId>
3652 <versionRange>[1.3,)</versionRange>
3654 <goal>create-timestamp</goal>
3656 </pluginExecutionFilter>
3659 <runOnConfiguration>true</runOnConfiguration>
3660 <runOnIncremental>true</runOnIncremental>
3665 </lifecycleMappingMetadata>
3675 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3679 <family>linux</family>
3680 <arch>aarch64</arch>
3685 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3689 <artifactId>maven-project-info-reports-plugin</artifactId>
3690 <version>${maven.project.info.report.version}</version>
3694 <report>dependencies</report>
3695 <report>dependency-convergence</report>
3696 <report>dependency-info</report>
3697 <report>dependency-management</report>
3698 <report>index</report>
3699 <report>issue-tracking</report>
3700 <report>mailing-list</report>
3701 <report>plugin-management</report>
3702 <report>plugins</report>
3703 <report>project-team</report>
3704 <report>scm</report>
3705 <report>summary</report>
3709 <!-- see src/site/site.xml for selected reports -->
3711 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3716 <groupId>org.apache.maven.plugins</groupId>
3717 <artifactId>maven-javadoc-plugin</artifactId>
3721 <name>apiNote</name>
3722 <placement>a</placement>
3723 <head>API Note:</head>
3732 <report>aggregate-no-fork</report>
3735 <destDir>devapidocs</destDir>
3736 <name>Developer API</name>
3737 <description>The full HBase API, including private and unstable APIs</description>
3738 <sourceFileExcludes>
3739 <exclude>**/generated/*</exclude>
3740 <exclude>**/protobuf/*</exclude>
3741 </sourceFileExcludes>
3742 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3743 <show>private</show> <!-- (shows all classes and members) -->
3745 <linksource>true</linksource>
3746 <sourcetab>2</sourcetab>
3747 <validateLinks>true</validateLinks>
3748 <fixClassComment>true</fixClassComment>
3749 <fixFieldComment>true</fixFieldComment>
3750 <fixMethodComment>true</fixMethodComment>
3751 <fixTags>all</fixTags>
3752 <notimestamp>true</notimestamp>
3753 <locale>en_US</locale>
3754 <!-- Pass some options straight to the javadoc executable since it is easier -->
3755 <additionalJOption>-J-Xmx2G</additionalJOption>
3756 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3757 <additionalDependencies>
3758 <additionalDependency>
3759 <groupId>org.mockito</groupId>
3760 <artifactId>mockito-core</artifactId>
3761 <version>${mockito-core.version}</version>
3762 </additionalDependency>
3763 <additionalDependency>
3764 <groupId>org.hamcrest</groupId>
3765 <artifactId>hamcrest-core</artifactId>
3766 <version>${hamcrest.version}</version>
3767 </additionalDependency>
3768 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3769 <additionalDependency>
3770 <groupId>com.google.code.findbugs</groupId>
3771 <artifactId>jsr305</artifactId>
3772 <version>3.0.2</version>
3773 </additionalDependency>
3774 </additionalDependencies>
3775 <inherited>false</inherited>
3781 <report>test-aggregate-no-fork</report>
3784 <destDir>testdevapidocs</destDir>
3785 <name>Developer API</name>
3786 <description>The full HBase API test code, including private and unstable APIs</description>
3787 <sourceFileExcludes>
3788 <exclude>**/generated/*</exclude>
3789 <exclude>**/protobuf/*</exclude>
3790 </sourceFileExcludes>
3791 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3792 <show>private</show> <!-- (shows all classes and members) -->
3794 <linksource>true</linksource>
3795 <sourcetab>2</sourcetab>
3796 <validateLinks>true</validateLinks>
3797 <fixClassComment>true</fixClassComment>
3798 <fixFieldComment>true</fixFieldComment>
3799 <fixMethodComment>true</fixMethodComment>
3800 <fixTags>all</fixTags>
3801 <notimestamp>true</notimestamp>
3802 <locale>en_US</locale>
3803 <!-- Pass some options straight to the javadoc executable since it is easier -->
3804 <additionalJOption>-J-Xmx2G</additionalJOption>
3805 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3806 <additionalDependencies>
3807 <additionalDependency>
3808 <groupId>org.mockito</groupId>
3809 <artifactId>mockito-core</artifactId>
3810 <version>${mockito-core.version}</version>
3811 </additionalDependency>
3812 <additionalDependency>
3813 <groupId>org.hamcrest</groupId>
3814 <artifactId>hamcrest-core</artifactId>
3815 <version>${hamcrest.version}</version>
3816 </additionalDependency>
3817 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3818 <additionalDependency>
3819 <groupId>com.google.code.findbugs</groupId>
3820 <artifactId>jsr305</artifactId>
3821 <version>3.0.2</version>
3822 </additionalDependency>
3823 </additionalDependencies>
3824 <inherited>false</inherited>
3832 <report>aggregate-no-fork</report>
3836 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3839 <groupId>org.apache.yetus</groupId>
3840 <artifactId>audience-annotations</artifactId>
3841 <version>${audience-annotations.version}</version>
3843 <useStandardDocletOptions>true</useStandardDocletOptions>
3844 <destDir>apidocs</destDir>
3845 <name>User API</name>
3846 <description>The HBase Application Programmer's API</description>
3847 <excludePackageNames>
3848 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*
3849 </excludePackageNames>
3850 <!-- switch on dependency-driven aggregation -->
3851 <includeDependencySources>false</includeDependencySources>
3852 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3853 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3855 <linksource>true</linksource>
3856 <sourcetab>2</sourcetab>
3857 <validateLinks>true</validateLinks>
3858 <fixClassComment>true</fixClassComment>
3859 <fixFieldComment>true</fixFieldComment>
3860 <fixMethodComment>true</fixMethodComment>
3861 <fixTags>all</fixTags>
3862 <notimestamp>true</notimestamp>
3863 <locale>en_US</locale>
3864 <!-- Pass some options straight to the javadoc executable since it is easier -->
3865 <additionalJOption>-J-Xmx2G</additionalJOption>
3866 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3867 <additionalDependencies>
3868 <additionalDependency>
3869 <groupId>org.mockito</groupId>
3870 <artifactId>mockito-core</artifactId>
3871 <version>${mockito-core.version}</version>
3872 </additionalDependency>
3873 <additionalDependency>
3874 <groupId>org.hamcrest</groupId>
3875 <artifactId>hamcrest-core</artifactId>
3876 <version>${hamcrest.version}</version>
3877 </additionalDependency>
3878 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3879 <additionalDependency>
3880 <groupId>com.google.code.findbugs</groupId>
3881 <artifactId>jsr305</artifactId>
3882 <version>3.0.2</version>
3883 </additionalDependency>
3884 </additionalDependencies>
3885 <inherited>false</inherited>
3888 <!-- User Test API -->
3890 <id>testuserapi</id>
3892 <report>test-aggregate-no-fork</report>
3896 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3899 <groupId>org.apache.yetus</groupId>
3900 <artifactId>audience-annotations</artifactId>
3901 <version>${audience-annotations.version}</version>
3903 <useStandardDocletOptions>true</useStandardDocletOptions>
3904 <destDir>testapidocs</destDir>
3905 <name>User API</name>
3906 <description>The HBase Application Programmer's API</description>
3907 <excludePackageNames>
3908 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*
3909 </excludePackageNames>
3910 <!-- switch on dependency-driven aggregation -->
3911 <includeDependencySources>false</includeDependencySources>
3912 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3913 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3915 <linksource>true</linksource>
3916 <sourcetab>2</sourcetab>
3917 <validateLinks>true</validateLinks>
3918 <fixClassComment>true</fixClassComment>
3919 <fixFieldComment>true</fixFieldComment>
3920 <fixMethodComment>true</fixMethodComment>
3921 <fixTags>all</fixTags>
3922 <notimestamp>true</notimestamp>
3923 <locale>en_US</locale>
3924 <!-- Pass some options straight to the javadoc executable since it is easier -->
3925 <additionalJOption>-J-Xmx2G</additionalJOption>
3926 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3927 <additionalDependencies>
3928 <additionalDependency>
3929 <groupId>org.mockito</groupId>
3930 <artifactId>mockito-core</artifactId>
3931 <version>${mockito-core.version}</version>
3932 </additionalDependency>
3933 <additionalDependency>
3934 <groupId>org.hamcrest</groupId>
3935 <artifactId>hamcrest-core</artifactId>
3936 <version>${hamcrest.version}</version>
3937 </additionalDependency>
3938 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
3939 <additionalDependency>
3940 <groupId>com.google.code.findbugs</groupId>
3941 <artifactId>jsr305</artifactId>
3942 <version>3.0.2</version>
3943 </additionalDependency>
3944 </additionalDependencies>
3945 <inherited>false</inherited>
3952 <groupId>org.apache.maven.plugins</groupId>
3953 <artifactId>maven-checkstyle-plugin</artifactId>
3954 <version>${maven.checkstyle.version}</version>
3956 <excludes>target/**</excludes>
3962 <distributionManagement>
3964 <id>hbase.apache.org</id>
3965 <name>HBase Website at hbase.apache.org</name>
3966 <!-- On why this is the tmp dir and not hbase.apache.org, see
3967 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3969 <url>file:///tmp</url>
3971 </distributionManagement>