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-alpha-2</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>
96 <module>hbase-compression</module>
99 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
100 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
101 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
104 <system>JIRA</system>
105 <url>https://issues.apache.org/jira/browse/HBASE</url>
109 <name>User List</name>
110 <subscribe>user-subscribe@hbase.apache.org</subscribe>
111 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
112 <post>user@hbase.apache.org</post>
113 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
115 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</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>
129 <name>Commits List</name>
130 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
131 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
132 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
135 <name>Issues List</name>
136 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
137 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
138 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
141 <name>Builds List</name>
142 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
143 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
144 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
147 <name>User (ZH) List</name>
148 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
149 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
150 <post>user-zh@hbase.apache.org</post>
151 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
157 <name>Abhishek Singh Chouhan</name>
158 <email>achouhan@apache.org</email>
159 <timezone>+5</timezone>
163 <name>Amitanand S. Aiyer</name>
164 <email>acube123@apache.org</email>
165 <timezone>-8</timezone>
169 <name>Allan Yang</name>
170 <email>allan163@apache.org</email>
171 <timezone>+8</timezone>
175 <name>Apekshit Sharma</name>
176 <email>appy@apache.org</email>
177 <timezone>-8</timezone>
181 <name>Anastasia Braginsky</name>
182 <email>anastasia@apache.org</email>
183 <timezone>+2</timezone>
187 <name>Andrew Purtell</name>
188 <email>apurtell@apache.org</email>
189 <timezone>-8</timezone>
192 <id>anoopsamjohn</id>
193 <name>Anoop Sam John</name>
194 <email>anoopsamjohn@apache.org</email>
195 <timezone>+5</timezone>
199 <name>Mikhail Antonov</name>
200 <email>antonov@apache.org</email>
201 <timezone>-8</timezone>
204 <id>ashishsinghi</id>
205 <name>Ashish Singhi</name>
206 <email>ashishsinghi@apache.org</email>
207 <timezone>+5</timezone>
211 <name>Ashu Pachauri</name>
212 <email>ashu@apache.org</email>
213 <timezone>+5</timezone>
217 <name>Bharath Vissapragada</name>
218 <email>bharathv@apache.org</email>
219 <timezone>-8</timezone>
223 <name>Lijin Bin</name>
224 <email>binlijin@apache.org</email>
225 <timezone>+8</timezone>
229 <name>Toshihiro Suzuki</name>
230 <email>brfrn169@apache.org</email>
231 <timezone>+9</timezone>
235 <name>Sean Busbey</name>
236 <email>busbey@apache.org</email>
237 <timezone>-6</timezone>
241 <name>Heng Chen</name>
242 <email>chenheng@apache.org</email>
243 <timezone>+8</timezone>
247 <name>Chia-Ping Tsai</name>
248 <email>chia7712@apache.org</email>
249 <timezone>+8</timezone>
253 <name>Devaraj Das</name>
254 <email>ddas@apache.org</email>
255 <timezone>-8</timezone>
259 <name>Dima Spivak</name>
260 <email>dimaspivak@apache.org</email>
261 <timezone>-8</timezone>
265 <name>Doug Meil</name>
266 <email>dmeil@apache.org</email>
267 <timezone>-5</timezone>
271 <name>Elliott Clark</name>
272 <email>eclark@apache.org</email>
273 <timezone>-8</timezone>
277 <name>Josh Elser</name>
278 <email>elserj@apache.org</email>
279 <timezone>-5</timezone>
283 <name>Enis Soztutar</name>
284 <email>enis@apache.org</email>
285 <timezone>-8</timezone>
289 <name>Eshcar Hillel</name>
290 <email>eshcar@apache.org</email>
291 <timezone>+2</timezone>
295 <name>Honghua Feng</name>
296 <email>fenghh@apache.org</email>
297 <timezone>+8</timezone>
301 <name>Gary Helmling</name>
302 <email>garyh@apache.org</email>
303 <timezone>-8</timezone>
307 <name>Gregory Chanan</name>
308 <email>gchanan@apache.org</email>
309 <timezone>-8</timezone>
313 <name>Geoffrey Jacoby</name>
314 <email>gjacoby@apache.org</email>
315 <timezone>-5</timezone>
319 <name>Guangxu Cheng</name>
320 <email>gxcheng@apache.org</email>
321 <timezone>+8</timezone>
325 <name>Xiaolin Ha</name>
326 <email>haxiaolin@apache.org</email>
327 <timezone>+8</timezone>
331 <name>Huaxiang Sun</name>
332 <email>huaxiangsun@apache.org</email>
333 <timezone>-8</timezone>
337 <name>Jean-Daniel Cryans</name>
338 <email>jdcryans@apache.org</email>
339 <timezone>-8</timezone>
343 <name>Jeffrey Zhong</name>
344 <email>jeffreyz@apache.org</email>
345 <timezone>-8</timezone>
349 <name>Jing Chen (Jerry) He</name>
350 <email>jerryjch@apache.org</email>
351 <timezone>-8</timezone>
355 <name>Jesse Yates</name>
356 <email>jyates@apache.org</email>
357 <timezone>-8</timezone>
361 <name>Jonathan Gray</name>
362 <email>jgray@fb.com</email>
363 <timezone>-8</timezone>
367 <name>Jingcheng Du</name>
368 <email>jingchengdu@apache.org</email>
369 <timezone>+8</timezone>
373 <name>Esteban Gutierrez</name>
374 <email>esteban@apache.org</email>
375 <timezone>-8</timezone>
379 <name>Jan Hentschel</name>
380 <email>janh@apache.org</email>
381 <timezone>+1</timezone>
385 <name>Jonathan Hsieh</name>
386 <email>jmhsieh@apache.org</email>
387 <timezone>-8</timezone>
391 <name>Jimmy Xiang</name>
392 <email>jxiang@apache.org</email>
393 <timezone>-8</timezone>
397 <name>Kannan Muthukkaruppan</name>
398 <email>kannan@fb.com</email>
399 <timezone>-8</timezone>
403 <name>Karthik Ranganathan</name>
404 <email>kranganathan@fb.com</email>
405 <timezone>-8</timezone>
409 <name>Lars Francke</name>
410 <email>larsfrancke@apache.org</email>
411 <timezone>Europe/Berlin</timezone>
415 <name>Lars George</name>
416 <email>larsgeorge@apache.org</email>
417 <timezone>+1</timezone>
421 <name>Lars Hofhansl</name>
422 <email>larsh@apache.org</email>
423 <timezone>-8</timezone>
427 <name>Liang Xie</name>
428 <email>liangxie@apache.org</email>
429 <timezone>+8</timezone>
433 <name>Shaohui Liu</name>
434 <email>liushaohui@apache.org</email>
435 <timezone>+8</timezone>
439 <name>Liyin Tang</name>
440 <email>liyin.tang@fb.com</email>
441 <timezone>-8</timezone>
446 <email>liyu@apache.org</email>
447 <timezone>+8</timezone>
451 <name>Mikhail Bautin</name>
452 <email>mbautin@apache.org</email>
453 <timezone>-8</timezone>
457 <name>Matteo Bertozzi</name>
458 <email>mbertozzi@apache.org</email>
459 <timezone>0</timezone>
463 <name>Mike Drob</name>
464 <email>mdrob@apache.org</email>
465 <timezone>-5</timezone>
469 <name>Balazs Meszaros</name>
470 <email>meszibalu@apache.org</email>
471 <timezone>+1</timezone>
475 <name>Misty Stanley-Jones</name>
476 <email>misty@apache.org</email>
477 <timezone>-8</timezone>
481 <name>Nick Dimiduk</name>
482 <email>ndimiduk@apache.org</email>
483 <timezone>-8</timezone>
487 <name>Yulin Niu</name>
488 <email>niuyulin@apache.org</email>
489 <timezone>+8</timezone>
493 <name>Nicolas Liochon</name>
494 <email>nkeywal@apache.org</email>
495 <timezone>+1</timezone>
498 <id>nspiegelberg</id>
499 <name>Nicolas Spiegelberg</name>
500 <email>nspiegelberg@fb.com</email>
501 <timezone>-8</timezone>
505 <name>Andrey Stepachev</name>
506 <email>octo47@gmail.com</email>
507 <timezone>0</timezone>
511 <name>Zheng Hu</name>
512 <email>openinx@apache.org</email>
513 <timezone>+8</timezone>
517 <name>Pankaj Kumar</name>
518 <email>pankajkumar@apache.org</email>
519 <timezone>+5</timezone>
523 <name>Peter Somogyi</name>
524 <email>psomogyi@apache.org</email>
525 <timezone>+1</timezone>
529 <name>Rajeshbabu Chintaguntla</name>
530 <email>rajeshbabu@apache.org</email>
531 <timezone>+5</timezone>
535 <name>Ramkrishna S Vasudevan</name>
536 <email>ramkrishna@apache.org</email>
537 <timezone>+5</timezone>
541 <name>Ryan Rawson</name>
542 <email>rawson@apache.org</email>
543 <timezone>-8</timezone>
547 <name>Reid Chan</name>
548 <email>reidchan@apache.org</email>
549 <timezone>+8</timezone>
553 <name>Sakthi Vel</name>
554 <email>sakthi@apache.org</email>
555 <timezone>-8</timezone>
559 <name>Sergey Shelukhin</name>
560 <email>sershe@apache.org</email>
561 <timezone>-8</timezone>
565 <name>Srikanth Srungarapu</name>
566 <email>ssrungarapu@apache.org</email>
567 <timezone>-8</timezone>
571 <name>Michael Stack</name>
572 <email>stack@apache.org</email>
573 <timezone>-8</timezone>
577 <name>Stephen Yuan Jiang</name>
578 <email>syuanjiang@apache.org</email>
579 <timezone>-8</timezone>
583 <name>Tak-Lon (Stephen) Wu</name>
584 <email>taklwu@apache.org</email>
585 <timezone>-8</timezone>
590 <email>yuzhihong@gmail.com</email>
591 <timezone>-8</timezone>
595 <email>tianjy@apache.org</email>
596 <timezone>+8</timezone>
600 <name>Todd Lipcon</name>
601 <email>todd@apache.org</email>
602 <timezone>-8</timezone>
606 <name>Francis Liu</name>
607 <email>toffer@apache.org</email>
608 <timezone>-8</timezone>
612 <name>Vikas Vishwakarma</name>
613 <email>vikasv@apache.org</email>
614 <timezone>+5</timezone>
618 <name>Virag Kothari</name>
619 <email>virag@yahoo-inc.com</email>
620 <timezone>-8</timezone>
624 <name>Viraj Jasani</name>
625 <email>vjasani@apache.org</email>
626 <timezone>+5</timezone>
630 <name>Xiang Li</name>
631 <email>xiangli@apache.org</email>
632 <timezone>+8</timezone>
636 <name>Wellington Chevreuil</name>
637 <email>wchevreuil@apache.org</email>
638 <timezone>0</timezone>
642 <name>Wei-Chiu Chuang</name>
643 <email>weichiu@apache.org</email>
644 <timezone>-8</timezone>
649 <email>xucang@apache.org</email>
650 <timezone>-8</timezone>
654 <name>Phil Yang</name>
655 <email>yangzhe1991@apache.org</email>
656 <timezone>+8</timezone>
660 <name>Guanghao Zhang</name>
661 <email>zghao@apache.org</email>
662 <timezone>+8</timezone>
666 <name>Duo Zhang</name>
667 <email>zhangduo@apache.org</email>
668 <timezone>+8</timezone>
671 <id>zhaobaiqiang</id>
672 <name>Baiqiang Zhao</name>
673 <email>zhaobaiqiang@apache.org</email>
674 <timezone>+8</timezone>
678 <name>Chunhui Shen</name>
679 <email>zjushch@apache.org</email>
680 <timezone>+8</timezone>
684 <name>Rahul Gidwani</name>
685 <email>churro@apache.org</email>
686 <timezone>-8</timezone>
690 <name>Yi Liang</name>
691 <email>yiliang@apache.org</email>
692 <timezone>-8</timezone>
696 <name>Zach York</name>
697 <email>zyork@apache.org</email>
698 <timezone>-8</timezone>
703 <email>meiyi@apache.org</email>
704 <timezone>+8</timezone>
708 <name>Zheng (bsglz) Wang</name>
709 <email>wangzheng@apache.org</email>
710 <timezone>+8</timezone>
715 <email>sunxin@apache.org</email>
716 <timezone>+8</timezone>
719 <id>huangzhuoyue</id>
720 <name>Zhuoyue Huang</name>
721 <email>huangzhuoyue@apache.org</email>
722 <timezone>+8</timezone>
728 <groupId>kr.motd.maven</groupId>
729 <artifactId>os-maven-plugin</artifactId>
730 <version>${os.maven.version}</version>
733 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
734 For specific version use a property and define it in the parent pom.
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-remote-resources-plugin</artifactId>
743 <groupId>org.apache.maven.plugins</groupId>
744 <artifactId>maven-release-plugin</artifactId>
746 <!--You need this profile. It'll sign your artifacts.
747 I'm not sure if this config. actually works though.
748 I've been specifying -Papache-release on the command-line
750 <releaseProfiles>apache-release</releaseProfiles>
751 <!--This stops our running tests for each stage of maven release.
752 But it builds the test jar. From SUREFIRE-172.
754 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
755 <goals>${goals}</goals>
756 <pomFileName>pom.xml</pomFileName>
760 <groupId>org.apache.maven.plugins</groupId>
761 <artifactId>maven-compiler-plugin</artifactId>
763 <source>${compileSource}</source>
764 <target>${compileSource}</target>
765 <showWarnings>true</showWarnings>
766 <showDeprecation>false</showDeprecation>
767 <useIncrementalCompilation>false</useIncrementalCompilation>
768 <compilerArgument>-Xlint:-options</compilerArgument>
772 <groupId>org.apache.maven.plugins</groupId>
773 <artifactId>maven-javadoc-plugin</artifactId>
774 <version>${maven.javadoc.version}</version>
776 <source>${compileSource}</source>
779 <!-- Test oriented plugins -->
781 <groupId>org.apache.maven.plugins</groupId>
782 <artifactId>maven-surefire-plugin</artifactId>
783 <version>${surefire.version}</version>
785 <!-- by default surefire selects dynamically the connector to the unit tests
786 tool. We want to use always the same as the different connectors can have different
787 bugs and behaviour. -->
789 <groupId>org.apache.maven.surefire</groupId>
790 <artifactId>${surefire.provider}</artifactId>
791 <version>${surefire.version}</version>
794 <!-- Generic testing configuration for all packages -->
796 <groups>${surefire.firstPartGroups}</groups>
797 <failIfNoTests>false</failIfNoTests>
798 <trimStackTrace>false</trimStackTrace>
799 <skip>${surefire.skipFirstPart}</skip>
800 <forkCount>${surefire.firstPartForkCount}</forkCount>
801 <reuseForks>false</reuseForks>
802 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
803 <tempDir>${surefire.tempDir}</tempDir>
804 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
805 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
806 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
807 <systemPropertyVariables>
808 <test.build.classes>${test.build.classes}</test.build.classes>
809 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
810 <java.util.logging.config.class>org.apache.hadoop.hbase.logging.JulToSlf4jInitializer</java.util.logging.config.class>
811 </systemPropertyVariables>
813 <!-- users can add -D option to skip particular test classes
814 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
816 <exclude>${test.exclude.pattern}</exclude>
820 <name>listener</name>
821 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
827 <id>secondPartTestsExecution</id>
833 <skip>${surefire.skipSecondPart}</skip>
834 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
835 <reuseForks>false</reuseForks>
836 <forkCount>${surefire.secondPartForkCount}</forkCount>
837 <groups>${surefire.secondPartGroups}</groups>
838 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
844 <groupId>org.apache.maven.plugins</groupId>
845 <artifactId>maven-surefire-report-plugin</artifactId>
846 <version>${surefire.version}</version>
849 <groupId>org.codehaus.mojo</groupId>
850 <artifactId>buildnumber-maven-plugin</artifactId>
851 <version>${buildnumber.maven.version}</version>
854 <groupId>com.github.spotbugs</groupId>
855 <artifactId>spotbugs-maven-plugin</artifactId>
856 <version>${spotbugs.maven.version}</version>
858 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
859 <spotbugsXmlOutput>true</spotbugsXmlOutput>
860 <xmlOutput>true</xmlOutput>
864 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
866 <groupId>com.github.spotbugs</groupId>
867 <artifactId>spotbugs</artifactId>
868 <version>${spotbugs.version}</version>
873 <groupId>org.codehaus.mojo</groupId>
874 <artifactId>build-helper-maven-plugin</artifactId>
875 <version>${build.helper.maven.version}</version>
878 <artifactId>maven-antrun-plugin</artifactId>
879 <version>${maven.antrun.version}</version>
882 <groupId>org.jamon</groupId>
883 <artifactId>jamon-maven-plugin</artifactId>
884 <version>${jamon.plugin.version}</version>
886 <!-- Make a jar and put the sources in the jar.
887 In the parent pom, so submodules will do the right thing. -->
889 <groupId>org.apache.maven.plugins</groupId>
890 <artifactId>maven-source-plugin</artifactId>
893 <id>attach-sources</id>
894 <phase>prepare-package</phase>
896 <goal>jar-no-fork</goal>
897 <goal>test-jar-no-fork</goal>
901 <exclude>log4j2.xml</exclude>
907 <!-- General configuration for submodules who want to build a test jar -->
909 <groupId>org.apache.maven.plugins</groupId>
910 <artifactId>maven-jar-plugin</artifactId>
913 <phase>prepare-package</phase>
915 <!--This goal will install a -test.jar when we do install
916 See https://maven.apache.org/guides/mini/guide-attached-tests.html
918 <goal>test-jar</goal>
923 <skipIfEmpty>true</skipIfEmpty>
925 <exclude>hbase-site.xml</exclude>
926 <exclude>hdfs-site.xml</exclude>
927 <exclude>mapred-queues.xml</exclude>
928 <exclude>mapred-site.xml</exclude>
933 <!-- excludes are inherited -->
934 <groupId>org.apache.rat</groupId>
935 <artifactId>apache-rat-plugin</artifactId>
938 <exclude>**/*.versionsBackup</exclude>
939 <exclude>**/*.log</exclude>
940 <exclude>**/.*</exclude>
941 <exclude>**/*.tgz</exclude>
942 <exclude>**/*.orig</exclude>
943 <exclude>**/0000000000000016310</exclude>
944 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
945 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
946 <exclude>**/.idea/**</exclude>
947 <exclude>**/*.iml</exclude>
948 <exclude>**/CHANGES.txt</exclude>
949 <exclude>**/generated/**</exclude>
950 <exclude>**/gen-*/**</exclude>
951 <!-- No material contents -->
952 <exclude>conf/regionservers</exclude>
953 <exclude>**/*.avpr</exclude>
954 <exclude>**/*.svg</exclude>
955 <!-- non-standard notice file from jruby included by reference -->
956 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
957 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
958 <exclude>**/src/main/asciidoc/hbase.css</exclude>
959 <!-- MIT https://jquery.org/license -->
960 <exclude>**/jquery.min.js</exclude>
961 <exclude>**/jquery.tablesorter.min.js</exclude>
962 <exclude>**/parser-date-iso8601.min.js</exclude>
963 <!-- MIT: bootstrap -->
964 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
965 <!-- vector graphics -->
966 <exclude>**/*.vm</exclude>
967 <!-- apache doxia generated -->
968 <exclude>**/control</exclude>
969 <exclude>**/conffile</exclude>
970 <!-- auto-gen docs -->
971 <exclude>docs/*</exclude>
972 <exclude>logs/*</exclude>
973 <!-- exclude source control files -->
974 <exclude>.git/**</exclude>
975 <exclude>.svn/**</exclude>
976 <exclude>**/.settings/**</exclude>
977 <exclude>**/patchprocess/**</exclude>
978 <exclude>src/site/resources/repo/**</exclude>
979 <exclude>**/dependency-reduced-pom.xml</exclude>
980 <exclude>**/rat.txt</exclude>
981 <!-- exclude the shaded protobuf files -->
982 <exclude>**/shaded/com/google/protobuf/**</exclude>
983 <exclude>**/src/main/patches/**</exclude>
984 <exclude>**/vote.tmpl</exclude>
985 <!-- gzipped list of S3N URIs for hbase-it -->
986 <exclude>**/CC-MAIN-2021-10-warc.paths.gz</exclude>
991 <artifactId>maven-assembly-plugin</artifactId>
993 <!--Defer to the hbase-assembly sub-module. It
995 <skipAssembly>true</skipAssembly>
999 <groupId>org.xolstice.maven.plugins</groupId>
1000 <artifactId>protobuf-maven-plugin</artifactId>
1001 <version>${protobuf.plugin.version}</version>
1003 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
1004 <clearOutputDirectory>false</clearOutputDirectory>
1005 <checkStaleness>true</checkStaleness>
1009 <!-- Approach followed here is roughly the same as mentioned here:
1010 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
1012 <groupId>org.apache.maven.plugins</groupId>
1013 <artifactId>maven-checkstyle-plugin</artifactId>
1014 <version>${maven.checkstyle.version}</version>
1017 <groupId>org.apache.hbase</groupId>
1018 <artifactId>hbase-checkstyle</artifactId>
1019 <version>${project.version}</version>
1022 <groupId>com.puppycrawl.tools</groupId>
1023 <artifactId>checkstyle</artifactId>
1024 <version>${checkstyle.version}</version>
1028 <configLocation>hbase/checkstyle.xml</configLocation>
1029 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
1030 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1034 <groupId>net.revelc.code</groupId>
1035 <artifactId>warbucks-maven-plugin</artifactId>
1036 <version>${maven.warbucks.version}</version>
1038 <ignoreRuleFailures>false</ignoreRuleFailures>
1041 <!-- exclude the generated java files -->
1042 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
1043 <includeTestClasses>false</includeTestClasses>
1044 <includePublicClasses>true</includePublicClasses>
1045 <includePackagePrivateClasses>false</includePackagePrivateClasses>
1046 <includeProtectedClasses>false</includeProtectedClasses>
1047 <includePrivateClasses>false</includePrivateClasses>
1048 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
1054 <id>run-warbucks</id>
1056 <goal>check</goal><!-- runs at process-test-classes phase -->
1062 <groupId>org.apache.maven.plugins</groupId>
1063 <artifactId>maven-enforcer-plugin</artifactId>
1064 <version>${enforcer.version}</version>
1067 <groupId>org.codehaus.mojo</groupId>
1068 <artifactId>extra-enforcer-rules</artifactId>
1069 <version>${extra.enforcer.version}</version>
1072 <groupId>de.skuzzle.enforcer</groupId>
1073 <artifactId>restrict-imports-enforcer-rule</artifactId>
1074 <version>${restrict-imports.enforcer.version}</version>
1079 <groupId>org.apache.maven.plugins</groupId>
1080 <artifactId>maven-gpg-plugin</artifactId>
1081 <version>${maven.gpg.version}</version>
1087 <groupId>org.codehaus.mojo</groupId>
1088 <artifactId>build-helper-maven-plugin</artifactId>
1091 <id>negate-license-bundles-property</id>
1093 <goal>bsh-property</goal>
1096 <source>skip.license.check = !${license.bundles.dependencies};</source>
1098 <property>skip.license.check</property>
1102 <!-- sets where to find the generated LICENSE files -->
1104 <id>create-license-file-path-property</id>
1106 <goal>regex-property</goal>
1109 <name>license.aggregate.path</name>
1110 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1112 <replacement>/</replacement>
1113 <failIfNoMatch>false</failIfNoMatch>
1119 <groupId>org.apache.maven.plugins</groupId>
1120 <artifactId>maven-enforcer-plugin</artifactId>
1123 <id>display-info</id>
1124 <phase>initialize</phase>
1126 <goal>display-info</goal>
1128 <inherited>false</inherited>
1131 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1133 <goal>enforce</goal>
1137 <!-- Help people activate profiles correctly -->
1139 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1140 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1141 </evaluateBeanshell>
1142 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1143 <requireMavenVersion>
1144 <version>[${maven.min.version},)</version>
1145 <message>Maven is out of date.
1146 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1147 You appear to be using an older version. You can use either "mvn -version" or
1148 "mvn enforcer:display-info" to verify what version is active.
1149 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1151 </requireMavenVersion>
1152 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1153 <requireJavaVersion>
1154 <version>[${java.min.version},)</version>
1155 <message>Java is out of date.
1156 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1157 You appear to be using an older version. You can use either "mvn -version" or
1158 "mvn enforcer:display-info" to verify what version is active.
1159 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1161 </requireJavaVersion>
1162 <bannedDependencies>
1164 <exclude>xerces:xercesImpl</exclude>
1166 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1167 </bannedDependencies>
1172 <id>banned-jsr305</id>
1174 <goal>enforce</goal>
1178 <bannedDependencies>
1180 <exclude>com.google.code.findbugs:jsr305</exclude>
1182 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1183 </bannedDependencies>
1188 <id>banned-scala</id>
1190 <goal>enforce</goal>
1194 <bannedDependencies>
1196 <exclude>org.scala-lang:scala-library</exclude>
1198 <message>We don't allow Scala, see HBASE-13992.</message>
1199 </bannedDependencies>
1204 <id>banned-commons-logging</id>
1206 <goal>enforce</goal>
1210 <bannedDependencies>
1212 <exclude>commons-logging:commons-logging</exclude>
1215 We don't use commons-logging any more, so do not depend on it directly.
1217 <searchTransitive>false</searchTransitive>
1218 </bannedDependencies>
1223 <id>banned-log4j</id>
1225 <goal>enforce</goal>
1229 <bannedDependencies>
1231 <exclude>log4j:log4j</exclude>
1234 We do not allow log4j dependencies as now we use log4j2
1236 </bannedDependencies>
1241 <id>banned-slf4j-log4j12</id>
1243 <goal>enforce</goal>
1247 <bannedDependencies>
1249 <exclude>org.slf4j:slf4j-log4j12</exclude>
1252 We do not allow slf4j-log4j12 dependency as now we use log4j-slf4j-impl
1254 </bannedDependencies>
1259 <id>banned-jetty</id>
1261 <goal>enforce</goal>
1265 <bannedDependencies>
1267 <exclude>org.eclipse.jetty:**</exclude>
1270 Use shaded jetty instead
1272 <searchTransitive>false</searchTransitive>
1273 </bannedDependencies>
1278 <id>banned-jersey</id>
1280 <goal>enforce</goal>
1284 <bannedDependencies>
1286 <exclude>org.glassfish.jersey.containers:**</exclude>
1287 <exclude>org.glassfish.jersey.core:**</exclude>
1290 Use shaded jersey instead
1292 <searchTransitive>false</searchTransitive>
1293 </bannedDependencies>
1298 <id>banned-htrace</id>
1300 <goal>enforce</goal>
1304 <bannedDependencies>
1306 <exclude>org.apache.htrace:**</exclude>
1309 Use OpenTelemetry instead
1311 <searchTransitive>false</searchTransitive>
1312 </bannedDependencies>
1317 <id>check-aggregate-license</id>
1318 <!-- must check after LICENSE is built at 'generate-resources' -->
1319 <phase>process-resources</phase>
1321 <goal>enforce</goal>
1327 File license = new File("${license.aggregate.path}");
1329 // Beanshell does not support try-with-resources,
1330 // so we must close this scanner manually
1331 Scanner scanner = new Scanner(license);
1333 while (scanner.hasNextLine()) {
1334 if (scanner.nextLine().startsWith("ERROR:")) {
1343 License errors detected, for more detail find ERROR in
1344 ${license.aggregate.path}
1346 </evaluateBeanshell>
1348 <skip>${skip.license.check}</skip>
1352 <id>banned-illegal-imports</id>
1353 <phase>process-sources</phase>
1355 <goal>enforce</goal>
1359 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1360 <includeTestCode>true</includeTestCode>
1361 <commentLineBufferSize>512</commentLineBufferSize>
1362 <reason>Use SLF4j for logging</reason>
1364 <bannedImport>org.apache.commons.logging.**</bannedImport>
1365 <bannedImport>org.apache.log4j.**</bannedImport>
1366 <bannedImport>org.apache.logging.log4j.**</bannedImport>
1369 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1370 <includeTestCode>false</includeTestCode>
1371 <commentLineBufferSize>512</commentLineBufferSize>
1373 Do not use log4j2 directly in code, see Log4jUtils in hbase-logging for more details.
1376 <bannedImport>org.apache.logging.log4j.**</bannedImport>
1379 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1380 <includeTestCode>true</includeTestCode>
1381 <commentLineBufferSize>512</commentLineBufferSize>
1382 <reason>Use shaded version in hbase-thirdparty</reason>
1384 <bannedImport>com.google.common.**</bannedImport>
1385 <bannedImport>io.netty.**</bannedImport>
1386 <bannedImport>org.apache.commons.cli.**</bannedImport>
1387 <bannedImport>org.apache.commons.collections.**</bannedImport>
1388 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1391 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1392 <includeTestCode>true</includeTestCode>
1393 <commentLineBufferSize>512</commentLineBufferSize>
1394 <reason>Do not use shaded classes from other dependencies</reason>
1396 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1397 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1400 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1401 <includeTestCode>true</includeTestCode>
1402 <commentLineBufferSize>512</commentLineBufferSize>
1403 <reason>Use shaded gson in hbase-thirdparty</reason>
1405 <bannedImport>org.codehaus.jackson.**</bannedImport>
1408 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1409 <includeTestCode>true</includeTestCode>
1410 <commentLineBufferSize>512</commentLineBufferSize>
1411 <reason>Use commons lang 3</reason>
1413 <bannedImport>org.apache.commons.lang.**</bannedImport>
1416 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1417 <includeTestCode>true</includeTestCode>
1418 <commentLineBufferSize>512</commentLineBufferSize>
1419 <reason>Use yetus IA and IS annotations</reason>
1421 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1424 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1425 <includeTestCode>true</includeTestCode>
1426 <commentLineBufferSize>512</commentLineBufferSize>
1427 <reason>Do not use htrace</reason>
1429 <bannedImport>org.htrace.**</bannedImport>
1430 <bannedImport>org.apache.htrace.**</bannedImport>
1433 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1434 <includeTestCode>true</includeTestCode>
1435 <commentLineBufferSize>512</commentLineBufferSize>
1436 <reason>Use shaded jetty in hbase-thirdparty</reason>
1438 <bannedImport>org.eclipse.jetty.**</bannedImport>
1441 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1442 <includeTestCode>true</includeTestCode>
1443 <commentLineBufferSize>512</commentLineBufferSize>
1444 <reason>Use shaded jersey in hbase-thirdparty</reason>
1446 <bannedImport>org.glassfish.jersey.**</bannedImport>
1449 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1450 <includeTestCode>true</includeTestCode>
1451 <commentLineBufferSize>512</commentLineBufferSize>
1453 You should never use this style of annotations(i.e, 'this is for test only')
1454 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1456 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1459 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1467 <!-- parent-module only plugins -->
1469 <groupId>org.codehaus.mojo</groupId>
1470 <artifactId>xml-maven-plugin</artifactId>
1471 <version>${xml.maven.version}</version>
1472 <inherited>false</inherited>
1475 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1477 <goal>transform</goal>
1483 <transformationSets>
1484 <!-- For asciidoc -->
1486 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1487 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1489 <include>hbase-default.xml</include>
1491 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1493 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1494 <pattern>^(.*)\.xml$</pattern>
1495 <replacement>$1.adoc</replacement>
1498 <outputDir>${basedir}/target/asciidoc</outputDir>
1499 </transformationSet>
1500 </transformationSets>
1503 <!-- Special configuration for spotbugs just in the parent so
1504 the filter file location can be more general (see definition in pluginManagement) -->
1506 <groupId>com.github.spotbugs</groupId>
1507 <artifactId>spotbugs-maven-plugin</artifactId>
1510 <inherited>false</inherited>
1512 <goal>spotbugs</goal>
1515 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1521 <groupId>org.apache.maven.plugins</groupId>
1522 <artifactId>maven-checkstyle-plugin</artifactId>
1525 <groupId>org.apache.maven.plugins</groupId>
1526 <artifactId>maven-site-plugin</artifactId>
1529 <!-- add support for ssh/scp -->
1530 <groupId>org.apache.maven.wagon</groupId>
1531 <artifactId>wagon-ssh</artifactId>
1532 <version>${wagon.ssh.version}</version>
1536 <siteDirectory>${basedir}/src/site</siteDirectory>
1537 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1538 <inputEncoding>UTF-8</inputEncoding>
1539 <outputEncoding>UTF-8</outputEncoding>
1542 <!-- For AsciiDoc docs building -->
1544 <groupId>org.asciidoctor</groupId>
1545 <artifactId>asciidoctor-maven-plugin</artifactId>
1546 <version>${asciidoctor.plugin.version}</version>
1547 <inherited>false</inherited>
1550 <groupId>org.asciidoctor</groupId>
1551 <artifactId>asciidoctorj-pdf</artifactId>
1552 <version>${asciidoctorj.pdf.version}</version>
1555 <groupId>org.jruby</groupId>
1556 <artifactId>jruby-complete</artifactId>
1557 <version>${jruby.version}</version>
1561 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1562 <doctype>book</doctype>
1564 <docVersion>${project.version}</docVersion>
1565 <imagesdir>images</imagesdir>
1566 <source-highlighter>coderay</source-highlighter>
1571 <id>output-html</id>
1574 <goal>process-asciidoc</goal>
1578 <stylesheet>hbase.css</stylesheet>
1580 <backend>html5</backend>
1587 <goal>process-asciidoc</goal>
1590 <backend>pdf</backend>
1595 <idseparator>-</idseparator>
1602 <groupId>org.apache.maven.plugins</groupId>
1603 <artifactId>maven-resources-plugin</artifactId>
1604 <!--$NO-MVN-MAN-VER$ -->
1605 <inherited>false</inherited>
1608 <id>copy-htaccess</id>
1610 <goal>copy-resources</goal>
1614 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1617 <directory>${basedir}/src/site/resources/</directory>
1619 <include>.htaccess</include>
1625 <!-- needed to make the redirect above work -->
1627 <id>copy-empty-book-dir</id>
1629 <goal>copy-resources</goal>
1633 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1636 <directory>${basedir}/src/site/resources/</directory>
1638 <include>book/**</include>
1646 <escapeString>\</escapeString>
1650 <groupId>org.apache.maven.plugins</groupId>
1651 <artifactId>maven-antrun-plugin</artifactId>
1652 <version>${maven.antrun.version}</version>
1653 <inherited>false</inherited>
1654 <!-- Rename the book.pdf generated by asciidoctor -->
1660 <target name="rename file">
1661 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1671 <groupId>org.codehaus.mojo</groupId>
1672 <artifactId>buildnumber-maven-plugin</artifactId>
1675 <phase>validate</phase>
1677 <goal>create-timestamp</goal>
1682 <timestampFormat>yyyy</timestampFormat>
1683 <timestampPropertyName>build.year</timestampPropertyName>
1687 <groupId>org.apache.felix</groupId>
1688 <artifactId>maven-bundle-plugin</artifactId>
1689 <version>${maven.bundle.version}</version>
1690 <inherited>true</inherited>
1691 <extensions>true</extensions>
1696 <!-- override on command line to have generated LICENSE files include
1697 diagnostic info for verifying notice requirements -->
1698 <license.debug.print.included>false</license.debug.print.included>
1699 <!-- When a particular module bundles its depenendencies, should be true -->
1700 <license.bundles.dependencies>false</license.bundles.dependencies>
1701 <!-- modules that include a the logo in their source tree should set true -->
1702 <license.bundles.logo>false</license.bundles.logo>
1703 <!-- modules that include bootstrap in their source tree should set true -->
1704 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1705 <!-- modules that include jquery in their source tree should set true -->
1706 <license.bundles.jquery>false</license.bundles.jquery>
1707 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1708 <maven.build.timestamp.format>
1710 </maven.build.timestamp.format>
1711 <buildDate>${maven.build.timestamp}</buildDate>
1712 <compileSource>1.8</compileSource>
1713 <!-- Build dependencies -->
1714 <maven.min.version>3.0.4</maven.min.version>
1715 <java.min.version>${compileSource}</java.min.version>
1716 <!-- Dependencies -->
1717 <hadoop-three.version>3.1.2</hadoop-three.version>
1718 <!-- These must be defined here for downstream build tools that don't look at profiles.
1720 <hadoop.version>${hadoop-three.version}</hadoop.version>
1721 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
1722 <!--This property is for hadoops netty. HBase netty
1723 comes in via hbase-thirdparty hbase-shaded-netty-->
1724 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
1725 <!-- end HBASE-15925 default hadoop compatibility values -->
1726 <audience-annotations.version>0.5.0</audience-annotations.version>
1727 <avro.version>1.7.7</avro.version>
1728 <caffeine.version>2.8.1</caffeine.version>
1729 <commons-codec.version>1.13</commons-codec.version>
1730 <commons-validator.version>1.6</commons-validator.version>
1731 <commons-io.version>2.11.0</commons-io.version>
1732 <commons-lang3.version>3.9</commons-lang3.version>
1733 <commons-math.version>3.6.1</commons-math.version>
1734 <disruptor.version>3.4.2</disruptor.version>
1735 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1736 especially when writing out 'no column families'. Later httpclients collapse the '//'
1737 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1738 TestRemoteTable. -->
1739 <httpclient.version>4.5.3</httpclient.version>
1740 <httpcore.version>4.4.13</httpcore.version>
1741 <metrics-core.version>3.2.6</metrics-core.version>
1742 <jackson.version>2.10.1</jackson.version>
1743 <jackson.databind.version>2.10.1</jackson.databind.version>
1744 <jaxb-api.version>2.3.1</jaxb-api.version>
1745 <servlet.api.version>3.1.0</servlet.api.version>
1746 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1747 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1748 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1749 <jruby.version>9.2.13.0</jruby.version>
1750 <junit.version>4.13</junit.version>
1751 <hamcrest.version>1.3</hamcrest.version>
1752 <opentelemetry.version>1.0.1</opentelemetry.version>
1753 <opentelemetry-javaagent.version>1.0.1</opentelemetry-javaagent.version>
1754 <log4j2.version>2.16.0</log4j2.version>
1755 <mockito-core.version>2.28.2</mockito-core.version>
1756 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1757 <thrift.path>thrift</thrift.path>
1758 <thrift.version>0.14.1</thrift.version>
1759 <zookeeper.version>3.5.7</zookeeper.version>
1760 <jline.version>2.11</jline.version>
1761 <slf4j.version>1.7.30</slf4j.version>
1762 <clover.version>4.0.3</clover.version>
1763 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1764 <jettison.version>1.3.8</jettison.version>
1765 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1766 <joni.version>2.1.31</joni.version>
1767 <jcodings.version>1.0.55</jcodings.version>
1768 <spy.version>2.12.2</spy.version>
1769 <bouncycastle.version>1.60</bouncycastle.version>
1770 <kerby.version>1.0.1</kerby.version>
1771 <commons-crypto.version>1.0.0</commons-crypto.version>
1772 <curator.version>4.2.0</curator.version>
1773 <!-- Plugin Dependencies -->
1774 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1775 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1776 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1777 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1779 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1781 <checkstyle.version>8.28</checkstyle.version>
1782 <exec.maven.version>1.6.0</exec.maven.version>
1783 <error-prone.version>2.4.0</error-prone.version>
1784 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1785 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1786 <maven.antrun.version>1.8</maven.antrun.version>
1787 <maven.bundle.version>3.3.0</maven.bundle.version>
1788 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1789 <maven.eclipse.version>2.10</maven.eclipse.version>
1790 <maven.gpg.version>3.0.1</maven.gpg.version>
1791 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1792 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1793 <maven.project.info.report.version>3.1.2</maven.project.info.report.version>
1794 <os.maven.version>1.5.0.Final</os.maven.version>
1795 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1796 <spotbugs.version>4.2.2</spotbugs.version>
1797 <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1798 <surefire.version>3.0.0-M4</surefire.version>
1799 <wagon.ssh.version>2.12</wagon.ssh.version>
1800 <xml.maven.version>1.0.1</xml.maven.version>
1801 <!-- compression -->
1802 <aircompressor.version>0.21</aircompressor.version>
1803 <lz4.version>1.8.0</lz4.version>
1804 <snappy.version>1.1.8.4</snappy.version>
1805 <xz.version>1.9</xz.version>
1806 <zstd-jni.version>1.5.0-4</zstd-jni.version>
1807 <hbase-thirdparty.version>3.5.1</hbase-thirdparty.version>
1808 <!-- Intraproject jar naming properties -->
1809 <!-- TODO this is pretty ugly, but works for the moment.
1810 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1811 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1812 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1813 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1814 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1815 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1816 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1817 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1818 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1819 <shell-executable>bash</shell-executable>
1820 <surefire.provider>surefire-junit47</surefire.provider>
1821 <!-- default: run small & medium, medium with 2 threads -->
1822 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1823 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1824 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1825 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1826 value is you want to burn through tests faster (could make for more failures
1827 if more contention around resources). There is a matching MAVEN_ARG
1828 in our yetus personality where we set the maven -T command to 0.25C too.
1829 For example, to run at a rate that is more furious than our 0.25C, do
1830 something like this:
1831 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1833 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1834 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1835 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1836 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1837 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1838 <test.output.tofile>true</test.output.tofile>
1839 <surefire.timeout>900</surefire.timeout>
1840 <test.exclude.pattern></test.exclude.pattern>
1842 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1843 This value is managed separately for jdk11. See below.
1845 <surefire.Xmx>2200m</surefire.Xmx>
1846 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1847 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1849 And for netty eventloops that have no explicit configuration, netty sets
1850 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1853 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1854 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1855 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1856 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1857 -Dio.netty.eventLoopThreads=3
1858 </hbase-surefire.argLine>
1859 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1860 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1861 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1862 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1863 </hbase-surefire.cygwin-argLine>
1864 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1865 <argLine>${hbase-surefire.argLine}</argLine>
1866 <jacoco.version>0.7.5.201505241946</jacoco.version>
1867 <extra.enforcer.version>1.3</extra.enforcer.version>
1868 <enforcer.version>3.0.0-M3</enforcer.version>
1869 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1870 <!-- Location of test resources -->
1871 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1872 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1873 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1874 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1875 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1876 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1877 <build.id>${maven.build.timestamp}</build.id>
1878 <shell-executable>bash</shell-executable>
1879 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1880 property as of javadoc-plugin 3.0.0 -->
1881 <doclint>none</doclint>
1883 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1884 <dependencyManagement>
1887 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1888 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1889 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1890 implementation of the same, because Hadoop also uses this version
1891 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1892 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1894 <!-- Intra-module dependencies -->
1896 <groupId>org.apache.hbase</groupId>
1897 <artifactId>hbase-annotations</artifactId>
1898 <version>${project.version}</version>
1899 <type>test-jar</type>
1900 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1903 <artifactId>hbase-backup</artifactId>
1904 <groupId>org.apache.hbase</groupId>
1905 <version>${project.version}</version>
1908 <groupId>org.apache.hbase</groupId>
1909 <artifactId>hbase-common</artifactId>
1910 <version>${project.version}</version>
1913 <groupId>org.apache.hbase</groupId>
1914 <artifactId>hbase-common</artifactId>
1915 <version>${project.version}</version>
1916 <type>test-jar</type>
1920 <groupId>org.apache.hbase</groupId>
1921 <artifactId>hbase-logging</artifactId>
1922 <version>${project.version}</version>
1925 <groupId>org.apache.hbase</groupId>
1926 <artifactId>hbase-logging</artifactId>
1927 <version>${project.version}</version>
1928 <type>test-jar</type>
1932 <groupId>org.apache.hbase</groupId>
1933 <artifactId>hbase-protocol-shaded</artifactId>
1934 <version>${project.version}</version>
1937 <groupId>org.apache.hbase</groupId>
1938 <artifactId>hbase-procedure</artifactId>
1939 <version>${project.version}</version>
1942 <groupId>org.apache.hbase</groupId>
1943 <artifactId>hbase-procedure</artifactId>
1944 <version>${project.version}</version>
1945 <type>test-jar</type>
1948 <groupId>org.apache.hbase</groupId>
1949 <artifactId>hbase-hadoop-compat</artifactId>
1950 <version>${project.version}</version>
1953 <groupId>org.apache.hbase</groupId>
1954 <artifactId>hbase-hadoop-compat</artifactId>
1955 <version>${project.version}</version>
1956 <type>test-jar</type>
1960 <artifactId>hbase-replication</artifactId>
1961 <groupId>org.apache.hbase</groupId>
1962 <version>${project.version}</version>
1965 <artifactId>hbase-balancer</artifactId>
1966 <groupId>org.apache.hbase</groupId>
1967 <version>${project.version}</version>
1970 <artifactId>hbase-balancer</artifactId>
1971 <groupId>org.apache.hbase</groupId>
1972 <version>${project.version}</version>
1973 <type>test-jar</type>
1977 <artifactId>hbase-http</artifactId>
1978 <groupId>org.apache.hbase</groupId>
1979 <version>${project.version}</version>
1982 <artifactId>hbase-http</artifactId>
1983 <groupId>org.apache.hbase</groupId>
1984 <version>${project.version}</version>
1985 <type>test-jar</type>
1989 <artifactId>hbase-server</artifactId>
1990 <groupId>org.apache.hbase</groupId>
1991 <version>${project.version}</version>
1994 <artifactId>hbase-server</artifactId>
1995 <groupId>org.apache.hbase</groupId>
1996 <version>${project.version}</version>
1997 <type>test-jar</type>
2001 <artifactId>hbase-mapreduce</artifactId>
2002 <groupId>org.apache.hbase</groupId>
2003 <version>${project.version}</version>
2006 <artifactId>hbase-mapreduce</artifactId>
2007 <groupId>org.apache.hbase</groupId>
2008 <version>${project.version}</version>
2009 <type>test-jar</type>
2013 <artifactId>hbase-endpoint</artifactId>
2014 <groupId>org.apache.hbase</groupId>
2015 <version>${project.version}</version>
2018 <artifactId>hbase-shell</artifactId>
2019 <groupId>org.apache.hbase</groupId>
2020 <version>${project.version}</version>
2023 <artifactId>hbase-shell</artifactId>
2024 <groupId>org.apache.hbase</groupId>
2025 <version>${project.version}</version>
2026 <type>test-jar</type>
2030 <artifactId>hbase-thrift</artifactId>
2031 <groupId>org.apache.hbase</groupId>
2032 <version>${project.version}</version>
2035 <artifactId>hbase-thrift</artifactId>
2036 <groupId>org.apache.hbase</groupId>
2037 <version>${project.version}</version>
2038 <type>test-jar</type>
2042 <groupId>org.apache.hbase</groupId>
2043 <artifactId>hbase-testing-util</artifactId>
2044 <version>${project.version}</version>
2048 <artifactId>hbase-examples</artifactId>
2049 <groupId>org.apache.hbase</groupId>
2050 <version>${project.version}</version>
2053 <groupId>org.apache.hbase</groupId>
2054 <artifactId>hbase-external-blockcache</artifactId>
2055 <version>${project.version}</version>
2058 <artifactId>hbase-it</artifactId>
2059 <groupId>org.apache.hbase</groupId>
2060 <version>${project.version}</version>
2061 <type>test-jar</type>
2065 <artifactId>hbase-client</artifactId>
2066 <groupId>org.apache.hbase</groupId>
2067 <version>${project.version}</version>
2070 <artifactId>hbase-metrics-api</artifactId>
2071 <groupId>org.apache.hbase</groupId>
2072 <version>${project.version}</version>
2075 <artifactId>hbase-metrics-api</artifactId>
2076 <groupId>org.apache.hbase</groupId>
2077 <version>${project.version}</version>
2078 <type>test-jar</type>
2082 <artifactId>hbase-metrics</artifactId>
2083 <groupId>org.apache.hbase</groupId>
2084 <version>${project.version}</version>
2087 <artifactId>hbase-metrics</artifactId>
2088 <groupId>org.apache.hbase</groupId>
2089 <version>${project.version}</version>
2090 <type>test-jar</type>
2094 <artifactId>hbase-rest</artifactId>
2095 <groupId>org.apache.hbase</groupId>
2096 <version>${project.version}</version>
2099 <artifactId>hbase-resource-bundle</artifactId>
2100 <groupId>org.apache.hbase</groupId>
2101 <version>${project.version}</version>
2104 <artifactId>hbase-zookeeper</artifactId>
2105 <groupId>org.apache.hbase</groupId>
2106 <version>${project.version}</version>
2109 <groupId>com.google.code.findbugs</groupId>
2110 <artifactId>jsr305</artifactId>
2113 <groupId>com.github.spotbugs</groupId>
2114 <artifactId>spotbugs-annotations</artifactId>
2119 <artifactId>hbase-zookeeper</artifactId>
2120 <groupId>org.apache.hbase</groupId>
2121 <version>${project.version}</version>
2122 <type>test-jar</type>
2126 <artifactId>hbase-hbtop</artifactId>
2127 <groupId>org.apache.hbase</groupId>
2128 <version>${project.version}</version>
2131 <groupId>org.apache.hbase</groupId>
2132 <artifactId>hbase-shaded-client</artifactId>
2133 <version>${project.version}</version>
2136 <groupId>org.apache.hbase</groupId>
2137 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
2138 <version>${project.version}</version>
2141 <groupId>org.apache.hbase</groupId>
2142 <artifactId>hbase-shaded-mapreduce</artifactId>
2143 <version>${project.version}</version>
2146 <groupId>org.apache.hbase</groupId>
2147 <artifactId>hbase-asyncfs</artifactId>
2148 <version>${project.version}</version>
2151 <groupId>org.apache.hbase</groupId>
2152 <artifactId>hbase-asyncfs</artifactId>
2153 <version>${project.version}</version>
2154 <type>test-jar</type>
2158 <groupId>org.apache.hbase</groupId>
2159 <artifactId>hbase-compression-aircompressor</artifactId>
2160 <version>${project.version}</version>
2163 <groupId>org.apache.hbase</groupId>
2164 <artifactId>hbase-compression-lz4</artifactId>
2165 <version>${project.version}</version>
2168 <groupId>org.apache.hbase</groupId>
2169 <artifactId>hbase-compression-snappy</artifactId>
2170 <version>${project.version}</version>
2173 <groupId>org.apache.hbase</groupId>
2174 <artifactId>hbase-compression-xz</artifactId>
2175 <version>${project.version}</version>
2178 <groupId>org.apache.hbase</groupId>
2179 <artifactId>hbase-compression-zstd</artifactId>
2180 <version>${project.version}</version>
2182 <!-- General dependencies -->
2184 <groupId>com.github.stephenc.findbugs</groupId>
2185 <artifactId>findbugs-annotations</artifactId>
2186 <version>${findbugs-annotations.version}</version>
2189 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
2190 modules should depend on slf4j-api at compile scope, and then depend on log4j-slf4j-impl
2191 and log4j2 at test scope(and in hbase-assembly when shipping the binary) to redirect the
2192 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
2193 scope as it will mess up the logging framework for downstream users.
2194 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
2195 on use these logging framework so we need to redirect their log message to slf4j, and then
2196 redirect the log message to our log4j framework.
2199 <groupId>org.codehaus.jettison</groupId>
2200 <artifactId>jettison</artifactId>
2201 <version>${jettison.version}</version>
2205 <groupId>org.slf4j</groupId>
2206 <artifactId>slf4j-api</artifactId>
2207 <version>${slf4j.version}</version>
2210 <groupId>org.slf4j</groupId>
2211 <artifactId>jcl-over-slf4j</artifactId>
2212 <version>${slf4j.version}</version>
2215 <groupId>org.slf4j</groupId>
2216 <artifactId>jul-to-slf4j</artifactId>
2217 <version>${slf4j.version}</version>
2220 <groupId>org.apache.logging.log4j</groupId>
2221 <artifactId>log4j-api</artifactId>
2222 <version>${log4j2.version}</version>
2225 <groupId>org.apache.logging.log4j</groupId>
2226 <artifactId>log4j-core</artifactId>
2227 <version>${log4j2.version}</version>
2230 <groupId>org.apache.logging.log4j</groupId>
2231 <artifactId>log4j-slf4j-impl</artifactId>
2232 <version>${log4j2.version}</version>
2235 <groupId>org.apache.logging.log4j</groupId>
2236 <artifactId>log4j-1.2-api</artifactId>
2237 <version>${log4j2.version}</version>
2239 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
2241 <groupId>org.apache.avro</groupId>
2242 <artifactId>avro</artifactId>
2243 <version>${avro.version}</version>
2246 <groupId>com.github.ben-manes.caffeine</groupId>
2247 <artifactId>caffeine</artifactId>
2248 <version>${caffeine.version}</version>
2251 <groupId>io.dropwizard.metrics</groupId>
2252 <artifactId>metrics-core</artifactId>
2253 <version>${metrics-core.version}</version>
2256 <groupId>org.apache.httpcomponents</groupId>
2257 <artifactId>httpclient</artifactId>
2258 <version>${httpclient.version}</version>
2261 <groupId>org.apache.httpcomponents</groupId>
2262 <artifactId>httpcore</artifactId>
2263 <version>${httpcore.version}</version>
2266 <groupId>commons-codec</groupId>
2267 <artifactId>commons-codec</artifactId>
2268 <version>${commons-codec.version}</version>
2271 <groupId>commons-validator</groupId>
2272 <artifactId>commons-validator</artifactId>
2273 <version>${commons-validator.version}</version>
2276 <groupId>commons-io</groupId>
2277 <artifactId>commons-io</artifactId>
2278 <version>${commons-io.version}</version>
2281 <groupId>org.apache.commons</groupId>
2282 <artifactId>commons-lang3</artifactId>
2283 <version>${commons-lang3.version}</version>
2286 <groupId>org.apache.commons</groupId>
2287 <artifactId>commons-math3</artifactId>
2288 <version>${commons-math.version}</version>
2291 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2294 <groupId>commons-logging</groupId>
2295 <artifactId>commons-logging</artifactId>
2296 <version>1.2</version>
2299 <groupId>org.apache.zookeeper</groupId>
2300 <artifactId>zookeeper</artifactId>
2301 <version>${zookeeper.version}</version>
2304 <groupId>com.google.code.findbugs</groupId>
2305 <artifactId>jsr305</artifactId>
2308 <groupId>com.github.spotbugs</groupId>
2309 <artifactId>spotbugs-annotations</artifactId>
2312 <groupId>jline</groupId>
2313 <artifactId>jline</artifactId>
2316 <groupId>com.sun.jmx</groupId>
2317 <artifactId>jmxri</artifactId>
2320 <groupId>com.sun.jdmk</groupId>
2321 <artifactId>jmxtools</artifactId>
2324 <groupId>javax.jms</groupId>
2325 <artifactId>jms</artifactId>
2328 <groupId>io.netty</groupId>
2329 <artifactId>netty</artifactId>
2332 <groupId>io.netty</groupId>
2333 <artifactId>netty-all</artifactId>
2336 <groupId>org.slf4j</groupId>
2337 <artifactId>slf4j-log4j12</artifactId>
2340 <groupId>log4j</groupId>
2341 <artifactId>log4j</artifactId>
2346 <groupId>jline</groupId>
2347 <artifactId>jline</artifactId>
2348 <version>${jline.version}</version>
2351 <groupId>org.apache.thrift</groupId>
2352 <artifactId>libthrift</artifactId>
2353 <version>${thrift.version}</version>
2356 <groupId>org.apache.tomcat.embed</groupId>
2357 <artifactId>tomcat-embed-core</artifactId>
2362 <groupId>org.jruby</groupId>
2363 <artifactId>jruby-complete</artifactId>
2364 <version>${jruby.version}</version>
2367 <groupId>org.jruby.jcodings</groupId>
2368 <artifactId>jcodings</artifactId>
2369 <version>${jcodings.version}</version>
2372 <groupId>org.jruby.joni</groupId>
2373 <artifactId>joni</artifactId>
2374 <version>${joni.version}</version>
2377 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2378 <artifactId>jackson-jaxrs-json-provider</artifactId>
2379 <version>${jackson.version}</version>
2382 <groupId>com.fasterxml.jackson.core</groupId>
2383 <artifactId>jackson-annotations</artifactId>
2384 <version>${jackson.version}</version>
2387 <groupId>com.fasterxml.jackson.core</groupId>
2388 <artifactId>jackson-core</artifactId>
2389 <version>${jackson.version}</version>
2392 <groupId>com.fasterxml.jackson.core</groupId>
2393 <artifactId>jackson-databind</artifactId>
2394 <version>${jackson.databind.version}</version>
2397 <groupId>org.jamon</groupId>
2398 <artifactId>jamon-runtime</artifactId>
2399 <version>${jamon-runtime.version}</version>
2401 <!-- REST dependencies -->
2403 <groupId>javax.servlet</groupId>
2404 <artifactId>javax.servlet-api</artifactId>
2405 <version>${servlet.api.version}</version>
2408 <groupId>javax.ws.rs</groupId>
2409 <artifactId>javax.ws.rs-api</artifactId>
2410 <version>${wx.rs.api.version}</version>
2413 <groupId>com.sun.activation</groupId>
2414 <artifactId>javax.activation</artifactId>
2415 <version>1.2.0</version>
2418 <groupId>javax.annotation</groupId>
2419 <artifactId>javax.annotation-api</artifactId>
2420 <version>1.2</version>
2423 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2424 <groupId>org.glassfish.web</groupId>
2425 <artifactId>javax.servlet.jsp</artifactId>
2426 <version>${glassfish.jsp.version}</version>
2429 <!-- this lib is used by the compiled Jsp from the above JspC -->
2430 <groupId>javax.servlet.jsp</groupId>
2431 <artifactId>javax.servlet.jsp-api</artifactId>
2432 <version>2.3.1</version>
2435 <groupId>org.glassfish</groupId>
2436 <artifactId>javax.el</artifactId>
2437 <version>${glassfish.el.version}</version>
2440 <groupId>javax.xml.bind</groupId>
2441 <artifactId>jaxb-api</artifactId>
2442 <version>${jaxb-api.version}</version>
2445 <groupId>javax.xml.stream</groupId>
2446 <artifactId>stax-api</artifactId>
2451 <groupId>junit</groupId>
2452 <artifactId>junit</artifactId>
2453 <version>${junit.version}</version>
2456 <groupId>org.hamcrest</groupId>
2457 <artifactId>hamcrest-core</artifactId>
2458 <version>${hamcrest.version}</version>
2461 <groupId>org.hamcrest</groupId>
2462 <artifactId>hamcrest-library</artifactId>
2463 <version>${hamcrest.version}</version>
2466 <groupId>org.mockito</groupId>
2467 <artifactId>mockito-core</artifactId>
2468 <version>${mockito-core.version}</version>
2472 <groupId>io.opentelemetry</groupId>
2473 <artifactId>opentelemetry-bom</artifactId>
2474 <version>${opentelemetry.version}</version>
2476 <scope>import</scope>
2479 <groupId>io.opentelemetry</groupId>
2480 <artifactId>opentelemetry-semconv</artifactId>
2481 <version>${opentelemetry.version}-alpha</version>
2484 <groupId>io.opentelemetry.javaagent</groupId>
2485 <artifactId>opentelemetry-javaagent</artifactId>
2486 <version>${opentelemetry-javaagent.version}</version>
2487 <classifier>all</classifier>
2490 <groupId>com.lmax</groupId>
2491 <artifactId>disruptor</artifactId>
2492 <version>${disruptor.version}</version>
2495 <groupId>net.spy</groupId>
2496 <artifactId>spymemcached</artifactId>
2497 <version>${spy.version}</version>
2498 <optional>true</optional>
2501 <groupId>org.bouncycastle</groupId>
2502 <artifactId>bcprov-jdk15on</artifactId>
2503 <version>${bouncycastle.version}</version>
2507 <groupId>org.apache.kerby</groupId>
2508 <artifactId>kerb-core</artifactId>
2509 <version>${kerby.version}</version>
2512 <groupId>org.apache.kerby</groupId>
2513 <artifactId>kerb-client</artifactId>
2514 <version>${kerby.version}</version>
2517 <groupId>org.apache.kerby</groupId>
2518 <artifactId>kerb-simplekdc</artifactId>
2519 <version>${kerby.version}</version>
2522 <groupId>org.apache.commons</groupId>
2523 <artifactId>commons-crypto</artifactId>
2524 <version>${commons-crypto.version}</version>
2527 <groupId>net.java.dev.jna</groupId>
2528 <artifactId>jna</artifactId>
2533 <groupId>org.apache.curator</groupId>
2534 <artifactId>curator-framework</artifactId>
2535 <version>${curator.version}</version>
2538 <groupId>org.apache.zookeeper</groupId>
2539 <artifactId>zookeeper</artifactId>
2544 <groupId>org.apache.curator</groupId>
2545 <artifactId>curator-client</artifactId>
2546 <version>${curator.version}</version>
2549 <groupId>com.google.guava</groupId>
2550 <artifactId>guava</artifactId>
2553 <groupId>org.apache.zookeeper</groupId>
2554 <artifactId>zookeeper</artifactId>
2559 <groupId>org.apache.curator</groupId>
2560 <artifactId>curator-recipes</artifactId>
2561 <version>${curator.version}</version>
2564 <groupId>com.google.guava</groupId>
2565 <artifactId>guava</artifactId>
2568 <groupId>org.apache.zookeeper</groupId>
2569 <artifactId>zookeeper</artifactId>
2574 <groupId>org.apache.yetus</groupId>
2575 <artifactId>audience-annotations</artifactId>
2576 <version>${audience-annotations.version}</version>
2578 <!-- compression -->
2580 <groupId>io.airlift</groupId>
2581 <artifactId>aircompressor</artifactId>
2582 <version>${aircompressor.version}</version>
2585 <groupId>org.lz4</groupId>
2586 <artifactId>lz4-java</artifactId>
2587 <version>${lz4.version}</version>
2590 <groupId>org.tukaani</groupId>
2591 <artifactId>xz</artifactId>
2592 <version>${xz.version}</version>
2595 <groupId>org.xerial.snappy</groupId>
2596 <artifactId>snappy-java</artifactId>
2597 <version>${snappy.version}</version>
2600 <groupId>com.github.luben</groupId>
2601 <artifactId>zstd-jni</artifactId>
2602 <version>${zstd-jni.version}</version>
2604 <!-- shaded thirdparty -->
2606 <groupId>org.apache.hbase.thirdparty</groupId>
2607 <artifactId>hbase-shaded-gson</artifactId>
2608 <version>${hbase-thirdparty.version}</version>
2611 <groupId>org.apache.hbase.thirdparty</groupId>
2612 <artifactId>hbase-shaded-miscellaneous</artifactId>
2613 <version>${hbase-thirdparty.version}</version>
2616 <groupId>org.apache.hbase.thirdparty</groupId>
2617 <artifactId>hbase-shaded-netty</artifactId>
2618 <version>${hbase-thirdparty.version}</version>
2621 <groupId>org.apache.hbase.thirdparty</groupId>
2622 <artifactId>hbase-shaded-protobuf</artifactId>
2623 <version>${hbase-thirdparty.version}</version>
2626 <groupId>org.apache.hbase.thirdparty</groupId>
2627 <artifactId>hbase-shaded-jetty</artifactId>
2628 <version>${hbase-thirdparty.version}</version>
2631 <groupId>org.apache.hbase.thirdparty</groupId>
2632 <artifactId>hbase-shaded-jersey</artifactId>
2633 <version>${hbase-thirdparty.version}</version>
2636 <groupId>com.sun.xml.ws</groupId>
2637 <artifactId>jaxws-ri</artifactId>
2638 <version>2.3.2</version>
2642 <groupId>javax.activation</groupId>
2643 <artifactId>javax.activation-api</artifactId>
2648 </dependencyManagement>
2650 <!--REMOVE THIS. HERE TEMPORARILY.
2651 Implication is that every module needs junit which is not so.
2652 Cannot undo though because build runs test on each module and
2653 it fails if no junit. TODO. -->
2655 <groupId>junit</groupId>
2656 <artifactId>junit</artifactId>
2662 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2667 <id>apache.releases.https</id>
2668 <username>hbase_committer</username>
2669 <password>********</password>
2673 <id>apache.snapshots.https</id>
2674 <username>hbase_committer</username>
2675 <password>********</password>
2683 $ mvn -s /my/path/settings.xml deploy
2688 <id>build-with-jdk8</id>
2700 <id>build-with-jdk11</id>
2705 <!-- TODO: replicate logic for windows support -->
2706 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2707 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2708 <hadoop-three.version>3.2.0</hadoop-three.version>
2710 Value to use for surefire when running jdk11.
2711 TODO: replicate logic for windows
2713 <surefire.Xmx>2200m</surefire.Xmx>
2716 <!-- profile activated by the Jenkins patch testing job -->
2718 <id>jenkins.patch</id>
2720 <activeByDefault>false</activeByDefault>
2722 <name>HBasePatchProcess</name>
2726 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2731 <groupId>org.apache.maven.plugins</groupId>
2732 <artifactId>maven-antrun-plugin</artifactId>
2733 <inherited>false</inherited>
2736 <phase>validate</phase>
2742 <echo>Maven Execution Environment</echo>
2743 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2755 <activeByDefault>false</activeByDefault>
2760 <groupId>org.jacoco</groupId>
2761 <artifactId>jacoco-maven-plugin</artifactId>
2762 <version>${jacoco.version}</version>
2765 <id>prepare-agent</id>
2767 <goal>prepare-agent</goal>
2772 <phase>prepare-package</phase>
2779 <systemPropertyVariables>
2780 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2781 </systemPropertyVariables>
2783 <exclude>**/generated/**/*.class</exclude>
2793 <activeByDefault>false</activeByDefault>
2795 <family>Linux</family>
2799 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2806 <family>Mac</family>
2810 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2817 <family>Windows</family>
2821 <build.platform>cygwin</build.platform>
2822 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2825 <!-- this profile should match the name of the release profile in the root asf pom -->
2827 <id>apache-release</id>
2830 <!-- This should insert itself in place of the normal deploy plugin and then
2831 handle either closing or dropping the staging repository for us depending
2832 on if the build succeeds.
2835 <groupId>org.sonatype.plugins</groupId>
2836 <artifactId>nexus-staging-maven-plugin</artifactId>
2837 <version>1.6.8</version>
2838 <extensions>true</extensions>
2840 <nexusUrl>https://repository.apache.org/</nexusUrl>
2841 <serverId>apache.releases.https</serverId>
2847 <!-- this profile should be activated for release builds -->
2853 <groupId>org.apache.rat</groupId>
2854 <artifactId>apache-rat-plugin</artifactId>
2857 <phase>package</phase>
2865 <groupId>org.apache.maven.plugins</groupId>
2866 <artifactId>maven-enforcer-plugin</artifactId>
2867 <version>${enforcer.version}</version>
2870 <groupId>org.codehaus.mojo</groupId>
2871 <artifactId>extra-enforcer-rules</artifactId>
2872 <version>${extra.enforcer.version}</version>
2877 <enforceBytecodeVersion>
2878 <maxJdkVersion>${compileSource}</maxJdkVersion>
2879 <message>HBase has unsupported dependencies.
2880 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2881 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2882 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2883 Non-release builds can temporarily build with a newer JDK version by setting the
2884 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2887 <ignoreClass>module-info</ignoreClass>
2889 </enforceBytecodeVersion>
2896 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2897 <!-- Submodules that need hadoop dependencies should declare
2898 profiles with activation properties matching the profile here.
2899 Generally, it should be sufficient to copy the first
2900 few lines of the profile you want to match. -->
2901 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2905 <property><name>!hadoop.profile</name></property>
2908 <hadoop.version>${hadoop-three.version}</hadoop.version>
2909 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2911 <dependencyManagement>
2914 <groupId>org.apache.hadoop</groupId>
2915 <artifactId>hadoop-mapreduce-client-core</artifactId>
2916 <version>${hadoop-three.version}</version>
2919 <groupId>com.sun.jersey</groupId>
2920 <artifactId>jersey-core</artifactId>
2923 <groupId>org.codehaus.jackson</groupId>
2924 <artifactId>jackson-jaxrs</artifactId>
2927 <groupId>org.codehaus.jackson</groupId>
2928 <artifactId>jackson-xc</artifactId>
2931 <groupId>io.netty</groupId>
2932 <artifactId>netty</artifactId>
2935 <groupId>io.netty</groupId>
2936 <artifactId>netty-all</artifactId>
2939 <groupId>javax.servlet</groupId>
2940 <artifactId>servlet-api</artifactId>
2943 <groupId>javax.inject</groupId>
2944 <artifactId>javax.inject</artifactId>
2947 <groupId>org.codehaus.jackson</groupId>
2948 <artifactId>jackson-core-asl</artifactId>
2951 <groupId>org.codehaus.jackson</groupId>
2952 <artifactId>jackson-mapper-asl</artifactId>
2955 <groupId>com.google.guava</groupId>
2956 <artifactId>guava</artifactId>
2959 <groupId>org.slf4j</groupId>
2960 <artifactId>slf4j-log4j12</artifactId>
2963 <groupId>log4j</groupId>
2964 <artifactId>log4j</artifactId>
2969 <groupId>org.apache.hadoop</groupId>
2970 <artifactId>hadoop-mapreduce-client-app</artifactId>
2971 <version>${hadoop-three.version}</version>
2972 <type>test-jar</type>
2975 <groupId>org.codehaus.jackson</groupId>
2976 <artifactId>jackson-mapper-asl</artifactId>
2979 <groupId>org.codehaus.jackson</groupId>
2980 <artifactId>jackson-core-asl</artifactId>
2983 <groupId>org.codehaus.jackson</groupId>
2984 <artifactId>jackson-jaxrs</artifactId>
2987 <groupId>org.codehaus.jackson</groupId>
2988 <artifactId>jackson-xc</artifactId>
2991 <groupId>javax.xml.bind</groupId>
2992 <artifactId>jaxb-api</artifactId>
2995 <groupId>javax.ws.rs</groupId>
2996 <artifactId>jsr311-api</artifactId>
2999 <groupId>org.slf4j</groupId>
3000 <artifactId>slf4j-log4j12</artifactId>
3003 <groupId>log4j</groupId>
3004 <artifactId>log4j</artifactId>
3009 <groupId>org.apache.hadoop</groupId>
3010 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3011 <version>${hadoop-three.version}</version>
3014 <groupId>com.sun.jersey</groupId>
3015 <artifactId>jersey-core</artifactId>
3018 <groupId>io.netty</groupId>
3019 <artifactId>netty</artifactId>
3022 <groupId>io.netty</groupId>
3023 <artifactId>netty-all</artifactId>
3026 <groupId>javax.servlet</groupId>
3027 <artifactId>servlet-api</artifactId>
3030 <groupId>org.slf4j</groupId>
3031 <artifactId>slf4j-log4j12</artifactId>
3036 <groupId>org.apache.hadoop</groupId>
3037 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3038 <version>${hadoop-three.version}</version>
3039 <type>test-jar</type>
3043 <groupId>com.sun.jersey</groupId>
3044 <artifactId>jersey-core</artifactId>
3047 <groupId>io.netty</groupId>
3048 <artifactId>netty</artifactId>
3051 <groupId>io.netty</groupId>
3052 <artifactId>netty-all</artifactId>
3055 <groupId>javax.servlet</groupId>
3056 <artifactId>servlet-api</artifactId>
3059 <groupId>org.slf4j</groupId>
3060 <artifactId>slf4j-log4j12</artifactId>
3065 <groupId>org.apache.hadoop</groupId>
3066 <artifactId>hadoop-hdfs</artifactId>
3067 <version>${hadoop-three.version}</version>
3070 <groupId>com.sun.jersey</groupId>
3071 <artifactId>jersey-core</artifactId>
3074 <groupId>com.sun.jersey</groupId>
3075 <artifactId>jersey-server</artifactId>
3078 <groupId>javax.servlet.jsp</groupId>
3079 <artifactId>jsp-api</artifactId>
3082 <groupId>javax.servlet</groupId>
3083 <artifactId>servlet-api</artifactId>
3086 <groupId>stax</groupId>
3087 <artifactId>stax-api</artifactId>
3090 <groupId>xerces</groupId>
3091 <artifactId>xercesImpl</artifactId>
3094 <groupId>org.codehaus.jackson</groupId>
3095 <artifactId>jackson-core-asl</artifactId>
3098 <groupId>org.codehaus.jackson</groupId>
3099 <artifactId>jackson-mapper-asl</artifactId>
3102 <groupId>com.google.guava</groupId>
3103 <artifactId>guava</artifactId>
3106 <groupId>org.slf4j</groupId>
3107 <artifactId>slf4j-log4j12</artifactId>
3110 <groupId>log4j</groupId>
3111 <artifactId>log4j</artifactId>
3116 <groupId>org.apache.hadoop</groupId>
3117 <artifactId>hadoop-hdfs</artifactId>
3118 <version>${hadoop-three.version}</version>
3119 <type>test-jar</type>
3123 <groupId>javax.servlet.jsp</groupId>
3124 <artifactId>jsp-api</artifactId>
3127 <groupId>javax.servlet</groupId>
3128 <artifactId>servlet-api</artifactId>
3131 <groupId>stax</groupId>
3132 <artifactId>stax-api</artifactId>
3135 <groupId>xerces</groupId>
3136 <artifactId>xercesImpl</artifactId>
3139 <groupId>org.codehaus.jackson</groupId>
3140 <artifactId>jackson-core-asl</artifactId>
3143 <groupId>org.codehaus.jackson</groupId>
3144 <artifactId>jackson-mapper-asl</artifactId>
3147 <groupId>com.google.guava</groupId>
3148 <artifactId>guava</artifactId>
3151 <groupId>com.sun.jersey</groupId>
3152 <artifactId>jersey-core</artifactId>
3155 <groupId>org.slf4j</groupId>
3156 <artifactId>slf4j-log4j12</artifactId>
3159 <groupId>log4j</groupId>
3160 <artifactId>log4j</artifactId>
3165 <groupId>org.apache.hadoop</groupId>
3166 <artifactId>hadoop-hdfs</artifactId>
3167 <version>${hadoop-three.version}</version>
3168 <type>test-jar</type>
3169 <classifier>tests</classifier>
3173 <groupId>com.sun.jersey</groupId>
3174 <artifactId>jersey-core</artifactId>
3179 <groupId>org.apache.hadoop</groupId>
3180 <artifactId>hadoop-auth</artifactId>
3181 <version>${hadoop-three.version}</version>
3184 <groupId>com.google.guava</groupId>
3185 <artifactId>guava</artifactId>
3188 <groupId>net.minidev</groupId>
3189 <artifactId>json-smart</artifactId>
3192 <groupId>org.slf4j</groupId>
3193 <artifactId>slf4j-log4j12</artifactId>
3196 <groupId>log4j</groupId>
3197 <artifactId>log4j</artifactId>
3202 <groupId>org.apache.hadoop</groupId>
3203 <artifactId>hadoop-common</artifactId>
3204 <version>${hadoop-three.version}</version>
3207 <groupId>com.sun.jersey</groupId>
3208 <artifactId>jersey-core</artifactId>
3211 <groupId>com.sun.jersey</groupId>
3212 <artifactId>jersey-json</artifactId>
3215 <groupId>com.sun.jersey</groupId>
3216 <artifactId>jersey-servlet</artifactId>
3219 <groupId>com.sun.jersey</groupId>
3220 <artifactId>jersey-server</artifactId>
3223 <groupId>javax.servlet.jsp</groupId>
3224 <artifactId>jsp-api</artifactId>
3227 <groupId>javax.servlet</groupId>
3228 <artifactId>javax.servlet-api</artifactId>
3231 <groupId>stax</groupId>
3232 <artifactId>stax-api</artifactId>
3235 <groupId>io.netty</groupId>
3236 <artifactId>netty</artifactId>
3238 <!-- MiniMRCluster needs the hadoop netty-all transitive include... a
3239 netty-all 4.0.52 version.... so we have to let it through.
3241 <groupId>io.netty</groupId>
3242 <artifactId>netty-all</artifactId>
3246 <groupId>com.google.code.findbugs</groupId>
3247 <artifactId>jsr305</artifactId>
3250 <groupId>junit</groupId>
3251 <artifactId>junit</artifactId>
3254 <groupId>org.codehause.jackson</groupId>
3255 <artifactId>jackson-core-asl</artifactId>
3258 <groupId>org.codehause.jackson</groupId>
3259 <artifactId>jackson-mapper-asl</artifactId>
3262 <groupId>org.slf4j</groupId>
3263 <artifactId>slf4j-log4j12</artifactId>
3266 <groupId>log4j</groupId>
3267 <artifactId>log4j</artifactId>
3270 <groupId>io.netty</groupId>
3271 <artifactId>netty</artifactId>
3274 <groupId>io.netty</groupId>
3275 <artifactId>netty-all</artifactId>
3281 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3283 <groupId>javax.activation</groupId>
3284 <artifactId>javax.activation-api</artifactId>
3285 <version>1.2.0</version>
3289 <groupId>org.apache.hadoop</groupId>
3290 <artifactId>hadoop-common</artifactId>
3291 <type>test-jar</type>
3292 <classifier>tests</classifier>
3293 <version>${hadoop-three.version}</version>
3296 <groupId>com.sun.jersey</groupId>
3297 <artifactId>jersey-core</artifactId>
3300 <groupId>com.google.code.findbugs</groupId>
3301 <artifactId>jsr305</artifactId>
3304 <groupId>org.slf4j</groupId>
3305 <artifactId>slf4j-log4j12</artifactId>
3308 <groupId>log4j</groupId>
3309 <artifactId>log4j</artifactId>
3312 <groupId>io.netty</groupId>
3313 <artifactId>netty-all</artifactId>
3318 <groupId>org.apache.hadoop</groupId>
3319 <artifactId>hadoop-client</artifactId>
3320 <version>${hadoop-three.version}</version>
3323 <groupId>org.apache.hadoop</groupId>
3324 <artifactId>hadoop-annotations</artifactId>
3325 <version>${hadoop-three.version}</version>
3327 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3328 Where do we actually need it? -->
3330 <groupId>org.apache.hadoop</groupId>
3331 <artifactId>hadoop-minicluster</artifactId>
3332 <version>${hadoop-three.version}</version>
3334 <!--If we comment this in, a few tests in hbase-mapreduce
3335 fail. They depend on jersey-core somehow. But excluding
3336 jersey-core here messes up hbase-it because jersey-core
3337 implements a 1.x jaxrs Response Interface when we depend
3338 on the 2.x Interface... . Letting this jar come in
3339 transitively here but will exclude it down in hbase-it.
3342 <groupId>com.sun.jersey</groupId>
3343 <artifactId>jersey-core</artifactId>
3347 <groupId>commons-httpclient</groupId>
3348 <artifactId>commons-httpclient</artifactId>
3351 <groupId>javax.servlet.jsp</groupId>
3352 <artifactId>jsp-api</artifactId>
3355 <groupId>javax.servlet</groupId>
3356 <artifactId>servlet-api</artifactId>
3359 <groupId>stax</groupId>
3360 <artifactId>stax-api</artifactId>
3363 <groupId>io.netty</groupId>
3364 <artifactId>netty</artifactId>
3367 <groupId>io.netty</groupId>
3368 <artifactId>netty-all</artifactId>
3371 <groupId>com.google.code.findbugs</groupId>
3372 <artifactId>jsr305</artifactId>
3375 <groupId>org.slf4j</groupId>
3376 <artifactId>slf4j-log4j12</artifactId>
3379 <groupId>log4j</groupId>
3380 <artifactId>log4j</artifactId>
3385 <groupId>org.apache.hadoop</groupId>
3386 <artifactId>hadoop-minikdc</artifactId>
3387 <version>${hadoop-three.version}</version>
3391 <groupId>org.slf4j</groupId>
3392 <artifactId>slf4j-log4j12</artifactId>
3397 <groupId>org.apache.hadoop</groupId>
3398 <artifactId>hadoop-distcp</artifactId>
3399 <version>${hadoop-three.version}</version>
3403 <groupId>org.apache.hadoop</groupId>
3404 <artifactId>hadoop-hdfs-client</artifactId>
3405 <version>${hadoop-three.version}</version>
3408 </dependencyManagement>
3411 <!-- profiles for the tests
3412 See as well the properties of the project for the values
3413 when no profile is active. -->
3415 <!-- Use it to launch all tests in the same JVM -->
3416 <id>singleJVMTests</id>
3418 <activeByDefault>false</activeByDefault>
3421 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3422 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3423 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3424 <surefire.firstPartGroups/>
3428 <!-- Use it to launch small tests only -->
3429 <id>runSmallTests</id>
3431 <activeByDefault>false</activeByDefault>
3434 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3435 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3436 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3437 <surefire.secondPartGroups/>
3441 <!-- Use it to launch medium tests only -->
3442 <id>runMediumTests</id>
3444 <activeByDefault>false</activeByDefault>
3447 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3448 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3449 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3450 <surefire.secondPartGroups/>
3454 <!-- Use it to launch large tests only -->
3455 <id>runLargeTests</id>
3457 <activeByDefault>false</activeByDefault>
3460 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3461 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3462 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3463 <surefire.secondPartGroups/>
3467 <!-- Use it to launch small & medium tests -->
3468 <id>runDevTests</id>
3470 <activeByDefault>false</activeByDefault>
3473 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3474 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3475 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3476 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3477 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3481 <!-- Use it to launch all tests -->
3482 <id>runAllTests</id>
3484 <activeByDefault>false</activeByDefault>
3487 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3488 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3489 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3490 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3494 <id>runMiscTests</id>
3496 <activeByDefault>false</activeByDefault>
3499 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3500 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3501 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3502 </surefire.firstPartGroups>
3503 <surefire.secondPartGroups></surefire.secondPartGroups>
3507 <id>runCoprocessorTests</id>
3509 <activeByDefault>false</activeByDefault>
3512 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3513 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3514 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3515 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3516 <surefire.firstPartGroups>
3517 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3518 </surefire.firstPartGroups>
3519 <surefire.secondPartGroups></surefire.secondPartGroups>
3523 <id>runClientTests</id>
3525 <activeByDefault>false</activeByDefault>
3528 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3529 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3530 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3531 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3532 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3533 </surefire.firstPartGroups>
3534 <surefire.secondPartGroups></surefire.secondPartGroups>
3538 <id>runMasterTests</id>
3540 <activeByDefault>false</activeByDefault>
3543 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3544 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3545 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3546 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3547 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3548 </surefire.firstPartGroups>
3549 <surefire.secondPartGroups></surefire.secondPartGroups>
3553 <id>runMapredTests</id>
3555 <activeByDefault>false</activeByDefault>
3558 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3559 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3560 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3561 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3562 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3563 </surefire.firstPartGroups>
3564 <surefire.secondPartGroups></surefire.secondPartGroups>
3568 <id>runMapreduceTests</id>
3570 <activeByDefault>false</activeByDefault>
3573 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3574 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3575 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3576 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3577 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3578 </surefire.firstPartGroups>
3579 <surefire.secondPartGroups></surefire.secondPartGroups>
3583 <id>runRegionServerTests</id>
3585 <activeByDefault>false</activeByDefault>
3588 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3589 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3590 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3591 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3592 <surefire.firstPartGroups>
3593 org.apache.hadoop.hbase.testclassification.RegionServerTests
3594 </surefire.firstPartGroups>
3595 <surefire.secondPartGroups></surefire.secondPartGroups>
3599 <id>runVerySlowMapReduceTests</id>
3601 <activeByDefault>false</activeByDefault>
3604 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3605 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3606 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3607 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3608 <surefire.firstPartGroups>
3609 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3610 </surefire.firstPartGroups>
3611 <surefire.secondPartGroups></surefire.secondPartGroups>
3616 <id>runVerySlowRegionServerTests</id>
3618 <activeByDefault>false</activeByDefault>
3621 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3622 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3623 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3624 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3625 <surefire.firstPartGroups>
3626 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3627 </surefire.firstPartGroups>
3628 <surefire.secondPartGroups></surefire.secondPartGroups>
3633 <id>runFilterTests</id>
3635 <activeByDefault>false</activeByDefault>
3638 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3639 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3640 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3641 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3642 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3643 </surefire.firstPartGroups>
3644 <surefire.secondPartGroups></surefire.secondPartGroups>
3650 <activeByDefault>false</activeByDefault>
3653 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3654 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3655 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3656 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3657 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3658 </surefire.firstPartGroups>
3659 <surefire.secondPartGroups></surefire.secondPartGroups>
3663 <id>runRestTests</id>
3665 <activeByDefault>false</activeByDefault>
3668 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3669 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3670 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3671 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3672 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3673 </surefire.firstPartGroups>
3674 <surefire.secondPartGroups></surefire.secondPartGroups>
3678 <id>runRPCTests</id>
3680 <activeByDefault>false</activeByDefault>
3683 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3684 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3685 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3686 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3687 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3688 </surefire.firstPartGroups>
3689 <surefire.secondPartGroups></surefire.secondPartGroups>
3693 <id>runReplicationTests</id>
3695 <activeByDefault>false</activeByDefault>
3698 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3699 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3700 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3701 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3702 <surefire.firstPartGroups>
3703 org.apache.hadoop.hbase.testclassification.ReplicationTests
3704 </surefire.firstPartGroups>
3705 <surefire.secondPartGroups></surefire.secondPartGroups>
3709 <id>runSecurityTests</id>
3711 <activeByDefault>false</activeByDefault>
3714 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3715 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3716 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3717 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3718 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3719 </surefire.firstPartGroups>
3720 <surefire.secondPartGroups></surefire.secondPartGroups>
3724 <id>runFlakeyTests</id>
3726 <activeByDefault>false</activeByDefault>
3729 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3730 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3731 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3732 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3733 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3734 </surefire.firstPartGroups>
3735 <surefire.secondPartGroups></surefire.secondPartGroups>
3741 <activeByDefault>false</activeByDefault>
3744 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3745 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3746 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3747 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3748 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3749 </surefire.firstPartGroups>
3750 <surefire.secondPartGroups></surefire.secondPartGroups>
3754 <id>runRSGroupTests</id>
3756 <activeByDefault>false</activeByDefault>
3759 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3760 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3761 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3762 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3763 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3764 </surefire.firstPartGroups>
3765 <surefire.secondPartGroups></surefire.secondPartGroups>
3770 <!-- Use it to launch tests locally-->
3778 <surefire.provider>surefire-junit4</surefire.provider>
3779 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3780 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3781 <surefire.firstPartGroups/>
3784 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3785 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3786 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3787 The report will be generated under target/site/clover/index.html when you run
3788 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3792 <activeByDefault>false</activeByDefault>
3798 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3802 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3803 our instrumented classes for the doclet will fail
3806 <groupId>org.apache.maven.plugins</groupId>
3807 <artifactId>maven-javadoc-plugin</artifactId>
3810 <groupId>com.atlassian.maven.plugins</groupId>
3811 <artifactId>maven-clover2-plugin</artifactId>
3812 <version>${clover.version}</version>
3817 <groupId>com.atlassian.maven.plugins</groupId>
3818 <artifactId>maven-clover2-plugin</artifactId>
3819 <version>${clover.version}</version>
3821 <includesAllSourceRoots>true</includesAllSourceRoots>
3822 <includesTestSourceRoots>true</includesTestSourceRoots>
3823 <targetPercentage>50%</targetPercentage>
3824 <generateHtml>true</generateHtml>
3825 <generateXml>true</generateXml>
3827 <exclude>**/generated/**</exclude>
3832 <id>clover-setup</id>
3833 <phase>process-sources</phase>
3851 <!-- Used by the website generation script on jenkins to
3852 do a local install of the jars we need to run a normal
3853 site build w/o forking.
3855 <id>site-install-step</id>
3857 <skipTests>true</skipTests>
3858 <maven.javadoc.skip>true</maven.javadoc.skip>
3859 <enforcer.skip>true</enforcer.skip>
3860 <checkstyle.skip>true</checkstyle.skip>
3861 <spotbugs.skip>true</spotbugs.skip>
3862 <warbucks.skip>true</warbucks.skip>
3866 <!-- Used by the website generation script on jenkins to
3867 mitigate the impact of unneeded build forks while building
3870 <id>site-build-step</id>
3872 <skipTests>true</skipTests>
3873 <enforcer.skip>true</enforcer.skip>
3874 <maven.main.skip>true</maven.main.skip>
3875 <maven.test.skip>true</maven.test.skip>
3876 <warbucks.skip>true</warbucks.skip>
3877 <protoc.skip>true</protoc.skip>
3878 <remoteresources.skip>true</remoteresources.skip>
3882 <id>eclipse-specific</id>
3885 <name>m2e.version</name>
3891 <!-- General config for eclipse classpath/settings -->
3893 <groupId>org.apache.maven.plugins</groupId>
3894 <artifactId>maven-eclipse-plugin</artifactId>
3895 <version>${maven.eclipse.version}</version>
3897 <!--This plugin's configuration is used to store Eclipse m2e settings
3898 only. It has no influence on the Maven build itself. m2e does not
3899 provide any safeguards against rogue maven plugins that leak
3900 classloaders, modify random files inside workspace or throw nasty
3901 exceptions to fail the build.
3902 Top level doesn't do any specific configuration currently - left
3903 to modules to decide what they want to bind, sans those plugins
3904 defined in this pom. -->
3906 <groupId>org.eclipse.m2e</groupId>
3907 <artifactId>lifecycle-mapping</artifactId>
3908 <version>${lifecycle.mapping.version}</version>
3910 <lifecycleMappingMetadata>
3913 <pluginExecutionFilter>
3914 <groupId>org.jacoco</groupId>
3915 <artifactId>jacoco-maven-plugin</artifactId>
3916 <versionRange>[0.6.2.201302030002,)</versionRange>
3918 <goal>prepare-agent</goal>
3920 </pluginExecutionFilter>
3926 <pluginExecutionFilter>
3927 <groupId>org.apache.maven.plugins</groupId>
3928 <artifactId>maven-enforcer-plugin</artifactId>
3929 <versionRange>${enforcer.version}</versionRange>
3931 <goal>enforce</goal>
3933 </pluginExecutionFilter>
3939 <pluginExecutionFilter>
3940 <groupId>org.apache.maven.plugins</groupId>
3941 <artifactId>maven-remote-resources-plugin</artifactId>
3942 <versionRange>[1.5,)</versionRange>
3944 <goal>process</goal>
3947 </pluginExecutionFilter>
3953 <pluginExecutionFilter>
3954 <groupId>org.codehaus.mojo</groupId>
3955 <artifactId>buildnumber-maven-plugin</artifactId>
3956 <versionRange>[1.3,)</versionRange>
3958 <goal>create-timestamp</goal>
3960 </pluginExecutionFilter>
3963 <runOnConfiguration>true</runOnConfiguration>
3964 <runOnIncremental>true</runOnIncremental>
3969 </lifecycleMappingMetadata>
3979 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3983 <family>linux</family>
3984 <arch>aarch64</arch>
3989 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3993 <artifactId>maven-project-info-reports-plugin</artifactId>
3994 <version>${maven.project.info.report.version}</version>
3998 <report>dependencies</report>
3999 <report>dependency-convergence</report>
4000 <report>dependency-info</report>
4001 <report>dependency-management</report>
4002 <report>index</report>
4003 <report>issue-management</report>
4004 <report>licenses</report>
4005 <report>mailing-lists</report>
4006 <report>plugin-management</report>
4007 <report>plugins</report>
4008 <report>team</report>
4009 <report>scm</report>
4010 <report>summary</report>
4014 <!-- see src/site/site.xml for selected reports -->
4016 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
4021 <groupId>org.apache.maven.plugins</groupId>
4022 <artifactId>maven-javadoc-plugin</artifactId>
4026 <name>apiNote</name>
4027 <placement>a</placement>
4028 <head>API Note:</head>
4037 <report>aggregate-no-fork</report>
4040 <destDir>devapidocs</destDir>
4041 <name>Developer API</name>
4042 <description>The full HBase API, including private and unstable APIs</description>
4043 <sourceFileExcludes>
4044 <exclude>**/generated/*</exclude>
4045 <exclude>**/protobuf/*</exclude>
4046 </sourceFileExcludes>
4047 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4048 <show>private</show> <!-- (shows all classes and members) -->
4050 <linksource>true</linksource>
4051 <sourcetab>2</sourcetab>
4052 <validateLinks>true</validateLinks>
4053 <fixClassComment>true</fixClassComment>
4054 <fixFieldComment>true</fixFieldComment>
4055 <fixMethodComment>true</fixMethodComment>
4056 <fixTags>all</fixTags>
4057 <notimestamp>true</notimestamp>
4058 <locale>en_US</locale>
4059 <!-- Pass some options straight to the javadoc executable since it is easier -->
4060 <additionalJOption>-J-Xmx2G</additionalJOption>
4061 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4062 <additionalDependencies>
4063 <additionalDependency>
4064 <groupId>org.mockito</groupId>
4065 <artifactId>mockito-core</artifactId>
4066 <version>${mockito-core.version}</version>
4067 </additionalDependency>
4068 <additionalDependency>
4069 <groupId>org.hamcrest</groupId>
4070 <artifactId>hamcrest-core</artifactId>
4071 <version>${hamcrest.version}</version>
4072 </additionalDependency>
4073 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4074 <additionalDependency>
4075 <groupId>com.google.code.findbugs</groupId>
4076 <artifactId>jsr305</artifactId>
4077 <version>3.0.2</version>
4078 </additionalDependency>
4079 </additionalDependencies>
4080 <inherited>false</inherited>
4086 <report>test-aggregate-no-fork</report>
4089 <destDir>testdevapidocs</destDir>
4090 <name>Developer API</name>
4091 <description>The full HBase API test code, including private and unstable APIs</description>
4092 <sourceFileExcludes>
4093 <exclude>**/generated/*</exclude>
4094 <exclude>**/protobuf/*</exclude>
4095 </sourceFileExcludes>
4096 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4097 <show>private</show> <!-- (shows all classes and members) -->
4099 <linksource>true</linksource>
4100 <sourcetab>2</sourcetab>
4101 <validateLinks>true</validateLinks>
4102 <fixClassComment>true</fixClassComment>
4103 <fixFieldComment>true</fixFieldComment>
4104 <fixMethodComment>true</fixMethodComment>
4105 <fixTags>all</fixTags>
4106 <notimestamp>true</notimestamp>
4107 <locale>en_US</locale>
4108 <!-- Pass some options straight to the javadoc executable since it is easier -->
4109 <additionalJOption>-J-Xmx2G</additionalJOption>
4110 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4111 <additionalDependencies>
4112 <additionalDependency>
4113 <groupId>org.mockito</groupId>
4114 <artifactId>mockito-core</artifactId>
4115 <version>${mockito-core.version}</version>
4116 </additionalDependency>
4117 <additionalDependency>
4118 <groupId>org.hamcrest</groupId>
4119 <artifactId>hamcrest-core</artifactId>
4120 <version>${hamcrest.version}</version>
4121 </additionalDependency>
4122 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4123 <additionalDependency>
4124 <groupId>com.google.code.findbugs</groupId>
4125 <artifactId>jsr305</artifactId>
4126 <version>3.0.2</version>
4127 </additionalDependency>
4128 </additionalDependencies>
4129 <inherited>false</inherited>
4137 <report>aggregate-no-fork</report>
4141 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4144 <groupId>org.apache.yetus</groupId>
4145 <artifactId>audience-annotations</artifactId>
4146 <version>${audience-annotations.version}</version>
4148 <useStandardDocletOptions>true</useStandardDocletOptions>
4149 <destDir>apidocs</destDir>
4150 <name>User API</name>
4151 <description>The HBase Application Programmer's API</description>
4152 <excludePackageNames>
4153 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*
4154 </excludePackageNames>
4155 <!-- switch on dependency-driven aggregation -->
4156 <includeDependencySources>false</includeDependencySources>
4157 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4158 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4160 <linksource>true</linksource>
4161 <sourcetab>2</sourcetab>
4162 <validateLinks>true</validateLinks>
4163 <fixClassComment>true</fixClassComment>
4164 <fixFieldComment>true</fixFieldComment>
4165 <fixMethodComment>true</fixMethodComment>
4166 <fixTags>all</fixTags>
4167 <notimestamp>true</notimestamp>
4168 <locale>en_US</locale>
4169 <!-- Pass some options straight to the javadoc executable since it is easier -->
4170 <additionalJOption>-J-Xmx2G</additionalJOption>
4171 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4172 <additionalDependencies>
4173 <additionalDependency>
4174 <groupId>org.mockito</groupId>
4175 <artifactId>mockito-core</artifactId>
4176 <version>${mockito-core.version}</version>
4177 </additionalDependency>
4178 <additionalDependency>
4179 <groupId>org.hamcrest</groupId>
4180 <artifactId>hamcrest-core</artifactId>
4181 <version>${hamcrest.version}</version>
4182 </additionalDependency>
4183 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4184 <additionalDependency>
4185 <groupId>com.google.code.findbugs</groupId>
4186 <artifactId>jsr305</artifactId>
4187 <version>3.0.2</version>
4188 </additionalDependency>
4189 </additionalDependencies>
4190 <inherited>false</inherited>
4193 <!-- User Test API -->
4195 <id>testuserapi</id>
4197 <report>test-aggregate-no-fork</report>
4201 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4204 <groupId>org.apache.yetus</groupId>
4205 <artifactId>audience-annotations</artifactId>
4206 <version>${audience-annotations.version}</version>
4208 <useStandardDocletOptions>true</useStandardDocletOptions>
4209 <destDir>testapidocs</destDir>
4210 <name>User API</name>
4211 <description>The HBase Application Programmer's API</description>
4212 <excludePackageNames>
4213 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*
4214 </excludePackageNames>
4215 <!-- switch on dependency-driven aggregation -->
4216 <includeDependencySources>false</includeDependencySources>
4217 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4218 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4220 <linksource>true</linksource>
4221 <sourcetab>2</sourcetab>
4222 <validateLinks>true</validateLinks>
4223 <fixClassComment>true</fixClassComment>
4224 <fixFieldComment>true</fixFieldComment>
4225 <fixMethodComment>true</fixMethodComment>
4226 <fixTags>all</fixTags>
4227 <notimestamp>true</notimestamp>
4228 <locale>en_US</locale>
4229 <!-- Pass some options straight to the javadoc executable since it is easier -->
4230 <additionalJOption>-J-Xmx2G</additionalJOption>
4231 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4232 <additionalDependencies>
4233 <additionalDependency>
4234 <groupId>org.mockito</groupId>
4235 <artifactId>mockito-core</artifactId>
4236 <version>${mockito-core.version}</version>
4237 </additionalDependency>
4238 <additionalDependency>
4239 <groupId>org.hamcrest</groupId>
4240 <artifactId>hamcrest-core</artifactId>
4241 <version>${hamcrest.version}</version>
4242 </additionalDependency>
4243 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4244 <additionalDependency>
4245 <groupId>com.google.code.findbugs</groupId>
4246 <artifactId>jsr305</artifactId>
4247 <version>3.0.2</version>
4248 </additionalDependency>
4249 </additionalDependencies>
4250 <inherited>false</inherited>
4257 <groupId>org.apache.maven.plugins</groupId>
4258 <artifactId>maven-checkstyle-plugin</artifactId>
4259 <version>${maven.checkstyle.version}</version>
4261 <excludes>target/**</excludes>
4267 <distributionManagement>
4269 <id>hbase.apache.org</id>
4270 <name>HBase Website at hbase.apache.org</name>
4271 <!-- On why this is the tmp dir and not hbase.apache.org, see
4272 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4274 <url>file:///tmp</url>
4276 </distributionManagement>