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.10-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>
866 <groupId>org.apache.maven.plugins</groupId>
867 <artifactId>maven-gpg-plugin</artifactId>
868 <version>${maven.gpg.version}</version>
874 <groupId>org.codehaus.mojo</groupId>
875 <artifactId>build-helper-maven-plugin</artifactId>
878 <id>negate-license-bundles-property</id>
880 <goal>bsh-property</goal>
883 <source>skip.license.check = !${license.bundles.dependencies};</source>
885 <property>skip.license.check</property>
889 <!-- sets where to find the generated LICENSE files -->
891 <id>create-license-file-path-property</id>
893 <goal>regex-property</goal>
896 <name>license.aggregate.path</name>
897 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
899 <replacement>/</replacement>
900 <failIfNoMatch>false</failIfNoMatch>
906 <groupId>org.apache.maven.plugins</groupId>
907 <artifactId>maven-enforcer-plugin</artifactId>
910 <id>display-info</id>
911 <phase>initialize</phase>
913 <goal>display-info</goal>
915 <inherited>false</inherited>
918 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
924 <!-- Help people activate profiles correctly -->
926 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
927 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
929 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
930 <requireMavenVersion>
931 <version>[${maven.min.version},)</version>
932 <message>Maven is out of date.
933 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
934 You appear to be using an older version. You can use either "mvn -version" or
935 "mvn enforcer:display-info" to verify what version is active.
936 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
938 </requireMavenVersion>
939 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
941 <version>[${java.min.version},)</version>
942 <message>Java is out of date.
943 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
944 You appear to be using an older version. You can use either "mvn -version" or
945 "mvn enforcer:display-info" to verify what version is active.
946 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
948 </requireJavaVersion>
951 <exclude>xerces:xercesImpl</exclude>
953 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
954 </bannedDependencies>
959 <id>banned-jsr305</id>
967 <exclude>com.google.code.findbugs:jsr305</exclude>
969 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
970 </bannedDependencies>
975 <id>banned-commons-logging</id>
983 <exclude>commons-logging:commons-logging</exclude>
986 We don't use commons-logging any more, so do not depend on it directly.
988 <searchTransitive>false</searchTransitive>
989 </bannedDependencies>
994 <id>banned-jetty</id>
1000 <bannedDependencies>
1002 <exclude>org.eclipse.jetty:**</exclude>
1005 Use shaded jetty instead
1007 <searchTransitive>false</searchTransitive>
1008 </bannedDependencies>
1013 <id>banned-jersey</id>
1015 <goal>enforce</goal>
1019 <bannedDependencies>
1021 <exclude>org.glassfish.jersey.containers:**</exclude>
1022 <exclude>org.glassfish.jersey.core:**</exclude>
1025 Use shaded jersey instead
1027 <searchTransitive>false</searchTransitive>
1028 </bannedDependencies>
1033 <id>check-aggregate-license</id>
1034 <!-- must check after LICENSE is built at 'generate-resources' -->
1035 <phase>process-resources</phase>
1037 <goal>enforce</goal>
1043 File license = new File("${license.aggregate.path}");
1045 // Beanshell does not support try-with-resources,
1046 // so we must close this scanner manually
1047 Scanner scanner = new Scanner(license);
1049 while (scanner.hasNextLine()) {
1050 if (scanner.nextLine().startsWith("ERROR:")) {
1059 License errors detected, for more detail find ERROR in
1060 ${license.aggregate.path}
1062 </evaluateBeanshell>
1064 <skip>${skip.license.check}</skip>
1068 <id>banned-illegal-imports</id>
1069 <phase>process-sources</phase>
1071 <goal>enforce</goal>
1075 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1076 <includeTestCode>true</includeTestCode>
1077 <commentLineBufferSize>512</commentLineBufferSize>
1078 <reason>Use SLF4j for logging</reason>
1080 <bannedImport>org.apache.commons.logging.**</bannedImport>
1083 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1084 <includeTestCode>false</includeTestCode>
1085 <commentLineBufferSize>512</commentLineBufferSize>
1087 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1090 <bannedImport>org.apache.log4j.**</bannedImport>
1093 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1094 <includeTestCode>true</includeTestCode>
1095 <commentLineBufferSize>512</commentLineBufferSize>
1096 <reason>Use shaded version in hbase-thirdparty</reason>
1098 <bannedImport>com.google.common.**</bannedImport>
1099 <bannedImport>io.netty.**</bannedImport>
1100 <bannedImport>org.apache.commons.cli.**</bannedImport>
1101 <bannedImport>org.apache.commons.collections.**</bannedImport>
1102 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1105 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1106 <includeTestCode>true</includeTestCode>
1107 <commentLineBufferSize>512</commentLineBufferSize>
1108 <reason>Do not use shaded classes from other dependencies</reason>
1110 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1111 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1114 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1115 <includeTestCode>true</includeTestCode>
1116 <commentLineBufferSize>512</commentLineBufferSize>
1117 <reason>Use shaded gson in hbase-thirdparty</reason>
1119 <bannedImport>org.codehaus.jackson.**</bannedImport>
1122 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1123 <includeTestCode>true</includeTestCode>
1124 <commentLineBufferSize>512</commentLineBufferSize>
1125 <reason>Use commons lang 3</reason>
1127 <bannedImport>org.apache.commons.lang.**</bannedImport>
1130 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1131 <includeTestCode>true</includeTestCode>
1132 <commentLineBufferSize>512</commentLineBufferSize>
1133 <reason>Use yetus IA and IS annotations</reason>
1135 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1138 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1139 <includeTestCode>true</includeTestCode>
1140 <commentLineBufferSize>512</commentLineBufferSize>
1141 <reason>Do not use htrace v3</reason>
1143 <bannedImport>org.htrace.**</bannedImport>
1146 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1147 <includeTestCode>true</includeTestCode>
1148 <commentLineBufferSize>512</commentLineBufferSize>
1149 <reason>Use shaded jetty in hbase-thirdparty</reason>
1151 <bannedImport>org.eclipse.jetty.**</bannedImport>
1154 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1155 <includeTestCode>true</includeTestCode>
1156 <commentLineBufferSize>512</commentLineBufferSize>
1157 <reason>Use shaded jersey in hbase-thirdparty</reason>
1159 <bannedImport>org.glassfish.jersey.**</bannedImport>
1162 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1163 <includeTestCode>true</includeTestCode>
1164 <commentLineBufferSize>512</commentLineBufferSize>
1166 You should never use this style of annotations(i.e, 'this is for test only')
1167 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1169 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1172 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1180 <!-- parent-module only plugins -->
1182 <groupId>org.codehaus.mojo</groupId>
1183 <artifactId>xml-maven-plugin</artifactId>
1184 <version>${xml.maven.version}</version>
1185 <inherited>false</inherited>
1188 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1190 <goal>transform</goal>
1196 <transformationSets>
1197 <!-- For asciidoc -->
1199 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1200 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1202 <include>hbase-default.xml</include>
1204 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1206 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1207 <pattern>^(.*)\.xml$</pattern>
1208 <replacement>$1.adoc</replacement>
1211 <outputDir>${basedir}/target/asciidoc</outputDir>
1212 </transformationSet>
1213 </transformationSets>
1216 <!-- Special configuration for spotbugs just in the parent so
1217 the filter file location can be more general (see definition in pluginManagement) -->
1219 <groupId>com.github.spotbugs</groupId>
1220 <artifactId>spotbugs-maven-plugin</artifactId>
1223 <inherited>false</inherited>
1225 <goal>spotbugs</goal>
1228 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1234 <groupId>org.apache.maven.plugins</groupId>
1235 <artifactId>maven-checkstyle-plugin</artifactId>
1238 <groupId>org.apache.maven.plugins</groupId>
1239 <artifactId>maven-site-plugin</artifactId>
1242 <!-- add support for ssh/scp -->
1243 <groupId>org.apache.maven.wagon</groupId>
1244 <artifactId>wagon-ssh</artifactId>
1245 <version>${wagon.ssh.version}</version>
1249 <siteDirectory>${basedir}/src/site</siteDirectory>
1250 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1251 <inputEncoding>UTF-8</inputEncoding>
1252 <outputEncoding>UTF-8</outputEncoding>
1255 <!-- For AsciiDoc docs building -->
1257 <groupId>org.asciidoctor</groupId>
1258 <artifactId>asciidoctor-maven-plugin</artifactId>
1259 <version>${asciidoctor.plugin.version}</version>
1260 <inherited>false</inherited>
1263 <groupId>org.asciidoctor</groupId>
1264 <artifactId>asciidoctorj-pdf</artifactId>
1265 <version>${asciidoctorj.pdf.version}</version>
1268 <groupId>org.jruby</groupId>
1269 <artifactId>jruby-complete</artifactId>
1270 <version>${jruby.version}</version>
1274 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1275 <doctype>book</doctype>
1277 <docVersion>${project.version}</docVersion>
1278 <imagesdir>images</imagesdir>
1279 <source-highlighter>coderay</source-highlighter>
1284 <id>output-html</id>
1287 <goal>process-asciidoc</goal>
1291 <stylesheet>hbase.css</stylesheet>
1293 <backend>html5</backend>
1300 <goal>process-asciidoc</goal>
1303 <backend>pdf</backend>
1308 <idseparator>-</idseparator>
1315 <groupId>org.apache.maven.plugins</groupId>
1316 <artifactId>maven-resources-plugin</artifactId>
1317 <!--$NO-MVN-MAN-VER$ -->
1318 <inherited>false</inherited>
1321 <id>copy-htaccess</id>
1323 <goal>copy-resources</goal>
1327 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1330 <directory>${basedir}/src/site/resources/</directory>
1332 <include>.htaccess</include>
1338 <!-- needed to make the redirect above work -->
1340 <id>copy-empty-book-dir</id>
1342 <goal>copy-resources</goal>
1346 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1349 <directory>${basedir}/src/site/resources/</directory>
1351 <include>book/**</include>
1359 <escapeString>\</escapeString>
1363 <groupId>org.apache.maven.plugins</groupId>
1364 <artifactId>maven-antrun-plugin</artifactId>
1365 <version>${maven.antrun.version}</version>
1366 <inherited>false</inherited>
1367 <!-- Rename the book.pdf generated by asciidoctor -->
1373 <target name="rename file">
1374 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1384 <groupId>org.codehaus.mojo</groupId>
1385 <artifactId>buildnumber-maven-plugin</artifactId>
1388 <phase>validate</phase>
1390 <goal>create-timestamp</goal>
1395 <timestampFormat>yyyy</timestampFormat>
1396 <timestampPropertyName>build.year</timestampPropertyName>
1400 <groupId>org.apache.felix</groupId>
1401 <artifactId>maven-bundle-plugin</artifactId>
1402 <version>${maven.bundle.version}</version>
1403 <inherited>true</inherited>
1404 <extensions>true</extensions>
1409 <!-- override on command line to have generated LICENSE files include
1410 diagnostic info for verifying notice requirements -->
1411 <license.debug.print.included>false</license.debug.print.included>
1412 <!-- When a particular module bundles its depenendencies, should be true -->
1413 <license.bundles.dependencies>false</license.bundles.dependencies>
1414 <!-- modules that include a the logo in their source tree should set true -->
1415 <license.bundles.logo>false</license.bundles.logo>
1416 <!-- modules that include bootstrap in their source tree should set true -->
1417 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1418 <!-- modules that include jquery in their source tree should set true -->
1419 <license.bundles.jquery>false</license.bundles.jquery>
1420 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1421 <maven.build.timestamp.format>
1423 </maven.build.timestamp.format>
1424 <buildDate>${maven.build.timestamp}</buildDate>
1425 <compileSource>1.8</compileSource>
1426 <!-- Build dependencies -->
1427 <maven.min.version>3.0.4</maven.min.version>
1428 <java.min.version>${compileSource}</java.min.version>
1429 <!-- Dependencies -->
1430 <hadoop-two.version>2.10.0</hadoop-two.version>
1431 <hadoop-three.version>3.1.2</hadoop-three.version>
1432 <!-- These must be defined here for downstream build tools that don't look at profiles.
1433 They ought to match the values found in our default hadoop profile, which is
1434 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1435 <hadoop.version>${hadoop-two.version}</hadoop.version>
1436 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1437 <compat.module>hbase-hadoop2-compat</compat.module>
1438 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1439 <!--This property is for hadoops netty. HBase netty
1440 comes in via hbase-thirdparty hbase-shaded-netty-->
1441 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1442 <!-- end HBASE-15925 default hadoop compatibility values -->
1443 <audience-annotations.version>0.5.0</audience-annotations.version>
1444 <avro.version>1.7.7</avro.version>
1445 <caffeine.version>2.8.1</caffeine.version>
1446 <commons-codec.version>1.13</commons-codec.version>
1447 <commons-io.version>2.11.0</commons-io.version>
1448 <commons-lang3.version>3.9</commons-lang3.version>
1449 <commons-math.version>3.6.1</commons-math.version>
1450 <disruptor.version>3.4.2</disruptor.version>
1451 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1452 especially when writing out 'no column families'. Later httpclients collapse the '//'
1453 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1454 TestRemoteTable. -->
1455 <httpclient.version>4.5.3</httpclient.version>
1456 <httpcore.version>4.4.13</httpcore.version>
1457 <metrics-core.version>3.2.6</metrics-core.version>
1458 <jackson.version>2.10.1</jackson.version>
1459 <jackson.databind.version>2.10.1</jackson.databind.version>
1460 <jaxb-api.version>2.3.1</jaxb-api.version>
1461 <servlet.api.version>3.1.0</servlet.api.version>
1462 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1463 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1464 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1465 <jruby.version>9.2.13.0</jruby.version>
1466 <junit.version>4.13</junit.version>
1467 <hamcrest.version>1.3</hamcrest.version>
1468 <htrace.version>4.2.0-incubating</htrace.version>
1469 <log4j.version>1.2.17</log4j.version>
1470 <mockito-core.version>2.28.2</mockito-core.version>
1471 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1472 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1473 <external.protobuf.version>2.5.0</external.protobuf.version>
1474 <external.protoc.version>${external.protobuf.version}</external.protoc.version>
1475 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1476 <thrift.path>thrift</thrift.path>
1477 <thrift.version>0.14.1</thrift.version>
1478 <zookeeper.version>3.5.7</zookeeper.version>
1479 <jline.version>2.11</jline.version>
1480 <slf4j.version>1.7.30</slf4j.version>
1481 <clover.version>4.0.3</clover.version>
1482 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1483 <jettison.version>1.3.8</jettison.version>
1484 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1485 <joni.version>2.1.31</joni.version>
1486 <jcodings.version>1.0.55</jcodings.version>
1487 <spy.version>2.12.2</spy.version>
1488 <bouncycastle.version>1.60</bouncycastle.version>
1489 <kerby.version>1.0.1</kerby.version>
1490 <commons-crypto.version>1.0.0</commons-crypto.version>
1491 <curator.version>4.2.0</curator.version>
1492 <!-- Plugin Dependencies -->
1493 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1494 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1495 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1496 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1498 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1500 <checkstyle.version>8.28</checkstyle.version>
1501 <exec.maven.version>1.6.0</exec.maven.version>
1502 <error-prone.version>2.4.0</error-prone.version>
1503 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1504 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1505 <maven.antrun.version>1.8</maven.antrun.version>
1506 <maven.bundle.version>3.3.0</maven.bundle.version>
1507 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1508 <maven.eclipse.version>2.10</maven.eclipse.version>
1509 <maven.gpg.version>3.0.1</maven.gpg.version>
1510 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1511 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1512 <maven.project.info.report.version>3.1.2</maven.project.info.report.version>
1513 <os.maven.version>1.5.0.Final</os.maven.version>
1514 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1515 <spotbugs.version>4.2.2</spotbugs.version>
1516 <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1517 <surefire.version>3.0.0-M4</surefire.version>
1518 <wagon.ssh.version>2.12</wagon.ssh.version>
1519 <xml.maven.version>1.0.1</xml.maven.version>
1520 <hbase-thirdparty.version>3.5.1</hbase-thirdparty.version>
1521 <!-- Intraproject jar naming properties -->
1522 <!-- TODO this is pretty ugly, but works for the moment.
1523 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1524 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1525 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1526 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1527 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1528 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1529 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1530 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1531 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1532 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1533 <shell-executable>bash</shell-executable>
1534 <surefire.provider>surefire-junit47</surefire.provider>
1535 <!-- default: run small & medium, medium with 2 threads -->
1536 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1537 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1538 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1539 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1540 value is you want to burn through tests faster (could make for more failures
1541 if more contention around resources). There is a matching MAVEN_ARG
1542 in our yetus personality where we set the maven -T command to 0.25C too.
1543 For example, to run at a rate that is more furious than our 0.25C, do
1544 something like this:
1545 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1547 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1548 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1549 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1550 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1551 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1552 <test.output.tofile>true</test.output.tofile>
1553 <surefire.timeout>900</surefire.timeout>
1554 <test.exclude.pattern></test.exclude.pattern>
1556 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1557 This value is managed separately for jdk11. See below.
1559 <surefire.Xmx>2200m</surefire.Xmx>
1560 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1561 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1563 And for netty eventloops that have no explicit configuration, netty sets
1564 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1567 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1568 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1569 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1570 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1571 -Dio.netty.eventLoopThreads=3
1572 </hbase-surefire.argLine>
1573 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1574 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1575 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1576 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1577 </hbase-surefire.cygwin-argLine>
1578 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1579 <argLine>${hbase-surefire.argLine}</argLine>
1580 <jacoco.version>0.7.5.201505241946</jacoco.version>
1581 <extra.enforcer.version>1.3</extra.enforcer.version>
1582 <enforcer.version>3.0.0-M3</enforcer.version>
1583 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1584 <!-- Location of test resources -->
1585 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1586 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1587 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1588 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1589 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1590 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1591 <build.id>${maven.build.timestamp}</build.id>
1592 <shell-executable>bash</shell-executable>
1593 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1594 property as of javadoc-plugin 3.0.0 -->
1595 <doclint>none</doclint>
1597 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1598 <dependencyManagement>
1601 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1602 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1603 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1604 implementation of the same, because Hadoop also uses this version
1605 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1606 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1608 <!-- Intra-module dependencies -->
1610 <groupId>org.apache.hbase</groupId>
1611 <artifactId>hbase-annotations</artifactId>
1612 <version>${project.version}</version>
1613 <type>test-jar</type>
1614 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1617 <groupId>org.apache.hbase</groupId>
1618 <artifactId>hbase-common</artifactId>
1619 <version>${project.version}</version>
1622 <groupId>org.apache.hbase</groupId>
1623 <artifactId>hbase-common</artifactId>
1624 <version>${project.version}</version>
1625 <type>test-jar</type>
1629 <groupId>org.apache.hbase</groupId>
1630 <artifactId>hbase-logging</artifactId>
1631 <version>${project.version}</version>
1634 <groupId>org.apache.hbase</groupId>
1635 <artifactId>hbase-logging</artifactId>
1636 <version>${project.version}</version>
1637 <type>test-jar</type>
1641 <groupId>org.apache.hbase</groupId>
1642 <artifactId>hbase-protocol-shaded</artifactId>
1643 <version>${project.version}</version>
1646 <groupId>org.apache.hbase</groupId>
1647 <artifactId>hbase-protocol</artifactId>
1648 <version>${project.version}</version>
1651 <groupId>org.apache.hbase</groupId>
1652 <artifactId>hbase-procedure</artifactId>
1653 <version>${project.version}</version>
1656 <groupId>org.apache.hbase</groupId>
1657 <artifactId>hbase-procedure</artifactId>
1658 <version>${project.version}</version>
1659 <type>test-jar</type>
1662 <groupId>org.apache.hbase</groupId>
1663 <artifactId>hbase-hadoop-compat</artifactId>
1664 <version>${project.version}</version>
1667 <groupId>org.apache.hbase</groupId>
1668 <artifactId>hbase-hadoop-compat</artifactId>
1669 <version>${project.version}</version>
1670 <type>test-jar</type>
1674 <groupId>org.apache.hbase</groupId>
1675 <artifactId>${compat.module}</artifactId>
1676 <version>${project.version}</version>
1679 <groupId>org.apache.hbase</groupId>
1680 <artifactId>${compat.module}</artifactId>
1681 <version>${project.version}</version>
1682 <type>test-jar</type>
1686 <artifactId>hbase-rsgroup</artifactId>
1687 <groupId>org.apache.hbase</groupId>
1688 <version>${project.version}</version>
1691 <artifactId>hbase-rsgroup</artifactId>
1692 <groupId>org.apache.hbase</groupId>
1693 <version>${project.version}</version>
1694 <type>test-jar</type>
1698 <artifactId>hbase-replication</artifactId>
1699 <groupId>org.apache.hbase</groupId>
1700 <version>${project.version}</version>
1703 <artifactId>hbase-http</artifactId>
1704 <groupId>org.apache.hbase</groupId>
1705 <version>${project.version}</version>
1708 <artifactId>hbase-http</artifactId>
1709 <groupId>org.apache.hbase</groupId>
1710 <version>${project.version}</version>
1711 <type>test-jar</type>
1715 <artifactId>hbase-server</artifactId>
1716 <groupId>org.apache.hbase</groupId>
1717 <version>${project.version}</version>
1720 <artifactId>hbase-server</artifactId>
1721 <groupId>org.apache.hbase</groupId>
1722 <version>${project.version}</version>
1723 <type>test-jar</type>
1727 <artifactId>hbase-mapreduce</artifactId>
1728 <groupId>org.apache.hbase</groupId>
1729 <version>${project.version}</version>
1732 <artifactId>hbase-mapreduce</artifactId>
1733 <groupId>org.apache.hbase</groupId>
1734 <version>${project.version}</version>
1735 <type>test-jar</type>
1739 <artifactId>hbase-endpoint</artifactId>
1740 <groupId>org.apache.hbase</groupId>
1741 <version>${project.version}</version>
1744 <artifactId>hbase-shell</artifactId>
1745 <groupId>org.apache.hbase</groupId>
1746 <version>${project.version}</version>
1749 <artifactId>hbase-shell</artifactId>
1750 <groupId>org.apache.hbase</groupId>
1751 <version>${project.version}</version>
1752 <type>test-jar</type>
1756 <artifactId>hbase-thrift</artifactId>
1757 <groupId>org.apache.hbase</groupId>
1758 <version>${project.version}</version>
1761 <artifactId>hbase-thrift</artifactId>
1762 <groupId>org.apache.hbase</groupId>
1763 <version>${project.version}</version>
1764 <type>test-jar</type>
1768 <groupId>org.apache.hbase</groupId>
1769 <artifactId>hbase-testing-util</artifactId>
1770 <version>${project.version}</version>
1774 <artifactId>hbase-examples</artifactId>
1775 <groupId>org.apache.hbase</groupId>
1776 <version>${project.version}</version>
1779 <groupId>org.apache.hbase</groupId>
1780 <artifactId>hbase-external-blockcache</artifactId>
1781 <version>${project.version}</version>
1784 <artifactId>hbase-it</artifactId>
1785 <groupId>org.apache.hbase</groupId>
1786 <version>${project.version}</version>
1787 <type>test-jar</type>
1791 <artifactId>hbase-client</artifactId>
1792 <groupId>org.apache.hbase</groupId>
1793 <version>${project.version}</version>
1796 <artifactId>hbase-metrics-api</artifactId>
1797 <groupId>org.apache.hbase</groupId>
1798 <version>${project.version}</version>
1801 <artifactId>hbase-metrics-api</artifactId>
1802 <groupId>org.apache.hbase</groupId>
1803 <version>${project.version}</version>
1804 <type>test-jar</type>
1808 <artifactId>hbase-metrics</artifactId>
1809 <groupId>org.apache.hbase</groupId>
1810 <version>${project.version}</version>
1813 <artifactId>hbase-metrics</artifactId>
1814 <groupId>org.apache.hbase</groupId>
1815 <version>${project.version}</version>
1816 <type>test-jar</type>
1820 <artifactId>hbase-rest</artifactId>
1821 <groupId>org.apache.hbase</groupId>
1822 <version>${project.version}</version>
1825 <artifactId>hbase-resource-bundle</artifactId>
1826 <groupId>org.apache.hbase</groupId>
1827 <version>${project.version}</version>
1830 <artifactId>hbase-zookeeper</artifactId>
1831 <groupId>org.apache.hbase</groupId>
1832 <version>${project.version}</version>
1835 <groupId>com.google.code.findbugs</groupId>
1836 <artifactId>jsr305</artifactId>
1839 <groupId>com.github.spotbugs</groupId>
1840 <artifactId>spotbugs-annotations</artifactId>
1845 <artifactId>hbase-zookeeper</artifactId>
1846 <groupId>org.apache.hbase</groupId>
1847 <version>${project.version}</version>
1848 <type>test-jar</type>
1852 <artifactId>hbase-hbtop</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1857 <groupId>org.apache.hbase</groupId>
1858 <artifactId>hbase-shaded-client</artifactId>
1859 <version>${project.version}</version>
1862 <groupId>org.apache.hbase</groupId>
1863 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1864 <version>${project.version}</version>
1867 <groupId>org.apache.hbase</groupId>
1868 <artifactId>hbase-shaded-mapreduce</artifactId>
1869 <version>${project.version}</version>
1872 <groupId>org.apache.hbase</groupId>
1873 <artifactId>hbase-asyncfs</artifactId>
1874 <version>${project.version}</version>
1877 <groupId>org.apache.hbase</groupId>
1878 <artifactId>hbase-asyncfs</artifactId>
1879 <version>${project.version}</version>
1880 <type>test-jar</type>
1883 <!-- General dependencies -->
1885 <groupId>com.github.stephenc.findbugs</groupId>
1886 <artifactId>findbugs-annotations</artifactId>
1887 <version>${findbugs-annotations.version}</version>
1890 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1891 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1892 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1893 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1894 scope as it will mess up the logging framework for downstream users.
1895 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1896 on use these logging framework so we need to redirect their log message to slf4j, and then
1897 redirect the log message to our log4j framework.
1900 <groupId>org.codehaus.jettison</groupId>
1901 <artifactId>jettison</artifactId>
1902 <version>${jettison.version}</version>
1905 <groupId>org.slf4j</groupId>
1906 <artifactId>slf4j-api</artifactId>
1907 <version>${slf4j.version}</version>
1910 <groupId>org.slf4j</groupId>
1911 <artifactId>slf4j-log4j12</artifactId>
1912 <version>${slf4j.version}</version>
1915 <groupId>org.slf4j</groupId>
1916 <artifactId>jcl-over-slf4j</artifactId>
1917 <version>${slf4j.version}</version>
1920 <groupId>org.slf4j</groupId>
1921 <artifactId>jul-to-slf4j</artifactId>
1922 <version>${slf4j.version}</version>
1925 <groupId>log4j</groupId>
1926 <artifactId>log4j</artifactId>
1927 <version>${log4j.version}</version>
1929 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1931 <groupId>org.apache.avro</groupId>
1932 <artifactId>avro</artifactId>
1933 <version>${avro.version}</version>
1935 <!--This is not used by hbase directly. Used by thrift,
1936 dropwizard and zk.-->
1938 <groupId>com.github.ben-manes.caffeine</groupId>
1939 <artifactId>caffeine</artifactId>
1940 <version>${caffeine.version}</version>
1943 <groupId>io.dropwizard.metrics</groupId>
1944 <artifactId>metrics-core</artifactId>
1945 <version>${metrics-core.version}</version>
1948 <groupId>org.apache.httpcomponents</groupId>
1949 <artifactId>httpclient</artifactId>
1950 <version>${httpclient.version}</version>
1953 <groupId>org.apache.httpcomponents</groupId>
1954 <artifactId>httpcore</artifactId>
1955 <version>${httpcore.version}</version>
1958 <groupId>commons-codec</groupId>
1959 <artifactId>commons-codec</artifactId>
1960 <version>${commons-codec.version}</version>
1963 <groupId>commons-io</groupId>
1964 <artifactId>commons-io</artifactId>
1965 <version>${commons-io.version}</version>
1968 <groupId>org.apache.commons</groupId>
1969 <artifactId>commons-lang3</artifactId>
1970 <version>${commons-lang3.version}</version>
1973 <groupId>org.apache.commons</groupId>
1974 <artifactId>commons-math3</artifactId>
1975 <version>${commons-math.version}</version>
1978 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1981 <groupId>commons-logging</groupId>
1982 <artifactId>commons-logging</artifactId>
1983 <version>1.2</version>
1986 <groupId>org.apache.zookeeper</groupId>
1987 <artifactId>zookeeper</artifactId>
1988 <version>${zookeeper.version}</version>
1991 <groupId>com.google.code.findbugs</groupId>
1992 <artifactId>jsr305</artifactId>
1995 <groupId>com.github.spotbugs</groupId>
1996 <artifactId>spotbugs-annotations</artifactId>
1999 <groupId>jline</groupId>
2000 <artifactId>jline</artifactId>
2003 <groupId>com.sun.jmx</groupId>
2004 <artifactId>jmxri</artifactId>
2007 <groupId>com.sun.jdmk</groupId>
2008 <artifactId>jmxtools</artifactId>
2011 <groupId>javax.jms</groupId>
2012 <artifactId>jms</artifactId>
2015 <groupId>io.netty</groupId>
2016 <artifactId>netty</artifactId>
2019 <groupId>io.netty</groupId>
2020 <artifactId>netty-all</artifactId>
2023 <groupId>org.slf4j</groupId>
2024 <artifactId>slf4j-log4j12</artifactId>
2027 <groupId>log4j</groupId>
2028 <artifactId>log4j</artifactId>
2033 <groupId>jline</groupId>
2034 <artifactId>jline</artifactId>
2035 <version>${jline.version}</version>
2038 <groupId>org.apache.thrift</groupId>
2039 <artifactId>libthrift</artifactId>
2040 <version>${thrift.version}</version>
2043 <groupId>org.apache.tomcat.embed</groupId>
2044 <artifactId>tomcat-embed-core</artifactId>
2049 <groupId>org.jruby</groupId>
2050 <artifactId>jruby-complete</artifactId>
2051 <version>${jruby.version}</version>
2054 <groupId>org.jruby.jcodings</groupId>
2055 <artifactId>jcodings</artifactId>
2056 <version>${jcodings.version}</version>
2059 <groupId>org.jruby.joni</groupId>
2060 <artifactId>joni</artifactId>
2061 <version>${joni.version}</version>
2064 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2065 <artifactId>jackson-jaxrs-json-provider</artifactId>
2066 <version>${jackson.version}</version>
2069 <groupId>com.fasterxml.jackson.core</groupId>
2070 <artifactId>jackson-annotations</artifactId>
2071 <version>${jackson.version}</version>
2074 <groupId>com.fasterxml.jackson.core</groupId>
2075 <artifactId>jackson-core</artifactId>
2076 <version>${jackson.version}</version>
2079 <groupId>com.fasterxml.jackson.core</groupId>
2080 <artifactId>jackson-databind</artifactId>
2081 <version>${jackson.databind.version}</version>
2084 <groupId>org.jamon</groupId>
2085 <artifactId>jamon-runtime</artifactId>
2086 <version>${jamon-runtime.version}</version>
2088 <!-- REST dependencies -->
2090 <groupId>javax.servlet</groupId>
2091 <artifactId>javax.servlet-api</artifactId>
2092 <version>${servlet.api.version}</version>
2095 <groupId>javax.ws.rs</groupId>
2096 <artifactId>javax.ws.rs-api</artifactId>
2097 <version>${wx.rs.api.version}</version>
2100 <groupId>com.sun.activation</groupId>
2101 <artifactId>javax.activation</artifactId>
2102 <version>1.2.0</version>
2105 <groupId>javax.annotation</groupId>
2106 <artifactId>javax.annotation-api</artifactId>
2107 <version>1.2</version>
2110 <groupId>com.google.protobuf</groupId>
2111 <artifactId>protobuf-java</artifactId>
2112 <version>${external.protobuf.version}</version>
2115 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2116 <groupId>org.glassfish.web</groupId>
2117 <artifactId>javax.servlet.jsp</artifactId>
2118 <version>${glassfish.jsp.version}</version>
2121 <!-- this lib is used by the compiled Jsp from the above JspC -->
2122 <groupId>javax.servlet.jsp</groupId>
2123 <artifactId>javax.servlet.jsp-api</artifactId>
2124 <version>2.3.1</version>
2127 <groupId>org.glassfish</groupId>
2128 <artifactId>javax.el</artifactId>
2129 <version>${glassfish.el.version}</version>
2132 <groupId>javax.xml.bind</groupId>
2133 <artifactId>jaxb-api</artifactId>
2134 <version>${jaxb-api.version}</version>
2137 <groupId>javax.xml.stream</groupId>
2138 <artifactId>stax-api</artifactId>
2143 <groupId>junit</groupId>
2144 <artifactId>junit</artifactId>
2145 <version>${junit.version}</version>
2148 <groupId>org.hamcrest</groupId>
2149 <artifactId>hamcrest-core</artifactId>
2150 <version>${hamcrest.version}</version>
2153 <groupId>org.hamcrest</groupId>
2154 <artifactId>hamcrest-library</artifactId>
2155 <version>${hamcrest.version}</version>
2158 <groupId>org.mockito</groupId>
2159 <artifactId>mockito-core</artifactId>
2160 <version>${mockito-core.version}</version>
2164 <groupId>org.apache.htrace</groupId>
2165 <artifactId>htrace-core4</artifactId>
2166 <version>${htrace.version}</version>
2169 <groupId>com.lmax</groupId>
2170 <artifactId>disruptor</artifactId>
2171 <version>${disruptor.version}</version>
2174 <groupId>net.spy</groupId>
2175 <artifactId>spymemcached</artifactId>
2176 <version>${spy.version}</version>
2177 <optional>true</optional>
2180 <groupId>org.bouncycastle</groupId>
2181 <artifactId>bcprov-jdk15on</artifactId>
2182 <version>${bouncycastle.version}</version>
2186 <groupId>org.apache.kerby</groupId>
2187 <artifactId>kerb-core</artifactId>
2188 <version>${kerby.version}</version>
2191 <groupId>org.apache.kerby</groupId>
2192 <artifactId>kerb-client</artifactId>
2193 <version>${kerby.version}</version>
2196 <groupId>org.apache.kerby</groupId>
2197 <artifactId>kerb-simplekdc</artifactId>
2198 <version>${kerby.version}</version>
2201 <groupId>org.apache.commons</groupId>
2202 <artifactId>commons-crypto</artifactId>
2203 <version>${commons-crypto.version}</version>
2206 <groupId>net.java.dev.jna</groupId>
2207 <artifactId>jna</artifactId>
2212 <groupId>org.apache.curator</groupId>
2213 <artifactId>curator-framework</artifactId>
2214 <version>${curator.version}</version>
2217 <groupId>org.apache.zookeeper</groupId>
2218 <artifactId>zookeeper</artifactId>
2223 <groupId>org.apache.curator</groupId>
2224 <artifactId>curator-client</artifactId>
2225 <version>${curator.version}</version>
2228 <groupId>com.google.guava</groupId>
2229 <artifactId>guava</artifactId>
2232 <groupId>org.apache.zookeeper</groupId>
2233 <artifactId>zookeeper</artifactId>
2238 <groupId>org.apache.curator</groupId>
2239 <artifactId>curator-recipes</artifactId>
2240 <version>${curator.version}</version>
2243 <groupId>com.google.guava</groupId>
2244 <artifactId>guava</artifactId>
2247 <groupId>org.apache.zookeeper</groupId>
2248 <artifactId>zookeeper</artifactId>
2253 <groupId>org.apache.yetus</groupId>
2254 <artifactId>audience-annotations</artifactId>
2255 <version>${audience-annotations.version}</version>
2258 <groupId>org.apache.hbase.thirdparty</groupId>
2259 <artifactId>hbase-shaded-gson</artifactId>
2260 <version>${hbase-thirdparty.version}</version>
2263 <groupId>org.apache.hbase.thirdparty</groupId>
2264 <artifactId>hbase-shaded-miscellaneous</artifactId>
2265 <version>${hbase-thirdparty.version}</version>
2268 <groupId>org.apache.hbase.thirdparty</groupId>
2269 <artifactId>hbase-shaded-netty</artifactId>
2270 <version>${hbase-thirdparty.version}</version>
2273 <groupId>org.apache.hbase.thirdparty</groupId>
2274 <artifactId>hbase-shaded-protobuf</artifactId>
2275 <version>${hbase-thirdparty.version}</version>
2278 <groupId>org.apache.hbase.thirdparty</groupId>
2279 <artifactId>hbase-shaded-jetty</artifactId>
2280 <version>${hbase-thirdparty.version}</version>
2283 <groupId>org.apache.hbase.thirdparty</groupId>
2284 <artifactId>hbase-shaded-jersey</artifactId>
2285 <version>${hbase-thirdparty.version}</version>
2288 <groupId>com.sun.xml.ws</groupId>
2289 <artifactId>jaxws-ri</artifactId>
2290 <version>2.3.2</version>
2294 <groupId>javax.activation</groupId>
2295 <artifactId>javax.activation-api</artifactId>
2300 </dependencyManagement>
2302 <!--REMOVE THIS. HERE TEMPORARILY.
2303 Implication is that every module needs junit which is not so.
2304 Cannot undo though because build runs test on each module and
2305 it fails if no junit. TODO. -->
2307 <groupId>junit</groupId>
2308 <artifactId>junit</artifactId>
2314 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2319 <id>apache.releases.https</id>
2320 <username>hbase_committer</username>
2321 <password>********</password>
2325 <id>apache.snapshots.https</id>
2326 <username>hbase_committer</username>
2327 <password>********</password>
2335 $ mvn -s /my/path/settings.xml deploy
2343 <name>!skip-rsgroup</name>
2347 <module>hbase-rsgroup</module>
2351 <id>build-with-jdk8</id>
2363 <id>build-with-jdk11</id>
2368 <!-- TODO: replicate logic for windows support -->
2369 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2370 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2371 <hadoop-three.version>3.2.0</hadoop-three.version>
2373 Value to use for surefire when running jdk11.
2374 TODO: replicate logic for windows
2376 <surefire.Xmx>2200m</surefire.Xmx>
2381 <groupId>org.apache.maven.plugins</groupId>
2382 <artifactId>maven-enforcer-plugin</artifactId>
2385 <id>hadoop3-profile-required</id>
2387 <goal>enforce</goal>
2393 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2394 enforcer plugin does not see active profiles on sub-modules, so enforce based
2395 on the presence of the activation property and value.
2397 <property>hadoop.profile</property>
2398 <regex>.*3\.0$</regex>
2400 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2403 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2414 <!-- profile activated by the Jenkins patch testing job -->
2416 <id>jenkins.patch</id>
2418 <activeByDefault>false</activeByDefault>
2420 <name>HBasePatchProcess</name>
2424 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2429 <groupId>org.apache.maven.plugins</groupId>
2430 <artifactId>maven-antrun-plugin</artifactId>
2431 <inherited>false</inherited>
2434 <phase>validate</phase>
2440 <echo>Maven Execution Environment</echo>
2441 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2453 <activeByDefault>false</activeByDefault>
2458 <groupId>org.jacoco</groupId>
2459 <artifactId>jacoco-maven-plugin</artifactId>
2460 <version>${jacoco.version}</version>
2463 <id>prepare-agent</id>
2465 <goal>prepare-agent</goal>
2470 <phase>prepare-package</phase>
2477 <systemPropertyVariables>
2478 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2479 </systemPropertyVariables>
2481 <exclude>**/generated/**/*.class</exclude>
2491 <activeByDefault>false</activeByDefault>
2493 <family>Linux</family>
2497 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2504 <family>Mac</family>
2508 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2515 <family>Windows</family>
2519 <build.platform>cygwin</build.platform>
2520 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2523 <!-- this profile should match the name of the release profile in the root asf pom -->
2525 <id>apache-release</id>
2528 <!-- This should insert itself in place of the normal deploy plugin and then
2529 handle either closing or dropping the staging repository for us depending
2530 on if the build succeeds.
2533 <groupId>org.sonatype.plugins</groupId>
2534 <artifactId>nexus-staging-maven-plugin</artifactId>
2535 <version>1.6.8</version>
2536 <extensions>true</extensions>
2538 <nexusUrl>https://repository.apache.org/</nexusUrl>
2539 <serverId>apache.releases.https</serverId>
2545 <!-- this profile should be activated for release builds -->
2551 <groupId>org.apache.rat</groupId>
2552 <artifactId>apache-rat-plugin</artifactId>
2555 <phase>package</phase>
2563 <groupId>org.apache.maven.plugins</groupId>
2564 <artifactId>maven-enforcer-plugin</artifactId>
2565 <version>${enforcer.version}</version>
2568 <groupId>org.codehaus.mojo</groupId>
2569 <artifactId>extra-enforcer-rules</artifactId>
2570 <version>${extra.enforcer.version}</version>
2575 <enforceBytecodeVersion>
2576 <maxJdkVersion>${compileSource}</maxJdkVersion>
2577 <message>HBase has unsupported dependencies.
2578 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2579 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2580 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2581 Non-release builds can temporarily build with a newer JDK version by setting the
2582 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2585 <ignoreClass>module-info</ignoreClass>
2587 </enforceBytecodeVersion>
2594 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2595 <!-- Submodules that need hadoop dependencies should declare
2596 profiles with activation properties matching the profile here.
2597 Generally, it should be sufficient to copy the first
2598 few lines of the profile you want to match. -->
2599 <!-- profile for building against Hadoop 2.0.x
2600 This is the default.
2606 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2607 <!--h2--><name>!hadoop.profile</name>
2611 <module>hbase-hadoop2-compat</module>
2614 <hadoop.version>${hadoop-two.version}</hadoop.version>
2615 <compat.module>hbase-hadoop2-compat</compat.module>
2616 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2617 <!--This property is for hadoops netty. HBase netty
2618 comes in via hbase-thirdparty hbase-shaded-netty-->
2619 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2621 <dependencyManagement>
2624 <groupId>org.apache.hadoop</groupId>
2625 <artifactId>hadoop-mapreduce-client-core</artifactId>
2626 <version>${hadoop-two.version}</version>
2629 <groupId>com.sun.jersey</groupId>
2630 <artifactId>jersey-core</artifactId>
2633 <groupId>org.codehaus.jackson</groupId>
2634 <artifactId>jackson-jaxrs</artifactId>
2637 <groupId>org.codehaus.jackson</groupId>
2638 <artifactId>jackson-xc</artifactId>
2641 <groupId>io.netty</groupId>
2642 <artifactId>netty</artifactId>
2645 <groupId>io.netty</groupId>
2646 <artifactId>netty-all</artifactId>
2649 <groupId>javax.servlet</groupId>
2650 <artifactId>servlet-api</artifactId>
2653 <groupId>javax.inject</groupId>
2654 <artifactId>javax.inject</artifactId>
2657 <groupId>org.codehaus.jackson</groupId>
2658 <artifactId>jackson-core-asl</artifactId>
2661 <groupId>org.codehaus.jackson</groupId>
2662 <artifactId>jackson-mapper-asl</artifactId>
2667 <groupId>org.apache.hadoop</groupId>
2668 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2669 <version>${hadoop-two.version}</version>
2672 <groupId>com.sun.jersey</groupId>
2673 <artifactId>jersey-core</artifactId>
2676 <groupId>io.netty</groupId>
2677 <artifactId>netty</artifactId>
2680 <groupId>io.netty</groupId>
2681 <artifactId>netty-all</artifactId>
2684 <groupId>javax.servlet</groupId>
2685 <artifactId>servlet-api</artifactId>
2690 <groupId>org.apache.hadoop</groupId>
2691 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2692 <version>${hadoop-two.version}</version>
2693 <type>test-jar</type>
2697 <groupId>com.sun.jersey</groupId>
2698 <artifactId>jersey-core</artifactId>
2701 <groupId>io.netty</groupId>
2702 <artifactId>netty</artifactId>
2705 <groupId>io.netty</groupId>
2706 <artifactId>netty-all</artifactId>
2709 <groupId>javax.servlet</groupId>
2710 <artifactId>servlet-api</artifactId>
2715 <groupId>org.apache.hadoop</groupId>
2716 <artifactId>hadoop-hdfs</artifactId>
2717 <version>${hadoop-two.version}</version>
2720 <groupId>com.sun.jersey</groupId>
2721 <artifactId>jersey-core</artifactId>
2724 <groupId>javax.servlet.jsp</groupId>
2725 <artifactId>jsp-api</artifactId>
2728 <groupId>javax.servlet</groupId>
2729 <artifactId>servlet-api</artifactId>
2732 <groupId>io.netty</groupId>
2733 <artifactId>netty</artifactId>
2736 <groupId>io.netty</groupId>
2737 <artifactId>netty-all</artifactId>
2740 <groupId>stax</groupId>
2741 <artifactId>stax-api</artifactId>
2744 <groupId>xerces</groupId>
2745 <artifactId>xercesImpl</artifactId>
2748 <groupId>org.codehaus.jackson</groupId>
2749 <artifactId>jackson-core-asl</artifactId>
2752 <groupId>org.codehaus.jackson</groupId>
2753 <artifactId>jackson-mapper-asl</artifactId>
2756 <groupId>com.google.guava</groupId>
2757 <artifactId>guava</artifactId>
2762 <groupId>org.apache.hadoop</groupId>
2763 <artifactId>hadoop-hdfs</artifactId>
2764 <version>${hadoop-two.version}</version>
2765 <type>test-jar</type>
2769 <groupId>javax.servlet.jsp</groupId>
2770 <artifactId>jsp-api</artifactId>
2773 <groupId>javax.servlet</groupId>
2774 <artifactId>servlet-api</artifactId>
2777 <groupId>io.netty</groupId>
2778 <artifactId>netty</artifactId>
2781 <groupId>io.netty</groupId>
2782 <artifactId>netty-all</artifactId>
2785 <groupId>stax</groupId>
2786 <artifactId>stax-api</artifactId>
2789 <groupId>xerces</groupId>
2790 <artifactId>xercesImpl</artifactId>
2793 <groupId>org.codehaus.jackson</groupId>
2794 <artifactId>jackson-core-asl</artifactId>
2797 <groupId>org.codehaus.jackson</groupId>
2798 <artifactId>jackson-mapper-asl</artifactId>
2801 <groupId>com.google.guava</groupId>
2802 <artifactId>guava</artifactId>
2805 <groupId>com.sun.jersey</groupId>
2806 <artifactId>jersey-core</artifactId>
2811 <groupId>org.apache.hadoop</groupId>
2812 <artifactId>hadoop-auth</artifactId>
2813 <version>${hadoop-two.version}</version>
2816 <groupId>com.google.guava</groupId>
2817 <artifactId>guava</artifactId>
2820 <groupId>net.minidev</groupId>
2821 <artifactId>json-smart</artifactId>
2826 <groupId>org.apache.hadoop</groupId>
2827 <artifactId>hadoop-common</artifactId>
2828 <version>${hadoop-two.version}</version>
2831 <groupId>com.sun.jersey</groupId>
2832 <artifactId>jersey-core</artifactId>
2835 <groupId>org.codehaus.jackson</groupId>
2836 <artifactId>jackson-jaxrs</artifactId>
2839 <groupId>org.codehaus.jackson</groupId>
2840 <artifactId>jackson-xc</artifactId>
2843 <groupId>commons-beanutils</groupId>
2844 <artifactId>commons-beanutils</artifactId>
2847 <groupId>javax.servlet.jsp</groupId>
2848 <artifactId>jsp-api</artifactId>
2851 <groupId>javax.servlet</groupId>
2852 <artifactId>servlet-api</artifactId>
2855 <groupId>stax</groupId>
2856 <artifactId>stax-api</artifactId>
2859 <groupId>io.netty</groupId>
2860 <artifactId>netty</artifactId>
2863 <groupId>io.netty</groupId>
2864 <artifactId>netty-all</artifactId>
2867 <groupId>com.google.code.findbugs</groupId>
2868 <artifactId>jsr305</artifactId>
2871 <groupId>junit</groupId>
2872 <artifactId>junit</artifactId>
2875 <groupId>org.codehaus.jackson</groupId>
2876 <artifactId>jackson-core-asl</artifactId>
2879 <groupId>org.codehaus.jackson</groupId>
2880 <artifactId>jackson-mapper-asl</artifactId>
2885 <groupId>org.apache.hadoop</groupId>
2886 <artifactId>hadoop-common</artifactId>
2887 <version>${hadoop-two.version}</version>
2888 <type>test-jar</type>
2892 <groupId>com.sun.jersey</groupId>
2893 <artifactId>jersey-core</artifactId>
2896 <groupId>com.google.code.findbugs</groupId>
2897 <artifactId>jsr305</artifactId>
2900 <groupId>org.codehaus.jackson</groupId>
2901 <artifactId>jackson-jaxrs</artifactId>
2904 <groupId>org.codehaus.jackson</groupId>
2905 <artifactId>jackson-xc</artifactId>
2908 <groupId>io.netty</groupId>
2909 <artifactId>netty</artifactId>
2915 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2916 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2918 <groupId>javax.activation</groupId>
2919 <artifactId>javax.activation-api</artifactId>
2920 <version>1.2.0</version>
2924 <groupId>org.apache.hadoop</groupId>
2925 <artifactId>hadoop-client</artifactId>
2926 <version>${hadoop-two.version}</version>
2928 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2929 Where do we actually need it? -->
2931 <groupId>org.apache.hadoop</groupId>
2932 <artifactId>hadoop-minicluster</artifactId>
2933 <version>${hadoop-two.version}</version>
2935 <!--If we comment this in, a few tests in hbase-mapreduce
2936 fail. They depend on jersey-core somehow. But excluding
2937 jersey-core here messes up hbase-it because jersey-core
2938 implements a 1.x jaxrs Response Interface when we depend
2939 on the 2.x Interface... . Letting this jar come in
2940 transitively here but will exclude it down in hbase-it.
2943 <groupId>com.sun.jersey</groupId>
2944 <artifactId>jersey-core</artifactId>
2948 <groupId>commons-httpclient</groupId>
2949 <artifactId>commons-httpclient</artifactId>
2952 <groupId>javax.servlet.jsp</groupId>
2953 <artifactId>jsp-api</artifactId>
2956 <groupId>javax.servlet</groupId>
2957 <artifactId>servlet-api</artifactId>
2960 <groupId>stax</groupId>
2961 <artifactId>stax-api</artifactId>
2964 <groupId>io.netty</groupId>
2965 <artifactId>netty</artifactId>
2968 <groupId>io.netty</groupId>
2969 <artifactId>netty-all</artifactId>
2972 <groupId>com.google.code.findbugs</groupId>
2973 <artifactId>jsr305</artifactId>
2978 <groupId>org.apache.hadoop</groupId>
2979 <artifactId>hadoop-minikdc</artifactId>
2980 <version>${hadoop-two.version}</version>
2984 <groupId>org.apache.hadoop</groupId>
2985 <artifactId>hadoop-annotations</artifactId>
2986 <version>${hadoop-two.version}</version>
2990 <groupId>org.apache.hadoop</groupId>
2991 <artifactId>hadoop-distcp</artifactId>
2992 <version>${hadoop-two.version}</version>
2996 <groupId>org.apache.hadoop</groupId>
2997 <artifactId>hadoop-hdfs-client</artifactId>
2998 <version>${hadoop-two.version}</version>
3001 </dependencyManagement>
3004 profile for building against Hadoop 3.0.0. Activate using:
3005 mvn -Dhadoop.profile=3.0
3011 <name>hadoop.profile</name>
3016 <!--For now, use hadoop2 compat module-->
3017 <module>hbase-hadoop2-compat</module>
3020 <hadoop.profile>3.0</hadoop.profile>
3021 <hadoop.version>${hadoop-three.version}</hadoop.version>
3022 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
3023 <compat.module>hbase-hadoop2-compat</compat.module>
3024 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
3025 <!--This property is for hadoops netty. HBase netty
3026 comes in via hbase-thirdparty hbase-shaded-netty-->
3027 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
3029 <dependencyManagement>
3032 <groupId>org.apache.hadoop</groupId>
3033 <artifactId>hadoop-mapreduce-client-core</artifactId>
3034 <version>${hadoop-three.version}</version>
3037 <groupId>com.sun.jersey</groupId>
3038 <artifactId>jersey-core</artifactId>
3041 <groupId>org.codehaus.jackson</groupId>
3042 <artifactId>jackson-jaxrs</artifactId>
3045 <groupId>org.codehaus.jackson</groupId>
3046 <artifactId>jackson-xc</artifactId>
3049 <groupId>io.netty</groupId>
3050 <artifactId>netty</artifactId>
3053 <groupId>io.netty</groupId>
3054 <artifactId>netty-all</artifactId>
3057 <groupId>javax.servlet</groupId>
3058 <artifactId>servlet-api</artifactId>
3061 <groupId>javax.inject</groupId>
3062 <artifactId>javax.inject</artifactId>
3065 <groupId>org.codehaus.jackson</groupId>
3066 <artifactId>jackson-core-asl</artifactId>
3069 <groupId>org.codehaus.jackson</groupId>
3070 <artifactId>jackson-mapper-asl</artifactId>
3073 <groupId>com.google.guava</groupId>
3074 <artifactId>guava</artifactId>
3077 <groupId>org.slf4j</groupId>
3078 <artifactId>slf4j-log4j12</artifactId>
3081 <groupId>log4j</groupId>
3082 <artifactId>log4j</artifactId>
3087 <groupId>org.apache.hadoop</groupId>
3088 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3089 <version>${hadoop-three.version}</version>
3092 <groupId>com.sun.jersey</groupId>
3093 <artifactId>jersey-core</artifactId>
3096 <groupId>io.netty</groupId>
3097 <artifactId>netty</artifactId>
3101 <groupId>io.netty</groupId>
3102 <artifactId>netty-all</artifactId>
3105 <groupId>javax.servlet</groupId>
3106 <artifactId>servlet-api</artifactId>
3109 <groupId>org.slf4j</groupId>
3110 <artifactId>slf4j-log4j12</artifactId>
3113 <groupId>log4j</groupId>
3114 <artifactId>log4j</artifactId>
3119 <groupId>org.apache.hadoop</groupId>
3120 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3121 <version>${hadoop-three.version}</version>
3122 <type>test-jar</type>
3126 <groupId>com.sun.jersey</groupId>
3127 <artifactId>jersey-core</artifactId>
3130 <groupId>io.netty</groupId>
3131 <artifactId>netty</artifactId>
3134 <groupId>io.netty</groupId>
3135 <artifactId>netty-all</artifactId>
3138 <groupId>javax.servlet</groupId>
3139 <artifactId>servlet-api</artifactId>
3142 <groupId>org.slf4j</groupId>
3143 <artifactId>slf4j-log4j12</artifactId>
3146 <groupId>log4j</groupId>
3147 <artifactId>log4j</artifactId>
3152 <groupId>org.apache.hadoop</groupId>
3153 <artifactId>hadoop-hdfs</artifactId>
3154 <version>${hadoop-three.version}</version>
3157 <groupId>com.sun.jersey</groupId>
3158 <artifactId>jersey-core</artifactId>
3161 <groupId>com.sun.jersey</groupId>
3162 <artifactId>jersey-server</artifactId>
3165 <groupId>javax.servlet.jsp</groupId>
3166 <artifactId>jsp-api</artifactId>
3169 <groupId>javax.servlet</groupId>
3170 <artifactId>servlet-api</artifactId>
3173 <groupId>stax</groupId>
3174 <artifactId>stax-api</artifactId>
3177 <groupId>xerces</groupId>
3178 <artifactId>xercesImpl</artifactId>
3181 <groupId>org.codehaus.jackson</groupId>
3182 <artifactId>jackson-core-asl</artifactId>
3185 <groupId>org.codehaus.jackson</groupId>
3186 <artifactId>jackson-mapper-asl</artifactId>
3189 <groupId>com.google.guava</groupId>
3190 <artifactId>guava</artifactId>
3193 <groupId>org.slf4j</groupId>
3194 <artifactId>slf4j-log4j12</artifactId>
3197 <groupId>log4j</groupId>
3198 <artifactId>log4j</artifactId>
3201 <groupId>io.netty</groupId>
3202 <artifactId>netty</artifactId>
3205 <groupId>io.netty</groupId>
3206 <artifactId>netty-all</artifactId>
3211 <groupId>org.apache.hadoop</groupId>
3212 <artifactId>hadoop-hdfs</artifactId>
3213 <version>${hadoop-three.version}</version>
3214 <type>test-jar</type>
3218 <groupId>javax.servlet.jsp</groupId>
3219 <artifactId>jsp-api</artifactId>
3222 <groupId>javax.servlet</groupId>
3223 <artifactId>servlet-api</artifactId>
3226 <groupId>stax</groupId>
3227 <artifactId>stax-api</artifactId>
3230 <groupId>xerces</groupId>
3231 <artifactId>xercesImpl</artifactId>
3234 <groupId>org.codehaus.jackson</groupId>
3235 <artifactId>jackson-core-asl</artifactId>
3238 <groupId>org.codehaus.jackson</groupId>
3239 <artifactId>jackson-mapper-asl</artifactId>
3242 <groupId>com.google.guava</groupId>
3243 <artifactId>guava</artifactId>
3246 <groupId>com.sun.jersey</groupId>
3247 <artifactId>jersey-core</artifactId>
3250 <groupId>org.slf4j</groupId>
3251 <artifactId>slf4j-log4j12</artifactId>
3254 <groupId>log4j</groupId>
3255 <artifactId>log4j</artifactId>
3258 <groupId>io.netty</groupId>
3259 <artifactId>netty-all</artifactId>
3264 <groupId>org.apache.hadoop</groupId>
3265 <artifactId>hadoop-hdfs</artifactId>
3266 <version>${hadoop-three.version}</version>
3267 <type>test-jar</type>
3268 <classifier>tests</classifier>
3272 <groupId>com.sun.jersey</groupId>
3273 <artifactId>jersey-core</artifactId>
3278 <groupId>org.apache.hadoop</groupId>
3279 <artifactId>hadoop-auth</artifactId>
3280 <version>${hadoop-three.version}</version>
3283 <groupId>com.google.guava</groupId>
3284 <artifactId>guava</artifactId>
3287 <groupId>net.minidev</groupId>
3288 <artifactId>json-smart</artifactId>
3291 <groupId>org.slf4j</groupId>
3292 <artifactId>slf4j-log4j12</artifactId>
3295 <groupId>log4j</groupId>
3296 <artifactId>log4j</artifactId>
3301 <groupId>org.apache.hadoop</groupId>
3302 <artifactId>hadoop-common</artifactId>
3303 <version>${hadoop-three.version}</version>
3306 <groupId>com.sun.jersey</groupId>
3307 <artifactId>jersey-core</artifactId>
3310 <groupId>com.sun.jersey</groupId>
3311 <artifactId>jersey-json</artifactId>
3314 <groupId>com.sun.jersey</groupId>
3315 <artifactId>jersey-servlet</artifactId>
3318 <groupId>com.sun.jersey</groupId>
3319 <artifactId>jersey-server</artifactId>
3322 <groupId>javax.servlet.jsp</groupId>
3323 <artifactId>jsp-api</artifactId>
3326 <groupId>javax.servlet</groupId>
3327 <artifactId>javax.servlet-api</artifactId>
3330 <groupId>stax</groupId>
3331 <artifactId>stax-api</artifactId>
3334 <groupId>io.netty</groupId>
3335 <artifactId>netty</artifactId>
3338 <groupId>io.netty</groupId>
3339 <artifactId>netty-all</artifactId>
3342 <groupId>com.google.code.findbugs</groupId>
3343 <artifactId>jsr305</artifactId>
3346 <groupId>junit</groupId>
3347 <artifactId>junit</artifactId>
3350 <groupId>org.codehause.jackson</groupId>
3351 <artifactId>jackson-core-asl</artifactId>
3354 <groupId>org.codehause.jackson</groupId>
3355 <artifactId>jackson-mapper-asl</artifactId>
3358 <groupId>org.slf4j</groupId>
3359 <artifactId>slf4j-log4j12</artifactId>
3362 <groupId>log4j</groupId>
3363 <artifactId>log4j</artifactId>
3369 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3371 <groupId>javax.activation</groupId>
3372 <artifactId>javax.activation-api</artifactId>
3373 <version>1.2.0</version>
3377 <groupId>org.apache.hadoop</groupId>
3378 <artifactId>hadoop-common</artifactId>
3379 <type>test-jar</type>
3380 <classifier>tests</classifier>
3381 <version>${hadoop-three.version}</version>
3384 <groupId>com.sun.jersey</groupId>
3385 <artifactId>jersey-core</artifactId>
3388 <groupId>com.google.code.findbugs</groupId>
3389 <artifactId>jsr305</artifactId>
3394 <groupId>org.apache.hadoop</groupId>
3395 <artifactId>hadoop-client</artifactId>
3396 <version>${hadoop-three.version}</version>
3399 <groupId>org.apache.hadoop</groupId>
3400 <artifactId>hadoop-annotations</artifactId>
3401 <version>${hadoop-three.version}</version>
3403 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3404 Where do we actually need it? -->
3406 <groupId>org.apache.hadoop</groupId>
3407 <artifactId>hadoop-minicluster</artifactId>
3408 <version>${hadoop-three.version}</version>
3410 <!--If we comment this in, a few tests in hbase-mapreduce
3411 fail. They depend on jersey-core somehow. But excluding
3412 jersey-core here messes up hbase-it because jersey-core
3413 implements a 1.x jaxrs Response Interface when we depend
3414 on the 2.x Interface... . Letting this jar come in
3415 transitively here but will exclude it down in hbase-it.
3418 <groupId>com.sun.jersey</groupId>
3419 <artifactId>jersey-core</artifactId>
3423 <groupId>commons-httpclient</groupId>
3424 <artifactId>commons-httpclient</artifactId>
3427 <groupId>javax.servlet.jsp</groupId>
3428 <artifactId>jsp-api</artifactId>
3431 <groupId>javax.servlet</groupId>
3432 <artifactId>servlet-api</artifactId>
3435 <groupId>stax</groupId>
3436 <artifactId>stax-api</artifactId>
3439 <groupId>io.netty</groupId>
3440 <artifactId>netty</artifactId>
3442 <!-- MiniMRCluster needs the hadoop netty-all transitive include... a
3443 netty-all 4.0.52 version.... so we have to let it through.
3445 <groupId>io.netty</groupId>
3446 <artifactId>netty-all</artifactId>
3450 <groupId>com.google.code.findbugs</groupId>
3451 <artifactId>jsr305</artifactId>
3454 <groupId>org.slf4j</groupId>
3455 <artifactId>slf4j-log4j12</artifactId>
3458 <groupId>log4j</groupId>
3459 <artifactId>log4j</artifactId>
3464 <groupId>org.apache.hadoop</groupId>
3465 <artifactId>hadoop-minikdc</artifactId>
3466 <version>${hadoop-three.version}</version>
3470 <groupId>org.slf4j</groupId>
3471 <artifactId>slf4j-log4j12</artifactId>
3474 <groupId>log4j</groupId>
3475 <artifactId>log4j</artifactId>
3480 <groupId>org.apache.hadoop</groupId>
3481 <artifactId>hadoop-distcp</artifactId>
3482 <version>${hadoop-three.version}</version>
3486 <groupId>org.apache.hadoop</groupId>
3487 <artifactId>hadoop-hdfs-client</artifactId>
3488 <version>${hadoop-three.version}</version>
3491 </dependencyManagement>
3494 <!-- profiles for the tests
3495 See as well the properties of the project for the values
3496 when no profile is active. -->
3498 <!-- Use it to launch all tests in the same JVM -->
3499 <id>singleJVMTests</id>
3501 <activeByDefault>false</activeByDefault>
3504 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3505 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3506 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3507 <surefire.firstPartGroups/>
3511 <!-- Use it to launch small tests only -->
3512 <id>runSmallTests</id>
3514 <activeByDefault>false</activeByDefault>
3517 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3518 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3519 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3520 <surefire.secondPartGroups/>
3524 <!-- Use it to launch medium tests only -->
3525 <id>runMediumTests</id>
3527 <activeByDefault>false</activeByDefault>
3530 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3531 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3532 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3533 <surefire.secondPartGroups/>
3537 <!-- Use it to launch large tests only -->
3538 <id>runLargeTests</id>
3540 <activeByDefault>false</activeByDefault>
3543 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3544 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3545 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3546 <surefire.secondPartGroups/>
3550 <!-- Use it to launch small & medium tests -->
3551 <id>runDevTests</id>
3553 <activeByDefault>false</activeByDefault>
3556 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3557 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3558 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3559 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3560 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3564 <!-- Use it to launch all tests -->
3565 <id>runAllTests</id>
3567 <activeByDefault>false</activeByDefault>
3570 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3571 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3572 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3573 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3577 <id>runMiscTests</id>
3579 <activeByDefault>false</activeByDefault>
3582 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3583 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3584 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3585 </surefire.firstPartGroups>
3586 <surefire.secondPartGroups></surefire.secondPartGroups>
3590 <id>runCoprocessorTests</id>
3592 <activeByDefault>false</activeByDefault>
3595 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3596 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3597 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3598 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3599 <surefire.firstPartGroups>
3600 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3601 </surefire.firstPartGroups>
3602 <surefire.secondPartGroups></surefire.secondPartGroups>
3606 <id>runClientTests</id>
3608 <activeByDefault>false</activeByDefault>
3611 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3612 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3613 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3614 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3615 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3616 </surefire.firstPartGroups>
3617 <surefire.secondPartGroups></surefire.secondPartGroups>
3621 <id>runMasterTests</id>
3623 <activeByDefault>false</activeByDefault>
3626 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3627 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3628 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3629 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3630 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3631 </surefire.firstPartGroups>
3632 <surefire.secondPartGroups></surefire.secondPartGroups>
3636 <id>runMapredTests</id>
3638 <activeByDefault>false</activeByDefault>
3641 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3642 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3643 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3644 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3645 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3646 </surefire.firstPartGroups>
3647 <surefire.secondPartGroups></surefire.secondPartGroups>
3651 <id>runMapreduceTests</id>
3653 <activeByDefault>false</activeByDefault>
3656 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3657 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3658 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3659 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3660 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3661 </surefire.firstPartGroups>
3662 <surefire.secondPartGroups></surefire.secondPartGroups>
3666 <id>runRegionServerTests</id>
3668 <activeByDefault>false</activeByDefault>
3671 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3672 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3673 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3674 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3675 <surefire.firstPartGroups>
3676 org.apache.hadoop.hbase.testclassification.RegionServerTests
3677 </surefire.firstPartGroups>
3678 <surefire.secondPartGroups></surefire.secondPartGroups>
3682 <id>runVerySlowMapReduceTests</id>
3684 <activeByDefault>false</activeByDefault>
3687 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3688 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3689 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3690 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3691 <surefire.firstPartGroups>
3692 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3693 </surefire.firstPartGroups>
3694 <surefire.secondPartGroups></surefire.secondPartGroups>
3699 <id>runVerySlowRegionServerTests</id>
3701 <activeByDefault>false</activeByDefault>
3704 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3705 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3706 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3707 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3708 <surefire.firstPartGroups>
3709 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3710 </surefire.firstPartGroups>
3711 <surefire.secondPartGroups></surefire.secondPartGroups>
3716 <id>runFilterTests</id>
3718 <activeByDefault>false</activeByDefault>
3721 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3722 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3723 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3724 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3725 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3726 </surefire.firstPartGroups>
3727 <surefire.secondPartGroups></surefire.secondPartGroups>
3733 <activeByDefault>false</activeByDefault>
3736 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3737 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3738 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3739 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3740 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3741 </surefire.firstPartGroups>
3742 <surefire.secondPartGroups></surefire.secondPartGroups>
3746 <id>runRestTests</id>
3748 <activeByDefault>false</activeByDefault>
3751 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3752 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3753 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3754 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3755 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3756 </surefire.firstPartGroups>
3757 <surefire.secondPartGroups></surefire.secondPartGroups>
3761 <id>runRPCTests</id>
3763 <activeByDefault>false</activeByDefault>
3766 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3767 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3768 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3769 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3770 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3771 </surefire.firstPartGroups>
3772 <surefire.secondPartGroups></surefire.secondPartGroups>
3776 <id>runReplicationTests</id>
3778 <activeByDefault>false</activeByDefault>
3781 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3782 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3783 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3784 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3785 <surefire.firstPartGroups>
3786 org.apache.hadoop.hbase.testclassification.ReplicationTests
3787 </surefire.firstPartGroups>
3788 <surefire.secondPartGroups></surefire.secondPartGroups>
3792 <id>runSecurityTests</id>
3794 <activeByDefault>false</activeByDefault>
3797 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3798 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3799 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3800 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3801 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3802 </surefire.firstPartGroups>
3803 <surefire.secondPartGroups></surefire.secondPartGroups>
3807 <id>runFlakeyTests</id>
3809 <activeByDefault>false</activeByDefault>
3812 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3813 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3814 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3815 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3816 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3817 </surefire.firstPartGroups>
3818 <surefire.secondPartGroups></surefire.secondPartGroups>
3824 <activeByDefault>false</activeByDefault>
3827 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3828 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3829 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3830 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3831 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3832 </surefire.firstPartGroups>
3833 <surefire.secondPartGroups></surefire.secondPartGroups>
3838 <!-- Use it to launch tests locally-->
3846 <surefire.provider>surefire-junit4</surefire.provider>
3847 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3848 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3849 <surefire.firstPartGroups/>
3852 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3853 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3854 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3855 The report will be generated under target/site/clover/index.html when you run
3856 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3860 <activeByDefault>false</activeByDefault>
3866 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3870 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3871 our instrumented classes for the doclet will fail
3874 <groupId>org.apache.maven.plugins</groupId>
3875 <artifactId>maven-javadoc-plugin</artifactId>
3878 <groupId>com.atlassian.maven.plugins</groupId>
3879 <artifactId>maven-clover2-plugin</artifactId>
3880 <version>${clover.version}</version>
3885 <groupId>com.atlassian.maven.plugins</groupId>
3886 <artifactId>maven-clover2-plugin</artifactId>
3887 <version>${clover.version}</version>
3889 <includesAllSourceRoots>true</includesAllSourceRoots>
3890 <includesTestSourceRoots>true</includesTestSourceRoots>
3891 <targetPercentage>50%</targetPercentage>
3892 <generateHtml>true</generateHtml>
3893 <generateXml>true</generateXml>
3895 <exclude>**/generated/**</exclude>
3900 <id>clover-setup</id>
3901 <phase>process-sources</phase>
3919 <!-- Used by the website generation script on jenkins to
3920 do a local install of the jars we need to run a normal
3921 site build w/o forking.
3923 <id>site-install-step</id>
3925 <skipTests>true</skipTests>
3926 <maven.javadoc.skip>true</maven.javadoc.skip>
3927 <enforcer.skip>true</enforcer.skip>
3928 <checkstyle.skip>true</checkstyle.skip>
3929 <spotbugs.skip>true</spotbugs.skip>
3930 <warbucks.skip>true</warbucks.skip>
3934 <!-- Used by the website generation script on jenkins to
3935 mitigate the impact of unneeded build forks while building
3938 <id>site-build-step</id>
3940 <skipTests>true</skipTests>
3941 <enforcer.skip>true</enforcer.skip>
3942 <maven.main.skip>true</maven.main.skip>
3943 <maven.test.skip>true</maven.test.skip>
3944 <warbucks.skip>true</warbucks.skip>
3945 <protoc.skip>true</protoc.skip>
3946 <remoteresources.skip>true</remoteresources.skip>
3950 <id>eclipse-specific</id>
3953 <name>m2e.version</name>
3959 <!-- General config for eclipse classpath/settings -->
3961 <groupId>org.apache.maven.plugins</groupId>
3962 <artifactId>maven-eclipse-plugin</artifactId>
3963 <version>${maven.eclipse.version}</version>
3965 <!--This plugin's configuration is used to store Eclipse m2e settings
3966 only. It has no influence on the Maven build itself. m2e does not
3967 provide any safeguards against rogue maven plugins that leak
3968 classloaders, modify random files inside workspace or throw nasty
3969 exceptions to fail the build.
3970 Top level doesn't do any specific configuration currently - left
3971 to modules to decide what they want to bind, sans those plugins
3972 defined in this pom. -->
3974 <groupId>org.eclipse.m2e</groupId>
3975 <artifactId>lifecycle-mapping</artifactId>
3976 <version>${lifecycle.mapping.version}</version>
3978 <lifecycleMappingMetadata>
3981 <pluginExecutionFilter>
3982 <groupId>org.jacoco</groupId>
3983 <artifactId>jacoco-maven-plugin</artifactId>
3984 <versionRange>[0.6.2.201302030002,)</versionRange>
3986 <goal>prepare-agent</goal>
3988 </pluginExecutionFilter>
3994 <pluginExecutionFilter>
3995 <groupId>org.apache.maven.plugins</groupId>
3996 <artifactId>maven-enforcer-plugin</artifactId>
3997 <versionRange>${enforcer.version}</versionRange>
3999 <goal>enforce</goal>
4001 </pluginExecutionFilter>
4007 <pluginExecutionFilter>
4008 <groupId>org.apache.maven.plugins</groupId>
4009 <artifactId>maven-remote-resources-plugin</artifactId>
4010 <versionRange>[1.5,)</versionRange>
4012 <goal>process</goal>
4015 </pluginExecutionFilter>
4021 <pluginExecutionFilter>
4022 <groupId>org.codehaus.mojo</groupId>
4023 <artifactId>buildnumber-maven-plugin</artifactId>
4024 <versionRange>[1.3,)</versionRange>
4026 <goal>create-timestamp</goal>
4028 </pluginExecutionFilter>
4031 <runOnConfiguration>true</runOnConfiguration>
4032 <runOnIncremental>true</runOnIncremental>
4037 </lifecycleMappingMetadata>
4047 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
4048 <external.protoc.version>2.5.0.2</external.protoc.version>
4052 <family>linux</family>
4053 <arch>aarch64</arch>
4058 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
4062 <artifactId>maven-project-info-reports-plugin</artifactId>
4063 <version>${maven.project.info.report.version}</version>
4067 <report>dependencies</report>
4068 <report>dependency-convergence</report>
4069 <report>dependency-info</report>
4070 <report>dependency-management</report>
4071 <report>index</report>
4072 <report>issue-management</report>
4073 <report>licenses</report>
4074 <report>mailing-lists</report>
4075 <report>plugin-management</report>
4076 <report>plugins</report>
4077 <report>team</report>
4078 <report>scm</report>
4079 <report>summary</report>
4083 <!-- see src/site/site.xml for selected reports -->
4085 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
4090 <groupId>org.apache.maven.plugins</groupId>
4091 <artifactId>maven-javadoc-plugin</artifactId>
4095 <name>apiNote</name>
4096 <placement>a</placement>
4097 <head>API Note:</head>
4106 <report>aggregate-no-fork</report>
4109 <destDir>devapidocs</destDir>
4110 <name>Developer API</name>
4111 <description>The full HBase API, including private and unstable APIs</description>
4112 <sourceFileExcludes>
4113 <exclude>**/generated/*</exclude>
4114 <exclude>**/protobuf/*</exclude>
4115 </sourceFileExcludes>
4116 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4117 <show>private</show> <!-- (shows all classes and members) -->
4119 <linksource>true</linksource>
4120 <sourcetab>2</sourcetab>
4121 <validateLinks>true</validateLinks>
4122 <fixClassComment>true</fixClassComment>
4123 <fixFieldComment>true</fixFieldComment>
4124 <fixMethodComment>true</fixMethodComment>
4125 <fixTags>all</fixTags>
4126 <notimestamp>true</notimestamp>
4127 <locale>en_US</locale>
4128 <!-- Pass some options straight to the javadoc executable since it is easier -->
4129 <additionalJOption>-J-Xmx2G</additionalJOption>
4130 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4131 <additionalDependencies>
4132 <additionalDependency>
4133 <groupId>org.mockito</groupId>
4134 <artifactId>mockito-core</artifactId>
4135 <version>${mockito-core.version}</version>
4136 </additionalDependency>
4137 <additionalDependency>
4138 <groupId>org.hamcrest</groupId>
4139 <artifactId>hamcrest-core</artifactId>
4140 <version>${hamcrest.version}</version>
4141 </additionalDependency>
4142 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4143 <additionalDependency>
4144 <groupId>com.google.code.findbugs</groupId>
4145 <artifactId>jsr305</artifactId>
4146 <version>3.0.2</version>
4147 </additionalDependency>
4148 </additionalDependencies>
4149 <inherited>false</inherited>
4155 <report>test-aggregate-no-fork</report>
4158 <destDir>testdevapidocs</destDir>
4159 <name>Developer API</name>
4160 <description>The full HBase API test code, including private and unstable APIs</description>
4161 <sourceFileExcludes>
4162 <exclude>**/generated/*</exclude>
4163 <exclude>**/protobuf/*</exclude>
4164 </sourceFileExcludes>
4165 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4166 <show>private</show> <!-- (shows all classes and members) -->
4168 <linksource>true</linksource>
4169 <sourcetab>2</sourcetab>
4170 <validateLinks>true</validateLinks>
4171 <fixClassComment>true</fixClassComment>
4172 <fixFieldComment>true</fixFieldComment>
4173 <fixMethodComment>true</fixMethodComment>
4174 <fixTags>all</fixTags>
4175 <notimestamp>true</notimestamp>
4176 <locale>en_US</locale>
4177 <!-- Pass some options straight to the javadoc executable since it is easier -->
4178 <additionalJOption>-J-Xmx2G</additionalJOption>
4179 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4180 <additionalDependencies>
4181 <additionalDependency>
4182 <groupId>org.mockito</groupId>
4183 <artifactId>mockito-core</artifactId>
4184 <version>${mockito-core.version}</version>
4185 </additionalDependency>
4186 <additionalDependency>
4187 <groupId>org.hamcrest</groupId>
4188 <artifactId>hamcrest-core</artifactId>
4189 <version>${hamcrest.version}</version>
4190 </additionalDependency>
4191 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4192 <additionalDependency>
4193 <groupId>com.google.code.findbugs</groupId>
4194 <artifactId>jsr305</artifactId>
4195 <version>3.0.2</version>
4196 </additionalDependency>
4197 </additionalDependencies>
4198 <inherited>false</inherited>
4206 <report>aggregate-no-fork</report>
4210 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4213 <groupId>org.apache.yetus</groupId>
4214 <artifactId>audience-annotations</artifactId>
4215 <version>${audience-annotations.version}</version>
4217 <useStandardDocletOptions>true</useStandardDocletOptions>
4218 <destDir>apidocs</destDir>
4219 <name>User API</name>
4220 <description>The HBase Application Programmer's API</description>
4221 <excludePackageNames>
4222 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*
4223 </excludePackageNames>
4224 <!-- switch on dependency-driven aggregation -->
4225 <includeDependencySources>false</includeDependencySources>
4226 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4227 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4229 <linksource>true</linksource>
4230 <sourcetab>2</sourcetab>
4231 <validateLinks>true</validateLinks>
4232 <fixClassComment>true</fixClassComment>
4233 <fixFieldComment>true</fixFieldComment>
4234 <fixMethodComment>true</fixMethodComment>
4235 <fixTags>all</fixTags>
4236 <notimestamp>true</notimestamp>
4237 <locale>en_US</locale>
4238 <!-- Pass some options straight to the javadoc executable since it is easier -->
4239 <additionalJOption>-J-Xmx2G</additionalJOption>
4240 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4241 <additionalDependencies>
4242 <additionalDependency>
4243 <groupId>org.mockito</groupId>
4244 <artifactId>mockito-core</artifactId>
4245 <version>${mockito-core.version}</version>
4246 </additionalDependency>
4247 <additionalDependency>
4248 <groupId>org.hamcrest</groupId>
4249 <artifactId>hamcrest-core</artifactId>
4250 <version>${hamcrest.version}</version>
4251 </additionalDependency>
4252 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4253 <additionalDependency>
4254 <groupId>com.google.code.findbugs</groupId>
4255 <artifactId>jsr305</artifactId>
4256 <version>3.0.2</version>
4257 </additionalDependency>
4258 </additionalDependencies>
4259 <inherited>false</inherited>
4262 <!-- User Test API -->
4264 <id>testuserapi</id>
4266 <report>test-aggregate-no-fork</report>
4270 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4273 <groupId>org.apache.yetus</groupId>
4274 <artifactId>audience-annotations</artifactId>
4275 <version>${audience-annotations.version}</version>
4277 <useStandardDocletOptions>true</useStandardDocletOptions>
4278 <destDir>testapidocs</destDir>
4279 <name>User API</name>
4280 <description>The HBase Application Programmer's API</description>
4281 <excludePackageNames>
4282 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*
4283 </excludePackageNames>
4284 <!-- switch on dependency-driven aggregation -->
4285 <includeDependencySources>false</includeDependencySources>
4286 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4287 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4289 <linksource>true</linksource>
4290 <sourcetab>2</sourcetab>
4291 <validateLinks>true</validateLinks>
4292 <fixClassComment>true</fixClassComment>
4293 <fixFieldComment>true</fixFieldComment>
4294 <fixMethodComment>true</fixMethodComment>
4295 <fixTags>all</fixTags>
4296 <notimestamp>true</notimestamp>
4297 <locale>en_US</locale>
4298 <!-- Pass some options straight to the javadoc executable since it is easier -->
4299 <additionalJOption>-J-Xmx2G</additionalJOption>
4300 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4301 <additionalDependencies>
4302 <additionalDependency>
4303 <groupId>org.mockito</groupId>
4304 <artifactId>mockito-core</artifactId>
4305 <version>${mockito-core.version}</version>
4306 </additionalDependency>
4307 <additionalDependency>
4308 <groupId>org.hamcrest</groupId>
4309 <artifactId>hamcrest-core</artifactId>
4310 <version>${hamcrest.version}</version>
4311 </additionalDependency>
4312 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4313 <additionalDependency>
4314 <groupId>com.google.code.findbugs</groupId>
4315 <artifactId>jsr305</artifactId>
4316 <version>3.0.2</version>
4317 </additionalDependency>
4318 </additionalDependencies>
4319 <inherited>false</inherited>
4326 <groupId>org.apache.maven.plugins</groupId>
4327 <artifactId>maven-checkstyle-plugin</artifactId>
4328 <version>${maven.checkstyle.version}</version>
4330 <excludes>target/**</excludes>
4336 <distributionManagement>
4338 <id>hbase.apache.org</id>
4339 <name>HBase Website at hbase.apache.org</name>
4340 <!-- On why this is the tmp dir and not hbase.apache.org, see
4341 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4343 <url>file:///tmp</url>
4345 </distributionManagement>