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>2.4.0</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-mapreduce</module>
67 <module>hbase-resource-bundle</module>
68 <module>hbase-http</module>
69 <module>hbase-server</module>
70 <module>hbase-thrift</module>
71 <module>hbase-shell</module>
72 <module>hbase-protocol-shaded</module>
73 <module>hbase-protocol</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-zookeeper</module>
92 <module>hbase-hbtop</module>
93 <module>hbase-asyncfs</module>
94 <module>hbase-logging</module>
97 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
98 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
99 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
102 <system>JIRA</system>
103 <url>https://issues.apache.org/jira/browse/HBASE</url>
107 <name>User List</name>
108 <subscribe>user-subscribe@hbase.apache.org</subscribe>
109 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
110 <post>user@hbase.apache.org</post>
111 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
113 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
114 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
118 <name>Developer List</name>
119 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
120 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
121 <post>dev@hbase.apache.org</post>
122 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
124 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
125 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
129 <name>Commits List</name>
130 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
131 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
132 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
135 <name>Issues List</name>
136 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
137 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
138 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
141 <name>Builds List</name>
142 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
143 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
144 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
147 <name>User (ZH) List</name>
148 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
149 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
150 <post>user-zh@hbase.apache.org</post>
151 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
157 <name>Amitanand S. Aiyer</name>
158 <email>acube123@apache.org</email>
159 <timezone>-8</timezone>
163 <name>Apekshit Sharma</name>
164 <email>appy@apache.org</email>
165 <timezone>-8</timezone>
169 <name>Anastasia Braginsky</name>
170 <email>anastasia@apache.org</email>
171 <timezone>+2</timezone>
175 <name>Andrew Purtell</name>
176 <email>apurtell@apache.org</email>
177 <timezone>-8</timezone>
180 <id>anoopsamjohn</id>
181 <name>Anoop Sam John</name>
182 <email>anoopsamjohn@apache.org</email>
183 <timezone>+5</timezone>
187 <name>Mikhail Antonov</name>
188 <email>antonov@apache.org</email>
189 <timezone>-8</timezone>
192 <id>ashishsinghi</id>
193 <name>Ashish Singhi</name>
194 <email>ashishsinghi@apache.org</email>
195 <timezone>+5</timezone>
199 <name>Lijin Bin</name>
200 <email>binlijin@apache.org</email>
201 <timezone>+8</timezone>
205 <name>Sean Busbey</name>
206 <email>busbey@apache.org</email>
207 <timezone>-6</timezone>
211 <name>Heng Chen</name>
212 <email>chenheng@apache.org</email>
213 <timezone>+8</timezone>
217 <name>Chia-Ping Tsai</name>
218 <email>chia7712@apache.org</email>
219 <timezone>+8</timezone>
223 <name>Devaraj Das</name>
224 <email>ddas@apache.org</email>
225 <timezone>-8</timezone>
229 <name>Dima Spivak</name>
230 <email>dimaspivak@apache.org</email>
231 <timezone>-8</timezone>
235 <name>Doug Meil</name>
236 <email>dmeil@apache.org</email>
237 <timezone>-5</timezone>
241 <name>Elliott Clark</name>
242 <email>eclark@apache.org</email>
243 <timezone>-8</timezone>
247 <name>Josh Elser</name>
248 <email>elserj@apache.org</email>
249 <timezone>-5</timezone>
253 <name>Enis Soztutar</name>
254 <email>enis@apache.org</email>
255 <timezone>-8</timezone>
259 <name>Eshcar Hillel</name>
260 <email>eshcar@apache.org</email>
261 <timezone>+2</timezone>
265 <name>Honghua Feng</name>
266 <email>fenghh@apache.org</email>
267 <timezone>+8</timezone>
271 <name>Gary Helmling</name>
272 <email>garyh@apache.org</email>
273 <timezone>-8</timezone>
277 <name>Gregory Chanan</name>
278 <email>gchanan@apache.org</email>
279 <timezone>-8</timezone>
283 <name>Jean-Daniel Cryans</name>
284 <email>jdcryans@apache.org</email>
285 <timezone>-8</timezone>
289 <name>Jeffrey Zhong</name>
290 <email>jeffreyz@apache.org</email>
291 <timezone>-8</timezone>
295 <name>Jing Chen (Jerry) He</name>
296 <email>jerryjch@apache.org</email>
297 <timezone>-8</timezone>
301 <name>Jesse Yates</name>
302 <email>jyates@apache.org</email>
303 <timezone>-8</timezone>
307 <name>Jonathan Gray</name>
308 <email>jgray@fb.com</email>
309 <timezone>-8</timezone>
313 <name>Jingcheng Du</name>
314 <email>jingchengdu@apache.org</email>
315 <timezone>+8</timezone>
319 <name>Esteban Gutierrez</name>
320 <email>esteban@apache.org</email>
321 <timezone>-8</timezone>
325 <name>Jonathan Hsieh</name>
326 <email>jmhsieh@apache.org</email>
327 <timezone>-8</timezone>
331 <name>Jimmy Xiang</name>
332 <email>jxiang@apache.org</email>
333 <timezone>-8</timezone>
337 <name>Kannan Muthukkaruppan</name>
338 <email>kannan@fb.com</email>
339 <timezone>-8</timezone>
343 <name>Karthik Ranganathan</name>
344 <email>kranganathan@fb.com</email>
345 <timezone>-8</timezone>
349 <name>Lars George</name>
350 <email>larsgeorge@apache.org</email>
351 <timezone>+1</timezone>
355 <name>Lars Hofhansl</name>
356 <email>larsh@apache.org</email>
357 <timezone>-8</timezone>
361 <name>Liang Xie</name>
362 <email>liangxie@apache.org</email>
363 <timezone>+8</timezone>
367 <name>Shaohui Liu</name>
368 <email>liushaohui@apache.org</email>
369 <timezone>+8</timezone>
373 <name>Liyin Tang</name>
374 <email>liyin.tang@fb.com</email>
375 <timezone>-8</timezone>
380 <email>liyu@apache.org</email>
381 <timezone>+8</timezone>
385 <name>Mikhail Bautin</name>
386 <email>mbautin@apache.org</email>
387 <timezone>-8</timezone>
391 <name>Matteo Bertozzi</name>
392 <email>mbertozzi@apache.org</email>
393 <timezone>0</timezone>
397 <name>Misty Stanley-Jones</name>
398 <email>misty@apache.org</email>
399 <timezone>+10</timezone>
403 <name>Nick Dimiduk</name>
404 <email>ndimiduk@apache.org</email>
405 <timezone>-8</timezone>
409 <name>Nicolas Liochon</name>
410 <email>nkeywal@apache.org</email>
411 <timezone>+1</timezone>
414 <id>nspiegelberg</id>
415 <name>Nicolas Spiegelberg</name>
416 <email>nspiegelberg@fb.com</email>
417 <timezone>-8</timezone>
421 <name>Andrey Stepachev</name>
422 <email>octo47@gmail.com</email>
423 <timezone>0</timezone>
427 <name>Rajeshbabu Chintaguntla</name>
428 <email>rajeshbabu@apache.org</email>
429 <timezone>+5</timezone>
433 <name>Ramkrishna S Vasudevan</name>
434 <email>ramkrishna@apache.org</email>
435 <timezone>+5</timezone>
439 <name>Ryan Rawson</name>
440 <email>rawson@apache.org</email>
441 <timezone>-8</timezone>
445 <name>Sergey Shelukhin</name>
446 <email>sershe@apache.org</email>
447 <timezone>-8</timezone>
451 <name>Srikanth Srungarapu</name>
452 <email>ssrungarapu@apache.org</email>
453 <timezone>-8</timezone>
457 <name>Michael Stack</name>
458 <email>stack@apache.org</email>
459 <timezone>-8</timezone>
463 <name>Stephen Yuan Jiang</name>
464 <email>syuanjiang@apache.org</email>
465 <timezone>-8</timezone>
470 <email>yuzhihong@gmail.com</email>
471 <timezone>-8</timezone>
475 <name>Todd Lipcon</name>
476 <email>todd@apache.org</email>
477 <timezone>-8</timezone>
481 <name>Francis Liu</name>
482 <email>toffer@apache.org</email>
483 <timezone>-8</timezone>
487 <name>Virag Kothari</name>
488 <email>virag@yahoo-inc.com</email>
489 <timezone>-8</timezone>
493 <name>Phil Yang</name>
494 <email>yangzhe1991@apache.org</email>
495 <timezone>+8</timezone>
499 <name>Guanghao Zhang</name>
500 <email>zghao@apache.org</email>
501 <timezone>+8</timezone>
505 <name>Duo Zhang</name>
506 <email>zhangduo@apache.org</email>
507 <timezone>+8</timezone>
511 <name>Chunhui Shen</name>
512 <email>zjushch@apache.org</email>
513 <timezone>+8</timezone>
519 <groupId>kr.motd.maven</groupId>
520 <artifactId>os-maven-plugin</artifactId>
521 <version>${os.maven.version}</version>
524 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
525 For specific version use a property and define it in the parent pom.
530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-remote-resources-plugin</artifactId>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-release-plugin</artifactId>
537 <!--You need this profile. It'll sign your artifacts.
538 I'm not sure if this config. actually works though.
539 I've been specifying -Papache-release on the command-line
541 <releaseProfiles>apache-release</releaseProfiles>
542 <!--This stops our running tests for each stage of maven release.
543 But it builds the test jar. From SUREFIRE-172.
545 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
546 <goals>${goals}</goals>
547 <pomFileName>pom.xml</pomFileName>
551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-compiler-plugin</artifactId>
554 <source>${compileSource}</source>
555 <target>${compileSource}</target>
556 <showWarnings>true</showWarnings>
557 <showDeprecation>false</showDeprecation>
558 <useIncrementalCompilation>false</useIncrementalCompilation>
559 <compilerArgument>-Xlint:-options</compilerArgument>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-javadoc-plugin</artifactId>
565 <version>${maven.javadoc.version}</version>
567 <source>${compileSource}</source>
570 <!-- Test oriented plugins -->
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-surefire-plugin</artifactId>
574 <version>${surefire.version}</version>
576 <!-- by default surefire selects dynamically the connector to the unit tests
577 tool. We want to use always the same as the different connectors can have different
578 bugs and behaviour. -->
580 <groupId>org.apache.maven.surefire</groupId>
581 <artifactId>${surefire.provider}</artifactId>
582 <version>${surefire.version}</version>
585 <!-- Generic testing configuration for all packages -->
587 <groups>${surefire.firstPartGroups}</groups>
588 <failIfNoTests>false</failIfNoTests>
589 <skip>${surefire.skipFirstPart}</skip>
590 <forkCount>${surefire.firstPartForkCount}</forkCount>
591 <reuseForks>false</reuseForks>
592 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
593 <tempDir>${surefire.tempDir}</tempDir>
594 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
595 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
596 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
597 <systemPropertyVariables>
598 <test.build.classes>${test.build.classes}</test.build.classes>
599 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
600 </systemPropertyVariables>
602 <!-- users can add -D option to skip particular test classes
603 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
605 <exclude>${test.exclude.pattern}</exclude>
609 <name>listener</name>
610 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
616 <id>secondPartTestsExecution</id>
622 <skip>${surefire.skipSecondPart}</skip>
623 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
624 <reuseForks>false</reuseForks>
625 <forkCount>${surefire.secondPartForkCount}</forkCount>
626 <groups>${surefire.secondPartGroups}</groups>
627 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-surefire-report-plugin</artifactId>
635 <version>${surefire.version}</version>
638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>buildnumber-maven-plugin</artifactId>
640 <version>${buildnumber.maven.version}</version>
643 <groupId>com.github.spotbugs</groupId>
644 <artifactId>spotbugs-maven-plugin</artifactId>
645 <version>${spotbugs.maven.version}</version>
647 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
648 <spotbugsXmlOutput>true</spotbugsXmlOutput>
649 <xmlOutput>true</xmlOutput>
654 <groupId>org.codehaus.mojo</groupId>
655 <artifactId>build-helper-maven-plugin</artifactId>
656 <version>${build.helper.maven.version}</version>
659 <artifactId>maven-antrun-plugin</artifactId>
660 <version>${maven.antrun.version}</version>
663 <groupId>org.jamon</groupId>
664 <artifactId>jamon-maven-plugin</artifactId>
665 <version>${jamon.plugin.version}</version>
667 <!-- Make a jar and put the sources in the jar.
668 In the parent pom, so submodules will do the right thing. -->
670 <groupId>org.apache.maven.plugins</groupId>
671 <artifactId>maven-source-plugin</artifactId>
674 <id>attach-sources</id>
675 <phase>prepare-package</phase>
677 <goal>jar-no-fork</goal>
678 <goal>test-jar-no-fork</goal>
682 <exclude>log4j.properties</exclude>
688 <!-- General configuration for submodules who want to build a test jar -->
690 <groupId>org.apache.maven.plugins</groupId>
691 <artifactId>maven-jar-plugin</artifactId>
694 <phase>prepare-package</phase>
696 <!--This goal will install a -test.jar when we do install
697 See https://maven.apache.org/guides/mini/guide-attached-tests.html
699 <goal>test-jar</goal>
704 <skipIfEmpty>true</skipIfEmpty>
706 <exclude>hbase-site.xml</exclude>
707 <exclude>hdfs-site.xml</exclude>
708 <exclude>mapred-queues.xml</exclude>
709 <exclude>mapred-site.xml</exclude>
714 <!-- excludes are inherited -->
715 <groupId>org.apache.rat</groupId>
716 <artifactId>apache-rat-plugin</artifactId>
719 <exclude>**/*.versionsBackup</exclude>
720 <exclude>**/*.log</exclude>
721 <exclude>**/.*</exclude>
722 <exclude>**/*.tgz</exclude>
723 <exclude>**/*.orig</exclude>
724 <exclude>**/0000000000000016310</exclude>
725 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
726 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
727 <exclude>**/.idea/**</exclude>
728 <exclude>**/*.iml</exclude>
729 <exclude>**/CHANGES.txt</exclude>
730 <exclude>**/generated/**</exclude>
731 <exclude>**/gen-*/**</exclude>
732 <!-- No material contents -->
733 <exclude>conf/regionservers</exclude>
734 <exclude>**/*.avpr</exclude>
735 <exclude>**/*.svg</exclude>
736 <!-- non-standard notice file from jruby included by reference -->
737 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
738 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
739 <exclude>**/src/main/asciidoc/hbase.css</exclude>
740 <!-- MIT https://jquery.org/license -->
741 <exclude>**/jquery.min.js</exclude>
742 <exclude>**/jquery.tablesorter.min.js</exclude>
743 <!-- MIT: bootstrap -->
744 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
745 <!-- vector graphics -->
746 <exclude>**/*.vm</exclude>
747 <!-- apache doxia generated -->
748 <exclude>**/control</exclude>
749 <exclude>**/conffile</exclude>
750 <!-- auto-gen docs -->
751 <exclude>docs/*</exclude>
752 <exclude>logs/*</exclude>
753 <!-- exclude source control files -->
754 <exclude>.git/**</exclude>
755 <exclude>.svn/**</exclude>
756 <exclude>**/.settings/**</exclude>
757 <exclude>**/patchprocess/**</exclude>
758 <exclude>src/site/resources/repo/**</exclude>
759 <exclude>**/dependency-reduced-pom.xml</exclude>
760 <exclude>**/rat.txt</exclude>
761 <!-- exclude the shaded protobuf files -->
762 <exclude>**/shaded/com/google/protobuf/**</exclude>
763 <exclude>**/src/main/patches/**</exclude>
768 <artifactId>maven-assembly-plugin</artifactId>
770 <!--Defer to the hbase-assembly sub-module. It
772 <skipAssembly>true</skipAssembly>
776 <groupId>org.xolstice.maven.plugins</groupId>
777 <artifactId>protobuf-maven-plugin</artifactId>
778 <version>${protobuf.plugin.version}</version>
780 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
781 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
782 <clearOutputDirectory>false</clearOutputDirectory>
783 <checkStaleness>true</checkStaleness>
787 <!-- Approach followed here is roughly the same as mentioned here:
788 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-checkstyle-plugin</artifactId>
792 <version>${maven.checkstyle.version}</version>
795 <groupId>org.apache.hbase</groupId>
796 <artifactId>hbase-checkstyle</artifactId>
797 <version>${project.version}</version>
800 <groupId>com.puppycrawl.tools</groupId>
801 <artifactId>checkstyle</artifactId>
802 <version>${checkstyle.version}</version>
806 <configLocation>hbase/checkstyle.xml</configLocation>
807 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
808 <includeTestSourceDirectory>true</includeTestSourceDirectory>
812 <groupId>net.revelc.code</groupId>
813 <artifactId>warbucks-maven-plugin</artifactId>
814 <version>${maven.warbucks.version}</version>
816 <ignoreRuleFailures>false</ignoreRuleFailures>
819 <!-- exclude the generated java files -->
820 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
821 <includeTestClasses>false</includeTestClasses>
822 <includePublicClasses>true</includePublicClasses>
823 <includePackagePrivateClasses>false</includePackagePrivateClasses>
824 <includeProtectedClasses>false</includeProtectedClasses>
825 <includePrivateClasses>false</includePrivateClasses>
826 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
832 <id>run-warbucks</id>
834 <goal>check</goal><!-- runs at process-test-classes phase -->
840 <groupId>org.apache.maven.plugins</groupId>
841 <artifactId>maven-enforcer-plugin</artifactId>
842 <version>${enforcer.version}</version>
845 <groupId>org.codehaus.mojo</groupId>
846 <artifactId>extra-enforcer-rules</artifactId>
847 <version>${extra.enforcer.version}</version>
850 <groupId>de.skuzzle.enforcer</groupId>
851 <artifactId>restrict-imports-enforcer-rule</artifactId>
852 <version>${restrict-imports.enforcer.version}</version>
860 <groupId>org.codehaus.mojo</groupId>
861 <artifactId>build-helper-maven-plugin</artifactId>
864 <id>negate-license-bundles-property</id>
866 <goal>bsh-property</goal>
869 <source>skip.license.check = !${license.bundles.dependencies};</source>
871 <property>skip.license.check</property>
875 <!-- sets where to find the generated LICENSE files -->
877 <id>create-license-file-path-property</id>
879 <goal>regex-property</goal>
882 <name>license.aggregate.path</name>
883 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
885 <replacement>/</replacement>
886 <failIfNoMatch>false</failIfNoMatch>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-enforcer-plugin</artifactId>
896 <id>display-info</id>
897 <phase>initialize</phase>
899 <goal>display-info</goal>
901 <inherited>false</inherited>
904 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
910 <!-- Help people activate profiles correctly -->
912 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
913 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
915 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
916 <requireMavenVersion>
917 <version>[${maven.min.version},)</version>
918 <message>Maven is out of date.
919 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
920 You appear to be using an older version. You can use either "mvn -version" or
921 "mvn enforcer:display-info" to verify what version is active.
922 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
924 </requireMavenVersion>
925 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
927 <version>[${java.min.version},)</version>
928 <message>Java is out of date.
929 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
930 You appear to be using an older version. You can use either "mvn -version" or
931 "mvn enforcer:display-info" to verify what version is active.
932 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
934 </requireJavaVersion>
937 <exclude>xerces:xercesImpl</exclude>
939 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
940 </bannedDependencies>
945 <id>banned-jsr305</id>
953 <exclude>com.google.code.findbugs:jsr305</exclude>
955 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
956 </bannedDependencies>
961 <id>banned-commons-logging</id>
969 <exclude>commons-logging:commons-logging</exclude>
972 We don't use commons-logging any more, so do not depend on it directly.
974 <searchTransitive>false</searchTransitive>
975 </bannedDependencies>
980 <id>banned-jetty</id>
988 <exclude>org.eclipse.jetty:**</exclude>
991 Use shaded jetty instead
993 <searchTransitive>false</searchTransitive>
994 </bannedDependencies>
999 <id>banned-jersey</id>
1001 <goal>enforce</goal>
1005 <bannedDependencies>
1007 <exclude>>org.glassfish.jersey.containers:**</exclude>
1008 <exclude>>org.glassfish.jersey.core:**</exclude>
1011 Use shaded jersey instead
1013 <searchTransitive>false</searchTransitive>
1014 </bannedDependencies>
1019 <id>check-aggregate-license</id>
1020 <!-- must check after LICENSE is built at 'generate-resources' -->
1021 <phase>process-resources</phase>
1023 <goal>enforce</goal>
1029 File license = new File("${license.aggregate.path}");
1031 // Beanshell does not support try-with-resources,
1032 // so we must close this scanner manually
1033 Scanner scanner = new Scanner(license);
1035 while (scanner.hasNextLine()) {
1036 if (scanner.nextLine().startsWith("ERROR:")) {
1045 License errors detected, for more detail find ERROR in
1046 ${license.aggregate.path}
1048 </evaluateBeanshell>
1050 <skip>${skip.license.check}</skip>
1054 <id>banned-illegal-imports</id>
1055 <phase>process-sources</phase>
1057 <goal>enforce</goal>
1061 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1062 <includeTestCode>true</includeTestCode>
1063 <commentLineBufferSize>512</commentLineBufferSize>
1064 <reason>Use SLF4j for logging</reason>
1066 <bannedImport>org.apache.commons.logging.**</bannedImport>
1069 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1070 <includeTestCode>false</includeTestCode>
1071 <commentLineBufferSize>512</commentLineBufferSize>
1073 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1076 <bannedImport>org.apache.log4j.**</bannedImport>
1079 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1080 <includeTestCode>true</includeTestCode>
1081 <commentLineBufferSize>512</commentLineBufferSize>
1082 <reason>Use shaded version in hbase-thirdparty</reason>
1084 <bannedImport>com.google.common.**</bannedImport>
1085 <bannedImport>io.netty.**</bannedImport>
1086 <bannedImport>org.apache.commons.cli.**</bannedImport>
1087 <bannedImport>org.apache.commons.collections.**</bannedImport>
1088 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1091 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1092 <includeTestCode>true</includeTestCode>
1093 <commentLineBufferSize>512</commentLineBufferSize>
1094 <reason>Do not use shaded classes from other dependencies</reason>
1096 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1097 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1100 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1101 <includeTestCode>true</includeTestCode>
1102 <commentLineBufferSize>512</commentLineBufferSize>
1103 <reason>Use shaded gson in hbase-thirdparty</reason>
1105 <bannedImport>org.codehaus.jackson.**</bannedImport>
1108 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1109 <includeTestCode>true</includeTestCode>
1110 <commentLineBufferSize>512</commentLineBufferSize>
1111 <reason>Use commons lang 3</reason>
1113 <bannedImport>org.apache.commons.lang.**</bannedImport>
1116 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1117 <includeTestCode>true</includeTestCode>
1118 <commentLineBufferSize>512</commentLineBufferSize>
1119 <reason>Use yetus IA and IS annotations</reason>
1121 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1124 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1125 <includeTestCode>true</includeTestCode>
1126 <commentLineBufferSize>512</commentLineBufferSize>
1127 <reason>Do not use htrace v3</reason>
1129 <bannedImport>org.htrace.**</bannedImport>
1132 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1133 <includeTestCode>true</includeTestCode>
1134 <commentLineBufferSize>512</commentLineBufferSize>
1135 <reason>Use shaded jetty in hbase-thirdparty</reason>
1137 <bannedImport>org.eclipse.jetty.**</bannedImport>
1140 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1141 <includeTestCode>true</includeTestCode>
1142 <commentLineBufferSize>512</commentLineBufferSize>
1143 <reason>Use shaded jersey in hbase-thirdparty</reason>
1145 <bannedImport>org.glassfish.jersey.**</bannedImport>
1153 <!-- parent-module only plugins -->
1155 <groupId>org.codehaus.mojo</groupId>
1156 <artifactId>xml-maven-plugin</artifactId>
1157 <version>${xml.maven.version}</version>
1158 <inherited>false</inherited>
1161 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1163 <goal>transform</goal>
1169 <transformationSets>
1170 <!-- For asciidoc -->
1172 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1173 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1175 <include>hbase-default.xml</include>
1177 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1179 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1180 <pattern>^(.*)\.xml$</pattern>
1181 <replacement>$1.adoc</replacement>
1184 <outputDir>${basedir}/target/asciidoc</outputDir>
1185 </transformationSet>
1186 </transformationSets>
1189 <!-- Special configuration for spotbugs just in the parent so
1190 the filter file location can be more general (see definition in pluginManagement) -->
1192 <groupId>com.github.spotbugs</groupId>
1193 <artifactId>spotbugs-maven-plugin</artifactId>
1196 <inherited>false</inherited>
1198 <goal>spotbugs</goal>
1201 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1207 <groupId>org.apache.maven.plugins</groupId>
1208 <artifactId>maven-checkstyle-plugin</artifactId>
1211 <groupId>org.apache.maven.plugins</groupId>
1212 <artifactId>maven-site-plugin</artifactId>
1215 <!-- add support for ssh/scp -->
1216 <groupId>org.apache.maven.wagon</groupId>
1217 <artifactId>wagon-ssh</artifactId>
1218 <version>${wagon.ssh.version}</version>
1222 <siteDirectory>${basedir}/src/site</siteDirectory>
1223 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1224 <inputEncoding>UTF-8</inputEncoding>
1225 <outputEncoding>UTF-8</outputEncoding>
1228 <!-- For AsciiDoc docs building -->
1230 <groupId>org.asciidoctor</groupId>
1231 <artifactId>asciidoctor-maven-plugin</artifactId>
1232 <version>${asciidoctor.plugin.version}</version>
1233 <inherited>false</inherited>
1236 <groupId>org.asciidoctor</groupId>
1237 <artifactId>asciidoctorj-pdf</artifactId>
1238 <version>${asciidoctorj.pdf.version}</version>
1241 <groupId>org.jruby</groupId>
1242 <artifactId>jruby-complete</artifactId>
1243 <version>${jruby.version}</version>
1247 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1248 <doctype>book</doctype>
1250 <docVersion>${project.version}</docVersion>
1251 <imagesdir>images</imagesdir>
1252 <source-highlighter>coderay</source-highlighter>
1257 <id>output-html</id>
1260 <goal>process-asciidoc</goal>
1264 <stylesheet>hbase.css</stylesheet>
1266 <backend>html5</backend>
1273 <goal>process-asciidoc</goal>
1276 <backend>pdf</backend>
1281 <idseparator>-</idseparator>
1288 <groupId>org.apache.maven.plugins</groupId>
1289 <artifactId>maven-resources-plugin</artifactId>
1290 <!--$NO-MVN-MAN-VER$ -->
1291 <inherited>false</inherited>
1294 <id>copy-htaccess</id>
1296 <goal>copy-resources</goal>
1300 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1303 <directory>${basedir}/src/site/resources/</directory>
1305 <include>.htaccess</include>
1311 <!-- needed to make the redirect above work -->
1313 <id>copy-empty-book-dir</id>
1315 <goal>copy-resources</goal>
1319 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1322 <directory>${basedir}/src/site/resources/</directory>
1324 <include>book/**</include>
1332 <escapeString>\</escapeString>
1336 <groupId>org.apache.maven.plugins</groupId>
1337 <artifactId>maven-antrun-plugin</artifactId>
1338 <version>${maven.antrun.version}</version>
1339 <inherited>false</inherited>
1340 <!-- Rename the book.pdf generated by asciidoctor -->
1346 <target name="rename file">
1347 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1357 <groupId>org.codehaus.mojo</groupId>
1358 <artifactId>buildnumber-maven-plugin</artifactId>
1361 <phase>validate</phase>
1363 <goal>create-timestamp</goal>
1368 <timestampFormat>yyyy</timestampFormat>
1369 <timestampPropertyName>build.year</timestampPropertyName>
1373 <groupId>org.apache.felix</groupId>
1374 <artifactId>maven-bundle-plugin</artifactId>
1375 <version>${maven.bundle.version}</version>
1376 <inherited>true</inherited>
1377 <extensions>true</extensions>
1382 <!-- override on command line to have generated LICENSE files include
1383 diagnostic info for verifying notice requirements -->
1384 <license.debug.print.included>false</license.debug.print.included>
1385 <!-- When a particular module bundles its depenendencies, should be true -->
1386 <license.bundles.dependencies>false</license.bundles.dependencies>
1387 <!-- modules that include a the logo in their source tree should set true -->
1388 <license.bundles.logo>false</license.bundles.logo>
1389 <!-- modules that include bootstrap in their source tree should set true -->
1390 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1391 <!-- modules that include jquery in their source tree should set true -->
1392 <license.bundles.jquery>false</license.bundles.jquery>
1393 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1394 <maven.build.timestamp.format>
1396 </maven.build.timestamp.format>
1397 <buildDate>${maven.build.timestamp}</buildDate>
1398 <compileSource>1.8</compileSource>
1399 <!-- Build dependencies -->
1400 <maven.min.version>3.0.4</maven.min.version>
1401 <java.min.version>${compileSource}</java.min.version>
1402 <!-- Dependencies -->
1403 <hadoop-two.version>2.10.0</hadoop-two.version>
1404 <hadoop-three.version>3.1.2</hadoop-three.version>
1405 <!-- These must be defined here for downstream build tools that don't look at profiles.
1406 They ought to match the values found in our default hadoop profile, which is
1407 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1408 <hadoop.version>${hadoop-two.version}</hadoop.version>
1409 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1410 <compat.module>hbase-hadoop2-compat</compat.module>
1411 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1412 <!--This property is for hadoops netty. HBase netty
1413 comes in via hbase-thirdparty hbase-shaded-netty-->
1414 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1415 <!-- end HBASE-15925 default hadoop compatibility values -->
1416 <audience-annotations.version>0.5.0</audience-annotations.version>
1417 <avro.version>1.7.7</avro.version>
1418 <caffeine.version>2.8.1</caffeine.version>
1419 <commons-codec.version>1.13</commons-codec.version>
1420 <!-- pretty outdated -->
1421 <commons-io.version>2.6</commons-io.version>
1422 <commons-lang3.version>3.9</commons-lang3.version>
1423 <commons-math.version>3.6.1</commons-math.version>
1424 <disruptor.version>3.4.2</disruptor.version>
1425 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1426 especially when writing out 'no column families'. Later httpclients collapse the '//'
1427 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1428 TestRemoteTable. -->
1429 <httpclient.version>4.5.3</httpclient.version>
1430 <httpcore.version>4.4.13</httpcore.version>
1431 <metrics-core.version>3.2.6</metrics-core.version>
1432 <jackson.version>2.10.1</jackson.version>
1433 <jackson.databind.version>2.10.1</jackson.databind.version>
1434 <jaxb-api.version>2.3.1</jaxb-api.version>
1435 <servlet.api.version>3.1.0</servlet.api.version>
1436 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1437 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1438 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1439 <jruby.version>9.2.13.0</jruby.version>
1440 <junit.version>4.13</junit.version>
1441 <hamcrest.version>1.3</hamcrest.version>
1442 <htrace.version>4.2.0-incubating</htrace.version>
1443 <log4j.version>1.2.17</log4j.version>
1444 <mockito-core.version>2.28.2</mockito-core.version>
1445 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1446 <external.protobuf.version>2.5.0</external.protobuf.version>
1447 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1448 <thrift.path>thrift</thrift.path>
1449 <thrift.version>0.13.0</thrift.version>
1450 <zookeeper.version>3.5.7</zookeeper.version>
1451 <jline.version>2.11</jline.version>
1452 <slf4j.version>1.7.30</slf4j.version>
1453 <clover.version>4.0.3</clover.version>
1454 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1455 <jettison.version>1.3.8</jettison.version>
1456 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1457 <joni.version>2.1.31</joni.version>
1458 <jcodings.version>1.0.55</jcodings.version>
1459 <spy.version>2.12.2</spy.version>
1460 <bouncycastle.version>1.60</bouncycastle.version>
1461 <kerby.version>1.0.1</kerby.version>
1462 <commons-crypto.version>1.0.0</commons-crypto.version>
1463 <curator.version>4.2.0</curator.version>
1464 <!-- Plugin Dependencies -->
1465 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1466 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1467 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1468 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1470 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1472 <checkstyle.version>8.28</checkstyle.version>
1473 <exec.maven.version>1.6.0</exec.maven.version>
1474 <error-prone.version>2.4.0</error-prone.version>
1475 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1476 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1477 <maven.antrun.version>1.8</maven.antrun.version>
1478 <maven.bundle.version>3.3.0</maven.bundle.version>
1479 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1480 <maven.eclipse.version>2.10</maven.eclipse.version>
1481 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1482 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1483 <os.maven.version>1.5.0.Final</os.maven.version>
1484 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1485 <spotbugs.version>3.1.12</spotbugs.version>
1486 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1487 <surefire.version>3.0.0-M4</surefire.version>
1488 <wagon.ssh.version>2.12</wagon.ssh.version>
1489 <xml.maven.version>1.0.1</xml.maven.version>
1490 <hbase-thirdparty.version>3.4.1</hbase-thirdparty.version>
1491 <!-- Intraproject jar naming properties -->
1492 <!-- TODO this is pretty ugly, but works for the moment.
1493 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1494 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1495 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1496 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1497 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1498 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1499 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1500 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1501 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1502 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1503 <shell-executable>bash</shell-executable>
1504 <surefire.provider>surefire-junit47</surefire.provider>
1505 <!-- default: run small & medium, medium with 2 threads -->
1506 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1507 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1508 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1509 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1510 value is you want to burn through tests faster (could make for more failures
1511 if more contention around resources). There is a matching MAVEN_ARG
1512 in our yetus personality where we set the maven -T command to 0.25C too.
1513 For example, to run at a rate that is more furious than our 0.25C, do
1514 something like this:
1515 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1517 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1518 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1519 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1520 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1521 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1522 <test.output.tofile>true</test.output.tofile>
1523 <surefire.timeout>900</surefire.timeout>
1524 <test.exclude.pattern></test.exclude.pattern>
1526 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1527 This value is managed separately for jdk11. See below.
1529 <surefire.Xmx>2200m</surefire.Xmx>
1530 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1531 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1533 And for netty eventloops that have no explicit configuration, netty sets
1534 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1537 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1538 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1539 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1540 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1541 -Dio.netty.eventLoopThreads=3
1542 </hbase-surefire.argLine>
1543 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1544 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1545 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1546 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1547 </hbase-surefire.cygwin-argLine>
1548 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1549 <argLine>${hbase-surefire.argLine}</argLine>
1550 <jacoco.version>0.7.5.201505241946</jacoco.version>
1551 <extra.enforcer.version>1.3</extra.enforcer.version>
1552 <enforcer.version>3.0.0-M3</enforcer.version>
1553 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1554 <!-- Location of test resources -->
1555 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1556 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1557 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1558 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1559 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1560 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1561 <build.id>${maven.build.timestamp}</build.id>
1562 <shell-executable>bash</shell-executable>
1563 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1564 property as of javadoc-plugin 3.0.0 -->
1565 <doclint>none</doclint>
1567 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1568 <dependencyManagement>
1571 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1572 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1573 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1574 implementation of the same, because Hadoop also uses this version
1575 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1576 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1578 <!-- Intra-module dependencies -->
1580 <groupId>org.apache.hbase</groupId>
1581 <artifactId>hbase-annotations</artifactId>
1582 <version>${project.version}</version>
1583 <type>test-jar</type>
1584 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1587 <groupId>org.apache.hbase</groupId>
1588 <artifactId>hbase-common</artifactId>
1589 <version>${project.version}</version>
1592 <groupId>org.apache.hbase</groupId>
1593 <artifactId>hbase-common</artifactId>
1594 <version>${project.version}</version>
1595 <type>test-jar</type>
1599 <groupId>org.apache.hbase</groupId>
1600 <artifactId>hbase-logging</artifactId>
1601 <version>${project.version}</version>
1604 <groupId>org.apache.hbase</groupId>
1605 <artifactId>hbase-logging</artifactId>
1606 <version>${project.version}</version>
1607 <type>test-jar</type>
1611 <groupId>org.apache.hbase</groupId>
1612 <artifactId>hbase-protocol-shaded</artifactId>
1613 <version>${project.version}</version>
1616 <groupId>org.apache.hbase</groupId>
1617 <artifactId>hbase-protocol</artifactId>
1618 <version>${project.version}</version>
1621 <groupId>org.apache.hbase</groupId>
1622 <artifactId>hbase-procedure</artifactId>
1623 <version>${project.version}</version>
1626 <groupId>org.apache.hbase</groupId>
1627 <artifactId>hbase-procedure</artifactId>
1628 <version>${project.version}</version>
1629 <type>test-jar</type>
1632 <groupId>org.apache.hbase</groupId>
1633 <artifactId>hbase-hadoop-compat</artifactId>
1634 <version>${project.version}</version>
1637 <groupId>org.apache.hbase</groupId>
1638 <artifactId>hbase-hadoop-compat</artifactId>
1639 <version>${project.version}</version>
1640 <type>test-jar</type>
1644 <groupId>org.apache.hbase</groupId>
1645 <artifactId>${compat.module}</artifactId>
1646 <version>${project.version}</version>
1649 <groupId>org.apache.hbase</groupId>
1650 <artifactId>${compat.module}</artifactId>
1651 <version>${project.version}</version>
1652 <type>test-jar</type>
1656 <artifactId>hbase-rsgroup</artifactId>
1657 <groupId>org.apache.hbase</groupId>
1658 <version>${project.version}</version>
1661 <artifactId>hbase-rsgroup</artifactId>
1662 <groupId>org.apache.hbase</groupId>
1663 <version>${project.version}</version>
1664 <type>test-jar</type>
1668 <artifactId>hbase-replication</artifactId>
1669 <groupId>org.apache.hbase</groupId>
1670 <version>${project.version}</version>
1673 <artifactId>hbase-http</artifactId>
1674 <groupId>org.apache.hbase</groupId>
1675 <version>${project.version}</version>
1678 <artifactId>hbase-http</artifactId>
1679 <groupId>org.apache.hbase</groupId>
1680 <version>${project.version}</version>
1681 <type>test-jar</type>
1685 <artifactId>hbase-server</artifactId>
1686 <groupId>org.apache.hbase</groupId>
1687 <version>${project.version}</version>
1690 <artifactId>hbase-server</artifactId>
1691 <groupId>org.apache.hbase</groupId>
1692 <version>${project.version}</version>
1693 <type>test-jar</type>
1697 <artifactId>hbase-mapreduce</artifactId>
1698 <groupId>org.apache.hbase</groupId>
1699 <version>${project.version}</version>
1702 <artifactId>hbase-mapreduce</artifactId>
1703 <groupId>org.apache.hbase</groupId>
1704 <version>${project.version}</version>
1705 <type>test-jar</type>
1709 <artifactId>hbase-endpoint</artifactId>
1710 <groupId>org.apache.hbase</groupId>
1711 <version>${project.version}</version>
1714 <artifactId>hbase-shell</artifactId>
1715 <groupId>org.apache.hbase</groupId>
1716 <version>${project.version}</version>
1719 <artifactId>hbase-shell</artifactId>
1720 <groupId>org.apache.hbase</groupId>
1721 <version>${project.version}</version>
1722 <type>test-jar</type>
1726 <artifactId>hbase-thrift</artifactId>
1727 <groupId>org.apache.hbase</groupId>
1728 <version>${project.version}</version>
1731 <artifactId>hbase-thrift</artifactId>
1732 <groupId>org.apache.hbase</groupId>
1733 <version>${project.version}</version>
1734 <type>test-jar</type>
1738 <groupId>org.apache.hbase</groupId>
1739 <artifactId>hbase-testing-util</artifactId>
1740 <version>${project.version}</version>
1744 <artifactId>hbase-examples</artifactId>
1745 <groupId>org.apache.hbase</groupId>
1746 <version>${project.version}</version>
1749 <groupId>org.apache.hbase</groupId>
1750 <artifactId>hbase-external-blockcache</artifactId>
1751 <version>${project.version}</version>
1754 <artifactId>hbase-it</artifactId>
1755 <groupId>org.apache.hbase</groupId>
1756 <version>${project.version}</version>
1757 <type>test-jar</type>
1761 <artifactId>hbase-client</artifactId>
1762 <groupId>org.apache.hbase</groupId>
1763 <version>${project.version}</version>
1766 <artifactId>hbase-metrics-api</artifactId>
1767 <groupId>org.apache.hbase</groupId>
1768 <version>${project.version}</version>
1771 <artifactId>hbase-metrics-api</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1774 <type>test-jar</type>
1778 <artifactId>hbase-metrics</artifactId>
1779 <groupId>org.apache.hbase</groupId>
1780 <version>${project.version}</version>
1783 <artifactId>hbase-metrics</artifactId>
1784 <groupId>org.apache.hbase</groupId>
1785 <version>${project.version}</version>
1786 <type>test-jar</type>
1790 <artifactId>hbase-rest</artifactId>
1791 <groupId>org.apache.hbase</groupId>
1792 <version>${project.version}</version>
1795 <artifactId>hbase-resource-bundle</artifactId>
1796 <groupId>org.apache.hbase</groupId>
1797 <version>${project.version}</version>
1800 <artifactId>hbase-zookeeper</artifactId>
1801 <groupId>org.apache.hbase</groupId>
1802 <version>${project.version}</version>
1805 <groupId>com.google.code.findbugs</groupId>
1806 <artifactId>jsr305</artifactId>
1809 <groupId>com.github.spotbugs</groupId>
1810 <artifactId>spotbugs-annotations</artifactId>
1815 <artifactId>hbase-zookeeper</artifactId>
1816 <groupId>org.apache.hbase</groupId>
1817 <version>${project.version}</version>
1818 <type>test-jar</type>
1822 <artifactId>hbase-hbtop</artifactId>
1823 <groupId>org.apache.hbase</groupId>
1824 <version>${project.version}</version>
1827 <groupId>org.apache.hbase</groupId>
1828 <artifactId>hbase-shaded-client</artifactId>
1829 <version>${project.version}</version>
1832 <groupId>org.apache.hbase</groupId>
1833 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1834 <version>${project.version}</version>
1837 <groupId>org.apache.hbase</groupId>
1838 <artifactId>hbase-shaded-mapreduce</artifactId>
1839 <version>${project.version}</version>
1842 <groupId>org.apache.hbase</groupId>
1843 <artifactId>hbase-asyncfs</artifactId>
1844 <version>${project.version}</version>
1847 <groupId>org.apache.hbase</groupId>
1848 <artifactId>hbase-asyncfs</artifactId>
1849 <version>${project.version}</version>
1850 <type>test-jar</type>
1853 <!-- General dependencies -->
1855 <groupId>com.github.stephenc.findbugs</groupId>
1856 <artifactId>findbugs-annotations</artifactId>
1857 <version>${findbugs-annotations.version}</version>
1860 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1861 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1862 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1863 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1864 scope as it will mess up the logging framework for downstream users.
1865 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1866 on use these logging framework so we need to redirect their log message to slf4j, and then
1867 redirect the log message to our log4j framework.
1870 <groupId>org.codehaus.jettison</groupId>
1871 <artifactId>jettison</artifactId>
1872 <version>${jettison.version}</version>
1875 <groupId>org.slf4j</groupId>
1876 <artifactId>slf4j-api</artifactId>
1877 <version>${slf4j.version}</version>
1880 <groupId>org.slf4j</groupId>
1881 <artifactId>slf4j-log4j12</artifactId>
1882 <version>${slf4j.version}</version>
1885 <groupId>org.slf4j</groupId>
1886 <artifactId>jcl-over-slf4j</artifactId>
1887 <version>${slf4j.version}</version>
1890 <groupId>org.slf4j</groupId>
1891 <artifactId>jul-to-slf4j</artifactId>
1892 <version>${slf4j.version}</version>
1895 <groupId>log4j</groupId>
1896 <artifactId>log4j</artifactId>
1897 <version>${log4j.version}</version>
1899 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1901 <groupId>org.apache.avro</groupId>
1902 <artifactId>avro</artifactId>
1903 <version>${avro.version}</version>
1905 <!--This is not used by hbase directly. Used by thrift,
1906 dropwizard and zk.-->
1908 <groupId>com.github.ben-manes.caffeine</groupId>
1909 <artifactId>caffeine</artifactId>
1910 <version>${caffeine.version}</version>
1913 <groupId>io.dropwizard.metrics</groupId>
1914 <artifactId>metrics-core</artifactId>
1915 <version>${metrics-core.version}</version>
1918 <groupId>org.apache.httpcomponents</groupId>
1919 <artifactId>httpclient</artifactId>
1920 <version>${httpclient.version}</version>
1923 <groupId>org.apache.httpcomponents</groupId>
1924 <artifactId>httpcore</artifactId>
1925 <version>${httpcore.version}</version>
1928 <groupId>commons-codec</groupId>
1929 <artifactId>commons-codec</artifactId>
1930 <version>${commons-codec.version}</version>
1933 <groupId>commons-io</groupId>
1934 <artifactId>commons-io</artifactId>
1935 <version>${commons-io.version}</version>
1938 <groupId>org.apache.commons</groupId>
1939 <artifactId>commons-lang3</artifactId>
1940 <version>${commons-lang3.version}</version>
1943 <groupId>org.apache.commons</groupId>
1944 <artifactId>commons-math3</artifactId>
1945 <version>${commons-math.version}</version>
1948 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1951 <groupId>commons-logging</groupId>
1952 <artifactId>commons-logging</artifactId>
1953 <version>1.2</version>
1956 <groupId>org.apache.zookeeper</groupId>
1957 <artifactId>zookeeper</artifactId>
1958 <version>${zookeeper.version}</version>
1961 <groupId>com.google.code.findbugs</groupId>
1962 <artifactId>jsr305</artifactId>
1965 <groupId>com.github.spotbugs</groupId>
1966 <artifactId>spotbugs-annotations</artifactId>
1969 <groupId>jline</groupId>
1970 <artifactId>jline</artifactId>
1973 <groupId>com.sun.jmx</groupId>
1974 <artifactId>jmxri</artifactId>
1977 <groupId>com.sun.jdmk</groupId>
1978 <artifactId>jmxtools</artifactId>
1981 <groupId>javax.jms</groupId>
1982 <artifactId>jms</artifactId>
1985 <groupId>io.netty</groupId>
1986 <artifactId>netty</artifactId>
1989 <groupId>org.slf4j</groupId>
1990 <artifactId>slf4j-log4j12</artifactId>
1993 <groupId>log4j</groupId>
1994 <artifactId>log4j</artifactId>
1999 <groupId>jline</groupId>
2000 <artifactId>jline</artifactId>
2001 <version>${jline.version}</version>
2004 <groupId>org.apache.thrift</groupId>
2005 <artifactId>libthrift</artifactId>
2006 <version>${thrift.version}</version>
2009 <groupId>org.slf4j</groupId>
2010 <artifactId>slf4j-simple</artifactId>
2015 <groupId>org.jruby</groupId>
2016 <artifactId>jruby-complete</artifactId>
2017 <version>${jruby.version}</version>
2020 <groupId>org.jruby.jcodings</groupId>
2021 <artifactId>jcodings</artifactId>
2022 <version>${jcodings.version}</version>
2025 <groupId>org.jruby.joni</groupId>
2026 <artifactId>joni</artifactId>
2027 <version>${joni.version}</version>
2030 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2031 <artifactId>jackson-jaxrs-json-provider</artifactId>
2032 <version>${jackson.version}</version>
2035 <groupId>com.fasterxml.jackson.core</groupId>
2036 <artifactId>jackson-annotations</artifactId>
2037 <version>${jackson.version}</version>
2040 <groupId>com.fasterxml.jackson.core</groupId>
2041 <artifactId>jackson-core</artifactId>
2042 <version>${jackson.version}</version>
2045 <groupId>com.fasterxml.jackson.core</groupId>
2046 <artifactId>jackson-databind</artifactId>
2047 <version>${jackson.databind.version}</version>
2050 <groupId>org.jamon</groupId>
2051 <artifactId>jamon-runtime</artifactId>
2052 <version>${jamon-runtime.version}</version>
2054 <!-- REST dependencies -->
2056 <groupId>javax.servlet</groupId>
2057 <artifactId>javax.servlet-api</artifactId>
2058 <version>${servlet.api.version}</version>
2061 <groupId>javax.ws.rs</groupId>
2062 <artifactId>javax.ws.rs-api</artifactId>
2063 <version>${wx.rs.api.version}</version>
2066 <groupId>com.sun.activation</groupId>
2067 <artifactId>javax.activation</artifactId>
2068 <version>1.2.0</version>
2071 <groupId>javax.annotation</groupId>
2072 <artifactId>javax.annotation-api</artifactId>
2073 <version>1.2</version>
2076 <groupId>com.google.protobuf</groupId>
2077 <artifactId>protobuf-java</artifactId>
2078 <version>${external.protobuf.version}</version>
2081 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2082 <groupId>org.glassfish.web</groupId>
2083 <artifactId>javax.servlet.jsp</artifactId>
2084 <version>${glassfish.jsp.version}</version>
2087 <!-- this lib is used by the compiled Jsp from the above JspC -->
2088 <groupId>javax.servlet.jsp</groupId>
2089 <artifactId>javax.servlet.jsp-api</artifactId>
2090 <version>2.3.1</version>
2093 <groupId>org.glassfish</groupId>
2094 <artifactId>javax.el</artifactId>
2095 <version>${glassfish.el.version}</version>
2098 <groupId>javax.xml.bind</groupId>
2099 <artifactId>jaxb-api</artifactId>
2100 <version>${jaxb-api.version}</version>
2103 <groupId>javax.xml.stream</groupId>
2104 <artifactId>stax-api</artifactId>
2109 <groupId>junit</groupId>
2110 <artifactId>junit</artifactId>
2111 <version>${junit.version}</version>
2114 <groupId>org.hamcrest</groupId>
2115 <artifactId>hamcrest-core</artifactId>
2116 <version>${hamcrest.version}</version>
2120 <groupId>org.hamcrest</groupId>
2121 <artifactId>hamcrest-library</artifactId>
2122 <version>${hamcrest.version}</version>
2126 <groupId>org.mockito</groupId>
2127 <artifactId>mockito-core</artifactId>
2128 <version>${mockito-core.version}</version>
2132 <groupId>org.apache.htrace</groupId>
2133 <artifactId>htrace-core4</artifactId>
2134 <version>${htrace.version}</version>
2137 <groupId>com.lmax</groupId>
2138 <artifactId>disruptor</artifactId>
2139 <version>${disruptor.version}</version>
2142 <groupId>net.spy</groupId>
2143 <artifactId>spymemcached</artifactId>
2144 <version>${spy.version}</version>
2145 <optional>true</optional>
2148 <groupId>org.bouncycastle</groupId>
2149 <artifactId>bcprov-jdk15on</artifactId>
2150 <version>${bouncycastle.version}</version>
2154 <groupId>org.apache.kerby</groupId>
2155 <artifactId>kerb-core</artifactId>
2156 <version>${kerby.version}</version>
2159 <groupId>org.apache.kerby</groupId>
2160 <artifactId>kerb-client</artifactId>
2161 <version>${kerby.version}</version>
2164 <groupId>org.apache.kerby</groupId>
2165 <artifactId>kerb-simplekdc</artifactId>
2166 <version>${kerby.version}</version>
2169 <groupId>org.apache.commons</groupId>
2170 <artifactId>commons-crypto</artifactId>
2171 <version>${commons-crypto.version}</version>
2174 <groupId>net.java.dev.jna</groupId>
2175 <artifactId>jna</artifactId>
2180 <groupId>org.apache.curator</groupId>
2181 <artifactId>curator-framework</artifactId>
2182 <version>${curator.version}</version>
2185 <groupId>org.apache.zookeeper</groupId>
2186 <artifactId>zookeeper</artifactId>
2191 <groupId>org.apache.curator</groupId>
2192 <artifactId>curator-client</artifactId>
2193 <version>${curator.version}</version>
2196 <groupId>com.google.guava</groupId>
2197 <artifactId>guava</artifactId>
2200 <groupId>org.apache.zookeeper</groupId>
2201 <artifactId>zookeeper</artifactId>
2206 <groupId>org.apache.curator</groupId>
2207 <artifactId>curator-recipes</artifactId>
2208 <version>${curator.version}</version>
2211 <groupId>com.google.guava</groupId>
2212 <artifactId>guava</artifactId>
2215 <groupId>org.apache.zookeeper</groupId>
2216 <artifactId>zookeeper</artifactId>
2221 <groupId>org.apache.yetus</groupId>
2222 <artifactId>audience-annotations</artifactId>
2223 <version>${audience-annotations.version}</version>
2226 <groupId>org.apache.hbase.thirdparty</groupId>
2227 <artifactId>hbase-shaded-gson</artifactId>
2228 <version>${hbase-thirdparty.version}</version>
2231 <groupId>org.apache.hbase.thirdparty</groupId>
2232 <artifactId>hbase-shaded-miscellaneous</artifactId>
2233 <version>${hbase-thirdparty.version}</version>
2236 <groupId>org.apache.hbase.thirdparty</groupId>
2237 <artifactId>hbase-shaded-netty</artifactId>
2238 <version>${hbase-thirdparty.version}</version>
2241 <groupId>org.apache.hbase.thirdparty</groupId>
2242 <artifactId>hbase-shaded-protobuf</artifactId>
2243 <version>${hbase-thirdparty.version}</version>
2246 <groupId>org.apache.hbase.thirdparty</groupId>
2247 <artifactId>hbase-shaded-jetty</artifactId>
2248 <version>${hbase-thirdparty.version}</version>
2251 <groupId>org.apache.hbase.thirdparty</groupId>
2252 <artifactId>hbase-shaded-jersey</artifactId>
2253 <version>${hbase-thirdparty.version}</version>
2256 <groupId>com.sun.xml.ws</groupId>
2257 <artifactId>jaxws-ri</artifactId>
2258 <version>2.3.2</version>
2262 <groupId>javax.activation</groupId>
2263 <artifactId>javax.activation-api</artifactId>
2268 </dependencyManagement>
2270 <!--REMOVE THIS. HERE TEMPORARILY.
2271 Implication is that every module needs junit which is not so.
2272 Cannot undo though because build runs test on each module and
2273 it fails if no junit. TODO. -->
2275 <groupId>junit</groupId>
2276 <artifactId>junit</artifactId>
2282 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2287 <id>apache.releases.https</id>
2288 <username>hbase_committer</username>
2289 <password>********</password>
2293 <id>apache.snapshots.https</id>
2294 <username>hbase_committer</username>
2295 <password>********</password>
2303 $ mvn -s /my/path/settings.xml deploy
2311 <name>!skip-rsgroup</name>
2315 <module>hbase-rsgroup</module>
2319 <id>build-with-jdk8</id>
2331 <id>build-with-jdk11</id>
2336 <!-- TODO: replicate logic for windows support -->
2337 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2338 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2339 <hadoop-three.version>3.2.0</hadoop-three.version>
2341 Value to use for surefire when running jdk11.
2342 TODO: replicate logic for windows
2344 <surefire.Xmx>2200m</surefire.Xmx>
2349 <groupId>org.apache.maven.plugins</groupId>
2350 <artifactId>maven-enforcer-plugin</artifactId>
2353 <id>hadoop3-profile-required</id>
2355 <goal>enforce</goal>
2361 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2362 enforcer plugin does not see active profiles on sub-modules, so enforce based
2363 on the presence of the activation property and value.
2365 <property>hadoop.profile</property>
2366 <regex>.*3\.0$</regex>
2368 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2371 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2382 <!-- profile activated by the Jenkins patch testing job -->
2384 <id>jenkins.patch</id>
2386 <activeByDefault>false</activeByDefault>
2388 <name>HBasePatchProcess</name>
2392 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2397 <groupId>org.apache.maven.plugins</groupId>
2398 <artifactId>maven-antrun-plugin</artifactId>
2399 <inherited>false</inherited>
2402 <phase>validate</phase>
2408 <echo>Maven Execution Environment</echo>
2409 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2421 <activeByDefault>false</activeByDefault>
2426 <groupId>org.jacoco</groupId>
2427 <artifactId>jacoco-maven-plugin</artifactId>
2428 <version>${jacoco.version}</version>
2431 <id>prepare-agent</id>
2433 <goal>prepare-agent</goal>
2438 <phase>prepare-package</phase>
2445 <systemPropertyVariables>
2446 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2447 </systemPropertyVariables>
2449 <exclude>**/generated/**/*.class</exclude>
2459 <activeByDefault>false</activeByDefault>
2461 <family>Linux</family>
2465 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2472 <family>Mac</family>
2476 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2483 <family>Windows</family>
2487 <build.platform>cygwin</build.platform>
2488 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2491 <!-- this profile should match the name of the release profile in the root asf pom -->
2493 <id>apache-release</id>
2496 <!-- This should insert itself in place of the normal deploy plugin and then
2497 handle either closing or dropping the staging repository for us depending
2498 on if the build succeeds.
2501 <groupId>org.sonatype.plugins</groupId>
2502 <artifactId>nexus-staging-maven-plugin</artifactId>
2503 <version>1.6.8</version>
2504 <extensions>true</extensions>
2506 <nexusUrl>https://repository.apache.org/</nexusUrl>
2507 <serverId>apache.releases.https</serverId>
2513 <!-- this profile should be activated for release builds -->
2519 <groupId>org.apache.rat</groupId>
2520 <artifactId>apache-rat-plugin</artifactId>
2523 <phase>package</phase>
2531 <groupId>org.apache.maven.plugins</groupId>
2532 <artifactId>maven-enforcer-plugin</artifactId>
2533 <version>${enforcer.version}</version>
2536 <groupId>org.codehaus.mojo</groupId>
2537 <artifactId>extra-enforcer-rules</artifactId>
2538 <version>${extra.enforcer.version}</version>
2543 <enforceBytecodeVersion>
2544 <maxJdkVersion>${compileSource}</maxJdkVersion>
2545 <message>HBase has unsupported dependencies.
2546 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2547 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2548 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2549 Non-release builds can temporarily build with a newer JDK version by setting the
2550 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2553 <ignoreClass>module-info</ignoreClass>
2555 </enforceBytecodeVersion>
2562 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2563 <!-- Submodules that need hadoop dependencies should declare
2564 profiles with activation properties matching the profile here.
2565 Generally, it should be sufficient to copy the first
2566 few lines of the profile you want to match. -->
2567 <!-- profile for building against Hadoop 2.0.x
2568 This is the default.
2574 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2575 <!--h2--><name>!hadoop.profile</name>
2579 <module>hbase-hadoop2-compat</module>
2582 <hadoop.version>${hadoop-two.version}</hadoop.version>
2583 <compat.module>hbase-hadoop2-compat</compat.module>
2584 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2585 <!--This property is for hadoops netty. HBase netty
2586 comes in via hbase-thirdparty hbase-shaded-netty-->
2587 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2589 <dependencyManagement>
2592 <groupId>org.apache.hadoop</groupId>
2593 <artifactId>hadoop-mapreduce-client-core</artifactId>
2594 <version>${hadoop-two.version}</version>
2597 <groupId>com.sun.jersey</groupId>
2598 <artifactId>jersey-core</artifactId>
2601 <groupId>org.codehaus.jackson</groupId>
2602 <artifactId>jackson-jaxrs</artifactId>
2605 <groupId>org.codehaus.jackson</groupId>
2606 <artifactId>jackson-xc</artifactId>
2609 <groupId>io.netty</groupId>
2610 <artifactId>netty</artifactId>
2613 <groupId>javax.servlet</groupId>
2614 <artifactId>servlet-api</artifactId>
2617 <groupId>javax.inject</groupId>
2618 <artifactId>javax.inject</artifactId>
2621 <groupId>org.codehaus.jackson</groupId>
2622 <artifactId>jackson-core-asl</artifactId>
2625 <groupId>org.codehaus.jackson</groupId>
2626 <artifactId>jackson-mapper-asl</artifactId>
2631 <groupId>org.apache.hadoop</groupId>
2632 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2633 <version>${hadoop-two.version}</version>
2636 <groupId>com.sun.jersey</groupId>
2637 <artifactId>jersey-core</artifactId>
2640 <groupId>io.netty</groupId>
2641 <artifactId>netty</artifactId>
2644 <groupId>javax.servlet</groupId>
2645 <artifactId>servlet-api</artifactId>
2650 <groupId>org.apache.hadoop</groupId>
2651 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2652 <version>${hadoop-two.version}</version>
2653 <type>test-jar</type>
2657 <groupId>com.sun.jersey</groupId>
2658 <artifactId>jersey-core</artifactId>
2661 <groupId>io.netty</groupId>
2662 <artifactId>netty</artifactId>
2665 <groupId>javax.servlet</groupId>
2666 <artifactId>servlet-api</artifactId>
2671 <groupId>org.apache.hadoop</groupId>
2672 <artifactId>hadoop-hdfs</artifactId>
2673 <version>${hadoop-two.version}</version>
2676 <groupId>com.sun.jersey</groupId>
2677 <artifactId>jersey-core</artifactId>
2680 <groupId>javax.servlet.jsp</groupId>
2681 <artifactId>jsp-api</artifactId>
2684 <groupId>javax.servlet</groupId>
2685 <artifactId>servlet-api</artifactId>
2688 <groupId>io.netty</groupId>
2689 <artifactId>netty</artifactId>
2692 <groupId>stax</groupId>
2693 <artifactId>stax-api</artifactId>
2696 <groupId>xerces</groupId>
2697 <artifactId>xercesImpl</artifactId>
2700 <groupId>org.codehaus.jackson</groupId>
2701 <artifactId>jackson-core-asl</artifactId>
2704 <groupId>org.codehaus.jackson</groupId>
2705 <artifactId>jackson-mapper-asl</artifactId>
2708 <groupId>com.google.guava</groupId>
2709 <artifactId>guava</artifactId>
2714 <groupId>org.apache.hadoop</groupId>
2715 <artifactId>hadoop-hdfs</artifactId>
2716 <version>${hadoop-two.version}</version>
2717 <type>test-jar</type>
2721 <groupId>javax.servlet.jsp</groupId>
2722 <artifactId>jsp-api</artifactId>
2725 <groupId>javax.servlet</groupId>
2726 <artifactId>servlet-api</artifactId>
2729 <groupId>io.netty</groupId>
2730 <artifactId>netty</artifactId>
2733 <groupId>stax</groupId>
2734 <artifactId>stax-api</artifactId>
2737 <groupId>xerces</groupId>
2738 <artifactId>xercesImpl</artifactId>
2741 <groupId>org.codehaus.jackson</groupId>
2742 <artifactId>jackson-core-asl</artifactId>
2745 <groupId>org.codehaus.jackson</groupId>
2746 <artifactId>jackson-mapper-asl</artifactId>
2749 <groupId>com.google.guava</groupId>
2750 <artifactId>guava</artifactId>
2753 <groupId>com.sun.jersey</groupId>
2754 <artifactId>jersey-core</artifactId>
2759 <groupId>org.apache.hadoop</groupId>
2760 <artifactId>hadoop-auth</artifactId>
2761 <version>${hadoop-two.version}</version>
2764 <groupId>com.google.guava</groupId>
2765 <artifactId>guava</artifactId>
2768 <groupId>net.minidev</groupId>
2769 <artifactId>json-smart</artifactId>
2774 <groupId>org.apache.hadoop</groupId>
2775 <artifactId>hadoop-common</artifactId>
2776 <version>${hadoop-two.version}</version>
2779 <groupId>com.sun.jersey</groupId>
2780 <artifactId>jersey-core</artifactId>
2783 <groupId>org.codehaus.jackson</groupId>
2784 <artifactId>jackson-jaxrs</artifactId>
2787 <groupId>org.codehaus.jackson</groupId>
2788 <artifactId>jackson-xc</artifactId>
2791 <groupId>commons-beanutils</groupId>
2792 <artifactId>commons-beanutils</artifactId>
2795 <groupId>javax.servlet.jsp</groupId>
2796 <artifactId>jsp-api</artifactId>
2799 <groupId>javax.servlet</groupId>
2800 <artifactId>servlet-api</artifactId>
2803 <groupId>stax</groupId>
2804 <artifactId>stax-api</artifactId>
2807 <groupId>io.netty</groupId>
2808 <artifactId>netty</artifactId>
2811 <groupId>com.google.code.findbugs</groupId>
2812 <artifactId>jsr305</artifactId>
2815 <groupId>junit</groupId>
2816 <artifactId>junit</artifactId>
2819 <groupId>org.codehaus.jackson</groupId>
2820 <artifactId>jackson-core-asl</artifactId>
2823 <groupId>org.codehaus.jackson</groupId>
2824 <artifactId>jackson-mapper-asl</artifactId>
2829 <groupId>org.apache.hadoop</groupId>
2830 <artifactId>hadoop-common</artifactId>
2831 <version>${hadoop-two.version}</version>
2832 <type>test-jar</type>
2836 <groupId>com.sun.jersey</groupId>
2837 <artifactId>jersey-core</artifactId>
2840 <groupId>com.google.code.findbugs</groupId>
2841 <artifactId>jsr305</artifactId>
2844 <groupId>org.codehaus.jackson</groupId>
2845 <artifactId>jackson-jaxrs</artifactId>
2848 <groupId>org.codehaus.jackson</groupId>
2849 <artifactId>jackson-xc</artifactId>
2855 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2856 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2858 <groupId>javax.activation</groupId>
2859 <artifactId>javax.activation-api</artifactId>
2860 <version>1.2.0</version>
2864 <groupId>org.apache.hadoop</groupId>
2865 <artifactId>hadoop-client</artifactId>
2866 <version>${hadoop-two.version}</version>
2868 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2869 Where do we actually need it? -->
2871 <groupId>org.apache.hadoop</groupId>
2872 <artifactId>hadoop-minicluster</artifactId>
2873 <version>${hadoop-two.version}</version>
2875 <!--If we comment this in, a few tests in hbase-mapreduce
2876 fail. They depend on jersey-core somehow. But excluding
2877 jersey-core here messes up hbase-it because jersey-core
2878 implements a 1.x jaxrs Response Interface when we depend
2879 on the 2.x Interface... . Letting this jar come in
2880 transitively here but will exclude it down in hbase-it.
2883 <groupId>com.sun.jersey</groupId>
2884 <artifactId>jersey-core</artifactId>
2888 <groupId>commons-httpclient</groupId>
2889 <artifactId>commons-httpclient</artifactId>
2892 <groupId>javax.servlet.jsp</groupId>
2893 <artifactId>jsp-api</artifactId>
2896 <groupId>javax.servlet</groupId>
2897 <artifactId>servlet-api</artifactId>
2900 <groupId>stax</groupId>
2901 <artifactId>stax-api</artifactId>
2904 <groupId>io.netty</groupId>
2905 <artifactId>netty</artifactId>
2908 <groupId>com.google.code.findbugs</groupId>
2909 <artifactId>jsr305</artifactId>
2914 <groupId>org.apache.hadoop</groupId>
2915 <artifactId>hadoop-minikdc</artifactId>
2916 <version>${hadoop-two.version}</version>
2920 <groupId>org.apache.hadoop</groupId>
2921 <artifactId>hadoop-annotations</artifactId>
2922 <version>${hadoop-two.version}</version>
2926 <groupId>org.apache.hadoop</groupId>
2927 <artifactId>hadoop-distcp</artifactId>
2928 <version>${hadoop-two.version}</version>
2932 <groupId>org.apache.hadoop</groupId>
2933 <artifactId>hadoop-hdfs-client</artifactId>
2934 <version>${hadoop-two.version}</version>
2937 </dependencyManagement>
2940 profile for building against Hadoop 3.0.0. Activate using:
2941 mvn -Dhadoop.profile=3.0
2947 <name>hadoop.profile</name>
2952 <!--For now, use hadoop2 compat module-->
2953 <module>hbase-hadoop2-compat</module>
2956 <hadoop.profile>3.0</hadoop.profile>
2957 <hadoop.version>${hadoop-three.version}</hadoop.version>
2958 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2959 <compat.module>hbase-hadoop2-compat</compat.module>
2960 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2961 <!--This property is for hadoops netty. HBase netty
2962 comes in via hbase-thirdparty hbase-shaded-netty-->
2963 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2965 <dependencyManagement>
2968 <groupId>org.apache.hadoop</groupId>
2969 <artifactId>hadoop-mapreduce-client-core</artifactId>
2970 <version>${hadoop-three.version}</version>
2973 <groupId>com.sun.jersey</groupId>
2974 <artifactId>jersey-core</artifactId>
2977 <groupId>org.codehaus.jackson</groupId>
2978 <artifactId>jackson-jaxrs</artifactId>
2981 <groupId>org.codehaus.jackson</groupId>
2982 <artifactId>jackson-xc</artifactId>
2985 <groupId>io.netty</groupId>
2986 <artifactId>netty</artifactId>
2989 <groupId>javax.servlet</groupId>
2990 <artifactId>servlet-api</artifactId>
2993 <groupId>javax.inject</groupId>
2994 <artifactId>javax.inject</artifactId>
2997 <groupId>org.codehaus.jackson</groupId>
2998 <artifactId>jackson-core-asl</artifactId>
3001 <groupId>org.codehaus.jackson</groupId>
3002 <artifactId>jackson-mapper-asl</artifactId>
3005 <groupId>com.google.guava</groupId>
3006 <artifactId>guava</artifactId>
3009 <groupId>org.slf4j</groupId>
3010 <artifactId>slf4j-log4j12</artifactId>
3013 <groupId>log4j</groupId>
3014 <artifactId>log4j</artifactId>
3019 <groupId>org.apache.hadoop</groupId>
3020 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3021 <version>${hadoop-three.version}</version>
3024 <groupId>com.sun.jersey</groupId>
3025 <artifactId>jersey-core</artifactId>
3028 <groupId>io.netty</groupId>
3029 <artifactId>netty</artifactId>
3032 <groupId>javax.servlet</groupId>
3033 <artifactId>servlet-api</artifactId>
3036 <groupId>org.slf4j</groupId>
3037 <artifactId>slf4j-log4j12</artifactId>
3040 <groupId>log4j</groupId>
3041 <artifactId>log4j</artifactId>
3046 <groupId>org.apache.hadoop</groupId>
3047 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3048 <version>${hadoop-three.version}</version>
3049 <type>test-jar</type>
3053 <groupId>com.sun.jersey</groupId>
3054 <artifactId>jersey-core</artifactId>
3057 <groupId>io.netty</groupId>
3058 <artifactId>netty</artifactId>
3061 <groupId>javax.servlet</groupId>
3062 <artifactId>servlet-api</artifactId>
3065 <groupId>org.slf4j</groupId>
3066 <artifactId>slf4j-log4j12</artifactId>
3069 <groupId>log4j</groupId>
3070 <artifactId>log4j</artifactId>
3075 <groupId>org.apache.hadoop</groupId>
3076 <artifactId>hadoop-hdfs</artifactId>
3077 <version>${hadoop-three.version}</version>
3080 <groupId>com.sun.jersey</groupId>
3081 <artifactId>jersey-core</artifactId>
3084 <groupId>com.sun.jersey</groupId>
3085 <artifactId>jersey-server</artifactId>
3088 <groupId>javax.servlet.jsp</groupId>
3089 <artifactId>jsp-api</artifactId>
3092 <groupId>javax.servlet</groupId>
3093 <artifactId>servlet-api</artifactId>
3096 <groupId>stax</groupId>
3097 <artifactId>stax-api</artifactId>
3100 <groupId>xerces</groupId>
3101 <artifactId>xercesImpl</artifactId>
3104 <groupId>org.codehaus.jackson</groupId>
3105 <artifactId>jackson-core-asl</artifactId>
3108 <groupId>org.codehaus.jackson</groupId>
3109 <artifactId>jackson-mapper-asl</artifactId>
3112 <groupId>com.google.guava</groupId>
3113 <artifactId>guava</artifactId>
3116 <groupId>org.slf4j</groupId>
3117 <artifactId>slf4j-log4j12</artifactId>
3120 <groupId>log4j</groupId>
3121 <artifactId>log4j</artifactId>
3126 <groupId>org.apache.hadoop</groupId>
3127 <artifactId>hadoop-hdfs</artifactId>
3128 <version>${hadoop-three.version}</version>
3129 <type>test-jar</type>
3133 <groupId>javax.servlet.jsp</groupId>
3134 <artifactId>jsp-api</artifactId>
3137 <groupId>javax.servlet</groupId>
3138 <artifactId>servlet-api</artifactId>
3141 <groupId>stax</groupId>
3142 <artifactId>stax-api</artifactId>
3145 <groupId>xerces</groupId>
3146 <artifactId>xercesImpl</artifactId>
3149 <groupId>org.codehaus.jackson</groupId>
3150 <artifactId>jackson-core-asl</artifactId>
3153 <groupId>org.codehaus.jackson</groupId>
3154 <artifactId>jackson-mapper-asl</artifactId>
3157 <groupId>com.google.guava</groupId>
3158 <artifactId>guava</artifactId>
3161 <groupId>com.sun.jersey</groupId>
3162 <artifactId>jersey-core</artifactId>
3165 <groupId>org.slf4j</groupId>
3166 <artifactId>slf4j-log4j12</artifactId>
3169 <groupId>log4j</groupId>
3170 <artifactId>log4j</artifactId>
3175 <groupId>org.apache.hadoop</groupId>
3176 <artifactId>hadoop-hdfs</artifactId>
3177 <version>${hadoop-three.version}</version>
3178 <type>test-jar</type>
3179 <classifier>tests</classifier>
3183 <groupId>com.sun.jersey</groupId>
3184 <artifactId>jersey-core</artifactId>
3189 <groupId>org.apache.hadoop</groupId>
3190 <artifactId>hadoop-auth</artifactId>
3191 <version>${hadoop-three.version}</version>
3194 <groupId>com.google.guava</groupId>
3195 <artifactId>guava</artifactId>
3198 <groupId>net.minidev</groupId>
3199 <artifactId>json-smart</artifactId>
3202 <groupId>org.slf4j</groupId>
3203 <artifactId>slf4j-log4j12</artifactId>
3206 <groupId>log4j</groupId>
3207 <artifactId>log4j</artifactId>
3212 <groupId>org.apache.hadoop</groupId>
3213 <artifactId>hadoop-common</artifactId>
3214 <version>${hadoop-three.version}</version>
3217 <groupId>com.sun.jersey</groupId>
3218 <artifactId>jersey-core</artifactId>
3221 <groupId>com.sun.jersey</groupId>
3222 <artifactId>jersey-json</artifactId>
3225 <groupId>com.sun.jersey</groupId>
3226 <artifactId>jersey-servlet</artifactId>
3229 <groupId>com.sun.jersey</groupId>
3230 <artifactId>jersey-server</artifactId>
3233 <groupId>javax.servlet.jsp</groupId>
3234 <artifactId>jsp-api</artifactId>
3237 <groupId>javax.servlet</groupId>
3238 <artifactId>javax.servlet-api</artifactId>
3241 <groupId>stax</groupId>
3242 <artifactId>stax-api</artifactId>
3245 <groupId>io.netty</groupId>
3246 <artifactId>netty</artifactId>
3249 <groupId>com.google.code.findbugs</groupId>
3250 <artifactId>jsr305</artifactId>
3253 <groupId>junit</groupId>
3254 <artifactId>junit</artifactId>
3257 <groupId>org.codehause.jackson</groupId>
3258 <artifactId>jackson-core-asl</artifactId>
3261 <groupId>org.codehause.jackson</groupId>
3262 <artifactId>jackson-mapper-asl</artifactId>
3265 <groupId>org.slf4j</groupId>
3266 <artifactId>slf4j-log4j12</artifactId>
3269 <groupId>log4j</groupId>
3270 <artifactId>log4j</artifactId>
3276 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3278 <groupId>javax.activation</groupId>
3279 <artifactId>javax.activation-api</artifactId>
3280 <version>1.2.0</version>
3284 <groupId>org.apache.hadoop</groupId>
3285 <artifactId>hadoop-common</artifactId>
3286 <type>test-jar</type>
3287 <classifier>tests</classifier>
3288 <version>${hadoop-three.version}</version>
3291 <groupId>com.sun.jersey</groupId>
3292 <artifactId>jersey-core</artifactId>
3295 <groupId>com.google.code.findbugs</groupId>
3296 <artifactId>jsr305</artifactId>
3301 <groupId>org.apache.hadoop</groupId>
3302 <artifactId>hadoop-client</artifactId>
3303 <version>${hadoop-three.version}</version>
3306 <groupId>org.apache.hadoop</groupId>
3307 <artifactId>hadoop-annotations</artifactId>
3308 <version>${hadoop-three.version}</version>
3310 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3311 Where do we actually need it? -->
3313 <groupId>org.apache.hadoop</groupId>
3314 <artifactId>hadoop-minicluster</artifactId>
3315 <version>${hadoop-three.version}</version>
3317 <!--If we comment this in, a few tests in hbase-mapreduce
3318 fail. They depend on jersey-core somehow. But excluding
3319 jersey-core here messes up hbase-it because jersey-core
3320 implements a 1.x jaxrs Response Interface when we depend
3321 on the 2.x Interface... . Letting this jar come in
3322 transitively here but will exclude it down in hbase-it.
3325 <groupId>com.sun.jersey</groupId>
3326 <artifactId>jersey-core</artifactId>
3330 <groupId>commons-httpclient</groupId>
3331 <artifactId>commons-httpclient</artifactId>
3334 <groupId>javax.servlet.jsp</groupId>
3335 <artifactId>jsp-api</artifactId>
3338 <groupId>javax.servlet</groupId>
3339 <artifactId>servlet-api</artifactId>
3342 <groupId>stax</groupId>
3343 <artifactId>stax-api</artifactId>
3346 <groupId>io.netty</groupId>
3347 <artifactId>netty</artifactId>
3350 <groupId>com.google.code.findbugs</groupId>
3351 <artifactId>jsr305</artifactId>
3354 <groupId>org.slf4j</groupId>
3355 <artifactId>slf4j-log4j12</artifactId>
3358 <groupId>log4j</groupId>
3359 <artifactId>log4j</artifactId>
3364 <groupId>org.apache.hadoop</groupId>
3365 <artifactId>hadoop-minikdc</artifactId>
3366 <version>${hadoop-three.version}</version>
3370 <groupId>org.slf4j</groupId>
3371 <artifactId>slf4j-log4j12</artifactId>
3374 <groupId>log4j</groupId>
3375 <artifactId>log4j</artifactId>
3380 <groupId>org.apache.hadoop</groupId>
3381 <artifactId>hadoop-distcp</artifactId>
3382 <version>${hadoop-three.version}</version>
3386 <groupId>org.apache.hadoop</groupId>
3387 <artifactId>hadoop-hdfs-client</artifactId>
3388 <version>${hadoop-three.version}</version>
3391 </dependencyManagement>
3394 <!-- profiles for the tests
3395 See as well the properties of the project for the values
3396 when no profile is active. -->
3398 <!-- Use it to launch all tests in the same JVM -->
3399 <id>singleJVMTests</id>
3401 <activeByDefault>false</activeByDefault>
3404 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3405 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3406 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3407 <surefire.firstPartGroups/>
3411 <!-- Use it to launch small tests only -->
3412 <id>runSmallTests</id>
3414 <activeByDefault>false</activeByDefault>
3417 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3418 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3419 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3420 <surefire.secondPartGroups/>
3424 <!-- Use it to launch medium tests only -->
3425 <id>runMediumTests</id>
3427 <activeByDefault>false</activeByDefault>
3430 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3431 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3432 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3433 <surefire.secondPartGroups/>
3437 <!-- Use it to launch large tests only -->
3438 <id>runLargeTests</id>
3440 <activeByDefault>false</activeByDefault>
3443 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3444 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3445 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3446 <surefire.secondPartGroups/>
3450 <!-- Use it to launch small & medium tests -->
3451 <id>runDevTests</id>
3453 <activeByDefault>false</activeByDefault>
3456 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3457 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3458 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3459 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3460 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3464 <!-- Use it to launch all tests -->
3465 <id>runAllTests</id>
3467 <activeByDefault>false</activeByDefault>
3470 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3471 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3472 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3473 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3477 <id>runMiscTests</id>
3479 <activeByDefault>false</activeByDefault>
3482 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3483 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3484 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3485 </surefire.firstPartGroups>
3486 <surefire.secondPartGroups></surefire.secondPartGroups>
3490 <id>runCoprocessorTests</id>
3492 <activeByDefault>false</activeByDefault>
3495 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3496 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3497 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3498 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3499 <surefire.firstPartGroups>
3500 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3501 </surefire.firstPartGroups>
3502 <surefire.secondPartGroups></surefire.secondPartGroups>
3506 <id>runClientTests</id>
3508 <activeByDefault>false</activeByDefault>
3511 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3512 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3513 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3514 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3515 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3516 </surefire.firstPartGroups>
3517 <surefire.secondPartGroups></surefire.secondPartGroups>
3521 <id>runMasterTests</id>
3523 <activeByDefault>false</activeByDefault>
3526 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3527 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3528 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3529 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3530 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3531 </surefire.firstPartGroups>
3532 <surefire.secondPartGroups></surefire.secondPartGroups>
3536 <id>runMapredTests</id>
3538 <activeByDefault>false</activeByDefault>
3541 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3542 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3543 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3544 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3545 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3546 </surefire.firstPartGroups>
3547 <surefire.secondPartGroups></surefire.secondPartGroups>
3551 <id>runMapreduceTests</id>
3553 <activeByDefault>false</activeByDefault>
3556 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3557 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3558 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3559 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3560 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3561 </surefire.firstPartGroups>
3562 <surefire.secondPartGroups></surefire.secondPartGroups>
3566 <id>runRegionServerTests</id>
3568 <activeByDefault>false</activeByDefault>
3571 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3572 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3573 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3574 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3575 <surefire.firstPartGroups>
3576 org.apache.hadoop.hbase.testclassification.RegionServerTests
3577 </surefire.firstPartGroups>
3578 <surefire.secondPartGroups></surefire.secondPartGroups>
3582 <id>runVerySlowMapReduceTests</id>
3584 <activeByDefault>false</activeByDefault>
3587 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3588 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3589 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3590 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3591 <surefire.firstPartGroups>
3592 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3593 </surefire.firstPartGroups>
3594 <surefire.secondPartGroups></surefire.secondPartGroups>
3599 <id>runVerySlowRegionServerTests</id>
3601 <activeByDefault>false</activeByDefault>
3604 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3605 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3606 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3607 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3608 <surefire.firstPartGroups>
3609 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3610 </surefire.firstPartGroups>
3611 <surefire.secondPartGroups></surefire.secondPartGroups>
3616 <id>runFilterTests</id>
3618 <activeByDefault>false</activeByDefault>
3621 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3622 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3623 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3624 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3625 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3626 </surefire.firstPartGroups>
3627 <surefire.secondPartGroups></surefire.secondPartGroups>
3633 <activeByDefault>false</activeByDefault>
3636 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3637 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3638 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3639 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3640 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3641 </surefire.firstPartGroups>
3642 <surefire.secondPartGroups></surefire.secondPartGroups>
3646 <id>runRestTests</id>
3648 <activeByDefault>false</activeByDefault>
3651 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3652 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3653 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3654 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3655 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3656 </surefire.firstPartGroups>
3657 <surefire.secondPartGroups></surefire.secondPartGroups>
3661 <id>runRPCTests</id>
3663 <activeByDefault>false</activeByDefault>
3666 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3667 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3668 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3669 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3670 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3671 </surefire.firstPartGroups>
3672 <surefire.secondPartGroups></surefire.secondPartGroups>
3676 <id>runReplicationTests</id>
3678 <activeByDefault>false</activeByDefault>
3681 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3682 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3683 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3684 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3685 <surefire.firstPartGroups>
3686 org.apache.hadoop.hbase.testclassification.ReplicationTests
3687 </surefire.firstPartGroups>
3688 <surefire.secondPartGroups></surefire.secondPartGroups>
3692 <id>runSecurityTests</id>
3694 <activeByDefault>false</activeByDefault>
3697 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3698 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3699 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3700 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3701 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3702 </surefire.firstPartGroups>
3703 <surefire.secondPartGroups></surefire.secondPartGroups>
3707 <id>runFlakeyTests</id>
3709 <activeByDefault>false</activeByDefault>
3712 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3713 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3714 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3715 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3716 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3717 </surefire.firstPartGroups>
3718 <surefire.secondPartGroups></surefire.secondPartGroups>
3724 <activeByDefault>false</activeByDefault>
3727 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3728 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3729 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3730 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3731 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3732 </surefire.firstPartGroups>
3733 <surefire.secondPartGroups></surefire.secondPartGroups>
3738 <!-- Use it to launch tests locally-->
3746 <surefire.provider>surefire-junit4</surefire.provider>
3747 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3748 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3749 <surefire.firstPartGroups/>
3752 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3753 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3754 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3755 The report will be generated under target/site/clover/index.html when you run
3756 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3760 <activeByDefault>false</activeByDefault>
3766 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3770 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3771 our instrumented classes for the doclet will fail
3774 <groupId>org.apache.maven.plugins</groupId>
3775 <artifactId>maven-javadoc-plugin</artifactId>
3778 <groupId>com.atlassian.maven.plugins</groupId>
3779 <artifactId>maven-clover2-plugin</artifactId>
3780 <version>${clover.version}</version>
3785 <groupId>com.atlassian.maven.plugins</groupId>
3786 <artifactId>maven-clover2-plugin</artifactId>
3787 <version>${clover.version}</version>
3789 <includesAllSourceRoots>true</includesAllSourceRoots>
3790 <includesTestSourceRoots>true</includesTestSourceRoots>
3791 <targetPercentage>50%</targetPercentage>
3792 <generateHtml>true</generateHtml>
3793 <generateXml>true</generateXml>
3795 <exclude>**/generated/**</exclude>
3800 <id>clover-setup</id>
3801 <phase>process-sources</phase>
3819 <!-- Used by the website generation script on jenkins to
3820 do a local install of the jars we need to run a normal
3821 site build w/o forking.
3823 <id>site-install-step</id>
3825 <skipTests>true</skipTests>
3826 <maven.javadoc.skip>true</maven.javadoc.skip>
3827 <enforcer.skip>true</enforcer.skip>
3828 <checkstyle.skip>true</checkstyle.skip>
3829 <spotbugs.skip>true</spotbugs.skip>
3830 <warbucks.skip>true</warbucks.skip>
3834 <!-- Used by the website generation script on jenkins to
3835 mitigate the impact of unneeded build forks while building
3838 <id>site-build-step</id>
3840 <skipTests>true</skipTests>
3841 <enforcer.skip>true</enforcer.skip>
3842 <maven.main.skip>true</maven.main.skip>
3843 <maven.test.skip>true</maven.test.skip>
3844 <warbucks.skip>true</warbucks.skip>
3845 <protoc.skip>true</protoc.skip>
3846 <remoteresources.skip>true</remoteresources.skip>
3850 <id>eclipse-specific</id>
3853 <name>m2e.version</name>
3859 <!-- General config for eclipse classpath/settings -->
3861 <groupId>org.apache.maven.plugins</groupId>
3862 <artifactId>maven-eclipse-plugin</artifactId>
3863 <version>${maven.eclipse.version}</version>
3865 <!--This plugin's configuration is used to store Eclipse m2e settings
3866 only. It has no influence on the Maven build itself. m2e does not
3867 provide any safeguards against rogue maven plugins that leak
3868 classloaders, modify random files inside workspace or throw nasty
3869 exceptions to fail the build.
3870 Top level doesn't do any specific configuration currently - left
3871 to modules to decide what they want to bind, sans those plugins
3872 defined in this pom. -->
3874 <groupId>org.eclipse.m2e</groupId>
3875 <artifactId>lifecycle-mapping</artifactId>
3876 <version>${lifecycle.mapping.version}</version>
3878 <lifecycleMappingMetadata>
3881 <pluginExecutionFilter>
3882 <groupId>org.jacoco</groupId>
3883 <artifactId>jacoco-maven-plugin</artifactId>
3884 <versionRange>[0.6.2.201302030002,)</versionRange>
3886 <goal>prepare-agent</goal>
3888 </pluginExecutionFilter>
3894 <pluginExecutionFilter>
3895 <groupId>org.apache.maven.plugins</groupId>
3896 <artifactId>maven-enforcer-plugin</artifactId>
3897 <versionRange>${enforcer.version}</versionRange>
3899 <goal>enforce</goal>
3901 </pluginExecutionFilter>
3907 <pluginExecutionFilter>
3908 <groupId>org.apache.maven.plugins</groupId>
3909 <artifactId>maven-remote-resources-plugin</artifactId>
3910 <versionRange>[1.5,)</versionRange>
3912 <goal>process</goal>
3915 </pluginExecutionFilter>
3921 <pluginExecutionFilter>
3922 <groupId>org.codehaus.mojo</groupId>
3923 <artifactId>buildnumber-maven-plugin</artifactId>
3924 <versionRange>[1.3,)</versionRange>
3926 <goal>create-timestamp</goal>
3928 </pluginExecutionFilter>
3931 <runOnConfiguration>true</runOnConfiguration>
3932 <runOnIncremental>true</runOnIncremental>
3937 </lifecycleMappingMetadata>
3945 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3949 <artifactId>maven-project-info-reports-plugin</artifactId>
3953 <report>dependencies</report>
3954 <report>dependency-convergence</report>
3955 <report>dependency-info</report>
3956 <report>dependency-management</report>
3957 <report>index</report>
3958 <report>issue-management</report>
3959 <report>licenses</report>
3960 <report>mailing-lists</report>
3961 <report>plugin-management</report>
3962 <report>plugins</report>
3963 <report>team</report>
3964 <report>scm</report>
3965 <report>summary</report>
3969 <!-- see src/site/site.xml for selected reports -->
3971 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3976 <groupId>org.apache.maven.plugins</groupId>
3977 <artifactId>maven-javadoc-plugin</artifactId>
3981 <name>apiNote</name>
3982 <placement>a</placement>
3983 <head>API Note:</head>
3992 <report>aggregate-no-fork</report>
3995 <destDir>devapidocs</destDir>
3996 <name>Developer API</name>
3997 <description>The full HBase API, including private and unstable APIs</description>
3998 <sourceFileExcludes>
3999 <exclude>**/generated/*</exclude>
4000 <exclude>**/protobuf/*</exclude>
4001 </sourceFileExcludes>
4002 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4003 <show>private</show> <!-- (shows all classes and members) -->
4005 <linksource>true</linksource>
4006 <sourcetab>2</sourcetab>
4007 <validateLinks>true</validateLinks>
4008 <fixClassComment>true</fixClassComment>
4009 <fixFieldComment>true</fixFieldComment>
4010 <fixMethodComment>true</fixMethodComment>
4011 <fixTags>all</fixTags>
4012 <notimestamp>true</notimestamp>
4013 <locale>en_US</locale>
4014 <!-- Pass some options straight to the javadoc executable since it is easier -->
4015 <additionalJOption>-J-Xmx2G</additionalJOption>
4016 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4017 <additionalDependencies>
4018 <additionalDependency>
4019 <groupId>org.mockito</groupId>
4020 <artifactId>mockito-core</artifactId>
4021 <version>${mockito-core.version}</version>
4022 </additionalDependency>
4023 <additionalDependency>
4024 <groupId>org.hamcrest</groupId>
4025 <artifactId>hamcrest-core</artifactId>
4026 <version>${hamcrest.version}</version>
4027 </additionalDependency>
4028 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4029 <additionalDependency>
4030 <groupId>com.google.code.findbugs</groupId>
4031 <artifactId>jsr305</artifactId>
4032 <version>3.0.2</version>
4033 </additionalDependency>
4034 </additionalDependencies>
4035 <inherited>false</inherited>
4041 <report>test-aggregate-no-fork</report>
4044 <destDir>testdevapidocs</destDir>
4045 <name>Developer API</name>
4046 <description>The full HBase API test code, including private and unstable APIs</description>
4047 <sourceFileExcludes>
4048 <exclude>**/generated/*</exclude>
4049 <exclude>**/protobuf/*</exclude>
4050 </sourceFileExcludes>
4051 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4052 <show>private</show> <!-- (shows all classes and members) -->
4054 <linksource>true</linksource>
4055 <sourcetab>2</sourcetab>
4056 <validateLinks>true</validateLinks>
4057 <fixClassComment>true</fixClassComment>
4058 <fixFieldComment>true</fixFieldComment>
4059 <fixMethodComment>true</fixMethodComment>
4060 <fixTags>all</fixTags>
4061 <notimestamp>true</notimestamp>
4062 <locale>en_US</locale>
4063 <!-- Pass some options straight to the javadoc executable since it is easier -->
4064 <additionalJOption>-J-Xmx2G</additionalJOption>
4065 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4066 <additionalDependencies>
4067 <additionalDependency>
4068 <groupId>org.mockito</groupId>
4069 <artifactId>mockito-core</artifactId>
4070 <version>${mockito-core.version}</version>
4071 </additionalDependency>
4072 <additionalDependency>
4073 <groupId>org.hamcrest</groupId>
4074 <artifactId>hamcrest-core</artifactId>
4075 <version>${hamcrest.version}</version>
4076 </additionalDependency>
4077 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4078 <additionalDependency>
4079 <groupId>com.google.code.findbugs</groupId>
4080 <artifactId>jsr305</artifactId>
4081 <version>3.0.2</version>
4082 </additionalDependency>
4083 </additionalDependencies>
4084 <inherited>false</inherited>
4092 <report>aggregate-no-fork</report>
4096 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4099 <groupId>org.apache.yetus</groupId>
4100 <artifactId>audience-annotations</artifactId>
4101 <version>${audience-annotations.version}</version>
4103 <useStandardDocletOptions>true</useStandardDocletOptions>
4104 <destDir>apidocs</destDir>
4105 <name>User API</name>
4106 <description>The HBase Application Programmer's API</description>
4107 <excludePackageNames>
4108 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*
4109 </excludePackageNames>
4110 <!-- switch on dependency-driven aggregation -->
4111 <includeDependencySources>false</includeDependencySources>
4112 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4113 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4115 <linksource>true</linksource>
4116 <sourcetab>2</sourcetab>
4117 <validateLinks>true</validateLinks>
4118 <fixClassComment>true</fixClassComment>
4119 <fixFieldComment>true</fixFieldComment>
4120 <fixMethodComment>true</fixMethodComment>
4121 <fixTags>all</fixTags>
4122 <notimestamp>true</notimestamp>
4123 <locale>en_US</locale>
4124 <!-- Pass some options straight to the javadoc executable since it is easier -->
4125 <additionalJOption>-J-Xmx2G</additionalJOption>
4126 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4127 <additionalDependencies>
4128 <additionalDependency>
4129 <groupId>org.mockito</groupId>
4130 <artifactId>mockito-core</artifactId>
4131 <version>${mockito-core.version}</version>
4132 </additionalDependency>
4133 <additionalDependency>
4134 <groupId>org.hamcrest</groupId>
4135 <artifactId>hamcrest-core</artifactId>
4136 <version>${hamcrest.version}</version>
4137 </additionalDependency>
4138 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4139 <additionalDependency>
4140 <groupId>com.google.code.findbugs</groupId>
4141 <artifactId>jsr305</artifactId>
4142 <version>3.0.2</version>
4143 </additionalDependency>
4144 </additionalDependencies>
4145 <inherited>false</inherited>
4148 <!-- User Test API -->
4150 <id>testuserapi</id>
4152 <report>test-aggregate-no-fork</report>
4156 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4159 <groupId>org.apache.yetus</groupId>
4160 <artifactId>audience-annotations</artifactId>
4161 <version>${audience-annotations.version}</version>
4163 <useStandardDocletOptions>true</useStandardDocletOptions>
4164 <destDir>testapidocs</destDir>
4165 <name>User API</name>
4166 <description>The HBase Application Programmer's API</description>
4167 <excludePackageNames>
4168 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*
4169 </excludePackageNames>
4170 <!-- switch on dependency-driven aggregation -->
4171 <includeDependencySources>false</includeDependencySources>
4172 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4173 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4175 <linksource>true</linksource>
4176 <sourcetab>2</sourcetab>
4177 <validateLinks>true</validateLinks>
4178 <fixClassComment>true</fixClassComment>
4179 <fixFieldComment>true</fixFieldComment>
4180 <fixMethodComment>true</fixMethodComment>
4181 <fixTags>all</fixTags>
4182 <notimestamp>true</notimestamp>
4183 <locale>en_US</locale>
4184 <!-- Pass some options straight to the javadoc executable since it is easier -->
4185 <additionalJOption>-J-Xmx2G</additionalJOption>
4186 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4187 <additionalDependencies>
4188 <additionalDependency>
4189 <groupId>org.mockito</groupId>
4190 <artifactId>mockito-core</artifactId>
4191 <version>${mockito-core.version}</version>
4192 </additionalDependency>
4193 <additionalDependency>
4194 <groupId>org.hamcrest</groupId>
4195 <artifactId>hamcrest-core</artifactId>
4196 <version>${hamcrest.version}</version>
4197 </additionalDependency>
4198 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4199 <additionalDependency>
4200 <groupId>com.google.code.findbugs</groupId>
4201 <artifactId>jsr305</artifactId>
4202 <version>3.0.2</version>
4203 </additionalDependency>
4204 </additionalDependencies>
4205 <inherited>false</inherited>
4212 <groupId>org.apache.maven.plugins</groupId>
4213 <artifactId>maven-checkstyle-plugin</artifactId>
4214 <version>${maven.checkstyle.version}</version>
4216 <excludes>target/**</excludes>
4222 <distributionManagement>
4224 <id>hbase.apache.org</id>
4225 <name>HBase Website at hbase.apache.org</name>
4226 <!-- On why this is the tmp dir and not hbase.apache.org, see
4227 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4229 <url>file:///tmp</url>
4231 </distributionManagement>