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.1</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>
1148 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1149 <includeTestCode>true</includeTestCode>
1150 <commentLineBufferSize>512</commentLineBufferSize>
1152 You should never use this style of annotations(i.e, 'this is for test only')
1153 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1155 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1158 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1166 <!-- parent-module only plugins -->
1168 <groupId>org.codehaus.mojo</groupId>
1169 <artifactId>xml-maven-plugin</artifactId>
1170 <version>${xml.maven.version}</version>
1171 <inherited>false</inherited>
1174 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1176 <goal>transform</goal>
1182 <transformationSets>
1183 <!-- For asciidoc -->
1185 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1186 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1188 <include>hbase-default.xml</include>
1190 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1192 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1193 <pattern>^(.*)\.xml$</pattern>
1194 <replacement>$1.adoc</replacement>
1197 <outputDir>${basedir}/target/asciidoc</outputDir>
1198 </transformationSet>
1199 </transformationSets>
1202 <!-- Special configuration for spotbugs just in the parent so
1203 the filter file location can be more general (see definition in pluginManagement) -->
1205 <groupId>com.github.spotbugs</groupId>
1206 <artifactId>spotbugs-maven-plugin</artifactId>
1209 <inherited>false</inherited>
1211 <goal>spotbugs</goal>
1214 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1220 <groupId>org.apache.maven.plugins</groupId>
1221 <artifactId>maven-checkstyle-plugin</artifactId>
1224 <groupId>org.apache.maven.plugins</groupId>
1225 <artifactId>maven-site-plugin</artifactId>
1228 <!-- add support for ssh/scp -->
1229 <groupId>org.apache.maven.wagon</groupId>
1230 <artifactId>wagon-ssh</artifactId>
1231 <version>${wagon.ssh.version}</version>
1235 <siteDirectory>${basedir}/src/site</siteDirectory>
1236 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1237 <inputEncoding>UTF-8</inputEncoding>
1238 <outputEncoding>UTF-8</outputEncoding>
1241 <!-- For AsciiDoc docs building -->
1243 <groupId>org.asciidoctor</groupId>
1244 <artifactId>asciidoctor-maven-plugin</artifactId>
1245 <version>${asciidoctor.plugin.version}</version>
1246 <inherited>false</inherited>
1249 <groupId>org.asciidoctor</groupId>
1250 <artifactId>asciidoctorj-pdf</artifactId>
1251 <version>${asciidoctorj.pdf.version}</version>
1254 <groupId>org.jruby</groupId>
1255 <artifactId>jruby-complete</artifactId>
1256 <version>${jruby.version}</version>
1260 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1261 <doctype>book</doctype>
1263 <docVersion>${project.version}</docVersion>
1264 <imagesdir>images</imagesdir>
1265 <source-highlighter>coderay</source-highlighter>
1270 <id>output-html</id>
1273 <goal>process-asciidoc</goal>
1277 <stylesheet>hbase.css</stylesheet>
1279 <backend>html5</backend>
1286 <goal>process-asciidoc</goal>
1289 <backend>pdf</backend>
1294 <idseparator>-</idseparator>
1301 <groupId>org.apache.maven.plugins</groupId>
1302 <artifactId>maven-resources-plugin</artifactId>
1303 <!--$NO-MVN-MAN-VER$ -->
1304 <inherited>false</inherited>
1307 <id>copy-htaccess</id>
1309 <goal>copy-resources</goal>
1313 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1316 <directory>${basedir}/src/site/resources/</directory>
1318 <include>.htaccess</include>
1324 <!-- needed to make the redirect above work -->
1326 <id>copy-empty-book-dir</id>
1328 <goal>copy-resources</goal>
1332 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1335 <directory>${basedir}/src/site/resources/</directory>
1337 <include>book/**</include>
1345 <escapeString>\</escapeString>
1349 <groupId>org.apache.maven.plugins</groupId>
1350 <artifactId>maven-antrun-plugin</artifactId>
1351 <version>${maven.antrun.version}</version>
1352 <inherited>false</inherited>
1353 <!-- Rename the book.pdf generated by asciidoctor -->
1359 <target name="rename file">
1360 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1370 <groupId>org.codehaus.mojo</groupId>
1371 <artifactId>buildnumber-maven-plugin</artifactId>
1374 <phase>validate</phase>
1376 <goal>create-timestamp</goal>
1381 <timestampFormat>yyyy</timestampFormat>
1382 <timestampPropertyName>build.year</timestampPropertyName>
1386 <groupId>org.apache.felix</groupId>
1387 <artifactId>maven-bundle-plugin</artifactId>
1388 <version>${maven.bundle.version}</version>
1389 <inherited>true</inherited>
1390 <extensions>true</extensions>
1395 <!-- override on command line to have generated LICENSE files include
1396 diagnostic info for verifying notice requirements -->
1397 <license.debug.print.included>false</license.debug.print.included>
1398 <!-- When a particular module bundles its depenendencies, should be true -->
1399 <license.bundles.dependencies>false</license.bundles.dependencies>
1400 <!-- modules that include a the logo in their source tree should set true -->
1401 <license.bundles.logo>false</license.bundles.logo>
1402 <!-- modules that include bootstrap in their source tree should set true -->
1403 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1404 <!-- modules that include jquery in their source tree should set true -->
1405 <license.bundles.jquery>false</license.bundles.jquery>
1406 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1407 <maven.build.timestamp.format>
1409 </maven.build.timestamp.format>
1410 <buildDate>${maven.build.timestamp}</buildDate>
1411 <compileSource>1.8</compileSource>
1412 <!-- Build dependencies -->
1413 <maven.min.version>3.0.4</maven.min.version>
1414 <java.min.version>${compileSource}</java.min.version>
1415 <!-- Dependencies -->
1416 <hadoop-two.version>2.10.0</hadoop-two.version>
1417 <hadoop-three.version>3.1.2</hadoop-three.version>
1418 <!-- These must be defined here for downstream build tools that don't look at profiles.
1419 They ought to match the values found in our default hadoop profile, which is
1420 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1421 <hadoop.version>${hadoop-two.version}</hadoop.version>
1422 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1423 <compat.module>hbase-hadoop2-compat</compat.module>
1424 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1425 <!--This property is for hadoops netty. HBase netty
1426 comes in via hbase-thirdparty hbase-shaded-netty-->
1427 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1428 <!-- end HBASE-15925 default hadoop compatibility values -->
1429 <audience-annotations.version>0.5.0</audience-annotations.version>
1430 <avro.version>1.7.7</avro.version>
1431 <caffeine.version>2.8.1</caffeine.version>
1432 <commons-codec.version>1.13</commons-codec.version>
1433 <!-- pretty outdated -->
1434 <commons-io.version>2.6</commons-io.version>
1435 <commons-lang3.version>3.9</commons-lang3.version>
1436 <commons-math.version>3.6.1</commons-math.version>
1437 <disruptor.version>3.4.2</disruptor.version>
1438 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1439 especially when writing out 'no column families'. Later httpclients collapse the '//'
1440 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1441 TestRemoteTable. -->
1442 <httpclient.version>4.5.3</httpclient.version>
1443 <httpcore.version>4.4.13</httpcore.version>
1444 <metrics-core.version>3.2.6</metrics-core.version>
1445 <jackson.version>2.10.1</jackson.version>
1446 <jackson.databind.version>2.10.1</jackson.databind.version>
1447 <jaxb-api.version>2.3.1</jaxb-api.version>
1448 <servlet.api.version>3.1.0</servlet.api.version>
1449 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1450 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1451 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1452 <jruby.version>9.2.13.0</jruby.version>
1453 <junit.version>4.13</junit.version>
1454 <hamcrest.version>1.3</hamcrest.version>
1455 <htrace.version>4.2.0-incubating</htrace.version>
1456 <log4j.version>1.2.17</log4j.version>
1457 <mockito-core.version>2.28.2</mockito-core.version>
1458 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1459 <external.protobuf.version>2.5.0</external.protobuf.version>
1460 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1461 <thrift.path>thrift</thrift.path>
1462 <thrift.version>0.13.0</thrift.version>
1463 <zookeeper.version>3.5.7</zookeeper.version>
1464 <jline.version>2.11</jline.version>
1465 <slf4j.version>1.7.30</slf4j.version>
1466 <clover.version>4.0.3</clover.version>
1467 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1468 <jettison.version>1.3.8</jettison.version>
1469 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1470 <joni.version>2.1.31</joni.version>
1471 <jcodings.version>1.0.55</jcodings.version>
1472 <spy.version>2.12.2</spy.version>
1473 <bouncycastle.version>1.60</bouncycastle.version>
1474 <kerby.version>1.0.1</kerby.version>
1475 <commons-crypto.version>1.0.0</commons-crypto.version>
1476 <curator.version>4.2.0</curator.version>
1477 <!-- Plugin Dependencies -->
1478 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1479 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1480 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1481 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1483 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1485 <checkstyle.version>8.28</checkstyle.version>
1486 <exec.maven.version>1.6.0</exec.maven.version>
1487 <error-prone.version>2.4.0</error-prone.version>
1488 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1489 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1490 <maven.antrun.version>1.8</maven.antrun.version>
1491 <maven.bundle.version>3.3.0</maven.bundle.version>
1492 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1493 <maven.eclipse.version>2.10</maven.eclipse.version>
1494 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1495 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1496 <os.maven.version>1.5.0.Final</os.maven.version>
1497 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1498 <spotbugs.version>3.1.12</spotbugs.version>
1499 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1500 <surefire.version>3.0.0-M4</surefire.version>
1501 <wagon.ssh.version>2.12</wagon.ssh.version>
1502 <xml.maven.version>1.0.1</xml.maven.version>
1503 <hbase-thirdparty.version>3.4.1</hbase-thirdparty.version>
1504 <!-- Intraproject jar naming properties -->
1505 <!-- TODO this is pretty ugly, but works for the moment.
1506 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1507 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1508 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1509 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1510 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1511 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1512 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1513 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1514 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1515 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1516 <shell-executable>bash</shell-executable>
1517 <surefire.provider>surefire-junit47</surefire.provider>
1518 <!-- default: run small & medium, medium with 2 threads -->
1519 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1520 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1521 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1522 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1523 value is you want to burn through tests faster (could make for more failures
1524 if more contention around resources). There is a matching MAVEN_ARG
1525 in our yetus personality where we set the maven -T command to 0.25C too.
1526 For example, to run at a rate that is more furious than our 0.25C, do
1527 something like this:
1528 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1530 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1531 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1532 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1533 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1534 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1535 <test.output.tofile>true</test.output.tofile>
1536 <surefire.timeout>900</surefire.timeout>
1537 <test.exclude.pattern></test.exclude.pattern>
1539 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1540 This value is managed separately for jdk11. See below.
1542 <surefire.Xmx>2200m</surefire.Xmx>
1543 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1544 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1546 And for netty eventloops that have no explicit configuration, netty sets
1547 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1550 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1551 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1552 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1553 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1554 -Dio.netty.eventLoopThreads=3
1555 </hbase-surefire.argLine>
1556 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1557 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1558 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1559 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1560 </hbase-surefire.cygwin-argLine>
1561 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1562 <argLine>${hbase-surefire.argLine}</argLine>
1563 <jacoco.version>0.7.5.201505241946</jacoco.version>
1564 <extra.enforcer.version>1.3</extra.enforcer.version>
1565 <enforcer.version>3.0.0-M3</enforcer.version>
1566 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1567 <!-- Location of test resources -->
1568 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1569 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1570 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1571 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1572 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1573 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1574 <build.id>${maven.build.timestamp}</build.id>
1575 <shell-executable>bash</shell-executable>
1576 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1577 property as of javadoc-plugin 3.0.0 -->
1578 <doclint>none</doclint>
1580 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1581 <dependencyManagement>
1584 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1585 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1586 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1587 implementation of the same, because Hadoop also uses this version
1588 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1589 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1591 <!-- Intra-module dependencies -->
1593 <groupId>org.apache.hbase</groupId>
1594 <artifactId>hbase-annotations</artifactId>
1595 <version>${project.version}</version>
1596 <type>test-jar</type>
1597 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1600 <groupId>org.apache.hbase</groupId>
1601 <artifactId>hbase-common</artifactId>
1602 <version>${project.version}</version>
1605 <groupId>org.apache.hbase</groupId>
1606 <artifactId>hbase-common</artifactId>
1607 <version>${project.version}</version>
1608 <type>test-jar</type>
1612 <groupId>org.apache.hbase</groupId>
1613 <artifactId>hbase-logging</artifactId>
1614 <version>${project.version}</version>
1617 <groupId>org.apache.hbase</groupId>
1618 <artifactId>hbase-logging</artifactId>
1619 <version>${project.version}</version>
1620 <type>test-jar</type>
1624 <groupId>org.apache.hbase</groupId>
1625 <artifactId>hbase-protocol-shaded</artifactId>
1626 <version>${project.version}</version>
1629 <groupId>org.apache.hbase</groupId>
1630 <artifactId>hbase-protocol</artifactId>
1631 <version>${project.version}</version>
1634 <groupId>org.apache.hbase</groupId>
1635 <artifactId>hbase-procedure</artifactId>
1636 <version>${project.version}</version>
1639 <groupId>org.apache.hbase</groupId>
1640 <artifactId>hbase-procedure</artifactId>
1641 <version>${project.version}</version>
1642 <type>test-jar</type>
1645 <groupId>org.apache.hbase</groupId>
1646 <artifactId>hbase-hadoop-compat</artifactId>
1647 <version>${project.version}</version>
1650 <groupId>org.apache.hbase</groupId>
1651 <artifactId>hbase-hadoop-compat</artifactId>
1652 <version>${project.version}</version>
1653 <type>test-jar</type>
1657 <groupId>org.apache.hbase</groupId>
1658 <artifactId>${compat.module}</artifactId>
1659 <version>${project.version}</version>
1662 <groupId>org.apache.hbase</groupId>
1663 <artifactId>${compat.module}</artifactId>
1664 <version>${project.version}</version>
1665 <type>test-jar</type>
1669 <artifactId>hbase-rsgroup</artifactId>
1670 <groupId>org.apache.hbase</groupId>
1671 <version>${project.version}</version>
1674 <artifactId>hbase-rsgroup</artifactId>
1675 <groupId>org.apache.hbase</groupId>
1676 <version>${project.version}</version>
1677 <type>test-jar</type>
1681 <artifactId>hbase-replication</artifactId>
1682 <groupId>org.apache.hbase</groupId>
1683 <version>${project.version}</version>
1686 <artifactId>hbase-http</artifactId>
1687 <groupId>org.apache.hbase</groupId>
1688 <version>${project.version}</version>
1691 <artifactId>hbase-http</artifactId>
1692 <groupId>org.apache.hbase</groupId>
1693 <version>${project.version}</version>
1694 <type>test-jar</type>
1698 <artifactId>hbase-server</artifactId>
1699 <groupId>org.apache.hbase</groupId>
1700 <version>${project.version}</version>
1703 <artifactId>hbase-server</artifactId>
1704 <groupId>org.apache.hbase</groupId>
1705 <version>${project.version}</version>
1706 <type>test-jar</type>
1710 <artifactId>hbase-mapreduce</artifactId>
1711 <groupId>org.apache.hbase</groupId>
1712 <version>${project.version}</version>
1715 <artifactId>hbase-mapreduce</artifactId>
1716 <groupId>org.apache.hbase</groupId>
1717 <version>${project.version}</version>
1718 <type>test-jar</type>
1722 <artifactId>hbase-endpoint</artifactId>
1723 <groupId>org.apache.hbase</groupId>
1724 <version>${project.version}</version>
1727 <artifactId>hbase-shell</artifactId>
1728 <groupId>org.apache.hbase</groupId>
1729 <version>${project.version}</version>
1732 <artifactId>hbase-shell</artifactId>
1733 <groupId>org.apache.hbase</groupId>
1734 <version>${project.version}</version>
1735 <type>test-jar</type>
1739 <artifactId>hbase-thrift</artifactId>
1740 <groupId>org.apache.hbase</groupId>
1741 <version>${project.version}</version>
1744 <artifactId>hbase-thrift</artifactId>
1745 <groupId>org.apache.hbase</groupId>
1746 <version>${project.version}</version>
1747 <type>test-jar</type>
1751 <groupId>org.apache.hbase</groupId>
1752 <artifactId>hbase-testing-util</artifactId>
1753 <version>${project.version}</version>
1757 <artifactId>hbase-examples</artifactId>
1758 <groupId>org.apache.hbase</groupId>
1759 <version>${project.version}</version>
1762 <groupId>org.apache.hbase</groupId>
1763 <artifactId>hbase-external-blockcache</artifactId>
1764 <version>${project.version}</version>
1767 <artifactId>hbase-it</artifactId>
1768 <groupId>org.apache.hbase</groupId>
1769 <version>${project.version}</version>
1770 <type>test-jar</type>
1774 <artifactId>hbase-client</artifactId>
1775 <groupId>org.apache.hbase</groupId>
1776 <version>${project.version}</version>
1779 <artifactId>hbase-metrics-api</artifactId>
1780 <groupId>org.apache.hbase</groupId>
1781 <version>${project.version}</version>
1784 <artifactId>hbase-metrics-api</artifactId>
1785 <groupId>org.apache.hbase</groupId>
1786 <version>${project.version}</version>
1787 <type>test-jar</type>
1791 <artifactId>hbase-metrics</artifactId>
1792 <groupId>org.apache.hbase</groupId>
1793 <version>${project.version}</version>
1796 <artifactId>hbase-metrics</artifactId>
1797 <groupId>org.apache.hbase</groupId>
1798 <version>${project.version}</version>
1799 <type>test-jar</type>
1803 <artifactId>hbase-rest</artifactId>
1804 <groupId>org.apache.hbase</groupId>
1805 <version>${project.version}</version>
1808 <artifactId>hbase-resource-bundle</artifactId>
1809 <groupId>org.apache.hbase</groupId>
1810 <version>${project.version}</version>
1813 <artifactId>hbase-zookeeper</artifactId>
1814 <groupId>org.apache.hbase</groupId>
1815 <version>${project.version}</version>
1818 <groupId>com.google.code.findbugs</groupId>
1819 <artifactId>jsr305</artifactId>
1822 <groupId>com.github.spotbugs</groupId>
1823 <artifactId>spotbugs-annotations</artifactId>
1828 <artifactId>hbase-zookeeper</artifactId>
1829 <groupId>org.apache.hbase</groupId>
1830 <version>${project.version}</version>
1831 <type>test-jar</type>
1835 <artifactId>hbase-hbtop</artifactId>
1836 <groupId>org.apache.hbase</groupId>
1837 <version>${project.version}</version>
1840 <groupId>org.apache.hbase</groupId>
1841 <artifactId>hbase-shaded-client</artifactId>
1842 <version>${project.version}</version>
1845 <groupId>org.apache.hbase</groupId>
1846 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1847 <version>${project.version}</version>
1850 <groupId>org.apache.hbase</groupId>
1851 <artifactId>hbase-shaded-mapreduce</artifactId>
1852 <version>${project.version}</version>
1855 <groupId>org.apache.hbase</groupId>
1856 <artifactId>hbase-asyncfs</artifactId>
1857 <version>${project.version}</version>
1860 <groupId>org.apache.hbase</groupId>
1861 <artifactId>hbase-asyncfs</artifactId>
1862 <version>${project.version}</version>
1863 <type>test-jar</type>
1866 <!-- General dependencies -->
1868 <groupId>com.github.stephenc.findbugs</groupId>
1869 <artifactId>findbugs-annotations</artifactId>
1870 <version>${findbugs-annotations.version}</version>
1873 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1874 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1875 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1876 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1877 scope as it will mess up the logging framework for downstream users.
1878 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1879 on use these logging framework so we need to redirect their log message to slf4j, and then
1880 redirect the log message to our log4j framework.
1883 <groupId>org.codehaus.jettison</groupId>
1884 <artifactId>jettison</artifactId>
1885 <version>${jettison.version}</version>
1888 <groupId>org.slf4j</groupId>
1889 <artifactId>slf4j-api</artifactId>
1890 <version>${slf4j.version}</version>
1893 <groupId>org.slf4j</groupId>
1894 <artifactId>slf4j-log4j12</artifactId>
1895 <version>${slf4j.version}</version>
1898 <groupId>org.slf4j</groupId>
1899 <artifactId>jcl-over-slf4j</artifactId>
1900 <version>${slf4j.version}</version>
1903 <groupId>org.slf4j</groupId>
1904 <artifactId>jul-to-slf4j</artifactId>
1905 <version>${slf4j.version}</version>
1908 <groupId>log4j</groupId>
1909 <artifactId>log4j</artifactId>
1910 <version>${log4j.version}</version>
1912 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1914 <groupId>org.apache.avro</groupId>
1915 <artifactId>avro</artifactId>
1916 <version>${avro.version}</version>
1918 <!--This is not used by hbase directly. Used by thrift,
1919 dropwizard and zk.-->
1921 <groupId>com.github.ben-manes.caffeine</groupId>
1922 <artifactId>caffeine</artifactId>
1923 <version>${caffeine.version}</version>
1926 <groupId>io.dropwizard.metrics</groupId>
1927 <artifactId>metrics-core</artifactId>
1928 <version>${metrics-core.version}</version>
1931 <groupId>org.apache.httpcomponents</groupId>
1932 <artifactId>httpclient</artifactId>
1933 <version>${httpclient.version}</version>
1936 <groupId>org.apache.httpcomponents</groupId>
1937 <artifactId>httpcore</artifactId>
1938 <version>${httpcore.version}</version>
1941 <groupId>commons-codec</groupId>
1942 <artifactId>commons-codec</artifactId>
1943 <version>${commons-codec.version}</version>
1946 <groupId>commons-io</groupId>
1947 <artifactId>commons-io</artifactId>
1948 <version>${commons-io.version}</version>
1951 <groupId>org.apache.commons</groupId>
1952 <artifactId>commons-lang3</artifactId>
1953 <version>${commons-lang3.version}</version>
1956 <groupId>org.apache.commons</groupId>
1957 <artifactId>commons-math3</artifactId>
1958 <version>${commons-math.version}</version>
1961 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1964 <groupId>commons-logging</groupId>
1965 <artifactId>commons-logging</artifactId>
1966 <version>1.2</version>
1969 <groupId>org.apache.zookeeper</groupId>
1970 <artifactId>zookeeper</artifactId>
1971 <version>${zookeeper.version}</version>
1974 <groupId>com.google.code.findbugs</groupId>
1975 <artifactId>jsr305</artifactId>
1978 <groupId>com.github.spotbugs</groupId>
1979 <artifactId>spotbugs-annotations</artifactId>
1982 <groupId>jline</groupId>
1983 <artifactId>jline</artifactId>
1986 <groupId>com.sun.jmx</groupId>
1987 <artifactId>jmxri</artifactId>
1990 <groupId>com.sun.jdmk</groupId>
1991 <artifactId>jmxtools</artifactId>
1994 <groupId>javax.jms</groupId>
1995 <artifactId>jms</artifactId>
1998 <groupId>io.netty</groupId>
1999 <artifactId>netty</artifactId>
2002 <groupId>org.slf4j</groupId>
2003 <artifactId>slf4j-log4j12</artifactId>
2006 <groupId>log4j</groupId>
2007 <artifactId>log4j</artifactId>
2012 <groupId>jline</groupId>
2013 <artifactId>jline</artifactId>
2014 <version>${jline.version}</version>
2017 <groupId>org.apache.thrift</groupId>
2018 <artifactId>libthrift</artifactId>
2019 <version>${thrift.version}</version>
2022 <groupId>org.slf4j</groupId>
2023 <artifactId>slf4j-simple</artifactId>
2028 <groupId>org.jruby</groupId>
2029 <artifactId>jruby-complete</artifactId>
2030 <version>${jruby.version}</version>
2033 <groupId>org.jruby.jcodings</groupId>
2034 <artifactId>jcodings</artifactId>
2035 <version>${jcodings.version}</version>
2038 <groupId>org.jruby.joni</groupId>
2039 <artifactId>joni</artifactId>
2040 <version>${joni.version}</version>
2043 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2044 <artifactId>jackson-jaxrs-json-provider</artifactId>
2045 <version>${jackson.version}</version>
2048 <groupId>com.fasterxml.jackson.core</groupId>
2049 <artifactId>jackson-annotations</artifactId>
2050 <version>${jackson.version}</version>
2053 <groupId>com.fasterxml.jackson.core</groupId>
2054 <artifactId>jackson-core</artifactId>
2055 <version>${jackson.version}</version>
2058 <groupId>com.fasterxml.jackson.core</groupId>
2059 <artifactId>jackson-databind</artifactId>
2060 <version>${jackson.databind.version}</version>
2063 <groupId>org.jamon</groupId>
2064 <artifactId>jamon-runtime</artifactId>
2065 <version>${jamon-runtime.version}</version>
2067 <!-- REST dependencies -->
2069 <groupId>javax.servlet</groupId>
2070 <artifactId>javax.servlet-api</artifactId>
2071 <version>${servlet.api.version}</version>
2074 <groupId>javax.ws.rs</groupId>
2075 <artifactId>javax.ws.rs-api</artifactId>
2076 <version>${wx.rs.api.version}</version>
2079 <groupId>com.sun.activation</groupId>
2080 <artifactId>javax.activation</artifactId>
2081 <version>1.2.0</version>
2084 <groupId>javax.annotation</groupId>
2085 <artifactId>javax.annotation-api</artifactId>
2086 <version>1.2</version>
2089 <groupId>com.google.protobuf</groupId>
2090 <artifactId>protobuf-java</artifactId>
2091 <version>${external.protobuf.version}</version>
2094 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2095 <groupId>org.glassfish.web</groupId>
2096 <artifactId>javax.servlet.jsp</artifactId>
2097 <version>${glassfish.jsp.version}</version>
2100 <!-- this lib is used by the compiled Jsp from the above JspC -->
2101 <groupId>javax.servlet.jsp</groupId>
2102 <artifactId>javax.servlet.jsp-api</artifactId>
2103 <version>2.3.1</version>
2106 <groupId>org.glassfish</groupId>
2107 <artifactId>javax.el</artifactId>
2108 <version>${glassfish.el.version}</version>
2111 <groupId>javax.xml.bind</groupId>
2112 <artifactId>jaxb-api</artifactId>
2113 <version>${jaxb-api.version}</version>
2116 <groupId>javax.xml.stream</groupId>
2117 <artifactId>stax-api</artifactId>
2122 <groupId>junit</groupId>
2123 <artifactId>junit</artifactId>
2124 <version>${junit.version}</version>
2127 <groupId>org.hamcrest</groupId>
2128 <artifactId>hamcrest-core</artifactId>
2129 <version>${hamcrest.version}</version>
2132 <groupId>org.hamcrest</groupId>
2133 <artifactId>hamcrest-library</artifactId>
2134 <version>${hamcrest.version}</version>
2137 <groupId>org.mockito</groupId>
2138 <artifactId>mockito-core</artifactId>
2139 <version>${mockito-core.version}</version>
2143 <groupId>org.apache.htrace</groupId>
2144 <artifactId>htrace-core4</artifactId>
2145 <version>${htrace.version}</version>
2148 <groupId>com.lmax</groupId>
2149 <artifactId>disruptor</artifactId>
2150 <version>${disruptor.version}</version>
2153 <groupId>net.spy</groupId>
2154 <artifactId>spymemcached</artifactId>
2155 <version>${spy.version}</version>
2156 <optional>true</optional>
2159 <groupId>org.bouncycastle</groupId>
2160 <artifactId>bcprov-jdk15on</artifactId>
2161 <version>${bouncycastle.version}</version>
2165 <groupId>org.apache.kerby</groupId>
2166 <artifactId>kerb-core</artifactId>
2167 <version>${kerby.version}</version>
2170 <groupId>org.apache.kerby</groupId>
2171 <artifactId>kerb-client</artifactId>
2172 <version>${kerby.version}</version>
2175 <groupId>org.apache.kerby</groupId>
2176 <artifactId>kerb-simplekdc</artifactId>
2177 <version>${kerby.version}</version>
2180 <groupId>org.apache.commons</groupId>
2181 <artifactId>commons-crypto</artifactId>
2182 <version>${commons-crypto.version}</version>
2185 <groupId>net.java.dev.jna</groupId>
2186 <artifactId>jna</artifactId>
2191 <groupId>org.apache.curator</groupId>
2192 <artifactId>curator-framework</artifactId>
2193 <version>${curator.version}</version>
2196 <groupId>org.apache.zookeeper</groupId>
2197 <artifactId>zookeeper</artifactId>
2202 <groupId>org.apache.curator</groupId>
2203 <artifactId>curator-client</artifactId>
2204 <version>${curator.version}</version>
2207 <groupId>com.google.guava</groupId>
2208 <artifactId>guava</artifactId>
2211 <groupId>org.apache.zookeeper</groupId>
2212 <artifactId>zookeeper</artifactId>
2217 <groupId>org.apache.curator</groupId>
2218 <artifactId>curator-recipes</artifactId>
2219 <version>${curator.version}</version>
2222 <groupId>com.google.guava</groupId>
2223 <artifactId>guava</artifactId>
2226 <groupId>org.apache.zookeeper</groupId>
2227 <artifactId>zookeeper</artifactId>
2232 <groupId>org.apache.yetus</groupId>
2233 <artifactId>audience-annotations</artifactId>
2234 <version>${audience-annotations.version}</version>
2237 <groupId>org.apache.hbase.thirdparty</groupId>
2238 <artifactId>hbase-shaded-gson</artifactId>
2239 <version>${hbase-thirdparty.version}</version>
2242 <groupId>org.apache.hbase.thirdparty</groupId>
2243 <artifactId>hbase-shaded-miscellaneous</artifactId>
2244 <version>${hbase-thirdparty.version}</version>
2247 <groupId>org.apache.hbase.thirdparty</groupId>
2248 <artifactId>hbase-shaded-netty</artifactId>
2249 <version>${hbase-thirdparty.version}</version>
2252 <groupId>org.apache.hbase.thirdparty</groupId>
2253 <artifactId>hbase-shaded-protobuf</artifactId>
2254 <version>${hbase-thirdparty.version}</version>
2257 <groupId>org.apache.hbase.thirdparty</groupId>
2258 <artifactId>hbase-shaded-jetty</artifactId>
2259 <version>${hbase-thirdparty.version}</version>
2262 <groupId>org.apache.hbase.thirdparty</groupId>
2263 <artifactId>hbase-shaded-jersey</artifactId>
2264 <version>${hbase-thirdparty.version}</version>
2267 <groupId>com.sun.xml.ws</groupId>
2268 <artifactId>jaxws-ri</artifactId>
2269 <version>2.3.2</version>
2273 <groupId>javax.activation</groupId>
2274 <artifactId>javax.activation-api</artifactId>
2279 </dependencyManagement>
2281 <!--REMOVE THIS. HERE TEMPORARILY.
2282 Implication is that every module needs junit which is not so.
2283 Cannot undo though because build runs test on each module and
2284 it fails if no junit. TODO. -->
2286 <groupId>junit</groupId>
2287 <artifactId>junit</artifactId>
2293 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2298 <id>apache.releases.https</id>
2299 <username>hbase_committer</username>
2300 <password>********</password>
2304 <id>apache.snapshots.https</id>
2305 <username>hbase_committer</username>
2306 <password>********</password>
2314 $ mvn -s /my/path/settings.xml deploy
2322 <name>!skip-rsgroup</name>
2326 <module>hbase-rsgroup</module>
2330 <id>build-with-jdk8</id>
2342 <id>build-with-jdk11</id>
2347 <!-- TODO: replicate logic for windows support -->
2348 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2349 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2350 <hadoop-three.version>3.2.0</hadoop-three.version>
2352 Value to use for surefire when running jdk11.
2353 TODO: replicate logic for windows
2355 <surefire.Xmx>2200m</surefire.Xmx>
2360 <groupId>org.apache.maven.plugins</groupId>
2361 <artifactId>maven-enforcer-plugin</artifactId>
2364 <id>hadoop3-profile-required</id>
2366 <goal>enforce</goal>
2372 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2373 enforcer plugin does not see active profiles on sub-modules, so enforce based
2374 on the presence of the activation property and value.
2376 <property>hadoop.profile</property>
2377 <regex>.*3\.0$</regex>
2379 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2382 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2393 <!-- profile activated by the Jenkins patch testing job -->
2395 <id>jenkins.patch</id>
2397 <activeByDefault>false</activeByDefault>
2399 <name>HBasePatchProcess</name>
2403 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2408 <groupId>org.apache.maven.plugins</groupId>
2409 <artifactId>maven-antrun-plugin</artifactId>
2410 <inherited>false</inherited>
2413 <phase>validate</phase>
2419 <echo>Maven Execution Environment</echo>
2420 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2432 <activeByDefault>false</activeByDefault>
2437 <groupId>org.jacoco</groupId>
2438 <artifactId>jacoco-maven-plugin</artifactId>
2439 <version>${jacoco.version}</version>
2442 <id>prepare-agent</id>
2444 <goal>prepare-agent</goal>
2449 <phase>prepare-package</phase>
2456 <systemPropertyVariables>
2457 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2458 </systemPropertyVariables>
2460 <exclude>**/generated/**/*.class</exclude>
2470 <activeByDefault>false</activeByDefault>
2472 <family>Linux</family>
2476 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2483 <family>Mac</family>
2487 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2494 <family>Windows</family>
2498 <build.platform>cygwin</build.platform>
2499 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2502 <!-- this profile should match the name of the release profile in the root asf pom -->
2504 <id>apache-release</id>
2507 <!-- This should insert itself in place of the normal deploy plugin and then
2508 handle either closing or dropping the staging repository for us depending
2509 on if the build succeeds.
2512 <groupId>org.sonatype.plugins</groupId>
2513 <artifactId>nexus-staging-maven-plugin</artifactId>
2514 <version>1.6.8</version>
2515 <extensions>true</extensions>
2517 <nexusUrl>https://repository.apache.org/</nexusUrl>
2518 <serverId>apache.releases.https</serverId>
2524 <!-- this profile should be activated for release builds -->
2530 <groupId>org.apache.rat</groupId>
2531 <artifactId>apache-rat-plugin</artifactId>
2534 <phase>package</phase>
2542 <groupId>org.apache.maven.plugins</groupId>
2543 <artifactId>maven-enforcer-plugin</artifactId>
2544 <version>${enforcer.version}</version>
2547 <groupId>org.codehaus.mojo</groupId>
2548 <artifactId>extra-enforcer-rules</artifactId>
2549 <version>${extra.enforcer.version}</version>
2554 <enforceBytecodeVersion>
2555 <maxJdkVersion>${compileSource}</maxJdkVersion>
2556 <message>HBase has unsupported dependencies.
2557 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2558 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2559 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2560 Non-release builds can temporarily build with a newer JDK version by setting the
2561 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2564 <ignoreClass>module-info</ignoreClass>
2566 </enforceBytecodeVersion>
2573 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2574 <!-- Submodules that need hadoop dependencies should declare
2575 profiles with activation properties matching the profile here.
2576 Generally, it should be sufficient to copy the first
2577 few lines of the profile you want to match. -->
2578 <!-- profile for building against Hadoop 2.0.x
2579 This is the default.
2585 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2586 <!--h2--><name>!hadoop.profile</name>
2590 <module>hbase-hadoop2-compat</module>
2593 <hadoop.version>${hadoop-two.version}</hadoop.version>
2594 <compat.module>hbase-hadoop2-compat</compat.module>
2595 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2596 <!--This property is for hadoops netty. HBase netty
2597 comes in via hbase-thirdparty hbase-shaded-netty-->
2598 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2600 <dependencyManagement>
2603 <groupId>org.apache.hadoop</groupId>
2604 <artifactId>hadoop-mapreduce-client-core</artifactId>
2605 <version>${hadoop-two.version}</version>
2608 <groupId>com.sun.jersey</groupId>
2609 <artifactId>jersey-core</artifactId>
2612 <groupId>org.codehaus.jackson</groupId>
2613 <artifactId>jackson-jaxrs</artifactId>
2616 <groupId>org.codehaus.jackson</groupId>
2617 <artifactId>jackson-xc</artifactId>
2620 <groupId>io.netty</groupId>
2621 <artifactId>netty</artifactId>
2624 <groupId>javax.servlet</groupId>
2625 <artifactId>servlet-api</artifactId>
2628 <groupId>javax.inject</groupId>
2629 <artifactId>javax.inject</artifactId>
2632 <groupId>org.codehaus.jackson</groupId>
2633 <artifactId>jackson-core-asl</artifactId>
2636 <groupId>org.codehaus.jackson</groupId>
2637 <artifactId>jackson-mapper-asl</artifactId>
2642 <groupId>org.apache.hadoop</groupId>
2643 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2644 <version>${hadoop-two.version}</version>
2647 <groupId>com.sun.jersey</groupId>
2648 <artifactId>jersey-core</artifactId>
2651 <groupId>io.netty</groupId>
2652 <artifactId>netty</artifactId>
2655 <groupId>javax.servlet</groupId>
2656 <artifactId>servlet-api</artifactId>
2661 <groupId>org.apache.hadoop</groupId>
2662 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2663 <version>${hadoop-two.version}</version>
2664 <type>test-jar</type>
2668 <groupId>com.sun.jersey</groupId>
2669 <artifactId>jersey-core</artifactId>
2672 <groupId>io.netty</groupId>
2673 <artifactId>netty</artifactId>
2676 <groupId>javax.servlet</groupId>
2677 <artifactId>servlet-api</artifactId>
2682 <groupId>org.apache.hadoop</groupId>
2683 <artifactId>hadoop-hdfs</artifactId>
2684 <version>${hadoop-two.version}</version>
2687 <groupId>com.sun.jersey</groupId>
2688 <artifactId>jersey-core</artifactId>
2691 <groupId>javax.servlet.jsp</groupId>
2692 <artifactId>jsp-api</artifactId>
2695 <groupId>javax.servlet</groupId>
2696 <artifactId>servlet-api</artifactId>
2699 <groupId>io.netty</groupId>
2700 <artifactId>netty</artifactId>
2703 <groupId>stax</groupId>
2704 <artifactId>stax-api</artifactId>
2707 <groupId>xerces</groupId>
2708 <artifactId>xercesImpl</artifactId>
2711 <groupId>org.codehaus.jackson</groupId>
2712 <artifactId>jackson-core-asl</artifactId>
2715 <groupId>org.codehaus.jackson</groupId>
2716 <artifactId>jackson-mapper-asl</artifactId>
2719 <groupId>com.google.guava</groupId>
2720 <artifactId>guava</artifactId>
2725 <groupId>org.apache.hadoop</groupId>
2726 <artifactId>hadoop-hdfs</artifactId>
2727 <version>${hadoop-two.version}</version>
2728 <type>test-jar</type>
2732 <groupId>javax.servlet.jsp</groupId>
2733 <artifactId>jsp-api</artifactId>
2736 <groupId>javax.servlet</groupId>
2737 <artifactId>servlet-api</artifactId>
2740 <groupId>io.netty</groupId>
2741 <artifactId>netty</artifactId>
2744 <groupId>stax</groupId>
2745 <artifactId>stax-api</artifactId>
2748 <groupId>xerces</groupId>
2749 <artifactId>xercesImpl</artifactId>
2752 <groupId>org.codehaus.jackson</groupId>
2753 <artifactId>jackson-core-asl</artifactId>
2756 <groupId>org.codehaus.jackson</groupId>
2757 <artifactId>jackson-mapper-asl</artifactId>
2760 <groupId>com.google.guava</groupId>
2761 <artifactId>guava</artifactId>
2764 <groupId>com.sun.jersey</groupId>
2765 <artifactId>jersey-core</artifactId>
2770 <groupId>org.apache.hadoop</groupId>
2771 <artifactId>hadoop-auth</artifactId>
2772 <version>${hadoop-two.version}</version>
2775 <groupId>com.google.guava</groupId>
2776 <artifactId>guava</artifactId>
2779 <groupId>net.minidev</groupId>
2780 <artifactId>json-smart</artifactId>
2785 <groupId>org.apache.hadoop</groupId>
2786 <artifactId>hadoop-common</artifactId>
2787 <version>${hadoop-two.version}</version>
2790 <groupId>com.sun.jersey</groupId>
2791 <artifactId>jersey-core</artifactId>
2794 <groupId>org.codehaus.jackson</groupId>
2795 <artifactId>jackson-jaxrs</artifactId>
2798 <groupId>org.codehaus.jackson</groupId>
2799 <artifactId>jackson-xc</artifactId>
2802 <groupId>commons-beanutils</groupId>
2803 <artifactId>commons-beanutils</artifactId>
2806 <groupId>javax.servlet.jsp</groupId>
2807 <artifactId>jsp-api</artifactId>
2810 <groupId>javax.servlet</groupId>
2811 <artifactId>servlet-api</artifactId>
2814 <groupId>stax</groupId>
2815 <artifactId>stax-api</artifactId>
2818 <groupId>io.netty</groupId>
2819 <artifactId>netty</artifactId>
2822 <groupId>com.google.code.findbugs</groupId>
2823 <artifactId>jsr305</artifactId>
2826 <groupId>junit</groupId>
2827 <artifactId>junit</artifactId>
2830 <groupId>org.codehaus.jackson</groupId>
2831 <artifactId>jackson-core-asl</artifactId>
2834 <groupId>org.codehaus.jackson</groupId>
2835 <artifactId>jackson-mapper-asl</artifactId>
2840 <groupId>org.apache.hadoop</groupId>
2841 <artifactId>hadoop-common</artifactId>
2842 <version>${hadoop-two.version}</version>
2843 <type>test-jar</type>
2847 <groupId>com.sun.jersey</groupId>
2848 <artifactId>jersey-core</artifactId>
2851 <groupId>com.google.code.findbugs</groupId>
2852 <artifactId>jsr305</artifactId>
2855 <groupId>org.codehaus.jackson</groupId>
2856 <artifactId>jackson-jaxrs</artifactId>
2859 <groupId>org.codehaus.jackson</groupId>
2860 <artifactId>jackson-xc</artifactId>
2866 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2867 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2869 <groupId>javax.activation</groupId>
2870 <artifactId>javax.activation-api</artifactId>
2871 <version>1.2.0</version>
2875 <groupId>org.apache.hadoop</groupId>
2876 <artifactId>hadoop-client</artifactId>
2877 <version>${hadoop-two.version}</version>
2879 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2880 Where do we actually need it? -->
2882 <groupId>org.apache.hadoop</groupId>
2883 <artifactId>hadoop-minicluster</artifactId>
2884 <version>${hadoop-two.version}</version>
2886 <!--If we comment this in, a few tests in hbase-mapreduce
2887 fail. They depend on jersey-core somehow. But excluding
2888 jersey-core here messes up hbase-it because jersey-core
2889 implements a 1.x jaxrs Response Interface when we depend
2890 on the 2.x Interface... . Letting this jar come in
2891 transitively here but will exclude it down in hbase-it.
2894 <groupId>com.sun.jersey</groupId>
2895 <artifactId>jersey-core</artifactId>
2899 <groupId>commons-httpclient</groupId>
2900 <artifactId>commons-httpclient</artifactId>
2903 <groupId>javax.servlet.jsp</groupId>
2904 <artifactId>jsp-api</artifactId>
2907 <groupId>javax.servlet</groupId>
2908 <artifactId>servlet-api</artifactId>
2911 <groupId>stax</groupId>
2912 <artifactId>stax-api</artifactId>
2915 <groupId>io.netty</groupId>
2916 <artifactId>netty</artifactId>
2919 <groupId>com.google.code.findbugs</groupId>
2920 <artifactId>jsr305</artifactId>
2925 <groupId>org.apache.hadoop</groupId>
2926 <artifactId>hadoop-minikdc</artifactId>
2927 <version>${hadoop-two.version}</version>
2931 <groupId>org.apache.hadoop</groupId>
2932 <artifactId>hadoop-annotations</artifactId>
2933 <version>${hadoop-two.version}</version>
2937 <groupId>org.apache.hadoop</groupId>
2938 <artifactId>hadoop-distcp</artifactId>
2939 <version>${hadoop-two.version}</version>
2943 <groupId>org.apache.hadoop</groupId>
2944 <artifactId>hadoop-hdfs-client</artifactId>
2945 <version>${hadoop-two.version}</version>
2948 </dependencyManagement>
2951 profile for building against Hadoop 3.0.0. Activate using:
2952 mvn -Dhadoop.profile=3.0
2958 <name>hadoop.profile</name>
2963 <!--For now, use hadoop2 compat module-->
2964 <module>hbase-hadoop2-compat</module>
2967 <hadoop.profile>3.0</hadoop.profile>
2968 <hadoop.version>${hadoop-three.version}</hadoop.version>
2969 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2970 <compat.module>hbase-hadoop2-compat</compat.module>
2971 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2972 <!--This property is for hadoops netty. HBase netty
2973 comes in via hbase-thirdparty hbase-shaded-netty-->
2974 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2976 <dependencyManagement>
2979 <groupId>org.apache.hadoop</groupId>
2980 <artifactId>hadoop-mapreduce-client-core</artifactId>
2981 <version>${hadoop-three.version}</version>
2984 <groupId>com.sun.jersey</groupId>
2985 <artifactId>jersey-core</artifactId>
2988 <groupId>org.codehaus.jackson</groupId>
2989 <artifactId>jackson-jaxrs</artifactId>
2992 <groupId>org.codehaus.jackson</groupId>
2993 <artifactId>jackson-xc</artifactId>
2996 <groupId>io.netty</groupId>
2997 <artifactId>netty</artifactId>
3000 <groupId>javax.servlet</groupId>
3001 <artifactId>servlet-api</artifactId>
3004 <groupId>javax.inject</groupId>
3005 <artifactId>javax.inject</artifactId>
3008 <groupId>org.codehaus.jackson</groupId>
3009 <artifactId>jackson-core-asl</artifactId>
3012 <groupId>org.codehaus.jackson</groupId>
3013 <artifactId>jackson-mapper-asl</artifactId>
3016 <groupId>com.google.guava</groupId>
3017 <artifactId>guava</artifactId>
3020 <groupId>org.slf4j</groupId>
3021 <artifactId>slf4j-log4j12</artifactId>
3024 <groupId>log4j</groupId>
3025 <artifactId>log4j</artifactId>
3030 <groupId>org.apache.hadoop</groupId>
3031 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3032 <version>${hadoop-three.version}</version>
3035 <groupId>com.sun.jersey</groupId>
3036 <artifactId>jersey-core</artifactId>
3039 <groupId>io.netty</groupId>
3040 <artifactId>netty</artifactId>
3043 <groupId>javax.servlet</groupId>
3044 <artifactId>servlet-api</artifactId>
3047 <groupId>org.slf4j</groupId>
3048 <artifactId>slf4j-log4j12</artifactId>
3051 <groupId>log4j</groupId>
3052 <artifactId>log4j</artifactId>
3057 <groupId>org.apache.hadoop</groupId>
3058 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3059 <version>${hadoop-three.version}</version>
3060 <type>test-jar</type>
3064 <groupId>com.sun.jersey</groupId>
3065 <artifactId>jersey-core</artifactId>
3068 <groupId>io.netty</groupId>
3069 <artifactId>netty</artifactId>
3072 <groupId>javax.servlet</groupId>
3073 <artifactId>servlet-api</artifactId>
3076 <groupId>org.slf4j</groupId>
3077 <artifactId>slf4j-log4j12</artifactId>
3080 <groupId>log4j</groupId>
3081 <artifactId>log4j</artifactId>
3086 <groupId>org.apache.hadoop</groupId>
3087 <artifactId>hadoop-hdfs</artifactId>
3088 <version>${hadoop-three.version}</version>
3091 <groupId>com.sun.jersey</groupId>
3092 <artifactId>jersey-core</artifactId>
3095 <groupId>com.sun.jersey</groupId>
3096 <artifactId>jersey-server</artifactId>
3099 <groupId>javax.servlet.jsp</groupId>
3100 <artifactId>jsp-api</artifactId>
3103 <groupId>javax.servlet</groupId>
3104 <artifactId>servlet-api</artifactId>
3107 <groupId>stax</groupId>
3108 <artifactId>stax-api</artifactId>
3111 <groupId>xerces</groupId>
3112 <artifactId>xercesImpl</artifactId>
3115 <groupId>org.codehaus.jackson</groupId>
3116 <artifactId>jackson-core-asl</artifactId>
3119 <groupId>org.codehaus.jackson</groupId>
3120 <artifactId>jackson-mapper-asl</artifactId>
3123 <groupId>com.google.guava</groupId>
3124 <artifactId>guava</artifactId>
3127 <groupId>org.slf4j</groupId>
3128 <artifactId>slf4j-log4j12</artifactId>
3131 <groupId>log4j</groupId>
3132 <artifactId>log4j</artifactId>
3137 <groupId>org.apache.hadoop</groupId>
3138 <artifactId>hadoop-hdfs</artifactId>
3139 <version>${hadoop-three.version}</version>
3140 <type>test-jar</type>
3144 <groupId>javax.servlet.jsp</groupId>
3145 <artifactId>jsp-api</artifactId>
3148 <groupId>javax.servlet</groupId>
3149 <artifactId>servlet-api</artifactId>
3152 <groupId>stax</groupId>
3153 <artifactId>stax-api</artifactId>
3156 <groupId>xerces</groupId>
3157 <artifactId>xercesImpl</artifactId>
3160 <groupId>org.codehaus.jackson</groupId>
3161 <artifactId>jackson-core-asl</artifactId>
3164 <groupId>org.codehaus.jackson</groupId>
3165 <artifactId>jackson-mapper-asl</artifactId>
3168 <groupId>com.google.guava</groupId>
3169 <artifactId>guava</artifactId>
3172 <groupId>com.sun.jersey</groupId>
3173 <artifactId>jersey-core</artifactId>
3176 <groupId>org.slf4j</groupId>
3177 <artifactId>slf4j-log4j12</artifactId>
3180 <groupId>log4j</groupId>
3181 <artifactId>log4j</artifactId>
3186 <groupId>org.apache.hadoop</groupId>
3187 <artifactId>hadoop-hdfs</artifactId>
3188 <version>${hadoop-three.version}</version>
3189 <type>test-jar</type>
3190 <classifier>tests</classifier>
3194 <groupId>com.sun.jersey</groupId>
3195 <artifactId>jersey-core</artifactId>
3200 <groupId>org.apache.hadoop</groupId>
3201 <artifactId>hadoop-auth</artifactId>
3202 <version>${hadoop-three.version}</version>
3205 <groupId>com.google.guava</groupId>
3206 <artifactId>guava</artifactId>
3209 <groupId>net.minidev</groupId>
3210 <artifactId>json-smart</artifactId>
3213 <groupId>org.slf4j</groupId>
3214 <artifactId>slf4j-log4j12</artifactId>
3217 <groupId>log4j</groupId>
3218 <artifactId>log4j</artifactId>
3223 <groupId>org.apache.hadoop</groupId>
3224 <artifactId>hadoop-common</artifactId>
3225 <version>${hadoop-three.version}</version>
3228 <groupId>com.sun.jersey</groupId>
3229 <artifactId>jersey-core</artifactId>
3232 <groupId>com.sun.jersey</groupId>
3233 <artifactId>jersey-json</artifactId>
3236 <groupId>com.sun.jersey</groupId>
3237 <artifactId>jersey-servlet</artifactId>
3240 <groupId>com.sun.jersey</groupId>
3241 <artifactId>jersey-server</artifactId>
3244 <groupId>javax.servlet.jsp</groupId>
3245 <artifactId>jsp-api</artifactId>
3248 <groupId>javax.servlet</groupId>
3249 <artifactId>javax.servlet-api</artifactId>
3252 <groupId>stax</groupId>
3253 <artifactId>stax-api</artifactId>
3256 <groupId>io.netty</groupId>
3257 <artifactId>netty</artifactId>
3260 <groupId>com.google.code.findbugs</groupId>
3261 <artifactId>jsr305</artifactId>
3264 <groupId>junit</groupId>
3265 <artifactId>junit</artifactId>
3268 <groupId>org.codehause.jackson</groupId>
3269 <artifactId>jackson-core-asl</artifactId>
3272 <groupId>org.codehause.jackson</groupId>
3273 <artifactId>jackson-mapper-asl</artifactId>
3276 <groupId>org.slf4j</groupId>
3277 <artifactId>slf4j-log4j12</artifactId>
3280 <groupId>log4j</groupId>
3281 <artifactId>log4j</artifactId>
3287 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3289 <groupId>javax.activation</groupId>
3290 <artifactId>javax.activation-api</artifactId>
3291 <version>1.2.0</version>
3295 <groupId>org.apache.hadoop</groupId>
3296 <artifactId>hadoop-common</artifactId>
3297 <type>test-jar</type>
3298 <classifier>tests</classifier>
3299 <version>${hadoop-three.version}</version>
3302 <groupId>com.sun.jersey</groupId>
3303 <artifactId>jersey-core</artifactId>
3306 <groupId>com.google.code.findbugs</groupId>
3307 <artifactId>jsr305</artifactId>
3312 <groupId>org.apache.hadoop</groupId>
3313 <artifactId>hadoop-client</artifactId>
3314 <version>${hadoop-three.version}</version>
3317 <groupId>org.apache.hadoop</groupId>
3318 <artifactId>hadoop-annotations</artifactId>
3319 <version>${hadoop-three.version}</version>
3321 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3322 Where do we actually need it? -->
3324 <groupId>org.apache.hadoop</groupId>
3325 <artifactId>hadoop-minicluster</artifactId>
3326 <version>${hadoop-three.version}</version>
3328 <!--If we comment this in, a few tests in hbase-mapreduce
3329 fail. They depend on jersey-core somehow. But excluding
3330 jersey-core here messes up hbase-it because jersey-core
3331 implements a 1.x jaxrs Response Interface when we depend
3332 on the 2.x Interface... . Letting this jar come in
3333 transitively here but will exclude it down in hbase-it.
3336 <groupId>com.sun.jersey</groupId>
3337 <artifactId>jersey-core</artifactId>
3341 <groupId>commons-httpclient</groupId>
3342 <artifactId>commons-httpclient</artifactId>
3345 <groupId>javax.servlet.jsp</groupId>
3346 <artifactId>jsp-api</artifactId>
3349 <groupId>javax.servlet</groupId>
3350 <artifactId>servlet-api</artifactId>
3353 <groupId>stax</groupId>
3354 <artifactId>stax-api</artifactId>
3357 <groupId>io.netty</groupId>
3358 <artifactId>netty</artifactId>
3361 <groupId>com.google.code.findbugs</groupId>
3362 <artifactId>jsr305</artifactId>
3365 <groupId>org.slf4j</groupId>
3366 <artifactId>slf4j-log4j12</artifactId>
3369 <groupId>log4j</groupId>
3370 <artifactId>log4j</artifactId>
3375 <groupId>org.apache.hadoop</groupId>
3376 <artifactId>hadoop-minikdc</artifactId>
3377 <version>${hadoop-three.version}</version>
3381 <groupId>org.slf4j</groupId>
3382 <artifactId>slf4j-log4j12</artifactId>
3385 <groupId>log4j</groupId>
3386 <artifactId>log4j</artifactId>
3391 <groupId>org.apache.hadoop</groupId>
3392 <artifactId>hadoop-distcp</artifactId>
3393 <version>${hadoop-three.version}</version>
3397 <groupId>org.apache.hadoop</groupId>
3398 <artifactId>hadoop-hdfs-client</artifactId>
3399 <version>${hadoop-three.version}</version>
3402 </dependencyManagement>
3405 <!-- profiles for the tests
3406 See as well the properties of the project for the values
3407 when no profile is active. -->
3409 <!-- Use it to launch all tests in the same JVM -->
3410 <id>singleJVMTests</id>
3412 <activeByDefault>false</activeByDefault>
3415 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3416 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3417 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3418 <surefire.firstPartGroups/>
3422 <!-- Use it to launch small tests only -->
3423 <id>runSmallTests</id>
3425 <activeByDefault>false</activeByDefault>
3428 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3429 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3430 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3431 <surefire.secondPartGroups/>
3435 <!-- Use it to launch medium tests only -->
3436 <id>runMediumTests</id>
3438 <activeByDefault>false</activeByDefault>
3441 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3442 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3443 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3444 <surefire.secondPartGroups/>
3448 <!-- Use it to launch large tests only -->
3449 <id>runLargeTests</id>
3451 <activeByDefault>false</activeByDefault>
3454 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3455 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3456 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3457 <surefire.secondPartGroups/>
3461 <!-- Use it to launch small & medium tests -->
3462 <id>runDevTests</id>
3464 <activeByDefault>false</activeByDefault>
3467 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3468 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3469 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3470 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3471 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3475 <!-- Use it to launch all tests -->
3476 <id>runAllTests</id>
3478 <activeByDefault>false</activeByDefault>
3481 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3482 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3483 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3484 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3488 <id>runMiscTests</id>
3490 <activeByDefault>false</activeByDefault>
3493 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3494 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3495 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3496 </surefire.firstPartGroups>
3497 <surefire.secondPartGroups></surefire.secondPartGroups>
3501 <id>runCoprocessorTests</id>
3503 <activeByDefault>false</activeByDefault>
3506 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3507 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3508 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3509 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3510 <surefire.firstPartGroups>
3511 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3512 </surefire.firstPartGroups>
3513 <surefire.secondPartGroups></surefire.secondPartGroups>
3517 <id>runClientTests</id>
3519 <activeByDefault>false</activeByDefault>
3522 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3523 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3524 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3525 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3526 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3527 </surefire.firstPartGroups>
3528 <surefire.secondPartGroups></surefire.secondPartGroups>
3532 <id>runMasterTests</id>
3534 <activeByDefault>false</activeByDefault>
3537 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3538 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3539 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3540 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3541 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3542 </surefire.firstPartGroups>
3543 <surefire.secondPartGroups></surefire.secondPartGroups>
3547 <id>runMapredTests</id>
3549 <activeByDefault>false</activeByDefault>
3552 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3553 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3554 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3555 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3556 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3557 </surefire.firstPartGroups>
3558 <surefire.secondPartGroups></surefire.secondPartGroups>
3562 <id>runMapreduceTests</id>
3564 <activeByDefault>false</activeByDefault>
3567 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3568 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3569 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3570 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3571 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3572 </surefire.firstPartGroups>
3573 <surefire.secondPartGroups></surefire.secondPartGroups>
3577 <id>runRegionServerTests</id>
3579 <activeByDefault>false</activeByDefault>
3582 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3583 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3584 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3585 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3586 <surefire.firstPartGroups>
3587 org.apache.hadoop.hbase.testclassification.RegionServerTests
3588 </surefire.firstPartGroups>
3589 <surefire.secondPartGroups></surefire.secondPartGroups>
3593 <id>runVerySlowMapReduceTests</id>
3595 <activeByDefault>false</activeByDefault>
3598 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3599 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3600 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3601 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3602 <surefire.firstPartGroups>
3603 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3604 </surefire.firstPartGroups>
3605 <surefire.secondPartGroups></surefire.secondPartGroups>
3610 <id>runVerySlowRegionServerTests</id>
3612 <activeByDefault>false</activeByDefault>
3615 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3616 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3617 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3618 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3619 <surefire.firstPartGroups>
3620 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3621 </surefire.firstPartGroups>
3622 <surefire.secondPartGroups></surefire.secondPartGroups>
3627 <id>runFilterTests</id>
3629 <activeByDefault>false</activeByDefault>
3632 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3633 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3634 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3635 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3636 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3637 </surefire.firstPartGroups>
3638 <surefire.secondPartGroups></surefire.secondPartGroups>
3644 <activeByDefault>false</activeByDefault>
3647 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3648 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3649 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3650 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3651 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3652 </surefire.firstPartGroups>
3653 <surefire.secondPartGroups></surefire.secondPartGroups>
3657 <id>runRestTests</id>
3659 <activeByDefault>false</activeByDefault>
3662 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3663 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3664 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3665 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3666 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3667 </surefire.firstPartGroups>
3668 <surefire.secondPartGroups></surefire.secondPartGroups>
3672 <id>runRPCTests</id>
3674 <activeByDefault>false</activeByDefault>
3677 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3678 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3679 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3680 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3681 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3682 </surefire.firstPartGroups>
3683 <surefire.secondPartGroups></surefire.secondPartGroups>
3687 <id>runReplicationTests</id>
3689 <activeByDefault>false</activeByDefault>
3692 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3693 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3694 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3695 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3696 <surefire.firstPartGroups>
3697 org.apache.hadoop.hbase.testclassification.ReplicationTests
3698 </surefire.firstPartGroups>
3699 <surefire.secondPartGroups></surefire.secondPartGroups>
3703 <id>runSecurityTests</id>
3705 <activeByDefault>false</activeByDefault>
3708 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3709 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3710 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3711 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3712 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3713 </surefire.firstPartGroups>
3714 <surefire.secondPartGroups></surefire.secondPartGroups>
3718 <id>runFlakeyTests</id>
3720 <activeByDefault>false</activeByDefault>
3723 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3724 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3725 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3726 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3727 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3728 </surefire.firstPartGroups>
3729 <surefire.secondPartGroups></surefire.secondPartGroups>
3735 <activeByDefault>false</activeByDefault>
3738 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3739 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3740 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3741 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3742 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3743 </surefire.firstPartGroups>
3744 <surefire.secondPartGroups></surefire.secondPartGroups>
3749 <!-- Use it to launch tests locally-->
3757 <surefire.provider>surefire-junit4</surefire.provider>
3758 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3759 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3760 <surefire.firstPartGroups/>
3763 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3764 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3765 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3766 The report will be generated under target/site/clover/index.html when you run
3767 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3771 <activeByDefault>false</activeByDefault>
3777 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3781 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3782 our instrumented classes for the doclet will fail
3785 <groupId>org.apache.maven.plugins</groupId>
3786 <artifactId>maven-javadoc-plugin</artifactId>
3789 <groupId>com.atlassian.maven.plugins</groupId>
3790 <artifactId>maven-clover2-plugin</artifactId>
3791 <version>${clover.version}</version>
3796 <groupId>com.atlassian.maven.plugins</groupId>
3797 <artifactId>maven-clover2-plugin</artifactId>
3798 <version>${clover.version}</version>
3800 <includesAllSourceRoots>true</includesAllSourceRoots>
3801 <includesTestSourceRoots>true</includesTestSourceRoots>
3802 <targetPercentage>50%</targetPercentage>
3803 <generateHtml>true</generateHtml>
3804 <generateXml>true</generateXml>
3806 <exclude>**/generated/**</exclude>
3811 <id>clover-setup</id>
3812 <phase>process-sources</phase>
3830 <!-- Used by the website generation script on jenkins to
3831 do a local install of the jars we need to run a normal
3832 site build w/o forking.
3834 <id>site-install-step</id>
3836 <skipTests>true</skipTests>
3837 <maven.javadoc.skip>true</maven.javadoc.skip>
3838 <enforcer.skip>true</enforcer.skip>
3839 <checkstyle.skip>true</checkstyle.skip>
3840 <spotbugs.skip>true</spotbugs.skip>
3841 <warbucks.skip>true</warbucks.skip>
3845 <!-- Used by the website generation script on jenkins to
3846 mitigate the impact of unneeded build forks while building
3849 <id>site-build-step</id>
3851 <skipTests>true</skipTests>
3852 <enforcer.skip>true</enforcer.skip>
3853 <maven.main.skip>true</maven.main.skip>
3854 <maven.test.skip>true</maven.test.skip>
3855 <warbucks.skip>true</warbucks.skip>
3856 <protoc.skip>true</protoc.skip>
3857 <remoteresources.skip>true</remoteresources.skip>
3861 <id>eclipse-specific</id>
3864 <name>m2e.version</name>
3870 <!-- General config for eclipse classpath/settings -->
3872 <groupId>org.apache.maven.plugins</groupId>
3873 <artifactId>maven-eclipse-plugin</artifactId>
3874 <version>${maven.eclipse.version}</version>
3876 <!--This plugin's configuration is used to store Eclipse m2e settings
3877 only. It has no influence on the Maven build itself. m2e does not
3878 provide any safeguards against rogue maven plugins that leak
3879 classloaders, modify random files inside workspace or throw nasty
3880 exceptions to fail the build.
3881 Top level doesn't do any specific configuration currently - left
3882 to modules to decide what they want to bind, sans those plugins
3883 defined in this pom. -->
3885 <groupId>org.eclipse.m2e</groupId>
3886 <artifactId>lifecycle-mapping</artifactId>
3887 <version>${lifecycle.mapping.version}</version>
3889 <lifecycleMappingMetadata>
3892 <pluginExecutionFilter>
3893 <groupId>org.jacoco</groupId>
3894 <artifactId>jacoco-maven-plugin</artifactId>
3895 <versionRange>[0.6.2.201302030002,)</versionRange>
3897 <goal>prepare-agent</goal>
3899 </pluginExecutionFilter>
3905 <pluginExecutionFilter>
3906 <groupId>org.apache.maven.plugins</groupId>
3907 <artifactId>maven-enforcer-plugin</artifactId>
3908 <versionRange>${enforcer.version}</versionRange>
3910 <goal>enforce</goal>
3912 </pluginExecutionFilter>
3918 <pluginExecutionFilter>
3919 <groupId>org.apache.maven.plugins</groupId>
3920 <artifactId>maven-remote-resources-plugin</artifactId>
3921 <versionRange>[1.5,)</versionRange>
3923 <goal>process</goal>
3926 </pluginExecutionFilter>
3932 <pluginExecutionFilter>
3933 <groupId>org.codehaus.mojo</groupId>
3934 <artifactId>buildnumber-maven-plugin</artifactId>
3935 <versionRange>[1.3,)</versionRange>
3937 <goal>create-timestamp</goal>
3939 </pluginExecutionFilter>
3942 <runOnConfiguration>true</runOnConfiguration>
3943 <runOnIncremental>true</runOnIncremental>
3948 </lifecycleMappingMetadata>
3956 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3960 <artifactId>maven-project-info-reports-plugin</artifactId>
3964 <report>dependencies</report>
3965 <report>dependency-convergence</report>
3966 <report>dependency-info</report>
3967 <report>dependency-management</report>
3968 <report>index</report>
3969 <report>issue-management</report>
3970 <report>licenses</report>
3971 <report>mailing-lists</report>
3972 <report>plugin-management</report>
3973 <report>plugins</report>
3974 <report>team</report>
3975 <report>scm</report>
3976 <report>summary</report>
3980 <!-- see src/site/site.xml for selected reports -->
3982 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3987 <groupId>org.apache.maven.plugins</groupId>
3988 <artifactId>maven-javadoc-plugin</artifactId>
3992 <name>apiNote</name>
3993 <placement>a</placement>
3994 <head>API Note:</head>
4003 <report>aggregate-no-fork</report>
4006 <destDir>devapidocs</destDir>
4007 <name>Developer API</name>
4008 <description>The full HBase API, including private and unstable APIs</description>
4009 <sourceFileExcludes>
4010 <exclude>**/generated/*</exclude>
4011 <exclude>**/protobuf/*</exclude>
4012 </sourceFileExcludes>
4013 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4014 <show>private</show> <!-- (shows all classes and members) -->
4016 <linksource>true</linksource>
4017 <sourcetab>2</sourcetab>
4018 <validateLinks>true</validateLinks>
4019 <fixClassComment>true</fixClassComment>
4020 <fixFieldComment>true</fixFieldComment>
4021 <fixMethodComment>true</fixMethodComment>
4022 <fixTags>all</fixTags>
4023 <notimestamp>true</notimestamp>
4024 <locale>en_US</locale>
4025 <!-- Pass some options straight to the javadoc executable since it is easier -->
4026 <additionalJOption>-J-Xmx2G</additionalJOption>
4027 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4028 <additionalDependencies>
4029 <additionalDependency>
4030 <groupId>org.mockito</groupId>
4031 <artifactId>mockito-core</artifactId>
4032 <version>${mockito-core.version}</version>
4033 </additionalDependency>
4034 <additionalDependency>
4035 <groupId>org.hamcrest</groupId>
4036 <artifactId>hamcrest-core</artifactId>
4037 <version>${hamcrest.version}</version>
4038 </additionalDependency>
4039 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4040 <additionalDependency>
4041 <groupId>com.google.code.findbugs</groupId>
4042 <artifactId>jsr305</artifactId>
4043 <version>3.0.2</version>
4044 </additionalDependency>
4045 </additionalDependencies>
4046 <inherited>false</inherited>
4052 <report>test-aggregate-no-fork</report>
4055 <destDir>testdevapidocs</destDir>
4056 <name>Developer API</name>
4057 <description>The full HBase API test code, including private and unstable APIs</description>
4058 <sourceFileExcludes>
4059 <exclude>**/generated/*</exclude>
4060 <exclude>**/protobuf/*</exclude>
4061 </sourceFileExcludes>
4062 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4063 <show>private</show> <!-- (shows all classes and members) -->
4065 <linksource>true</linksource>
4066 <sourcetab>2</sourcetab>
4067 <validateLinks>true</validateLinks>
4068 <fixClassComment>true</fixClassComment>
4069 <fixFieldComment>true</fixFieldComment>
4070 <fixMethodComment>true</fixMethodComment>
4071 <fixTags>all</fixTags>
4072 <notimestamp>true</notimestamp>
4073 <locale>en_US</locale>
4074 <!-- Pass some options straight to the javadoc executable since it is easier -->
4075 <additionalJOption>-J-Xmx2G</additionalJOption>
4076 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4077 <additionalDependencies>
4078 <additionalDependency>
4079 <groupId>org.mockito</groupId>
4080 <artifactId>mockito-core</artifactId>
4081 <version>${mockito-core.version}</version>
4082 </additionalDependency>
4083 <additionalDependency>
4084 <groupId>org.hamcrest</groupId>
4085 <artifactId>hamcrest-core</artifactId>
4086 <version>${hamcrest.version}</version>
4087 </additionalDependency>
4088 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4089 <additionalDependency>
4090 <groupId>com.google.code.findbugs</groupId>
4091 <artifactId>jsr305</artifactId>
4092 <version>3.0.2</version>
4093 </additionalDependency>
4094 </additionalDependencies>
4095 <inherited>false</inherited>
4103 <report>aggregate-no-fork</report>
4107 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4110 <groupId>org.apache.yetus</groupId>
4111 <artifactId>audience-annotations</artifactId>
4112 <version>${audience-annotations.version}</version>
4114 <useStandardDocletOptions>true</useStandardDocletOptions>
4115 <destDir>apidocs</destDir>
4116 <name>User API</name>
4117 <description>The HBase Application Programmer's API</description>
4118 <excludePackageNames>
4119 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*
4120 </excludePackageNames>
4121 <!-- switch on dependency-driven aggregation -->
4122 <includeDependencySources>false</includeDependencySources>
4123 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4124 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4126 <linksource>true</linksource>
4127 <sourcetab>2</sourcetab>
4128 <validateLinks>true</validateLinks>
4129 <fixClassComment>true</fixClassComment>
4130 <fixFieldComment>true</fixFieldComment>
4131 <fixMethodComment>true</fixMethodComment>
4132 <fixTags>all</fixTags>
4133 <notimestamp>true</notimestamp>
4134 <locale>en_US</locale>
4135 <!-- Pass some options straight to the javadoc executable since it is easier -->
4136 <additionalJOption>-J-Xmx2G</additionalJOption>
4137 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4138 <additionalDependencies>
4139 <additionalDependency>
4140 <groupId>org.mockito</groupId>
4141 <artifactId>mockito-core</artifactId>
4142 <version>${mockito-core.version}</version>
4143 </additionalDependency>
4144 <additionalDependency>
4145 <groupId>org.hamcrest</groupId>
4146 <artifactId>hamcrest-core</artifactId>
4147 <version>${hamcrest.version}</version>
4148 </additionalDependency>
4149 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4150 <additionalDependency>
4151 <groupId>com.google.code.findbugs</groupId>
4152 <artifactId>jsr305</artifactId>
4153 <version>3.0.2</version>
4154 </additionalDependency>
4155 </additionalDependencies>
4156 <inherited>false</inherited>
4159 <!-- User Test API -->
4161 <id>testuserapi</id>
4163 <report>test-aggregate-no-fork</report>
4167 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4170 <groupId>org.apache.yetus</groupId>
4171 <artifactId>audience-annotations</artifactId>
4172 <version>${audience-annotations.version}</version>
4174 <useStandardDocletOptions>true</useStandardDocletOptions>
4175 <destDir>testapidocs</destDir>
4176 <name>User API</name>
4177 <description>The HBase Application Programmer's API</description>
4178 <excludePackageNames>
4179 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*
4180 </excludePackageNames>
4181 <!-- switch on dependency-driven aggregation -->
4182 <includeDependencySources>false</includeDependencySources>
4183 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4184 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4186 <linksource>true</linksource>
4187 <sourcetab>2</sourcetab>
4188 <validateLinks>true</validateLinks>
4189 <fixClassComment>true</fixClassComment>
4190 <fixFieldComment>true</fixFieldComment>
4191 <fixMethodComment>true</fixMethodComment>
4192 <fixTags>all</fixTags>
4193 <notimestamp>true</notimestamp>
4194 <locale>en_US</locale>
4195 <!-- Pass some options straight to the javadoc executable since it is easier -->
4196 <additionalJOption>-J-Xmx2G</additionalJOption>
4197 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4198 <additionalDependencies>
4199 <additionalDependency>
4200 <groupId>org.mockito</groupId>
4201 <artifactId>mockito-core</artifactId>
4202 <version>${mockito-core.version}</version>
4203 </additionalDependency>
4204 <additionalDependency>
4205 <groupId>org.hamcrest</groupId>
4206 <artifactId>hamcrest-core</artifactId>
4207 <version>${hamcrest.version}</version>
4208 </additionalDependency>
4209 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4210 <additionalDependency>
4211 <groupId>com.google.code.findbugs</groupId>
4212 <artifactId>jsr305</artifactId>
4213 <version>3.0.2</version>
4214 </additionalDependency>
4215 </additionalDependencies>
4216 <inherited>false</inherited>
4223 <groupId>org.apache.maven.plugins</groupId>
4224 <artifactId>maven-checkstyle-plugin</artifactId>
4225 <version>${maven.checkstyle.version}</version>
4227 <excludes>target/**</excludes>
4233 <distributionManagement>
4235 <id>hbase.apache.org</id>
4236 <name>HBase Website at hbase.apache.org</name>
4237 <!-- On why this is the tmp dir and not hbase.apache.org, see
4238 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4240 <url>file:///tmp</url>
4242 </distributionManagement>