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.2-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-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>
117 <name>Developer List</name>
118 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
119 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
120 <post>dev@hbase.apache.org</post>
121 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
123 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
145 <name>User (ZH) List</name>
146 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
147 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
148 <post>user-zh@hbase.apache.org</post>
149 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
155 <name>Amitanand S. Aiyer</name>
156 <email>acube123@apache.org</email>
157 <timezone>-8</timezone>
161 <name>Apekshit Sharma</name>
162 <email>appy@apache.org</email>
163 <timezone>-8</timezone>
167 <name>Anastasia Braginsky</name>
168 <email>anastasia@apache.org</email>
169 <timezone>+2</timezone>
173 <name>Andrew Purtell</name>
174 <email>apurtell@apache.org</email>
175 <timezone>-8</timezone>
178 <id>anoopsamjohn</id>
179 <name>Anoop Sam John</name>
180 <email>anoopsamjohn@apache.org</email>
181 <timezone>+5</timezone>
185 <name>Mikhail Antonov</name>
186 <email>antonov@apache.org</email>
187 <timezone>-8</timezone>
190 <id>ashishsinghi</id>
191 <name>Ashish Singhi</name>
192 <email>ashishsinghi@apache.org</email>
193 <timezone>+5</timezone>
197 <name>Lijin Bin</name>
198 <email>binlijin@apache.org</email>
199 <timezone>+8</timezone>
203 <name>Sean Busbey</name>
204 <email>busbey@apache.org</email>
205 <timezone>-6</timezone>
209 <name>Heng Chen</name>
210 <email>chenheng@apache.org</email>
211 <timezone>+8</timezone>
215 <name>Chia-Ping Tsai</name>
216 <email>chia7712@apache.org</email>
217 <timezone>+8</timezone>
221 <name>Devaraj Das</name>
222 <email>ddas@apache.org</email>
223 <timezone>-8</timezone>
227 <name>Dima Spivak</name>
228 <email>dimaspivak@apache.org</email>
229 <timezone>-8</timezone>
233 <name>Doug Meil</name>
234 <email>dmeil@apache.org</email>
235 <timezone>-5</timezone>
239 <name>Elliott Clark</name>
240 <email>eclark@apache.org</email>
241 <timezone>-8</timezone>
245 <name>Josh Elser</name>
246 <email>elserj@apache.org</email>
247 <timezone>-5</timezone>
251 <name>Enis Soztutar</name>
252 <email>enis@apache.org</email>
253 <timezone>-8</timezone>
257 <name>Eshcar Hillel</name>
258 <email>eshcar@apache.org</email>
259 <timezone>+2</timezone>
263 <name>Honghua Feng</name>
264 <email>fenghh@apache.org</email>
265 <timezone>+8</timezone>
269 <name>Gary Helmling</name>
270 <email>garyh@apache.org</email>
271 <timezone>-8</timezone>
275 <name>Gregory Chanan</name>
276 <email>gchanan@apache.org</email>
277 <timezone>-8</timezone>
281 <name>Jean-Daniel Cryans</name>
282 <email>jdcryans@apache.org</email>
283 <timezone>-8</timezone>
287 <name>Jeffrey Zhong</name>
288 <email>jeffreyz@apache.org</email>
289 <timezone>-8</timezone>
293 <name>Jing Chen (Jerry) He</name>
294 <email>jerryjch@apache.org</email>
295 <timezone>-8</timezone>
299 <name>Jesse Yates</name>
300 <email>jyates@apache.org</email>
301 <timezone>-8</timezone>
305 <name>Jonathan Gray</name>
306 <email>jgray@fb.com</email>
307 <timezone>-8</timezone>
311 <name>Jingcheng Du</name>
312 <email>jingchengdu@apache.org</email>
313 <timezone>+8</timezone>
317 <name>Esteban Gutierrez</name>
318 <email>esteban@apache.org</email>
319 <timezone>-8</timezone>
323 <name>Jonathan Hsieh</name>
324 <email>jmhsieh@apache.org</email>
325 <timezone>-8</timezone>
329 <name>Jimmy Xiang</name>
330 <email>jxiang@apache.org</email>
331 <timezone>-8</timezone>
335 <name>Kannan Muthukkaruppan</name>
336 <email>kannan@fb.com</email>
337 <timezone>-8</timezone>
341 <name>Karthik Ranganathan</name>
342 <email>kranganathan@fb.com</email>
343 <timezone>-8</timezone>
347 <name>Lars George</name>
348 <email>larsgeorge@apache.org</email>
349 <timezone>+1</timezone>
353 <name>Lars Hofhansl</name>
354 <email>larsh@apache.org</email>
355 <timezone>-8</timezone>
359 <name>Liang Xie</name>
360 <email>liangxie@apache.org</email>
361 <timezone>+8</timezone>
365 <name>Shaohui Liu</name>
366 <email>liushaohui@apache.org</email>
367 <timezone>+8</timezone>
371 <name>Liyin Tang</name>
372 <email>liyin.tang@fb.com</email>
373 <timezone>-8</timezone>
378 <email>liyu@apache.org</email>
379 <timezone>+8</timezone>
383 <name>Mikhail Bautin</name>
384 <email>mbautin@apache.org</email>
385 <timezone>-8</timezone>
389 <name>Matteo Bertozzi</name>
390 <email>mbertozzi@apache.org</email>
391 <timezone>0</timezone>
395 <name>Misty Stanley-Jones</name>
396 <email>misty@apache.org</email>
397 <timezone>+10</timezone>
401 <name>Nick Dimiduk</name>
402 <email>ndimiduk@apache.org</email>
403 <timezone>-8</timezone>
407 <name>Nicolas Liochon</name>
408 <email>nkeywal@apache.org</email>
409 <timezone>+1</timezone>
412 <id>nspiegelberg</id>
413 <name>Nicolas Spiegelberg</name>
414 <email>nspiegelberg@fb.com</email>
415 <timezone>-8</timezone>
419 <name>Andrey Stepachev</name>
420 <email>octo47@gmail.com</email>
421 <timezone>0</timezone>
425 <name>Rajeshbabu Chintaguntla</name>
426 <email>rajeshbabu@apache.org</email>
427 <timezone>+5</timezone>
431 <name>Ramkrishna S Vasudevan</name>
432 <email>ramkrishna@apache.org</email>
433 <timezone>+5</timezone>
437 <name>Ryan Rawson</name>
438 <email>rawson@apache.org</email>
439 <timezone>-8</timezone>
443 <name>Sergey Shelukhin</name>
444 <email>sershe@apache.org</email>
445 <timezone>-8</timezone>
449 <name>Srikanth Srungarapu</name>
450 <email>ssrungarapu@apache.org</email>
451 <timezone>-8</timezone>
455 <name>Michael Stack</name>
456 <email>stack@apache.org</email>
457 <timezone>-8</timezone>
461 <name>Stephen Yuan Jiang</name>
462 <email>syuanjiang@apache.org</email>
463 <timezone>-8</timezone>
468 <email>yuzhihong@gmail.com</email>
469 <timezone>-8</timezone>
473 <name>Todd Lipcon</name>
474 <email>todd@apache.org</email>
475 <timezone>-8</timezone>
479 <name>Francis Liu</name>
480 <email>toffer@apache.org</email>
481 <timezone>-8</timezone>
485 <name>Virag Kothari</name>
486 <email>virag@yahoo-inc.com</email>
487 <timezone>-8</timezone>
491 <name>Phil Yang</name>
492 <email>yangzhe1991@apache.org</email>
493 <timezone>+8</timezone>
497 <name>Guanghao Zhang</name>
498 <email>zghao@apache.org</email>
499 <timezone>+8</timezone>
503 <name>Duo Zhang</name>
504 <email>zhangduo@apache.org</email>
505 <timezone>+8</timezone>
509 <name>Chunhui Shen</name>
510 <email>zjushch@apache.org</email>
511 <timezone>+8</timezone>
517 <groupId>kr.motd.maven</groupId>
518 <artifactId>os-maven-plugin</artifactId>
519 <version>${os.maven.version}</version>
522 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
523 For specific version use a property and define it in the parent pom.
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-remote-resources-plugin</artifactId>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-release-plugin</artifactId>
535 <!--You need this profile. It'll sign your artifacts.
536 I'm not sure if this config. actually works though.
537 I've been specifying -Papache-release on the command-line
539 <releaseProfiles>apache-release</releaseProfiles>
540 <!--This stops our running tests for each stage of maven release.
541 But it builds the test jar. From SUREFIRE-172.
543 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
544 <goals>${goals}</goals>
545 <pomFileName>pom.xml</pomFileName>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-compiler-plugin</artifactId>
552 <source>${compileSource}</source>
553 <target>${compileSource}</target>
554 <showWarnings>true</showWarnings>
555 <showDeprecation>false</showDeprecation>
556 <useIncrementalCompilation>false</useIncrementalCompilation>
557 <compilerArgument>-Xlint:-options</compilerArgument>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-javadoc-plugin</artifactId>
563 <version>${maven.javadoc.version}</version>
565 <source>${compileSource}</source>
568 <!-- Test oriented plugins -->
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
572 <version>${surefire.version}</version>
574 <!-- by default surefire selects dynamically the connector to the unit tests
575 tool. We want to use always the same as the different connectors can have different
576 bugs and behaviour. -->
578 <groupId>org.apache.maven.surefire</groupId>
579 <artifactId>${surefire.provider}</artifactId>
580 <version>${surefire.version}</version>
583 <!-- Generic testing configuration for all packages -->
585 <groups>${surefire.firstPartGroups}</groups>
586 <failIfNoTests>false</failIfNoTests>
587 <skip>${surefire.skipFirstPart}</skip>
588 <forkCount>${surefire.firstPartForkCount}</forkCount>
589 <reuseForks>false</reuseForks>
590 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
591 <tempDir>${surefire.tempDir}</tempDir>
592 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
593 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
594 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
595 <systemPropertyVariables>
596 <test.build.classes>${test.build.classes}</test.build.classes>
597 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
598 </systemPropertyVariables>
600 <!-- users can add -D option to skip particular test classes
601 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
603 <exclude>${test.exclude.pattern}</exclude>
607 <name>listener</name>
608 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
614 <id>secondPartTestsExecution</id>
620 <skip>${surefire.skipSecondPart}</skip>
621 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
622 <reuseForks>false</reuseForks>
623 <forkCount>${surefire.secondPartForkCount}</forkCount>
624 <groups>${surefire.secondPartGroups}</groups>
625 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-surefire-report-plugin</artifactId>
633 <version>${surefire.version}</version>
636 <groupId>org.codehaus.mojo</groupId>
637 <artifactId>buildnumber-maven-plugin</artifactId>
638 <version>${buildnumber.maven.version}</version>
641 <groupId>com.github.spotbugs</groupId>
642 <artifactId>spotbugs-maven-plugin</artifactId>
643 <version>${spotbugs.maven.version}</version>
645 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
646 <spotbugsXmlOutput>true</spotbugsXmlOutput>
647 <xmlOutput>true</xmlOutput>
652 <groupId>org.codehaus.mojo</groupId>
653 <artifactId>build-helper-maven-plugin</artifactId>
654 <version>${build.helper.maven.version}</version>
657 <artifactId>maven-antrun-plugin</artifactId>
658 <version>${maven.antrun.version}</version>
661 <groupId>org.jamon</groupId>
662 <artifactId>jamon-maven-plugin</artifactId>
663 <version>${jamon.plugin.version}</version>
665 <!-- Make a jar and put the sources in the jar.
666 In the parent pom, so submodules will do the right thing. -->
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-source-plugin</artifactId>
672 <id>attach-sources</id>
673 <phase>prepare-package</phase>
675 <goal>jar-no-fork</goal>
676 <goal>test-jar-no-fork</goal>
680 <exclude>log4j.properties</exclude>
686 <!-- General configuration for submodules who want to build a test jar -->
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-jar-plugin</artifactId>
692 <phase>prepare-package</phase>
694 <!--This goal will install a -test.jar when we do install
695 See https://maven.apache.org/guides/mini/guide-attached-tests.html
697 <goal>test-jar</goal>
702 <skipIfEmpty>true</skipIfEmpty>
704 <exclude>hbase-site.xml</exclude>
705 <exclude>hdfs-site.xml</exclude>
706 <exclude>mapred-queues.xml</exclude>
707 <exclude>mapred-site.xml</exclude>
712 <!-- excludes are inherited -->
713 <groupId>org.apache.rat</groupId>
714 <artifactId>apache-rat-plugin</artifactId>
717 <exclude>**/*.versionsBackup</exclude>
718 <exclude>**/*.log</exclude>
719 <exclude>**/.*</exclude>
720 <exclude>**/*.tgz</exclude>
721 <exclude>**/*.orig</exclude>
722 <exclude>**/0000000000000016310</exclude>
723 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
724 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
725 <exclude>**/.idea/**</exclude>
726 <exclude>**/*.iml</exclude>
727 <exclude>**/CHANGES.txt</exclude>
728 <exclude>**/generated/**</exclude>
729 <exclude>**/gen-*/**</exclude>
730 <!-- No material contents -->
731 <exclude>conf/regionservers</exclude>
732 <exclude>**/*.avpr</exclude>
733 <exclude>**/*.svg</exclude>
734 <!-- non-standard notice file from jruby included by reference -->
735 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
736 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
737 <exclude>**/src/main/asciidoc/hbase.css</exclude>
738 <!-- MIT https://jquery.org/license -->
739 <exclude>**/jquery.min.js</exclude>
740 <exclude>**/jquery.tablesorter.min.js</exclude>
741 <!-- MIT: bootstrap -->
742 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
743 <!-- vector graphics -->
744 <exclude>**/*.vm</exclude>
745 <!-- apache doxia generated -->
746 <exclude>**/control</exclude>
747 <exclude>**/conffile</exclude>
748 <!-- auto-gen docs -->
749 <exclude>docs/*</exclude>
750 <exclude>logs/*</exclude>
751 <!-- exclude source control files -->
752 <exclude>.git/**</exclude>
753 <exclude>.svn/**</exclude>
754 <exclude>**/.settings/**</exclude>
755 <exclude>**/patchprocess/**</exclude>
756 <exclude>src/site/resources/repo/**</exclude>
757 <exclude>**/dependency-reduced-pom.xml</exclude>
758 <exclude>**/rat.txt</exclude>
759 <!-- exclude the shaded protobuf files -->
760 <exclude>**/shaded/com/google/protobuf/**</exclude>
761 <exclude>**/src/main/patches/**</exclude>
766 <artifactId>maven-assembly-plugin</artifactId>
768 <!--Defer to the hbase-assembly sub-module. It
770 <skipAssembly>true</skipAssembly>
774 <groupId>org.xolstice.maven.plugins</groupId>
775 <artifactId>protobuf-maven-plugin</artifactId>
776 <version>${protobuf.plugin.version}</version>
778 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
779 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
780 <clearOutputDirectory>false</clearOutputDirectory>
781 <checkStaleness>true</checkStaleness>
785 <!-- Approach followed here is roughly the same as mentioned here:
786 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-checkstyle-plugin</artifactId>
790 <version>${maven.checkstyle.version}</version>
793 <groupId>org.apache.hbase</groupId>
794 <artifactId>hbase-checkstyle</artifactId>
795 <version>${project.version}</version>
798 <groupId>com.puppycrawl.tools</groupId>
799 <artifactId>checkstyle</artifactId>
800 <version>${checkstyle.version}</version>
804 <configLocation>hbase/checkstyle.xml</configLocation>
805 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
806 <includeTestSourceDirectory>true</includeTestSourceDirectory>
810 <groupId>net.revelc.code</groupId>
811 <artifactId>warbucks-maven-plugin</artifactId>
812 <version>${maven.warbucks.version}</version>
814 <ignoreRuleFailures>false</ignoreRuleFailures>
817 <!-- exclude the generated java files -->
818 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
819 <includeTestClasses>false</includeTestClasses>
820 <includePublicClasses>true</includePublicClasses>
821 <includePackagePrivateClasses>false</includePackagePrivateClasses>
822 <includeProtectedClasses>false</includeProtectedClasses>
823 <includePrivateClasses>false</includePrivateClasses>
824 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
830 <id>run-warbucks</id>
832 <goal>check</goal><!-- runs at process-test-classes phase -->
838 <groupId>org.apache.maven.plugins</groupId>
839 <artifactId>maven-enforcer-plugin</artifactId>
840 <version>${enforcer.version}</version>
843 <groupId>org.codehaus.mojo</groupId>
844 <artifactId>extra-enforcer-rules</artifactId>
845 <version>${extra.enforcer.version}</version>
848 <groupId>de.skuzzle.enforcer</groupId>
849 <artifactId>restrict-imports-enforcer-rule</artifactId>
850 <version>${restrict-imports.enforcer.version}</version>
858 <groupId>org.codehaus.mojo</groupId>
859 <artifactId>build-helper-maven-plugin</artifactId>
862 <id>negate-license-bundles-property</id>
864 <goal>bsh-property</goal>
867 <source>skip.license.check = !${license.bundles.dependencies};</source>
869 <property>skip.license.check</property>
873 <!-- sets where to find the generated LICENSE files -->
875 <id>create-license-file-path-property</id>
877 <goal>regex-property</goal>
880 <name>license.aggregate.path</name>
881 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
883 <replacement>/</replacement>
884 <failIfNoMatch>false</failIfNoMatch>
890 <groupId>org.apache.maven.plugins</groupId>
891 <artifactId>maven-enforcer-plugin</artifactId>
894 <id>display-info</id>
895 <phase>initialize</phase>
897 <goal>display-info</goal>
899 <inherited>false</inherited>
902 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
908 <!-- Help people activate profiles correctly -->
910 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
911 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
913 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
914 <requireMavenVersion>
915 <version>[${maven.min.version},)</version>
916 <message>Maven is out of date.
917 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
918 You appear to be using an older version. You can use either "mvn -version" or
919 "mvn enforcer:display-info" to verify what version is active.
920 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
922 </requireMavenVersion>
923 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
925 <version>[${java.min.version},)</version>
926 <message>Java is out of date.
927 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
928 You appear to be using an older version. You can use either "mvn -version" or
929 "mvn enforcer:display-info" to verify what version is active.
930 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
932 </requireJavaVersion>
935 <exclude>xerces:xercesImpl</exclude>
937 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
938 </bannedDependencies>
943 <id>banned-jsr305</id>
951 <exclude>com.google.code.findbugs:jsr305</exclude>
953 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
954 </bannedDependencies>
959 <id>banned-commons-logging</id>
967 <exclude>commons-logging:commons-logging</exclude>
970 We don't use commons-logging any more, so do not depend on it directly.
972 <searchTransitive>false</searchTransitive>
973 </bannedDependencies>
978 <id>banned-jetty</id>
986 <exclude>org.eclipse.jetty:**</exclude>
989 Use shaded jetty instead
991 <searchTransitive>false</searchTransitive>
992 </bannedDependencies>
997 <id>banned-jersey</id>
1003 <bannedDependencies>
1005 <exclude>org.glassfish.jersey.containers:**</exclude>
1006 <exclude>org.glassfish.jersey.core:**</exclude>
1009 Use shaded jersey instead
1011 <searchTransitive>false</searchTransitive>
1012 </bannedDependencies>
1017 <id>check-aggregate-license</id>
1018 <!-- must check after LICENSE is built at 'generate-resources' -->
1019 <phase>process-resources</phase>
1021 <goal>enforce</goal>
1027 File license = new File("${license.aggregate.path}");
1029 // Beanshell does not support try-with-resources,
1030 // so we must close this scanner manually
1031 Scanner scanner = new Scanner(license);
1033 while (scanner.hasNextLine()) {
1034 if (scanner.nextLine().startsWith("ERROR:")) {
1043 License errors detected, for more detail find ERROR in
1044 ${license.aggregate.path}
1046 </evaluateBeanshell>
1048 <skip>${skip.license.check}</skip>
1052 <id>banned-illegal-imports</id>
1053 <phase>process-sources</phase>
1055 <goal>enforce</goal>
1059 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1060 <includeTestCode>true</includeTestCode>
1061 <commentLineBufferSize>512</commentLineBufferSize>
1062 <reason>Use SLF4j for logging</reason>
1064 <bannedImport>org.apache.commons.logging.**</bannedImport>
1067 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1068 <includeTestCode>false</includeTestCode>
1069 <commentLineBufferSize>512</commentLineBufferSize>
1071 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1074 <bannedImport>org.apache.log4j.**</bannedImport>
1077 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1078 <includeTestCode>true</includeTestCode>
1079 <commentLineBufferSize>512</commentLineBufferSize>
1080 <reason>Use shaded version in hbase-thirdparty</reason>
1082 <bannedImport>com.google.common.**</bannedImport>
1083 <bannedImport>io.netty.**</bannedImport>
1084 <bannedImport>org.apache.commons.cli.**</bannedImport>
1085 <bannedImport>org.apache.commons.collections.**</bannedImport>
1086 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1089 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1090 <includeTestCode>true</includeTestCode>
1091 <commentLineBufferSize>512</commentLineBufferSize>
1092 <reason>Do not use shaded classes from other dependencies</reason>
1094 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1095 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1098 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1099 <includeTestCode>true</includeTestCode>
1100 <commentLineBufferSize>512</commentLineBufferSize>
1101 <reason>Use shaded gson in hbase-thirdparty</reason>
1103 <bannedImport>org.codehaus.jackson.**</bannedImport>
1106 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1107 <includeTestCode>true</includeTestCode>
1108 <commentLineBufferSize>512</commentLineBufferSize>
1109 <reason>Use commons lang 3</reason>
1111 <bannedImport>org.apache.commons.lang.**</bannedImport>
1114 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1115 <includeTestCode>true</includeTestCode>
1116 <commentLineBufferSize>512</commentLineBufferSize>
1117 <reason>Use yetus IA and IS annotations</reason>
1119 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1122 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1123 <includeTestCode>true</includeTestCode>
1124 <commentLineBufferSize>512</commentLineBufferSize>
1125 <reason>Do not use htrace v3</reason>
1127 <bannedImport>org.htrace.**</bannedImport>
1130 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1131 <includeTestCode>true</includeTestCode>
1132 <commentLineBufferSize>512</commentLineBufferSize>
1133 <reason>Use shaded jetty in hbase-thirdparty</reason>
1135 <bannedImport>org.eclipse.jetty.**</bannedImport>
1138 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1139 <includeTestCode>true</includeTestCode>
1140 <commentLineBufferSize>512</commentLineBufferSize>
1141 <reason>Use shaded jersey in hbase-thirdparty</reason>
1143 <bannedImport>org.glassfish.jersey.**</bannedImport>
1146 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1147 <includeTestCode>true</includeTestCode>
1148 <commentLineBufferSize>512</commentLineBufferSize>
1150 You should never use this style of annotations(i.e, 'this is for test only')
1151 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1153 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1156 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1164 <!-- parent-module only plugins -->
1166 <groupId>org.codehaus.mojo</groupId>
1167 <artifactId>xml-maven-plugin</artifactId>
1168 <version>${xml.maven.version}</version>
1169 <inherited>false</inherited>
1172 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1174 <goal>transform</goal>
1180 <transformationSets>
1181 <!-- For asciidoc -->
1183 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1184 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1186 <include>hbase-default.xml</include>
1188 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1190 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1191 <pattern>^(.*)\.xml$</pattern>
1192 <replacement>$1.adoc</replacement>
1195 <outputDir>${basedir}/target/asciidoc</outputDir>
1196 </transformationSet>
1197 </transformationSets>
1200 <!-- Special configuration for spotbugs just in the parent so
1201 the filter file location can be more general (see definition in pluginManagement) -->
1203 <groupId>com.github.spotbugs</groupId>
1204 <artifactId>spotbugs-maven-plugin</artifactId>
1207 <inherited>false</inherited>
1209 <goal>spotbugs</goal>
1212 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1218 <groupId>org.apache.maven.plugins</groupId>
1219 <artifactId>maven-checkstyle-plugin</artifactId>
1222 <groupId>org.apache.maven.plugins</groupId>
1223 <artifactId>maven-site-plugin</artifactId>
1226 <!-- add support for ssh/scp -->
1227 <groupId>org.apache.maven.wagon</groupId>
1228 <artifactId>wagon-ssh</artifactId>
1229 <version>${wagon.ssh.version}</version>
1233 <siteDirectory>${basedir}/src/site</siteDirectory>
1234 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1235 <inputEncoding>UTF-8</inputEncoding>
1236 <outputEncoding>UTF-8</outputEncoding>
1239 <!-- For AsciiDoc docs building -->
1241 <groupId>org.asciidoctor</groupId>
1242 <artifactId>asciidoctor-maven-plugin</artifactId>
1243 <version>${asciidoctor.plugin.version}</version>
1244 <inherited>false</inherited>
1247 <groupId>org.asciidoctor</groupId>
1248 <artifactId>asciidoctorj-pdf</artifactId>
1249 <version>${asciidoctorj.pdf.version}</version>
1252 <groupId>org.jruby</groupId>
1253 <artifactId>jruby-complete</artifactId>
1254 <version>${jruby.version}</version>
1258 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1259 <doctype>book</doctype>
1261 <docVersion>${project.version}</docVersion>
1262 <imagesdir>images</imagesdir>
1263 <source-highlighter>coderay</source-highlighter>
1268 <id>output-html</id>
1271 <goal>process-asciidoc</goal>
1275 <stylesheet>hbase.css</stylesheet>
1277 <backend>html5</backend>
1284 <goal>process-asciidoc</goal>
1287 <backend>pdf</backend>
1292 <idseparator>-</idseparator>
1299 <groupId>org.apache.maven.plugins</groupId>
1300 <artifactId>maven-resources-plugin</artifactId>
1301 <!--$NO-MVN-MAN-VER$ -->
1302 <inherited>false</inherited>
1305 <id>copy-htaccess</id>
1307 <goal>copy-resources</goal>
1311 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1314 <directory>${basedir}/src/site/resources/</directory>
1316 <include>.htaccess</include>
1322 <!-- needed to make the redirect above work -->
1324 <id>copy-empty-book-dir</id>
1326 <goal>copy-resources</goal>
1330 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1333 <directory>${basedir}/src/site/resources/</directory>
1335 <include>book/**</include>
1343 <escapeString>\</escapeString>
1347 <groupId>org.apache.maven.plugins</groupId>
1348 <artifactId>maven-antrun-plugin</artifactId>
1349 <version>${maven.antrun.version}</version>
1350 <inherited>false</inherited>
1351 <!-- Rename the book.pdf generated by asciidoctor -->
1357 <target name="rename file">
1358 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1368 <groupId>org.codehaus.mojo</groupId>
1369 <artifactId>buildnumber-maven-plugin</artifactId>
1372 <phase>validate</phase>
1374 <goal>create-timestamp</goal>
1379 <timestampFormat>yyyy</timestampFormat>
1380 <timestampPropertyName>build.year</timestampPropertyName>
1384 <groupId>org.apache.felix</groupId>
1385 <artifactId>maven-bundle-plugin</artifactId>
1386 <version>${maven.bundle.version}</version>
1387 <inherited>true</inherited>
1388 <extensions>true</extensions>
1393 <!-- override on command line to have generated LICENSE files include
1394 diagnostic info for verifying notice requirements -->
1395 <license.debug.print.included>false</license.debug.print.included>
1396 <!-- When a particular module bundles its depenendencies, should be true -->
1397 <license.bundles.dependencies>false</license.bundles.dependencies>
1398 <!-- modules that include a the logo in their source tree should set true -->
1399 <license.bundles.logo>false</license.bundles.logo>
1400 <!-- modules that include bootstrap in their source tree should set true -->
1401 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1402 <!-- modules that include jquery in their source tree should set true -->
1403 <license.bundles.jquery>false</license.bundles.jquery>
1404 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1405 <maven.build.timestamp.format>
1407 </maven.build.timestamp.format>
1408 <buildDate>${maven.build.timestamp}</buildDate>
1409 <compileSource>1.8</compileSource>
1410 <!-- Build dependencies -->
1411 <maven.min.version>3.0.4</maven.min.version>
1412 <java.min.version>${compileSource}</java.min.version>
1413 <!-- Dependencies -->
1414 <hadoop-two.version>2.10.0</hadoop-two.version>
1415 <hadoop-three.version>3.1.2</hadoop-three.version>
1416 <!-- These must be defined here for downstream build tools that don't look at profiles.
1417 They ought to match the values found in our default hadoop profile, which is
1418 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1419 <hadoop.version>${hadoop-two.version}</hadoop.version>
1420 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1421 <compat.module>hbase-hadoop2-compat</compat.module>
1422 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1423 <!--This property is for hadoops netty. HBase netty
1424 comes in via hbase-thirdparty hbase-shaded-netty-->
1425 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1426 <!-- end HBASE-15925 default hadoop compatibility values -->
1427 <audience-annotations.version>0.5.0</audience-annotations.version>
1428 <avro.version>1.7.7</avro.version>
1429 <caffeine.version>2.8.1</caffeine.version>
1430 <commons-codec.version>1.13</commons-codec.version>
1431 <!-- pretty outdated -->
1432 <commons-io.version>2.6</commons-io.version>
1433 <commons-lang3.version>3.9</commons-lang3.version>
1434 <commons-math.version>3.6.1</commons-math.version>
1435 <disruptor.version>3.4.2</disruptor.version>
1436 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1437 especially when writing out 'no column families'. Later httpclients collapse the '//'
1438 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1439 TestRemoteTable. -->
1440 <httpclient.version>4.5.3</httpclient.version>
1441 <httpcore.version>4.4.13</httpcore.version>
1442 <metrics-core.version>3.2.6</metrics-core.version>
1443 <jackson.version>2.10.1</jackson.version>
1444 <jackson.databind.version>2.10.1</jackson.databind.version>
1445 <jaxb-api.version>2.3.1</jaxb-api.version>
1446 <servlet.api.version>3.1.0</servlet.api.version>
1447 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1448 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1449 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1450 <jruby.version>9.2.13.0</jruby.version>
1451 <junit.version>4.13</junit.version>
1452 <hamcrest.version>1.3</hamcrest.version>
1453 <htrace.version>4.2.0-incubating</htrace.version>
1454 <log4j.version>1.2.17</log4j.version>
1455 <mockito-core.version>2.28.2</mockito-core.version>
1456 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1457 <external.protobuf.version>2.5.0</external.protobuf.version>
1458 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1459 <thrift.path>thrift</thrift.path>
1460 <thrift.version>0.13.0</thrift.version>
1461 <zookeeper.version>3.5.7</zookeeper.version>
1462 <jline.version>2.11</jline.version>
1463 <slf4j.version>1.7.30</slf4j.version>
1464 <clover.version>4.0.3</clover.version>
1465 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1466 <jettison.version>1.3.8</jettison.version>
1467 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1468 <joni.version>2.1.31</joni.version>
1469 <jcodings.version>1.0.55</jcodings.version>
1470 <spy.version>2.12.2</spy.version>
1471 <bouncycastle.version>1.60</bouncycastle.version>
1472 <kerby.version>1.0.1</kerby.version>
1473 <commons-crypto.version>1.0.0</commons-crypto.version>
1474 <curator.version>4.2.0</curator.version>
1475 <!-- Plugin Dependencies -->
1476 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1477 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1478 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1479 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1481 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1483 <checkstyle.version>8.28</checkstyle.version>
1484 <exec.maven.version>1.6.0</exec.maven.version>
1485 <error-prone.version>2.4.0</error-prone.version>
1486 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1487 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1488 <maven.antrun.version>1.8</maven.antrun.version>
1489 <maven.bundle.version>3.3.0</maven.bundle.version>
1490 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1491 <maven.eclipse.version>2.10</maven.eclipse.version>
1492 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1493 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1494 <os.maven.version>1.5.0.Final</os.maven.version>
1495 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1496 <spotbugs.version>3.1.12</spotbugs.version>
1497 <spotbugs.maven.version>3.1.12.2</spotbugs.maven.version>
1498 <surefire.version>3.0.0-M4</surefire.version>
1499 <wagon.ssh.version>2.12</wagon.ssh.version>
1500 <xml.maven.version>1.0.1</xml.maven.version>
1501 <hbase-thirdparty.version>3.4.1</hbase-thirdparty.version>
1502 <!-- Intraproject jar naming properties -->
1503 <!-- TODO this is pretty ugly, but works for the moment.
1504 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1505 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1506 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1507 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1508 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1509 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1510 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1511 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1512 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1513 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1514 <shell-executable>bash</shell-executable>
1515 <surefire.provider>surefire-junit47</surefire.provider>
1516 <!-- default: run small & medium, medium with 2 threads -->
1517 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1518 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1519 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1520 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1521 value is you want to burn through tests faster (could make for more failures
1522 if more contention around resources). There is a matching MAVEN_ARG
1523 in our yetus personality where we set the maven -T command to 0.25C too.
1524 For example, to run at a rate that is more furious than our 0.25C, do
1525 something like this:
1526 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1528 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1529 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1530 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1531 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1532 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1533 <test.output.tofile>true</test.output.tofile>
1534 <surefire.timeout>900</surefire.timeout>
1535 <test.exclude.pattern></test.exclude.pattern>
1537 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1538 This value is managed separately for jdk11. See below.
1540 <surefire.Xmx>2200m</surefire.Xmx>
1541 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1542 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1544 And for netty eventloops that have no explicit configuration, netty sets
1545 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1548 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1549 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1550 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1551 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1552 -Dio.netty.eventLoopThreads=3
1553 </hbase-surefire.argLine>
1554 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1555 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1556 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1557 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1558 </hbase-surefire.cygwin-argLine>
1559 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1560 <argLine>${hbase-surefire.argLine}</argLine>
1561 <jacoco.version>0.7.5.201505241946</jacoco.version>
1562 <extra.enforcer.version>1.3</extra.enforcer.version>
1563 <enforcer.version>3.0.0-M3</enforcer.version>
1564 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1565 <!-- Location of test resources -->
1566 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1567 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1568 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1569 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1570 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1571 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1572 <build.id>${maven.build.timestamp}</build.id>
1573 <shell-executable>bash</shell-executable>
1574 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1575 property as of javadoc-plugin 3.0.0 -->
1576 <doclint>none</doclint>
1578 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1579 <dependencyManagement>
1582 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1583 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1584 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1585 implementation of the same, because Hadoop also uses this version
1586 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1587 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1589 <!-- Intra-module dependencies -->
1591 <groupId>org.apache.hbase</groupId>
1592 <artifactId>hbase-annotations</artifactId>
1593 <version>${project.version}</version>
1594 <type>test-jar</type>
1595 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1598 <groupId>org.apache.hbase</groupId>
1599 <artifactId>hbase-common</artifactId>
1600 <version>${project.version}</version>
1603 <groupId>org.apache.hbase</groupId>
1604 <artifactId>hbase-common</artifactId>
1605 <version>${project.version}</version>
1606 <type>test-jar</type>
1610 <groupId>org.apache.hbase</groupId>
1611 <artifactId>hbase-logging</artifactId>
1612 <version>${project.version}</version>
1615 <groupId>org.apache.hbase</groupId>
1616 <artifactId>hbase-logging</artifactId>
1617 <version>${project.version}</version>
1618 <type>test-jar</type>
1622 <groupId>org.apache.hbase</groupId>
1623 <artifactId>hbase-protocol-shaded</artifactId>
1624 <version>${project.version}</version>
1627 <groupId>org.apache.hbase</groupId>
1628 <artifactId>hbase-protocol</artifactId>
1629 <version>${project.version}</version>
1632 <groupId>org.apache.hbase</groupId>
1633 <artifactId>hbase-procedure</artifactId>
1634 <version>${project.version}</version>
1637 <groupId>org.apache.hbase</groupId>
1638 <artifactId>hbase-procedure</artifactId>
1639 <version>${project.version}</version>
1640 <type>test-jar</type>
1643 <groupId>org.apache.hbase</groupId>
1644 <artifactId>hbase-hadoop-compat</artifactId>
1645 <version>${project.version}</version>
1648 <groupId>org.apache.hbase</groupId>
1649 <artifactId>hbase-hadoop-compat</artifactId>
1650 <version>${project.version}</version>
1651 <type>test-jar</type>
1655 <groupId>org.apache.hbase</groupId>
1656 <artifactId>${compat.module}</artifactId>
1657 <version>${project.version}</version>
1660 <groupId>org.apache.hbase</groupId>
1661 <artifactId>${compat.module}</artifactId>
1662 <version>${project.version}</version>
1663 <type>test-jar</type>
1667 <artifactId>hbase-rsgroup</artifactId>
1668 <groupId>org.apache.hbase</groupId>
1669 <version>${project.version}</version>
1672 <artifactId>hbase-rsgroup</artifactId>
1673 <groupId>org.apache.hbase</groupId>
1674 <version>${project.version}</version>
1675 <type>test-jar</type>
1679 <artifactId>hbase-replication</artifactId>
1680 <groupId>org.apache.hbase</groupId>
1681 <version>${project.version}</version>
1684 <artifactId>hbase-http</artifactId>
1685 <groupId>org.apache.hbase</groupId>
1686 <version>${project.version}</version>
1689 <artifactId>hbase-http</artifactId>
1690 <groupId>org.apache.hbase</groupId>
1691 <version>${project.version}</version>
1692 <type>test-jar</type>
1696 <artifactId>hbase-server</artifactId>
1697 <groupId>org.apache.hbase</groupId>
1698 <version>${project.version}</version>
1701 <artifactId>hbase-server</artifactId>
1702 <groupId>org.apache.hbase</groupId>
1703 <version>${project.version}</version>
1704 <type>test-jar</type>
1708 <artifactId>hbase-mapreduce</artifactId>
1709 <groupId>org.apache.hbase</groupId>
1710 <version>${project.version}</version>
1713 <artifactId>hbase-mapreduce</artifactId>
1714 <groupId>org.apache.hbase</groupId>
1715 <version>${project.version}</version>
1716 <type>test-jar</type>
1720 <artifactId>hbase-endpoint</artifactId>
1721 <groupId>org.apache.hbase</groupId>
1722 <version>${project.version}</version>
1725 <artifactId>hbase-shell</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1730 <artifactId>hbase-shell</artifactId>
1731 <groupId>org.apache.hbase</groupId>
1732 <version>${project.version}</version>
1733 <type>test-jar</type>
1737 <artifactId>hbase-thrift</artifactId>
1738 <groupId>org.apache.hbase</groupId>
1739 <version>${project.version}</version>
1742 <artifactId>hbase-thrift</artifactId>
1743 <groupId>org.apache.hbase</groupId>
1744 <version>${project.version}</version>
1745 <type>test-jar</type>
1749 <groupId>org.apache.hbase</groupId>
1750 <artifactId>hbase-testing-util</artifactId>
1751 <version>${project.version}</version>
1755 <artifactId>hbase-examples</artifactId>
1756 <groupId>org.apache.hbase</groupId>
1757 <version>${project.version}</version>
1760 <groupId>org.apache.hbase</groupId>
1761 <artifactId>hbase-external-blockcache</artifactId>
1762 <version>${project.version}</version>
1765 <artifactId>hbase-it</artifactId>
1766 <groupId>org.apache.hbase</groupId>
1767 <version>${project.version}</version>
1768 <type>test-jar</type>
1772 <artifactId>hbase-client</artifactId>
1773 <groupId>org.apache.hbase</groupId>
1774 <version>${project.version}</version>
1777 <artifactId>hbase-metrics-api</artifactId>
1778 <groupId>org.apache.hbase</groupId>
1779 <version>${project.version}</version>
1782 <artifactId>hbase-metrics-api</artifactId>
1783 <groupId>org.apache.hbase</groupId>
1784 <version>${project.version}</version>
1785 <type>test-jar</type>
1789 <artifactId>hbase-metrics</artifactId>
1790 <groupId>org.apache.hbase</groupId>
1791 <version>${project.version}</version>
1794 <artifactId>hbase-metrics</artifactId>
1795 <groupId>org.apache.hbase</groupId>
1796 <version>${project.version}</version>
1797 <type>test-jar</type>
1801 <artifactId>hbase-rest</artifactId>
1802 <groupId>org.apache.hbase</groupId>
1803 <version>${project.version}</version>
1806 <artifactId>hbase-resource-bundle</artifactId>
1807 <groupId>org.apache.hbase</groupId>
1808 <version>${project.version}</version>
1811 <artifactId>hbase-zookeeper</artifactId>
1812 <groupId>org.apache.hbase</groupId>
1813 <version>${project.version}</version>
1816 <groupId>com.google.code.findbugs</groupId>
1817 <artifactId>jsr305</artifactId>
1820 <groupId>com.github.spotbugs</groupId>
1821 <artifactId>spotbugs-annotations</artifactId>
1826 <artifactId>hbase-zookeeper</artifactId>
1827 <groupId>org.apache.hbase</groupId>
1828 <version>${project.version}</version>
1829 <type>test-jar</type>
1833 <artifactId>hbase-hbtop</artifactId>
1834 <groupId>org.apache.hbase</groupId>
1835 <version>${project.version}</version>
1838 <groupId>org.apache.hbase</groupId>
1839 <artifactId>hbase-shaded-client</artifactId>
1840 <version>${project.version}</version>
1843 <groupId>org.apache.hbase</groupId>
1844 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1845 <version>${project.version}</version>
1848 <groupId>org.apache.hbase</groupId>
1849 <artifactId>hbase-shaded-mapreduce</artifactId>
1850 <version>${project.version}</version>
1853 <groupId>org.apache.hbase</groupId>
1854 <artifactId>hbase-asyncfs</artifactId>
1855 <version>${project.version}</version>
1858 <groupId>org.apache.hbase</groupId>
1859 <artifactId>hbase-asyncfs</artifactId>
1860 <version>${project.version}</version>
1861 <type>test-jar</type>
1864 <!-- General dependencies -->
1866 <groupId>com.github.stephenc.findbugs</groupId>
1867 <artifactId>findbugs-annotations</artifactId>
1868 <version>${findbugs-annotations.version}</version>
1871 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1872 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1873 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1874 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1875 scope as it will mess up the logging framework for downstream users.
1876 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1877 on use these logging framework so we need to redirect their log message to slf4j, and then
1878 redirect the log message to our log4j framework.
1881 <groupId>org.codehaus.jettison</groupId>
1882 <artifactId>jettison</artifactId>
1883 <version>${jettison.version}</version>
1886 <groupId>org.slf4j</groupId>
1887 <artifactId>slf4j-api</artifactId>
1888 <version>${slf4j.version}</version>
1891 <groupId>org.slf4j</groupId>
1892 <artifactId>slf4j-log4j12</artifactId>
1893 <version>${slf4j.version}</version>
1896 <groupId>org.slf4j</groupId>
1897 <artifactId>jcl-over-slf4j</artifactId>
1898 <version>${slf4j.version}</version>
1901 <groupId>org.slf4j</groupId>
1902 <artifactId>jul-to-slf4j</artifactId>
1903 <version>${slf4j.version}</version>
1906 <groupId>log4j</groupId>
1907 <artifactId>log4j</artifactId>
1908 <version>${log4j.version}</version>
1910 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1912 <groupId>org.apache.avro</groupId>
1913 <artifactId>avro</artifactId>
1914 <version>${avro.version}</version>
1916 <!--This is not used by hbase directly. Used by thrift,
1917 dropwizard and zk.-->
1919 <groupId>com.github.ben-manes.caffeine</groupId>
1920 <artifactId>caffeine</artifactId>
1921 <version>${caffeine.version}</version>
1924 <groupId>io.dropwizard.metrics</groupId>
1925 <artifactId>metrics-core</artifactId>
1926 <version>${metrics-core.version}</version>
1929 <groupId>org.apache.httpcomponents</groupId>
1930 <artifactId>httpclient</artifactId>
1931 <version>${httpclient.version}</version>
1934 <groupId>org.apache.httpcomponents</groupId>
1935 <artifactId>httpcore</artifactId>
1936 <version>${httpcore.version}</version>
1939 <groupId>commons-codec</groupId>
1940 <artifactId>commons-codec</artifactId>
1941 <version>${commons-codec.version}</version>
1944 <groupId>commons-io</groupId>
1945 <artifactId>commons-io</artifactId>
1946 <version>${commons-io.version}</version>
1949 <groupId>org.apache.commons</groupId>
1950 <artifactId>commons-lang3</artifactId>
1951 <version>${commons-lang3.version}</version>
1954 <groupId>org.apache.commons</groupId>
1955 <artifactId>commons-math3</artifactId>
1956 <version>${commons-math.version}</version>
1959 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1962 <groupId>commons-logging</groupId>
1963 <artifactId>commons-logging</artifactId>
1964 <version>1.2</version>
1967 <groupId>org.apache.zookeeper</groupId>
1968 <artifactId>zookeeper</artifactId>
1969 <version>${zookeeper.version}</version>
1972 <groupId>com.google.code.findbugs</groupId>
1973 <artifactId>jsr305</artifactId>
1976 <groupId>com.github.spotbugs</groupId>
1977 <artifactId>spotbugs-annotations</artifactId>
1980 <groupId>jline</groupId>
1981 <artifactId>jline</artifactId>
1984 <groupId>com.sun.jmx</groupId>
1985 <artifactId>jmxri</artifactId>
1988 <groupId>com.sun.jdmk</groupId>
1989 <artifactId>jmxtools</artifactId>
1992 <groupId>javax.jms</groupId>
1993 <artifactId>jms</artifactId>
1996 <groupId>io.netty</groupId>
1997 <artifactId>netty</artifactId>
2000 <groupId>org.slf4j</groupId>
2001 <artifactId>slf4j-log4j12</artifactId>
2004 <groupId>log4j</groupId>
2005 <artifactId>log4j</artifactId>
2010 <groupId>jline</groupId>
2011 <artifactId>jline</artifactId>
2012 <version>${jline.version}</version>
2015 <groupId>org.apache.thrift</groupId>
2016 <artifactId>libthrift</artifactId>
2017 <version>${thrift.version}</version>
2020 <groupId>org.slf4j</groupId>
2021 <artifactId>slf4j-simple</artifactId>
2026 <groupId>org.jruby</groupId>
2027 <artifactId>jruby-complete</artifactId>
2028 <version>${jruby.version}</version>
2031 <groupId>org.jruby.jcodings</groupId>
2032 <artifactId>jcodings</artifactId>
2033 <version>${jcodings.version}</version>
2036 <groupId>org.jruby.joni</groupId>
2037 <artifactId>joni</artifactId>
2038 <version>${joni.version}</version>
2041 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2042 <artifactId>jackson-jaxrs-json-provider</artifactId>
2043 <version>${jackson.version}</version>
2046 <groupId>com.fasterxml.jackson.core</groupId>
2047 <artifactId>jackson-annotations</artifactId>
2048 <version>${jackson.version}</version>
2051 <groupId>com.fasterxml.jackson.core</groupId>
2052 <artifactId>jackson-core</artifactId>
2053 <version>${jackson.version}</version>
2056 <groupId>com.fasterxml.jackson.core</groupId>
2057 <artifactId>jackson-databind</artifactId>
2058 <version>${jackson.databind.version}</version>
2061 <groupId>org.jamon</groupId>
2062 <artifactId>jamon-runtime</artifactId>
2063 <version>${jamon-runtime.version}</version>
2065 <!-- REST dependencies -->
2067 <groupId>javax.servlet</groupId>
2068 <artifactId>javax.servlet-api</artifactId>
2069 <version>${servlet.api.version}</version>
2072 <groupId>javax.ws.rs</groupId>
2073 <artifactId>javax.ws.rs-api</artifactId>
2074 <version>${wx.rs.api.version}</version>
2077 <groupId>com.sun.activation</groupId>
2078 <artifactId>javax.activation</artifactId>
2079 <version>1.2.0</version>
2082 <groupId>javax.annotation</groupId>
2083 <artifactId>javax.annotation-api</artifactId>
2084 <version>1.2</version>
2087 <groupId>com.google.protobuf</groupId>
2088 <artifactId>protobuf-java</artifactId>
2089 <version>${external.protobuf.version}</version>
2092 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2093 <groupId>org.glassfish.web</groupId>
2094 <artifactId>javax.servlet.jsp</artifactId>
2095 <version>${glassfish.jsp.version}</version>
2098 <!-- this lib is used by the compiled Jsp from the above JspC -->
2099 <groupId>javax.servlet.jsp</groupId>
2100 <artifactId>javax.servlet.jsp-api</artifactId>
2101 <version>2.3.1</version>
2104 <groupId>org.glassfish</groupId>
2105 <artifactId>javax.el</artifactId>
2106 <version>${glassfish.el.version}</version>
2109 <groupId>javax.xml.bind</groupId>
2110 <artifactId>jaxb-api</artifactId>
2111 <version>${jaxb-api.version}</version>
2114 <groupId>javax.xml.stream</groupId>
2115 <artifactId>stax-api</artifactId>
2120 <groupId>junit</groupId>
2121 <artifactId>junit</artifactId>
2122 <version>${junit.version}</version>
2125 <groupId>org.hamcrest</groupId>
2126 <artifactId>hamcrest-core</artifactId>
2127 <version>${hamcrest.version}</version>
2130 <groupId>org.hamcrest</groupId>
2131 <artifactId>hamcrest-library</artifactId>
2132 <version>${hamcrest.version}</version>
2135 <groupId>org.mockito</groupId>
2136 <artifactId>mockito-core</artifactId>
2137 <version>${mockito-core.version}</version>
2141 <groupId>org.apache.htrace</groupId>
2142 <artifactId>htrace-core4</artifactId>
2143 <version>${htrace.version}</version>
2146 <groupId>com.lmax</groupId>
2147 <artifactId>disruptor</artifactId>
2148 <version>${disruptor.version}</version>
2151 <groupId>net.spy</groupId>
2152 <artifactId>spymemcached</artifactId>
2153 <version>${spy.version}</version>
2154 <optional>true</optional>
2157 <groupId>org.bouncycastle</groupId>
2158 <artifactId>bcprov-jdk15on</artifactId>
2159 <version>${bouncycastle.version}</version>
2163 <groupId>org.apache.kerby</groupId>
2164 <artifactId>kerb-core</artifactId>
2165 <version>${kerby.version}</version>
2168 <groupId>org.apache.kerby</groupId>
2169 <artifactId>kerb-client</artifactId>
2170 <version>${kerby.version}</version>
2173 <groupId>org.apache.kerby</groupId>
2174 <artifactId>kerb-simplekdc</artifactId>
2175 <version>${kerby.version}</version>
2178 <groupId>org.apache.commons</groupId>
2179 <artifactId>commons-crypto</artifactId>
2180 <version>${commons-crypto.version}</version>
2183 <groupId>net.java.dev.jna</groupId>
2184 <artifactId>jna</artifactId>
2189 <groupId>org.apache.curator</groupId>
2190 <artifactId>curator-framework</artifactId>
2191 <version>${curator.version}</version>
2194 <groupId>org.apache.zookeeper</groupId>
2195 <artifactId>zookeeper</artifactId>
2200 <groupId>org.apache.curator</groupId>
2201 <artifactId>curator-client</artifactId>
2202 <version>${curator.version}</version>
2205 <groupId>com.google.guava</groupId>
2206 <artifactId>guava</artifactId>
2209 <groupId>org.apache.zookeeper</groupId>
2210 <artifactId>zookeeper</artifactId>
2215 <groupId>org.apache.curator</groupId>
2216 <artifactId>curator-recipes</artifactId>
2217 <version>${curator.version}</version>
2220 <groupId>com.google.guava</groupId>
2221 <artifactId>guava</artifactId>
2224 <groupId>org.apache.zookeeper</groupId>
2225 <artifactId>zookeeper</artifactId>
2230 <groupId>org.apache.yetus</groupId>
2231 <artifactId>audience-annotations</artifactId>
2232 <version>${audience-annotations.version}</version>
2235 <groupId>org.apache.hbase.thirdparty</groupId>
2236 <artifactId>hbase-shaded-gson</artifactId>
2237 <version>${hbase-thirdparty.version}</version>
2240 <groupId>org.apache.hbase.thirdparty</groupId>
2241 <artifactId>hbase-shaded-miscellaneous</artifactId>
2242 <version>${hbase-thirdparty.version}</version>
2245 <groupId>org.apache.hbase.thirdparty</groupId>
2246 <artifactId>hbase-shaded-netty</artifactId>
2247 <version>${hbase-thirdparty.version}</version>
2250 <groupId>org.apache.hbase.thirdparty</groupId>
2251 <artifactId>hbase-shaded-protobuf</artifactId>
2252 <version>${hbase-thirdparty.version}</version>
2255 <groupId>org.apache.hbase.thirdparty</groupId>
2256 <artifactId>hbase-shaded-jetty</artifactId>
2257 <version>${hbase-thirdparty.version}</version>
2260 <groupId>org.apache.hbase.thirdparty</groupId>
2261 <artifactId>hbase-shaded-jersey</artifactId>
2262 <version>${hbase-thirdparty.version}</version>
2265 <groupId>com.sun.xml.ws</groupId>
2266 <artifactId>jaxws-ri</artifactId>
2267 <version>2.3.2</version>
2271 <groupId>javax.activation</groupId>
2272 <artifactId>javax.activation-api</artifactId>
2277 </dependencyManagement>
2279 <!--REMOVE THIS. HERE TEMPORARILY.
2280 Implication is that every module needs junit which is not so.
2281 Cannot undo though because build runs test on each module and
2282 it fails if no junit. TODO. -->
2284 <groupId>junit</groupId>
2285 <artifactId>junit</artifactId>
2291 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2296 <id>apache.releases.https</id>
2297 <username>hbase_committer</username>
2298 <password>********</password>
2302 <id>apache.snapshots.https</id>
2303 <username>hbase_committer</username>
2304 <password>********</password>
2312 $ mvn -s /my/path/settings.xml deploy
2320 <name>!skip-rsgroup</name>
2324 <module>hbase-rsgroup</module>
2328 <id>build-with-jdk8</id>
2340 <id>build-with-jdk11</id>
2345 <!-- TODO: replicate logic for windows support -->
2346 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2347 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2348 <hadoop-three.version>3.2.0</hadoop-three.version>
2350 Value to use for surefire when running jdk11.
2351 TODO: replicate logic for windows
2353 <surefire.Xmx>2200m</surefire.Xmx>
2358 <groupId>org.apache.maven.plugins</groupId>
2359 <artifactId>maven-enforcer-plugin</artifactId>
2362 <id>hadoop3-profile-required</id>
2364 <goal>enforce</goal>
2370 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2371 enforcer plugin does not see active profiles on sub-modules, so enforce based
2372 on the presence of the activation property and value.
2374 <property>hadoop.profile</property>
2375 <regex>.*3\.0$</regex>
2377 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2380 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2391 <!-- profile activated by the Jenkins patch testing job -->
2393 <id>jenkins.patch</id>
2395 <activeByDefault>false</activeByDefault>
2397 <name>HBasePatchProcess</name>
2401 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2406 <groupId>org.apache.maven.plugins</groupId>
2407 <artifactId>maven-antrun-plugin</artifactId>
2408 <inherited>false</inherited>
2411 <phase>validate</phase>
2417 <echo>Maven Execution Environment</echo>
2418 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2430 <activeByDefault>false</activeByDefault>
2435 <groupId>org.jacoco</groupId>
2436 <artifactId>jacoco-maven-plugin</artifactId>
2437 <version>${jacoco.version}</version>
2440 <id>prepare-agent</id>
2442 <goal>prepare-agent</goal>
2447 <phase>prepare-package</phase>
2454 <systemPropertyVariables>
2455 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2456 </systemPropertyVariables>
2458 <exclude>**/generated/**/*.class</exclude>
2468 <activeByDefault>false</activeByDefault>
2470 <family>Linux</family>
2474 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2481 <family>Mac</family>
2485 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2492 <family>Windows</family>
2496 <build.platform>cygwin</build.platform>
2497 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2500 <!-- this profile should match the name of the release profile in the root asf pom -->
2502 <id>apache-release</id>
2505 <!-- This should insert itself in place of the normal deploy plugin and then
2506 handle either closing or dropping the staging repository for us depending
2507 on if the build succeeds.
2510 <groupId>org.sonatype.plugins</groupId>
2511 <artifactId>nexus-staging-maven-plugin</artifactId>
2512 <version>1.6.8</version>
2513 <extensions>true</extensions>
2515 <nexusUrl>https://repository.apache.org/</nexusUrl>
2516 <serverId>apache.releases.https</serverId>
2522 <!-- this profile should be activated for release builds -->
2528 <groupId>org.apache.rat</groupId>
2529 <artifactId>apache-rat-plugin</artifactId>
2532 <phase>package</phase>
2540 <groupId>org.apache.maven.plugins</groupId>
2541 <artifactId>maven-enforcer-plugin</artifactId>
2542 <version>${enforcer.version}</version>
2545 <groupId>org.codehaus.mojo</groupId>
2546 <artifactId>extra-enforcer-rules</artifactId>
2547 <version>${extra.enforcer.version}</version>
2552 <enforceBytecodeVersion>
2553 <maxJdkVersion>${compileSource}</maxJdkVersion>
2554 <message>HBase has unsupported dependencies.
2555 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2556 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2557 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2558 Non-release builds can temporarily build with a newer JDK version by setting the
2559 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2562 <ignoreClass>module-info</ignoreClass>
2564 </enforceBytecodeVersion>
2571 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2572 <!-- Submodules that need hadoop dependencies should declare
2573 profiles with activation properties matching the profile here.
2574 Generally, it should be sufficient to copy the first
2575 few lines of the profile you want to match. -->
2576 <!-- profile for building against Hadoop 2.0.x
2577 This is the default.
2583 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2584 <!--h2--><name>!hadoop.profile</name>
2588 <module>hbase-hadoop2-compat</module>
2591 <hadoop.version>${hadoop-two.version}</hadoop.version>
2592 <compat.module>hbase-hadoop2-compat</compat.module>
2593 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2594 <!--This property is for hadoops netty. HBase netty
2595 comes in via hbase-thirdparty hbase-shaded-netty-->
2596 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2598 <dependencyManagement>
2601 <groupId>org.apache.hadoop</groupId>
2602 <artifactId>hadoop-mapreduce-client-core</artifactId>
2603 <version>${hadoop-two.version}</version>
2606 <groupId>com.sun.jersey</groupId>
2607 <artifactId>jersey-core</artifactId>
2610 <groupId>org.codehaus.jackson</groupId>
2611 <artifactId>jackson-jaxrs</artifactId>
2614 <groupId>org.codehaus.jackson</groupId>
2615 <artifactId>jackson-xc</artifactId>
2618 <groupId>io.netty</groupId>
2619 <artifactId>netty</artifactId>
2622 <groupId>javax.servlet</groupId>
2623 <artifactId>servlet-api</artifactId>
2626 <groupId>javax.inject</groupId>
2627 <artifactId>javax.inject</artifactId>
2630 <groupId>org.codehaus.jackson</groupId>
2631 <artifactId>jackson-core-asl</artifactId>
2634 <groupId>org.codehaus.jackson</groupId>
2635 <artifactId>jackson-mapper-asl</artifactId>
2640 <groupId>org.apache.hadoop</groupId>
2641 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2642 <version>${hadoop-two.version}</version>
2645 <groupId>com.sun.jersey</groupId>
2646 <artifactId>jersey-core</artifactId>
2649 <groupId>io.netty</groupId>
2650 <artifactId>netty</artifactId>
2653 <groupId>javax.servlet</groupId>
2654 <artifactId>servlet-api</artifactId>
2659 <groupId>org.apache.hadoop</groupId>
2660 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2661 <version>${hadoop-two.version}</version>
2662 <type>test-jar</type>
2666 <groupId>com.sun.jersey</groupId>
2667 <artifactId>jersey-core</artifactId>
2670 <groupId>io.netty</groupId>
2671 <artifactId>netty</artifactId>
2674 <groupId>javax.servlet</groupId>
2675 <artifactId>servlet-api</artifactId>
2680 <groupId>org.apache.hadoop</groupId>
2681 <artifactId>hadoop-hdfs</artifactId>
2682 <version>${hadoop-two.version}</version>
2685 <groupId>com.sun.jersey</groupId>
2686 <artifactId>jersey-core</artifactId>
2689 <groupId>javax.servlet.jsp</groupId>
2690 <artifactId>jsp-api</artifactId>
2693 <groupId>javax.servlet</groupId>
2694 <artifactId>servlet-api</artifactId>
2697 <groupId>io.netty</groupId>
2698 <artifactId>netty</artifactId>
2701 <groupId>stax</groupId>
2702 <artifactId>stax-api</artifactId>
2705 <groupId>xerces</groupId>
2706 <artifactId>xercesImpl</artifactId>
2709 <groupId>org.codehaus.jackson</groupId>
2710 <artifactId>jackson-core-asl</artifactId>
2713 <groupId>org.codehaus.jackson</groupId>
2714 <artifactId>jackson-mapper-asl</artifactId>
2717 <groupId>com.google.guava</groupId>
2718 <artifactId>guava</artifactId>
2723 <groupId>org.apache.hadoop</groupId>
2724 <artifactId>hadoop-hdfs</artifactId>
2725 <version>${hadoop-two.version}</version>
2726 <type>test-jar</type>
2730 <groupId>javax.servlet.jsp</groupId>
2731 <artifactId>jsp-api</artifactId>
2734 <groupId>javax.servlet</groupId>
2735 <artifactId>servlet-api</artifactId>
2738 <groupId>io.netty</groupId>
2739 <artifactId>netty</artifactId>
2742 <groupId>stax</groupId>
2743 <artifactId>stax-api</artifactId>
2746 <groupId>xerces</groupId>
2747 <artifactId>xercesImpl</artifactId>
2750 <groupId>org.codehaus.jackson</groupId>
2751 <artifactId>jackson-core-asl</artifactId>
2754 <groupId>org.codehaus.jackson</groupId>
2755 <artifactId>jackson-mapper-asl</artifactId>
2758 <groupId>com.google.guava</groupId>
2759 <artifactId>guava</artifactId>
2762 <groupId>com.sun.jersey</groupId>
2763 <artifactId>jersey-core</artifactId>
2768 <groupId>org.apache.hadoop</groupId>
2769 <artifactId>hadoop-auth</artifactId>
2770 <version>${hadoop-two.version}</version>
2773 <groupId>com.google.guava</groupId>
2774 <artifactId>guava</artifactId>
2777 <groupId>net.minidev</groupId>
2778 <artifactId>json-smart</artifactId>
2783 <groupId>org.apache.hadoop</groupId>
2784 <artifactId>hadoop-common</artifactId>
2785 <version>${hadoop-two.version}</version>
2788 <groupId>com.sun.jersey</groupId>
2789 <artifactId>jersey-core</artifactId>
2792 <groupId>org.codehaus.jackson</groupId>
2793 <artifactId>jackson-jaxrs</artifactId>
2796 <groupId>org.codehaus.jackson</groupId>
2797 <artifactId>jackson-xc</artifactId>
2800 <groupId>commons-beanutils</groupId>
2801 <artifactId>commons-beanutils</artifactId>
2804 <groupId>javax.servlet.jsp</groupId>
2805 <artifactId>jsp-api</artifactId>
2808 <groupId>javax.servlet</groupId>
2809 <artifactId>servlet-api</artifactId>
2812 <groupId>stax</groupId>
2813 <artifactId>stax-api</artifactId>
2816 <groupId>io.netty</groupId>
2817 <artifactId>netty</artifactId>
2820 <groupId>com.google.code.findbugs</groupId>
2821 <artifactId>jsr305</artifactId>
2824 <groupId>junit</groupId>
2825 <artifactId>junit</artifactId>
2828 <groupId>org.codehaus.jackson</groupId>
2829 <artifactId>jackson-core-asl</artifactId>
2832 <groupId>org.codehaus.jackson</groupId>
2833 <artifactId>jackson-mapper-asl</artifactId>
2838 <groupId>org.apache.hadoop</groupId>
2839 <artifactId>hadoop-common</artifactId>
2840 <version>${hadoop-two.version}</version>
2841 <type>test-jar</type>
2845 <groupId>com.sun.jersey</groupId>
2846 <artifactId>jersey-core</artifactId>
2849 <groupId>com.google.code.findbugs</groupId>
2850 <artifactId>jsr305</artifactId>
2853 <groupId>org.codehaus.jackson</groupId>
2854 <artifactId>jackson-jaxrs</artifactId>
2857 <groupId>org.codehaus.jackson</groupId>
2858 <artifactId>jackson-xc</artifactId>
2864 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2865 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2867 <groupId>javax.activation</groupId>
2868 <artifactId>javax.activation-api</artifactId>
2869 <version>1.2.0</version>
2873 <groupId>org.apache.hadoop</groupId>
2874 <artifactId>hadoop-client</artifactId>
2875 <version>${hadoop-two.version}</version>
2877 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2878 Where do we actually need it? -->
2880 <groupId>org.apache.hadoop</groupId>
2881 <artifactId>hadoop-minicluster</artifactId>
2882 <version>${hadoop-two.version}</version>
2884 <!--If we comment this in, a few tests in hbase-mapreduce
2885 fail. They depend on jersey-core somehow. But excluding
2886 jersey-core here messes up hbase-it because jersey-core
2887 implements a 1.x jaxrs Response Interface when we depend
2888 on the 2.x Interface... . Letting this jar come in
2889 transitively here but will exclude it down in hbase-it.
2892 <groupId>com.sun.jersey</groupId>
2893 <artifactId>jersey-core</artifactId>
2897 <groupId>commons-httpclient</groupId>
2898 <artifactId>commons-httpclient</artifactId>
2901 <groupId>javax.servlet.jsp</groupId>
2902 <artifactId>jsp-api</artifactId>
2905 <groupId>javax.servlet</groupId>
2906 <artifactId>servlet-api</artifactId>
2909 <groupId>stax</groupId>
2910 <artifactId>stax-api</artifactId>
2913 <groupId>io.netty</groupId>
2914 <artifactId>netty</artifactId>
2917 <groupId>com.google.code.findbugs</groupId>
2918 <artifactId>jsr305</artifactId>
2923 <groupId>org.apache.hadoop</groupId>
2924 <artifactId>hadoop-minikdc</artifactId>
2925 <version>${hadoop-two.version}</version>
2929 <groupId>org.apache.hadoop</groupId>
2930 <artifactId>hadoop-annotations</artifactId>
2931 <version>${hadoop-two.version}</version>
2935 <groupId>org.apache.hadoop</groupId>
2936 <artifactId>hadoop-distcp</artifactId>
2937 <version>${hadoop-two.version}</version>
2941 <groupId>org.apache.hadoop</groupId>
2942 <artifactId>hadoop-hdfs-client</artifactId>
2943 <version>${hadoop-two.version}</version>
2946 </dependencyManagement>
2949 profile for building against Hadoop 3.0.0. Activate using:
2950 mvn -Dhadoop.profile=3.0
2956 <name>hadoop.profile</name>
2961 <!--For now, use hadoop2 compat module-->
2962 <module>hbase-hadoop2-compat</module>
2965 <hadoop.profile>3.0</hadoop.profile>
2966 <hadoop.version>${hadoop-three.version}</hadoop.version>
2967 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2968 <compat.module>hbase-hadoop2-compat</compat.module>
2969 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2970 <!--This property is for hadoops netty. HBase netty
2971 comes in via hbase-thirdparty hbase-shaded-netty-->
2972 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2974 <dependencyManagement>
2977 <groupId>org.apache.hadoop</groupId>
2978 <artifactId>hadoop-mapreduce-client-core</artifactId>
2979 <version>${hadoop-three.version}</version>
2982 <groupId>com.sun.jersey</groupId>
2983 <artifactId>jersey-core</artifactId>
2986 <groupId>org.codehaus.jackson</groupId>
2987 <artifactId>jackson-jaxrs</artifactId>
2990 <groupId>org.codehaus.jackson</groupId>
2991 <artifactId>jackson-xc</artifactId>
2994 <groupId>io.netty</groupId>
2995 <artifactId>netty</artifactId>
2998 <groupId>javax.servlet</groupId>
2999 <artifactId>servlet-api</artifactId>
3002 <groupId>javax.inject</groupId>
3003 <artifactId>javax.inject</artifactId>
3006 <groupId>org.codehaus.jackson</groupId>
3007 <artifactId>jackson-core-asl</artifactId>
3010 <groupId>org.codehaus.jackson</groupId>
3011 <artifactId>jackson-mapper-asl</artifactId>
3014 <groupId>com.google.guava</groupId>
3015 <artifactId>guava</artifactId>
3018 <groupId>org.slf4j</groupId>
3019 <artifactId>slf4j-log4j12</artifactId>
3022 <groupId>log4j</groupId>
3023 <artifactId>log4j</artifactId>
3028 <groupId>org.apache.hadoop</groupId>
3029 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3030 <version>${hadoop-three.version}</version>
3033 <groupId>com.sun.jersey</groupId>
3034 <artifactId>jersey-core</artifactId>
3037 <groupId>io.netty</groupId>
3038 <artifactId>netty</artifactId>
3041 <groupId>javax.servlet</groupId>
3042 <artifactId>servlet-api</artifactId>
3045 <groupId>org.slf4j</groupId>
3046 <artifactId>slf4j-log4j12</artifactId>
3049 <groupId>log4j</groupId>
3050 <artifactId>log4j</artifactId>
3055 <groupId>org.apache.hadoop</groupId>
3056 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3057 <version>${hadoop-three.version}</version>
3058 <type>test-jar</type>
3062 <groupId>com.sun.jersey</groupId>
3063 <artifactId>jersey-core</artifactId>
3066 <groupId>io.netty</groupId>
3067 <artifactId>netty</artifactId>
3070 <groupId>javax.servlet</groupId>
3071 <artifactId>servlet-api</artifactId>
3074 <groupId>org.slf4j</groupId>
3075 <artifactId>slf4j-log4j12</artifactId>
3078 <groupId>log4j</groupId>
3079 <artifactId>log4j</artifactId>
3084 <groupId>org.apache.hadoop</groupId>
3085 <artifactId>hadoop-hdfs</artifactId>
3086 <version>${hadoop-three.version}</version>
3089 <groupId>com.sun.jersey</groupId>
3090 <artifactId>jersey-core</artifactId>
3093 <groupId>com.sun.jersey</groupId>
3094 <artifactId>jersey-server</artifactId>
3097 <groupId>javax.servlet.jsp</groupId>
3098 <artifactId>jsp-api</artifactId>
3101 <groupId>javax.servlet</groupId>
3102 <artifactId>servlet-api</artifactId>
3105 <groupId>stax</groupId>
3106 <artifactId>stax-api</artifactId>
3109 <groupId>xerces</groupId>
3110 <artifactId>xercesImpl</artifactId>
3113 <groupId>org.codehaus.jackson</groupId>
3114 <artifactId>jackson-core-asl</artifactId>
3117 <groupId>org.codehaus.jackson</groupId>
3118 <artifactId>jackson-mapper-asl</artifactId>
3121 <groupId>com.google.guava</groupId>
3122 <artifactId>guava</artifactId>
3125 <groupId>org.slf4j</groupId>
3126 <artifactId>slf4j-log4j12</artifactId>
3129 <groupId>log4j</groupId>
3130 <artifactId>log4j</artifactId>
3135 <groupId>org.apache.hadoop</groupId>
3136 <artifactId>hadoop-hdfs</artifactId>
3137 <version>${hadoop-three.version}</version>
3138 <type>test-jar</type>
3142 <groupId>javax.servlet.jsp</groupId>
3143 <artifactId>jsp-api</artifactId>
3146 <groupId>javax.servlet</groupId>
3147 <artifactId>servlet-api</artifactId>
3150 <groupId>stax</groupId>
3151 <artifactId>stax-api</artifactId>
3154 <groupId>xerces</groupId>
3155 <artifactId>xercesImpl</artifactId>
3158 <groupId>org.codehaus.jackson</groupId>
3159 <artifactId>jackson-core-asl</artifactId>
3162 <groupId>org.codehaus.jackson</groupId>
3163 <artifactId>jackson-mapper-asl</artifactId>
3166 <groupId>com.google.guava</groupId>
3167 <artifactId>guava</artifactId>
3170 <groupId>com.sun.jersey</groupId>
3171 <artifactId>jersey-core</artifactId>
3174 <groupId>org.slf4j</groupId>
3175 <artifactId>slf4j-log4j12</artifactId>
3178 <groupId>log4j</groupId>
3179 <artifactId>log4j</artifactId>
3184 <groupId>org.apache.hadoop</groupId>
3185 <artifactId>hadoop-hdfs</artifactId>
3186 <version>${hadoop-three.version}</version>
3187 <type>test-jar</type>
3188 <classifier>tests</classifier>
3192 <groupId>com.sun.jersey</groupId>
3193 <artifactId>jersey-core</artifactId>
3198 <groupId>org.apache.hadoop</groupId>
3199 <artifactId>hadoop-auth</artifactId>
3200 <version>${hadoop-three.version}</version>
3203 <groupId>com.google.guava</groupId>
3204 <artifactId>guava</artifactId>
3207 <groupId>net.minidev</groupId>
3208 <artifactId>json-smart</artifactId>
3211 <groupId>org.slf4j</groupId>
3212 <artifactId>slf4j-log4j12</artifactId>
3215 <groupId>log4j</groupId>
3216 <artifactId>log4j</artifactId>
3221 <groupId>org.apache.hadoop</groupId>
3222 <artifactId>hadoop-common</artifactId>
3223 <version>${hadoop-three.version}</version>
3226 <groupId>com.sun.jersey</groupId>
3227 <artifactId>jersey-core</artifactId>
3230 <groupId>com.sun.jersey</groupId>
3231 <artifactId>jersey-json</artifactId>
3234 <groupId>com.sun.jersey</groupId>
3235 <artifactId>jersey-servlet</artifactId>
3238 <groupId>com.sun.jersey</groupId>
3239 <artifactId>jersey-server</artifactId>
3242 <groupId>javax.servlet.jsp</groupId>
3243 <artifactId>jsp-api</artifactId>
3246 <groupId>javax.servlet</groupId>
3247 <artifactId>javax.servlet-api</artifactId>
3250 <groupId>stax</groupId>
3251 <artifactId>stax-api</artifactId>
3254 <groupId>io.netty</groupId>
3255 <artifactId>netty</artifactId>
3258 <groupId>com.google.code.findbugs</groupId>
3259 <artifactId>jsr305</artifactId>
3262 <groupId>junit</groupId>
3263 <artifactId>junit</artifactId>
3266 <groupId>org.codehause.jackson</groupId>
3267 <artifactId>jackson-core-asl</artifactId>
3270 <groupId>org.codehause.jackson</groupId>
3271 <artifactId>jackson-mapper-asl</artifactId>
3274 <groupId>org.slf4j</groupId>
3275 <artifactId>slf4j-log4j12</artifactId>
3278 <groupId>log4j</groupId>
3279 <artifactId>log4j</artifactId>
3285 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3287 <groupId>javax.activation</groupId>
3288 <artifactId>javax.activation-api</artifactId>
3289 <version>1.2.0</version>
3293 <groupId>org.apache.hadoop</groupId>
3294 <artifactId>hadoop-common</artifactId>
3295 <type>test-jar</type>
3296 <classifier>tests</classifier>
3297 <version>${hadoop-three.version}</version>
3300 <groupId>com.sun.jersey</groupId>
3301 <artifactId>jersey-core</artifactId>
3304 <groupId>com.google.code.findbugs</groupId>
3305 <artifactId>jsr305</artifactId>
3310 <groupId>org.apache.hadoop</groupId>
3311 <artifactId>hadoop-client</artifactId>
3312 <version>${hadoop-three.version}</version>
3315 <groupId>org.apache.hadoop</groupId>
3316 <artifactId>hadoop-annotations</artifactId>
3317 <version>${hadoop-three.version}</version>
3319 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3320 Where do we actually need it? -->
3322 <groupId>org.apache.hadoop</groupId>
3323 <artifactId>hadoop-minicluster</artifactId>
3324 <version>${hadoop-three.version}</version>
3326 <!--If we comment this in, a few tests in hbase-mapreduce
3327 fail. They depend on jersey-core somehow. But excluding
3328 jersey-core here messes up hbase-it because jersey-core
3329 implements a 1.x jaxrs Response Interface when we depend
3330 on the 2.x Interface... . Letting this jar come in
3331 transitively here but will exclude it down in hbase-it.
3334 <groupId>com.sun.jersey</groupId>
3335 <artifactId>jersey-core</artifactId>
3339 <groupId>commons-httpclient</groupId>
3340 <artifactId>commons-httpclient</artifactId>
3343 <groupId>javax.servlet.jsp</groupId>
3344 <artifactId>jsp-api</artifactId>
3347 <groupId>javax.servlet</groupId>
3348 <artifactId>servlet-api</artifactId>
3351 <groupId>stax</groupId>
3352 <artifactId>stax-api</artifactId>
3355 <groupId>io.netty</groupId>
3356 <artifactId>netty</artifactId>
3359 <groupId>com.google.code.findbugs</groupId>
3360 <artifactId>jsr305</artifactId>
3363 <groupId>org.slf4j</groupId>
3364 <artifactId>slf4j-log4j12</artifactId>
3367 <groupId>log4j</groupId>
3368 <artifactId>log4j</artifactId>
3373 <groupId>org.apache.hadoop</groupId>
3374 <artifactId>hadoop-minikdc</artifactId>
3375 <version>${hadoop-three.version}</version>
3379 <groupId>org.slf4j</groupId>
3380 <artifactId>slf4j-log4j12</artifactId>
3383 <groupId>log4j</groupId>
3384 <artifactId>log4j</artifactId>
3389 <groupId>org.apache.hadoop</groupId>
3390 <artifactId>hadoop-distcp</artifactId>
3391 <version>${hadoop-three.version}</version>
3395 <groupId>org.apache.hadoop</groupId>
3396 <artifactId>hadoop-hdfs-client</artifactId>
3397 <version>${hadoop-three.version}</version>
3400 </dependencyManagement>
3403 <!-- profiles for the tests
3404 See as well the properties of the project for the values
3405 when no profile is active. -->
3407 <!-- Use it to launch all tests in the same JVM -->
3408 <id>singleJVMTests</id>
3410 <activeByDefault>false</activeByDefault>
3413 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3414 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3415 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3416 <surefire.firstPartGroups/>
3420 <!-- Use it to launch small tests only -->
3421 <id>runSmallTests</id>
3423 <activeByDefault>false</activeByDefault>
3426 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3427 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3428 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3429 <surefire.secondPartGroups/>
3433 <!-- Use it to launch medium tests only -->
3434 <id>runMediumTests</id>
3436 <activeByDefault>false</activeByDefault>
3439 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3440 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3441 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3442 <surefire.secondPartGroups/>
3446 <!-- Use it to launch large tests only -->
3447 <id>runLargeTests</id>
3449 <activeByDefault>false</activeByDefault>
3452 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3453 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3454 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3455 <surefire.secondPartGroups/>
3459 <!-- Use it to launch small & medium tests -->
3460 <id>runDevTests</id>
3462 <activeByDefault>false</activeByDefault>
3465 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3466 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3467 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3468 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3469 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3473 <!-- Use it to launch all tests -->
3474 <id>runAllTests</id>
3476 <activeByDefault>false</activeByDefault>
3479 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3480 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3481 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3482 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3486 <id>runMiscTests</id>
3488 <activeByDefault>false</activeByDefault>
3491 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3492 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3493 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3494 </surefire.firstPartGroups>
3495 <surefire.secondPartGroups></surefire.secondPartGroups>
3499 <id>runCoprocessorTests</id>
3501 <activeByDefault>false</activeByDefault>
3504 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3505 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3506 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3507 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3508 <surefire.firstPartGroups>
3509 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3510 </surefire.firstPartGroups>
3511 <surefire.secondPartGroups></surefire.secondPartGroups>
3515 <id>runClientTests</id>
3517 <activeByDefault>false</activeByDefault>
3520 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3521 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3522 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3523 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3524 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3525 </surefire.firstPartGroups>
3526 <surefire.secondPartGroups></surefire.secondPartGroups>
3530 <id>runMasterTests</id>
3532 <activeByDefault>false</activeByDefault>
3535 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3536 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3537 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3538 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3539 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3540 </surefire.firstPartGroups>
3541 <surefire.secondPartGroups></surefire.secondPartGroups>
3545 <id>runMapredTests</id>
3547 <activeByDefault>false</activeByDefault>
3550 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3551 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3552 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3553 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3554 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3555 </surefire.firstPartGroups>
3556 <surefire.secondPartGroups></surefire.secondPartGroups>
3560 <id>runMapreduceTests</id>
3562 <activeByDefault>false</activeByDefault>
3565 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3566 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3567 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3568 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3569 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3570 </surefire.firstPartGroups>
3571 <surefire.secondPartGroups></surefire.secondPartGroups>
3575 <id>runRegionServerTests</id>
3577 <activeByDefault>false</activeByDefault>
3580 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3581 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3582 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3583 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3584 <surefire.firstPartGroups>
3585 org.apache.hadoop.hbase.testclassification.RegionServerTests
3586 </surefire.firstPartGroups>
3587 <surefire.secondPartGroups></surefire.secondPartGroups>
3591 <id>runVerySlowMapReduceTests</id>
3593 <activeByDefault>false</activeByDefault>
3596 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3597 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3598 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3599 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3600 <surefire.firstPartGroups>
3601 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3602 </surefire.firstPartGroups>
3603 <surefire.secondPartGroups></surefire.secondPartGroups>
3608 <id>runVerySlowRegionServerTests</id>
3610 <activeByDefault>false</activeByDefault>
3613 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3614 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3615 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3616 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3617 <surefire.firstPartGroups>
3618 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3619 </surefire.firstPartGroups>
3620 <surefire.secondPartGroups></surefire.secondPartGroups>
3625 <id>runFilterTests</id>
3627 <activeByDefault>false</activeByDefault>
3630 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3631 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3632 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3633 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3634 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3635 </surefire.firstPartGroups>
3636 <surefire.secondPartGroups></surefire.secondPartGroups>
3642 <activeByDefault>false</activeByDefault>
3645 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3646 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3647 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3648 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3649 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3650 </surefire.firstPartGroups>
3651 <surefire.secondPartGroups></surefire.secondPartGroups>
3655 <id>runRestTests</id>
3657 <activeByDefault>false</activeByDefault>
3660 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3661 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3662 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3663 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3664 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3665 </surefire.firstPartGroups>
3666 <surefire.secondPartGroups></surefire.secondPartGroups>
3670 <id>runRPCTests</id>
3672 <activeByDefault>false</activeByDefault>
3675 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3676 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3677 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3678 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3679 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3680 </surefire.firstPartGroups>
3681 <surefire.secondPartGroups></surefire.secondPartGroups>
3685 <id>runReplicationTests</id>
3687 <activeByDefault>false</activeByDefault>
3690 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3691 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3692 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3693 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3694 <surefire.firstPartGroups>
3695 org.apache.hadoop.hbase.testclassification.ReplicationTests
3696 </surefire.firstPartGroups>
3697 <surefire.secondPartGroups></surefire.secondPartGroups>
3701 <id>runSecurityTests</id>
3703 <activeByDefault>false</activeByDefault>
3706 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3707 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3708 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3709 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3710 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3711 </surefire.firstPartGroups>
3712 <surefire.secondPartGroups></surefire.secondPartGroups>
3716 <id>runFlakeyTests</id>
3718 <activeByDefault>false</activeByDefault>
3721 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3722 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3723 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3724 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3725 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3726 </surefire.firstPartGroups>
3727 <surefire.secondPartGroups></surefire.secondPartGroups>
3733 <activeByDefault>false</activeByDefault>
3736 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3737 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3738 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3739 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3740 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3741 </surefire.firstPartGroups>
3742 <surefire.secondPartGroups></surefire.secondPartGroups>
3747 <!-- Use it to launch tests locally-->
3755 <surefire.provider>surefire-junit4</surefire.provider>
3756 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3757 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3758 <surefire.firstPartGroups/>
3761 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3762 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3763 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3764 The report will be generated under target/site/clover/index.html when you run
3765 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3769 <activeByDefault>false</activeByDefault>
3775 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3779 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3780 our instrumented classes for the doclet will fail
3783 <groupId>org.apache.maven.plugins</groupId>
3784 <artifactId>maven-javadoc-plugin</artifactId>
3787 <groupId>com.atlassian.maven.plugins</groupId>
3788 <artifactId>maven-clover2-plugin</artifactId>
3789 <version>${clover.version}</version>
3794 <groupId>com.atlassian.maven.plugins</groupId>
3795 <artifactId>maven-clover2-plugin</artifactId>
3796 <version>${clover.version}</version>
3798 <includesAllSourceRoots>true</includesAllSourceRoots>
3799 <includesTestSourceRoots>true</includesTestSourceRoots>
3800 <targetPercentage>50%</targetPercentage>
3801 <generateHtml>true</generateHtml>
3802 <generateXml>true</generateXml>
3804 <exclude>**/generated/**</exclude>
3809 <id>clover-setup</id>
3810 <phase>process-sources</phase>
3828 <!-- Used by the website generation script on jenkins to
3829 do a local install of the jars we need to run a normal
3830 site build w/o forking.
3832 <id>site-install-step</id>
3834 <skipTests>true</skipTests>
3835 <maven.javadoc.skip>true</maven.javadoc.skip>
3836 <enforcer.skip>true</enforcer.skip>
3837 <checkstyle.skip>true</checkstyle.skip>
3838 <spotbugs.skip>true</spotbugs.skip>
3839 <warbucks.skip>true</warbucks.skip>
3843 <!-- Used by the website generation script on jenkins to
3844 mitigate the impact of unneeded build forks while building
3847 <id>site-build-step</id>
3849 <skipTests>true</skipTests>
3850 <enforcer.skip>true</enforcer.skip>
3851 <maven.main.skip>true</maven.main.skip>
3852 <maven.test.skip>true</maven.test.skip>
3853 <warbucks.skip>true</warbucks.skip>
3854 <protoc.skip>true</protoc.skip>
3855 <remoteresources.skip>true</remoteresources.skip>
3859 <id>eclipse-specific</id>
3862 <name>m2e.version</name>
3868 <!-- General config for eclipse classpath/settings -->
3870 <groupId>org.apache.maven.plugins</groupId>
3871 <artifactId>maven-eclipse-plugin</artifactId>
3872 <version>${maven.eclipse.version}</version>
3874 <!--This plugin's configuration is used to store Eclipse m2e settings
3875 only. It has no influence on the Maven build itself. m2e does not
3876 provide any safeguards against rogue maven plugins that leak
3877 classloaders, modify random files inside workspace or throw nasty
3878 exceptions to fail the build.
3879 Top level doesn't do any specific configuration currently - left
3880 to modules to decide what they want to bind, sans those plugins
3881 defined in this pom. -->
3883 <groupId>org.eclipse.m2e</groupId>
3884 <artifactId>lifecycle-mapping</artifactId>
3885 <version>${lifecycle.mapping.version}</version>
3887 <lifecycleMappingMetadata>
3890 <pluginExecutionFilter>
3891 <groupId>org.jacoco</groupId>
3892 <artifactId>jacoco-maven-plugin</artifactId>
3893 <versionRange>[0.6.2.201302030002,)</versionRange>
3895 <goal>prepare-agent</goal>
3897 </pluginExecutionFilter>
3903 <pluginExecutionFilter>
3904 <groupId>org.apache.maven.plugins</groupId>
3905 <artifactId>maven-enforcer-plugin</artifactId>
3906 <versionRange>${enforcer.version}</versionRange>
3908 <goal>enforce</goal>
3910 </pluginExecutionFilter>
3916 <pluginExecutionFilter>
3917 <groupId>org.apache.maven.plugins</groupId>
3918 <artifactId>maven-remote-resources-plugin</artifactId>
3919 <versionRange>[1.5,)</versionRange>
3921 <goal>process</goal>
3924 </pluginExecutionFilter>
3930 <pluginExecutionFilter>
3931 <groupId>org.codehaus.mojo</groupId>
3932 <artifactId>buildnumber-maven-plugin</artifactId>
3933 <versionRange>[1.3,)</versionRange>
3935 <goal>create-timestamp</goal>
3937 </pluginExecutionFilter>
3940 <runOnConfiguration>true</runOnConfiguration>
3941 <runOnIncremental>true</runOnIncremental>
3946 </lifecycleMappingMetadata>
3954 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3958 <artifactId>maven-project-info-reports-plugin</artifactId>
3962 <report>dependencies</report>
3963 <report>dependency-convergence</report>
3964 <report>dependency-info</report>
3965 <report>dependency-management</report>
3966 <report>index</report>
3967 <report>issue-management</report>
3968 <report>licenses</report>
3969 <report>mailing-lists</report>
3970 <report>plugin-management</report>
3971 <report>plugins</report>
3972 <report>team</report>
3973 <report>scm</report>
3974 <report>summary</report>
3978 <!-- see src/site/site.xml for selected reports -->
3980 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3985 <groupId>org.apache.maven.plugins</groupId>
3986 <artifactId>maven-javadoc-plugin</artifactId>
3990 <name>apiNote</name>
3991 <placement>a</placement>
3992 <head>API Note:</head>
4001 <report>aggregate-no-fork</report>
4004 <destDir>devapidocs</destDir>
4005 <name>Developer API</name>
4006 <description>The full HBase API, including private and unstable APIs</description>
4007 <sourceFileExcludes>
4008 <exclude>**/generated/*</exclude>
4009 <exclude>**/protobuf/*</exclude>
4010 </sourceFileExcludes>
4011 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4012 <show>private</show> <!-- (shows all classes and members) -->
4014 <linksource>true</linksource>
4015 <sourcetab>2</sourcetab>
4016 <validateLinks>true</validateLinks>
4017 <fixClassComment>true</fixClassComment>
4018 <fixFieldComment>true</fixFieldComment>
4019 <fixMethodComment>true</fixMethodComment>
4020 <fixTags>all</fixTags>
4021 <notimestamp>true</notimestamp>
4022 <locale>en_US</locale>
4023 <!-- Pass some options straight to the javadoc executable since it is easier -->
4024 <additionalJOption>-J-Xmx2G</additionalJOption>
4025 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4026 <additionalDependencies>
4027 <additionalDependency>
4028 <groupId>org.mockito</groupId>
4029 <artifactId>mockito-core</artifactId>
4030 <version>${mockito-core.version}</version>
4031 </additionalDependency>
4032 <additionalDependency>
4033 <groupId>org.hamcrest</groupId>
4034 <artifactId>hamcrest-core</artifactId>
4035 <version>${hamcrest.version}</version>
4036 </additionalDependency>
4037 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4038 <additionalDependency>
4039 <groupId>com.google.code.findbugs</groupId>
4040 <artifactId>jsr305</artifactId>
4041 <version>3.0.2</version>
4042 </additionalDependency>
4043 </additionalDependencies>
4044 <inherited>false</inherited>
4050 <report>test-aggregate-no-fork</report>
4053 <destDir>testdevapidocs</destDir>
4054 <name>Developer API</name>
4055 <description>The full HBase API test code, including private and unstable APIs</description>
4056 <sourceFileExcludes>
4057 <exclude>**/generated/*</exclude>
4058 <exclude>**/protobuf/*</exclude>
4059 </sourceFileExcludes>
4060 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4061 <show>private</show> <!-- (shows all classes and members) -->
4063 <linksource>true</linksource>
4064 <sourcetab>2</sourcetab>
4065 <validateLinks>true</validateLinks>
4066 <fixClassComment>true</fixClassComment>
4067 <fixFieldComment>true</fixFieldComment>
4068 <fixMethodComment>true</fixMethodComment>
4069 <fixTags>all</fixTags>
4070 <notimestamp>true</notimestamp>
4071 <locale>en_US</locale>
4072 <!-- Pass some options straight to the javadoc executable since it is easier -->
4073 <additionalJOption>-J-Xmx2G</additionalJOption>
4074 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4075 <additionalDependencies>
4076 <additionalDependency>
4077 <groupId>org.mockito</groupId>
4078 <artifactId>mockito-core</artifactId>
4079 <version>${mockito-core.version}</version>
4080 </additionalDependency>
4081 <additionalDependency>
4082 <groupId>org.hamcrest</groupId>
4083 <artifactId>hamcrest-core</artifactId>
4084 <version>${hamcrest.version}</version>
4085 </additionalDependency>
4086 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4087 <additionalDependency>
4088 <groupId>com.google.code.findbugs</groupId>
4089 <artifactId>jsr305</artifactId>
4090 <version>3.0.2</version>
4091 </additionalDependency>
4092 </additionalDependencies>
4093 <inherited>false</inherited>
4101 <report>aggregate-no-fork</report>
4105 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4108 <groupId>org.apache.yetus</groupId>
4109 <artifactId>audience-annotations</artifactId>
4110 <version>${audience-annotations.version}</version>
4112 <useStandardDocletOptions>true</useStandardDocletOptions>
4113 <destDir>apidocs</destDir>
4114 <name>User API</name>
4115 <description>The HBase Application Programmer's API</description>
4116 <excludePackageNames>
4117 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*
4118 </excludePackageNames>
4119 <!-- switch on dependency-driven aggregation -->
4120 <includeDependencySources>false</includeDependencySources>
4121 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4122 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4124 <linksource>true</linksource>
4125 <sourcetab>2</sourcetab>
4126 <validateLinks>true</validateLinks>
4127 <fixClassComment>true</fixClassComment>
4128 <fixFieldComment>true</fixFieldComment>
4129 <fixMethodComment>true</fixMethodComment>
4130 <fixTags>all</fixTags>
4131 <notimestamp>true</notimestamp>
4132 <locale>en_US</locale>
4133 <!-- Pass some options straight to the javadoc executable since it is easier -->
4134 <additionalJOption>-J-Xmx2G</additionalJOption>
4135 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4136 <additionalDependencies>
4137 <additionalDependency>
4138 <groupId>org.mockito</groupId>
4139 <artifactId>mockito-core</artifactId>
4140 <version>${mockito-core.version}</version>
4141 </additionalDependency>
4142 <additionalDependency>
4143 <groupId>org.hamcrest</groupId>
4144 <artifactId>hamcrest-core</artifactId>
4145 <version>${hamcrest.version}</version>
4146 </additionalDependency>
4147 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4148 <additionalDependency>
4149 <groupId>com.google.code.findbugs</groupId>
4150 <artifactId>jsr305</artifactId>
4151 <version>3.0.2</version>
4152 </additionalDependency>
4153 </additionalDependencies>
4154 <inherited>false</inherited>
4157 <!-- User Test API -->
4159 <id>testuserapi</id>
4161 <report>test-aggregate-no-fork</report>
4165 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4168 <groupId>org.apache.yetus</groupId>
4169 <artifactId>audience-annotations</artifactId>
4170 <version>${audience-annotations.version}</version>
4172 <useStandardDocletOptions>true</useStandardDocletOptions>
4173 <destDir>testapidocs</destDir>
4174 <name>User API</name>
4175 <description>The HBase Application Programmer's API</description>
4176 <excludePackageNames>
4177 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*
4178 </excludePackageNames>
4179 <!-- switch on dependency-driven aggregation -->
4180 <includeDependencySources>false</includeDependencySources>
4181 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4182 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4184 <linksource>true</linksource>
4185 <sourcetab>2</sourcetab>
4186 <validateLinks>true</validateLinks>
4187 <fixClassComment>true</fixClassComment>
4188 <fixFieldComment>true</fixFieldComment>
4189 <fixMethodComment>true</fixMethodComment>
4190 <fixTags>all</fixTags>
4191 <notimestamp>true</notimestamp>
4192 <locale>en_US</locale>
4193 <!-- Pass some options straight to the javadoc executable since it is easier -->
4194 <additionalJOption>-J-Xmx2G</additionalJOption>
4195 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4196 <additionalDependencies>
4197 <additionalDependency>
4198 <groupId>org.mockito</groupId>
4199 <artifactId>mockito-core</artifactId>
4200 <version>${mockito-core.version}</version>
4201 </additionalDependency>
4202 <additionalDependency>
4203 <groupId>org.hamcrest</groupId>
4204 <artifactId>hamcrest-core</artifactId>
4205 <version>${hamcrest.version}</version>
4206 </additionalDependency>
4207 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4208 <additionalDependency>
4209 <groupId>com.google.code.findbugs</groupId>
4210 <artifactId>jsr305</artifactId>
4211 <version>3.0.2</version>
4212 </additionalDependency>
4213 </additionalDependencies>
4214 <inherited>false</inherited>
4221 <groupId>org.apache.maven.plugins</groupId>
4222 <artifactId>maven-checkstyle-plugin</artifactId>
4223 <version>${maven.checkstyle.version}</version>
4225 <excludes>target/**</excludes>
4231 <distributionManagement>
4233 <id>hbase.apache.org</id>
4234 <name>HBase Website at hbase.apache.org</name>
4235 <!-- On why this is the tmp dir and not hbase.apache.org, see
4236 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4238 <url>file:///tmp</url>
4240 </distributionManagement>