1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/maven-v4_0_0.xsd">
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 ON MVN COMPILE NOT WORKING
25 If you wondering why 'mvn compile' does not work building HBase
26 (in particular, if you are doing it for the first time), instead do
27 'mvn package'. If you are interested in the full story, see
28 https://issues.apache.org/jira/browse/HBASE-6795.
31 <modelVersion>4.0.0</modelVersion>
33 <groupId>org.apache</groupId>
34 <artifactId>apache</artifactId>
37 <!-- no parent resolution -->
39 <groupId>org.apache.hbase</groupId>
40 <artifactId>hbase</artifactId>
41 <packaging>pom</packaging>
42 <version>3.0.0-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-balancer</module>
67 <module>hbase-mapreduce</module>
68 <module>hbase-resource-bundle</module>
69 <module>hbase-http</module>
70 <module>hbase-server</module>
71 <module>hbase-thrift</module>
72 <module>hbase-shell</module>
73 <module>hbase-protocol-shaded</module>
74 <module>hbase-client</module>
75 <module>hbase-hadoop-compat</module>
76 <module>hbase-common</module>
77 <module>hbase-procedure</module>
78 <module>hbase-endpoint</module>
79 <module>hbase-it</module>
80 <module>hbase-examples</module>
81 <module>hbase-assembly</module>
82 <module>hbase-testing-util</module>
83 <module>hbase-annotations</module>
84 <module>hbase-rest</module>
85 <module>hbase-checkstyle</module>
86 <module>hbase-external-blockcache</module>
87 <module>hbase-shaded</module>
88 <module>hbase-archetypes</module>
89 <module>hbase-metrics-api</module>
90 <module>hbase-metrics</module>
91 <module>hbase-backup</module>
92 <module>hbase-zookeeper</module>
93 <module>hbase-hbtop</module>
96 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
97 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
98 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
101 <system>JIRA</system>
102 <url>https://issues.apache.org/jira/browse/HBASE</url>
106 <name>User List</name>
107 <subscribe>user-subscribe@hbase.apache.org</subscribe>
108 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
109 <post>user@hbase.apache.org</post>
110 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
112 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
113 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
117 <name>Developer List</name>
118 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
119 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
120 <post>dev@hbase.apache.org</post>
121 <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
123 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
124 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
128 <name>Commits List</name>
129 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
130 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
131 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
134 <name>Issues List</name>
135 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
136 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
137 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
140 <name>Builds List</name>
141 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
142 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
143 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
146 <name>User (ZH) List</name>
147 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
148 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
149 <post>user-zh@hbase.apache.org</post>
150 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
156 <name>Abhishek Singh Chouhan</name>
157 <email>achouhan@apache.org</email>
158 <timezone>+5</timezone>
162 <name>Amitanand S. Aiyer</name>
163 <email>acube123@apache.org</email>
164 <timezone>-8</timezone>
168 <name>Allan Yang</name>
169 <email>allan163@apache.org</email>
170 <timezone>+8</timezone>
174 <name>Apekshit Sharma</name>
175 <email>appy@apache.org</email>
176 <timezone>-8</timezone>
180 <name>Anastasia Braginsky</name>
181 <email>anastasia@apache.org</email>
182 <timezone>+2</timezone>
186 <name>Andrew Purtell</name>
187 <email>apurtell@apache.org</email>
188 <timezone>-8</timezone>
191 <id>anoopsamjohn</id>
192 <name>Anoop Sam John</name>
193 <email>anoopsamjohn@apache.org</email>
194 <timezone>+5</timezone>
198 <name>Mikhail Antonov</name>
199 <email>antonov@apache.org</email>
200 <timezone>-8</timezone>
203 <id>ashishsinghi</id>
204 <name>Ashish Singhi</name>
205 <email>ashishsinghi@apache.org</email>
206 <timezone>+5</timezone>
210 <name>Ashu Pachauri</name>
211 <email>ashu@apache.org</email>
212 <timezone>+5</timezone>
216 <name>Bharath Vissapragada</name>
217 <email>bharathv@apache.org</email>
218 <timezone>-8</timezone>
222 <name>Lijin Bin</name>
223 <email>binlijin@apache.org</email>
224 <timezone>+8</timezone>
228 <name>Toshihiro Suzuki</name>
229 <email>brfrn169@apache.org</email>
230 <timezone>+9</timezone>
234 <name>Sean Busbey</name>
235 <email>busbey@apache.org</email>
236 <timezone>-6</timezone>
240 <name>Heng Chen</name>
241 <email>chenheng@apache.org</email>
242 <timezone>+8</timezone>
246 <name>Chia-Ping Tsai</name>
247 <email>chia7712@apache.org</email>
248 <timezone>+8</timezone>
252 <name>Devaraj Das</name>
253 <email>ddas@apache.org</email>
254 <timezone>-8</timezone>
258 <name>Dima Spivak</name>
259 <email>dimaspivak@apache.org</email>
260 <timezone>-8</timezone>
264 <name>Doug Meil</name>
265 <email>dmeil@apache.org</email>
266 <timezone>-5</timezone>
270 <name>Elliott Clark</name>
271 <email>eclark@apache.org</email>
272 <timezone>-8</timezone>
276 <name>Josh Elser</name>
277 <email>elserj@apache.org</email>
278 <timezone>-5</timezone>
282 <name>Enis Soztutar</name>
283 <email>enis@apache.org</email>
284 <timezone>-8</timezone>
288 <name>Eshcar Hillel</name>
289 <email>eshcar@apache.org</email>
290 <timezone>+2</timezone>
294 <name>Honghua Feng</name>
295 <email>fenghh@apache.org</email>
296 <timezone>+8</timezone>
300 <name>Gary Helmling</name>
301 <email>garyh@apache.org</email>
302 <timezone>-8</timezone>
306 <name>Gregory Chanan</name>
307 <email>gchanan@apache.org</email>
308 <timezone>-8</timezone>
312 <name>Guangxu Cheng</name>
313 <email>gxcheng@apache.org</email>
314 <timezone>+8</timezone>
318 <name>Huaxiang Sun</name>
319 <email>huaxiangsun@apache.org</email>
320 <timezone>-8</timezone>
324 <name>Jean-Daniel Cryans</name>
325 <email>jdcryans@apache.org</email>
326 <timezone>-8</timezone>
330 <name>Jeffrey Zhong</name>
331 <email>jeffreyz@apache.org</email>
332 <timezone>-8</timezone>
336 <name>Jing Chen (Jerry) He</name>
337 <email>jerryjch@apache.org</email>
338 <timezone>-8</timezone>
342 <name>Jesse Yates</name>
343 <email>jyates@apache.org</email>
344 <timezone>-8</timezone>
348 <name>Jonathan Gray</name>
349 <email>jgray@fb.com</email>
350 <timezone>-8</timezone>
354 <name>Jingcheng Du</name>
355 <email>jingchengdu@apache.org</email>
356 <timezone>+8</timezone>
360 <name>Esteban Gutierrez</name>
361 <email>esteban@apache.org</email>
362 <timezone>-8</timezone>
366 <name>Jan Hentschel</name>
367 <email>janh@apache.org</email>
368 <timezone>+1</timezone>
372 <name>Jonathan Hsieh</name>
373 <email>jmhsieh@apache.org</email>
374 <timezone>-8</timezone>
378 <name>Jimmy Xiang</name>
379 <email>jxiang@apache.org</email>
380 <timezone>-8</timezone>
384 <name>Kannan Muthukkaruppan</name>
385 <email>kannan@fb.com</email>
386 <timezone>-8</timezone>
390 <name>Karthik Ranganathan</name>
391 <email>kranganathan@fb.com</email>
392 <timezone>-8</timezone>
396 <name>Lars Francke</name>
397 <email>larsfrancke@apache.org</email>
398 <timezone>Europe/Berlin</timezone>
402 <name>Lars George</name>
403 <email>larsgeorge@apache.org</email>
404 <timezone>+1</timezone>
408 <name>Lars Hofhansl</name>
409 <email>larsh@apache.org</email>
410 <timezone>-8</timezone>
414 <name>Liang Xie</name>
415 <email>liangxie@apache.org</email>
416 <timezone>+8</timezone>
420 <name>Shaohui Liu</name>
421 <email>liushaohui@apache.org</email>
422 <timezone>+8</timezone>
426 <name>Liyin Tang</name>
427 <email>liyin.tang@fb.com</email>
428 <timezone>-8</timezone>
433 <email>liyu@apache.org</email>
434 <timezone>+8</timezone>
438 <name>Mikhail Bautin</name>
439 <email>mbautin@apache.org</email>
440 <timezone>-8</timezone>
444 <name>Matteo Bertozzi</name>
445 <email>mbertozzi@apache.org</email>
446 <timezone>0</timezone>
450 <name>Mike Drob</name>
451 <email>mdrob@apache.org</email>
452 <timezone>-5</timezone>
456 <name>Balazs Meszaros</name>
457 <email>meszibalu@apache.org</email>
458 <timezone>+1</timezone>
462 <name>Misty Stanley-Jones</name>
463 <email>misty@apache.org</email>
464 <timezone>-8</timezone>
468 <name>Nick Dimiduk</name>
469 <email>ndimiduk@apache.org</email>
470 <timezone>-8</timezone>
474 <name>Nicolas Liochon</name>
475 <email>nkeywal@apache.org</email>
476 <timezone>+1</timezone>
479 <id>nspiegelberg</id>
480 <name>Nicolas Spiegelberg</name>
481 <email>nspiegelberg@fb.com</email>
482 <timezone>-8</timezone>
486 <name>Andrey Stepachev</name>
487 <email>octo47@gmail.com</email>
488 <timezone>0</timezone>
492 <name>Zheng Hu</name>
493 <email>openinx@apache.org</email>
494 <timezone>+8</timezone>
498 <name>Pankaj Kumar</name>
499 <email>pankajkumar@apache.org</email>
500 <timezone>+5</timezone>
504 <name>Peter Somogyi</name>
505 <email>psomogyi@apache.org</email>
506 <timezone>+1</timezone>
510 <name>Rajeshbabu Chintaguntla</name>
511 <email>rajeshbabu@apache.org</email>
512 <timezone>+5</timezone>
516 <name>Ramkrishna S Vasudevan</name>
517 <email>ramkrishna@apache.org</email>
518 <timezone>+5</timezone>
522 <name>Ryan Rawson</name>
523 <email>rawson@apache.org</email>
524 <timezone>-8</timezone>
528 <name>Reid Chan</name>
529 <email>reidchan@apache.org</email>
530 <timezone>+8</timezone>
534 <name>Sakthi Vel</name>
535 <email>sakthi@apache.org</email>
536 <timezone>-8</timezone>
540 <name>Sergey Shelukhin</name>
541 <email>sershe@apache.org</email>
542 <timezone>-8</timezone>
546 <name>Srikanth Srungarapu</name>
547 <email>ssrungarapu@apache.org</email>
548 <timezone>-8</timezone>
552 <name>Michael Stack</name>
553 <email>stack@apache.org</email>
554 <timezone>-8</timezone>
558 <name>Stephen Yuan Jiang</name>
559 <email>syuanjiang@apache.org</email>
560 <timezone>-8</timezone>
564 <name>Tak-Lon (Stephen) Wu</name>
565 <email>taklwu@apache.org</email>
566 <timezone>-8</timezone>
571 <email>yuzhihong@gmail.com</email>
572 <timezone>-8</timezone>
576 <email>tianjy@apache.org</email>
577 <timezone>+8</timezone>
581 <name>Todd Lipcon</name>
582 <email>todd@apache.org</email>
583 <timezone>-8</timezone>
587 <name>Francis Liu</name>
588 <email>toffer@apache.org</email>
589 <timezone>-8</timezone>
593 <name>Vikas Vishwakarma</name>
594 <email>vikasv@apache.org</email>
595 <timezone>+5</timezone>
599 <name>Virag Kothari</name>
600 <email>virag@yahoo-inc.com</email>
601 <timezone>-8</timezone>
605 <name>Viraj Jasani</name>
606 <email>vjasani@apache.org</email>
607 <timezone>+5</timezone>
611 <name>Xiang Li</name>
612 <email>xiangli@apache.org</email>
613 <timezone>+8</timezone>
617 <name>Wellington Chevreuil</name>
618 <email>wchevreuil@apache.org</email>
619 <timezone>0</timezone>
624 <email>xucang@apache.org</email>
625 <timezone>-8</timezone>
629 <name>Phil Yang</name>
630 <email>yangzhe1991@apache.org</email>
631 <timezone>+8</timezone>
635 <name>Guanghao Zhang</name>
636 <email>zghao@apache.org</email>
637 <timezone>+8</timezone>
641 <name>Duo Zhang</name>
642 <email>zhangduo@apache.org</email>
643 <timezone>+8</timezone>
647 <name>Chunhui Shen</name>
648 <email>zjushch@apache.org</email>
649 <timezone>+8</timezone>
653 <name>Rahul Gidwani</name>
654 <email>churro@apache.org</email>
655 <timezone>-8</timezone>
659 <name>Yi Liang</name>
660 <email>yiliang@apache.org</email>
661 <timezone>-8</timezone>
665 <name>Zach York</name>
666 <email>zyork@apache.org</email>
667 <timezone>-8</timezone>
672 <email>meiyi@apache.org</email>
673 <timezone>+8</timezone>
679 <groupId>kr.motd.maven</groupId>
680 <artifactId>os-maven-plugin</artifactId>
681 <version>${os.maven.version}</version>
684 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
685 For specific version use a property and define it in the parent pom.
690 <groupId>org.apache.maven.plugins</groupId>
691 <artifactId>maven-remote-resources-plugin</artifactId>
694 <groupId>org.apache.maven.plugins</groupId>
695 <artifactId>maven-release-plugin</artifactId>
697 <!--You need this profile. It'll sign your artifacts.
698 I'm not sure if this config. actually works though.
699 I've been specifying -Papache-release on the command-line
701 <releaseProfiles>apache-release</releaseProfiles>
702 <!--This stops our running tests for each stage of maven release.
703 But it builds the test jar. From SUREFIRE-172.
705 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
706 <goals>${goals}</goals>
707 <pomFileName>pom.xml</pomFileName>
711 <groupId>org.apache.maven.plugins</groupId>
712 <artifactId>maven-compiler-plugin</artifactId>
714 <source>${compileSource}</source>
715 <target>${compileSource}</target>
716 <showWarnings>true</showWarnings>
717 <showDeprecation>false</showDeprecation>
718 <useIncrementalCompilation>false</useIncrementalCompilation>
719 <compilerArgument>-Xlint:-options</compilerArgument>
722 <!-- Test oriented plugins -->
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-surefire-plugin</artifactId>
726 <version>${surefire.version}</version>
728 <!-- by default surefire selects dynamically the connector to the unit tests
729 tool. We want to use always the same as the different connectors can have different
730 bugs and behaviour. -->
732 <groupId>org.apache.maven.surefire</groupId>
733 <artifactId>${surefire.provider}</artifactId>
734 <version>${surefire.version}</version>
737 <!-- Generic testing configuration for all packages -->
739 <groups>${surefire.firstPartGroups}</groups>
740 <failIfNoTests>false</failIfNoTests>
741 <skip>${surefire.skipFirstPart}</skip>
742 <forkCount>${surefire.firstPartForkCount}</forkCount>
743 <reuseForks>false</reuseForks>
744 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
745 <tempDir>${surefire.tempDir}</tempDir>
746 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
747 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
748 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
749 <systemPropertyVariables>
750 <test.build.classes>${test.build.classes}</test.build.classes>
751 </systemPropertyVariables>
753 <!-- users can add -D option to skip particular test classes
754 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
756 <exclude>${test.exclude.pattern}</exclude>
760 <name>listener</name>
761 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
767 <id>secondPartTestsExecution</id>
773 <skip>${surefire.skipSecondPart}</skip>
774 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
775 <reuseForks>false</reuseForks>
776 <forkCount>${surefire.secondPartForkCount}</forkCount>
777 <groups>${surefire.secondPartGroups}</groups>
778 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
784 <groupId>org.apache.maven.plugins</groupId>
785 <artifactId>maven-surefire-report-plugin</artifactId>
786 <version>${surefire.version}</version>
789 <groupId>org.codehaus.mojo</groupId>
790 <artifactId>buildnumber-maven-plugin</artifactId>
791 <version>${buildnumber.maven.version}</version>
794 <groupId>com.github.spotbugs</groupId>
795 <artifactId>spotbugs-maven-plugin</artifactId>
796 <version>${spotbugs.maven.version}</version>
798 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
799 <spotbugsXmlOutput>true</spotbugsXmlOutput>
800 <xmlOutput>true</xmlOutput>
805 <groupId>org.codehaus.mojo</groupId>
806 <artifactId>build-helper-maven-plugin</artifactId>
807 <version>${build.helper.maven.version}</version>
810 <artifactId>maven-antrun-plugin</artifactId>
811 <version>${maven.antrun.version}</version>
814 <groupId>org.jamon</groupId>
815 <artifactId>jamon-maven-plugin</artifactId>
816 <version>${jamon.plugin.version}</version>
818 <!-- Make a jar and put the sources in the jar.
819 In the parent pom, so submodules will do the right thing. -->
821 <groupId>org.apache.maven.plugins</groupId>
822 <artifactId>maven-source-plugin</artifactId>
825 <id>attach-sources</id>
826 <phase>prepare-package</phase>
828 <goal>jar-no-fork</goal>
829 <goal>test-jar-no-fork</goal>
834 <!-- General configuration for submodules who want to build a test jar -->
836 <groupId>org.apache.maven.plugins</groupId>
837 <artifactId>maven-jar-plugin</artifactId>
840 <phase>prepare-package</phase>
842 <!--This goal will install a -test.jar when we do install
843 See https://maven.apache.org/guides/mini/guide-attached-tests.html
845 <goal>test-jar</goal>
850 <skipIfEmpty>true</skipIfEmpty>
852 <exclude>hbase-site.xml</exclude>
853 <exclude>hdfs-site.xml</exclude>
854 <exclude>log4j.properties</exclude>
855 <exclude>mapred-queues.xml</exclude>
856 <exclude>mapred-site.xml</exclude>
861 <!-- excludes are inherited -->
862 <groupId>org.apache.rat</groupId>
863 <artifactId>apache-rat-plugin</artifactId>
864 <version>${apache.rat.version}</version>
867 <exclude>**/*.versionsBackup</exclude>
868 <exclude>**/*.log</exclude>
869 <exclude>**/.*</exclude>
870 <exclude>**/*.tgz</exclude>
871 <exclude>**/*.orig</exclude>
872 <exclude>**/0000000000000016310</exclude>
873 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
874 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
875 <exclude>**/.idea/**</exclude>
876 <exclude>**/*.iml</exclude>
877 <exclude>**/CHANGES.txt</exclude>
878 <exclude>**/generated/**</exclude>
879 <exclude>**/gen-*/**</exclude>
880 <!-- No material contents -->
881 <exclude>conf/regionservers</exclude>
882 <exclude>**/*.avpr</exclude>
883 <exclude>**/*.svg</exclude>
884 <!-- non-standard notice file from jruby included by reference -->
885 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
886 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
887 <exclude>**/src/main/asciidoc/hbase.css</exclude>
888 <!-- MIT https://jquery.org/license -->
889 <exclude>**/jquery.min.js</exclude>
890 <exclude>**/jquery.tablesorter.min.js</exclude>
891 <!-- vector graphics -->
892 <exclude>**/*.vm</exclude>
893 <!-- apache doxia generated -->
894 <exclude>**/control</exclude>
895 <exclude>**/conffile</exclude>
896 <!-- auto-gen docs -->
897 <exclude>docs/*</exclude>
898 <exclude>logs/*</exclude>
899 <!-- exclude source control files -->
900 <exclude>.git/**</exclude>
901 <exclude>.svn/**</exclude>
902 <exclude>**/.settings/**</exclude>
903 <exclude>**/patchprocess/**</exclude>
904 <exclude>src/site/resources/repo/**</exclude>
905 <exclude>**/dependency-reduced-pom.xml</exclude>
906 <exclude>**/rat.txt</exclude>
907 <!-- exclude the shaded protobuf files -->
908 <exclude>**/shaded/com/google/protobuf/**</exclude>
909 <exclude>**/src/main/patches/**</exclude>
910 <exclude>**/vote.tmpl</exclude>
915 <artifactId>maven-assembly-plugin</artifactId>
917 <!--Defer to the hbase-assembly sub-module. It
919 <skipAssembly>true</skipAssembly>
923 <groupId>org.xolstice.maven.plugins</groupId>
924 <artifactId>protobuf-maven-plugin</artifactId>
925 <version>${protobuf.plugin.version}</version>
927 <protocArtifact>${external.protobuf.groupid}:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
928 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
929 <clearOutputDirectory>false</clearOutputDirectory>
930 <checkStaleness>true</checkStaleness>
934 <!-- Approach followed here is roughly the same as mentioned here:
935 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
937 <groupId>org.apache.maven.plugins</groupId>
938 <artifactId>maven-checkstyle-plugin</artifactId>
939 <version>${maven.checkstyle.version}</version>
942 <groupId>org.apache.hbase</groupId>
943 <artifactId>hbase-checkstyle</artifactId>
944 <version>${project.version}</version>
947 <groupId>com.puppycrawl.tools</groupId>
948 <artifactId>checkstyle</artifactId>
949 <version>${checkstyle.version}</version>
953 <configLocation>hbase/checkstyle.xml</configLocation>
954 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
955 <includeTestSourceDirectory>true</includeTestSourceDirectory>
959 <groupId>net.revelc.code</groupId>
960 <artifactId>warbucks-maven-plugin</artifactId>
961 <version>${maven.warbucks.version}</version>
963 <ignoreRuleFailures>false</ignoreRuleFailures>
966 <!-- exclude the generated java files -->
967 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
968 <includeTestClasses>false</includeTestClasses>
969 <includePublicClasses>true</includePublicClasses>
970 <includePackagePrivateClasses>false</includePackagePrivateClasses>
971 <includeProtectedClasses>false</includeProtectedClasses>
972 <includePrivateClasses>false</includePrivateClasses>
973 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
979 <id>run-warbucks</id>
981 <goal>check</goal><!-- runs at process-test-classes phase -->
987 <groupId>org.apache.maven.plugins</groupId>
988 <artifactId>maven-enforcer-plugin</artifactId>
989 <version>${enforcer.version}</version>
992 <groupId>org.codehaus.mojo</groupId>
993 <artifactId>extra-enforcer-rules</artifactId>
994 <version>${extra.enforcer.version}</version>
997 <groupId>de.skuzzle.enforcer</groupId>
998 <artifactId>restrict-imports-enforcer-rule</artifactId>
999 <version>${restrict-imports.enforcer.version}</version>
1007 <groupId>org.codehaus.mojo</groupId>
1008 <artifactId>build-helper-maven-plugin</artifactId>
1011 <id>negate-license-bundles-property</id>
1013 <goal>bsh-property</goal>
1016 <source>skip.license.check = !${license.bundles.dependencies};</source>
1018 <property>skip.license.check</property>
1022 <!-- sets where to find the generated LICENSE files -->
1024 <id>create-license-file-path-property</id>
1026 <goal>regex-property</goal>
1029 <name>license.aggregate.path</name>
1030 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1032 <replacement>/</replacement>
1033 <failIfNoMatch>false</failIfNoMatch>
1039 <groupId>org.apache.maven.plugins</groupId>
1040 <artifactId>maven-enforcer-plugin</artifactId>
1043 <id>display-info</id>
1044 <phase>initialize</phase>
1046 <goal>display-info</goal>
1048 <inherited>false</inherited>
1051 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1053 <goal>enforce</goal>
1057 <!-- Help people activate profiles correctly -->
1059 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1060 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1061 </evaluateBeanshell>
1062 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1063 <requireMavenVersion>
1064 <version>[${maven.min.version},)</version>
1065 <message>Maven is out of date.
1066 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1067 You appear to be using an older version. You can use either "mvn -version" or
1068 "mvn enforcer:display-info" to verify what version is active.
1069 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1071 </requireMavenVersion>
1072 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1073 <requireJavaVersion>
1074 <version>[${java.min.version},)</version>
1075 <message>Java is out of date.
1076 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1077 You appear to be using an older version. You can use either "mvn -version" or
1078 "mvn enforcer:display-info" to verify what version is active.
1079 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1081 </requireJavaVersion>
1082 <bannedDependencies>
1084 <exclude>xerces:xercesImpl</exclude>
1086 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1087 </bannedDependencies>
1092 <id>banned-jsr305</id>
1094 <goal>enforce</goal>
1098 <bannedDependencies>
1100 <exclude>com.google.code.findbugs:jsr305</exclude>
1102 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1103 </bannedDependencies>
1108 <id>banned-scala</id>
1110 <goal>enforce</goal>
1114 <bannedDependencies>
1116 <exclude>org.scala-lang:scala-library</exclude>
1118 <message>We don't allow Scala, see HBASE-13992.</message>
1119 </bannedDependencies>
1124 <id>check-aggregate-license</id>
1125 <!-- must check after LICENSE is built at 'generate-resources' -->
1126 <phase>process-resources</phase>
1128 <goal>enforce</goal>
1134 File license = new File("${license.aggregate.path}");
1136 // Beanshell does not support try-with-resources,
1137 // so we must close this scanner manually
1138 Scanner scanner = new Scanner(license);
1140 while (scanner.hasNextLine()) {
1141 if (scanner.nextLine().startsWith("ERROR:")) {
1150 License errors detected, for more detail find ERROR in
1151 ${license.aggregate.path}
1153 </evaluateBeanshell>
1155 <skip>${skip.license.check}</skip>
1159 <id>banned-illegal-imports</id>
1160 <phase>process-sources</phase>
1162 <goal>enforce</goal>
1166 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1167 <includeTestCode>true</includeTestCode>
1168 <commentLineBufferSize>512</commentLineBufferSize>
1169 <reason>Use SLF4j for logging</reason>
1171 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1172 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1175 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1176 <includeTestCode>true</includeTestCode>
1177 <commentLineBufferSize>512</commentLineBufferSize>
1178 <reason>Use shaded version in hbase-thirdparty</reason>
1180 <bannedImport>com.google.common.**</bannedImport>
1181 <bannedImport>io.netty.**</bannedImport>
1182 <bannedImport>org.apache.commons.cli.**</bannedImport>
1183 <bannedImport>org.apache.commons.collections.**</bannedImport>
1184 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1187 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1188 <includeTestCode>true</includeTestCode>
1189 <commentLineBufferSize>512</commentLineBufferSize>
1190 <reason>Do not use shaded classes from other dependencies</reason>
1192 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1193 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1196 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1197 <includeTestCode>true</includeTestCode>
1198 <commentLineBufferSize>512</commentLineBufferSize>
1199 <reason>Use shaded gson in hbase-thirdparty</reason>
1201 <bannedImport>org.codehaus.jackson.**</bannedImport>
1204 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1205 <includeTestCode>true</includeTestCode>
1206 <commentLineBufferSize>512</commentLineBufferSize>
1207 <reason>Use commons lang 3</reason>
1209 <bannedImport>org.apache.commons.lang.**</bannedImport>
1212 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1213 <includeTestCode>true</includeTestCode>
1214 <commentLineBufferSize>512</commentLineBufferSize>
1215 <reason>Use yetus IA and IS annotations</reason>
1217 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1220 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1221 <includeTestCode>true</includeTestCode>
1222 <commentLineBufferSize>512</commentLineBufferSize>
1223 <reason>Do not use htrace v3</reason>
1225 <bannedImport>org.htrace.**</bannedImport>
1233 <!-- parent-module only plugins -->
1235 <groupId>org.codehaus.mojo</groupId>
1236 <artifactId>xml-maven-plugin</artifactId>
1237 <version>${xml.maven.version}</version>
1238 <inherited>false</inherited>
1241 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1243 <goal>transform</goal>
1249 <transformationSets>
1250 <!-- For asciidoc -->
1252 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1253 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1255 <include>hbase-default.xml</include>
1257 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1259 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1260 <pattern>^(.*)\.xml$</pattern>
1261 <replacement>$1.adoc</replacement>
1264 <outputDir>${basedir}/target/asciidoc</outputDir>
1265 </transformationSet>
1266 </transformationSets>
1269 <!-- Special configuration for spotbugs just in the parent so
1270 the filter file location can be more general (see definition in pluginManagement) -->
1272 <groupId>com.github.spotbugs</groupId>
1273 <artifactId>spotbugs-maven-plugin</artifactId>
1276 <inherited>false</inherited>
1278 <goal>spotbugs</goal>
1281 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1287 <groupId>org.apache.maven.plugins</groupId>
1288 <artifactId>maven-checkstyle-plugin</artifactId>
1291 <groupId>org.apache.maven.plugins</groupId>
1292 <artifactId>maven-site-plugin</artifactId>
1295 <!-- add support for ssh/scp -->
1296 <groupId>org.apache.maven.wagon</groupId>
1297 <artifactId>wagon-ssh</artifactId>
1298 <version>${wagon.ssh.version}</version>
1302 <siteDirectory>${basedir}/src/site</siteDirectory>
1303 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1304 <inputEncoding>UTF-8</inputEncoding>
1305 <outputEncoding>UTF-8</outputEncoding>
1308 <!-- For AsciiDoc docs building -->
1310 <groupId>org.asciidoctor</groupId>
1311 <artifactId>asciidoctor-maven-plugin</artifactId>
1312 <version>${asciidoctor.plugin.version}</version>
1313 <inherited>false</inherited>
1316 <groupId>org.asciidoctor</groupId>
1317 <artifactId>asciidoctorj-pdf</artifactId>
1318 <version>${asciidoctorj.pdf.version}</version>
1321 <groupId>org.jruby</groupId>
1322 <artifactId>jruby-complete</artifactId>
1323 <version>${jruby.version}</version>
1327 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1328 <doctype>book</doctype>
1329 <imagesDir>images</imagesDir>
1330 <sourceHighlighter>coderay</sourceHighlighter>
1332 <docVersion>${project.version}</docVersion>
1337 <id>output-html</id>
1340 <goal>process-asciidoc</goal>
1344 <stylesheet>hbase.css</stylesheet>
1346 <backend>html5</backend>
1353 <goal>process-asciidoc</goal>
1356 <backend>pdf</backend>
1361 <idseparator>-</idseparator>
1368 <groupId>org.apache.maven.plugins</groupId>
1369 <artifactId>maven-resources-plugin</artifactId>
1370 <!--$NO-MVN-MAN-VER$ -->
1371 <inherited>false</inherited>
1374 <id>copy-htaccess</id>
1376 <goal>copy-resources</goal>
1380 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1383 <directory>${basedir}/src/site/resources/</directory>
1385 <include>.htaccess</include>
1391 <!-- needed to make the redirect above work -->
1393 <id>copy-empty-book-dir</id>
1395 <goal>copy-resources</goal>
1399 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1402 <directory>${basedir}/src/site/resources/</directory>
1404 <include>book/**</include>
1412 <escapeString>\</escapeString>
1416 <groupId>org.apache.maven.plugins</groupId>
1417 <artifactId>maven-antrun-plugin</artifactId>
1418 <version>${maven.antrun.version}</version>
1419 <inherited>false</inherited>
1420 <!-- Rename the book.pdf generated by asciidoctor -->
1426 <target name="rename file">
1427 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1437 <groupId>org.codehaus.mojo</groupId>
1438 <artifactId>buildnumber-maven-plugin</artifactId>
1441 <phase>validate</phase>
1443 <goal>create-timestamp</goal>
1448 <timestampFormat>yyyy</timestampFormat>
1449 <timestampPropertyName>build.year</timestampPropertyName>
1453 <groupId>org.apache.felix</groupId>
1454 <artifactId>maven-bundle-plugin</artifactId>
1455 <version>${maven.bundle.version}</version>
1456 <inherited>true</inherited>
1457 <extensions>true</extensions>
1462 <!-- override on command line to have generated LICENSE files include
1463 diagnostic info for verifying notice requirements -->
1464 <license.debug.print.included>false</license.debug.print.included>
1465 <!-- When a particular module bundles its depenendencies, should be true -->
1466 <license.bundles.dependencies>false</license.bundles.dependencies>
1467 <!-- modules that include a the logo in their source tree should set true -->
1468 <license.bundles.logo>false</license.bundles.logo>
1469 <!-- modules that include bootstrap in their source tree should set true -->
1470 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1471 <!-- modules that include jquery in their source tree should set true -->
1472 <license.bundles.jquery>false</license.bundles.jquery>
1473 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1474 <maven.build.timestamp.format>
1476 </maven.build.timestamp.format>
1477 <buildDate>${maven.build.timestamp}</buildDate>
1478 <compileSource>1.8</compileSource>
1479 <!-- Build dependencies -->
1480 <maven.min.version>3.0.4</maven.min.version>
1481 <java.min.version>${compileSource}</java.min.version>
1482 <!-- Dependencies -->
1483 <hadoop-three.version>3.1.2</hadoop-three.version>
1484 <!-- These must be defined here for downstream build tools that don't look at profiles.
1486 <hadoop.version>${hadoop-three.version}</hadoop.version>
1487 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1488 <compat.module>hbase-hadoop2-compat</compat.module>
1489 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1490 <!--This property is for hadoops netty. HBase netty
1491 comes in via hbase-thirdparty hbase-shaded-netty-->
1492 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1493 <!-- end HBASE-15925 default hadoop compatibility values -->
1494 <audience-annotations.version>0.5.0</audience-annotations.version>
1495 <avro.version>1.7.7</avro.version>
1496 <caffeine.version>2.8.1</caffeine.version>
1497 <commons-codec.version>1.13</commons-codec.version>
1498 <commons-validator.version>1.6</commons-validator.version>
1499 <!-- pretty outdated -->
1500 <commons-io.version>2.6</commons-io.version>
1501 <commons-lang3.version>3.9</commons-lang3.version>
1502 <commons-math.version>3.6.1</commons-math.version>
1503 <disruptor.version>3.4.2</disruptor.version>
1504 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1505 especially when writing out 'no column families'. Later httpclients collapse the '//'
1506 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1507 TestRemoteTable. -->
1508 <httpclient.version>4.5.3</httpclient.version>
1509 <httpcore.version>4.4.13</httpcore.version>
1510 <metrics-core.version>3.2.6</metrics-core.version>
1511 <jackson.version>2.10.1</jackson.version>
1512 <jackson.databind.version>2.10.1</jackson.databind.version>
1513 <jaxb-api.version>2.2.12</jaxb-api.version>
1514 <jetty.version>9.3.28.v20191105</jetty.version>
1515 <servlet.api.version>3.1.0</servlet.api.version>
1516 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1517 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1518 <jersey.version>2.25.1</jersey.version>
1519 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1520 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1521 <jruby.version>9.1.17.0</jruby.version>
1522 <junit.version>4.13</junit.version>
1523 <hamcrest.version>1.3</hamcrest.version>
1524 <htrace.version>4.2.0-incubating</htrace.version>
1525 <log4j.version>1.2.17</log4j.version>
1526 <mockito-core.version>2.28.2</mockito-core.version>
1527 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1528 <external.protobuf.version>2.5.0</external.protobuf.version>
1529 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1530 <thrift.path>thrift</thrift.path>
1531 <thrift.version>0.13.0</thrift.version>
1532 <zookeeper.version>3.5.7</zookeeper.version>
1533 <jline.version>2.11</jline.version>
1534 <slf4j.version>1.7.30</slf4j.version>
1535 <clover.version>4.0.3</clover.version>
1536 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1537 <jettison.version>1.3.8</jettison.version>
1538 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1539 <joni.version>2.1.11</joni.version>
1540 <jcodings.version>1.0.18</jcodings.version>
1541 <spy.version>2.12.2</spy.version>
1542 <bouncycastle.version>1.60</bouncycastle.version>
1543 <kerby.version>1.0.1</kerby.version>
1544 <commons-crypto.version>1.0.0</commons-crypto.version>
1545 <curator.version>4.2.0</curator.version>
1546 <!-- Plugin Dependencies -->
1547 <apache.rat.version>0.13</apache.rat.version>
1548 <asciidoctor.plugin.version>1.5.8</asciidoctor.plugin.version>
1549 <asciidoctorj.pdf.version>1.5.0-rc.2</asciidoctorj.pdf.version>
1550 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1551 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1553 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1555 <checkstyle.version>8.28</checkstyle.version>
1556 <exec.maven.version>1.6.0</exec.maven.version>
1557 <error-prone.version>2.3.4</error-prone.version>
1558 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1559 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1560 <maven.antrun.version>1.8</maven.antrun.version>
1561 <maven.bundle.version>3.3.0</maven.bundle.version>
1562 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1563 <maven.eclipse.version>2.10</maven.eclipse.version>
1564 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1565 <maven.project.info.report.version>2.9</maven.project.info.report.version>
1566 <os.maven.version>1.5.0.Final</os.maven.version>
1567 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1568 <spotbugs.version>3.1.12</spotbugs.version>
1569 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1570 <surefire.version>3.0.0-M4</surefire.version>
1571 <wagon.ssh.version>2.12</wagon.ssh.version>
1572 <xml.maven.version>1.0.1</xml.maven.version>
1573 <hbase-thirdparty.version>3.2.0</hbase-thirdparty.version>
1574 <!-- Intraproject jar naming properties -->
1575 <!-- TODO this is pretty ugly, but works for the moment.
1576 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1577 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1578 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1579 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1580 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1581 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1582 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1583 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1584 <shell-executable>bash</shell-executable>
1585 <surefire.provider>surefire-junit47</surefire.provider>
1586 <!-- default: run small & medium, medium with 2 threads -->
1587 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1588 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1589 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1590 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1591 value is you want to burn through tests faster (could make for more failures
1592 if more contention around resources). There is a matching MAVEN_ARG
1593 in our yetus personality where we set the maven -T command to 0.25C too.
1594 For example, to run at a rate that is more furious than our 0.25C, do
1595 something like this:
1596 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1598 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1599 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1600 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1601 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1602 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1603 <test.output.tofile>true</test.output.tofile>
1604 <surefire.timeout>900</surefire.timeout>
1605 <test.exclude.pattern></test.exclude.pattern>
1607 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1608 This value is managed separately for jdk11. See below.
1610 <surefire.Xmx>2200m</surefire.Xmx>
1611 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1612 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1614 And for netty eventloops that have no explicit configuration, netty sets
1615 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1618 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1619 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1620 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1621 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1622 -Dio.netty.eventLoopThreads=3
1623 </hbase-surefire.argLine>
1624 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1625 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1626 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1627 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1628 </hbase-surefire.cygwin-argLine>
1629 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1630 <argLine>${hbase-surefire.argLine}</argLine>
1631 <jacoco.version>0.7.5.201505241946</jacoco.version>
1632 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1633 <enforcer.version>3.0.0-M2</enforcer.version>
1634 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1635 <!-- Location of test resources -->
1636 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1637 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1638 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1639 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1640 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1641 <build.id>${maven.build.timestamp}</build.id>
1642 <shell-executable>bash</shell-executable>
1643 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1644 property as of javadoc-plugin 3.0.0 -->
1645 <doclint>none</doclint>
1646 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1648 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1649 <dependencyManagement>
1652 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1653 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1654 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1655 implementation of the same, because Hadoop also uses this version
1656 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1657 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1659 <!-- Intra-module dependencies -->
1661 <groupId>org.apache.hbase</groupId>
1662 <artifactId>hbase-annotations</artifactId>
1663 <version>${project.version}</version>
1664 <type>test-jar</type>
1665 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1668 <artifactId>hbase-backup</artifactId>
1669 <groupId>org.apache.hbase</groupId>
1670 <version>${project.version}</version>
1673 <groupId>org.apache.hbase</groupId>
1674 <artifactId>hbase-common</artifactId>
1675 <version>${project.version}</version>
1678 <groupId>org.apache.hbase</groupId>
1679 <artifactId>hbase-common</artifactId>
1680 <version>${project.version}</version>
1681 <type>test-jar</type>
1685 <groupId>org.apache.hbase</groupId>
1686 <artifactId>hbase-protocol-shaded</artifactId>
1687 <version>${project.version}</version>
1690 <groupId>org.apache.hbase</groupId>
1691 <artifactId>hbase-procedure</artifactId>
1692 <version>${project.version}</version>
1695 <groupId>org.apache.hbase</groupId>
1696 <artifactId>hbase-procedure</artifactId>
1697 <version>${project.version}</version>
1698 <type>test-jar</type>
1701 <groupId>org.apache.hbase</groupId>
1702 <artifactId>hbase-hadoop-compat</artifactId>
1703 <version>${project.version}</version>
1706 <groupId>org.apache.hbase</groupId>
1707 <artifactId>hbase-hadoop-compat</artifactId>
1708 <version>${project.version}</version>
1709 <type>test-jar</type>
1713 <groupId>org.apache.hbase</groupId>
1714 <artifactId>${compat.module}</artifactId>
1715 <version>${project.version}</version>
1718 <groupId>org.apache.hbase</groupId>
1719 <artifactId>${compat.module}</artifactId>
1720 <version>${project.version}</version>
1721 <type>test-jar</type>
1725 <artifactId>hbase-replication</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1730 <artifactId>hbase-balancer</artifactId>
1731 <groupId>org.apache.hbase</groupId>
1732 <version>${project.version}</version>
1735 <artifactId>hbase-http</artifactId>
1736 <groupId>org.apache.hbase</groupId>
1737 <version>${project.version}</version>
1740 <artifactId>hbase-http</artifactId>
1741 <groupId>org.apache.hbase</groupId>
1742 <version>${project.version}</version>
1743 <type>test-jar</type>
1747 <artifactId>hbase-server</artifactId>
1748 <groupId>org.apache.hbase</groupId>
1749 <version>${project.version}</version>
1752 <artifactId>hbase-server</artifactId>
1753 <groupId>org.apache.hbase</groupId>
1754 <version>${project.version}</version>
1755 <type>test-jar</type>
1759 <artifactId>hbase-mapreduce</artifactId>
1760 <groupId>org.apache.hbase</groupId>
1761 <version>${project.version}</version>
1764 <artifactId>hbase-mapreduce</artifactId>
1765 <groupId>org.apache.hbase</groupId>
1766 <version>${project.version}</version>
1767 <type>test-jar</type>
1771 <artifactId>hbase-endpoint</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1776 <artifactId>hbase-shell</artifactId>
1777 <groupId>org.apache.hbase</groupId>
1778 <version>${project.version}</version>
1781 <artifactId>hbase-shell</artifactId>
1782 <groupId>org.apache.hbase</groupId>
1783 <version>${project.version}</version>
1784 <type>test-jar</type>
1788 <artifactId>hbase-thrift</artifactId>
1789 <groupId>org.apache.hbase</groupId>
1790 <version>${project.version}</version>
1793 <artifactId>hbase-thrift</artifactId>
1794 <groupId>org.apache.hbase</groupId>
1795 <version>${project.version}</version>
1796 <type>test-jar</type>
1800 <groupId>org.apache.hbase</groupId>
1801 <artifactId>hbase-testing-util</artifactId>
1802 <version>${project.version}</version>
1806 <artifactId>hbase-examples</artifactId>
1807 <groupId>org.apache.hbase</groupId>
1808 <version>${project.version}</version>
1811 <groupId>org.apache.hbase</groupId>
1812 <artifactId>hbase-external-blockcache</artifactId>
1813 <version>${project.version}</version>
1816 <artifactId>hbase-it</artifactId>
1817 <groupId>org.apache.hbase</groupId>
1818 <version>${project.version}</version>
1819 <type>test-jar</type>
1823 <artifactId>hbase-client</artifactId>
1824 <groupId>org.apache.hbase</groupId>
1825 <version>${project.version}</version>
1828 <artifactId>hbase-metrics-api</artifactId>
1829 <groupId>org.apache.hbase</groupId>
1830 <version>${project.version}</version>
1833 <artifactId>hbase-metrics-api</artifactId>
1834 <groupId>org.apache.hbase</groupId>
1835 <version>${project.version}</version>
1836 <type>test-jar</type>
1840 <artifactId>hbase-metrics</artifactId>
1841 <groupId>org.apache.hbase</groupId>
1842 <version>${project.version}</version>
1845 <artifactId>hbase-metrics</artifactId>
1846 <groupId>org.apache.hbase</groupId>
1847 <version>${project.version}</version>
1848 <type>test-jar</type>
1852 <artifactId>hbase-rest</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1857 <artifactId>hbase-resource-bundle</artifactId>
1858 <groupId>org.apache.hbase</groupId>
1859 <version>${project.version}</version>
1862 <artifactId>hbase-zookeeper</artifactId>
1863 <groupId>org.apache.hbase</groupId>
1864 <version>${project.version}</version>
1867 <groupId>com.google.code.findbugs</groupId>
1868 <artifactId>jsr305</artifactId>
1871 <groupId>com.github.spotbugs</groupId>
1872 <artifactId>spotbugs-annotations</artifactId>
1877 <artifactId>hbase-zookeeper</artifactId>
1878 <groupId>org.apache.hbase</groupId>
1879 <version>${project.version}</version>
1880 <type>test-jar</type>
1884 <artifactId>hbase-hbtop</artifactId>
1885 <groupId>org.apache.hbase</groupId>
1886 <version>${project.version}</version>
1889 <groupId>org.apache.hbase</groupId>
1890 <artifactId>hbase-shaded-client</artifactId>
1891 <version>${project.version}</version>
1894 <groupId>org.apache.hbase</groupId>
1895 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1896 <version>${project.version}</version>
1899 <groupId>org.apache.hbase</groupId>
1900 <artifactId>hbase-shaded-mapreduce</artifactId>
1901 <version>${project.version}</version>
1903 <!-- General dependencies -->
1905 <groupId>com.github.stephenc.findbugs</groupId>
1906 <artifactId>findbugs-annotations</artifactId>
1907 <version>${findbugs-annotations.version}</version>
1909 <!-- General dependencies -->
1911 <groupId>org.codehaus.jettison</groupId>
1912 <artifactId>jettison</artifactId>
1913 <version>${jettison.version}</version>
1916 <groupId>org.slf4j</groupId>
1917 <artifactId>slf4j-log4j12</artifactId>
1918 <version>${slf4j.version}</version>
1921 <groupId>log4j</groupId>
1922 <artifactId>log4j</artifactId>
1923 <version>${log4j.version}</version>
1925 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1927 <groupId>org.apache.avro</groupId>
1928 <artifactId>avro</artifactId>
1929 <version>${avro.version}</version>
1931 <!--This is not used by hbase directly. Used by thrift,
1932 dropwizard and zk.-->
1934 <groupId>org.slf4j</groupId>
1935 <artifactId>slf4j-api</artifactId>
1936 <version>${slf4j.version}</version>
1939 <groupId>com.github.ben-manes.caffeine</groupId>
1940 <artifactId>caffeine</artifactId>
1941 <version>${caffeine.version}</version>
1944 <groupId>io.dropwizard.metrics</groupId>
1945 <artifactId>metrics-core</artifactId>
1946 <version>${metrics-core.version}</version>
1949 <groupId>org.apache.httpcomponents</groupId>
1950 <artifactId>httpclient</artifactId>
1951 <version>${httpclient.version}</version>
1954 <groupId>org.apache.httpcomponents</groupId>
1955 <artifactId>httpcore</artifactId>
1956 <version>${httpcore.version}</version>
1959 <groupId>commons-codec</groupId>
1960 <artifactId>commons-codec</artifactId>
1961 <version>${commons-codec.version}</version>
1964 <groupId>commons-validator</groupId>
1965 <artifactId>commons-validator</artifactId>
1966 <version>${commons-validator.version}</version>
1969 <groupId>commons-io</groupId>
1970 <artifactId>commons-io</artifactId>
1971 <version>${commons-io.version}</version>
1974 <groupId>org.apache.commons</groupId>
1975 <artifactId>commons-lang3</artifactId>
1976 <version>${commons-lang3.version}</version>
1979 <groupId>org.apache.commons</groupId>
1980 <artifactId>commons-math3</artifactId>
1981 <version>${commons-math.version}</version>
1984 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1987 <groupId>commons-logging</groupId>
1988 <artifactId>commons-logging</artifactId>
1989 <version>1.2</version>
1992 <groupId>org.apache.zookeeper</groupId>
1993 <artifactId>zookeeper</artifactId>
1994 <version>${zookeeper.version}</version>
1997 <groupId>com.google.code.findbugs</groupId>
1998 <artifactId>jsr305</artifactId>
2001 <groupId>com.github.spotbugs</groupId>
2002 <artifactId>spotbugs-annotations</artifactId>
2005 <groupId>jline</groupId>
2006 <artifactId>jline</artifactId>
2009 <groupId>com.sun.jmx</groupId>
2010 <artifactId>jmxri</artifactId>
2013 <groupId>com.sun.jdmk</groupId>
2014 <artifactId>jmxtools</artifactId>
2017 <groupId>javax.jms</groupId>
2018 <artifactId>jms</artifactId>
2021 <groupId>io.netty</groupId>
2022 <artifactId>netty</artifactId>
2027 <groupId>jline</groupId>
2028 <artifactId>jline</artifactId>
2029 <version>${jline.version}</version>
2032 <groupId>org.apache.thrift</groupId>
2033 <artifactId>libthrift</artifactId>
2034 <version>${thrift.version}</version>
2037 <groupId>org.slf4j</groupId>
2038 <artifactId>slf4j-simple</artifactId>
2043 <groupId>org.jruby</groupId>
2044 <artifactId>jruby-complete</artifactId>
2045 <version>${jruby.version}</version>
2048 <groupId>org.jruby.jcodings</groupId>
2049 <artifactId>jcodings</artifactId>
2050 <version>${jcodings.version}</version>
2053 <groupId>org.jruby.joni</groupId>
2054 <artifactId>joni</artifactId>
2055 <version>${joni.version}</version>
2058 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2059 <artifactId>jackson-jaxrs-json-provider</artifactId>
2060 <version>${jackson.version}</version>
2063 <groupId>com.fasterxml.jackson.core</groupId>
2064 <artifactId>jackson-annotations</artifactId>
2065 <version>${jackson.version}</version>
2068 <groupId>com.fasterxml.jackson.core</groupId>
2069 <artifactId>jackson-core</artifactId>
2070 <version>${jackson.version}</version>
2073 <groupId>com.fasterxml.jackson.core</groupId>
2074 <artifactId>jackson-databind</artifactId>
2075 <version>${jackson.databind.version}</version>
2078 <groupId>org.jamon</groupId>
2079 <artifactId>jamon-runtime</artifactId>
2080 <version>${jamon-runtime.version}</version>
2082 <!-- REST dependencies -->
2084 <groupId>javax.servlet</groupId>
2085 <artifactId>javax.servlet-api</artifactId>
2086 <version>${servlet.api.version}</version>
2089 <groupId>javax.ws.rs</groupId>
2090 <artifactId>javax.ws.rs-api</artifactId>
2091 <version>${wx.rs.api.version}</version>
2094 <groupId>com.sun.activation</groupId>
2095 <artifactId>javax.activation</artifactId>
2096 <version>1.2.0</version>
2099 <groupId>javax.annotation</groupId>
2100 <artifactId>javax.annotation-api</artifactId>
2101 <version>1.2</version>
2104 <groupId>org.eclipse.jetty</groupId>
2105 <artifactId>jetty-server</artifactId>
2106 <version>${jetty.version}</version>
2109 <groupId>org.eclipse.jetty</groupId>
2110 <artifactId>jetty-servlet</artifactId>
2111 <version>${jetty.version}</version>
2114 <groupId>org.eclipse.jetty</groupId>
2115 <artifactId>servlet-api</artifactId>
2120 <groupId>org.eclipse.jetty</groupId>
2121 <artifactId>jetty-security</artifactId>
2122 <version>${jetty.version}</version>
2125 <groupId>org.eclipse.jetty</groupId>
2126 <artifactId>jetty-http</artifactId>
2127 <version>${jetty.version}</version>
2130 <groupId>org.eclipse.jetty</groupId>
2131 <artifactId>jetty-util</artifactId>
2132 <version>${jetty.version}</version>
2135 <groupId>org.eclipse.jetty</groupId>
2136 <artifactId>jetty-io</artifactId>
2137 <version>${jetty.version}</version>
2140 <groupId>org.eclipse.jetty</groupId>
2141 <artifactId>jetty-jmx</artifactId>
2142 <version>${jetty.version}</version>
2145 <groupId>org.eclipse.jetty</groupId>
2146 <artifactId>jetty-webapp</artifactId>
2147 <version>${jetty.version}</version>
2150 <groupId>org.eclipse.jetty</groupId>
2151 <artifactId>jetty-util-ajax</artifactId>
2152 <version>${jetty.version}</version>
2155 <groupId>com.google.protobuf</groupId>
2156 <artifactId>protobuf-java</artifactId>
2157 <version>${external.protobuf.version}</version>
2160 <groupId>org.glassfish.jersey.containers</groupId>
2161 <artifactId>jersey-container-servlet-core</artifactId>
2162 <version>${jersey.version}</version>
2165 <groupId>org.glassfish.jersey.core</groupId>
2166 <artifactId>jersey-client</artifactId>
2167 <version>${jersey.version}</version>
2170 <groupId>org.glassfish.jersey.core</groupId>
2171 <artifactId>jersey-server</artifactId>
2172 <version>${jersey.version}</version>
2175 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2176 <groupId>org.glassfish.web</groupId>
2177 <artifactId>javax.servlet.jsp</artifactId>
2178 <version>${glassfish.jsp.version}</version>
2181 <!-- this lib is used by the compiled Jsp from the above JspC -->
2182 <groupId>javax.servlet.jsp</groupId>
2183 <artifactId>javax.servlet.jsp-api</artifactId>
2184 <version>2.3.1</version>
2187 <groupId>org.glassfish</groupId>
2188 <artifactId>javax.el</artifactId>
2189 <version>${glassfish.el.version}</version>
2192 <groupId>javax.xml.bind</groupId>
2193 <artifactId>jaxb-api</artifactId>
2194 <version>${jaxb-api.version}</version>
2197 <groupId>javax.xml.stream</groupId>
2198 <artifactId>stax-api</artifactId>
2203 <groupId>junit</groupId>
2204 <artifactId>junit</artifactId>
2205 <version>${junit.version}</version>
2208 <groupId>org.hamcrest</groupId>
2209 <artifactId>hamcrest-core</artifactId>
2210 <version>${hamcrest.version}</version>
2214 <groupId>org.hamcrest</groupId>
2215 <artifactId>hamcrest-library</artifactId>
2216 <version>${hamcrest.version}</version>
2220 <groupId>org.mockito</groupId>
2221 <artifactId>mockito-core</artifactId>
2222 <version>${mockito-core.version}</version>
2226 <groupId>org.apache.htrace</groupId>
2227 <artifactId>htrace-core4</artifactId>
2228 <version>${htrace.version}</version>
2231 <groupId>com.lmax</groupId>
2232 <artifactId>disruptor</artifactId>
2233 <version>${disruptor.version}</version>
2236 <groupId>net.spy</groupId>
2237 <artifactId>spymemcached</artifactId>
2238 <version>${spy.version}</version>
2239 <optional>true</optional>
2242 <groupId>org.bouncycastle</groupId>
2243 <artifactId>bcprov-jdk15on</artifactId>
2244 <version>${bouncycastle.version}</version>
2248 <groupId>org.apache.kerby</groupId>
2249 <artifactId>kerb-core</artifactId>
2250 <version>${kerby.version}</version>
2253 <groupId>org.apache.kerby</groupId>
2254 <artifactId>kerb-client</artifactId>
2255 <version>${kerby.version}</version>
2258 <groupId>org.apache.kerby</groupId>
2259 <artifactId>kerb-simplekdc</artifactId>
2260 <version>${kerby.version}</version>
2263 <groupId>org.apache.commons</groupId>
2264 <artifactId>commons-crypto</artifactId>
2265 <version>${commons-crypto.version}</version>
2268 <groupId>net.java.dev.jna</groupId>
2269 <artifactId>jna</artifactId>
2274 <groupId>org.apache.curator</groupId>
2275 <artifactId>curator-framework</artifactId>
2276 <version>${curator.version}</version>
2279 <groupId>org.apache.zookeeper</groupId>
2280 <artifactId>zookeeper</artifactId>
2285 <groupId>org.apache.curator</groupId>
2286 <artifactId>curator-client</artifactId>
2287 <version>${curator.version}</version>
2290 <groupId>com.google.guava</groupId>
2291 <artifactId>guava</artifactId>
2294 <groupId>org.apache.zookeeper</groupId>
2295 <artifactId>zookeeper</artifactId>
2300 <groupId>org.apache.curator</groupId>
2301 <artifactId>curator-recipes</artifactId>
2302 <version>${curator.version}</version>
2305 <groupId>com.google.guava</groupId>
2306 <artifactId>guava</artifactId>
2309 <groupId>org.apache.zookeeper</groupId>
2310 <artifactId>zookeeper</artifactId>
2315 <groupId>org.apache.yetus</groupId>
2316 <artifactId>audience-annotations</artifactId>
2317 <version>${audience-annotations.version}</version>
2320 <groupId>org.apache.hbase.thirdparty</groupId>
2321 <artifactId>hbase-shaded-gson</artifactId>
2322 <version>${hbase-thirdparty.version}</version>
2325 <groupId>org.apache.hbase.thirdparty</groupId>
2326 <artifactId>hbase-shaded-miscellaneous</artifactId>
2327 <version>${hbase-thirdparty.version}</version>
2330 <groupId>org.apache.hbase.thirdparty</groupId>
2331 <artifactId>hbase-shaded-netty</artifactId>
2332 <version>${hbase-thirdparty.version}</version>
2335 <groupId>org.apache.hbase.thirdparty</groupId>
2336 <artifactId>hbase-shaded-protobuf</artifactId>
2337 <version>${hbase-thirdparty.version}</version>
2340 <groupId>com.sun.xml.ws</groupId>
2341 <artifactId>jaxws-ri</artifactId>
2342 <version>2.3.2</version>
2346 <groupId>javax.activation</groupId>
2347 <artifactId>javax.activation-api</artifactId>
2352 </dependencyManagement>
2354 <!--REMOVE THIS. HERE TEMPORARILY.
2355 Implication is that every module needs junit which is not so.
2356 Cannot undo though because build runs test on each module and
2357 it fails if no junit. TODO. -->
2359 <groupId>junit</groupId>
2360 <artifactId>junit</artifactId>
2366 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2371 <id>apache.releases.https</id>
2372 <username>hbase_committer</username>
2373 <password>********</password>
2377 <id>apache.snapshots.https</id>
2378 <username>hbase_committer</username>
2379 <password>********</password>
2387 $ mvn -s /my/path/settings.xml deploy
2392 <id>build-with-jdk8</id>
2404 <id>build-with-jdk11</id>
2409 <!-- TODO: replicate logic for windows support -->
2410 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2411 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2412 <hadoop-three.version>3.2.0</hadoop-three.version>
2414 Value to use for surefire when running jdk11.
2415 TODO: replicate logic for windows
2417 <surefire.Xmx>2200m</surefire.Xmx>
2420 <!-- profile activated by the Jenkins patch testing job -->
2422 <id>jenkins.patch</id>
2424 <activeByDefault>false</activeByDefault>
2426 <name>HBasePatchProcess</name>
2430 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2435 <groupId>org.apache.maven.plugins</groupId>
2436 <artifactId>maven-antrun-plugin</artifactId>
2437 <inherited>false</inherited>
2440 <phase>validate</phase>
2446 <echo>Maven Execution Environment</echo>
2447 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2459 <activeByDefault>false</activeByDefault>
2464 <groupId>org.jacoco</groupId>
2465 <artifactId>jacoco-maven-plugin</artifactId>
2466 <version>${jacoco.version}</version>
2469 <id>prepare-agent</id>
2471 <goal>prepare-agent</goal>
2476 <phase>prepare-package</phase>
2483 <systemPropertyVariables>
2484 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2485 </systemPropertyVariables>
2487 <exclude>**/generated/**/*.class</exclude>
2497 <activeByDefault>false</activeByDefault>
2499 <family>Linux</family>
2503 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2510 <family>Mac</family>
2514 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2521 <family>Windows</family>
2525 <build.platform>cygwin</build.platform>
2526 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2529 <!-- this profile should match the name of the release profile in the root asf pom -->
2531 <id>apache-release</id>
2534 <!-- This should insert itself in place of the normal deploy plugin and then
2535 handle either closing or dropping the staging repository for us depending
2536 on if the build succeeds.
2539 <groupId>org.sonatype.plugins</groupId>
2540 <artifactId>nexus-staging-maven-plugin</artifactId>
2541 <version>1.6.8</version>
2542 <extensions>true</extensions>
2544 <nexusUrl>https://repository.apache.org/</nexusUrl>
2545 <serverId>apache.releases.https</serverId>
2551 <!-- this profile should be activated for release builds -->
2557 <groupId>org.apache.rat</groupId>
2558 <artifactId>apache-rat-plugin</artifactId>
2561 <phase>package</phase>
2569 <groupId>org.apache.maven.plugins</groupId>
2570 <artifactId>maven-enforcer-plugin</artifactId>
2571 <version>${enforcer.version}</version>
2574 <groupId>org.codehaus.mojo</groupId>
2575 <artifactId>extra-enforcer-rules</artifactId>
2576 <version>${extra.enforcer.version}</version>
2581 <enforceBytecodeVersion>
2582 <maxJdkVersion>${compileSource}</maxJdkVersion>
2583 <message>HBase has unsupported dependencies.
2584 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2585 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2586 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2587 Non-release builds can temporarily build with a newer JDK version by setting the
2588 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2591 <ignoreClass>module-info</ignoreClass>
2593 </enforceBytecodeVersion>
2600 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2601 <!-- Submodules that need hadoop dependencies should declare
2602 profiles with activation properties matching the profile here.
2603 Generally, it should be sufficient to copy the first
2604 few lines of the profile you want to match. -->
2605 <!-- Profile for building against Hadoop 3.0.0. Activate by default -->
2609 <property><name>!hadoop.profile</name></property>
2612 <!--For now, use hadoop2 compat module-->
2613 <module>hbase-hadoop2-compat</module>
2616 <hadoop.version>${hadoop-three.version}</hadoop.version>
2617 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2618 <compat.module>hbase-hadoop2-compat</compat.module>
2619 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2620 <!--This property is for hadoops netty. HBase netty
2621 comes in via hbase-thirdparty hbase-shaded-netty-->
2622 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2624 <dependencyManagement>
2627 <groupId>org.apache.hadoop</groupId>
2628 <artifactId>hadoop-mapreduce-client-core</artifactId>
2629 <version>${hadoop-three.version}</version>
2632 <groupId>com.sun.jersey</groupId>
2633 <artifactId>jersey-core</artifactId>
2636 <groupId>org.codehaus.jackson</groupId>
2637 <artifactId>jackson-jaxrs</artifactId>
2640 <groupId>org.codehaus.jackson</groupId>
2641 <artifactId>jackson-xc</artifactId>
2644 <groupId>io.netty</groupId>
2645 <artifactId>netty</artifactId>
2648 <groupId>javax.inject</groupId>
2649 <artifactId>javax.inject</artifactId>
2652 <groupId>org.codehaus.jackson</groupId>
2653 <artifactId>jackson-core-asl</artifactId>
2656 <groupId>org.codehaus.jackson</groupId>
2657 <artifactId>jackson-mapper-asl</artifactId>
2660 <groupId>com.google.guava</groupId>
2661 <artifactId>guava</artifactId>
2666 <groupId>org.apache.hadoop</groupId>
2667 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2668 <version>${hadoop-three.version}</version>
2671 <groupId>com.sun.jersey</groupId>
2672 <artifactId>jersey-core</artifactId>
2675 <groupId>io.netty</groupId>
2676 <artifactId>netty</artifactId>
2681 <groupId>org.apache.hadoop</groupId>
2682 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2683 <version>${hadoop-three.version}</version>
2684 <type>test-jar</type>
2688 <groupId>com.sun.jersey</groupId>
2689 <artifactId>jersey-core</artifactId>
2692 <groupId>io.netty</groupId>
2693 <artifactId>netty</artifactId>
2698 <groupId>org.apache.hadoop</groupId>
2699 <artifactId>hadoop-hdfs</artifactId>
2700 <version>${hadoop-three.version}</version>
2703 <groupId>com.sun.jersey</groupId>
2704 <artifactId>jersey-core</artifactId>
2707 <groupId>com.sun.jersey</groupId>
2708 <artifactId>jersey-server</artifactId>
2711 <groupId>javax.servlet.jsp</groupId>
2712 <artifactId>jsp-api</artifactId>
2715 <groupId>javax.servlet</groupId>
2716 <artifactId>servlet-api</artifactId>
2719 <groupId>stax</groupId>
2720 <artifactId>stax-api</artifactId>
2723 <groupId>xerces</groupId>
2724 <artifactId>xercesImpl</artifactId>
2727 <groupId>org.codehaus.jackson</groupId>
2728 <artifactId>jackson-core-asl</artifactId>
2731 <groupId>org.codehaus.jackson</groupId>
2732 <artifactId>jackson-mapper-asl</artifactId>
2735 <groupId>com.google.guava</groupId>
2736 <artifactId>guava</artifactId>
2741 <groupId>org.apache.hadoop</groupId>
2742 <artifactId>hadoop-hdfs</artifactId>
2743 <version>${hadoop-three.version}</version>
2744 <type>test-jar</type>
2748 <groupId>javax.servlet.jsp</groupId>
2749 <artifactId>jsp-api</artifactId>
2752 <groupId>javax.servlet</groupId>
2753 <artifactId>servlet-api</artifactId>
2756 <groupId>stax</groupId>
2757 <artifactId>stax-api</artifactId>
2760 <groupId>xerces</groupId>
2761 <artifactId>xercesImpl</artifactId>
2764 <groupId>org.codehaus.jackson</groupId>
2765 <artifactId>jackson-core-asl</artifactId>
2768 <groupId>org.codehaus.jackson</groupId>
2769 <artifactId>jackson-mapper-asl</artifactId>
2772 <groupId>com.google.guava</groupId>
2773 <artifactId>guava</artifactId>
2776 <groupId>com.sun.jersey</groupId>
2777 <artifactId>jersey-core</artifactId>
2782 <groupId>org.apache.hadoop</groupId>
2783 <artifactId>hadoop-hdfs</artifactId>
2784 <version>${hadoop-three.version}</version>
2785 <type>test-jar</type>
2786 <classifier>tests</classifier>
2790 <groupId>com.sun.jersey</groupId>
2791 <artifactId>jersey-core</artifactId>
2796 <groupId>org.apache.hadoop</groupId>
2797 <artifactId>hadoop-auth</artifactId>
2798 <version>${hadoop-three.version}</version>
2801 <groupId>com.google.guava</groupId>
2802 <artifactId>guava</artifactId>
2805 <groupId>net.minidev</groupId>
2806 <artifactId>json-smart</artifactId>
2811 <groupId>org.apache.hadoop</groupId>
2812 <artifactId>hadoop-common</artifactId>
2813 <version>${hadoop-three.version}</version>
2816 <groupId>com.sun.jersey</groupId>
2817 <artifactId>jersey-core</artifactId>
2820 <groupId>com.sun.jersey</groupId>
2821 <artifactId>jersey-json</artifactId>
2824 <groupId>com.sun.jersey</groupId>
2825 <artifactId>jersey-servlet</artifactId>
2828 <groupId>com.sun.jersey</groupId>
2829 <artifactId>jersey-server</artifactId>
2832 <groupId>javax.servlet.jsp</groupId>
2833 <artifactId>jsp-api</artifactId>
2836 <groupId>javax.servlet</groupId>
2837 <artifactId>javax.servlet-api</artifactId>
2840 <groupId>stax</groupId>
2841 <artifactId>stax-api</artifactId>
2844 <groupId>io.netty</groupId>
2845 <artifactId>netty</artifactId>
2848 <groupId>com.google.code.findbugs</groupId>
2849 <artifactId>jsr305</artifactId>
2852 <groupId>junit</groupId>
2853 <artifactId>junit</artifactId>
2856 <groupId>org.codehause.jackson</groupId>
2857 <artifactId>jackson-core-asl</artifactId>
2860 <groupId>org.codehause.jackson</groupId>
2861 <artifactId>jackson-mapper-asl</artifactId>
2867 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2869 <groupId>javax.activation</groupId>
2870 <artifactId>javax.activation-api</artifactId>
2871 <version>1.2.0</version>
2875 <groupId>org.apache.hadoop</groupId>
2876 <artifactId>hadoop-common</artifactId>
2877 <type>test-jar</type>
2878 <classifier>tests</classifier>
2879 <version>${hadoop-three.version}</version>
2882 <groupId>com.sun.jersey</groupId>
2883 <artifactId>jersey-core</artifactId>
2886 <groupId>com.google.code.findbugs</groupId>
2887 <artifactId>jsr305</artifactId>
2892 <groupId>org.apache.hadoop</groupId>
2893 <artifactId>hadoop-client</artifactId>
2894 <version>${hadoop-three.version}</version>
2897 <groupId>org.apache.hadoop</groupId>
2898 <artifactId>hadoop-annotations</artifactId>
2899 <version>${hadoop-three.version}</version>
2901 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2902 Where do we actually need it? -->
2904 <groupId>org.apache.hadoop</groupId>
2905 <artifactId>hadoop-minicluster</artifactId>
2906 <version>${hadoop-three.version}</version>
2908 <!--If we comment this in, a few tests in hbase-mapreduce
2909 fail. They depend on jersey-core somehow. But excluding
2910 jersey-core here messes up hbase-it because jersey-core
2911 implements a 1.x jaxrs Response Interface when we depend
2912 on the 2.x Interface... . Letting this jar come in
2913 transitively here but will exclude it down in hbase-it.
2916 <groupId>com.sun.jersey</groupId>
2917 <artifactId>jersey-core</artifactId>
2921 <groupId>commons-httpclient</groupId>
2922 <artifactId>commons-httpclient</artifactId>
2925 <groupId>javax.servlet.jsp</groupId>
2926 <artifactId>jsp-api</artifactId>
2929 <groupId>javax.servlet</groupId>
2930 <artifactId>servlet-api</artifactId>
2933 <groupId>stax</groupId>
2934 <artifactId>stax-api</artifactId>
2937 <groupId>io.netty</groupId>
2938 <artifactId>netty</artifactId>
2941 <groupId>com.google.code.findbugs</groupId>
2942 <artifactId>jsr305</artifactId>
2947 <groupId>org.apache.hadoop</groupId>
2948 <artifactId>hadoop-minikdc</artifactId>
2949 <version>${hadoop-three.version}</version>
2954 <groupId>org.apache.hadoop</groupId>
2955 <artifactId>hadoop-distcp</artifactId>
2956 <version>${hadoop-three.version}</version>
2960 <groupId>org.apache.hadoop</groupId>
2961 <artifactId>hadoop-hdfs-client</artifactId>
2962 <version>${hadoop-three.version}</version>
2965 </dependencyManagement>
2968 <!-- profiles for the tests
2969 See as well the properties of the project for the values
2970 when no profile is active. -->
2972 <!-- Use it to launch all tests in the same JVM -->
2973 <id>singleJVMTests</id>
2975 <activeByDefault>false</activeByDefault>
2978 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2979 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2980 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2981 <surefire.firstPartGroups/>
2985 <!-- Use it to launch small tests only -->
2986 <id>runSmallTests</id>
2988 <activeByDefault>false</activeByDefault>
2991 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2992 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2993 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2994 <surefire.secondPartGroups/>
2998 <!-- Use it to launch medium tests only -->
2999 <id>runMediumTests</id>
3001 <activeByDefault>false</activeByDefault>
3004 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3005 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3006 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3007 <surefire.secondPartGroups/>
3011 <!-- Use it to launch large tests only -->
3012 <id>runLargeTests</id>
3014 <activeByDefault>false</activeByDefault>
3017 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3018 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3019 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3020 <surefire.secondPartGroups/>
3024 <!-- Use it to launch small & medium tests -->
3025 <id>runDevTests</id>
3027 <activeByDefault>false</activeByDefault>
3030 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3031 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3032 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3033 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3034 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3038 <!-- Use it to launch all tests -->
3039 <id>runAllTests</id>
3041 <activeByDefault>false</activeByDefault>
3044 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3045 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3046 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3047 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3051 <id>runMiscTests</id>
3053 <activeByDefault>false</activeByDefault>
3056 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3057 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3058 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3059 </surefire.firstPartGroups>
3060 <surefire.secondPartGroups></surefire.secondPartGroups>
3064 <id>runCoprocessorTests</id>
3066 <activeByDefault>false</activeByDefault>
3069 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3070 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3071 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3072 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3073 <surefire.firstPartGroups>
3074 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3075 </surefire.firstPartGroups>
3076 <surefire.secondPartGroups></surefire.secondPartGroups>
3080 <id>runClientTests</id>
3082 <activeByDefault>false</activeByDefault>
3085 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3086 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3087 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3088 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3089 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3090 </surefire.firstPartGroups>
3091 <surefire.secondPartGroups></surefire.secondPartGroups>
3095 <id>runMasterTests</id>
3097 <activeByDefault>false</activeByDefault>
3100 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3101 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3102 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3103 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3104 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3105 </surefire.firstPartGroups>
3106 <surefire.secondPartGroups></surefire.secondPartGroups>
3110 <id>runMapredTests</id>
3112 <activeByDefault>false</activeByDefault>
3115 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3116 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3117 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3118 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3119 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3120 </surefire.firstPartGroups>
3121 <surefire.secondPartGroups></surefire.secondPartGroups>
3125 <id>runMapreduceTests</id>
3127 <activeByDefault>false</activeByDefault>
3130 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3131 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3132 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3133 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3134 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3135 </surefire.firstPartGroups>
3136 <surefire.secondPartGroups></surefire.secondPartGroups>
3140 <id>runRegionServerTests</id>
3142 <activeByDefault>false</activeByDefault>
3145 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3146 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3147 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3148 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3149 <surefire.firstPartGroups>
3150 org.apache.hadoop.hbase.testclassification.RegionServerTests
3151 </surefire.firstPartGroups>
3152 <surefire.secondPartGroups></surefire.secondPartGroups>
3156 <id>runVerySlowMapReduceTests</id>
3158 <activeByDefault>false</activeByDefault>
3161 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3162 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3163 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3164 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3165 <surefire.firstPartGroups>
3166 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3167 </surefire.firstPartGroups>
3168 <surefire.secondPartGroups></surefire.secondPartGroups>
3173 <id>runVerySlowRegionServerTests</id>
3175 <activeByDefault>false</activeByDefault>
3178 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3179 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3180 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3181 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3182 <surefire.firstPartGroups>
3183 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3184 </surefire.firstPartGroups>
3185 <surefire.secondPartGroups></surefire.secondPartGroups>
3190 <id>runFilterTests</id>
3192 <activeByDefault>false</activeByDefault>
3195 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3196 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3197 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3198 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3199 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3200 </surefire.firstPartGroups>
3201 <surefire.secondPartGroups></surefire.secondPartGroups>
3207 <activeByDefault>false</activeByDefault>
3210 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3211 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3212 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3213 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3214 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3215 </surefire.firstPartGroups>
3216 <surefire.secondPartGroups></surefire.secondPartGroups>
3220 <id>runRestTests</id>
3222 <activeByDefault>false</activeByDefault>
3225 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3226 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3227 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3228 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3229 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3230 </surefire.firstPartGroups>
3231 <surefire.secondPartGroups></surefire.secondPartGroups>
3235 <id>runRPCTests</id>
3237 <activeByDefault>false</activeByDefault>
3240 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3241 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3242 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3243 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3244 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3245 </surefire.firstPartGroups>
3246 <surefire.secondPartGroups></surefire.secondPartGroups>
3250 <id>runReplicationTests</id>
3252 <activeByDefault>false</activeByDefault>
3255 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3256 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3257 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3258 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3259 <surefire.firstPartGroups>
3260 org.apache.hadoop.hbase.testclassification.ReplicationTests
3261 </surefire.firstPartGroups>
3262 <surefire.secondPartGroups></surefire.secondPartGroups>
3266 <id>runSecurityTests</id>
3268 <activeByDefault>false</activeByDefault>
3271 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3272 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3273 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3274 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3275 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3276 </surefire.firstPartGroups>
3277 <surefire.secondPartGroups></surefire.secondPartGroups>
3281 <id>runFlakeyTests</id>
3283 <activeByDefault>false</activeByDefault>
3286 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3287 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3288 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3289 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3290 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3291 </surefire.firstPartGroups>
3292 <surefire.secondPartGroups></surefire.secondPartGroups>
3298 <activeByDefault>false</activeByDefault>
3301 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3302 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3303 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3304 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3305 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3306 </surefire.firstPartGroups>
3307 <surefire.secondPartGroups></surefire.secondPartGroups>
3311 <id>runRSGroupTests</id>
3313 <activeByDefault>false</activeByDefault>
3316 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3317 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3318 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3319 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3320 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RSGroupTests
3321 </surefire.firstPartGroups>
3322 <surefire.secondPartGroups></surefire.secondPartGroups>
3327 <!-- Use it to launch tests locally-->
3335 <surefire.provider>surefire-junit4</surefire.provider>
3336 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3337 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3338 <surefire.firstPartGroups/>
3341 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3342 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3343 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3344 The report will be generated under target/site/clover/index.html when you run
3345 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3349 <activeByDefault>false</activeByDefault>
3355 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3359 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3360 our instrumented classes for the doclet will fail
3363 <groupId>org.apache.maven.plugins</groupId>
3364 <artifactId>maven-javadoc-plugin</artifactId>
3367 <groupId>com.atlassian.maven.plugins</groupId>
3368 <artifactId>maven-clover2-plugin</artifactId>
3369 <version>${clover.version}</version>
3374 <groupId>com.atlassian.maven.plugins</groupId>
3375 <artifactId>maven-clover2-plugin</artifactId>
3376 <version>${clover.version}</version>
3378 <includesAllSourceRoots>true</includesAllSourceRoots>
3379 <includesTestSourceRoots>true</includesTestSourceRoots>
3380 <targetPercentage>50%</targetPercentage>
3381 <generateHtml>true</generateHtml>
3382 <generateXml>true</generateXml>
3384 <exclude>**/generated/**</exclude>
3389 <id>clover-setup</id>
3390 <phase>process-sources</phase>
3408 <!-- Used by the website generation script on jenkins to
3409 do a local install of the jars we need to run a normal
3410 site build w/o forking.
3412 <id>site-install-step</id>
3414 <skipTests>true</skipTests>
3415 <maven.javadoc.skip>true</maven.javadoc.skip>
3416 <enforcer.skip>true</enforcer.skip>
3417 <checkstyle.skip>true</checkstyle.skip>
3418 <spotbugs.skip>true</spotbugs.skip>
3419 <warbucks.skip>true</warbucks.skip>
3423 <!-- Used by the website generation script on jenkins to
3424 mitigate the impact of unneeded build forks while building
3427 <id>site-build-step</id>
3429 <skipTests>true</skipTests>
3430 <enforcer.skip>true</enforcer.skip>
3431 <maven.main.skip>true</maven.main.skip>
3432 <maven.test.skip>true</maven.test.skip>
3433 <warbucks.skip>true</warbucks.skip>
3434 <protoc.skip>true</protoc.skip>
3435 <remoteresources.skip>true</remoteresources.skip>
3439 <id>eclipse-specific</id>
3442 <name>m2e.version</name>
3448 <!-- General config for eclipse classpath/settings -->
3450 <groupId>org.apache.maven.plugins</groupId>
3451 <artifactId>maven-eclipse-plugin</artifactId>
3452 <version>${maven.eclipse.version}</version>
3454 <!--This plugin's configuration is used to store Eclipse m2e settings
3455 only. It has no influence on the Maven build itself. m2e does not
3456 provide any safeguards against rogue maven plugins that leak
3457 classloaders, modify random files inside workspace or throw nasty
3458 exceptions to fail the build.
3459 Top level doesn't do any specific configuration currently - left
3460 to modules to decide what they want to bind, sans those plugins
3461 defined in this pom. -->
3463 <groupId>org.eclipse.m2e</groupId>
3464 <artifactId>lifecycle-mapping</artifactId>
3465 <version>${lifecycle.mapping.version}</version>
3467 <lifecycleMappingMetadata>
3470 <pluginExecutionFilter>
3471 <groupId>org.jacoco</groupId>
3472 <artifactId>jacoco-maven-plugin</artifactId>
3473 <versionRange>[0.6.2.201302030002,)</versionRange>
3475 <goal>prepare-agent</goal>
3477 </pluginExecutionFilter>
3483 <pluginExecutionFilter>
3484 <groupId>org.apache.maven.plugins</groupId>
3485 <artifactId>maven-enforcer-plugin</artifactId>
3486 <versionRange>${enforcer.version}</versionRange>
3488 <goal>enforce</goal>
3490 </pluginExecutionFilter>
3496 <pluginExecutionFilter>
3497 <groupId>org.apache.maven.plugins</groupId>
3498 <artifactId>maven-remote-resources-plugin</artifactId>
3499 <versionRange>[1.5,)</versionRange>
3501 <goal>process</goal>
3504 </pluginExecutionFilter>
3510 <pluginExecutionFilter>
3511 <groupId>org.codehaus.mojo</groupId>
3512 <artifactId>buildnumber-maven-plugin</artifactId>
3513 <versionRange>[1.3,)</versionRange>
3515 <goal>create-timestamp</goal>
3517 </pluginExecutionFilter>
3520 <runOnConfiguration>true</runOnConfiguration>
3521 <runOnIncremental>true</runOnIncremental>
3526 </lifecycleMappingMetadata>
3536 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
3540 <family>linux</family>
3541 <arch>aarch64</arch>
3546 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3550 <artifactId>maven-project-info-reports-plugin</artifactId>
3551 <version>${maven.project.info.report.version}</version>
3555 <report>dependencies</report>
3556 <report>dependency-convergence</report>
3557 <report>dependency-info</report>
3558 <report>dependency-management</report>
3559 <report>index</report>
3560 <report>issue-tracking</report>
3561 <report>mailing-list</report>
3562 <report>plugin-management</report>
3563 <report>plugins</report>
3564 <report>project-team</report>
3565 <report>scm</report>
3566 <report>summary</report>
3570 <!-- see src/site/site.xml for selected reports -->
3572 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3577 <groupId>org.apache.maven.plugins</groupId>
3578 <artifactId>maven-javadoc-plugin</artifactId>
3582 <name>apiNote</name>
3583 <placement>a</placement>
3584 <head>API Note:</head>
3593 <report>aggregate</report>
3596 <destDir>devapidocs</destDir>
3597 <name>Developer API</name>
3598 <description>The full HBase API, including private and unstable APIs</description>
3599 <sourceFileExcludes>
3600 <exclude>**/generated/*</exclude>
3601 <exclude>**/protobuf/*</exclude>
3602 </sourceFileExcludes>
3603 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3604 <show>private</show> <!-- (shows all classes and members) -->
3606 <linksource>true</linksource>
3607 <sourcetab>2</sourcetab>
3608 <validateLinks>true</validateLinks>
3609 <fixClassComment>true</fixClassComment>
3610 <fixFieldComment>true</fixFieldComment>
3611 <fixMethodComment>true</fixMethodComment>
3612 <fixTags>all</fixTags>
3613 <notimestamp>true</notimestamp>
3614 <locale>en_US</locale>
3615 <!-- Pass some options straight to the javadoc executable since it is easier -->
3616 <additionalJOption>-J-Xmx2G</additionalJOption>
3617 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3618 <additionalDependencies>
3619 <additionalDependency>
3620 <groupId>org.mockito</groupId>
3621 <artifactId>mockito-core</artifactId>
3622 <version>${mockito-core.version}</version>
3623 </additionalDependency>
3624 <additionalDependency>
3625 <groupId>org.hamcrest</groupId>
3626 <artifactId>hamcrest-core</artifactId>
3627 <version>${hamcrest.version}</version>
3628 </additionalDependency>
3629 </additionalDependencies>
3630 <inherited>false</inherited>
3636 <report>test-aggregate</report>
3639 <destDir>testdevapidocs</destDir>
3640 <name>Developer API</name>
3641 <description>The full HBase API test code, including private and unstable APIs</description>
3642 <sourceFileExcludes>
3643 <exclude>**/generated/*</exclude>
3644 <exclude>**/protobuf/*</exclude>
3645 </sourceFileExcludes>
3646 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3647 <show>private</show> <!-- (shows all classes and members) -->
3649 <linksource>true</linksource>
3650 <sourcetab>2</sourcetab>
3651 <validateLinks>true</validateLinks>
3652 <fixClassComment>true</fixClassComment>
3653 <fixFieldComment>true</fixFieldComment>
3654 <fixMethodComment>true</fixMethodComment>
3655 <fixTags>all</fixTags>
3656 <notimestamp>true</notimestamp>
3657 <locale>en_US</locale>
3658 <!-- Pass some options straight to the javadoc executable since it is easier -->
3659 <additionalJOption>-J-Xmx2G</additionalJOption>
3660 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3661 <additionalDependencies>
3662 <additionalDependency>
3663 <groupId>org.mockito</groupId>
3664 <artifactId>mockito-core</artifactId>
3665 <version>${mockito-core.version}</version>
3666 </additionalDependency>
3667 <additionalDependency>
3668 <groupId>org.hamcrest</groupId>
3669 <artifactId>hamcrest-core</artifactId>
3670 <version>${hamcrest.version}</version>
3671 </additionalDependency>
3672 </additionalDependencies>
3673 <inherited>false</inherited>
3681 <report>aggregate</report>
3685 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3688 <groupId>org.apache.yetus</groupId>
3689 <artifactId>audience-annotations</artifactId>
3690 <version>${audience-annotations.version}</version>
3692 <useStandardDocletOptions>true</useStandardDocletOptions>
3693 <destDir>apidocs</destDir>
3694 <name>User API</name>
3695 <description>The HBase Application Programmer's API</description>
3696 <excludePackageNames>
3697 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*
3698 </excludePackageNames>
3699 <!-- switch on dependency-driven aggregation -->
3700 <includeDependencySources>false</includeDependencySources>
3701 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3702 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3704 <linksource>true</linksource>
3705 <sourcetab>2</sourcetab>
3706 <validateLinks>true</validateLinks>
3707 <fixClassComment>true</fixClassComment>
3708 <fixFieldComment>true</fixFieldComment>
3709 <fixMethodComment>true</fixMethodComment>
3710 <fixTags>all</fixTags>
3711 <notimestamp>true</notimestamp>
3712 <locale>en_US</locale>
3713 <!-- Pass some options straight to the javadoc executable since it is easier -->
3714 <additionalJOption>-J-Xmx2G</additionalJOption>
3715 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3716 <additionalDependencies>
3717 <additionalDependency>
3718 <groupId>org.mockito</groupId>
3719 <artifactId>mockito-core</artifactId>
3720 <version>${mockito-core.version}</version>
3721 </additionalDependency>
3722 <additionalDependency>
3723 <groupId>org.hamcrest</groupId>
3724 <artifactId>hamcrest-core</artifactId>
3725 <version>${hamcrest.version}</version>
3726 </additionalDependency>
3727 </additionalDependencies>
3728 <inherited>false</inherited>
3731 <!-- User Test API -->
3733 <id>testuserapi</id>
3735 <report>test-aggregate</report>
3739 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3742 <groupId>org.apache.yetus</groupId>
3743 <artifactId>audience-annotations</artifactId>
3744 <version>${audience-annotations.version}</version>
3746 <useStandardDocletOptions>true</useStandardDocletOptions>
3747 <destDir>testapidocs</destDir>
3748 <name>User API</name>
3749 <description>The HBase Application Programmer's API</description>
3750 <excludePackageNames>
3751 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*
3752 </excludePackageNames>
3753 <!-- switch on dependency-driven aggregation -->
3754 <includeDependencySources>false</includeDependencySources>
3755 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3756 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3758 <linksource>true</linksource>
3759 <sourcetab>2</sourcetab>
3760 <validateLinks>true</validateLinks>
3761 <fixClassComment>true</fixClassComment>
3762 <fixFieldComment>true</fixFieldComment>
3763 <fixMethodComment>true</fixMethodComment>
3764 <fixTags>all</fixTags>
3765 <notimestamp>true</notimestamp>
3766 <locale>en_US</locale>
3767 <!-- Pass some options straight to the javadoc executable since it is easier -->
3768 <additionalJOption>-J-Xmx2G</additionalJOption>
3769 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3770 <additionalDependencies>
3771 <additionalDependency>
3772 <groupId>org.mockito</groupId>
3773 <artifactId>mockito-core</artifactId>
3774 <version>${mockito-core.version}</version>
3775 </additionalDependency>
3776 <additionalDependency>
3777 <groupId>org.hamcrest</groupId>
3778 <artifactId>hamcrest-core</artifactId>
3779 <version>${hamcrest.version}</version>
3780 </additionalDependency>
3781 </additionalDependencies>
3782 <inherited>false</inherited>
3789 <groupId>org.apache.maven.plugins</groupId>
3790 <artifactId>maven-checkstyle-plugin</artifactId>
3791 <version>${maven.checkstyle.version}</version>
3793 <excludes>target/**</excludes>
3799 <distributionManagement>
3801 <id>hbase.apache.org</id>
3802 <name>HBase Website at hbase.apache.org</name>
3803 <!-- On why this is the tmp dir and not hbase.apache.org, see
3804 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3806 <url>file:///tmp</url>
3808 </distributionManagement>