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.6-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.5.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>io.netty</groupId>
2011 <artifactId>netty-all</artifactId>
2014 <groupId>org.slf4j</groupId>
2015 <artifactId>slf4j-log4j12</artifactId>
2018 <groupId>log4j</groupId>
2019 <artifactId>log4j</artifactId>
2024 <groupId>jline</groupId>
2025 <artifactId>jline</artifactId>
2026 <version>${jline.version}</version>
2029 <groupId>org.apache.thrift</groupId>
2030 <artifactId>libthrift</artifactId>
2031 <version>${thrift.version}</version>
2034 <groupId>org.apache.tomcat.embed</groupId>
2035 <artifactId>tomcat-embed-core</artifactId>
2040 <groupId>org.jruby</groupId>
2041 <artifactId>jruby-complete</artifactId>
2042 <version>${jruby.version}</version>
2045 <groupId>org.jruby.jcodings</groupId>
2046 <artifactId>jcodings</artifactId>
2047 <version>${jcodings.version}</version>
2050 <groupId>org.jruby.joni</groupId>
2051 <artifactId>joni</artifactId>
2052 <version>${joni.version}</version>
2055 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2056 <artifactId>jackson-jaxrs-json-provider</artifactId>
2057 <version>${jackson.version}</version>
2060 <groupId>com.fasterxml.jackson.core</groupId>
2061 <artifactId>jackson-annotations</artifactId>
2062 <version>${jackson.version}</version>
2065 <groupId>com.fasterxml.jackson.core</groupId>
2066 <artifactId>jackson-core</artifactId>
2067 <version>${jackson.version}</version>
2070 <groupId>com.fasterxml.jackson.core</groupId>
2071 <artifactId>jackson-databind</artifactId>
2072 <version>${jackson.databind.version}</version>
2075 <groupId>org.jamon</groupId>
2076 <artifactId>jamon-runtime</artifactId>
2077 <version>${jamon-runtime.version}</version>
2079 <!-- REST dependencies -->
2081 <groupId>javax.servlet</groupId>
2082 <artifactId>javax.servlet-api</artifactId>
2083 <version>${servlet.api.version}</version>
2086 <groupId>javax.ws.rs</groupId>
2087 <artifactId>javax.ws.rs-api</artifactId>
2088 <version>${wx.rs.api.version}</version>
2091 <groupId>com.sun.activation</groupId>
2092 <artifactId>javax.activation</artifactId>
2093 <version>1.2.0</version>
2096 <groupId>javax.annotation</groupId>
2097 <artifactId>javax.annotation-api</artifactId>
2098 <version>1.2</version>
2101 <groupId>com.google.protobuf</groupId>
2102 <artifactId>protobuf-java</artifactId>
2103 <version>${external.protobuf.version}</version>
2106 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2107 <groupId>org.glassfish.web</groupId>
2108 <artifactId>javax.servlet.jsp</artifactId>
2109 <version>${glassfish.jsp.version}</version>
2112 <!-- this lib is used by the compiled Jsp from the above JspC -->
2113 <groupId>javax.servlet.jsp</groupId>
2114 <artifactId>javax.servlet.jsp-api</artifactId>
2115 <version>2.3.1</version>
2118 <groupId>org.glassfish</groupId>
2119 <artifactId>javax.el</artifactId>
2120 <version>${glassfish.el.version}</version>
2123 <groupId>javax.xml.bind</groupId>
2124 <artifactId>jaxb-api</artifactId>
2125 <version>${jaxb-api.version}</version>
2128 <groupId>javax.xml.stream</groupId>
2129 <artifactId>stax-api</artifactId>
2134 <groupId>junit</groupId>
2135 <artifactId>junit</artifactId>
2136 <version>${junit.version}</version>
2139 <groupId>org.hamcrest</groupId>
2140 <artifactId>hamcrest-core</artifactId>
2141 <version>${hamcrest.version}</version>
2144 <groupId>org.hamcrest</groupId>
2145 <artifactId>hamcrest-library</artifactId>
2146 <version>${hamcrest.version}</version>
2149 <groupId>org.mockito</groupId>
2150 <artifactId>mockito-core</artifactId>
2151 <version>${mockito-core.version}</version>
2155 <groupId>org.apache.htrace</groupId>
2156 <artifactId>htrace-core4</artifactId>
2157 <version>${htrace.version}</version>
2160 <groupId>com.lmax</groupId>
2161 <artifactId>disruptor</artifactId>
2162 <version>${disruptor.version}</version>
2165 <groupId>net.spy</groupId>
2166 <artifactId>spymemcached</artifactId>
2167 <version>${spy.version}</version>
2168 <optional>true</optional>
2171 <groupId>org.bouncycastle</groupId>
2172 <artifactId>bcprov-jdk15on</artifactId>
2173 <version>${bouncycastle.version}</version>
2177 <groupId>org.apache.kerby</groupId>
2178 <artifactId>kerb-core</artifactId>
2179 <version>${kerby.version}</version>
2182 <groupId>org.apache.kerby</groupId>
2183 <artifactId>kerb-client</artifactId>
2184 <version>${kerby.version}</version>
2187 <groupId>org.apache.kerby</groupId>
2188 <artifactId>kerb-simplekdc</artifactId>
2189 <version>${kerby.version}</version>
2192 <groupId>org.apache.commons</groupId>
2193 <artifactId>commons-crypto</artifactId>
2194 <version>${commons-crypto.version}</version>
2197 <groupId>net.java.dev.jna</groupId>
2198 <artifactId>jna</artifactId>
2203 <groupId>org.apache.curator</groupId>
2204 <artifactId>curator-framework</artifactId>
2205 <version>${curator.version}</version>
2208 <groupId>org.apache.zookeeper</groupId>
2209 <artifactId>zookeeper</artifactId>
2214 <groupId>org.apache.curator</groupId>
2215 <artifactId>curator-client</artifactId>
2216 <version>${curator.version}</version>
2219 <groupId>com.google.guava</groupId>
2220 <artifactId>guava</artifactId>
2223 <groupId>org.apache.zookeeper</groupId>
2224 <artifactId>zookeeper</artifactId>
2229 <groupId>org.apache.curator</groupId>
2230 <artifactId>curator-recipes</artifactId>
2231 <version>${curator.version}</version>
2234 <groupId>com.google.guava</groupId>
2235 <artifactId>guava</artifactId>
2238 <groupId>org.apache.zookeeper</groupId>
2239 <artifactId>zookeeper</artifactId>
2244 <groupId>org.apache.yetus</groupId>
2245 <artifactId>audience-annotations</artifactId>
2246 <version>${audience-annotations.version}</version>
2249 <groupId>org.apache.hbase.thirdparty</groupId>
2250 <artifactId>hbase-shaded-gson</artifactId>
2251 <version>${hbase-thirdparty.version}</version>
2254 <groupId>org.apache.hbase.thirdparty</groupId>
2255 <artifactId>hbase-shaded-miscellaneous</artifactId>
2256 <version>${hbase-thirdparty.version}</version>
2259 <groupId>org.apache.hbase.thirdparty</groupId>
2260 <artifactId>hbase-shaded-netty</artifactId>
2261 <version>${hbase-thirdparty.version}</version>
2264 <groupId>org.apache.hbase.thirdparty</groupId>
2265 <artifactId>hbase-shaded-protobuf</artifactId>
2266 <version>${hbase-thirdparty.version}</version>
2269 <groupId>org.apache.hbase.thirdparty</groupId>
2270 <artifactId>hbase-shaded-jetty</artifactId>
2271 <version>${hbase-thirdparty.version}</version>
2274 <groupId>org.apache.hbase.thirdparty</groupId>
2275 <artifactId>hbase-shaded-jersey</artifactId>
2276 <version>${hbase-thirdparty.version}</version>
2279 <groupId>com.sun.xml.ws</groupId>
2280 <artifactId>jaxws-ri</artifactId>
2281 <version>2.3.2</version>
2285 <groupId>javax.activation</groupId>
2286 <artifactId>javax.activation-api</artifactId>
2291 </dependencyManagement>
2293 <!--REMOVE THIS. HERE TEMPORARILY.
2294 Implication is that every module needs junit which is not so.
2295 Cannot undo though because build runs test on each module and
2296 it fails if no junit. TODO. -->
2298 <groupId>junit</groupId>
2299 <artifactId>junit</artifactId>
2305 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2310 <id>apache.releases.https</id>
2311 <username>hbase_committer</username>
2312 <password>********</password>
2316 <id>apache.snapshots.https</id>
2317 <username>hbase_committer</username>
2318 <password>********</password>
2326 $ mvn -s /my/path/settings.xml deploy
2334 <name>!skip-rsgroup</name>
2338 <module>hbase-rsgroup</module>
2342 <id>build-with-jdk8</id>
2354 <id>build-with-jdk11</id>
2359 <!-- TODO: replicate logic for windows support -->
2360 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2361 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2362 <hadoop-three.version>3.2.0</hadoop-three.version>
2364 Value to use for surefire when running jdk11.
2365 TODO: replicate logic for windows
2367 <surefire.Xmx>2200m</surefire.Xmx>
2372 <groupId>org.apache.maven.plugins</groupId>
2373 <artifactId>maven-enforcer-plugin</artifactId>
2376 <id>hadoop3-profile-required</id>
2378 <goal>enforce</goal>
2384 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2385 enforcer plugin does not see active profiles on sub-modules, so enforce based
2386 on the presence of the activation property and value.
2388 <property>hadoop.profile</property>
2389 <regex>.*3\.0$</regex>
2391 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2394 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2405 <!-- profile activated by the Jenkins patch testing job -->
2407 <id>jenkins.patch</id>
2409 <activeByDefault>false</activeByDefault>
2411 <name>HBasePatchProcess</name>
2415 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2420 <groupId>org.apache.maven.plugins</groupId>
2421 <artifactId>maven-antrun-plugin</artifactId>
2422 <inherited>false</inherited>
2425 <phase>validate</phase>
2431 <echo>Maven Execution Environment</echo>
2432 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2444 <activeByDefault>false</activeByDefault>
2449 <groupId>org.jacoco</groupId>
2450 <artifactId>jacoco-maven-plugin</artifactId>
2451 <version>${jacoco.version}</version>
2454 <id>prepare-agent</id>
2456 <goal>prepare-agent</goal>
2461 <phase>prepare-package</phase>
2468 <systemPropertyVariables>
2469 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2470 </systemPropertyVariables>
2472 <exclude>**/generated/**/*.class</exclude>
2482 <activeByDefault>false</activeByDefault>
2484 <family>Linux</family>
2488 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2495 <family>Mac</family>
2499 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2506 <family>Windows</family>
2510 <build.platform>cygwin</build.platform>
2511 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2514 <!-- this profile should match the name of the release profile in the root asf pom -->
2516 <id>apache-release</id>
2519 <!-- This should insert itself in place of the normal deploy plugin and then
2520 handle either closing or dropping the staging repository for us depending
2521 on if the build succeeds.
2524 <groupId>org.sonatype.plugins</groupId>
2525 <artifactId>nexus-staging-maven-plugin</artifactId>
2526 <version>1.6.8</version>
2527 <extensions>true</extensions>
2529 <nexusUrl>https://repository.apache.org/</nexusUrl>
2530 <serverId>apache.releases.https</serverId>
2536 <!-- this profile should be activated for release builds -->
2542 <groupId>org.apache.rat</groupId>
2543 <artifactId>apache-rat-plugin</artifactId>
2546 <phase>package</phase>
2554 <groupId>org.apache.maven.plugins</groupId>
2555 <artifactId>maven-enforcer-plugin</artifactId>
2556 <version>${enforcer.version}</version>
2559 <groupId>org.codehaus.mojo</groupId>
2560 <artifactId>extra-enforcer-rules</artifactId>
2561 <version>${extra.enforcer.version}</version>
2566 <enforceBytecodeVersion>
2567 <maxJdkVersion>${compileSource}</maxJdkVersion>
2568 <message>HBase has unsupported dependencies.
2569 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2570 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2571 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2572 Non-release builds can temporarily build with a newer JDK version by setting the
2573 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2576 <ignoreClass>module-info</ignoreClass>
2578 </enforceBytecodeVersion>
2585 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2586 <!-- Submodules that need hadoop dependencies should declare
2587 profiles with activation properties matching the profile here.
2588 Generally, it should be sufficient to copy the first
2589 few lines of the profile you want to match. -->
2590 <!-- profile for building against Hadoop 2.0.x
2591 This is the default.
2597 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2598 <!--h2--><name>!hadoop.profile</name>
2602 <module>hbase-hadoop2-compat</module>
2605 <hadoop.version>${hadoop-two.version}</hadoop.version>
2606 <compat.module>hbase-hadoop2-compat</compat.module>
2607 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2608 <!--This property is for hadoops netty. HBase netty
2609 comes in via hbase-thirdparty hbase-shaded-netty-->
2610 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2612 <dependencyManagement>
2615 <groupId>org.apache.hadoop</groupId>
2616 <artifactId>hadoop-mapreduce-client-core</artifactId>
2617 <version>${hadoop-two.version}</version>
2620 <groupId>com.sun.jersey</groupId>
2621 <artifactId>jersey-core</artifactId>
2624 <groupId>org.codehaus.jackson</groupId>
2625 <artifactId>jackson-jaxrs</artifactId>
2628 <groupId>org.codehaus.jackson</groupId>
2629 <artifactId>jackson-xc</artifactId>
2632 <groupId>io.netty</groupId>
2633 <artifactId>netty</artifactId>
2636 <groupId>io.netty</groupId>
2637 <artifactId>netty-all</artifactId>
2640 <groupId>javax.servlet</groupId>
2641 <artifactId>servlet-api</artifactId>
2644 <groupId>javax.inject</groupId>
2645 <artifactId>javax.inject</artifactId>
2648 <groupId>org.codehaus.jackson</groupId>
2649 <artifactId>jackson-core-asl</artifactId>
2652 <groupId>org.codehaus.jackson</groupId>
2653 <artifactId>jackson-mapper-asl</artifactId>
2658 <groupId>org.apache.hadoop</groupId>
2659 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2660 <version>${hadoop-two.version}</version>
2663 <groupId>com.sun.jersey</groupId>
2664 <artifactId>jersey-core</artifactId>
2667 <groupId>io.netty</groupId>
2668 <artifactId>netty</artifactId>
2671 <groupId>io.netty</groupId>
2672 <artifactId>netty-all</artifactId>
2675 <groupId>javax.servlet</groupId>
2676 <artifactId>servlet-api</artifactId>
2681 <groupId>org.apache.hadoop</groupId>
2682 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2683 <version>${hadoop-two.version}</version>
2684 <type>test-jar</type>
2688 <groupId>com.sun.jersey</groupId>
2689 <artifactId>jersey-core</artifactId>
2692 <groupId>io.netty</groupId>
2693 <artifactId>netty</artifactId>
2696 <groupId>io.netty</groupId>
2697 <artifactId>netty-all</artifactId>
2700 <groupId>javax.servlet</groupId>
2701 <artifactId>servlet-api</artifactId>
2706 <groupId>org.apache.hadoop</groupId>
2707 <artifactId>hadoop-hdfs</artifactId>
2708 <version>${hadoop-two.version}</version>
2711 <groupId>com.sun.jersey</groupId>
2712 <artifactId>jersey-core</artifactId>
2715 <groupId>javax.servlet.jsp</groupId>
2716 <artifactId>jsp-api</artifactId>
2719 <groupId>javax.servlet</groupId>
2720 <artifactId>servlet-api</artifactId>
2723 <groupId>io.netty</groupId>
2724 <artifactId>netty</artifactId>
2727 <groupId>io.netty</groupId>
2728 <artifactId>netty-all</artifactId>
2731 <groupId>stax</groupId>
2732 <artifactId>stax-api</artifactId>
2735 <groupId>xerces</groupId>
2736 <artifactId>xercesImpl</artifactId>
2739 <groupId>org.codehaus.jackson</groupId>
2740 <artifactId>jackson-core-asl</artifactId>
2743 <groupId>org.codehaus.jackson</groupId>
2744 <artifactId>jackson-mapper-asl</artifactId>
2747 <groupId>com.google.guava</groupId>
2748 <artifactId>guava</artifactId>
2753 <groupId>org.apache.hadoop</groupId>
2754 <artifactId>hadoop-hdfs</artifactId>
2755 <version>${hadoop-two.version}</version>
2756 <type>test-jar</type>
2760 <groupId>javax.servlet.jsp</groupId>
2761 <artifactId>jsp-api</artifactId>
2764 <groupId>javax.servlet</groupId>
2765 <artifactId>servlet-api</artifactId>
2768 <groupId>io.netty</groupId>
2769 <artifactId>netty</artifactId>
2772 <groupId>io.netty</groupId>
2773 <artifactId>netty-all</artifactId>
2776 <groupId>stax</groupId>
2777 <artifactId>stax-api</artifactId>
2780 <groupId>xerces</groupId>
2781 <artifactId>xercesImpl</artifactId>
2784 <groupId>org.codehaus.jackson</groupId>
2785 <artifactId>jackson-core-asl</artifactId>
2788 <groupId>org.codehaus.jackson</groupId>
2789 <artifactId>jackson-mapper-asl</artifactId>
2792 <groupId>com.google.guava</groupId>
2793 <artifactId>guava</artifactId>
2796 <groupId>com.sun.jersey</groupId>
2797 <artifactId>jersey-core</artifactId>
2802 <groupId>org.apache.hadoop</groupId>
2803 <artifactId>hadoop-auth</artifactId>
2804 <version>${hadoop-two.version}</version>
2807 <groupId>com.google.guava</groupId>
2808 <artifactId>guava</artifactId>
2811 <groupId>net.minidev</groupId>
2812 <artifactId>json-smart</artifactId>
2817 <groupId>org.apache.hadoop</groupId>
2818 <artifactId>hadoop-common</artifactId>
2819 <version>${hadoop-two.version}</version>
2822 <groupId>com.sun.jersey</groupId>
2823 <artifactId>jersey-core</artifactId>
2826 <groupId>org.codehaus.jackson</groupId>
2827 <artifactId>jackson-jaxrs</artifactId>
2830 <groupId>org.codehaus.jackson</groupId>
2831 <artifactId>jackson-xc</artifactId>
2834 <groupId>commons-beanutils</groupId>
2835 <artifactId>commons-beanutils</artifactId>
2838 <groupId>javax.servlet.jsp</groupId>
2839 <artifactId>jsp-api</artifactId>
2842 <groupId>javax.servlet</groupId>
2843 <artifactId>servlet-api</artifactId>
2846 <groupId>stax</groupId>
2847 <artifactId>stax-api</artifactId>
2850 <groupId>io.netty</groupId>
2851 <artifactId>netty</artifactId>
2854 <groupId>io.netty</groupId>
2855 <artifactId>netty-all</artifactId>
2858 <groupId>com.google.code.findbugs</groupId>
2859 <artifactId>jsr305</artifactId>
2862 <groupId>junit</groupId>
2863 <artifactId>junit</artifactId>
2866 <groupId>org.codehaus.jackson</groupId>
2867 <artifactId>jackson-core-asl</artifactId>
2870 <groupId>org.codehaus.jackson</groupId>
2871 <artifactId>jackson-mapper-asl</artifactId>
2876 <groupId>org.apache.hadoop</groupId>
2877 <artifactId>hadoop-common</artifactId>
2878 <version>${hadoop-two.version}</version>
2879 <type>test-jar</type>
2883 <groupId>com.sun.jersey</groupId>
2884 <artifactId>jersey-core</artifactId>
2887 <groupId>com.google.code.findbugs</groupId>
2888 <artifactId>jsr305</artifactId>
2891 <groupId>org.codehaus.jackson</groupId>
2892 <artifactId>jackson-jaxrs</artifactId>
2895 <groupId>org.codehaus.jackson</groupId>
2896 <artifactId>jackson-xc</artifactId>
2899 <groupId>io.netty</groupId>
2900 <artifactId>netty</artifactId>
2906 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
2907 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
2909 <groupId>javax.activation</groupId>
2910 <artifactId>javax.activation-api</artifactId>
2911 <version>1.2.0</version>
2915 <groupId>org.apache.hadoop</groupId>
2916 <artifactId>hadoop-client</artifactId>
2917 <version>${hadoop-two.version}</version>
2919 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2920 Where do we actually need it? -->
2922 <groupId>org.apache.hadoop</groupId>
2923 <artifactId>hadoop-minicluster</artifactId>
2924 <version>${hadoop-two.version}</version>
2926 <!--If we comment this in, a few tests in hbase-mapreduce
2927 fail. They depend on jersey-core somehow. But excluding
2928 jersey-core here messes up hbase-it because jersey-core
2929 implements a 1.x jaxrs Response Interface when we depend
2930 on the 2.x Interface... . Letting this jar come in
2931 transitively here but will exclude it down in hbase-it.
2934 <groupId>com.sun.jersey</groupId>
2935 <artifactId>jersey-core</artifactId>
2939 <groupId>commons-httpclient</groupId>
2940 <artifactId>commons-httpclient</artifactId>
2943 <groupId>javax.servlet.jsp</groupId>
2944 <artifactId>jsp-api</artifactId>
2947 <groupId>javax.servlet</groupId>
2948 <artifactId>servlet-api</artifactId>
2951 <groupId>stax</groupId>
2952 <artifactId>stax-api</artifactId>
2955 <groupId>io.netty</groupId>
2956 <artifactId>netty</artifactId>
2959 <groupId>io.netty</groupId>
2960 <artifactId>netty-all</artifactId>
2963 <groupId>com.google.code.findbugs</groupId>
2964 <artifactId>jsr305</artifactId>
2969 <groupId>org.apache.hadoop</groupId>
2970 <artifactId>hadoop-minikdc</artifactId>
2971 <version>${hadoop-two.version}</version>
2975 <groupId>org.apache.hadoop</groupId>
2976 <artifactId>hadoop-annotations</artifactId>
2977 <version>${hadoop-two.version}</version>
2981 <groupId>org.apache.hadoop</groupId>
2982 <artifactId>hadoop-distcp</artifactId>
2983 <version>${hadoop-two.version}</version>
2987 <groupId>org.apache.hadoop</groupId>
2988 <artifactId>hadoop-hdfs-client</artifactId>
2989 <version>${hadoop-two.version}</version>
2992 </dependencyManagement>
2995 profile for building against Hadoop 3.0.0. Activate using:
2996 mvn -Dhadoop.profile=3.0
3002 <name>hadoop.profile</name>
3007 <!--For now, use hadoop2 compat module-->
3008 <module>hbase-hadoop2-compat</module>
3011 <hadoop.profile>3.0</hadoop.profile>
3012 <hadoop.version>${hadoop-three.version}</hadoop.version>
3013 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
3014 <compat.module>hbase-hadoop2-compat</compat.module>
3015 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
3016 <!--This property is for hadoops netty. HBase netty
3017 comes in via hbase-thirdparty hbase-shaded-netty-->
3018 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
3020 <dependencyManagement>
3023 <groupId>org.apache.hadoop</groupId>
3024 <artifactId>hadoop-mapreduce-client-core</artifactId>
3025 <version>${hadoop-three.version}</version>
3028 <groupId>com.sun.jersey</groupId>
3029 <artifactId>jersey-core</artifactId>
3032 <groupId>org.codehaus.jackson</groupId>
3033 <artifactId>jackson-jaxrs</artifactId>
3036 <groupId>org.codehaus.jackson</groupId>
3037 <artifactId>jackson-xc</artifactId>
3040 <groupId>io.netty</groupId>
3041 <artifactId>netty</artifactId>
3044 <groupId>io.netty</groupId>
3045 <artifactId>netty-all</artifactId>
3048 <groupId>javax.servlet</groupId>
3049 <artifactId>servlet-api</artifactId>
3052 <groupId>javax.inject</groupId>
3053 <artifactId>javax.inject</artifactId>
3056 <groupId>org.codehaus.jackson</groupId>
3057 <artifactId>jackson-core-asl</artifactId>
3060 <groupId>org.codehaus.jackson</groupId>
3061 <artifactId>jackson-mapper-asl</artifactId>
3064 <groupId>com.google.guava</groupId>
3065 <artifactId>guava</artifactId>
3068 <groupId>org.slf4j</groupId>
3069 <artifactId>slf4j-log4j12</artifactId>
3072 <groupId>log4j</groupId>
3073 <artifactId>log4j</artifactId>
3078 <groupId>org.apache.hadoop</groupId>
3079 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3080 <version>${hadoop-three.version}</version>
3083 <groupId>com.sun.jersey</groupId>
3084 <artifactId>jersey-core</artifactId>
3087 <groupId>io.netty</groupId>
3088 <artifactId>netty</artifactId>
3092 <groupId>io.netty</groupId>
3093 <artifactId>netty-all</artifactId>
3096 <groupId>javax.servlet</groupId>
3097 <artifactId>servlet-api</artifactId>
3100 <groupId>org.slf4j</groupId>
3101 <artifactId>slf4j-log4j12</artifactId>
3104 <groupId>log4j</groupId>
3105 <artifactId>log4j</artifactId>
3110 <groupId>org.apache.hadoop</groupId>
3111 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3112 <version>${hadoop-three.version}</version>
3113 <type>test-jar</type>
3117 <groupId>com.sun.jersey</groupId>
3118 <artifactId>jersey-core</artifactId>
3121 <groupId>io.netty</groupId>
3122 <artifactId>netty</artifactId>
3125 <groupId>io.netty</groupId>
3126 <artifactId>netty-all</artifactId>
3129 <groupId>javax.servlet</groupId>
3130 <artifactId>servlet-api</artifactId>
3133 <groupId>org.slf4j</groupId>
3134 <artifactId>slf4j-log4j12</artifactId>
3137 <groupId>log4j</groupId>
3138 <artifactId>log4j</artifactId>
3143 <groupId>org.apache.hadoop</groupId>
3144 <artifactId>hadoop-hdfs</artifactId>
3145 <version>${hadoop-three.version}</version>
3148 <groupId>com.sun.jersey</groupId>
3149 <artifactId>jersey-core</artifactId>
3152 <groupId>com.sun.jersey</groupId>
3153 <artifactId>jersey-server</artifactId>
3156 <groupId>javax.servlet.jsp</groupId>
3157 <artifactId>jsp-api</artifactId>
3160 <groupId>javax.servlet</groupId>
3161 <artifactId>servlet-api</artifactId>
3164 <groupId>stax</groupId>
3165 <artifactId>stax-api</artifactId>
3168 <groupId>xerces</groupId>
3169 <artifactId>xercesImpl</artifactId>
3172 <groupId>org.codehaus.jackson</groupId>
3173 <artifactId>jackson-core-asl</artifactId>
3176 <groupId>org.codehaus.jackson</groupId>
3177 <artifactId>jackson-mapper-asl</artifactId>
3180 <groupId>com.google.guava</groupId>
3181 <artifactId>guava</artifactId>
3184 <groupId>org.slf4j</groupId>
3185 <artifactId>slf4j-log4j12</artifactId>
3188 <groupId>log4j</groupId>
3189 <artifactId>log4j</artifactId>
3192 <groupId>io.netty</groupId>
3193 <artifactId>netty</artifactId>
3196 <groupId>io.netty</groupId>
3197 <artifactId>netty-all</artifactId>
3202 <groupId>org.apache.hadoop</groupId>
3203 <artifactId>hadoop-hdfs</artifactId>
3204 <version>${hadoop-three.version}</version>
3205 <type>test-jar</type>
3209 <groupId>javax.servlet.jsp</groupId>
3210 <artifactId>jsp-api</artifactId>
3213 <groupId>javax.servlet</groupId>
3214 <artifactId>servlet-api</artifactId>
3217 <groupId>stax</groupId>
3218 <artifactId>stax-api</artifactId>
3221 <groupId>xerces</groupId>
3222 <artifactId>xercesImpl</artifactId>
3225 <groupId>org.codehaus.jackson</groupId>
3226 <artifactId>jackson-core-asl</artifactId>
3229 <groupId>org.codehaus.jackson</groupId>
3230 <artifactId>jackson-mapper-asl</artifactId>
3233 <groupId>com.google.guava</groupId>
3234 <artifactId>guava</artifactId>
3237 <groupId>com.sun.jersey</groupId>
3238 <artifactId>jersey-core</artifactId>
3241 <groupId>org.slf4j</groupId>
3242 <artifactId>slf4j-log4j12</artifactId>
3245 <groupId>log4j</groupId>
3246 <artifactId>log4j</artifactId>
3249 <groupId>io.netty</groupId>
3250 <artifactId>netty-all</artifactId>
3255 <groupId>org.apache.hadoop</groupId>
3256 <artifactId>hadoop-hdfs</artifactId>
3257 <version>${hadoop-three.version}</version>
3258 <type>test-jar</type>
3259 <classifier>tests</classifier>
3263 <groupId>com.sun.jersey</groupId>
3264 <artifactId>jersey-core</artifactId>
3269 <groupId>org.apache.hadoop</groupId>
3270 <artifactId>hadoop-auth</artifactId>
3271 <version>${hadoop-three.version}</version>
3274 <groupId>com.google.guava</groupId>
3275 <artifactId>guava</artifactId>
3278 <groupId>net.minidev</groupId>
3279 <artifactId>json-smart</artifactId>
3282 <groupId>org.slf4j</groupId>
3283 <artifactId>slf4j-log4j12</artifactId>
3286 <groupId>log4j</groupId>
3287 <artifactId>log4j</artifactId>
3292 <groupId>org.apache.hadoop</groupId>
3293 <artifactId>hadoop-common</artifactId>
3294 <version>${hadoop-three.version}</version>
3297 <groupId>com.sun.jersey</groupId>
3298 <artifactId>jersey-core</artifactId>
3301 <groupId>com.sun.jersey</groupId>
3302 <artifactId>jersey-json</artifactId>
3305 <groupId>com.sun.jersey</groupId>
3306 <artifactId>jersey-servlet</artifactId>
3309 <groupId>com.sun.jersey</groupId>
3310 <artifactId>jersey-server</artifactId>
3313 <groupId>javax.servlet.jsp</groupId>
3314 <artifactId>jsp-api</artifactId>
3317 <groupId>javax.servlet</groupId>
3318 <artifactId>javax.servlet-api</artifactId>
3321 <groupId>stax</groupId>
3322 <artifactId>stax-api</artifactId>
3325 <groupId>io.netty</groupId>
3326 <artifactId>netty</artifactId>
3329 <groupId>io.netty</groupId>
3330 <artifactId>netty-all</artifactId>
3333 <groupId>com.google.code.findbugs</groupId>
3334 <artifactId>jsr305</artifactId>
3337 <groupId>junit</groupId>
3338 <artifactId>junit</artifactId>
3341 <groupId>org.codehause.jackson</groupId>
3342 <artifactId>jackson-core-asl</artifactId>
3345 <groupId>org.codehause.jackson</groupId>
3346 <artifactId>jackson-mapper-asl</artifactId>
3349 <groupId>org.slf4j</groupId>
3350 <artifactId>slf4j-log4j12</artifactId>
3353 <groupId>log4j</groupId>
3354 <artifactId>log4j</artifactId>
3360 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3362 <groupId>javax.activation</groupId>
3363 <artifactId>javax.activation-api</artifactId>
3364 <version>1.2.0</version>
3368 <groupId>org.apache.hadoop</groupId>
3369 <artifactId>hadoop-common</artifactId>
3370 <type>test-jar</type>
3371 <classifier>tests</classifier>
3372 <version>${hadoop-three.version}</version>
3375 <groupId>com.sun.jersey</groupId>
3376 <artifactId>jersey-core</artifactId>
3379 <groupId>com.google.code.findbugs</groupId>
3380 <artifactId>jsr305</artifactId>
3385 <groupId>org.apache.hadoop</groupId>
3386 <artifactId>hadoop-client</artifactId>
3387 <version>${hadoop-three.version}</version>
3390 <groupId>org.apache.hadoop</groupId>
3391 <artifactId>hadoop-annotations</artifactId>
3392 <version>${hadoop-three.version}</version>
3394 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3395 Where do we actually need it? -->
3397 <groupId>org.apache.hadoop</groupId>
3398 <artifactId>hadoop-minicluster</artifactId>
3399 <version>${hadoop-three.version}</version>
3401 <!--If we comment this in, a few tests in hbase-mapreduce
3402 fail. They depend on jersey-core somehow. But excluding
3403 jersey-core here messes up hbase-it because jersey-core
3404 implements a 1.x jaxrs Response Interface when we depend
3405 on the 2.x Interface... . Letting this jar come in
3406 transitively here but will exclude it down in hbase-it.
3409 <groupId>com.sun.jersey</groupId>
3410 <artifactId>jersey-core</artifactId>
3414 <groupId>commons-httpclient</groupId>
3415 <artifactId>commons-httpclient</artifactId>
3418 <groupId>javax.servlet.jsp</groupId>
3419 <artifactId>jsp-api</artifactId>
3422 <groupId>javax.servlet</groupId>
3423 <artifactId>servlet-api</artifactId>
3426 <groupId>stax</groupId>
3427 <artifactId>stax-api</artifactId>
3430 <groupId>io.netty</groupId>
3431 <artifactId>netty</artifactId>
3433 <!-- MiniMRCluster needs the hadoop netty-all transitive include... a
3434 netty-all 4.0.52 version.... so we have to let it through.
3436 <groupId>io.netty</groupId>
3437 <artifactId>netty-all</artifactId>
3441 <groupId>com.google.code.findbugs</groupId>
3442 <artifactId>jsr305</artifactId>
3445 <groupId>org.slf4j</groupId>
3446 <artifactId>slf4j-log4j12</artifactId>
3449 <groupId>log4j</groupId>
3450 <artifactId>log4j</artifactId>
3455 <groupId>org.apache.hadoop</groupId>
3456 <artifactId>hadoop-minikdc</artifactId>
3457 <version>${hadoop-three.version}</version>
3461 <groupId>org.slf4j</groupId>
3462 <artifactId>slf4j-log4j12</artifactId>
3465 <groupId>log4j</groupId>
3466 <artifactId>log4j</artifactId>
3471 <groupId>org.apache.hadoop</groupId>
3472 <artifactId>hadoop-distcp</artifactId>
3473 <version>${hadoop-three.version}</version>
3477 <groupId>org.apache.hadoop</groupId>
3478 <artifactId>hadoop-hdfs-client</artifactId>
3479 <version>${hadoop-three.version}</version>
3482 </dependencyManagement>
3485 <!-- profiles for the tests
3486 See as well the properties of the project for the values
3487 when no profile is active. -->
3489 <!-- Use it to launch all tests in the same JVM -->
3490 <id>singleJVMTests</id>
3492 <activeByDefault>false</activeByDefault>
3495 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3496 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3497 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3498 <surefire.firstPartGroups/>
3502 <!-- Use it to launch small tests only -->
3503 <id>runSmallTests</id>
3505 <activeByDefault>false</activeByDefault>
3508 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3509 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3510 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3511 <surefire.secondPartGroups/>
3515 <!-- Use it to launch medium tests only -->
3516 <id>runMediumTests</id>
3518 <activeByDefault>false</activeByDefault>
3521 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3522 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3523 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3524 <surefire.secondPartGroups/>
3528 <!-- Use it to launch large tests only -->
3529 <id>runLargeTests</id>
3531 <activeByDefault>false</activeByDefault>
3534 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3535 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3536 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3537 <surefire.secondPartGroups/>
3541 <!-- Use it to launch small & medium tests -->
3542 <id>runDevTests</id>
3544 <activeByDefault>false</activeByDefault>
3547 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3548 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3549 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3550 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3551 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3555 <!-- Use it to launch all tests -->
3556 <id>runAllTests</id>
3558 <activeByDefault>false</activeByDefault>
3561 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3562 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3563 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3564 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3568 <id>runMiscTests</id>
3570 <activeByDefault>false</activeByDefault>
3573 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3574 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3575 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3576 </surefire.firstPartGroups>
3577 <surefire.secondPartGroups></surefire.secondPartGroups>
3581 <id>runCoprocessorTests</id>
3583 <activeByDefault>false</activeByDefault>
3586 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3587 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3588 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3589 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3590 <surefire.firstPartGroups>
3591 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3592 </surefire.firstPartGroups>
3593 <surefire.secondPartGroups></surefire.secondPartGroups>
3597 <id>runClientTests</id>
3599 <activeByDefault>false</activeByDefault>
3602 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3603 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3604 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3605 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3606 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3607 </surefire.firstPartGroups>
3608 <surefire.secondPartGroups></surefire.secondPartGroups>
3612 <id>runMasterTests</id>
3614 <activeByDefault>false</activeByDefault>
3617 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3618 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3619 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3620 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3621 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3622 </surefire.firstPartGroups>
3623 <surefire.secondPartGroups></surefire.secondPartGroups>
3627 <id>runMapredTests</id>
3629 <activeByDefault>false</activeByDefault>
3632 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3633 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3634 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3635 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3636 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3637 </surefire.firstPartGroups>
3638 <surefire.secondPartGroups></surefire.secondPartGroups>
3642 <id>runMapreduceTests</id>
3644 <activeByDefault>false</activeByDefault>
3647 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3648 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3649 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3650 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3651 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3652 </surefire.firstPartGroups>
3653 <surefire.secondPartGroups></surefire.secondPartGroups>
3657 <id>runRegionServerTests</id>
3659 <activeByDefault>false</activeByDefault>
3662 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3663 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3664 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3665 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3666 <surefire.firstPartGroups>
3667 org.apache.hadoop.hbase.testclassification.RegionServerTests
3668 </surefire.firstPartGroups>
3669 <surefire.secondPartGroups></surefire.secondPartGroups>
3673 <id>runVerySlowMapReduceTests</id>
3675 <activeByDefault>false</activeByDefault>
3678 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3679 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3680 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3681 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3682 <surefire.firstPartGroups>
3683 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3684 </surefire.firstPartGroups>
3685 <surefire.secondPartGroups></surefire.secondPartGroups>
3690 <id>runVerySlowRegionServerTests</id>
3692 <activeByDefault>false</activeByDefault>
3695 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3696 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3697 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3698 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3699 <surefire.firstPartGroups>
3700 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3701 </surefire.firstPartGroups>
3702 <surefire.secondPartGroups></surefire.secondPartGroups>
3707 <id>runFilterTests</id>
3709 <activeByDefault>false</activeByDefault>
3712 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3713 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3714 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3715 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3716 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3717 </surefire.firstPartGroups>
3718 <surefire.secondPartGroups></surefire.secondPartGroups>
3724 <activeByDefault>false</activeByDefault>
3727 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3728 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3729 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3730 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3731 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3732 </surefire.firstPartGroups>
3733 <surefire.secondPartGroups></surefire.secondPartGroups>
3737 <id>runRestTests</id>
3739 <activeByDefault>false</activeByDefault>
3742 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3743 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3744 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3745 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3746 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3747 </surefire.firstPartGroups>
3748 <surefire.secondPartGroups></surefire.secondPartGroups>
3752 <id>runRPCTests</id>
3754 <activeByDefault>false</activeByDefault>
3757 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3758 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3759 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3760 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3761 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3762 </surefire.firstPartGroups>
3763 <surefire.secondPartGroups></surefire.secondPartGroups>
3767 <id>runReplicationTests</id>
3769 <activeByDefault>false</activeByDefault>
3772 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3773 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3774 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3775 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3776 <surefire.firstPartGroups>
3777 org.apache.hadoop.hbase.testclassification.ReplicationTests
3778 </surefire.firstPartGroups>
3779 <surefire.secondPartGroups></surefire.secondPartGroups>
3783 <id>runSecurityTests</id>
3785 <activeByDefault>false</activeByDefault>
3788 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3789 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3790 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3791 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3792 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3793 </surefire.firstPartGroups>
3794 <surefire.secondPartGroups></surefire.secondPartGroups>
3798 <id>runFlakeyTests</id>
3800 <activeByDefault>false</activeByDefault>
3803 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3804 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3805 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3806 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3807 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3808 </surefire.firstPartGroups>
3809 <surefire.secondPartGroups></surefire.secondPartGroups>
3815 <activeByDefault>false</activeByDefault>
3818 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3819 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3820 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3821 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3822 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3823 </surefire.firstPartGroups>
3824 <surefire.secondPartGroups></surefire.secondPartGroups>
3829 <!-- Use it to launch tests locally-->
3837 <surefire.provider>surefire-junit4</surefire.provider>
3838 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3839 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3840 <surefire.firstPartGroups/>
3843 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3844 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3845 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3846 The report will be generated under target/site/clover/index.html when you run
3847 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3851 <activeByDefault>false</activeByDefault>
3857 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3861 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3862 our instrumented classes for the doclet will fail
3865 <groupId>org.apache.maven.plugins</groupId>
3866 <artifactId>maven-javadoc-plugin</artifactId>
3869 <groupId>com.atlassian.maven.plugins</groupId>
3870 <artifactId>maven-clover2-plugin</artifactId>
3871 <version>${clover.version}</version>
3876 <groupId>com.atlassian.maven.plugins</groupId>
3877 <artifactId>maven-clover2-plugin</artifactId>
3878 <version>${clover.version}</version>
3880 <includesAllSourceRoots>true</includesAllSourceRoots>
3881 <includesTestSourceRoots>true</includesTestSourceRoots>
3882 <targetPercentage>50%</targetPercentage>
3883 <generateHtml>true</generateHtml>
3884 <generateXml>true</generateXml>
3886 <exclude>**/generated/**</exclude>
3891 <id>clover-setup</id>
3892 <phase>process-sources</phase>
3910 <!-- Used by the website generation script on jenkins to
3911 do a local install of the jars we need to run a normal
3912 site build w/o forking.
3914 <id>site-install-step</id>
3916 <skipTests>true</skipTests>
3917 <maven.javadoc.skip>true</maven.javadoc.skip>
3918 <enforcer.skip>true</enforcer.skip>
3919 <checkstyle.skip>true</checkstyle.skip>
3920 <spotbugs.skip>true</spotbugs.skip>
3921 <warbucks.skip>true</warbucks.skip>
3925 <!-- Used by the website generation script on jenkins to
3926 mitigate the impact of unneeded build forks while building
3929 <id>site-build-step</id>
3931 <skipTests>true</skipTests>
3932 <enforcer.skip>true</enforcer.skip>
3933 <maven.main.skip>true</maven.main.skip>
3934 <maven.test.skip>true</maven.test.skip>
3935 <warbucks.skip>true</warbucks.skip>
3936 <protoc.skip>true</protoc.skip>
3937 <remoteresources.skip>true</remoteresources.skip>
3941 <id>eclipse-specific</id>
3944 <name>m2e.version</name>
3950 <!-- General config for eclipse classpath/settings -->
3952 <groupId>org.apache.maven.plugins</groupId>
3953 <artifactId>maven-eclipse-plugin</artifactId>
3954 <version>${maven.eclipse.version}</version>
3956 <!--This plugin's configuration is used to store Eclipse m2e settings
3957 only. It has no influence on the Maven build itself. m2e does not
3958 provide any safeguards against rogue maven plugins that leak
3959 classloaders, modify random files inside workspace or throw nasty
3960 exceptions to fail the build.
3961 Top level doesn't do any specific configuration currently - left
3962 to modules to decide what they want to bind, sans those plugins
3963 defined in this pom. -->
3965 <groupId>org.eclipse.m2e</groupId>
3966 <artifactId>lifecycle-mapping</artifactId>
3967 <version>${lifecycle.mapping.version}</version>
3969 <lifecycleMappingMetadata>
3972 <pluginExecutionFilter>
3973 <groupId>org.jacoco</groupId>
3974 <artifactId>jacoco-maven-plugin</artifactId>
3975 <versionRange>[0.6.2.201302030002,)</versionRange>
3977 <goal>prepare-agent</goal>
3979 </pluginExecutionFilter>
3985 <pluginExecutionFilter>
3986 <groupId>org.apache.maven.plugins</groupId>
3987 <artifactId>maven-enforcer-plugin</artifactId>
3988 <versionRange>${enforcer.version}</versionRange>
3990 <goal>enforce</goal>
3992 </pluginExecutionFilter>
3998 <pluginExecutionFilter>
3999 <groupId>org.apache.maven.plugins</groupId>
4000 <artifactId>maven-remote-resources-plugin</artifactId>
4001 <versionRange>[1.5,)</versionRange>
4003 <goal>process</goal>
4006 </pluginExecutionFilter>
4012 <pluginExecutionFilter>
4013 <groupId>org.codehaus.mojo</groupId>
4014 <artifactId>buildnumber-maven-plugin</artifactId>
4015 <versionRange>[1.3,)</versionRange>
4017 <goal>create-timestamp</goal>
4019 </pluginExecutionFilter>
4022 <runOnConfiguration>true</runOnConfiguration>
4023 <runOnIncremental>true</runOnIncremental>
4028 </lifecycleMappingMetadata>
4036 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
4040 <artifactId>maven-project-info-reports-plugin</artifactId>
4044 <report>dependencies</report>
4045 <report>dependency-convergence</report>
4046 <report>dependency-info</report>
4047 <report>dependency-management</report>
4048 <report>index</report>
4049 <report>issue-management</report>
4050 <report>licenses</report>
4051 <report>mailing-lists</report>
4052 <report>plugin-management</report>
4053 <report>plugins</report>
4054 <report>team</report>
4055 <report>scm</report>
4056 <report>summary</report>
4060 <!-- see src/site/site.xml for selected reports -->
4062 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
4067 <groupId>org.apache.maven.plugins</groupId>
4068 <artifactId>maven-javadoc-plugin</artifactId>
4072 <name>apiNote</name>
4073 <placement>a</placement>
4074 <head>API Note:</head>
4083 <report>aggregate-no-fork</report>
4086 <destDir>devapidocs</destDir>
4087 <name>Developer API</name>
4088 <description>The full HBase API, including private and unstable APIs</description>
4089 <sourceFileExcludes>
4090 <exclude>**/generated/*</exclude>
4091 <exclude>**/protobuf/*</exclude>
4092 </sourceFileExcludes>
4093 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4094 <show>private</show> <!-- (shows all classes and members) -->
4096 <linksource>true</linksource>
4097 <sourcetab>2</sourcetab>
4098 <validateLinks>true</validateLinks>
4099 <fixClassComment>true</fixClassComment>
4100 <fixFieldComment>true</fixFieldComment>
4101 <fixMethodComment>true</fixMethodComment>
4102 <fixTags>all</fixTags>
4103 <notimestamp>true</notimestamp>
4104 <locale>en_US</locale>
4105 <!-- Pass some options straight to the javadoc executable since it is easier -->
4106 <additionalJOption>-J-Xmx2G</additionalJOption>
4107 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4108 <additionalDependencies>
4109 <additionalDependency>
4110 <groupId>org.mockito</groupId>
4111 <artifactId>mockito-core</artifactId>
4112 <version>${mockito-core.version}</version>
4113 </additionalDependency>
4114 <additionalDependency>
4115 <groupId>org.hamcrest</groupId>
4116 <artifactId>hamcrest-core</artifactId>
4117 <version>${hamcrest.version}</version>
4118 </additionalDependency>
4119 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4120 <additionalDependency>
4121 <groupId>com.google.code.findbugs</groupId>
4122 <artifactId>jsr305</artifactId>
4123 <version>3.0.2</version>
4124 </additionalDependency>
4125 </additionalDependencies>
4126 <inherited>false</inherited>
4132 <report>test-aggregate-no-fork</report>
4135 <destDir>testdevapidocs</destDir>
4136 <name>Developer API</name>
4137 <description>The full HBase API test code, including private and unstable APIs</description>
4138 <sourceFileExcludes>
4139 <exclude>**/generated/*</exclude>
4140 <exclude>**/protobuf/*</exclude>
4141 </sourceFileExcludes>
4142 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4143 <show>private</show> <!-- (shows all classes and members) -->
4145 <linksource>true</linksource>
4146 <sourcetab>2</sourcetab>
4147 <validateLinks>true</validateLinks>
4148 <fixClassComment>true</fixClassComment>
4149 <fixFieldComment>true</fixFieldComment>
4150 <fixMethodComment>true</fixMethodComment>
4151 <fixTags>all</fixTags>
4152 <notimestamp>true</notimestamp>
4153 <locale>en_US</locale>
4154 <!-- Pass some options straight to the javadoc executable since it is easier -->
4155 <additionalJOption>-J-Xmx2G</additionalJOption>
4156 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4157 <additionalDependencies>
4158 <additionalDependency>
4159 <groupId>org.mockito</groupId>
4160 <artifactId>mockito-core</artifactId>
4161 <version>${mockito-core.version}</version>
4162 </additionalDependency>
4163 <additionalDependency>
4164 <groupId>org.hamcrest</groupId>
4165 <artifactId>hamcrest-core</artifactId>
4166 <version>${hamcrest.version}</version>
4167 </additionalDependency>
4168 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4169 <additionalDependency>
4170 <groupId>com.google.code.findbugs</groupId>
4171 <artifactId>jsr305</artifactId>
4172 <version>3.0.2</version>
4173 </additionalDependency>
4174 </additionalDependencies>
4175 <inherited>false</inherited>
4183 <report>aggregate-no-fork</report>
4187 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4190 <groupId>org.apache.yetus</groupId>
4191 <artifactId>audience-annotations</artifactId>
4192 <version>${audience-annotations.version}</version>
4194 <useStandardDocletOptions>true</useStandardDocletOptions>
4195 <destDir>apidocs</destDir>
4196 <name>User API</name>
4197 <description>The HBase Application Programmer's API</description>
4198 <excludePackageNames>
4199 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*
4200 </excludePackageNames>
4201 <!-- switch on dependency-driven aggregation -->
4202 <includeDependencySources>false</includeDependencySources>
4203 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4204 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4206 <linksource>true</linksource>
4207 <sourcetab>2</sourcetab>
4208 <validateLinks>true</validateLinks>
4209 <fixClassComment>true</fixClassComment>
4210 <fixFieldComment>true</fixFieldComment>
4211 <fixMethodComment>true</fixMethodComment>
4212 <fixTags>all</fixTags>
4213 <notimestamp>true</notimestamp>
4214 <locale>en_US</locale>
4215 <!-- Pass some options straight to the javadoc executable since it is easier -->
4216 <additionalJOption>-J-Xmx2G</additionalJOption>
4217 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4218 <additionalDependencies>
4219 <additionalDependency>
4220 <groupId>org.mockito</groupId>
4221 <artifactId>mockito-core</artifactId>
4222 <version>${mockito-core.version}</version>
4223 </additionalDependency>
4224 <additionalDependency>
4225 <groupId>org.hamcrest</groupId>
4226 <artifactId>hamcrest-core</artifactId>
4227 <version>${hamcrest.version}</version>
4228 </additionalDependency>
4229 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4230 <additionalDependency>
4231 <groupId>com.google.code.findbugs</groupId>
4232 <artifactId>jsr305</artifactId>
4233 <version>3.0.2</version>
4234 </additionalDependency>
4235 </additionalDependencies>
4236 <inherited>false</inherited>
4239 <!-- User Test API -->
4241 <id>testuserapi</id>
4243 <report>test-aggregate-no-fork</report>
4247 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4250 <groupId>org.apache.yetus</groupId>
4251 <artifactId>audience-annotations</artifactId>
4252 <version>${audience-annotations.version}</version>
4254 <useStandardDocletOptions>true</useStandardDocletOptions>
4255 <destDir>testapidocs</destDir>
4256 <name>User API</name>
4257 <description>The HBase Application Programmer's API</description>
4258 <excludePackageNames>
4259 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*
4260 </excludePackageNames>
4261 <!-- switch on dependency-driven aggregation -->
4262 <includeDependencySources>false</includeDependencySources>
4263 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4264 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4266 <linksource>true</linksource>
4267 <sourcetab>2</sourcetab>
4268 <validateLinks>true</validateLinks>
4269 <fixClassComment>true</fixClassComment>
4270 <fixFieldComment>true</fixFieldComment>
4271 <fixMethodComment>true</fixMethodComment>
4272 <fixTags>all</fixTags>
4273 <notimestamp>true</notimestamp>
4274 <locale>en_US</locale>
4275 <!-- Pass some options straight to the javadoc executable since it is easier -->
4276 <additionalJOption>-J-Xmx2G</additionalJOption>
4277 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4278 <additionalDependencies>
4279 <additionalDependency>
4280 <groupId>org.mockito</groupId>
4281 <artifactId>mockito-core</artifactId>
4282 <version>${mockito-core.version}</version>
4283 </additionalDependency>
4284 <additionalDependency>
4285 <groupId>org.hamcrest</groupId>
4286 <artifactId>hamcrest-core</artifactId>
4287 <version>${hamcrest.version}</version>
4288 </additionalDependency>
4289 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4290 <additionalDependency>
4291 <groupId>com.google.code.findbugs</groupId>
4292 <artifactId>jsr305</artifactId>
4293 <version>3.0.2</version>
4294 </additionalDependency>
4295 </additionalDependencies>
4296 <inherited>false</inherited>
4303 <groupId>org.apache.maven.plugins</groupId>
4304 <artifactId>maven-checkstyle-plugin</artifactId>
4305 <version>${maven.checkstyle.version}</version>
4307 <excludes>target/**</excludes>
4313 <distributionManagement>
4315 <id>hbase.apache.org</id>
4316 <name>HBase Website at hbase.apache.org</name>
4317 <!-- On why this is the tmp dir and not hbase.apache.org, see
4318 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4320 <url>file:///tmp</url>
4322 </distributionManagement>