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.9-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 <trimStackTrace>false</trimStackTrace>
588 <skip>${surefire.skipFirstPart}</skip>
589 <forkCount>${surefire.firstPartForkCount}</forkCount>
590 <reuseForks>false</reuseForks>
591 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
592 <tempDir>${surefire.tempDir}</tempDir>
593 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
594 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
595 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
596 <systemPropertyVariables>
597 <test.build.classes>${test.build.classes}</test.build.classes>
598 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
599 <java.util.logging.config.class>org.apache.hadoop.hbase.logging.JulToSlf4jInitializer</java.util.logging.config.class>
600 </systemPropertyVariables>
602 <!-- users can add -D option to skip particular test classes
603 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
605 <exclude>${test.exclude.pattern}</exclude>
609 <name>listener</name>
610 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
616 <id>secondPartTestsExecution</id>
622 <skip>${surefire.skipSecondPart}</skip>
623 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
624 <reuseForks>false</reuseForks>
625 <forkCount>${surefire.secondPartForkCount}</forkCount>
626 <groups>${surefire.secondPartGroups}</groups>
627 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-surefire-report-plugin</artifactId>
635 <version>${surefire.version}</version>
638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>buildnumber-maven-plugin</artifactId>
640 <version>${buildnumber.maven.version}</version>
643 <groupId>com.github.spotbugs</groupId>
644 <artifactId>spotbugs-maven-plugin</artifactId>
645 <version>${spotbugs.maven.version}</version>
647 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
648 <spotbugsXmlOutput>true</spotbugsXmlOutput>
649 <xmlOutput>true</xmlOutput>
653 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
655 <groupId>com.github.spotbugs</groupId>
656 <artifactId>spotbugs</artifactId>
657 <version>${spotbugs.version}</version>
662 <groupId>org.codehaus.mojo</groupId>
663 <artifactId>build-helper-maven-plugin</artifactId>
664 <version>${build.helper.maven.version}</version>
667 <artifactId>maven-antrun-plugin</artifactId>
668 <version>${maven.antrun.version}</version>
671 <groupId>org.jamon</groupId>
672 <artifactId>jamon-maven-plugin</artifactId>
673 <version>${jamon.plugin.version}</version>
675 <!-- Make a jar and put the sources in the jar.
676 In the parent pom, so submodules will do the right thing. -->
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-source-plugin</artifactId>
682 <id>attach-sources</id>
683 <phase>prepare-package</phase>
685 <goal>jar-no-fork</goal>
686 <goal>test-jar-no-fork</goal>
690 <exclude>log4j.properties</exclude>
696 <!-- General configuration for submodules who want to build a test jar -->
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-jar-plugin</artifactId>
702 <phase>prepare-package</phase>
704 <!--This goal will install a -test.jar when we do install
705 See https://maven.apache.org/guides/mini/guide-attached-tests.html
707 <goal>test-jar</goal>
712 <skipIfEmpty>true</skipIfEmpty>
714 <exclude>hbase-site.xml</exclude>
715 <exclude>hdfs-site.xml</exclude>
716 <exclude>mapred-queues.xml</exclude>
717 <exclude>mapred-site.xml</exclude>
722 <!-- excludes are inherited -->
723 <groupId>org.apache.rat</groupId>
724 <artifactId>apache-rat-plugin</artifactId>
727 <exclude>**/*.versionsBackup</exclude>
728 <exclude>**/*.log</exclude>
729 <exclude>**/.*</exclude>
730 <exclude>**/*.tgz</exclude>
731 <exclude>**/*.orig</exclude>
732 <exclude>**/0000000000000016310</exclude>
733 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
734 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
735 <exclude>**/.idea/**</exclude>
736 <exclude>**/*.iml</exclude>
737 <exclude>**/CHANGES.txt</exclude>
738 <exclude>**/generated/**</exclude>
739 <exclude>**/gen-*/**</exclude>
740 <!-- No material contents -->
741 <exclude>conf/regionservers</exclude>
742 <exclude>**/*.avpr</exclude>
743 <exclude>**/*.svg</exclude>
744 <!-- non-standard notice file from jruby included by reference -->
745 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
746 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
747 <exclude>**/src/main/asciidoc/hbase.css</exclude>
748 <!-- MIT https://jquery.org/license -->
749 <exclude>**/jquery.min.js</exclude>
750 <exclude>**/jquery.tablesorter.min.js</exclude>
751 <exclude>**/parser-date-iso8601.min.js</exclude>
752 <!-- MIT: bootstrap -->
753 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
754 <!-- vector graphics -->
755 <exclude>**/*.vm</exclude>
756 <!-- apache doxia generated -->
757 <exclude>**/control</exclude>
758 <exclude>**/conffile</exclude>
759 <!-- auto-gen docs -->
760 <exclude>docs/*</exclude>
761 <exclude>logs/*</exclude>
762 <!-- exclude source control files -->
763 <exclude>.git/**</exclude>
764 <exclude>.svn/**</exclude>
765 <exclude>**/.settings/**</exclude>
766 <exclude>**/patchprocess/**</exclude>
767 <exclude>src/site/resources/repo/**</exclude>
768 <exclude>**/dependency-reduced-pom.xml</exclude>
769 <exclude>**/rat.txt</exclude>
770 <!-- exclude the shaded protobuf files -->
771 <exclude>**/shaded/com/google/protobuf/**</exclude>
772 <exclude>**/src/main/patches/**</exclude>
777 <artifactId>maven-assembly-plugin</artifactId>
779 <!--Defer to the hbase-assembly sub-module. It
781 <skipAssembly>true</skipAssembly>
785 <groupId>org.xolstice.maven.plugins</groupId>
786 <artifactId>protobuf-maven-plugin</artifactId>
787 <version>${protobuf.plugin.version}</version>
789 <protocArtifact>${external.protobuf.groupid}:protoc:${external.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
790 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
791 <clearOutputDirectory>false</clearOutputDirectory>
792 <checkStaleness>true</checkStaleness>
796 <!-- Approach followed here is roughly the same as mentioned here:
797 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
799 <groupId>org.apache.maven.plugins</groupId>
800 <artifactId>maven-checkstyle-plugin</artifactId>
801 <version>${maven.checkstyle.version}</version>
804 <groupId>org.apache.hbase</groupId>
805 <artifactId>hbase-checkstyle</artifactId>
806 <version>${project.version}</version>
809 <groupId>com.puppycrawl.tools</groupId>
810 <artifactId>checkstyle</artifactId>
811 <version>${checkstyle.version}</version>
815 <configLocation>hbase/checkstyle.xml</configLocation>
816 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
817 <includeTestSourceDirectory>true</includeTestSourceDirectory>
821 <groupId>net.revelc.code</groupId>
822 <artifactId>warbucks-maven-plugin</artifactId>
823 <version>${maven.warbucks.version}</version>
825 <ignoreRuleFailures>false</ignoreRuleFailures>
828 <!-- exclude the generated java files -->
829 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
830 <includeTestClasses>false</includeTestClasses>
831 <includePublicClasses>true</includePublicClasses>
832 <includePackagePrivateClasses>false</includePackagePrivateClasses>
833 <includeProtectedClasses>false</includeProtectedClasses>
834 <includePrivateClasses>false</includePrivateClasses>
835 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
841 <id>run-warbucks</id>
843 <goal>check</goal><!-- runs at process-test-classes phase -->
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-enforcer-plugin</artifactId>
851 <version>${enforcer.version}</version>
854 <groupId>org.codehaus.mojo</groupId>
855 <artifactId>extra-enforcer-rules</artifactId>
856 <version>${extra.enforcer.version}</version>
859 <groupId>de.skuzzle.enforcer</groupId>
860 <artifactId>restrict-imports-enforcer-rule</artifactId>
861 <version>${restrict-imports.enforcer.version}</version>
869 <groupId>org.codehaus.mojo</groupId>
870 <artifactId>build-helper-maven-plugin</artifactId>
873 <id>negate-license-bundles-property</id>
875 <goal>bsh-property</goal>
878 <source>skip.license.check = !${license.bundles.dependencies};</source>
880 <property>skip.license.check</property>
884 <!-- sets where to find the generated LICENSE files -->
886 <id>create-license-file-path-property</id>
888 <goal>regex-property</goal>
891 <name>license.aggregate.path</name>
892 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
894 <replacement>/</replacement>
895 <failIfNoMatch>false</failIfNoMatch>
901 <groupId>org.apache.maven.plugins</groupId>
902 <artifactId>maven-enforcer-plugin</artifactId>
905 <id>display-info</id>
906 <phase>initialize</phase>
908 <goal>display-info</goal>
910 <inherited>false</inherited>
913 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
919 <!-- Help people activate profiles correctly -->
921 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
922 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
924 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
925 <requireMavenVersion>
926 <version>[${maven.min.version},)</version>
927 <message>Maven is out of date.
928 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
929 You appear to be using an older version. You can use either "mvn -version" or
930 "mvn enforcer:display-info" to verify what version is active.
931 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
933 </requireMavenVersion>
934 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
936 <version>[${java.min.version},)</version>
937 <message>Java is out of date.
938 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
939 You appear to be using an older version. You can use either "mvn -version" or
940 "mvn enforcer:display-info" to verify what version is active.
941 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
943 </requireJavaVersion>
946 <exclude>xerces:xercesImpl</exclude>
948 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
949 </bannedDependencies>
954 <id>banned-jsr305</id>
962 <exclude>com.google.code.findbugs:jsr305</exclude>
964 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
965 </bannedDependencies>
970 <id>banned-commons-logging</id>
978 <exclude>commons-logging:commons-logging</exclude>
981 We don't use commons-logging any more, so do not depend on it directly.
983 <searchTransitive>false</searchTransitive>
984 </bannedDependencies>
989 <id>banned-jetty</id>
997 <exclude>org.eclipse.jetty:**</exclude>
1000 Use shaded jetty instead
1002 <searchTransitive>false</searchTransitive>
1003 </bannedDependencies>
1008 <id>banned-jersey</id>
1010 <goal>enforce</goal>
1014 <bannedDependencies>
1016 <exclude>org.glassfish.jersey.containers:**</exclude>
1017 <exclude>org.glassfish.jersey.core:**</exclude>
1020 Use shaded jersey instead
1022 <searchTransitive>false</searchTransitive>
1023 </bannedDependencies>
1028 <id>check-aggregate-license</id>
1029 <!-- must check after LICENSE is built at 'generate-resources' -->
1030 <phase>process-resources</phase>
1032 <goal>enforce</goal>
1038 File license = new File("${license.aggregate.path}");
1040 // Beanshell does not support try-with-resources,
1041 // so we must close this scanner manually
1042 Scanner scanner = new Scanner(license);
1044 while (scanner.hasNextLine()) {
1045 if (scanner.nextLine().startsWith("ERROR:")) {
1054 License errors detected, for more detail find ERROR in
1055 ${license.aggregate.path}
1057 </evaluateBeanshell>
1059 <skip>${skip.license.check}</skip>
1063 <id>banned-illegal-imports</id>
1064 <phase>process-sources</phase>
1066 <goal>enforce</goal>
1070 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1071 <includeTestCode>true</includeTestCode>
1072 <commentLineBufferSize>512</commentLineBufferSize>
1073 <reason>Use SLF4j for logging</reason>
1075 <bannedImport>org.apache.commons.logging.**</bannedImport>
1078 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1079 <includeTestCode>false</includeTestCode>
1080 <commentLineBufferSize>512</commentLineBufferSize>
1082 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1085 <bannedImport>org.apache.log4j.**</bannedImport>
1088 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1089 <includeTestCode>true</includeTestCode>
1090 <commentLineBufferSize>512</commentLineBufferSize>
1091 <reason>Use shaded version in hbase-thirdparty</reason>
1093 <bannedImport>com.google.common.**</bannedImport>
1094 <bannedImport>io.netty.**</bannedImport>
1095 <bannedImport>org.apache.commons.cli.**</bannedImport>
1096 <bannedImport>org.apache.commons.collections.**</bannedImport>
1097 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1100 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1101 <includeTestCode>true</includeTestCode>
1102 <commentLineBufferSize>512</commentLineBufferSize>
1103 <reason>Do not use shaded classes from other dependencies</reason>
1105 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1106 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1109 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1110 <includeTestCode>true</includeTestCode>
1111 <commentLineBufferSize>512</commentLineBufferSize>
1112 <reason>Use shaded gson in hbase-thirdparty</reason>
1114 <bannedImport>org.codehaus.jackson.**</bannedImport>
1117 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1118 <includeTestCode>true</includeTestCode>
1119 <commentLineBufferSize>512</commentLineBufferSize>
1120 <reason>Use commons lang 3</reason>
1122 <bannedImport>org.apache.commons.lang.**</bannedImport>
1125 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1126 <includeTestCode>true</includeTestCode>
1127 <commentLineBufferSize>512</commentLineBufferSize>
1128 <reason>Use yetus IA and IS annotations</reason>
1130 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1133 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1134 <includeTestCode>true</includeTestCode>
1135 <commentLineBufferSize>512</commentLineBufferSize>
1136 <reason>Do not use htrace v3</reason>
1138 <bannedImport>org.htrace.**</bannedImport>
1141 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1142 <includeTestCode>true</includeTestCode>
1143 <commentLineBufferSize>512</commentLineBufferSize>
1144 <reason>Use shaded jetty in hbase-thirdparty</reason>
1146 <bannedImport>org.eclipse.jetty.**</bannedImport>
1149 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1150 <includeTestCode>true</includeTestCode>
1151 <commentLineBufferSize>512</commentLineBufferSize>
1152 <reason>Use shaded jersey in hbase-thirdparty</reason>
1154 <bannedImport>org.glassfish.jersey.**</bannedImport>
1157 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1158 <includeTestCode>true</includeTestCode>
1159 <commentLineBufferSize>512</commentLineBufferSize>
1161 You should never use this style of annotations(i.e, 'this is for test only')
1162 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1164 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1167 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1175 <!-- parent-module only plugins -->
1177 <groupId>org.codehaus.mojo</groupId>
1178 <artifactId>xml-maven-plugin</artifactId>
1179 <version>${xml.maven.version}</version>
1180 <inherited>false</inherited>
1183 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1185 <goal>transform</goal>
1191 <transformationSets>
1192 <!-- For asciidoc -->
1194 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1195 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1197 <include>hbase-default.xml</include>
1199 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1201 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1202 <pattern>^(.*)\.xml$</pattern>
1203 <replacement>$1.adoc</replacement>
1206 <outputDir>${basedir}/target/asciidoc</outputDir>
1207 </transformationSet>
1208 </transformationSets>
1211 <!-- Special configuration for spotbugs just in the parent so
1212 the filter file location can be more general (see definition in pluginManagement) -->
1214 <groupId>com.github.spotbugs</groupId>
1215 <artifactId>spotbugs-maven-plugin</artifactId>
1218 <inherited>false</inherited>
1220 <goal>spotbugs</goal>
1223 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1229 <groupId>org.apache.maven.plugins</groupId>
1230 <artifactId>maven-checkstyle-plugin</artifactId>
1233 <groupId>org.apache.maven.plugins</groupId>
1234 <artifactId>maven-site-plugin</artifactId>
1237 <!-- add support for ssh/scp -->
1238 <groupId>org.apache.maven.wagon</groupId>
1239 <artifactId>wagon-ssh</artifactId>
1240 <version>${wagon.ssh.version}</version>
1244 <siteDirectory>${basedir}/src/site</siteDirectory>
1245 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1246 <inputEncoding>UTF-8</inputEncoding>
1247 <outputEncoding>UTF-8</outputEncoding>
1250 <!-- For AsciiDoc docs building -->
1252 <groupId>org.asciidoctor</groupId>
1253 <artifactId>asciidoctor-maven-plugin</artifactId>
1254 <version>${asciidoctor.plugin.version}</version>
1255 <inherited>false</inherited>
1258 <groupId>org.asciidoctor</groupId>
1259 <artifactId>asciidoctorj-pdf</artifactId>
1260 <version>${asciidoctorj.pdf.version}</version>
1263 <groupId>org.jruby</groupId>
1264 <artifactId>jruby-complete</artifactId>
1265 <version>${jruby.version}</version>
1269 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1270 <doctype>book</doctype>
1272 <docVersion>${project.version}</docVersion>
1273 <imagesdir>images</imagesdir>
1274 <source-highlighter>coderay</source-highlighter>
1279 <id>output-html</id>
1282 <goal>process-asciidoc</goal>
1286 <stylesheet>hbase.css</stylesheet>
1288 <backend>html5</backend>
1295 <goal>process-asciidoc</goal>
1298 <backend>pdf</backend>
1303 <idseparator>-</idseparator>
1310 <groupId>org.apache.maven.plugins</groupId>
1311 <artifactId>maven-resources-plugin</artifactId>
1312 <!--$NO-MVN-MAN-VER$ -->
1313 <inherited>false</inherited>
1316 <id>copy-htaccess</id>
1318 <goal>copy-resources</goal>
1322 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1325 <directory>${basedir}/src/site/resources/</directory>
1327 <include>.htaccess</include>
1333 <!-- needed to make the redirect above work -->
1335 <id>copy-empty-book-dir</id>
1337 <goal>copy-resources</goal>
1341 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1344 <directory>${basedir}/src/site/resources/</directory>
1346 <include>book/**</include>
1354 <escapeString>\</escapeString>
1358 <groupId>org.apache.maven.plugins</groupId>
1359 <artifactId>maven-antrun-plugin</artifactId>
1360 <version>${maven.antrun.version}</version>
1361 <inherited>false</inherited>
1362 <!-- Rename the book.pdf generated by asciidoctor -->
1368 <target name="rename file">
1369 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1379 <groupId>org.codehaus.mojo</groupId>
1380 <artifactId>buildnumber-maven-plugin</artifactId>
1383 <phase>validate</phase>
1385 <goal>create-timestamp</goal>
1390 <timestampFormat>yyyy</timestampFormat>
1391 <timestampPropertyName>build.year</timestampPropertyName>
1395 <groupId>org.apache.felix</groupId>
1396 <artifactId>maven-bundle-plugin</artifactId>
1397 <version>${maven.bundle.version}</version>
1398 <inherited>true</inherited>
1399 <extensions>true</extensions>
1404 <!-- override on command line to have generated LICENSE files include
1405 diagnostic info for verifying notice requirements -->
1406 <license.debug.print.included>false</license.debug.print.included>
1407 <!-- When a particular module bundles its depenendencies, should be true -->
1408 <license.bundles.dependencies>false</license.bundles.dependencies>
1409 <!-- modules that include a the logo in their source tree should set true -->
1410 <license.bundles.logo>false</license.bundles.logo>
1411 <!-- modules that include bootstrap in their source tree should set true -->
1412 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1413 <!-- modules that include jquery in their source tree should set true -->
1414 <license.bundles.jquery>false</license.bundles.jquery>
1415 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1416 <maven.build.timestamp.format>
1418 </maven.build.timestamp.format>
1419 <buildDate>${maven.build.timestamp}</buildDate>
1420 <compileSource>1.8</compileSource>
1421 <!-- Build dependencies -->
1422 <maven.min.version>3.0.4</maven.min.version>
1423 <java.min.version>${compileSource}</java.min.version>
1424 <!-- Dependencies -->
1425 <hadoop-two.version>2.10.0</hadoop-two.version>
1426 <hadoop-three.version>3.1.2</hadoop-three.version>
1427 <!-- These must be defined here for downstream build tools that don't look at profiles.
1428 They ought to match the values found in our default hadoop profile, which is
1429 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1430 <hadoop.version>${hadoop-two.version}</hadoop.version>
1431 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1432 <compat.module>hbase-hadoop2-compat</compat.module>
1433 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1434 <!--This property is for hadoops netty. HBase netty
1435 comes in via hbase-thirdparty hbase-shaded-netty-->
1436 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1437 <!-- end HBASE-15925 default hadoop compatibility values -->
1438 <audience-annotations.version>0.5.0</audience-annotations.version>
1439 <avro.version>1.7.7</avro.version>
1440 <caffeine.version>2.8.1</caffeine.version>
1441 <commons-codec.version>1.13</commons-codec.version>
1442 <commons-io.version>2.11.0</commons-io.version>
1443 <commons-lang3.version>3.9</commons-lang3.version>
1444 <commons-math.version>3.6.1</commons-math.version>
1445 <disruptor.version>3.4.2</disruptor.version>
1446 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1447 especially when writing out 'no column families'. Later httpclients collapse the '//'
1448 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1449 TestRemoteTable. -->
1450 <httpclient.version>4.5.3</httpclient.version>
1451 <httpcore.version>4.4.13</httpcore.version>
1452 <metrics-core.version>3.2.6</metrics-core.version>
1453 <jackson.version>2.10.1</jackson.version>
1454 <jackson.databind.version>2.10.1</jackson.databind.version>
1455 <jaxb-api.version>2.3.1</jaxb-api.version>
1456 <servlet.api.version>3.1.0</servlet.api.version>
1457 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1458 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1459 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1460 <jruby.version>9.2.13.0</jruby.version>
1461 <junit.version>4.13</junit.version>
1462 <hamcrest.version>1.3</hamcrest.version>
1463 <htrace.version>4.2.0-incubating</htrace.version>
1464 <log4j.version>1.2.17</log4j.version>
1465 <mockito-core.version>2.28.2</mockito-core.version>
1466 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1467 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1468 <external.protobuf.version>2.5.0</external.protobuf.version>
1469 <external.protoc.version>${external.protobuf.version}</external.protoc.version>
1470 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1471 <thrift.path>thrift</thrift.path>
1472 <thrift.version>0.14.1</thrift.version>
1473 <zookeeper.version>3.5.7</zookeeper.version>
1474 <jline.version>2.11</jline.version>
1475 <slf4j.version>1.7.30</slf4j.version>
1476 <clover.version>4.0.3</clover.version>
1477 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1478 <jettison.version>1.3.8</jettison.version>
1479 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1480 <joni.version>2.1.31</joni.version>
1481 <jcodings.version>1.0.55</jcodings.version>
1482 <spy.version>2.12.2</spy.version>
1483 <bouncycastle.version>1.60</bouncycastle.version>
1484 <kerby.version>1.0.1</kerby.version>
1485 <commons-crypto.version>1.0.0</commons-crypto.version>
1486 <curator.version>4.2.0</curator.version>
1487 <!-- Plugin Dependencies -->
1488 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1489 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1490 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1491 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1493 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1495 <checkstyle.version>8.28</checkstyle.version>
1496 <exec.maven.version>1.6.0</exec.maven.version>
1497 <error-prone.version>2.4.0</error-prone.version>
1498 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1499 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1500 <maven.antrun.version>1.8</maven.antrun.version>
1501 <maven.bundle.version>3.3.0</maven.bundle.version>
1502 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1503 <maven.eclipse.version>2.10</maven.eclipse.version>
1504 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1505 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1506 <maven.project.info.report.version>3.1.2</maven.project.info.report.version>
1507 <os.maven.version>1.5.0.Final</os.maven.version>
1508 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1509 <spotbugs.version>4.2.2</spotbugs.version>
1510 <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1511 <surefire.version>3.0.0-M4</surefire.version>
1512 <wagon.ssh.version>2.12</wagon.ssh.version>
1513 <xml.maven.version>1.0.1</xml.maven.version>
1514 <hbase-thirdparty.version>3.5.1</hbase-thirdparty.version>
1515 <!-- Intraproject jar naming properties -->
1516 <!-- TODO this is pretty ugly, but works for the moment.
1517 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1518 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1519 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1520 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1521 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1522 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1523 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1524 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1525 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1526 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1527 <shell-executable>bash</shell-executable>
1528 <surefire.provider>surefire-junit47</surefire.provider>
1529 <!-- default: run small & medium, medium with 2 threads -->
1530 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1531 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1532 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1533 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1534 value is you want to burn through tests faster (could make for more failures
1535 if more contention around resources). There is a matching MAVEN_ARG
1536 in our yetus personality where we set the maven -T command to 0.25C too.
1537 For example, to run at a rate that is more furious than our 0.25C, do
1538 something like this:
1539 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1541 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1542 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1543 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1544 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1545 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1546 <test.output.tofile>true</test.output.tofile>
1547 <surefire.timeout>900</surefire.timeout>
1548 <test.exclude.pattern></test.exclude.pattern>
1550 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1551 This value is managed separately for jdk11. See below.
1553 <surefire.Xmx>2200m</surefire.Xmx>
1554 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1555 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1557 And for netty eventloops that have no explicit configuration, netty sets
1558 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1561 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1562 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1563 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1564 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1565 -Dio.netty.eventLoopThreads=3
1566 </hbase-surefire.argLine>
1567 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1568 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1569 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1570 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1571 </hbase-surefire.cygwin-argLine>
1572 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1573 <argLine>${hbase-surefire.argLine}</argLine>
1574 <jacoco.version>0.7.5.201505241946</jacoco.version>
1575 <extra.enforcer.version>1.3</extra.enforcer.version>
1576 <enforcer.version>3.0.0-M3</enforcer.version>
1577 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1578 <!-- Location of test resources -->
1579 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1580 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1581 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1582 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1583 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1584 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1585 <build.id>${maven.build.timestamp}</build.id>
1586 <shell-executable>bash</shell-executable>
1587 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1588 property as of javadoc-plugin 3.0.0 -->
1589 <doclint>none</doclint>
1591 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1592 <dependencyManagement>
1595 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1596 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1597 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1598 implementation of the same, because Hadoop also uses this version
1599 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1600 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1602 <!-- Intra-module dependencies -->
1604 <groupId>org.apache.hbase</groupId>
1605 <artifactId>hbase-annotations</artifactId>
1606 <version>${project.version}</version>
1607 <type>test-jar</type>
1608 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1611 <groupId>org.apache.hbase</groupId>
1612 <artifactId>hbase-common</artifactId>
1613 <version>${project.version}</version>
1616 <groupId>org.apache.hbase</groupId>
1617 <artifactId>hbase-common</artifactId>
1618 <version>${project.version}</version>
1619 <type>test-jar</type>
1623 <groupId>org.apache.hbase</groupId>
1624 <artifactId>hbase-logging</artifactId>
1625 <version>${project.version}</version>
1628 <groupId>org.apache.hbase</groupId>
1629 <artifactId>hbase-logging</artifactId>
1630 <version>${project.version}</version>
1631 <type>test-jar</type>
1635 <groupId>org.apache.hbase</groupId>
1636 <artifactId>hbase-protocol-shaded</artifactId>
1637 <version>${project.version}</version>
1640 <groupId>org.apache.hbase</groupId>
1641 <artifactId>hbase-protocol</artifactId>
1642 <version>${project.version}</version>
1645 <groupId>org.apache.hbase</groupId>
1646 <artifactId>hbase-procedure</artifactId>
1647 <version>${project.version}</version>
1650 <groupId>org.apache.hbase</groupId>
1651 <artifactId>hbase-procedure</artifactId>
1652 <version>${project.version}</version>
1653 <type>test-jar</type>
1656 <groupId>org.apache.hbase</groupId>
1657 <artifactId>hbase-hadoop-compat</artifactId>
1658 <version>${project.version}</version>
1661 <groupId>org.apache.hbase</groupId>
1662 <artifactId>hbase-hadoop-compat</artifactId>
1663 <version>${project.version}</version>
1664 <type>test-jar</type>
1668 <groupId>org.apache.hbase</groupId>
1669 <artifactId>${compat.module}</artifactId>
1670 <version>${project.version}</version>
1673 <groupId>org.apache.hbase</groupId>
1674 <artifactId>${compat.module}</artifactId>
1675 <version>${project.version}</version>
1676 <type>test-jar</type>
1680 <artifactId>hbase-rsgroup</artifactId>
1681 <groupId>org.apache.hbase</groupId>
1682 <version>${project.version}</version>
1685 <artifactId>hbase-rsgroup</artifactId>
1686 <groupId>org.apache.hbase</groupId>
1687 <version>${project.version}</version>
1688 <type>test-jar</type>
1692 <artifactId>hbase-replication</artifactId>
1693 <groupId>org.apache.hbase</groupId>
1694 <version>${project.version}</version>
1697 <artifactId>hbase-http</artifactId>
1698 <groupId>org.apache.hbase</groupId>
1699 <version>${project.version}</version>
1702 <artifactId>hbase-http</artifactId>
1703 <groupId>org.apache.hbase</groupId>
1704 <version>${project.version}</version>
1705 <type>test-jar</type>
1709 <artifactId>hbase-server</artifactId>
1710 <groupId>org.apache.hbase</groupId>
1711 <version>${project.version}</version>
1714 <artifactId>hbase-server</artifactId>
1715 <groupId>org.apache.hbase</groupId>
1716 <version>${project.version}</version>
1717 <type>test-jar</type>
1721 <artifactId>hbase-mapreduce</artifactId>
1722 <groupId>org.apache.hbase</groupId>
1723 <version>${project.version}</version>
1726 <artifactId>hbase-mapreduce</artifactId>
1727 <groupId>org.apache.hbase</groupId>
1728 <version>${project.version}</version>
1729 <type>test-jar</type>
1733 <artifactId>hbase-endpoint</artifactId>
1734 <groupId>org.apache.hbase</groupId>
1735 <version>${project.version}</version>
1738 <artifactId>hbase-shell</artifactId>
1739 <groupId>org.apache.hbase</groupId>
1740 <version>${project.version}</version>
1743 <artifactId>hbase-shell</artifactId>
1744 <groupId>org.apache.hbase</groupId>
1745 <version>${project.version}</version>
1746 <type>test-jar</type>
1750 <artifactId>hbase-thrift</artifactId>
1751 <groupId>org.apache.hbase</groupId>
1752 <version>${project.version}</version>
1755 <artifactId>hbase-thrift</artifactId>
1756 <groupId>org.apache.hbase</groupId>
1757 <version>${project.version}</version>
1758 <type>test-jar</type>
1762 <groupId>org.apache.hbase</groupId>
1763 <artifactId>hbase-testing-util</artifactId>
1764 <version>${project.version}</version>
1768 <artifactId>hbase-examples</artifactId>
1769 <groupId>org.apache.hbase</groupId>
1770 <version>${project.version}</version>
1773 <groupId>org.apache.hbase</groupId>
1774 <artifactId>hbase-external-blockcache</artifactId>
1775 <version>${project.version}</version>
1778 <artifactId>hbase-it</artifactId>
1779 <groupId>org.apache.hbase</groupId>
1780 <version>${project.version}</version>
1781 <type>test-jar</type>
1785 <artifactId>hbase-client</artifactId>
1786 <groupId>org.apache.hbase</groupId>
1787 <version>${project.version}</version>
1790 <artifactId>hbase-metrics-api</artifactId>
1791 <groupId>org.apache.hbase</groupId>
1792 <version>${project.version}</version>
1795 <artifactId>hbase-metrics-api</artifactId>
1796 <groupId>org.apache.hbase</groupId>
1797 <version>${project.version}</version>
1798 <type>test-jar</type>
1802 <artifactId>hbase-metrics</artifactId>
1803 <groupId>org.apache.hbase</groupId>
1804 <version>${project.version}</version>
1807 <artifactId>hbase-metrics</artifactId>
1808 <groupId>org.apache.hbase</groupId>
1809 <version>${project.version}</version>
1810 <type>test-jar</type>
1814 <artifactId>hbase-rest</artifactId>
1815 <groupId>org.apache.hbase</groupId>
1816 <version>${project.version}</version>
1819 <artifactId>hbase-resource-bundle</artifactId>
1820 <groupId>org.apache.hbase</groupId>
1821 <version>${project.version}</version>
1824 <artifactId>hbase-zookeeper</artifactId>
1825 <groupId>org.apache.hbase</groupId>
1826 <version>${project.version}</version>
1829 <groupId>com.google.code.findbugs</groupId>
1830 <artifactId>jsr305</artifactId>
1833 <groupId>com.github.spotbugs</groupId>
1834 <artifactId>spotbugs-annotations</artifactId>
1839 <artifactId>hbase-zookeeper</artifactId>
1840 <groupId>org.apache.hbase</groupId>
1841 <version>${project.version}</version>
1842 <type>test-jar</type>
1846 <artifactId>hbase-hbtop</artifactId>
1847 <groupId>org.apache.hbase</groupId>
1848 <version>${project.version}</version>
1851 <groupId>org.apache.hbase</groupId>
1852 <artifactId>hbase-shaded-client</artifactId>
1853 <version>${project.version}</version>
1856 <groupId>org.apache.hbase</groupId>
1857 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1858 <version>${project.version}</version>
1861 <groupId>org.apache.hbase</groupId>
1862 <artifactId>hbase-shaded-mapreduce</artifactId>
1863 <version>${project.version}</version>
1866 <groupId>org.apache.hbase</groupId>
1867 <artifactId>hbase-asyncfs</artifactId>
1868 <version>${project.version}</version>
1871 <groupId>org.apache.hbase</groupId>
1872 <artifactId>hbase-asyncfs</artifactId>
1873 <version>${project.version}</version>
1874 <type>test-jar</type>
1877 <!-- General dependencies -->
1879 <groupId>com.github.stephenc.findbugs</groupId>
1880 <artifactId>findbugs-annotations</artifactId>
1881 <version>${findbugs-annotations.version}</version>
1884 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1885 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1886 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1887 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1888 scope as it will mess up the logging framework for downstream users.
1889 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1890 on use these logging framework so we need to redirect their log message to slf4j, and then
1891 redirect the log message to our log4j framework.
1894 <groupId>org.codehaus.jettison</groupId>
1895 <artifactId>jettison</artifactId>
1896 <version>${jettison.version}</version>
1899 <groupId>org.slf4j</groupId>
1900 <artifactId>slf4j-api</artifactId>
1901 <version>${slf4j.version}</version>
1904 <groupId>org.slf4j</groupId>
1905 <artifactId>slf4j-log4j12</artifactId>
1906 <version>${slf4j.version}</version>
1909 <groupId>org.slf4j</groupId>
1910 <artifactId>jcl-over-slf4j</artifactId>
1911 <version>${slf4j.version}</version>
1914 <groupId>org.slf4j</groupId>
1915 <artifactId>jul-to-slf4j</artifactId>
1916 <version>${slf4j.version}</version>
1919 <groupId>log4j</groupId>
1920 <artifactId>log4j</artifactId>
1921 <version>${log4j.version}</version>
1923 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1925 <groupId>org.apache.avro</groupId>
1926 <artifactId>avro</artifactId>
1927 <version>${avro.version}</version>
1929 <!--This is not used by hbase directly. Used by thrift,
1930 dropwizard and zk.-->
1932 <groupId>com.github.ben-manes.caffeine</groupId>
1933 <artifactId>caffeine</artifactId>
1934 <version>${caffeine.version}</version>
1937 <groupId>io.dropwizard.metrics</groupId>
1938 <artifactId>metrics-core</artifactId>
1939 <version>${metrics-core.version}</version>
1942 <groupId>org.apache.httpcomponents</groupId>
1943 <artifactId>httpclient</artifactId>
1944 <version>${httpclient.version}</version>
1947 <groupId>org.apache.httpcomponents</groupId>
1948 <artifactId>httpcore</artifactId>
1949 <version>${httpcore.version}</version>
1952 <groupId>commons-codec</groupId>
1953 <artifactId>commons-codec</artifactId>
1954 <version>${commons-codec.version}</version>
1957 <groupId>commons-io</groupId>
1958 <artifactId>commons-io</artifactId>
1959 <version>${commons-io.version}</version>
1962 <groupId>org.apache.commons</groupId>
1963 <artifactId>commons-lang3</artifactId>
1964 <version>${commons-lang3.version}</version>
1967 <groupId>org.apache.commons</groupId>
1968 <artifactId>commons-math3</artifactId>
1969 <version>${commons-math.version}</version>
1972 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1975 <groupId>commons-logging</groupId>
1976 <artifactId>commons-logging</artifactId>
1977 <version>1.2</version>
1980 <groupId>org.apache.zookeeper</groupId>
1981 <artifactId>zookeeper</artifactId>
1982 <version>${zookeeper.version}</version>
1985 <groupId>com.google.code.findbugs</groupId>
1986 <artifactId>jsr305</artifactId>
1989 <groupId>com.github.spotbugs</groupId>
1990 <artifactId>spotbugs-annotations</artifactId>
1993 <groupId>jline</groupId>
1994 <artifactId>jline</artifactId>
1997 <groupId>com.sun.jmx</groupId>
1998 <artifactId>jmxri</artifactId>
2001 <groupId>com.sun.jdmk</groupId>
2002 <artifactId>jmxtools</artifactId>
2005 <groupId>javax.jms</groupId>
2006 <artifactId>jms</artifactId>
2009 <groupId>io.netty</groupId>
2010 <artifactId>netty</artifactId>
2013 <groupId>io.netty</groupId>
2014 <artifactId>netty-all</artifactId>
2017 <groupId>org.slf4j</groupId>
2018 <artifactId>slf4j-log4j12</artifactId>
2021 <groupId>log4j</groupId>
2022 <artifactId>log4j</artifactId>
2027 <groupId>jline</groupId>
2028 <artifactId>jline</artifactId>
2029 <version>${jline.version}</version>
2032 <groupId>org.apache.thrift</groupId>
2033 <artifactId>libthrift</artifactId>
2034 <version>${thrift.version}</version>
2037 <groupId>org.apache.tomcat.embed</groupId>
2038 <artifactId>tomcat-embed-core</artifactId>
2043 <groupId>org.jruby</groupId>
2044 <artifactId>jruby-complete</artifactId>
2045 <version>${jruby.version}</version>
2048 <groupId>org.jruby.jcodings</groupId>
2049 <artifactId>jcodings</artifactId>
2050 <version>${jcodings.version}</version>
2053 <groupId>org.jruby.joni</groupId>
2054 <artifactId>joni</artifactId>
2055 <version>${joni.version}</version>
2058 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2059 <artifactId>jackson-jaxrs-json-provider</artifactId>
2060 <version>${jackson.version}</version>
2063 <groupId>com.fasterxml.jackson.core</groupId>
2064 <artifactId>jackson-annotations</artifactId>
2065 <version>${jackson.version}</version>
2068 <groupId>com.fasterxml.jackson.core</groupId>
2069 <artifactId>jackson-core</artifactId>
2070 <version>${jackson.version}</version>
2073 <groupId>com.fasterxml.jackson.core</groupId>
2074 <artifactId>jackson-databind</artifactId>
2075 <version>${jackson.databind.version}</version>
2078 <groupId>org.jamon</groupId>
2079 <artifactId>jamon-runtime</artifactId>
2080 <version>${jamon-runtime.version}</version>
2082 <!-- REST dependencies -->
2084 <groupId>javax.servlet</groupId>
2085 <artifactId>javax.servlet-api</artifactId>
2086 <version>${servlet.api.version}</version>
2089 <groupId>javax.ws.rs</groupId>
2090 <artifactId>javax.ws.rs-api</artifactId>
2091 <version>${wx.rs.api.version}</version>
2094 <groupId>com.sun.activation</groupId>
2095 <artifactId>javax.activation</artifactId>
2096 <version>1.2.0</version>
2099 <groupId>javax.annotation</groupId>
2100 <artifactId>javax.annotation-api</artifactId>
2101 <version>1.2</version>
2104 <groupId>com.google.protobuf</groupId>
2105 <artifactId>protobuf-java</artifactId>
2106 <version>${external.protobuf.version}</version>
2109 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2110 <groupId>org.glassfish.web</groupId>
2111 <artifactId>javax.servlet.jsp</artifactId>
2112 <version>${glassfish.jsp.version}</version>
2115 <!-- this lib is used by the compiled Jsp from the above JspC -->
2116 <groupId>javax.servlet.jsp</groupId>
2117 <artifactId>javax.servlet.jsp-api</artifactId>
2118 <version>2.3.1</version>
2121 <groupId>org.glassfish</groupId>
2122 <artifactId>javax.el</artifactId>
2123 <version>${glassfish.el.version}</version>
2126 <groupId>javax.xml.bind</groupId>
2127 <artifactId>jaxb-api</artifactId>
2128 <version>${jaxb-api.version}</version>
2131 <groupId>javax.xml.stream</groupId>
2132 <artifactId>stax-api</artifactId>
2137 <groupId>junit</groupId>
2138 <artifactId>junit</artifactId>
2139 <version>${junit.version}</version>
2142 <groupId>org.hamcrest</groupId>
2143 <artifactId>hamcrest-core</artifactId>
2144 <version>${hamcrest.version}</version>
2147 <groupId>org.hamcrest</groupId>
2148 <artifactId>hamcrest-library</artifactId>
2149 <version>${hamcrest.version}</version>
2152 <groupId>org.mockito</groupId>
2153 <artifactId>mockito-core</artifactId>
2154 <version>${mockito-core.version}</version>
2158 <groupId>org.apache.htrace</groupId>
2159 <artifactId>htrace-core4</artifactId>
2160 <version>${htrace.version}</version>
2163 <groupId>com.lmax</groupId>
2164 <artifactId>disruptor</artifactId>
2165 <version>${disruptor.version}</version>
2168 <groupId>net.spy</groupId>
2169 <artifactId>spymemcached</artifactId>
2170 <version>${spy.version}</version>
2171 <optional>true</optional>
2174 <groupId>org.bouncycastle</groupId>
2175 <artifactId>bcprov-jdk15on</artifactId>
2176 <version>${bouncycastle.version}</version>
2180 <groupId>org.apache.kerby</groupId>
2181 <artifactId>kerb-core</artifactId>
2182 <version>${kerby.version}</version>
2185 <groupId>org.apache.kerby</groupId>
2186 <artifactId>kerb-client</artifactId>
2187 <version>${kerby.version}</version>
2190 <groupId>org.apache.kerby</groupId>
2191 <artifactId>kerb-simplekdc</artifactId>
2192 <version>${kerby.version}</version>
2195 <groupId>org.apache.commons</groupId>
2196 <artifactId>commons-crypto</artifactId>
2197 <version>${commons-crypto.version}</version>
2200 <groupId>net.java.dev.jna</groupId>
2201 <artifactId>jna</artifactId>
2206 <groupId>org.apache.curator</groupId>
2207 <artifactId>curator-framework</artifactId>
2208 <version>${curator.version}</version>
2211 <groupId>org.apache.zookeeper</groupId>
2212 <artifactId>zookeeper</artifactId>
2217 <groupId>org.apache.curator</groupId>
2218 <artifactId>curator-client</artifactId>
2219 <version>${curator.version}</version>
2222 <groupId>com.google.guava</groupId>
2223 <artifactId>guava</artifactId>
2226 <groupId>org.apache.zookeeper</groupId>
2227 <artifactId>zookeeper</artifactId>
2232 <groupId>org.apache.curator</groupId>
2233 <artifactId>curator-recipes</artifactId>
2234 <version>${curator.version}</version>
2237 <groupId>com.google.guava</groupId>
2238 <artifactId>guava</artifactId>
2241 <groupId>org.apache.zookeeper</groupId>
2242 <artifactId>zookeeper</artifactId>
2247 <groupId>org.apache.yetus</groupId>
2248 <artifactId>audience-annotations</artifactId>
2249 <version>${audience-annotations.version}</version>
2252 <groupId>org.apache.hbase.thirdparty</groupId>
2253 <artifactId>hbase-shaded-gson</artifactId>
2254 <version>${hbase-thirdparty.version}</version>
2257 <groupId>org.apache.hbase.thirdparty</groupId>
2258 <artifactId>hbase-shaded-miscellaneous</artifactId>
2259 <version>${hbase-thirdparty.version}</version>
2262 <groupId>org.apache.hbase.thirdparty</groupId>
2263 <artifactId>hbase-shaded-netty</artifactId>
2264 <version>${hbase-thirdparty.version}</version>
2267 <groupId>org.apache.hbase.thirdparty</groupId>
2268 <artifactId>hbase-shaded-protobuf</artifactId>
2269 <version>${hbase-thirdparty.version}</version>
2272 <groupId>org.apache.hbase.thirdparty</groupId>
2273 <artifactId>hbase-shaded-jetty</artifactId>
2274 <version>${hbase-thirdparty.version}</version>
2277 <groupId>org.apache.hbase.thirdparty</groupId>
2278 <artifactId>hbase-shaded-jersey</artifactId>
2279 <version>${hbase-thirdparty.version}</version>
2282 <groupId>com.sun.xml.ws</groupId>
2283 <artifactId>jaxws-ri</artifactId>
2284 <version>2.3.2</version>
2288 <groupId>javax.activation</groupId>
2289 <artifactId>javax.activation-api</artifactId>
2294 </dependencyManagement>
2296 <!--REMOVE THIS. HERE TEMPORARILY.
2297 Implication is that every module needs junit which is not so.
2298 Cannot undo though because build runs test on each module and
2299 it fails if no junit. TODO. -->
2301 <groupId>junit</groupId>
2302 <artifactId>junit</artifactId>
2308 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2313 <id>apache.releases.https</id>
2314 <username>hbase_committer</username>
2315 <password>********</password>
2319 <id>apache.snapshots.https</id>
2320 <username>hbase_committer</username>
2321 <password>********</password>
2329 $ mvn -s /my/path/settings.xml deploy
2337 <name>!skip-rsgroup</name>
2341 <module>hbase-rsgroup</module>
2345 <id>build-with-jdk8</id>
2357 <id>build-with-jdk11</id>
2362 <!-- TODO: replicate logic for windows support -->
2363 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2364 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2365 <hadoop-three.version>3.2.0</hadoop-three.version>
2367 Value to use for surefire when running jdk11.
2368 TODO: replicate logic for windows
2370 <surefire.Xmx>2200m</surefire.Xmx>
2375 <groupId>org.apache.maven.plugins</groupId>
2376 <artifactId>maven-enforcer-plugin</artifactId>
2379 <id>hadoop3-profile-required</id>
2381 <goal>enforce</goal>
2387 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2388 enforcer plugin does not see active profiles on sub-modules, so enforce based
2389 on the presence of the activation property and value.
2391 <property>hadoop.profile</property>
2392 <regex>.*3\.0$</regex>
2394 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2397 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2408 <!-- profile activated by the Jenkins patch testing job -->
2410 <id>jenkins.patch</id>
2412 <activeByDefault>false</activeByDefault>
2414 <name>HBasePatchProcess</name>
2418 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2423 <groupId>org.apache.maven.plugins</groupId>
2424 <artifactId>maven-antrun-plugin</artifactId>
2425 <inherited>false</inherited>
2428 <phase>validate</phase>
2434 <echo>Maven Execution Environment</echo>
2435 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2447 <activeByDefault>false</activeByDefault>
2452 <groupId>org.jacoco</groupId>
2453 <artifactId>jacoco-maven-plugin</artifactId>
2454 <version>${jacoco.version}</version>
2457 <id>prepare-agent</id>
2459 <goal>prepare-agent</goal>
2464 <phase>prepare-package</phase>
2471 <systemPropertyVariables>
2472 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2473 </systemPropertyVariables>
2475 <exclude>**/generated/**/*.class</exclude>
2485 <activeByDefault>false</activeByDefault>
2487 <family>Linux</family>
2491 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2498 <family>Mac</family>
2502 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2509 <family>Windows</family>
2513 <build.platform>cygwin</build.platform>
2514 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2517 <!-- this profile should match the name of the release profile in the root asf pom -->
2519 <id>apache-release</id>
2522 <!-- This should insert itself in place of the normal deploy plugin and then
2523 handle either closing or dropping the staging repository for us depending
2524 on if the build succeeds.
2527 <groupId>org.sonatype.plugins</groupId>
2528 <artifactId>nexus-staging-maven-plugin</artifactId>
2529 <version>1.6.8</version>
2530 <extensions>true</extensions>
2532 <nexusUrl>https://repository.apache.org/</nexusUrl>
2533 <serverId>apache.releases.https</serverId>
2539 <!-- this profile should be activated for release builds -->
2545 <groupId>org.apache.rat</groupId>
2546 <artifactId>apache-rat-plugin</artifactId>
2549 <phase>package</phase>
2557 <groupId>org.apache.maven.plugins</groupId>
2558 <artifactId>maven-enforcer-plugin</artifactId>
2559 <version>${enforcer.version}</version>
2562 <groupId>org.codehaus.mojo</groupId>
2563 <artifactId>extra-enforcer-rules</artifactId>
2564 <version>${extra.enforcer.version}</version>
2569 <enforceBytecodeVersion>
2570 <maxJdkVersion>${compileSource}</maxJdkVersion>
2571 <message>HBase has unsupported dependencies.
2572 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2573 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2574 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2575 Non-release builds can temporarily build with a newer JDK version by setting the
2576 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2579 <ignoreClass>module-info</ignoreClass>
2581 </enforceBytecodeVersion>
2588 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2589 <!-- Submodules that need hadoop dependencies should declare
2590 profiles with activation properties matching the profile here.
2591 Generally, it should be sufficient to copy the first
2592 few lines of the profile you want to match. -->
2593 <!-- profile for building against Hadoop 2.0.x
2594 This is the default.
2600 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2601 <!--h2--><name>!hadoop.profile</name>
2605 <module>hbase-hadoop2-compat</module>
2608 <hadoop.version>${hadoop-two.version}</hadoop.version>
2609 <compat.module>hbase-hadoop2-compat</compat.module>
2610 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2611 <!--This property is for hadoops netty. HBase netty
2612 comes in via hbase-thirdparty hbase-shaded-netty-->
2613 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2615 <dependencyManagement>
2618 <groupId>org.apache.hadoop</groupId>
2619 <artifactId>hadoop-mapreduce-client-core</artifactId>
2620 <version>${hadoop-two.version}</version>
2623 <groupId>com.sun.jersey</groupId>
2624 <artifactId>jersey-core</artifactId>
2627 <groupId>org.codehaus.jackson</groupId>
2628 <artifactId>jackson-jaxrs</artifactId>
2631 <groupId>org.codehaus.jackson</groupId>
2632 <artifactId>jackson-xc</artifactId>
2635 <groupId>io.netty</groupId>
2636 <artifactId>netty</artifactId>
2639 <groupId>io.netty</groupId>
2640 <artifactId>netty-all</artifactId>
2643 <groupId>javax.servlet</groupId>
2644 <artifactId>servlet-api</artifactId>
2647 <groupId>javax.inject</groupId>
2648 <artifactId>javax.inject</artifactId>
2651 <groupId>org.codehaus.jackson</groupId>
2652 <artifactId>jackson-core-asl</artifactId>
2655 <groupId>org.codehaus.jackson</groupId>
2656 <artifactId>jackson-mapper-asl</artifactId>
2661 <groupId>org.apache.hadoop</groupId>
2662 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2663 <version>${hadoop-two.version}</version>
2666 <groupId>com.sun.jersey</groupId>
2667 <artifactId>jersey-core</artifactId>
2670 <groupId>io.netty</groupId>
2671 <artifactId>netty</artifactId>
2674 <groupId>io.netty</groupId>
2675 <artifactId>netty-all</artifactId>
2678 <groupId>javax.servlet</groupId>
2679 <artifactId>servlet-api</artifactId>
2684 <groupId>org.apache.hadoop</groupId>
2685 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2686 <version>${hadoop-two.version}</version>
2687 <type>test-jar</type>
2691 <groupId>com.sun.jersey</groupId>
2692 <artifactId>jersey-core</artifactId>
2695 <groupId>io.netty</groupId>
2696 <artifactId>netty</artifactId>
2699 <groupId>io.netty</groupId>
2700 <artifactId>netty-all</artifactId>
2703 <groupId>javax.servlet</groupId>
2704 <artifactId>servlet-api</artifactId>
2709 <groupId>org.apache.hadoop</groupId>
2710 <artifactId>hadoop-hdfs</artifactId>
2711 <version>${hadoop-two.version}</version>
2714 <groupId>com.sun.jersey</groupId>
2715 <artifactId>jersey-core</artifactId>
2718 <groupId>javax.servlet.jsp</groupId>
2719 <artifactId>jsp-api</artifactId>
2722 <groupId>javax.servlet</groupId>
2723 <artifactId>servlet-api</artifactId>
2726 <groupId>io.netty</groupId>
2727 <artifactId>netty</artifactId>
2730 <groupId>io.netty</groupId>
2731 <artifactId>netty-all</artifactId>
2734 <groupId>stax</groupId>
2735 <artifactId>stax-api</artifactId>
2738 <groupId>xerces</groupId>
2739 <artifactId>xercesImpl</artifactId>
2742 <groupId>org.codehaus.jackson</groupId>
2743 <artifactId>jackson-core-asl</artifactId>
2746 <groupId>org.codehaus.jackson</groupId>
2747 <artifactId>jackson-mapper-asl</artifactId>
2750 <groupId>com.google.guava</groupId>
2751 <artifactId>guava</artifactId>
2756 <groupId>org.apache.hadoop</groupId>
2757 <artifactId>hadoop-hdfs</artifactId>
2758 <version>${hadoop-two.version}</version>
2759 <type>test-jar</type>
2763 <groupId>javax.servlet.jsp</groupId>
2764 <artifactId>jsp-api</artifactId>
2767 <groupId>javax.servlet</groupId>
2768 <artifactId>servlet-api</artifactId>
2771 <groupId>io.netty</groupId>
2772 <artifactId>netty</artifactId>
2775 <groupId>io.netty</groupId>
2776 <artifactId>netty-all</artifactId>
2779 <groupId>stax</groupId>
2780 <artifactId>stax-api</artifactId>
2783 <groupId>xerces</groupId>
2784 <artifactId>xercesImpl</artifactId>
2787 <groupId>org.codehaus.jackson</groupId>
2788 <artifactId>jackson-core-asl</artifactId>
2791 <groupId>org.codehaus.jackson</groupId>
2792 <artifactId>jackson-mapper-asl</artifactId>
2795 <groupId>com.google.guava</groupId>
2796 <artifactId>guava</artifactId>
2799 <groupId>com.sun.jersey</groupId>
2800 <artifactId>jersey-core</artifactId>
2805 <groupId>org.apache.hadoop</groupId>
2806 <artifactId>hadoop-auth</artifactId>
2807 <version>${hadoop-two.version}</version>
2810 <groupId>com.google.guava</groupId>
2811 <artifactId>guava</artifactId>
2814 <groupId>net.minidev</groupId>
2815 <artifactId>json-smart</artifactId>
2820 <groupId>org.apache.hadoop</groupId>
2821 <artifactId>hadoop-common</artifactId>
2822 <version>${hadoop-two.version}</version>
2825 <groupId>com.sun.jersey</groupId>
2826 <artifactId>jersey-core</artifactId>
2829 <groupId>org.codehaus.jackson</groupId>
2830 <artifactId>jackson-jaxrs</artifactId>
2833 <groupId>org.codehaus.jackson</groupId>
2834 <artifactId>jackson-xc</artifactId>
2837 <groupId>commons-beanutils</groupId>
2838 <artifactId>commons-beanutils</artifactId>
2841 <groupId>javax.servlet.jsp</groupId>
2842 <artifactId>jsp-api</artifactId>
2845 <groupId>javax.servlet</groupId>
2846 <artifactId>servlet-api</artifactId>
2849 <groupId>stax</groupId>
2850 <artifactId>stax-api</artifactId>
2853 <groupId>io.netty</groupId>
2854 <artifactId>netty</artifactId>
2857 <groupId>io.netty</groupId>
2858 <artifactId>netty-all</artifactId>
2861 <groupId>com.google.code.findbugs</groupId>
2862 <artifactId>jsr305</artifactId>
2865 <groupId>junit</groupId>
2866 <artifactId>junit</artifactId>
2869 <groupId>org.codehaus.jackson</groupId>
2870 <artifactId>jackson-core-asl</artifactId>
2873 <groupId>org.codehaus.jackson</groupId>
2874 <artifactId>jackson-mapper-asl</artifactId>
2879 <groupId>org.apache.hadoop</groupId>
2880 <artifactId>hadoop-common</artifactId>
2881 <version>${hadoop-two.version}</version>
2882 <type>test-jar</type>
2886 <groupId>com.sun.jersey</groupId>
2887 <artifactId>jersey-core</artifactId>
2890 <groupId>com.google.code.findbugs</groupId>
2891 <artifactId>jsr305</artifactId>
2894 <groupId>org.codehaus.jackson</groupId>
2895 <artifactId>jackson-jaxrs</artifactId>
2898 <groupId>org.codehaus.jackson</groupId>
2899 <artifactId>jackson-xc</artifactId>
2902 <groupId>io.netty</groupId>
2903 <artifactId>netty</artifactId>
2909 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2910 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2912 <groupId>javax.activation</groupId>
2913 <artifactId>javax.activation-api</artifactId>
2914 <version>1.2.0</version>
2918 <groupId>org.apache.hadoop</groupId>
2919 <artifactId>hadoop-client</artifactId>
2920 <version>${hadoop-two.version}</version>
2922 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2923 Where do we actually need it? -->
2925 <groupId>org.apache.hadoop</groupId>
2926 <artifactId>hadoop-minicluster</artifactId>
2927 <version>${hadoop-two.version}</version>
2929 <!--If we comment this in, a few tests in hbase-mapreduce
2930 fail. They depend on jersey-core somehow. But excluding
2931 jersey-core here messes up hbase-it because jersey-core
2932 implements a 1.x jaxrs Response Interface when we depend
2933 on the 2.x Interface... . Letting this jar come in
2934 transitively here but will exclude it down in hbase-it.
2937 <groupId>com.sun.jersey</groupId>
2938 <artifactId>jersey-core</artifactId>
2942 <groupId>commons-httpclient</groupId>
2943 <artifactId>commons-httpclient</artifactId>
2946 <groupId>javax.servlet.jsp</groupId>
2947 <artifactId>jsp-api</artifactId>
2950 <groupId>javax.servlet</groupId>
2951 <artifactId>servlet-api</artifactId>
2954 <groupId>stax</groupId>
2955 <artifactId>stax-api</artifactId>
2958 <groupId>io.netty</groupId>
2959 <artifactId>netty</artifactId>
2962 <groupId>io.netty</groupId>
2963 <artifactId>netty-all</artifactId>
2966 <groupId>com.google.code.findbugs</groupId>
2967 <artifactId>jsr305</artifactId>
2972 <groupId>org.apache.hadoop</groupId>
2973 <artifactId>hadoop-minikdc</artifactId>
2974 <version>${hadoop-two.version}</version>
2978 <groupId>org.apache.hadoop</groupId>
2979 <artifactId>hadoop-annotations</artifactId>
2980 <version>${hadoop-two.version}</version>
2984 <groupId>org.apache.hadoop</groupId>
2985 <artifactId>hadoop-distcp</artifactId>
2986 <version>${hadoop-two.version}</version>
2990 <groupId>org.apache.hadoop</groupId>
2991 <artifactId>hadoop-hdfs-client</artifactId>
2992 <version>${hadoop-two.version}</version>
2995 </dependencyManagement>
2998 profile for building against Hadoop 3.0.0. Activate using:
2999 mvn -Dhadoop.profile=3.0
3005 <name>hadoop.profile</name>
3010 <!--For now, use hadoop2 compat module-->
3011 <module>hbase-hadoop2-compat</module>
3014 <hadoop.profile>3.0</hadoop.profile>
3015 <hadoop.version>${hadoop-three.version}</hadoop.version>
3016 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
3017 <compat.module>hbase-hadoop2-compat</compat.module>
3018 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
3019 <!--This property is for hadoops netty. HBase netty
3020 comes in via hbase-thirdparty hbase-shaded-netty-->
3021 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
3023 <dependencyManagement>
3026 <groupId>org.apache.hadoop</groupId>
3027 <artifactId>hadoop-mapreduce-client-core</artifactId>
3028 <version>${hadoop-three.version}</version>
3031 <groupId>com.sun.jersey</groupId>
3032 <artifactId>jersey-core</artifactId>
3035 <groupId>org.codehaus.jackson</groupId>
3036 <artifactId>jackson-jaxrs</artifactId>
3039 <groupId>org.codehaus.jackson</groupId>
3040 <artifactId>jackson-xc</artifactId>
3043 <groupId>io.netty</groupId>
3044 <artifactId>netty</artifactId>
3047 <groupId>io.netty</groupId>
3048 <artifactId>netty-all</artifactId>
3051 <groupId>javax.servlet</groupId>
3052 <artifactId>servlet-api</artifactId>
3055 <groupId>javax.inject</groupId>
3056 <artifactId>javax.inject</artifactId>
3059 <groupId>org.codehaus.jackson</groupId>
3060 <artifactId>jackson-core-asl</artifactId>
3063 <groupId>org.codehaus.jackson</groupId>
3064 <artifactId>jackson-mapper-asl</artifactId>
3067 <groupId>com.google.guava</groupId>
3068 <artifactId>guava</artifactId>
3071 <groupId>org.slf4j</groupId>
3072 <artifactId>slf4j-log4j12</artifactId>
3075 <groupId>log4j</groupId>
3076 <artifactId>log4j</artifactId>
3081 <groupId>org.apache.hadoop</groupId>
3082 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3083 <version>${hadoop-three.version}</version>
3086 <groupId>com.sun.jersey</groupId>
3087 <artifactId>jersey-core</artifactId>
3090 <groupId>io.netty</groupId>
3091 <artifactId>netty</artifactId>
3095 <groupId>io.netty</groupId>
3096 <artifactId>netty-all</artifactId>
3099 <groupId>javax.servlet</groupId>
3100 <artifactId>servlet-api</artifactId>
3103 <groupId>org.slf4j</groupId>
3104 <artifactId>slf4j-log4j12</artifactId>
3107 <groupId>log4j</groupId>
3108 <artifactId>log4j</artifactId>
3113 <groupId>org.apache.hadoop</groupId>
3114 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3115 <version>${hadoop-three.version}</version>
3116 <type>test-jar</type>
3120 <groupId>com.sun.jersey</groupId>
3121 <artifactId>jersey-core</artifactId>
3124 <groupId>io.netty</groupId>
3125 <artifactId>netty</artifactId>
3128 <groupId>io.netty</groupId>
3129 <artifactId>netty-all</artifactId>
3132 <groupId>javax.servlet</groupId>
3133 <artifactId>servlet-api</artifactId>
3136 <groupId>org.slf4j</groupId>
3137 <artifactId>slf4j-log4j12</artifactId>
3140 <groupId>log4j</groupId>
3141 <artifactId>log4j</artifactId>
3146 <groupId>org.apache.hadoop</groupId>
3147 <artifactId>hadoop-hdfs</artifactId>
3148 <version>${hadoop-three.version}</version>
3151 <groupId>com.sun.jersey</groupId>
3152 <artifactId>jersey-core</artifactId>
3155 <groupId>com.sun.jersey</groupId>
3156 <artifactId>jersey-server</artifactId>
3159 <groupId>javax.servlet.jsp</groupId>
3160 <artifactId>jsp-api</artifactId>
3163 <groupId>javax.servlet</groupId>
3164 <artifactId>servlet-api</artifactId>
3167 <groupId>stax</groupId>
3168 <artifactId>stax-api</artifactId>
3171 <groupId>xerces</groupId>
3172 <artifactId>xercesImpl</artifactId>
3175 <groupId>org.codehaus.jackson</groupId>
3176 <artifactId>jackson-core-asl</artifactId>
3179 <groupId>org.codehaus.jackson</groupId>
3180 <artifactId>jackson-mapper-asl</artifactId>
3183 <groupId>com.google.guava</groupId>
3184 <artifactId>guava</artifactId>
3187 <groupId>org.slf4j</groupId>
3188 <artifactId>slf4j-log4j12</artifactId>
3191 <groupId>log4j</groupId>
3192 <artifactId>log4j</artifactId>
3195 <groupId>io.netty</groupId>
3196 <artifactId>netty</artifactId>
3199 <groupId>io.netty</groupId>
3200 <artifactId>netty-all</artifactId>
3205 <groupId>org.apache.hadoop</groupId>
3206 <artifactId>hadoop-hdfs</artifactId>
3207 <version>${hadoop-three.version}</version>
3208 <type>test-jar</type>
3212 <groupId>javax.servlet.jsp</groupId>
3213 <artifactId>jsp-api</artifactId>
3216 <groupId>javax.servlet</groupId>
3217 <artifactId>servlet-api</artifactId>
3220 <groupId>stax</groupId>
3221 <artifactId>stax-api</artifactId>
3224 <groupId>xerces</groupId>
3225 <artifactId>xercesImpl</artifactId>
3228 <groupId>org.codehaus.jackson</groupId>
3229 <artifactId>jackson-core-asl</artifactId>
3232 <groupId>org.codehaus.jackson</groupId>
3233 <artifactId>jackson-mapper-asl</artifactId>
3236 <groupId>com.google.guava</groupId>
3237 <artifactId>guava</artifactId>
3240 <groupId>com.sun.jersey</groupId>
3241 <artifactId>jersey-core</artifactId>
3244 <groupId>org.slf4j</groupId>
3245 <artifactId>slf4j-log4j12</artifactId>
3248 <groupId>log4j</groupId>
3249 <artifactId>log4j</artifactId>
3252 <groupId>io.netty</groupId>
3253 <artifactId>netty-all</artifactId>
3258 <groupId>org.apache.hadoop</groupId>
3259 <artifactId>hadoop-hdfs</artifactId>
3260 <version>${hadoop-three.version}</version>
3261 <type>test-jar</type>
3262 <classifier>tests</classifier>
3266 <groupId>com.sun.jersey</groupId>
3267 <artifactId>jersey-core</artifactId>
3272 <groupId>org.apache.hadoop</groupId>
3273 <artifactId>hadoop-auth</artifactId>
3274 <version>${hadoop-three.version}</version>
3277 <groupId>com.google.guava</groupId>
3278 <artifactId>guava</artifactId>
3281 <groupId>net.minidev</groupId>
3282 <artifactId>json-smart</artifactId>
3285 <groupId>org.slf4j</groupId>
3286 <artifactId>slf4j-log4j12</artifactId>
3289 <groupId>log4j</groupId>
3290 <artifactId>log4j</artifactId>
3295 <groupId>org.apache.hadoop</groupId>
3296 <artifactId>hadoop-common</artifactId>
3297 <version>${hadoop-three.version}</version>
3300 <groupId>com.sun.jersey</groupId>
3301 <artifactId>jersey-core</artifactId>
3304 <groupId>com.sun.jersey</groupId>
3305 <artifactId>jersey-json</artifactId>
3308 <groupId>com.sun.jersey</groupId>
3309 <artifactId>jersey-servlet</artifactId>
3312 <groupId>com.sun.jersey</groupId>
3313 <artifactId>jersey-server</artifactId>
3316 <groupId>javax.servlet.jsp</groupId>
3317 <artifactId>jsp-api</artifactId>
3320 <groupId>javax.servlet</groupId>
3321 <artifactId>javax.servlet-api</artifactId>
3324 <groupId>stax</groupId>
3325 <artifactId>stax-api</artifactId>
3328 <groupId>io.netty</groupId>
3329 <artifactId>netty</artifactId>
3332 <groupId>io.netty</groupId>
3333 <artifactId>netty-all</artifactId>
3336 <groupId>com.google.code.findbugs</groupId>
3337 <artifactId>jsr305</artifactId>
3340 <groupId>junit</groupId>
3341 <artifactId>junit</artifactId>
3344 <groupId>org.codehause.jackson</groupId>
3345 <artifactId>jackson-core-asl</artifactId>
3348 <groupId>org.codehause.jackson</groupId>
3349 <artifactId>jackson-mapper-asl</artifactId>
3352 <groupId>org.slf4j</groupId>
3353 <artifactId>slf4j-log4j12</artifactId>
3356 <groupId>log4j</groupId>
3357 <artifactId>log4j</artifactId>
3363 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3365 <groupId>javax.activation</groupId>
3366 <artifactId>javax.activation-api</artifactId>
3367 <version>1.2.0</version>
3371 <groupId>org.apache.hadoop</groupId>
3372 <artifactId>hadoop-common</artifactId>
3373 <type>test-jar</type>
3374 <classifier>tests</classifier>
3375 <version>${hadoop-three.version}</version>
3378 <groupId>com.sun.jersey</groupId>
3379 <artifactId>jersey-core</artifactId>
3382 <groupId>com.google.code.findbugs</groupId>
3383 <artifactId>jsr305</artifactId>
3388 <groupId>org.apache.hadoop</groupId>
3389 <artifactId>hadoop-client</artifactId>
3390 <version>${hadoop-three.version}</version>
3393 <groupId>org.apache.hadoop</groupId>
3394 <artifactId>hadoop-annotations</artifactId>
3395 <version>${hadoop-three.version}</version>
3397 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3398 Where do we actually need it? -->
3400 <groupId>org.apache.hadoop</groupId>
3401 <artifactId>hadoop-minicluster</artifactId>
3402 <version>${hadoop-three.version}</version>
3404 <!--If we comment this in, a few tests in hbase-mapreduce
3405 fail. They depend on jersey-core somehow. But excluding
3406 jersey-core here messes up hbase-it because jersey-core
3407 implements a 1.x jaxrs Response Interface when we depend
3408 on the 2.x Interface... . Letting this jar come in
3409 transitively here but will exclude it down in hbase-it.
3412 <groupId>com.sun.jersey</groupId>
3413 <artifactId>jersey-core</artifactId>
3417 <groupId>commons-httpclient</groupId>
3418 <artifactId>commons-httpclient</artifactId>
3421 <groupId>javax.servlet.jsp</groupId>
3422 <artifactId>jsp-api</artifactId>
3425 <groupId>javax.servlet</groupId>
3426 <artifactId>servlet-api</artifactId>
3429 <groupId>stax</groupId>
3430 <artifactId>stax-api</artifactId>
3433 <groupId>io.netty</groupId>
3434 <artifactId>netty</artifactId>
3436 <!-- MiniMRCluster needs the hadoop netty-all transitive include... a
3437 netty-all 4.0.52 version.... so we have to let it through.
3439 <groupId>io.netty</groupId>
3440 <artifactId>netty-all</artifactId>
3444 <groupId>com.google.code.findbugs</groupId>
3445 <artifactId>jsr305</artifactId>
3448 <groupId>org.slf4j</groupId>
3449 <artifactId>slf4j-log4j12</artifactId>
3452 <groupId>log4j</groupId>
3453 <artifactId>log4j</artifactId>
3458 <groupId>org.apache.hadoop</groupId>
3459 <artifactId>hadoop-minikdc</artifactId>
3460 <version>${hadoop-three.version}</version>
3464 <groupId>org.slf4j</groupId>
3465 <artifactId>slf4j-log4j12</artifactId>
3468 <groupId>log4j</groupId>
3469 <artifactId>log4j</artifactId>
3474 <groupId>org.apache.hadoop</groupId>
3475 <artifactId>hadoop-distcp</artifactId>
3476 <version>${hadoop-three.version}</version>
3480 <groupId>org.apache.hadoop</groupId>
3481 <artifactId>hadoop-hdfs-client</artifactId>
3482 <version>${hadoop-three.version}</version>
3485 </dependencyManagement>
3488 <!-- profiles for the tests
3489 See as well the properties of the project for the values
3490 when no profile is active. -->
3492 <!-- Use it to launch all tests in the same JVM -->
3493 <id>singleJVMTests</id>
3495 <activeByDefault>false</activeByDefault>
3498 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3499 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3500 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3501 <surefire.firstPartGroups/>
3505 <!-- Use it to launch small tests only -->
3506 <id>runSmallTests</id>
3508 <activeByDefault>false</activeByDefault>
3511 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3512 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3513 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3514 <surefire.secondPartGroups/>
3518 <!-- Use it to launch medium tests only -->
3519 <id>runMediumTests</id>
3521 <activeByDefault>false</activeByDefault>
3524 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3525 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3526 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3527 <surefire.secondPartGroups/>
3531 <!-- Use it to launch large tests only -->
3532 <id>runLargeTests</id>
3534 <activeByDefault>false</activeByDefault>
3537 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3538 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3539 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3540 <surefire.secondPartGroups/>
3544 <!-- Use it to launch small & medium tests -->
3545 <id>runDevTests</id>
3547 <activeByDefault>false</activeByDefault>
3550 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3551 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3552 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3553 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3554 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3558 <!-- Use it to launch all tests -->
3559 <id>runAllTests</id>
3561 <activeByDefault>false</activeByDefault>
3564 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3565 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3566 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3567 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3571 <id>runMiscTests</id>
3573 <activeByDefault>false</activeByDefault>
3576 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3577 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3578 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3579 </surefire.firstPartGroups>
3580 <surefire.secondPartGroups></surefire.secondPartGroups>
3584 <id>runCoprocessorTests</id>
3586 <activeByDefault>false</activeByDefault>
3589 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3590 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3591 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3592 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3593 <surefire.firstPartGroups>
3594 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3595 </surefire.firstPartGroups>
3596 <surefire.secondPartGroups></surefire.secondPartGroups>
3600 <id>runClientTests</id>
3602 <activeByDefault>false</activeByDefault>
3605 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3606 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3607 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3608 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3609 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3610 </surefire.firstPartGroups>
3611 <surefire.secondPartGroups></surefire.secondPartGroups>
3615 <id>runMasterTests</id>
3617 <activeByDefault>false</activeByDefault>
3620 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3621 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3622 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3623 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3624 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3625 </surefire.firstPartGroups>
3626 <surefire.secondPartGroups></surefire.secondPartGroups>
3630 <id>runMapredTests</id>
3632 <activeByDefault>false</activeByDefault>
3635 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3636 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3637 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3638 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3639 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3640 </surefire.firstPartGroups>
3641 <surefire.secondPartGroups></surefire.secondPartGroups>
3645 <id>runMapreduceTests</id>
3647 <activeByDefault>false</activeByDefault>
3650 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3651 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3652 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3653 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3654 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3655 </surefire.firstPartGroups>
3656 <surefire.secondPartGroups></surefire.secondPartGroups>
3660 <id>runRegionServerTests</id>
3662 <activeByDefault>false</activeByDefault>
3665 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3666 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3667 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3668 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3669 <surefire.firstPartGroups>
3670 org.apache.hadoop.hbase.testclassification.RegionServerTests
3671 </surefire.firstPartGroups>
3672 <surefire.secondPartGroups></surefire.secondPartGroups>
3676 <id>runVerySlowMapReduceTests</id>
3678 <activeByDefault>false</activeByDefault>
3681 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3682 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3683 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3684 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3685 <surefire.firstPartGroups>
3686 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3687 </surefire.firstPartGroups>
3688 <surefire.secondPartGroups></surefire.secondPartGroups>
3693 <id>runVerySlowRegionServerTests</id>
3695 <activeByDefault>false</activeByDefault>
3698 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3699 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3700 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3701 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3702 <surefire.firstPartGroups>
3703 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3704 </surefire.firstPartGroups>
3705 <surefire.secondPartGroups></surefire.secondPartGroups>
3710 <id>runFilterTests</id>
3712 <activeByDefault>false</activeByDefault>
3715 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3716 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3717 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3718 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3719 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3720 </surefire.firstPartGroups>
3721 <surefire.secondPartGroups></surefire.secondPartGroups>
3727 <activeByDefault>false</activeByDefault>
3730 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3731 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3732 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3733 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3734 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3735 </surefire.firstPartGroups>
3736 <surefire.secondPartGroups></surefire.secondPartGroups>
3740 <id>runRestTests</id>
3742 <activeByDefault>false</activeByDefault>
3745 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3746 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3747 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3748 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3749 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3750 </surefire.firstPartGroups>
3751 <surefire.secondPartGroups></surefire.secondPartGroups>
3755 <id>runRPCTests</id>
3757 <activeByDefault>false</activeByDefault>
3760 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3761 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3762 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3763 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3764 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3765 </surefire.firstPartGroups>
3766 <surefire.secondPartGroups></surefire.secondPartGroups>
3770 <id>runReplicationTests</id>
3772 <activeByDefault>false</activeByDefault>
3775 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3776 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3777 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3778 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3779 <surefire.firstPartGroups>
3780 org.apache.hadoop.hbase.testclassification.ReplicationTests
3781 </surefire.firstPartGroups>
3782 <surefire.secondPartGroups></surefire.secondPartGroups>
3786 <id>runSecurityTests</id>
3788 <activeByDefault>false</activeByDefault>
3791 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3792 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3793 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3794 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3795 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3796 </surefire.firstPartGroups>
3797 <surefire.secondPartGroups></surefire.secondPartGroups>
3801 <id>runFlakeyTests</id>
3803 <activeByDefault>false</activeByDefault>
3806 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3807 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3808 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3809 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3810 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3811 </surefire.firstPartGroups>
3812 <surefire.secondPartGroups></surefire.secondPartGroups>
3818 <activeByDefault>false</activeByDefault>
3821 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3822 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3823 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3824 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3825 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3826 </surefire.firstPartGroups>
3827 <surefire.secondPartGroups></surefire.secondPartGroups>
3832 <!-- Use it to launch tests locally-->
3840 <surefire.provider>surefire-junit4</surefire.provider>
3841 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3842 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3843 <surefire.firstPartGroups/>
3846 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3847 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3848 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3849 The report will be generated under target/site/clover/index.html when you run
3850 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3854 <activeByDefault>false</activeByDefault>
3860 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3864 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3865 our instrumented classes for the doclet will fail
3868 <groupId>org.apache.maven.plugins</groupId>
3869 <artifactId>maven-javadoc-plugin</artifactId>
3872 <groupId>com.atlassian.maven.plugins</groupId>
3873 <artifactId>maven-clover2-plugin</artifactId>
3874 <version>${clover.version}</version>
3879 <groupId>com.atlassian.maven.plugins</groupId>
3880 <artifactId>maven-clover2-plugin</artifactId>
3881 <version>${clover.version}</version>
3883 <includesAllSourceRoots>true</includesAllSourceRoots>
3884 <includesTestSourceRoots>true</includesTestSourceRoots>
3885 <targetPercentage>50%</targetPercentage>
3886 <generateHtml>true</generateHtml>
3887 <generateXml>true</generateXml>
3889 <exclude>**/generated/**</exclude>
3894 <id>clover-setup</id>
3895 <phase>process-sources</phase>
3913 <!-- Used by the website generation script on jenkins to
3914 do a local install of the jars we need to run a normal
3915 site build w/o forking.
3917 <id>site-install-step</id>
3919 <skipTests>true</skipTests>
3920 <maven.javadoc.skip>true</maven.javadoc.skip>
3921 <enforcer.skip>true</enforcer.skip>
3922 <checkstyle.skip>true</checkstyle.skip>
3923 <spotbugs.skip>true</spotbugs.skip>
3924 <warbucks.skip>true</warbucks.skip>
3928 <!-- Used by the website generation script on jenkins to
3929 mitigate the impact of unneeded build forks while building
3932 <id>site-build-step</id>
3934 <skipTests>true</skipTests>
3935 <enforcer.skip>true</enforcer.skip>
3936 <maven.main.skip>true</maven.main.skip>
3937 <maven.test.skip>true</maven.test.skip>
3938 <warbucks.skip>true</warbucks.skip>
3939 <protoc.skip>true</protoc.skip>
3940 <remoteresources.skip>true</remoteresources.skip>
3944 <id>eclipse-specific</id>
3947 <name>m2e.version</name>
3953 <!-- General config for eclipse classpath/settings -->
3955 <groupId>org.apache.maven.plugins</groupId>
3956 <artifactId>maven-eclipse-plugin</artifactId>
3957 <version>${maven.eclipse.version}</version>
3959 <!--This plugin's configuration is used to store Eclipse m2e settings
3960 only. It has no influence on the Maven build itself. m2e does not
3961 provide any safeguards against rogue maven plugins that leak
3962 classloaders, modify random files inside workspace or throw nasty
3963 exceptions to fail the build.
3964 Top level doesn't do any specific configuration currently - left
3965 to modules to decide what they want to bind, sans those plugins
3966 defined in this pom. -->
3968 <groupId>org.eclipse.m2e</groupId>
3969 <artifactId>lifecycle-mapping</artifactId>
3970 <version>${lifecycle.mapping.version}</version>
3972 <lifecycleMappingMetadata>
3975 <pluginExecutionFilter>
3976 <groupId>org.jacoco</groupId>
3977 <artifactId>jacoco-maven-plugin</artifactId>
3978 <versionRange>[0.6.2.201302030002,)</versionRange>
3980 <goal>prepare-agent</goal>
3982 </pluginExecutionFilter>
3988 <pluginExecutionFilter>
3989 <groupId>org.apache.maven.plugins</groupId>
3990 <artifactId>maven-enforcer-plugin</artifactId>
3991 <versionRange>${enforcer.version}</versionRange>
3993 <goal>enforce</goal>
3995 </pluginExecutionFilter>
4001 <pluginExecutionFilter>
4002 <groupId>org.apache.maven.plugins</groupId>
4003 <artifactId>maven-remote-resources-plugin</artifactId>
4004 <versionRange>[1.5,)</versionRange>
4006 <goal>process</goal>
4009 </pluginExecutionFilter>
4015 <pluginExecutionFilter>
4016 <groupId>org.codehaus.mojo</groupId>
4017 <artifactId>buildnumber-maven-plugin</artifactId>
4018 <versionRange>[1.3,)</versionRange>
4020 <goal>create-timestamp</goal>
4022 </pluginExecutionFilter>
4025 <runOnConfiguration>true</runOnConfiguration>
4026 <runOnIncremental>true</runOnIncremental>
4031 </lifecycleMappingMetadata>
4041 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
4042 <external.protoc.version>2.5.0.2</external.protoc.version>
4046 <family>linux</family>
4047 <arch>aarch64</arch>
4052 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
4056 <artifactId>maven-project-info-reports-plugin</artifactId>
4057 <version>${maven.project.info.report.version}</version>
4061 <report>dependencies</report>
4062 <report>dependency-convergence</report>
4063 <report>dependency-info</report>
4064 <report>dependency-management</report>
4065 <report>index</report>
4066 <report>issue-management</report>
4067 <report>licenses</report>
4068 <report>mailing-lists</report>
4069 <report>plugin-management</report>
4070 <report>plugins</report>
4071 <report>team</report>
4072 <report>scm</report>
4073 <report>summary</report>
4077 <!-- see src/site/site.xml for selected reports -->
4079 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
4084 <groupId>org.apache.maven.plugins</groupId>
4085 <artifactId>maven-javadoc-plugin</artifactId>
4089 <name>apiNote</name>
4090 <placement>a</placement>
4091 <head>API Note:</head>
4100 <report>aggregate-no-fork</report>
4103 <destDir>devapidocs</destDir>
4104 <name>Developer API</name>
4105 <description>The full HBase API, including private and unstable APIs</description>
4106 <sourceFileExcludes>
4107 <exclude>**/generated/*</exclude>
4108 <exclude>**/protobuf/*</exclude>
4109 </sourceFileExcludes>
4110 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4111 <show>private</show> <!-- (shows all classes and members) -->
4113 <linksource>true</linksource>
4114 <sourcetab>2</sourcetab>
4115 <validateLinks>true</validateLinks>
4116 <fixClassComment>true</fixClassComment>
4117 <fixFieldComment>true</fixFieldComment>
4118 <fixMethodComment>true</fixMethodComment>
4119 <fixTags>all</fixTags>
4120 <notimestamp>true</notimestamp>
4121 <locale>en_US</locale>
4122 <!-- Pass some options straight to the javadoc executable since it is easier -->
4123 <additionalJOption>-J-Xmx2G</additionalJOption>
4124 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4125 <additionalDependencies>
4126 <additionalDependency>
4127 <groupId>org.mockito</groupId>
4128 <artifactId>mockito-core</artifactId>
4129 <version>${mockito-core.version}</version>
4130 </additionalDependency>
4131 <additionalDependency>
4132 <groupId>org.hamcrest</groupId>
4133 <artifactId>hamcrest-core</artifactId>
4134 <version>${hamcrest.version}</version>
4135 </additionalDependency>
4136 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4137 <additionalDependency>
4138 <groupId>com.google.code.findbugs</groupId>
4139 <artifactId>jsr305</artifactId>
4140 <version>3.0.2</version>
4141 </additionalDependency>
4142 </additionalDependencies>
4143 <inherited>false</inherited>
4149 <report>test-aggregate-no-fork</report>
4152 <destDir>testdevapidocs</destDir>
4153 <name>Developer API</name>
4154 <description>The full HBase API test code, including private and unstable APIs</description>
4155 <sourceFileExcludes>
4156 <exclude>**/generated/*</exclude>
4157 <exclude>**/protobuf/*</exclude>
4158 </sourceFileExcludes>
4159 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4160 <show>private</show> <!-- (shows all classes and members) -->
4162 <linksource>true</linksource>
4163 <sourcetab>2</sourcetab>
4164 <validateLinks>true</validateLinks>
4165 <fixClassComment>true</fixClassComment>
4166 <fixFieldComment>true</fixFieldComment>
4167 <fixMethodComment>true</fixMethodComment>
4168 <fixTags>all</fixTags>
4169 <notimestamp>true</notimestamp>
4170 <locale>en_US</locale>
4171 <!-- Pass some options straight to the javadoc executable since it is easier -->
4172 <additionalJOption>-J-Xmx2G</additionalJOption>
4173 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4174 <additionalDependencies>
4175 <additionalDependency>
4176 <groupId>org.mockito</groupId>
4177 <artifactId>mockito-core</artifactId>
4178 <version>${mockito-core.version}</version>
4179 </additionalDependency>
4180 <additionalDependency>
4181 <groupId>org.hamcrest</groupId>
4182 <artifactId>hamcrest-core</artifactId>
4183 <version>${hamcrest.version}</version>
4184 </additionalDependency>
4185 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4186 <additionalDependency>
4187 <groupId>com.google.code.findbugs</groupId>
4188 <artifactId>jsr305</artifactId>
4189 <version>3.0.2</version>
4190 </additionalDependency>
4191 </additionalDependencies>
4192 <inherited>false</inherited>
4200 <report>aggregate-no-fork</report>
4204 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4207 <groupId>org.apache.yetus</groupId>
4208 <artifactId>audience-annotations</artifactId>
4209 <version>${audience-annotations.version}</version>
4211 <useStandardDocletOptions>true</useStandardDocletOptions>
4212 <destDir>apidocs</destDir>
4213 <name>User API</name>
4214 <description>The HBase Application Programmer's API</description>
4215 <excludePackageNames>
4216 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*
4217 </excludePackageNames>
4218 <!-- switch on dependency-driven aggregation -->
4219 <includeDependencySources>false</includeDependencySources>
4220 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4221 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4223 <linksource>true</linksource>
4224 <sourcetab>2</sourcetab>
4225 <validateLinks>true</validateLinks>
4226 <fixClassComment>true</fixClassComment>
4227 <fixFieldComment>true</fixFieldComment>
4228 <fixMethodComment>true</fixMethodComment>
4229 <fixTags>all</fixTags>
4230 <notimestamp>true</notimestamp>
4231 <locale>en_US</locale>
4232 <!-- Pass some options straight to the javadoc executable since it is easier -->
4233 <additionalJOption>-J-Xmx2G</additionalJOption>
4234 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4235 <additionalDependencies>
4236 <additionalDependency>
4237 <groupId>org.mockito</groupId>
4238 <artifactId>mockito-core</artifactId>
4239 <version>${mockito-core.version}</version>
4240 </additionalDependency>
4241 <additionalDependency>
4242 <groupId>org.hamcrest</groupId>
4243 <artifactId>hamcrest-core</artifactId>
4244 <version>${hamcrest.version}</version>
4245 </additionalDependency>
4246 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4247 <additionalDependency>
4248 <groupId>com.google.code.findbugs</groupId>
4249 <artifactId>jsr305</artifactId>
4250 <version>3.0.2</version>
4251 </additionalDependency>
4252 </additionalDependencies>
4253 <inherited>false</inherited>
4256 <!-- User Test API -->
4258 <id>testuserapi</id>
4260 <report>test-aggregate-no-fork</report>
4264 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4267 <groupId>org.apache.yetus</groupId>
4268 <artifactId>audience-annotations</artifactId>
4269 <version>${audience-annotations.version}</version>
4271 <useStandardDocletOptions>true</useStandardDocletOptions>
4272 <destDir>testapidocs</destDir>
4273 <name>User API</name>
4274 <description>The HBase Application Programmer's API</description>
4275 <excludePackageNames>
4276 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*
4277 </excludePackageNames>
4278 <!-- switch on dependency-driven aggregation -->
4279 <includeDependencySources>false</includeDependencySources>
4280 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4281 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4283 <linksource>true</linksource>
4284 <sourcetab>2</sourcetab>
4285 <validateLinks>true</validateLinks>
4286 <fixClassComment>true</fixClassComment>
4287 <fixFieldComment>true</fixFieldComment>
4288 <fixMethodComment>true</fixMethodComment>
4289 <fixTags>all</fixTags>
4290 <notimestamp>true</notimestamp>
4291 <locale>en_US</locale>
4292 <!-- Pass some options straight to the javadoc executable since it is easier -->
4293 <additionalJOption>-J-Xmx2G</additionalJOption>
4294 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4295 <additionalDependencies>
4296 <additionalDependency>
4297 <groupId>org.mockito</groupId>
4298 <artifactId>mockito-core</artifactId>
4299 <version>${mockito-core.version}</version>
4300 </additionalDependency>
4301 <additionalDependency>
4302 <groupId>org.hamcrest</groupId>
4303 <artifactId>hamcrest-core</artifactId>
4304 <version>${hamcrest.version}</version>
4305 </additionalDependency>
4306 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4307 <additionalDependency>
4308 <groupId>com.google.code.findbugs</groupId>
4309 <artifactId>jsr305</artifactId>
4310 <version>3.0.2</version>
4311 </additionalDependency>
4312 </additionalDependencies>
4313 <inherited>false</inherited>
4320 <groupId>org.apache.maven.plugins</groupId>
4321 <artifactId>maven-checkstyle-plugin</artifactId>
4322 <version>${maven.checkstyle.version}</version>
4324 <excludes>target/**</excludes>
4330 <distributionManagement>
4332 <id>hbase.apache.org</id>
4333 <name>HBase Website at hbase.apache.org</name>
4334 <!-- On why this is the tmp dir and not hbase.apache.org, see
4335 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4337 <url>file:///tmp</url>
4339 </distributionManagement>