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.3-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-mapreduce</module>
67 <module>hbase-resource-bundle</module>
68 <module>hbase-http</module>
69 <module>hbase-server</module>
70 <module>hbase-thrift</module>
71 <module>hbase-shell</module>
72 <module>hbase-protocol-shaded</module>
73 <module>hbase-protocol</module>
74 <module>hbase-client</module>
75 <module>hbase-hadoop-compat</module>
76 <module>hbase-common</module>
77 <module>hbase-procedure</module>
78 <module>hbase-endpoint</module>
79 <module>hbase-it</module>
80 <module>hbase-examples</module>
81 <module>hbase-assembly</module>
82 <module>hbase-testing-util</module>
83 <module>hbase-annotations</module>
84 <module>hbase-rest</module>
85 <module>hbase-checkstyle</module>
86 <module>hbase-external-blockcache</module>
87 <module>hbase-shaded</module>
88 <module>hbase-archetypes</module>
89 <module>hbase-metrics-api</module>
90 <module>hbase-metrics</module>
91 <module>hbase-zookeeper</module>
92 <module>hbase-hbtop</module>
93 <module>hbase-asyncfs</module>
94 <module>hbase-logging</module>
97 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
98 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
99 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
102 <system>JIRA</system>
103 <url>https://issues.apache.org/jira/browse/HBASE</url>
107 <name>User List</name>
108 <subscribe>user-subscribe@hbase.apache.org</subscribe>
109 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
110 <post>user@hbase.apache.org</post>
111 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
113 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
117 <name>Developer List</name>
118 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
119 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
120 <post>dev@hbase.apache.org</post>
121 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
123 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
145 <name>User (ZH) List</name>
146 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
147 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
148 <post>user-zh@hbase.apache.org</post>
149 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
155 <name>Amitanand S. Aiyer</name>
156 <email>acube123@apache.org</email>
157 <timezone>-8</timezone>
161 <name>Apekshit Sharma</name>
162 <email>appy@apache.org</email>
163 <timezone>-8</timezone>
167 <name>Anastasia Braginsky</name>
168 <email>anastasia@apache.org</email>
169 <timezone>+2</timezone>
173 <name>Andrew Purtell</name>
174 <email>apurtell@apache.org</email>
175 <timezone>-8</timezone>
178 <id>anoopsamjohn</id>
179 <name>Anoop Sam John</name>
180 <email>anoopsamjohn@apache.org</email>
181 <timezone>+5</timezone>
185 <name>Mikhail Antonov</name>
186 <email>antonov@apache.org</email>
187 <timezone>-8</timezone>
190 <id>ashishsinghi</id>
191 <name>Ashish Singhi</name>
192 <email>ashishsinghi@apache.org</email>
193 <timezone>+5</timezone>
197 <name>Lijin Bin</name>
198 <email>binlijin@apache.org</email>
199 <timezone>+8</timezone>
203 <name>Sean Busbey</name>
204 <email>busbey@apache.org</email>
205 <timezone>-6</timezone>
209 <name>Heng Chen</name>
210 <email>chenheng@apache.org</email>
211 <timezone>+8</timezone>
215 <name>Chia-Ping Tsai</name>
216 <email>chia7712@apache.org</email>
217 <timezone>+8</timezone>
221 <name>Devaraj Das</name>
222 <email>ddas@apache.org</email>
223 <timezone>-8</timezone>
227 <name>Dima Spivak</name>
228 <email>dimaspivak@apache.org</email>
229 <timezone>-8</timezone>
233 <name>Doug Meil</name>
234 <email>dmeil@apache.org</email>
235 <timezone>-5</timezone>
239 <name>Elliott Clark</name>
240 <email>eclark@apache.org</email>
241 <timezone>-8</timezone>
245 <name>Josh Elser</name>
246 <email>elserj@apache.org</email>
247 <timezone>-5</timezone>
251 <name>Enis Soztutar</name>
252 <email>enis@apache.org</email>
253 <timezone>-8</timezone>
257 <name>Eshcar Hillel</name>
258 <email>eshcar@apache.org</email>
259 <timezone>+2</timezone>
263 <name>Honghua Feng</name>
264 <email>fenghh@apache.org</email>
265 <timezone>+8</timezone>
269 <name>Gary Helmling</name>
270 <email>garyh@apache.org</email>
271 <timezone>-8</timezone>
275 <name>Gregory Chanan</name>
276 <email>gchanan@apache.org</email>
277 <timezone>-8</timezone>
281 <name>Jean-Daniel Cryans</name>
282 <email>jdcryans@apache.org</email>
283 <timezone>-8</timezone>
287 <name>Jeffrey Zhong</name>
288 <email>jeffreyz@apache.org</email>
289 <timezone>-8</timezone>
293 <name>Jing Chen (Jerry) He</name>
294 <email>jerryjch@apache.org</email>
295 <timezone>-8</timezone>
299 <name>Jesse Yates</name>
300 <email>jyates@apache.org</email>
301 <timezone>-8</timezone>
305 <name>Jonathan Gray</name>
306 <email>jgray@fb.com</email>
307 <timezone>-8</timezone>
311 <name>Jingcheng Du</name>
312 <email>jingchengdu@apache.org</email>
313 <timezone>+8</timezone>
317 <name>Esteban Gutierrez</name>
318 <email>esteban@apache.org</email>
319 <timezone>-8</timezone>
323 <name>Jonathan Hsieh</name>
324 <email>jmhsieh@apache.org</email>
325 <timezone>-8</timezone>
329 <name>Jimmy Xiang</name>
330 <email>jxiang@apache.org</email>
331 <timezone>-8</timezone>
335 <name>Kannan Muthukkaruppan</name>
336 <email>kannan@fb.com</email>
337 <timezone>-8</timezone>
341 <name>Karthik Ranganathan</name>
342 <email>kranganathan@fb.com</email>
343 <timezone>-8</timezone>
347 <name>Lars George</name>
348 <email>larsgeorge@apache.org</email>
349 <timezone>+1</timezone>
353 <name>Lars Hofhansl</name>
354 <email>larsh@apache.org</email>
355 <timezone>-8</timezone>
359 <name>Liang Xie</name>
360 <email>liangxie@apache.org</email>
361 <timezone>+8</timezone>
365 <name>Shaohui Liu</name>
366 <email>liushaohui@apache.org</email>
367 <timezone>+8</timezone>
371 <name>Liyin Tang</name>
372 <email>liyin.tang@fb.com</email>
373 <timezone>-8</timezone>
378 <email>liyu@apache.org</email>
379 <timezone>+8</timezone>
383 <name>Mikhail Bautin</name>
384 <email>mbautin@apache.org</email>
385 <timezone>-8</timezone>
389 <name>Matteo Bertozzi</name>
390 <email>mbertozzi@apache.org</email>
391 <timezone>0</timezone>
395 <name>Misty Stanley-Jones</name>
396 <email>misty@apache.org</email>
397 <timezone>+10</timezone>
401 <name>Nick Dimiduk</name>
402 <email>ndimiduk@apache.org</email>
403 <timezone>-8</timezone>
407 <name>Nicolas Liochon</name>
408 <email>nkeywal@apache.org</email>
409 <timezone>+1</timezone>
412 <id>nspiegelberg</id>
413 <name>Nicolas Spiegelberg</name>
414 <email>nspiegelberg@fb.com</email>
415 <timezone>-8</timezone>
419 <name>Andrey Stepachev</name>
420 <email>octo47@gmail.com</email>
421 <timezone>0</timezone>
425 <name>Rajeshbabu Chintaguntla</name>
426 <email>rajeshbabu@apache.org</email>
427 <timezone>+5</timezone>
431 <name>Ramkrishna S Vasudevan</name>
432 <email>ramkrishna@apache.org</email>
433 <timezone>+5</timezone>
437 <name>Ryan Rawson</name>
438 <email>rawson@apache.org</email>
439 <timezone>-8</timezone>
443 <name>Sergey Shelukhin</name>
444 <email>sershe@apache.org</email>
445 <timezone>-8</timezone>
449 <name>Srikanth Srungarapu</name>
450 <email>ssrungarapu@apache.org</email>
451 <timezone>-8</timezone>
455 <name>Michael Stack</name>
456 <email>stack@apache.org</email>
457 <timezone>-8</timezone>
461 <name>Stephen Yuan Jiang</name>
462 <email>syuanjiang@apache.org</email>
463 <timezone>-8</timezone>
468 <email>yuzhihong@gmail.com</email>
469 <timezone>-8</timezone>
473 <name>Todd Lipcon</name>
474 <email>todd@apache.org</email>
475 <timezone>-8</timezone>
479 <name>Francis Liu</name>
480 <email>toffer@apache.org</email>
481 <timezone>-8</timezone>
485 <name>Virag Kothari</name>
486 <email>virag@yahoo-inc.com</email>
487 <timezone>-8</timezone>
491 <name>Phil Yang</name>
492 <email>yangzhe1991@apache.org</email>
493 <timezone>+8</timezone>
497 <name>Guanghao Zhang</name>
498 <email>zghao@apache.org</email>
499 <timezone>+8</timezone>
503 <name>Duo Zhang</name>
504 <email>zhangduo@apache.org</email>
505 <timezone>+8</timezone>
509 <name>Chunhui Shen</name>
510 <email>zjushch@apache.org</email>
511 <timezone>+8</timezone>
517 <groupId>kr.motd.maven</groupId>
518 <artifactId>os-maven-plugin</artifactId>
519 <version>${os.maven.version}</version>
522 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
523 For specific version use a property and define it in the parent pom.
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-remote-resources-plugin</artifactId>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-release-plugin</artifactId>
535 <!--You need this profile. It'll sign your artifacts.
536 I'm not sure if this config. actually works though.
537 I've been specifying -Papache-release on the command-line
539 <releaseProfiles>apache-release</releaseProfiles>
540 <!--This stops our running tests for each stage of maven release.
541 But it builds the test jar. From SUREFIRE-172.
543 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
544 <goals>${goals}</goals>
545 <pomFileName>pom.xml</pomFileName>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-compiler-plugin</artifactId>
552 <source>${compileSource}</source>
553 <target>${compileSource}</target>
554 <showWarnings>true</showWarnings>
555 <showDeprecation>false</showDeprecation>
556 <useIncrementalCompilation>false</useIncrementalCompilation>
557 <compilerArgument>-Xlint:-options</compilerArgument>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-javadoc-plugin</artifactId>
563 <version>${maven.javadoc.version}</version>
565 <source>${compileSource}</source>
568 <!-- Test oriented plugins -->
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
572 <version>${surefire.version}</version>
574 <!-- by default surefire selects dynamically the connector to the unit tests
575 tool. We want to use always the same as the different connectors can have different
576 bugs and behaviour. -->
578 <groupId>org.apache.maven.surefire</groupId>
579 <artifactId>${surefire.provider}</artifactId>
580 <version>${surefire.version}</version>
583 <!-- Generic testing configuration for all packages -->
585 <groups>${surefire.firstPartGroups}</groups>
586 <failIfNoTests>false</failIfNoTests>
587 <skip>${surefire.skipFirstPart}</skip>
588 <forkCount>${surefire.firstPartForkCount}</forkCount>
589 <reuseForks>false</reuseForks>
590 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
591 <tempDir>${surefire.tempDir}</tempDir>
592 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
593 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
594 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
595 <systemPropertyVariables>
596 <test.build.classes>${test.build.classes}</test.build.classes>
597 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
598 <java.util.logging.config.class>org.apache.hadoop.hbase.logging.JulToSlf4jInitializer</java.util.logging.config.class>
599 </systemPropertyVariables>
601 <!-- users can add -D option to skip particular test classes
602 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
604 <exclude>${test.exclude.pattern}</exclude>
608 <name>listener</name>
609 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
615 <id>secondPartTestsExecution</id>
621 <skip>${surefire.skipSecondPart}</skip>
622 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
623 <reuseForks>false</reuseForks>
624 <forkCount>${surefire.secondPartForkCount}</forkCount>
625 <groups>${surefire.secondPartGroups}</groups>
626 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
632 <groupId>org.apache.maven.plugins</groupId>
633 <artifactId>maven-surefire-report-plugin</artifactId>
634 <version>${surefire.version}</version>
637 <groupId>org.codehaus.mojo</groupId>
638 <artifactId>buildnumber-maven-plugin</artifactId>
639 <version>${buildnumber.maven.version}</version>
642 <groupId>com.github.spotbugs</groupId>
643 <artifactId>spotbugs-maven-plugin</artifactId>
644 <version>${spotbugs.maven.version}</version>
646 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
647 <spotbugsXmlOutput>true</spotbugsXmlOutput>
648 <xmlOutput>true</xmlOutput>
652 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
654 <groupId>com.github.spotbugs</groupId>
655 <artifactId>spotbugs</artifactId>
656 <version>${spotbugs.version}</version>
661 <groupId>org.codehaus.mojo</groupId>
662 <artifactId>build-helper-maven-plugin</artifactId>
663 <version>${build.helper.maven.version}</version>
666 <artifactId>maven-antrun-plugin</artifactId>
667 <version>${maven.antrun.version}</version>
670 <groupId>org.jamon</groupId>
671 <artifactId>jamon-maven-plugin</artifactId>
672 <version>${jamon.plugin.version}</version>
674 <!-- Make a jar and put the sources in the jar.
675 In the parent pom, so submodules will do the right thing. -->
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-source-plugin</artifactId>
681 <id>attach-sources</id>
682 <phase>prepare-package</phase>
684 <goal>jar-no-fork</goal>
685 <goal>test-jar-no-fork</goal>
689 <exclude>log4j.properties</exclude>
695 <!-- General configuration for submodules who want to build a test jar -->
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-jar-plugin</artifactId>
701 <phase>prepare-package</phase>
703 <!--This goal will install a -test.jar when we do install
704 See https://maven.apache.org/guides/mini/guide-attached-tests.html
706 <goal>test-jar</goal>
711 <skipIfEmpty>true</skipIfEmpty>
713 <exclude>hbase-site.xml</exclude>
714 <exclude>hdfs-site.xml</exclude>
715 <exclude>mapred-queues.xml</exclude>
716 <exclude>mapred-site.xml</exclude>
721 <!-- excludes are inherited -->
722 <groupId>org.apache.rat</groupId>
723 <artifactId>apache-rat-plugin</artifactId>
726 <exclude>**/*.versionsBackup</exclude>
727 <exclude>**/*.log</exclude>
728 <exclude>**/.*</exclude>
729 <exclude>**/*.tgz</exclude>
730 <exclude>**/*.orig</exclude>
731 <exclude>**/0000000000000016310</exclude>
732 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
733 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
734 <exclude>**/.idea/**</exclude>
735 <exclude>**/*.iml</exclude>
736 <exclude>**/CHANGES.txt</exclude>
737 <exclude>**/generated/**</exclude>
738 <exclude>**/gen-*/**</exclude>
739 <!-- No material contents -->
740 <exclude>conf/regionservers</exclude>
741 <exclude>**/*.avpr</exclude>
742 <exclude>**/*.svg</exclude>
743 <!-- non-standard notice file from jruby included by reference -->
744 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
745 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
746 <exclude>**/src/main/asciidoc/hbase.css</exclude>
747 <!-- MIT https://jquery.org/license -->
748 <exclude>**/jquery.min.js</exclude>
749 <exclude>**/jquery.tablesorter.min.js</exclude>
750 <exclude>**/parser-date-iso8601.min.js</exclude>
751 <!-- MIT: bootstrap -->
752 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
753 <!-- vector graphics -->
754 <exclude>**/*.vm</exclude>
755 <!-- apache doxia generated -->
756 <exclude>**/control</exclude>
757 <exclude>**/conffile</exclude>
758 <!-- auto-gen docs -->
759 <exclude>docs/*</exclude>
760 <exclude>logs/*</exclude>
761 <!-- exclude source control files -->
762 <exclude>.git/**</exclude>
763 <exclude>.svn/**</exclude>
764 <exclude>**/.settings/**</exclude>
765 <exclude>**/patchprocess/**</exclude>
766 <exclude>src/site/resources/repo/**</exclude>
767 <exclude>**/dependency-reduced-pom.xml</exclude>
768 <exclude>**/rat.txt</exclude>
769 <!-- exclude the shaded protobuf files -->
770 <exclude>**/shaded/com/google/protobuf/**</exclude>
771 <exclude>**/src/main/patches/**</exclude>
776 <artifactId>maven-assembly-plugin</artifactId>
778 <!--Defer to the hbase-assembly sub-module. It
780 <skipAssembly>true</skipAssembly>
784 <groupId>org.xolstice.maven.plugins</groupId>
785 <artifactId>protobuf-maven-plugin</artifactId>
786 <version>${protobuf.plugin.version}</version>
788 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
789 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
790 <clearOutputDirectory>false</clearOutputDirectory>
791 <checkStaleness>true</checkStaleness>
795 <!-- Approach followed here is roughly the same as mentioned here:
796 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
798 <groupId>org.apache.maven.plugins</groupId>
799 <artifactId>maven-checkstyle-plugin</artifactId>
800 <version>${maven.checkstyle.version}</version>
803 <groupId>org.apache.hbase</groupId>
804 <artifactId>hbase-checkstyle</artifactId>
805 <version>${project.version}</version>
808 <groupId>com.puppycrawl.tools</groupId>
809 <artifactId>checkstyle</artifactId>
810 <version>${checkstyle.version}</version>
814 <configLocation>hbase/checkstyle.xml</configLocation>
815 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
816 <includeTestSourceDirectory>true</includeTestSourceDirectory>
820 <groupId>net.revelc.code</groupId>
821 <artifactId>warbucks-maven-plugin</artifactId>
822 <version>${maven.warbucks.version}</version>
824 <ignoreRuleFailures>false</ignoreRuleFailures>
827 <!-- exclude the generated java files -->
828 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
829 <includeTestClasses>false</includeTestClasses>
830 <includePublicClasses>true</includePublicClasses>
831 <includePackagePrivateClasses>false</includePackagePrivateClasses>
832 <includeProtectedClasses>false</includeProtectedClasses>
833 <includePrivateClasses>false</includePrivateClasses>
834 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
840 <id>run-warbucks</id>
842 <goal>check</goal><!-- runs at process-test-classes phase -->
848 <groupId>org.apache.maven.plugins</groupId>
849 <artifactId>maven-enforcer-plugin</artifactId>
850 <version>${enforcer.version}</version>
853 <groupId>org.codehaus.mojo</groupId>
854 <artifactId>extra-enforcer-rules</artifactId>
855 <version>${extra.enforcer.version}</version>
858 <groupId>de.skuzzle.enforcer</groupId>
859 <artifactId>restrict-imports-enforcer-rule</artifactId>
860 <version>${restrict-imports.enforcer.version}</version>
868 <groupId>org.codehaus.mojo</groupId>
869 <artifactId>build-helper-maven-plugin</artifactId>
872 <id>negate-license-bundles-property</id>
874 <goal>bsh-property</goal>
877 <source>skip.license.check = !${license.bundles.dependencies};</source>
879 <property>skip.license.check</property>
883 <!-- sets where to find the generated LICENSE files -->
885 <id>create-license-file-path-property</id>
887 <goal>regex-property</goal>
890 <name>license.aggregate.path</name>
891 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
893 <replacement>/</replacement>
894 <failIfNoMatch>false</failIfNoMatch>
900 <groupId>org.apache.maven.plugins</groupId>
901 <artifactId>maven-enforcer-plugin</artifactId>
904 <id>display-info</id>
905 <phase>initialize</phase>
907 <goal>display-info</goal>
909 <inherited>false</inherited>
912 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
918 <!-- Help people activate profiles correctly -->
920 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
921 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
923 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
924 <requireMavenVersion>
925 <version>[${maven.min.version},)</version>
926 <message>Maven is out of date.
927 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
928 You appear to be using an older version. You can use either "mvn -version" or
929 "mvn enforcer:display-info" to verify what version is active.
930 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
932 </requireMavenVersion>
933 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
935 <version>[${java.min.version},)</version>
936 <message>Java is out of date.
937 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
938 You appear to be using an older version. You can use either "mvn -version" or
939 "mvn enforcer:display-info" to verify what version is active.
940 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
942 </requireJavaVersion>
945 <exclude>xerces:xercesImpl</exclude>
947 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
948 </bannedDependencies>
953 <id>banned-jsr305</id>
961 <exclude>com.google.code.findbugs:jsr305</exclude>
963 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
964 </bannedDependencies>
969 <id>banned-commons-logging</id>
977 <exclude>commons-logging:commons-logging</exclude>
980 We don't use commons-logging any more, so do not depend on it directly.
982 <searchTransitive>false</searchTransitive>
983 </bannedDependencies>
988 <id>banned-jetty</id>
996 <exclude>org.eclipse.jetty:**</exclude>
999 Use shaded jetty instead
1001 <searchTransitive>false</searchTransitive>
1002 </bannedDependencies>
1007 <id>banned-jersey</id>
1009 <goal>enforce</goal>
1013 <bannedDependencies>
1015 <exclude>org.glassfish.jersey.containers:**</exclude>
1016 <exclude>org.glassfish.jersey.core:**</exclude>
1019 Use shaded jersey instead
1021 <searchTransitive>false</searchTransitive>
1022 </bannedDependencies>
1027 <id>check-aggregate-license</id>
1028 <!-- must check after LICENSE is built at 'generate-resources' -->
1029 <phase>process-resources</phase>
1031 <goal>enforce</goal>
1037 File license = new File("${license.aggregate.path}");
1039 // Beanshell does not support try-with-resources,
1040 // so we must close this scanner manually
1041 Scanner scanner = new Scanner(license);
1043 while (scanner.hasNextLine()) {
1044 if (scanner.nextLine().startsWith("ERROR:")) {
1053 License errors detected, for more detail find ERROR in
1054 ${license.aggregate.path}
1056 </evaluateBeanshell>
1058 <skip>${skip.license.check}</skip>
1062 <id>banned-illegal-imports</id>
1063 <phase>process-sources</phase>
1065 <goal>enforce</goal>
1069 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1070 <includeTestCode>true</includeTestCode>
1071 <commentLineBufferSize>512</commentLineBufferSize>
1072 <reason>Use SLF4j for logging</reason>
1074 <bannedImport>org.apache.commons.logging.**</bannedImport>
1077 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1078 <includeTestCode>false</includeTestCode>
1079 <commentLineBufferSize>512</commentLineBufferSize>
1081 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1084 <bannedImport>org.apache.log4j.**</bannedImport>
1087 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1088 <includeTestCode>true</includeTestCode>
1089 <commentLineBufferSize>512</commentLineBufferSize>
1090 <reason>Use shaded version in hbase-thirdparty</reason>
1092 <bannedImport>com.google.common.**</bannedImport>
1093 <bannedImport>io.netty.**</bannedImport>
1094 <bannedImport>org.apache.commons.cli.**</bannedImport>
1095 <bannedImport>org.apache.commons.collections.**</bannedImport>
1096 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1099 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1100 <includeTestCode>true</includeTestCode>
1101 <commentLineBufferSize>512</commentLineBufferSize>
1102 <reason>Do not use shaded classes from other dependencies</reason>
1104 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1105 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1108 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1109 <includeTestCode>true</includeTestCode>
1110 <commentLineBufferSize>512</commentLineBufferSize>
1111 <reason>Use shaded gson in hbase-thirdparty</reason>
1113 <bannedImport>org.codehaus.jackson.**</bannedImport>
1116 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1117 <includeTestCode>true</includeTestCode>
1118 <commentLineBufferSize>512</commentLineBufferSize>
1119 <reason>Use commons lang 3</reason>
1121 <bannedImport>org.apache.commons.lang.**</bannedImport>
1124 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1125 <includeTestCode>true</includeTestCode>
1126 <commentLineBufferSize>512</commentLineBufferSize>
1127 <reason>Use yetus IA and IS annotations</reason>
1129 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1132 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1133 <includeTestCode>true</includeTestCode>
1134 <commentLineBufferSize>512</commentLineBufferSize>
1135 <reason>Do not use htrace v3</reason>
1137 <bannedImport>org.htrace.**</bannedImport>
1140 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1141 <includeTestCode>true</includeTestCode>
1142 <commentLineBufferSize>512</commentLineBufferSize>
1143 <reason>Use shaded jetty in hbase-thirdparty</reason>
1145 <bannedImport>org.eclipse.jetty.**</bannedImport>
1148 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1149 <includeTestCode>true</includeTestCode>
1150 <commentLineBufferSize>512</commentLineBufferSize>
1151 <reason>Use shaded jersey in hbase-thirdparty</reason>
1153 <bannedImport>org.glassfish.jersey.**</bannedImport>
1156 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1157 <includeTestCode>true</includeTestCode>
1158 <commentLineBufferSize>512</commentLineBufferSize>
1160 You should never use this style of annotations(i.e, 'this is for test only')
1161 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1163 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1166 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1174 <!-- parent-module only plugins -->
1176 <groupId>org.codehaus.mojo</groupId>
1177 <artifactId>xml-maven-plugin</artifactId>
1178 <version>${xml.maven.version}</version>
1179 <inherited>false</inherited>
1182 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1184 <goal>transform</goal>
1190 <transformationSets>
1191 <!-- For asciidoc -->
1193 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1194 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1196 <include>hbase-default.xml</include>
1198 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1200 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1201 <pattern>^(.*)\.xml$</pattern>
1202 <replacement>$1.adoc</replacement>
1205 <outputDir>${basedir}/target/asciidoc</outputDir>
1206 </transformationSet>
1207 </transformationSets>
1210 <!-- Special configuration for spotbugs just in the parent so
1211 the filter file location can be more general (see definition in pluginManagement) -->
1213 <groupId>com.github.spotbugs</groupId>
1214 <artifactId>spotbugs-maven-plugin</artifactId>
1217 <inherited>false</inherited>
1219 <goal>spotbugs</goal>
1222 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1228 <groupId>org.apache.maven.plugins</groupId>
1229 <artifactId>maven-checkstyle-plugin</artifactId>
1232 <groupId>org.apache.maven.plugins</groupId>
1233 <artifactId>maven-site-plugin</artifactId>
1236 <!-- add support for ssh/scp -->
1237 <groupId>org.apache.maven.wagon</groupId>
1238 <artifactId>wagon-ssh</artifactId>
1239 <version>${wagon.ssh.version}</version>
1243 <siteDirectory>${basedir}/src/site</siteDirectory>
1244 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1245 <inputEncoding>UTF-8</inputEncoding>
1246 <outputEncoding>UTF-8</outputEncoding>
1249 <!-- For AsciiDoc docs building -->
1251 <groupId>org.asciidoctor</groupId>
1252 <artifactId>asciidoctor-maven-plugin</artifactId>
1253 <version>${asciidoctor.plugin.version}</version>
1254 <inherited>false</inherited>
1257 <groupId>org.asciidoctor</groupId>
1258 <artifactId>asciidoctorj-pdf</artifactId>
1259 <version>${asciidoctorj.pdf.version}</version>
1262 <groupId>org.jruby</groupId>
1263 <artifactId>jruby-complete</artifactId>
1264 <version>${jruby.version}</version>
1268 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1269 <doctype>book</doctype>
1271 <docVersion>${project.version}</docVersion>
1272 <imagesdir>images</imagesdir>
1273 <source-highlighter>coderay</source-highlighter>
1278 <id>output-html</id>
1281 <goal>process-asciidoc</goal>
1285 <stylesheet>hbase.css</stylesheet>
1287 <backend>html5</backend>
1294 <goal>process-asciidoc</goal>
1297 <backend>pdf</backend>
1302 <idseparator>-</idseparator>
1309 <groupId>org.apache.maven.plugins</groupId>
1310 <artifactId>maven-resources-plugin</artifactId>
1311 <!--$NO-MVN-MAN-VER$ -->
1312 <inherited>false</inherited>
1315 <id>copy-htaccess</id>
1317 <goal>copy-resources</goal>
1321 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1324 <directory>${basedir}/src/site/resources/</directory>
1326 <include>.htaccess</include>
1332 <!-- needed to make the redirect above work -->
1334 <id>copy-empty-book-dir</id>
1336 <goal>copy-resources</goal>
1340 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1343 <directory>${basedir}/src/site/resources/</directory>
1345 <include>book/**</include>
1353 <escapeString>\</escapeString>
1357 <groupId>org.apache.maven.plugins</groupId>
1358 <artifactId>maven-antrun-plugin</artifactId>
1359 <version>${maven.antrun.version}</version>
1360 <inherited>false</inherited>
1361 <!-- Rename the book.pdf generated by asciidoctor -->
1367 <target name="rename file">
1368 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1378 <groupId>org.codehaus.mojo</groupId>
1379 <artifactId>buildnumber-maven-plugin</artifactId>
1382 <phase>validate</phase>
1384 <goal>create-timestamp</goal>
1389 <timestampFormat>yyyy</timestampFormat>
1390 <timestampPropertyName>build.year</timestampPropertyName>
1394 <groupId>org.apache.felix</groupId>
1395 <artifactId>maven-bundle-plugin</artifactId>
1396 <version>${maven.bundle.version}</version>
1397 <inherited>true</inherited>
1398 <extensions>true</extensions>
1403 <!-- override on command line to have generated LICENSE files include
1404 diagnostic info for verifying notice requirements -->
1405 <license.debug.print.included>false</license.debug.print.included>
1406 <!-- When a particular module bundles its depenendencies, should be true -->
1407 <license.bundles.dependencies>false</license.bundles.dependencies>
1408 <!-- modules that include a the logo in their source tree should set true -->
1409 <license.bundles.logo>false</license.bundles.logo>
1410 <!-- modules that include bootstrap in their source tree should set true -->
1411 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1412 <!-- modules that include jquery in their source tree should set true -->
1413 <license.bundles.jquery>false</license.bundles.jquery>
1414 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1415 <maven.build.timestamp.format>
1417 </maven.build.timestamp.format>
1418 <buildDate>${maven.build.timestamp}</buildDate>
1419 <compileSource>1.8</compileSource>
1420 <!-- Build dependencies -->
1421 <maven.min.version>3.0.4</maven.min.version>
1422 <java.min.version>${compileSource}</java.min.version>
1423 <!-- Dependencies -->
1424 <hadoop-two.version>2.10.0</hadoop-two.version>
1425 <hadoop-three.version>3.1.2</hadoop-three.version>
1426 <!-- These must be defined here for downstream build tools that don't look at profiles.
1427 They ought to match the values found in our default hadoop profile, which is
1428 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1429 <hadoop.version>${hadoop-two.version}</hadoop.version>
1430 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1431 <compat.module>hbase-hadoop2-compat</compat.module>
1432 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1433 <!--This property is for hadoops netty. HBase netty
1434 comes in via hbase-thirdparty hbase-shaded-netty-->
1435 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1436 <!-- end HBASE-15925 default hadoop compatibility values -->
1437 <audience-annotations.version>0.5.0</audience-annotations.version>
1438 <avro.version>1.7.7</avro.version>
1439 <caffeine.version>2.8.1</caffeine.version>
1440 <commons-codec.version>1.13</commons-codec.version>
1441 <!-- pretty outdated -->
1442 <commons-io.version>2.6</commons-io.version>
1443 <commons-lang3.version>3.9</commons-lang3.version>
1444 <commons-math.version>3.6.1</commons-math.version>
1445 <disruptor.version>3.4.2</disruptor.version>
1446 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1447 especially when writing out 'no column families'. Later httpclients collapse the '//'
1448 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1449 TestRemoteTable. -->
1450 <httpclient.version>4.5.3</httpclient.version>
1451 <httpcore.version>4.4.13</httpcore.version>
1452 <metrics-core.version>3.2.6</metrics-core.version>
1453 <jackson.version>2.10.1</jackson.version>
1454 <jackson.databind.version>2.10.1</jackson.databind.version>
1455 <jaxb-api.version>2.3.1</jaxb-api.version>
1456 <servlet.api.version>3.1.0</servlet.api.version>
1457 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1458 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1459 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1460 <jruby.version>9.2.13.0</jruby.version>
1461 <junit.version>4.13</junit.version>
1462 <hamcrest.version>1.3</hamcrest.version>
1463 <htrace.version>4.2.0-incubating</htrace.version>
1464 <log4j.version>1.2.17</log4j.version>
1465 <mockito-core.version>2.28.2</mockito-core.version>
1466 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1467 <external.protobuf.version>2.5.0</external.protobuf.version>
1468 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1469 <thrift.path>thrift</thrift.path>
1470 <thrift.version>0.14.1</thrift.version>
1471 <zookeeper.version>3.5.7</zookeeper.version>
1472 <jline.version>2.11</jline.version>
1473 <slf4j.version>1.7.30</slf4j.version>
1474 <clover.version>4.0.3</clover.version>
1475 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1476 <jettison.version>1.3.8</jettison.version>
1477 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1478 <joni.version>2.1.31</joni.version>
1479 <jcodings.version>1.0.55</jcodings.version>
1480 <spy.version>2.12.2</spy.version>
1481 <bouncycastle.version>1.60</bouncycastle.version>
1482 <kerby.version>1.0.1</kerby.version>
1483 <commons-crypto.version>1.0.0</commons-crypto.version>
1484 <curator.version>4.2.0</curator.version>
1485 <!-- Plugin Dependencies -->
1486 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1487 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1488 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1489 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1491 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1493 <checkstyle.version>8.28</checkstyle.version>
1494 <exec.maven.version>1.6.0</exec.maven.version>
1495 <error-prone.version>2.4.0</error-prone.version>
1496 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1497 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1498 <maven.antrun.version>1.8</maven.antrun.version>
1499 <maven.bundle.version>3.3.0</maven.bundle.version>
1500 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1501 <maven.eclipse.version>2.10</maven.eclipse.version>
1502 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1503 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1504 <os.maven.version>1.5.0.Final</os.maven.version>
1505 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1506 <spotbugs.version>4.2.2</spotbugs.version>
1507 <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1508 <surefire.version>3.0.0-M4</surefire.version>
1509 <wagon.ssh.version>2.12</wagon.ssh.version>
1510 <xml.maven.version>1.0.1</xml.maven.version>
1511 <hbase-thirdparty.version>3.4.1</hbase-thirdparty.version>
1512 <!-- Intraproject jar naming properties -->
1513 <!-- TODO this is pretty ugly, but works for the moment.
1514 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1515 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1516 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1517 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1518 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1519 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1520 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1521 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1522 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1523 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1524 <shell-executable>bash</shell-executable>
1525 <surefire.provider>surefire-junit47</surefire.provider>
1526 <!-- default: run small & medium, medium with 2 threads -->
1527 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1528 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1529 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1530 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1531 value is you want to burn through tests faster (could make for more failures
1532 if more contention around resources). There is a matching MAVEN_ARG
1533 in our yetus personality where we set the maven -T command to 0.25C too.
1534 For example, to run at a rate that is more furious than our 0.25C, do
1535 something like this:
1536 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1538 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1539 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1540 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1541 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1542 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1543 <test.output.tofile>true</test.output.tofile>
1544 <surefire.timeout>900</surefire.timeout>
1545 <test.exclude.pattern></test.exclude.pattern>
1547 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1548 This value is managed separately for jdk11. See below.
1550 <surefire.Xmx>2200m</surefire.Xmx>
1551 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1552 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1554 And for netty eventloops that have no explicit configuration, netty sets
1555 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1558 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1559 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1560 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1561 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1562 -Dio.netty.eventLoopThreads=3
1563 </hbase-surefire.argLine>
1564 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1565 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1566 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1567 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1568 </hbase-surefire.cygwin-argLine>
1569 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1570 <argLine>${hbase-surefire.argLine}</argLine>
1571 <jacoco.version>0.7.5.201505241946</jacoco.version>
1572 <extra.enforcer.version>1.3</extra.enforcer.version>
1573 <enforcer.version>3.0.0-M3</enforcer.version>
1574 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1575 <!-- Location of test resources -->
1576 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1577 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1578 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1579 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1580 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1581 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1582 <build.id>${maven.build.timestamp}</build.id>
1583 <shell-executable>bash</shell-executable>
1584 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1585 property as of javadoc-plugin 3.0.0 -->
1586 <doclint>none</doclint>
1588 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1589 <dependencyManagement>
1592 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1593 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1594 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1595 implementation of the same, because Hadoop also uses this version
1596 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1597 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1599 <!-- Intra-module dependencies -->
1601 <groupId>org.apache.hbase</groupId>
1602 <artifactId>hbase-annotations</artifactId>
1603 <version>${project.version}</version>
1604 <type>test-jar</type>
1605 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1608 <groupId>org.apache.hbase</groupId>
1609 <artifactId>hbase-common</artifactId>
1610 <version>${project.version}</version>
1613 <groupId>org.apache.hbase</groupId>
1614 <artifactId>hbase-common</artifactId>
1615 <version>${project.version}</version>
1616 <type>test-jar</type>
1620 <groupId>org.apache.hbase</groupId>
1621 <artifactId>hbase-logging</artifactId>
1622 <version>${project.version}</version>
1625 <groupId>org.apache.hbase</groupId>
1626 <artifactId>hbase-logging</artifactId>
1627 <version>${project.version}</version>
1628 <type>test-jar</type>
1632 <groupId>org.apache.hbase</groupId>
1633 <artifactId>hbase-protocol-shaded</artifactId>
1634 <version>${project.version}</version>
1637 <groupId>org.apache.hbase</groupId>
1638 <artifactId>hbase-protocol</artifactId>
1639 <version>${project.version}</version>
1642 <groupId>org.apache.hbase</groupId>
1643 <artifactId>hbase-procedure</artifactId>
1644 <version>${project.version}</version>
1647 <groupId>org.apache.hbase</groupId>
1648 <artifactId>hbase-procedure</artifactId>
1649 <version>${project.version}</version>
1650 <type>test-jar</type>
1653 <groupId>org.apache.hbase</groupId>
1654 <artifactId>hbase-hadoop-compat</artifactId>
1655 <version>${project.version}</version>
1658 <groupId>org.apache.hbase</groupId>
1659 <artifactId>hbase-hadoop-compat</artifactId>
1660 <version>${project.version}</version>
1661 <type>test-jar</type>
1665 <groupId>org.apache.hbase</groupId>
1666 <artifactId>${compat.module}</artifactId>
1667 <version>${project.version}</version>
1670 <groupId>org.apache.hbase</groupId>
1671 <artifactId>${compat.module}</artifactId>
1672 <version>${project.version}</version>
1673 <type>test-jar</type>
1677 <artifactId>hbase-rsgroup</artifactId>
1678 <groupId>org.apache.hbase</groupId>
1679 <version>${project.version}</version>
1682 <artifactId>hbase-rsgroup</artifactId>
1683 <groupId>org.apache.hbase</groupId>
1684 <version>${project.version}</version>
1685 <type>test-jar</type>
1689 <artifactId>hbase-replication</artifactId>
1690 <groupId>org.apache.hbase</groupId>
1691 <version>${project.version}</version>
1694 <artifactId>hbase-http</artifactId>
1695 <groupId>org.apache.hbase</groupId>
1696 <version>${project.version}</version>
1699 <artifactId>hbase-http</artifactId>
1700 <groupId>org.apache.hbase</groupId>
1701 <version>${project.version}</version>
1702 <type>test-jar</type>
1706 <artifactId>hbase-server</artifactId>
1707 <groupId>org.apache.hbase</groupId>
1708 <version>${project.version}</version>
1711 <artifactId>hbase-server</artifactId>
1712 <groupId>org.apache.hbase</groupId>
1713 <version>${project.version}</version>
1714 <type>test-jar</type>
1718 <artifactId>hbase-mapreduce</artifactId>
1719 <groupId>org.apache.hbase</groupId>
1720 <version>${project.version}</version>
1723 <artifactId>hbase-mapreduce</artifactId>
1724 <groupId>org.apache.hbase</groupId>
1725 <version>${project.version}</version>
1726 <type>test-jar</type>
1730 <artifactId>hbase-endpoint</artifactId>
1731 <groupId>org.apache.hbase</groupId>
1732 <version>${project.version}</version>
1735 <artifactId>hbase-shell</artifactId>
1736 <groupId>org.apache.hbase</groupId>
1737 <version>${project.version}</version>
1740 <artifactId>hbase-shell</artifactId>
1741 <groupId>org.apache.hbase</groupId>
1742 <version>${project.version}</version>
1743 <type>test-jar</type>
1747 <artifactId>hbase-thrift</artifactId>
1748 <groupId>org.apache.hbase</groupId>
1749 <version>${project.version}</version>
1752 <artifactId>hbase-thrift</artifactId>
1753 <groupId>org.apache.hbase</groupId>
1754 <version>${project.version}</version>
1755 <type>test-jar</type>
1759 <groupId>org.apache.hbase</groupId>
1760 <artifactId>hbase-testing-util</artifactId>
1761 <version>${project.version}</version>
1765 <artifactId>hbase-examples</artifactId>
1766 <groupId>org.apache.hbase</groupId>
1767 <version>${project.version}</version>
1770 <groupId>org.apache.hbase</groupId>
1771 <artifactId>hbase-external-blockcache</artifactId>
1772 <version>${project.version}</version>
1775 <artifactId>hbase-it</artifactId>
1776 <groupId>org.apache.hbase</groupId>
1777 <version>${project.version}</version>
1778 <type>test-jar</type>
1782 <artifactId>hbase-client</artifactId>
1783 <groupId>org.apache.hbase</groupId>
1784 <version>${project.version}</version>
1787 <artifactId>hbase-metrics-api</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1792 <artifactId>hbase-metrics-api</artifactId>
1793 <groupId>org.apache.hbase</groupId>
1794 <version>${project.version}</version>
1795 <type>test-jar</type>
1799 <artifactId>hbase-metrics</artifactId>
1800 <groupId>org.apache.hbase</groupId>
1801 <version>${project.version}</version>
1804 <artifactId>hbase-metrics</artifactId>
1805 <groupId>org.apache.hbase</groupId>
1806 <version>${project.version}</version>
1807 <type>test-jar</type>
1811 <artifactId>hbase-rest</artifactId>
1812 <groupId>org.apache.hbase</groupId>
1813 <version>${project.version}</version>
1816 <artifactId>hbase-resource-bundle</artifactId>
1817 <groupId>org.apache.hbase</groupId>
1818 <version>${project.version}</version>
1821 <artifactId>hbase-zookeeper</artifactId>
1822 <groupId>org.apache.hbase</groupId>
1823 <version>${project.version}</version>
1826 <groupId>com.google.code.findbugs</groupId>
1827 <artifactId>jsr305</artifactId>
1830 <groupId>com.github.spotbugs</groupId>
1831 <artifactId>spotbugs-annotations</artifactId>
1836 <artifactId>hbase-zookeeper</artifactId>
1837 <groupId>org.apache.hbase</groupId>
1838 <version>${project.version}</version>
1839 <type>test-jar</type>
1843 <artifactId>hbase-hbtop</artifactId>
1844 <groupId>org.apache.hbase</groupId>
1845 <version>${project.version}</version>
1848 <groupId>org.apache.hbase</groupId>
1849 <artifactId>hbase-shaded-client</artifactId>
1850 <version>${project.version}</version>
1853 <groupId>org.apache.hbase</groupId>
1854 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1855 <version>${project.version}</version>
1858 <groupId>org.apache.hbase</groupId>
1859 <artifactId>hbase-shaded-mapreduce</artifactId>
1860 <version>${project.version}</version>
1863 <groupId>org.apache.hbase</groupId>
1864 <artifactId>hbase-asyncfs</artifactId>
1865 <version>${project.version}</version>
1868 <groupId>org.apache.hbase</groupId>
1869 <artifactId>hbase-asyncfs</artifactId>
1870 <version>${project.version}</version>
1871 <type>test-jar</type>
1874 <!-- General dependencies -->
1876 <groupId>com.github.stephenc.findbugs</groupId>
1877 <artifactId>findbugs-annotations</artifactId>
1878 <version>${findbugs-annotations.version}</version>
1881 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1882 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1883 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1884 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1885 scope as it will mess up the logging framework for downstream users.
1886 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1887 on use these logging framework so we need to redirect their log message to slf4j, and then
1888 redirect the log message to our log4j framework.
1891 <groupId>org.codehaus.jettison</groupId>
1892 <artifactId>jettison</artifactId>
1893 <version>${jettison.version}</version>
1896 <groupId>org.slf4j</groupId>
1897 <artifactId>slf4j-api</artifactId>
1898 <version>${slf4j.version}</version>
1901 <groupId>org.slf4j</groupId>
1902 <artifactId>slf4j-log4j12</artifactId>
1903 <version>${slf4j.version}</version>
1906 <groupId>org.slf4j</groupId>
1907 <artifactId>jcl-over-slf4j</artifactId>
1908 <version>${slf4j.version}</version>
1911 <groupId>org.slf4j</groupId>
1912 <artifactId>jul-to-slf4j</artifactId>
1913 <version>${slf4j.version}</version>
1916 <groupId>log4j</groupId>
1917 <artifactId>log4j</artifactId>
1918 <version>${log4j.version}</version>
1920 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1922 <groupId>org.apache.avro</groupId>
1923 <artifactId>avro</artifactId>
1924 <version>${avro.version}</version>
1926 <!--This is not used by hbase directly. Used by thrift,
1927 dropwizard and zk.-->
1929 <groupId>com.github.ben-manes.caffeine</groupId>
1930 <artifactId>caffeine</artifactId>
1931 <version>${caffeine.version}</version>
1934 <groupId>io.dropwizard.metrics</groupId>
1935 <artifactId>metrics-core</artifactId>
1936 <version>${metrics-core.version}</version>
1939 <groupId>org.apache.httpcomponents</groupId>
1940 <artifactId>httpclient</artifactId>
1941 <version>${httpclient.version}</version>
1944 <groupId>org.apache.httpcomponents</groupId>
1945 <artifactId>httpcore</artifactId>
1946 <version>${httpcore.version}</version>
1949 <groupId>commons-codec</groupId>
1950 <artifactId>commons-codec</artifactId>
1951 <version>${commons-codec.version}</version>
1954 <groupId>commons-io</groupId>
1955 <artifactId>commons-io</artifactId>
1956 <version>${commons-io.version}</version>
1959 <groupId>org.apache.commons</groupId>
1960 <artifactId>commons-lang3</artifactId>
1961 <version>${commons-lang3.version}</version>
1964 <groupId>org.apache.commons</groupId>
1965 <artifactId>commons-math3</artifactId>
1966 <version>${commons-math.version}</version>
1969 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1972 <groupId>commons-logging</groupId>
1973 <artifactId>commons-logging</artifactId>
1974 <version>1.2</version>
1977 <groupId>org.apache.zookeeper</groupId>
1978 <artifactId>zookeeper</artifactId>
1979 <version>${zookeeper.version}</version>
1982 <groupId>com.google.code.findbugs</groupId>
1983 <artifactId>jsr305</artifactId>
1986 <groupId>com.github.spotbugs</groupId>
1987 <artifactId>spotbugs-annotations</artifactId>
1990 <groupId>jline</groupId>
1991 <artifactId>jline</artifactId>
1994 <groupId>com.sun.jmx</groupId>
1995 <artifactId>jmxri</artifactId>
1998 <groupId>com.sun.jdmk</groupId>
1999 <artifactId>jmxtools</artifactId>
2002 <groupId>javax.jms</groupId>
2003 <artifactId>jms</artifactId>
2006 <groupId>io.netty</groupId>
2007 <artifactId>netty</artifactId>
2010 <groupId>org.slf4j</groupId>
2011 <artifactId>slf4j-log4j12</artifactId>
2014 <groupId>log4j</groupId>
2015 <artifactId>log4j</artifactId>
2020 <groupId>jline</groupId>
2021 <artifactId>jline</artifactId>
2022 <version>${jline.version}</version>
2025 <groupId>org.apache.thrift</groupId>
2026 <artifactId>libthrift</artifactId>
2027 <version>${thrift.version}</version>
2030 <groupId>org.apache.tomcat.embed</groupId>
2031 <artifactId>tomcat-embed-core</artifactId>
2036 <groupId>org.jruby</groupId>
2037 <artifactId>jruby-complete</artifactId>
2038 <version>${jruby.version}</version>
2041 <groupId>org.jruby.jcodings</groupId>
2042 <artifactId>jcodings</artifactId>
2043 <version>${jcodings.version}</version>
2046 <groupId>org.jruby.joni</groupId>
2047 <artifactId>joni</artifactId>
2048 <version>${joni.version}</version>
2051 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2052 <artifactId>jackson-jaxrs-json-provider</artifactId>
2053 <version>${jackson.version}</version>
2056 <groupId>com.fasterxml.jackson.core</groupId>
2057 <artifactId>jackson-annotations</artifactId>
2058 <version>${jackson.version}</version>
2061 <groupId>com.fasterxml.jackson.core</groupId>
2062 <artifactId>jackson-core</artifactId>
2063 <version>${jackson.version}</version>
2066 <groupId>com.fasterxml.jackson.core</groupId>
2067 <artifactId>jackson-databind</artifactId>
2068 <version>${jackson.databind.version}</version>
2071 <groupId>org.jamon</groupId>
2072 <artifactId>jamon-runtime</artifactId>
2073 <version>${jamon-runtime.version}</version>
2075 <!-- REST dependencies -->
2077 <groupId>javax.servlet</groupId>
2078 <artifactId>javax.servlet-api</artifactId>
2079 <version>${servlet.api.version}</version>
2082 <groupId>javax.ws.rs</groupId>
2083 <artifactId>javax.ws.rs-api</artifactId>
2084 <version>${wx.rs.api.version}</version>
2087 <groupId>com.sun.activation</groupId>
2088 <artifactId>javax.activation</artifactId>
2089 <version>1.2.0</version>
2092 <groupId>javax.annotation</groupId>
2093 <artifactId>javax.annotation-api</artifactId>
2094 <version>1.2</version>
2097 <groupId>com.google.protobuf</groupId>
2098 <artifactId>protobuf-java</artifactId>
2099 <version>${external.protobuf.version}</version>
2102 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2103 <groupId>org.glassfish.web</groupId>
2104 <artifactId>javax.servlet.jsp</artifactId>
2105 <version>${glassfish.jsp.version}</version>
2108 <!-- this lib is used by the compiled Jsp from the above JspC -->
2109 <groupId>javax.servlet.jsp</groupId>
2110 <artifactId>javax.servlet.jsp-api</artifactId>
2111 <version>2.3.1</version>
2114 <groupId>org.glassfish</groupId>
2115 <artifactId>javax.el</artifactId>
2116 <version>${glassfish.el.version}</version>
2119 <groupId>javax.xml.bind</groupId>
2120 <artifactId>jaxb-api</artifactId>
2121 <version>${jaxb-api.version}</version>
2124 <groupId>javax.xml.stream</groupId>
2125 <artifactId>stax-api</artifactId>
2130 <groupId>junit</groupId>
2131 <artifactId>junit</artifactId>
2132 <version>${junit.version}</version>
2135 <groupId>org.hamcrest</groupId>
2136 <artifactId>hamcrest-core</artifactId>
2137 <version>${hamcrest.version}</version>
2140 <groupId>org.hamcrest</groupId>
2141 <artifactId>hamcrest-library</artifactId>
2142 <version>${hamcrest.version}</version>
2145 <groupId>org.mockito</groupId>
2146 <artifactId>mockito-core</artifactId>
2147 <version>${mockito-core.version}</version>
2151 <groupId>org.apache.htrace</groupId>
2152 <artifactId>htrace-core4</artifactId>
2153 <version>${htrace.version}</version>
2156 <groupId>com.lmax</groupId>
2157 <artifactId>disruptor</artifactId>
2158 <version>${disruptor.version}</version>
2161 <groupId>net.spy</groupId>
2162 <artifactId>spymemcached</artifactId>
2163 <version>${spy.version}</version>
2164 <optional>true</optional>
2167 <groupId>org.bouncycastle</groupId>
2168 <artifactId>bcprov-jdk15on</artifactId>
2169 <version>${bouncycastle.version}</version>
2173 <groupId>org.apache.kerby</groupId>
2174 <artifactId>kerb-core</artifactId>
2175 <version>${kerby.version}</version>
2178 <groupId>org.apache.kerby</groupId>
2179 <artifactId>kerb-client</artifactId>
2180 <version>${kerby.version}</version>
2183 <groupId>org.apache.kerby</groupId>
2184 <artifactId>kerb-simplekdc</artifactId>
2185 <version>${kerby.version}</version>
2188 <groupId>org.apache.commons</groupId>
2189 <artifactId>commons-crypto</artifactId>
2190 <version>${commons-crypto.version}</version>
2193 <groupId>net.java.dev.jna</groupId>
2194 <artifactId>jna</artifactId>
2199 <groupId>org.apache.curator</groupId>
2200 <artifactId>curator-framework</artifactId>
2201 <version>${curator.version}</version>
2204 <groupId>org.apache.zookeeper</groupId>
2205 <artifactId>zookeeper</artifactId>
2210 <groupId>org.apache.curator</groupId>
2211 <artifactId>curator-client</artifactId>
2212 <version>${curator.version}</version>
2215 <groupId>com.google.guava</groupId>
2216 <artifactId>guava</artifactId>
2219 <groupId>org.apache.zookeeper</groupId>
2220 <artifactId>zookeeper</artifactId>
2225 <groupId>org.apache.curator</groupId>
2226 <artifactId>curator-recipes</artifactId>
2227 <version>${curator.version}</version>
2230 <groupId>com.google.guava</groupId>
2231 <artifactId>guava</artifactId>
2234 <groupId>org.apache.zookeeper</groupId>
2235 <artifactId>zookeeper</artifactId>
2240 <groupId>org.apache.yetus</groupId>
2241 <artifactId>audience-annotations</artifactId>
2242 <version>${audience-annotations.version}</version>
2245 <groupId>org.apache.hbase.thirdparty</groupId>
2246 <artifactId>hbase-shaded-gson</artifactId>
2247 <version>${hbase-thirdparty.version}</version>
2250 <groupId>org.apache.hbase.thirdparty</groupId>
2251 <artifactId>hbase-shaded-miscellaneous</artifactId>
2252 <version>${hbase-thirdparty.version}</version>
2255 <groupId>org.apache.hbase.thirdparty</groupId>
2256 <artifactId>hbase-shaded-netty</artifactId>
2257 <version>${hbase-thirdparty.version}</version>
2260 <groupId>org.apache.hbase.thirdparty</groupId>
2261 <artifactId>hbase-shaded-protobuf</artifactId>
2262 <version>${hbase-thirdparty.version}</version>
2265 <groupId>org.apache.hbase.thirdparty</groupId>
2266 <artifactId>hbase-shaded-jetty</artifactId>
2267 <version>${hbase-thirdparty.version}</version>
2270 <groupId>org.apache.hbase.thirdparty</groupId>
2271 <artifactId>hbase-shaded-jersey</artifactId>
2272 <version>${hbase-thirdparty.version}</version>
2275 <groupId>com.sun.xml.ws</groupId>
2276 <artifactId>jaxws-ri</artifactId>
2277 <version>2.3.2</version>
2281 <groupId>javax.activation</groupId>
2282 <artifactId>javax.activation-api</artifactId>
2287 </dependencyManagement>
2289 <!--REMOVE THIS. HERE TEMPORARILY.
2290 Implication is that every module needs junit which is not so.
2291 Cannot undo though because build runs test on each module and
2292 it fails if no junit. TODO. -->
2294 <groupId>junit</groupId>
2295 <artifactId>junit</artifactId>
2301 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2306 <id>apache.releases.https</id>
2307 <username>hbase_committer</username>
2308 <password>********</password>
2312 <id>apache.snapshots.https</id>
2313 <username>hbase_committer</username>
2314 <password>********</password>
2322 $ mvn -s /my/path/settings.xml deploy
2330 <name>!skip-rsgroup</name>
2334 <module>hbase-rsgroup</module>
2338 <id>build-with-jdk8</id>
2350 <id>build-with-jdk11</id>
2355 <!-- TODO: replicate logic for windows support -->
2356 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2357 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2358 <hadoop-three.version>3.2.0</hadoop-three.version>
2360 Value to use for surefire when running jdk11.
2361 TODO: replicate logic for windows
2363 <surefire.Xmx>2200m</surefire.Xmx>
2368 <groupId>org.apache.maven.plugins</groupId>
2369 <artifactId>maven-enforcer-plugin</artifactId>
2372 <id>hadoop3-profile-required</id>
2374 <goal>enforce</goal>
2380 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2381 enforcer plugin does not see active profiles on sub-modules, so enforce based
2382 on the presence of the activation property and value.
2384 <property>hadoop.profile</property>
2385 <regex>.*3\.0$</regex>
2387 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2390 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2401 <!-- profile activated by the Jenkins patch testing job -->
2403 <id>jenkins.patch</id>
2405 <activeByDefault>false</activeByDefault>
2407 <name>HBasePatchProcess</name>
2411 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2416 <groupId>org.apache.maven.plugins</groupId>
2417 <artifactId>maven-antrun-plugin</artifactId>
2418 <inherited>false</inherited>
2421 <phase>validate</phase>
2427 <echo>Maven Execution Environment</echo>
2428 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2440 <activeByDefault>false</activeByDefault>
2445 <groupId>org.jacoco</groupId>
2446 <artifactId>jacoco-maven-plugin</artifactId>
2447 <version>${jacoco.version}</version>
2450 <id>prepare-agent</id>
2452 <goal>prepare-agent</goal>
2457 <phase>prepare-package</phase>
2464 <systemPropertyVariables>
2465 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2466 </systemPropertyVariables>
2468 <exclude>**/generated/**/*.class</exclude>
2478 <activeByDefault>false</activeByDefault>
2480 <family>Linux</family>
2484 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2491 <family>Mac</family>
2495 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2502 <family>Windows</family>
2506 <build.platform>cygwin</build.platform>
2507 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2510 <!-- this profile should match the name of the release profile in the root asf pom -->
2512 <id>apache-release</id>
2515 <!-- This should insert itself in place of the normal deploy plugin and then
2516 handle either closing or dropping the staging repository for us depending
2517 on if the build succeeds.
2520 <groupId>org.sonatype.plugins</groupId>
2521 <artifactId>nexus-staging-maven-plugin</artifactId>
2522 <version>1.6.8</version>
2523 <extensions>true</extensions>
2525 <nexusUrl>https://repository.apache.org/</nexusUrl>
2526 <serverId>apache.releases.https</serverId>
2532 <!-- this profile should be activated for release builds -->
2538 <groupId>org.apache.rat</groupId>
2539 <artifactId>apache-rat-plugin</artifactId>
2542 <phase>package</phase>
2550 <groupId>org.apache.maven.plugins</groupId>
2551 <artifactId>maven-enforcer-plugin</artifactId>
2552 <version>${enforcer.version}</version>
2555 <groupId>org.codehaus.mojo</groupId>
2556 <artifactId>extra-enforcer-rules</artifactId>
2557 <version>${extra.enforcer.version}</version>
2562 <enforceBytecodeVersion>
2563 <maxJdkVersion>${compileSource}</maxJdkVersion>
2564 <message>HBase has unsupported dependencies.
2565 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2566 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2567 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2568 Non-release builds can temporarily build with a newer JDK version by setting the
2569 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2572 <ignoreClass>module-info</ignoreClass>
2574 </enforceBytecodeVersion>
2581 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2582 <!-- Submodules that need hadoop dependencies should declare
2583 profiles with activation properties matching the profile here.
2584 Generally, it should be sufficient to copy the first
2585 few lines of the profile you want to match. -->
2586 <!-- profile for building against Hadoop 2.0.x
2587 This is the default.
2593 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2594 <!--h2--><name>!hadoop.profile</name>
2598 <module>hbase-hadoop2-compat</module>
2601 <hadoop.version>${hadoop-two.version}</hadoop.version>
2602 <compat.module>hbase-hadoop2-compat</compat.module>
2603 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2604 <!--This property is for hadoops netty. HBase netty
2605 comes in via hbase-thirdparty hbase-shaded-netty-->
2606 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2608 <dependencyManagement>
2611 <groupId>org.apache.hadoop</groupId>
2612 <artifactId>hadoop-mapreduce-client-core</artifactId>
2613 <version>${hadoop-two.version}</version>
2616 <groupId>com.sun.jersey</groupId>
2617 <artifactId>jersey-core</artifactId>
2620 <groupId>org.codehaus.jackson</groupId>
2621 <artifactId>jackson-jaxrs</artifactId>
2624 <groupId>org.codehaus.jackson</groupId>
2625 <artifactId>jackson-xc</artifactId>
2628 <groupId>io.netty</groupId>
2629 <artifactId>netty</artifactId>
2632 <groupId>javax.servlet</groupId>
2633 <artifactId>servlet-api</artifactId>
2636 <groupId>javax.inject</groupId>
2637 <artifactId>javax.inject</artifactId>
2640 <groupId>org.codehaus.jackson</groupId>
2641 <artifactId>jackson-core-asl</artifactId>
2644 <groupId>org.codehaus.jackson</groupId>
2645 <artifactId>jackson-mapper-asl</artifactId>
2650 <groupId>org.apache.hadoop</groupId>
2651 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2652 <version>${hadoop-two.version}</version>
2655 <groupId>com.sun.jersey</groupId>
2656 <artifactId>jersey-core</artifactId>
2659 <groupId>io.netty</groupId>
2660 <artifactId>netty</artifactId>
2663 <groupId>javax.servlet</groupId>
2664 <artifactId>servlet-api</artifactId>
2669 <groupId>org.apache.hadoop</groupId>
2670 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2671 <version>${hadoop-two.version}</version>
2672 <type>test-jar</type>
2676 <groupId>com.sun.jersey</groupId>
2677 <artifactId>jersey-core</artifactId>
2680 <groupId>io.netty</groupId>
2681 <artifactId>netty</artifactId>
2684 <groupId>javax.servlet</groupId>
2685 <artifactId>servlet-api</artifactId>
2690 <groupId>org.apache.hadoop</groupId>
2691 <artifactId>hadoop-hdfs</artifactId>
2692 <version>${hadoop-two.version}</version>
2695 <groupId>com.sun.jersey</groupId>
2696 <artifactId>jersey-core</artifactId>
2699 <groupId>javax.servlet.jsp</groupId>
2700 <artifactId>jsp-api</artifactId>
2703 <groupId>javax.servlet</groupId>
2704 <artifactId>servlet-api</artifactId>
2707 <groupId>io.netty</groupId>
2708 <artifactId>netty</artifactId>
2711 <groupId>stax</groupId>
2712 <artifactId>stax-api</artifactId>
2715 <groupId>xerces</groupId>
2716 <artifactId>xercesImpl</artifactId>
2719 <groupId>org.codehaus.jackson</groupId>
2720 <artifactId>jackson-core-asl</artifactId>
2723 <groupId>org.codehaus.jackson</groupId>
2724 <artifactId>jackson-mapper-asl</artifactId>
2727 <groupId>com.google.guava</groupId>
2728 <artifactId>guava</artifactId>
2733 <groupId>org.apache.hadoop</groupId>
2734 <artifactId>hadoop-hdfs</artifactId>
2735 <version>${hadoop-two.version}</version>
2736 <type>test-jar</type>
2740 <groupId>javax.servlet.jsp</groupId>
2741 <artifactId>jsp-api</artifactId>
2744 <groupId>javax.servlet</groupId>
2745 <artifactId>servlet-api</artifactId>
2748 <groupId>io.netty</groupId>
2749 <artifactId>netty</artifactId>
2752 <groupId>stax</groupId>
2753 <artifactId>stax-api</artifactId>
2756 <groupId>xerces</groupId>
2757 <artifactId>xercesImpl</artifactId>
2760 <groupId>org.codehaus.jackson</groupId>
2761 <artifactId>jackson-core-asl</artifactId>
2764 <groupId>org.codehaus.jackson</groupId>
2765 <artifactId>jackson-mapper-asl</artifactId>
2768 <groupId>com.google.guava</groupId>
2769 <artifactId>guava</artifactId>
2772 <groupId>com.sun.jersey</groupId>
2773 <artifactId>jersey-core</artifactId>
2778 <groupId>org.apache.hadoop</groupId>
2779 <artifactId>hadoop-auth</artifactId>
2780 <version>${hadoop-two.version}</version>
2783 <groupId>com.google.guava</groupId>
2784 <artifactId>guava</artifactId>
2787 <groupId>net.minidev</groupId>
2788 <artifactId>json-smart</artifactId>
2793 <groupId>org.apache.hadoop</groupId>
2794 <artifactId>hadoop-common</artifactId>
2795 <version>${hadoop-two.version}</version>
2798 <groupId>com.sun.jersey</groupId>
2799 <artifactId>jersey-core</artifactId>
2802 <groupId>org.codehaus.jackson</groupId>
2803 <artifactId>jackson-jaxrs</artifactId>
2806 <groupId>org.codehaus.jackson</groupId>
2807 <artifactId>jackson-xc</artifactId>
2810 <groupId>commons-beanutils</groupId>
2811 <artifactId>commons-beanutils</artifactId>
2814 <groupId>javax.servlet.jsp</groupId>
2815 <artifactId>jsp-api</artifactId>
2818 <groupId>javax.servlet</groupId>
2819 <artifactId>servlet-api</artifactId>
2822 <groupId>stax</groupId>
2823 <artifactId>stax-api</artifactId>
2826 <groupId>io.netty</groupId>
2827 <artifactId>netty</artifactId>
2830 <groupId>com.google.code.findbugs</groupId>
2831 <artifactId>jsr305</artifactId>
2834 <groupId>junit</groupId>
2835 <artifactId>junit</artifactId>
2838 <groupId>org.codehaus.jackson</groupId>
2839 <artifactId>jackson-core-asl</artifactId>
2842 <groupId>org.codehaus.jackson</groupId>
2843 <artifactId>jackson-mapper-asl</artifactId>
2848 <groupId>org.apache.hadoop</groupId>
2849 <artifactId>hadoop-common</artifactId>
2850 <version>${hadoop-two.version}</version>
2851 <type>test-jar</type>
2855 <groupId>com.sun.jersey</groupId>
2856 <artifactId>jersey-core</artifactId>
2859 <groupId>com.google.code.findbugs</groupId>
2860 <artifactId>jsr305</artifactId>
2863 <groupId>org.codehaus.jackson</groupId>
2864 <artifactId>jackson-jaxrs</artifactId>
2867 <groupId>org.codehaus.jackson</groupId>
2868 <artifactId>jackson-xc</artifactId>
2874 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2875 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2877 <groupId>javax.activation</groupId>
2878 <artifactId>javax.activation-api</artifactId>
2879 <version>1.2.0</version>
2883 <groupId>org.apache.hadoop</groupId>
2884 <artifactId>hadoop-client</artifactId>
2885 <version>${hadoop-two.version}</version>
2887 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2888 Where do we actually need it? -->
2890 <groupId>org.apache.hadoop</groupId>
2891 <artifactId>hadoop-minicluster</artifactId>
2892 <version>${hadoop-two.version}</version>
2894 <!--If we comment this in, a few tests in hbase-mapreduce
2895 fail. They depend on jersey-core somehow. But excluding
2896 jersey-core here messes up hbase-it because jersey-core
2897 implements a 1.x jaxrs Response Interface when we depend
2898 on the 2.x Interface... . Letting this jar come in
2899 transitively here but will exclude it down in hbase-it.
2902 <groupId>com.sun.jersey</groupId>
2903 <artifactId>jersey-core</artifactId>
2907 <groupId>commons-httpclient</groupId>
2908 <artifactId>commons-httpclient</artifactId>
2911 <groupId>javax.servlet.jsp</groupId>
2912 <artifactId>jsp-api</artifactId>
2915 <groupId>javax.servlet</groupId>
2916 <artifactId>servlet-api</artifactId>
2919 <groupId>stax</groupId>
2920 <artifactId>stax-api</artifactId>
2923 <groupId>io.netty</groupId>
2924 <artifactId>netty</artifactId>
2927 <groupId>com.google.code.findbugs</groupId>
2928 <artifactId>jsr305</artifactId>
2933 <groupId>org.apache.hadoop</groupId>
2934 <artifactId>hadoop-minikdc</artifactId>
2935 <version>${hadoop-two.version}</version>
2939 <groupId>org.apache.hadoop</groupId>
2940 <artifactId>hadoop-annotations</artifactId>
2941 <version>${hadoop-two.version}</version>
2945 <groupId>org.apache.hadoop</groupId>
2946 <artifactId>hadoop-distcp</artifactId>
2947 <version>${hadoop-two.version}</version>
2951 <groupId>org.apache.hadoop</groupId>
2952 <artifactId>hadoop-hdfs-client</artifactId>
2953 <version>${hadoop-two.version}</version>
2956 </dependencyManagement>
2959 profile for building against Hadoop 3.0.0. Activate using:
2960 mvn -Dhadoop.profile=3.0
2966 <name>hadoop.profile</name>
2971 <!--For now, use hadoop2 compat module-->
2972 <module>hbase-hadoop2-compat</module>
2975 <hadoop.profile>3.0</hadoop.profile>
2976 <hadoop.version>${hadoop-three.version}</hadoop.version>
2977 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2978 <compat.module>hbase-hadoop2-compat</compat.module>
2979 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
2980 <!--This property is for hadoops netty. HBase netty
2981 comes in via hbase-thirdparty hbase-shaded-netty-->
2982 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2984 <dependencyManagement>
2987 <groupId>org.apache.hadoop</groupId>
2988 <artifactId>hadoop-mapreduce-client-core</artifactId>
2989 <version>${hadoop-three.version}</version>
2992 <groupId>com.sun.jersey</groupId>
2993 <artifactId>jersey-core</artifactId>
2996 <groupId>org.codehaus.jackson</groupId>
2997 <artifactId>jackson-jaxrs</artifactId>
3000 <groupId>org.codehaus.jackson</groupId>
3001 <artifactId>jackson-xc</artifactId>
3004 <groupId>io.netty</groupId>
3005 <artifactId>netty</artifactId>
3008 <groupId>javax.servlet</groupId>
3009 <artifactId>servlet-api</artifactId>
3012 <groupId>javax.inject</groupId>
3013 <artifactId>javax.inject</artifactId>
3016 <groupId>org.codehaus.jackson</groupId>
3017 <artifactId>jackson-core-asl</artifactId>
3020 <groupId>org.codehaus.jackson</groupId>
3021 <artifactId>jackson-mapper-asl</artifactId>
3024 <groupId>com.google.guava</groupId>
3025 <artifactId>guava</artifactId>
3028 <groupId>org.slf4j</groupId>
3029 <artifactId>slf4j-log4j12</artifactId>
3032 <groupId>log4j</groupId>
3033 <artifactId>log4j</artifactId>
3038 <groupId>org.apache.hadoop</groupId>
3039 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3040 <version>${hadoop-three.version}</version>
3043 <groupId>com.sun.jersey</groupId>
3044 <artifactId>jersey-core</artifactId>
3047 <groupId>io.netty</groupId>
3048 <artifactId>netty</artifactId>
3051 <groupId>javax.servlet</groupId>
3052 <artifactId>servlet-api</artifactId>
3055 <groupId>org.slf4j</groupId>
3056 <artifactId>slf4j-log4j12</artifactId>
3059 <groupId>log4j</groupId>
3060 <artifactId>log4j</artifactId>
3065 <groupId>org.apache.hadoop</groupId>
3066 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3067 <version>${hadoop-three.version}</version>
3068 <type>test-jar</type>
3072 <groupId>com.sun.jersey</groupId>
3073 <artifactId>jersey-core</artifactId>
3076 <groupId>io.netty</groupId>
3077 <artifactId>netty</artifactId>
3080 <groupId>javax.servlet</groupId>
3081 <artifactId>servlet-api</artifactId>
3084 <groupId>org.slf4j</groupId>
3085 <artifactId>slf4j-log4j12</artifactId>
3088 <groupId>log4j</groupId>
3089 <artifactId>log4j</artifactId>
3094 <groupId>org.apache.hadoop</groupId>
3095 <artifactId>hadoop-hdfs</artifactId>
3096 <version>${hadoop-three.version}</version>
3099 <groupId>com.sun.jersey</groupId>
3100 <artifactId>jersey-core</artifactId>
3103 <groupId>com.sun.jersey</groupId>
3104 <artifactId>jersey-server</artifactId>
3107 <groupId>javax.servlet.jsp</groupId>
3108 <artifactId>jsp-api</artifactId>
3111 <groupId>javax.servlet</groupId>
3112 <artifactId>servlet-api</artifactId>
3115 <groupId>stax</groupId>
3116 <artifactId>stax-api</artifactId>
3119 <groupId>xerces</groupId>
3120 <artifactId>xercesImpl</artifactId>
3123 <groupId>org.codehaus.jackson</groupId>
3124 <artifactId>jackson-core-asl</artifactId>
3127 <groupId>org.codehaus.jackson</groupId>
3128 <artifactId>jackson-mapper-asl</artifactId>
3131 <groupId>com.google.guava</groupId>
3132 <artifactId>guava</artifactId>
3135 <groupId>org.slf4j</groupId>
3136 <artifactId>slf4j-log4j12</artifactId>
3139 <groupId>log4j</groupId>
3140 <artifactId>log4j</artifactId>
3145 <groupId>org.apache.hadoop</groupId>
3146 <artifactId>hadoop-hdfs</artifactId>
3147 <version>${hadoop-three.version}</version>
3148 <type>test-jar</type>
3152 <groupId>javax.servlet.jsp</groupId>
3153 <artifactId>jsp-api</artifactId>
3156 <groupId>javax.servlet</groupId>
3157 <artifactId>servlet-api</artifactId>
3160 <groupId>stax</groupId>
3161 <artifactId>stax-api</artifactId>
3164 <groupId>xerces</groupId>
3165 <artifactId>xercesImpl</artifactId>
3168 <groupId>org.codehaus.jackson</groupId>
3169 <artifactId>jackson-core-asl</artifactId>
3172 <groupId>org.codehaus.jackson</groupId>
3173 <artifactId>jackson-mapper-asl</artifactId>
3176 <groupId>com.google.guava</groupId>
3177 <artifactId>guava</artifactId>
3180 <groupId>com.sun.jersey</groupId>
3181 <artifactId>jersey-core</artifactId>
3184 <groupId>org.slf4j</groupId>
3185 <artifactId>slf4j-log4j12</artifactId>
3188 <groupId>log4j</groupId>
3189 <artifactId>log4j</artifactId>
3194 <groupId>org.apache.hadoop</groupId>
3195 <artifactId>hadoop-hdfs</artifactId>
3196 <version>${hadoop-three.version}</version>
3197 <type>test-jar</type>
3198 <classifier>tests</classifier>
3202 <groupId>com.sun.jersey</groupId>
3203 <artifactId>jersey-core</artifactId>
3208 <groupId>org.apache.hadoop</groupId>
3209 <artifactId>hadoop-auth</artifactId>
3210 <version>${hadoop-three.version}</version>
3213 <groupId>com.google.guava</groupId>
3214 <artifactId>guava</artifactId>
3217 <groupId>net.minidev</groupId>
3218 <artifactId>json-smart</artifactId>
3221 <groupId>org.slf4j</groupId>
3222 <artifactId>slf4j-log4j12</artifactId>
3225 <groupId>log4j</groupId>
3226 <artifactId>log4j</artifactId>
3231 <groupId>org.apache.hadoop</groupId>
3232 <artifactId>hadoop-common</artifactId>
3233 <version>${hadoop-three.version}</version>
3236 <groupId>com.sun.jersey</groupId>
3237 <artifactId>jersey-core</artifactId>
3240 <groupId>com.sun.jersey</groupId>
3241 <artifactId>jersey-json</artifactId>
3244 <groupId>com.sun.jersey</groupId>
3245 <artifactId>jersey-servlet</artifactId>
3248 <groupId>com.sun.jersey</groupId>
3249 <artifactId>jersey-server</artifactId>
3252 <groupId>javax.servlet.jsp</groupId>
3253 <artifactId>jsp-api</artifactId>
3256 <groupId>javax.servlet</groupId>
3257 <artifactId>javax.servlet-api</artifactId>
3260 <groupId>stax</groupId>
3261 <artifactId>stax-api</artifactId>
3264 <groupId>io.netty</groupId>
3265 <artifactId>netty</artifactId>
3268 <groupId>com.google.code.findbugs</groupId>
3269 <artifactId>jsr305</artifactId>
3272 <groupId>junit</groupId>
3273 <artifactId>junit</artifactId>
3276 <groupId>org.codehause.jackson</groupId>
3277 <artifactId>jackson-core-asl</artifactId>
3280 <groupId>org.codehause.jackson</groupId>
3281 <artifactId>jackson-mapper-asl</artifactId>
3284 <groupId>org.slf4j</groupId>
3285 <artifactId>slf4j-log4j12</artifactId>
3288 <groupId>log4j</groupId>
3289 <artifactId>log4j</artifactId>
3295 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3297 <groupId>javax.activation</groupId>
3298 <artifactId>javax.activation-api</artifactId>
3299 <version>1.2.0</version>
3303 <groupId>org.apache.hadoop</groupId>
3304 <artifactId>hadoop-common</artifactId>
3305 <type>test-jar</type>
3306 <classifier>tests</classifier>
3307 <version>${hadoop-three.version}</version>
3310 <groupId>com.sun.jersey</groupId>
3311 <artifactId>jersey-core</artifactId>
3314 <groupId>com.google.code.findbugs</groupId>
3315 <artifactId>jsr305</artifactId>
3320 <groupId>org.apache.hadoop</groupId>
3321 <artifactId>hadoop-client</artifactId>
3322 <version>${hadoop-three.version}</version>
3325 <groupId>org.apache.hadoop</groupId>
3326 <artifactId>hadoop-annotations</artifactId>
3327 <version>${hadoop-three.version}</version>
3329 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3330 Where do we actually need it? -->
3332 <groupId>org.apache.hadoop</groupId>
3333 <artifactId>hadoop-minicluster</artifactId>
3334 <version>${hadoop-three.version}</version>
3336 <!--If we comment this in, a few tests in hbase-mapreduce
3337 fail. They depend on jersey-core somehow. But excluding
3338 jersey-core here messes up hbase-it because jersey-core
3339 implements a 1.x jaxrs Response Interface when we depend
3340 on the 2.x Interface... . Letting this jar come in
3341 transitively here but will exclude it down in hbase-it.
3344 <groupId>com.sun.jersey</groupId>
3345 <artifactId>jersey-core</artifactId>
3349 <groupId>commons-httpclient</groupId>
3350 <artifactId>commons-httpclient</artifactId>
3353 <groupId>javax.servlet.jsp</groupId>
3354 <artifactId>jsp-api</artifactId>
3357 <groupId>javax.servlet</groupId>
3358 <artifactId>servlet-api</artifactId>
3361 <groupId>stax</groupId>
3362 <artifactId>stax-api</artifactId>
3365 <groupId>io.netty</groupId>
3366 <artifactId>netty</artifactId>
3369 <groupId>com.google.code.findbugs</groupId>
3370 <artifactId>jsr305</artifactId>
3373 <groupId>org.slf4j</groupId>
3374 <artifactId>slf4j-log4j12</artifactId>
3377 <groupId>log4j</groupId>
3378 <artifactId>log4j</artifactId>
3383 <groupId>org.apache.hadoop</groupId>
3384 <artifactId>hadoop-minikdc</artifactId>
3385 <version>${hadoop-three.version}</version>
3389 <groupId>org.slf4j</groupId>
3390 <artifactId>slf4j-log4j12</artifactId>
3393 <groupId>log4j</groupId>
3394 <artifactId>log4j</artifactId>
3399 <groupId>org.apache.hadoop</groupId>
3400 <artifactId>hadoop-distcp</artifactId>
3401 <version>${hadoop-three.version}</version>
3405 <groupId>org.apache.hadoop</groupId>
3406 <artifactId>hadoop-hdfs-client</artifactId>
3407 <version>${hadoop-three.version}</version>
3410 </dependencyManagement>
3413 <!-- profiles for the tests
3414 See as well the properties of the project for the values
3415 when no profile is active. -->
3417 <!-- Use it to launch all tests in the same JVM -->
3418 <id>singleJVMTests</id>
3420 <activeByDefault>false</activeByDefault>
3423 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3424 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3425 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3426 <surefire.firstPartGroups/>
3430 <!-- Use it to launch small tests only -->
3431 <id>runSmallTests</id>
3433 <activeByDefault>false</activeByDefault>
3436 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3437 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3438 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3439 <surefire.secondPartGroups/>
3443 <!-- Use it to launch medium tests only -->
3444 <id>runMediumTests</id>
3446 <activeByDefault>false</activeByDefault>
3449 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3450 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3451 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3452 <surefire.secondPartGroups/>
3456 <!-- Use it to launch large tests only -->
3457 <id>runLargeTests</id>
3459 <activeByDefault>false</activeByDefault>
3462 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3463 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3464 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3465 <surefire.secondPartGroups/>
3469 <!-- Use it to launch small & medium tests -->
3470 <id>runDevTests</id>
3472 <activeByDefault>false</activeByDefault>
3475 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3476 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3477 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3478 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3479 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3483 <!-- Use it to launch all tests -->
3484 <id>runAllTests</id>
3486 <activeByDefault>false</activeByDefault>
3489 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3490 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3491 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3492 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3496 <id>runMiscTests</id>
3498 <activeByDefault>false</activeByDefault>
3501 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3502 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3503 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3504 </surefire.firstPartGroups>
3505 <surefire.secondPartGroups></surefire.secondPartGroups>
3509 <id>runCoprocessorTests</id>
3511 <activeByDefault>false</activeByDefault>
3514 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3515 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3516 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3517 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3518 <surefire.firstPartGroups>
3519 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3520 </surefire.firstPartGroups>
3521 <surefire.secondPartGroups></surefire.secondPartGroups>
3525 <id>runClientTests</id>
3527 <activeByDefault>false</activeByDefault>
3530 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3531 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3532 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3533 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3534 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3535 </surefire.firstPartGroups>
3536 <surefire.secondPartGroups></surefire.secondPartGroups>
3540 <id>runMasterTests</id>
3542 <activeByDefault>false</activeByDefault>
3545 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3546 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3547 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3548 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3549 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3550 </surefire.firstPartGroups>
3551 <surefire.secondPartGroups></surefire.secondPartGroups>
3555 <id>runMapredTests</id>
3557 <activeByDefault>false</activeByDefault>
3560 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3561 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3562 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3563 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3564 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3565 </surefire.firstPartGroups>
3566 <surefire.secondPartGroups></surefire.secondPartGroups>
3570 <id>runMapreduceTests</id>
3572 <activeByDefault>false</activeByDefault>
3575 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3576 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3577 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3578 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3579 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3580 </surefire.firstPartGroups>
3581 <surefire.secondPartGroups></surefire.secondPartGroups>
3585 <id>runRegionServerTests</id>
3587 <activeByDefault>false</activeByDefault>
3590 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3591 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3592 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3593 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3594 <surefire.firstPartGroups>
3595 org.apache.hadoop.hbase.testclassification.RegionServerTests
3596 </surefire.firstPartGroups>
3597 <surefire.secondPartGroups></surefire.secondPartGroups>
3601 <id>runVerySlowMapReduceTests</id>
3603 <activeByDefault>false</activeByDefault>
3606 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3607 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3608 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3609 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3610 <surefire.firstPartGroups>
3611 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3612 </surefire.firstPartGroups>
3613 <surefire.secondPartGroups></surefire.secondPartGroups>
3618 <id>runVerySlowRegionServerTests</id>
3620 <activeByDefault>false</activeByDefault>
3623 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3624 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3625 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3626 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3627 <surefire.firstPartGroups>
3628 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3629 </surefire.firstPartGroups>
3630 <surefire.secondPartGroups></surefire.secondPartGroups>
3635 <id>runFilterTests</id>
3637 <activeByDefault>false</activeByDefault>
3640 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3641 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3642 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3643 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3644 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3645 </surefire.firstPartGroups>
3646 <surefire.secondPartGroups></surefire.secondPartGroups>
3652 <activeByDefault>false</activeByDefault>
3655 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3656 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3657 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3658 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3659 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3660 </surefire.firstPartGroups>
3661 <surefire.secondPartGroups></surefire.secondPartGroups>
3665 <id>runRestTests</id>
3667 <activeByDefault>false</activeByDefault>
3670 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3671 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3672 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3673 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3674 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3675 </surefire.firstPartGroups>
3676 <surefire.secondPartGroups></surefire.secondPartGroups>
3680 <id>runRPCTests</id>
3682 <activeByDefault>false</activeByDefault>
3685 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3686 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3687 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3688 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3689 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3690 </surefire.firstPartGroups>
3691 <surefire.secondPartGroups></surefire.secondPartGroups>
3695 <id>runReplicationTests</id>
3697 <activeByDefault>false</activeByDefault>
3700 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3701 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3702 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3703 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3704 <surefire.firstPartGroups>
3705 org.apache.hadoop.hbase.testclassification.ReplicationTests
3706 </surefire.firstPartGroups>
3707 <surefire.secondPartGroups></surefire.secondPartGroups>
3711 <id>runSecurityTests</id>
3713 <activeByDefault>false</activeByDefault>
3716 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3717 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3718 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3719 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3720 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3721 </surefire.firstPartGroups>
3722 <surefire.secondPartGroups></surefire.secondPartGroups>
3726 <id>runFlakeyTests</id>
3728 <activeByDefault>false</activeByDefault>
3731 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3732 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3733 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3734 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3735 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3736 </surefire.firstPartGroups>
3737 <surefire.secondPartGroups></surefire.secondPartGroups>
3743 <activeByDefault>false</activeByDefault>
3746 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3747 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3748 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3749 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3750 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3751 </surefire.firstPartGroups>
3752 <surefire.secondPartGroups></surefire.secondPartGroups>
3757 <!-- Use it to launch tests locally-->
3765 <surefire.provider>surefire-junit4</surefire.provider>
3766 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3767 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3768 <surefire.firstPartGroups/>
3771 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3772 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3773 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3774 The report will be generated under target/site/clover/index.html when you run
3775 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3779 <activeByDefault>false</activeByDefault>
3785 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3789 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3790 our instrumented classes for the doclet will fail
3793 <groupId>org.apache.maven.plugins</groupId>
3794 <artifactId>maven-javadoc-plugin</artifactId>
3797 <groupId>com.atlassian.maven.plugins</groupId>
3798 <artifactId>maven-clover2-plugin</artifactId>
3799 <version>${clover.version}</version>
3804 <groupId>com.atlassian.maven.plugins</groupId>
3805 <artifactId>maven-clover2-plugin</artifactId>
3806 <version>${clover.version}</version>
3808 <includesAllSourceRoots>true</includesAllSourceRoots>
3809 <includesTestSourceRoots>true</includesTestSourceRoots>
3810 <targetPercentage>50%</targetPercentage>
3811 <generateHtml>true</generateHtml>
3812 <generateXml>true</generateXml>
3814 <exclude>**/generated/**</exclude>
3819 <id>clover-setup</id>
3820 <phase>process-sources</phase>
3838 <!-- Used by the website generation script on jenkins to
3839 do a local install of the jars we need to run a normal
3840 site build w/o forking.
3842 <id>site-install-step</id>
3844 <skipTests>true</skipTests>
3845 <maven.javadoc.skip>true</maven.javadoc.skip>
3846 <enforcer.skip>true</enforcer.skip>
3847 <checkstyle.skip>true</checkstyle.skip>
3848 <spotbugs.skip>true</spotbugs.skip>
3849 <warbucks.skip>true</warbucks.skip>
3853 <!-- Used by the website generation script on jenkins to
3854 mitigate the impact of unneeded build forks while building
3857 <id>site-build-step</id>
3859 <skipTests>true</skipTests>
3860 <enforcer.skip>true</enforcer.skip>
3861 <maven.main.skip>true</maven.main.skip>
3862 <maven.test.skip>true</maven.test.skip>
3863 <warbucks.skip>true</warbucks.skip>
3864 <protoc.skip>true</protoc.skip>
3865 <remoteresources.skip>true</remoteresources.skip>
3869 <id>eclipse-specific</id>
3872 <name>m2e.version</name>
3878 <!-- General config for eclipse classpath/settings -->
3880 <groupId>org.apache.maven.plugins</groupId>
3881 <artifactId>maven-eclipse-plugin</artifactId>
3882 <version>${maven.eclipse.version}</version>
3884 <!--This plugin's configuration is used to store Eclipse m2e settings
3885 only. It has no influence on the Maven build itself. m2e does not
3886 provide any safeguards against rogue maven plugins that leak
3887 classloaders, modify random files inside workspace or throw nasty
3888 exceptions to fail the build.
3889 Top level doesn't do any specific configuration currently - left
3890 to modules to decide what they want to bind, sans those plugins
3891 defined in this pom. -->
3893 <groupId>org.eclipse.m2e</groupId>
3894 <artifactId>lifecycle-mapping</artifactId>
3895 <version>${lifecycle.mapping.version}</version>
3897 <lifecycleMappingMetadata>
3900 <pluginExecutionFilter>
3901 <groupId>org.jacoco</groupId>
3902 <artifactId>jacoco-maven-plugin</artifactId>
3903 <versionRange>[0.6.2.201302030002,)</versionRange>
3905 <goal>prepare-agent</goal>
3907 </pluginExecutionFilter>
3913 <pluginExecutionFilter>
3914 <groupId>org.apache.maven.plugins</groupId>
3915 <artifactId>maven-enforcer-plugin</artifactId>
3916 <versionRange>${enforcer.version}</versionRange>
3918 <goal>enforce</goal>
3920 </pluginExecutionFilter>
3926 <pluginExecutionFilter>
3927 <groupId>org.apache.maven.plugins</groupId>
3928 <artifactId>maven-remote-resources-plugin</artifactId>
3929 <versionRange>[1.5,)</versionRange>
3931 <goal>process</goal>
3934 </pluginExecutionFilter>
3940 <pluginExecutionFilter>
3941 <groupId>org.codehaus.mojo</groupId>
3942 <artifactId>buildnumber-maven-plugin</artifactId>
3943 <versionRange>[1.3,)</versionRange>
3945 <goal>create-timestamp</goal>
3947 </pluginExecutionFilter>
3950 <runOnConfiguration>true</runOnConfiguration>
3951 <runOnIncremental>true</runOnIncremental>
3956 </lifecycleMappingMetadata>
3964 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3968 <artifactId>maven-project-info-reports-plugin</artifactId>
3972 <report>dependencies</report>
3973 <report>dependency-convergence</report>
3974 <report>dependency-info</report>
3975 <report>dependency-management</report>
3976 <report>index</report>
3977 <report>issue-management</report>
3978 <report>licenses</report>
3979 <report>mailing-lists</report>
3980 <report>plugin-management</report>
3981 <report>plugins</report>
3982 <report>team</report>
3983 <report>scm</report>
3984 <report>summary</report>
3988 <!-- see src/site/site.xml for selected reports -->
3990 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3995 <groupId>org.apache.maven.plugins</groupId>
3996 <artifactId>maven-javadoc-plugin</artifactId>
4000 <name>apiNote</name>
4001 <placement>a</placement>
4002 <head>API Note:</head>
4011 <report>aggregate-no-fork</report>
4014 <destDir>devapidocs</destDir>
4015 <name>Developer API</name>
4016 <description>The full HBase API, including private and unstable APIs</description>
4017 <sourceFileExcludes>
4018 <exclude>**/generated/*</exclude>
4019 <exclude>**/protobuf/*</exclude>
4020 </sourceFileExcludes>
4021 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4022 <show>private</show> <!-- (shows all classes and members) -->
4024 <linksource>true</linksource>
4025 <sourcetab>2</sourcetab>
4026 <validateLinks>true</validateLinks>
4027 <fixClassComment>true</fixClassComment>
4028 <fixFieldComment>true</fixFieldComment>
4029 <fixMethodComment>true</fixMethodComment>
4030 <fixTags>all</fixTags>
4031 <notimestamp>true</notimestamp>
4032 <locale>en_US</locale>
4033 <!-- Pass some options straight to the javadoc executable since it is easier -->
4034 <additionalJOption>-J-Xmx2G</additionalJOption>
4035 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4036 <additionalDependencies>
4037 <additionalDependency>
4038 <groupId>org.mockito</groupId>
4039 <artifactId>mockito-core</artifactId>
4040 <version>${mockito-core.version}</version>
4041 </additionalDependency>
4042 <additionalDependency>
4043 <groupId>org.hamcrest</groupId>
4044 <artifactId>hamcrest-core</artifactId>
4045 <version>${hamcrest.version}</version>
4046 </additionalDependency>
4047 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4048 <additionalDependency>
4049 <groupId>com.google.code.findbugs</groupId>
4050 <artifactId>jsr305</artifactId>
4051 <version>3.0.2</version>
4052 </additionalDependency>
4053 </additionalDependencies>
4054 <inherited>false</inherited>
4060 <report>test-aggregate-no-fork</report>
4063 <destDir>testdevapidocs</destDir>
4064 <name>Developer API</name>
4065 <description>The full HBase API test code, including private and unstable APIs</description>
4066 <sourceFileExcludes>
4067 <exclude>**/generated/*</exclude>
4068 <exclude>**/protobuf/*</exclude>
4069 </sourceFileExcludes>
4070 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4071 <show>private</show> <!-- (shows all classes and members) -->
4073 <linksource>true</linksource>
4074 <sourcetab>2</sourcetab>
4075 <validateLinks>true</validateLinks>
4076 <fixClassComment>true</fixClassComment>
4077 <fixFieldComment>true</fixFieldComment>
4078 <fixMethodComment>true</fixMethodComment>
4079 <fixTags>all</fixTags>
4080 <notimestamp>true</notimestamp>
4081 <locale>en_US</locale>
4082 <!-- Pass some options straight to the javadoc executable since it is easier -->
4083 <additionalJOption>-J-Xmx2G</additionalJOption>
4084 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4085 <additionalDependencies>
4086 <additionalDependency>
4087 <groupId>org.mockito</groupId>
4088 <artifactId>mockito-core</artifactId>
4089 <version>${mockito-core.version}</version>
4090 </additionalDependency>
4091 <additionalDependency>
4092 <groupId>org.hamcrest</groupId>
4093 <artifactId>hamcrest-core</artifactId>
4094 <version>${hamcrest.version}</version>
4095 </additionalDependency>
4096 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4097 <additionalDependency>
4098 <groupId>com.google.code.findbugs</groupId>
4099 <artifactId>jsr305</artifactId>
4100 <version>3.0.2</version>
4101 </additionalDependency>
4102 </additionalDependencies>
4103 <inherited>false</inherited>
4111 <report>aggregate-no-fork</report>
4115 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4118 <groupId>org.apache.yetus</groupId>
4119 <artifactId>audience-annotations</artifactId>
4120 <version>${audience-annotations.version}</version>
4122 <useStandardDocletOptions>true</useStandardDocletOptions>
4123 <destDir>apidocs</destDir>
4124 <name>User API</name>
4125 <description>The HBase Application Programmer's API</description>
4126 <excludePackageNames>
4127 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*
4128 </excludePackageNames>
4129 <!-- switch on dependency-driven aggregation -->
4130 <includeDependencySources>false</includeDependencySources>
4131 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4132 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4134 <linksource>true</linksource>
4135 <sourcetab>2</sourcetab>
4136 <validateLinks>true</validateLinks>
4137 <fixClassComment>true</fixClassComment>
4138 <fixFieldComment>true</fixFieldComment>
4139 <fixMethodComment>true</fixMethodComment>
4140 <fixTags>all</fixTags>
4141 <notimestamp>true</notimestamp>
4142 <locale>en_US</locale>
4143 <!-- Pass some options straight to the javadoc executable since it is easier -->
4144 <additionalJOption>-J-Xmx2G</additionalJOption>
4145 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4146 <additionalDependencies>
4147 <additionalDependency>
4148 <groupId>org.mockito</groupId>
4149 <artifactId>mockito-core</artifactId>
4150 <version>${mockito-core.version}</version>
4151 </additionalDependency>
4152 <additionalDependency>
4153 <groupId>org.hamcrest</groupId>
4154 <artifactId>hamcrest-core</artifactId>
4155 <version>${hamcrest.version}</version>
4156 </additionalDependency>
4157 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4158 <additionalDependency>
4159 <groupId>com.google.code.findbugs</groupId>
4160 <artifactId>jsr305</artifactId>
4161 <version>3.0.2</version>
4162 </additionalDependency>
4163 </additionalDependencies>
4164 <inherited>false</inherited>
4167 <!-- User Test API -->
4169 <id>testuserapi</id>
4171 <report>test-aggregate-no-fork</report>
4175 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4178 <groupId>org.apache.yetus</groupId>
4179 <artifactId>audience-annotations</artifactId>
4180 <version>${audience-annotations.version}</version>
4182 <useStandardDocletOptions>true</useStandardDocletOptions>
4183 <destDir>testapidocs</destDir>
4184 <name>User API</name>
4185 <description>The HBase Application Programmer's API</description>
4186 <excludePackageNames>
4187 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*
4188 </excludePackageNames>
4189 <!-- switch on dependency-driven aggregation -->
4190 <includeDependencySources>false</includeDependencySources>
4191 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4192 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4194 <linksource>true</linksource>
4195 <sourcetab>2</sourcetab>
4196 <validateLinks>true</validateLinks>
4197 <fixClassComment>true</fixClassComment>
4198 <fixFieldComment>true</fixFieldComment>
4199 <fixMethodComment>true</fixMethodComment>
4200 <fixTags>all</fixTags>
4201 <notimestamp>true</notimestamp>
4202 <locale>en_US</locale>
4203 <!-- Pass some options straight to the javadoc executable since it is easier -->
4204 <additionalJOption>-J-Xmx2G</additionalJOption>
4205 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4206 <additionalDependencies>
4207 <additionalDependency>
4208 <groupId>org.mockito</groupId>
4209 <artifactId>mockito-core</artifactId>
4210 <version>${mockito-core.version}</version>
4211 </additionalDependency>
4212 <additionalDependency>
4213 <groupId>org.hamcrest</groupId>
4214 <artifactId>hamcrest-core</artifactId>
4215 <version>${hamcrest.version}</version>
4216 </additionalDependency>
4217 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4218 <additionalDependency>
4219 <groupId>com.google.code.findbugs</groupId>
4220 <artifactId>jsr305</artifactId>
4221 <version>3.0.2</version>
4222 </additionalDependency>
4223 </additionalDependencies>
4224 <inherited>false</inherited>
4231 <groupId>org.apache.maven.plugins</groupId>
4232 <artifactId>maven-checkstyle-plugin</artifactId>
4233 <version>${maven.checkstyle.version}</version>
4235 <excludes>target/**</excludes>
4241 <distributionManagement>
4243 <id>hbase.apache.org</id>
4244 <name>HBase Website at hbase.apache.org</name>
4245 <!-- On why this is the tmp dir and not hbase.apache.org, see
4246 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4248 <url>file:///tmp</url>
4250 </distributionManagement>