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.11</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>https://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-mapreduce</module>
67 <module>hbase-resource-bundle</module>
68 <module>hbase-http</module>
69 <module>hbase-server</module>
70 <module>hbase-thrift</module>
71 <module>hbase-shell</module>
72 <module>hbase-protocol-shaded</module>
73 <module>hbase-protocol</module>
74 <module>hbase-client</module>
75 <module>hbase-hadoop-compat</module>
76 <module>hbase-common</module>
77 <module>hbase-procedure</module>
78 <module>hbase-endpoint</module>
79 <module>hbase-it</module>
80 <module>hbase-examples</module>
81 <module>hbase-assembly</module>
82 <module>hbase-testing-util</module>
83 <module>hbase-annotations</module>
84 <module>hbase-rest</module>
85 <module>hbase-checkstyle</module>
86 <module>hbase-external-blockcache</module>
87 <module>hbase-shaded</module>
88 <module>hbase-archetypes</module>
89 <module>hbase-metrics-api</module>
90 <module>hbase-metrics</module>
91 <module>hbase-zookeeper</module>
92 <module>hbase-hbtop</module>
93 <module>hbase-asyncfs</module>
94 <module>hbase-logging</module>
97 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
98 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
99 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
102 <system>JIRA</system>
103 <url>https://issues.apache.org/jira/browse/HBASE</url>
107 <name>User List</name>
108 <subscribe>user-subscribe@hbase.apache.org</subscribe>
109 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
110 <post>user@hbase.apache.org</post>
111 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
113 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
117 <name>Developer List</name>
118 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
119 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
120 <post>dev@hbase.apache.org</post>
121 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
123 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
145 <name>User (ZH) List</name>
146 <subscribe>user-zh-subscribe@hbase.apache.org</subscribe>
147 <unsubscribe>user-zh-unsubscribe@hbase.apache.org</unsubscribe>
148 <post>user-zh@hbase.apache.org</post>
149 <archive>https://lists.apache.org/list.html?user-zh@hbase.apache.org</archive>
155 <name>Amitanand S. Aiyer</name>
156 <email>acube123@apache.org</email>
157 <timezone>-8</timezone>
161 <name>Apekshit Sharma</name>
162 <email>appy@apache.org</email>
163 <timezone>-8</timezone>
167 <name>Anastasia Braginsky</name>
168 <email>anastasia@apache.org</email>
169 <timezone>+2</timezone>
173 <name>Andrew Purtell</name>
174 <email>apurtell@apache.org</email>
175 <timezone>-8</timezone>
178 <id>anoopsamjohn</id>
179 <name>Anoop Sam John</name>
180 <email>anoopsamjohn@apache.org</email>
181 <timezone>+5</timezone>
185 <name>Mikhail Antonov</name>
186 <email>antonov@apache.org</email>
187 <timezone>-8</timezone>
190 <id>ashishsinghi</id>
191 <name>Ashish Singhi</name>
192 <email>ashishsinghi@apache.org</email>
193 <timezone>+5</timezone>
197 <name>Lijin Bin</name>
198 <email>binlijin@apache.org</email>
199 <timezone>+8</timezone>
203 <name>Sean Busbey</name>
204 <email>busbey@apache.org</email>
205 <timezone>-6</timezone>
209 <name>Heng Chen</name>
210 <email>chenheng@apache.org</email>
211 <timezone>+8</timezone>
215 <name>Chia-Ping Tsai</name>
216 <email>chia7712@apache.org</email>
217 <timezone>+8</timezone>
221 <name>Devaraj Das</name>
222 <email>ddas@apache.org</email>
223 <timezone>-8</timezone>
227 <name>Dima Spivak</name>
228 <email>dimaspivak@apache.org</email>
229 <timezone>-8</timezone>
233 <name>Doug Meil</name>
234 <email>dmeil@apache.org</email>
235 <timezone>-5</timezone>
239 <name>Elliott Clark</name>
240 <email>eclark@apache.org</email>
241 <timezone>-8</timezone>
245 <name>Josh Elser</name>
246 <email>elserj@apache.org</email>
247 <timezone>-5</timezone>
251 <name>Enis Soztutar</name>
252 <email>enis@apache.org</email>
253 <timezone>-8</timezone>
257 <name>Eshcar Hillel</name>
258 <email>eshcar@apache.org</email>
259 <timezone>+2</timezone>
263 <name>Honghua Feng</name>
264 <email>fenghh@apache.org</email>
265 <timezone>+8</timezone>
269 <name>Gary Helmling</name>
270 <email>garyh@apache.org</email>
271 <timezone>-8</timezone>
275 <name>Gregory Chanan</name>
276 <email>gchanan@apache.org</email>
277 <timezone>-8</timezone>
281 <name>Jean-Daniel Cryans</name>
282 <email>jdcryans@apache.org</email>
283 <timezone>-8</timezone>
287 <name>Jeffrey Zhong</name>
288 <email>jeffreyz@apache.org</email>
289 <timezone>-8</timezone>
293 <name>Jing Chen (Jerry) He</name>
294 <email>jerryjch@apache.org</email>
295 <timezone>-8</timezone>
299 <name>Jesse Yates</name>
300 <email>jyates@apache.org</email>
301 <timezone>-8</timezone>
305 <name>Jonathan Gray</name>
306 <email>jgray@fb.com</email>
307 <timezone>-8</timezone>
311 <name>Jingcheng Du</name>
312 <email>jingchengdu@apache.org</email>
313 <timezone>+8</timezone>
317 <name>Esteban Gutierrez</name>
318 <email>esteban@apache.org</email>
319 <timezone>-8</timezone>
323 <name>Jonathan Hsieh</name>
324 <email>jmhsieh@apache.org</email>
325 <timezone>-8</timezone>
329 <name>Jimmy Xiang</name>
330 <email>jxiang@apache.org</email>
331 <timezone>-8</timezone>
335 <name>Kannan Muthukkaruppan</name>
336 <email>kannan@fb.com</email>
337 <timezone>-8</timezone>
341 <name>Karthik Ranganathan</name>
342 <email>kranganathan@fb.com</email>
343 <timezone>-8</timezone>
347 <name>Lars George</name>
348 <email>larsgeorge@apache.org</email>
349 <timezone>+1</timezone>
353 <name>Lars Hofhansl</name>
354 <email>larsh@apache.org</email>
355 <timezone>-8</timezone>
359 <name>Liang Xie</name>
360 <email>liangxie@apache.org</email>
361 <timezone>+8</timezone>
365 <name>Shaohui Liu</name>
366 <email>liushaohui@apache.org</email>
367 <timezone>+8</timezone>
371 <name>Liyin Tang</name>
372 <email>liyin.tang@fb.com</email>
373 <timezone>-8</timezone>
378 <email>liyu@apache.org</email>
379 <timezone>+8</timezone>
383 <name>Mikhail Bautin</name>
384 <email>mbautin@apache.org</email>
385 <timezone>-8</timezone>
389 <name>Matteo Bertozzi</name>
390 <email>mbertozzi@apache.org</email>
391 <timezone>0</timezone>
395 <name>Misty Stanley-Jones</name>
396 <email>misty@apache.org</email>
397 <timezone>+10</timezone>
401 <name>Nick Dimiduk</name>
402 <email>ndimiduk@apache.org</email>
403 <timezone>-8</timezone>
407 <name>Nicolas Liochon</name>
408 <email>nkeywal@apache.org</email>
409 <timezone>+1</timezone>
412 <id>nspiegelberg</id>
413 <name>Nicolas Spiegelberg</name>
414 <email>nspiegelberg@fb.com</email>
415 <timezone>-8</timezone>
419 <name>Andrey Stepachev</name>
420 <email>octo47@gmail.com</email>
421 <timezone>0</timezone>
425 <name>Rajeshbabu Chintaguntla</name>
426 <email>rajeshbabu@apache.org</email>
427 <timezone>+5</timezone>
431 <name>Ramkrishna S Vasudevan</name>
432 <email>ramkrishna@apache.org</email>
433 <timezone>+5</timezone>
437 <name>Ryan Rawson</name>
438 <email>rawson@apache.org</email>
439 <timezone>-8</timezone>
443 <name>Sergey Shelukhin</name>
444 <email>sershe@apache.org</email>
445 <timezone>-8</timezone>
449 <name>Srikanth Srungarapu</name>
450 <email>ssrungarapu@apache.org</email>
451 <timezone>-8</timezone>
455 <name>Michael Stack</name>
456 <email>stack@apache.org</email>
457 <timezone>-8</timezone>
461 <name>Stephen Yuan Jiang</name>
462 <email>syuanjiang@apache.org</email>
463 <timezone>-8</timezone>
468 <email>yuzhihong@gmail.com</email>
469 <timezone>-8</timezone>
473 <name>Todd Lipcon</name>
474 <email>todd@apache.org</email>
475 <timezone>-8</timezone>
479 <name>Francis Liu</name>
480 <email>toffer@apache.org</email>
481 <timezone>-8</timezone>
485 <name>Virag Kothari</name>
486 <email>virag@yahoo-inc.com</email>
487 <timezone>-8</timezone>
491 <name>Phil Yang</name>
492 <email>yangzhe1991@apache.org</email>
493 <timezone>+8</timezone>
497 <name>Guanghao Zhang</name>
498 <email>zghao@apache.org</email>
499 <timezone>+8</timezone>
503 <name>Duo Zhang</name>
504 <email>zhangduo@apache.org</email>
505 <timezone>+8</timezone>
509 <name>Chunhui Shen</name>
510 <email>zjushch@apache.org</email>
511 <timezone>+8</timezone>
517 <groupId>kr.motd.maven</groupId>
518 <artifactId>os-maven-plugin</artifactId>
519 <version>${os.maven.version}</version>
522 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
523 For specific version use a property and define it in the parent pom.
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-remote-resources-plugin</artifactId>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-release-plugin</artifactId>
535 <!--You need this profile. It'll sign your artifacts.
536 I'm not sure if this config. actually works though.
537 I've been specifying -Papache-release on the command-line
539 <releaseProfiles>apache-release</releaseProfiles>
540 <!--This stops our running tests for each stage of maven release.
541 But it builds the test jar. From SUREFIRE-172.
543 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
544 <goals>${goals}</goals>
545 <pomFileName>pom.xml</pomFileName>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-compiler-plugin</artifactId>
552 <source>${compileSource}</source>
553 <target>${compileSource}</target>
554 <showWarnings>true</showWarnings>
555 <showDeprecation>false</showDeprecation>
556 <useIncrementalCompilation>false</useIncrementalCompilation>
557 <compilerArgument>-Xlint:-options</compilerArgument>
561 <groupId>org.apache.maven.plugins</groupId>
562 <artifactId>maven-javadoc-plugin</artifactId>
563 <version>${maven.javadoc.version}</version>
565 <source>${compileSource}</source>
568 <!-- Test oriented plugins -->
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
572 <version>${surefire.version}</version>
574 <!-- by default surefire selects dynamically the connector to the unit tests
575 tool. We want to use always the same as the different connectors can have different
576 bugs and behaviour. -->
578 <groupId>org.apache.maven.surefire</groupId>
579 <artifactId>${surefire.provider}</artifactId>
580 <version>${surefire.version}</version>
583 <!-- Generic testing configuration for all packages -->
585 <groups>${surefire.firstPartGroups}</groups>
586 <failIfNoTests>false</failIfNoTests>
587 <trimStackTrace>false</trimStackTrace>
588 <skip>${surefire.skipFirstPart}</skip>
589 <forkCount>${surefire.firstPartForkCount}</forkCount>
590 <reuseForks>false</reuseForks>
591 <reportsDirectory>${surefire.reportsDirectory}</reportsDirectory>
592 <tempDir>${surefire.tempDir}</tempDir>
593 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
594 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
595 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
596 <systemPropertyVariables>
597 <test.build.classes>${test.build.classes}</test.build.classes>
598 <java.io.tmpdir>${test.tmp.dir}</java.io.tmpdir>
599 <java.util.logging.config.class>org.apache.hadoop.hbase.logging.JulToSlf4jInitializer</java.util.logging.config.class>
600 </systemPropertyVariables>
602 <!-- users can add -D option to skip particular test classes
603 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
605 <exclude>${test.exclude.pattern}</exclude>
609 <name>listener</name>
610 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
616 <id>secondPartTestsExecution</id>
622 <skip>${surefire.skipSecondPart}</skip>
623 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
624 <reuseForks>false</reuseForks>
625 <forkCount>${surefire.secondPartForkCount}</forkCount>
626 <groups>${surefire.secondPartGroups}</groups>
627 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
633 <groupId>org.apache.maven.plugins</groupId>
634 <artifactId>maven-surefire-report-plugin</artifactId>
635 <version>${surefire.version}</version>
638 <groupId>org.codehaus.mojo</groupId>
639 <artifactId>buildnumber-maven-plugin</artifactId>
640 <version>${buildnumber.maven.version}</version>
643 <groupId>com.github.spotbugs</groupId>
644 <artifactId>spotbugs-maven-plugin</artifactId>
645 <version>${spotbugs.maven.version}</version>
647 <excludeFilterFile>${project.basedir}/../dev-support/spotbugs-exclude.xml</excludeFilterFile>
648 <spotbugsXmlOutput>true</spotbugsXmlOutput>
649 <xmlOutput>true</xmlOutput>
653 <!-- overwrite dependency on spotbugs if you want to specify the version of spotbugs -->
655 <groupId>com.github.spotbugs</groupId>
656 <artifactId>spotbugs</artifactId>
657 <version>${spotbugs.version}</version>
662 <groupId>org.codehaus.mojo</groupId>
663 <artifactId>build-helper-maven-plugin</artifactId>
664 <version>${build.helper.maven.version}</version>
667 <artifactId>maven-antrun-plugin</artifactId>
668 <version>${maven.antrun.version}</version>
671 <groupId>org.jamon</groupId>
672 <artifactId>jamon-maven-plugin</artifactId>
673 <version>${jamon.plugin.version}</version>
675 <!-- Make a jar and put the sources in the jar.
676 In the parent pom, so submodules will do the right thing. -->
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-source-plugin</artifactId>
682 <id>attach-sources</id>
683 <phase>prepare-package</phase>
685 <goal>jar-no-fork</goal>
686 <goal>test-jar-no-fork</goal>
690 <exclude>log4j.properties</exclude>
696 <!-- General configuration for submodules who want to build a test jar -->
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-jar-plugin</artifactId>
702 <phase>prepare-package</phase>
704 <!--This goal will install a -test.jar when we do install
705 See https://maven.apache.org/guides/mini/guide-attached-tests.html
707 <goal>test-jar</goal>
712 <skipIfEmpty>true</skipIfEmpty>
714 <exclude>hbase-site.xml</exclude>
715 <exclude>hdfs-site.xml</exclude>
716 <exclude>mapred-queues.xml</exclude>
717 <exclude>mapred-site.xml</exclude>
722 <!-- excludes are inherited -->
723 <groupId>org.apache.rat</groupId>
724 <artifactId>apache-rat-plugin</artifactId>
727 <exclude>**/*.versionsBackup</exclude>
728 <exclude>**/*.log</exclude>
729 <exclude>**/.*</exclude>
730 <exclude>**/*.tgz</exclude>
731 <exclude>**/*.orig</exclude>
732 <exclude>**/0000000000000016310</exclude>
733 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
734 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
735 <exclude>**/.idea/**</exclude>
736 <exclude>**/*.iml</exclude>
737 <exclude>**/CHANGES.txt</exclude>
738 <exclude>**/generated/**</exclude>
739 <exclude>**/gen-*/**</exclude>
740 <!-- No material contents -->
741 <exclude>conf/regionservers</exclude>
742 <exclude>**/*.avpr</exclude>
743 <exclude>**/*.svg</exclude>
744 <!-- non-standard notice file from jruby included by reference -->
745 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
746 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
747 <exclude>**/src/main/asciidoc/hbase.css</exclude>
748 <!-- MIT https://jquery.org/license -->
749 <exclude>**/jquery.min.js</exclude>
750 <exclude>**/jquery.tablesorter.min.js</exclude>
751 <exclude>**/parser-date-iso8601.min.js</exclude>
752 <!-- MIT: bootstrap -->
753 <exclude>**/src/main/resources/hbase-webapps/static/*/bootstrap*</exclude>
754 <!-- vector graphics -->
755 <exclude>**/*.vm</exclude>
756 <!-- apache doxia generated -->
757 <exclude>**/control</exclude>
758 <exclude>**/conffile</exclude>
759 <!-- auto-gen docs -->
760 <exclude>docs/*</exclude>
761 <exclude>logs/*</exclude>
762 <!-- exclude source control files -->
763 <exclude>.git/**</exclude>
764 <exclude>.svn/**</exclude>
765 <exclude>**/.settings/**</exclude>
766 <exclude>**/patchprocess/**</exclude>
767 <exclude>src/site/resources/repo/**</exclude>
768 <exclude>**/dependency-reduced-pom.xml</exclude>
769 <exclude>**/rat.txt</exclude>
770 <!-- exclude the shaded protobuf files -->
771 <exclude>**/shaded/com/google/protobuf/**</exclude>
772 <exclude>**/src/main/patches/**</exclude>
777 <artifactId>maven-assembly-plugin</artifactId>
779 <!--Defer to the hbase-assembly sub-module. It
781 <skipAssembly>true</skipAssembly>
785 <groupId>org.xolstice.maven.plugins</groupId>
786 <artifactId>protobuf-maven-plugin</artifactId>
787 <version>${protobuf.plugin.version}</version>
789 <protocArtifact>${external.protobuf.groupid}:protoc:${external.protoc.version}:exe:${os.detected.classifier}</protocArtifact>
790 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
791 <clearOutputDirectory>false</clearOutputDirectory>
792 <checkStaleness>true</checkStaleness>
796 <!-- Approach followed here is roughly the same as mentioned here:
797 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
799 <groupId>org.apache.maven.plugins</groupId>
800 <artifactId>maven-checkstyle-plugin</artifactId>
801 <version>${maven.checkstyle.version}</version>
804 <groupId>org.apache.hbase</groupId>
805 <artifactId>hbase-checkstyle</artifactId>
806 <version>${project.version}</version>
809 <groupId>com.puppycrawl.tools</groupId>
810 <artifactId>checkstyle</artifactId>
811 <version>${checkstyle.version}</version>
815 <configLocation>hbase/checkstyle.xml</configLocation>
816 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
817 <includeTestSourceDirectory>true</includeTestSourceDirectory>
821 <groupId>net.revelc.code</groupId>
822 <artifactId>warbucks-maven-plugin</artifactId>
823 <version>${maven.warbucks.version}</version>
825 <ignoreRuleFailures>false</ignoreRuleFailures>
828 <!-- exclude the generated java files -->
829 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
830 <includeTestClasses>false</includeTestClasses>
831 <includePublicClasses>true</includePublicClasses>
832 <includePackagePrivateClasses>false</includePackagePrivateClasses>
833 <includeProtectedClasses>false</includeProtectedClasses>
834 <includePrivateClasses>false</includePrivateClasses>
835 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
841 <id>run-warbucks</id>
843 <goal>check</goal><!-- runs at process-test-classes phase -->
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-enforcer-plugin</artifactId>
851 <version>${enforcer.version}</version>
854 <groupId>org.codehaus.mojo</groupId>
855 <artifactId>extra-enforcer-rules</artifactId>
856 <version>${extra.enforcer.version}</version>
859 <groupId>de.skuzzle.enforcer</groupId>
860 <artifactId>restrict-imports-enforcer-rule</artifactId>
861 <version>${restrict-imports.enforcer.version}</version>
866 <groupId>org.apache.maven.plugins</groupId>
867 <artifactId>maven-gpg-plugin</artifactId>
868 <version>${maven.gpg.version}</version>
874 <groupId>org.codehaus.mojo</groupId>
875 <artifactId>build-helper-maven-plugin</artifactId>
878 <id>negate-license-bundles-property</id>
880 <goal>bsh-property</goal>
883 <source>skip.license.check = !${license.bundles.dependencies};</source>
885 <property>skip.license.check</property>
889 <!-- sets where to find the generated LICENSE files -->
891 <id>create-license-file-path-property</id>
893 <goal>regex-property</goal>
896 <name>license.aggregate.path</name>
897 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
899 <replacement>/</replacement>
900 <failIfNoMatch>false</failIfNoMatch>
906 <groupId>org.apache.maven.plugins</groupId>
907 <artifactId>maven-enforcer-plugin</artifactId>
910 <id>display-info</id>
911 <phase>initialize</phase>
913 <goal>display-info</goal>
915 <inherited>false</inherited>
918 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
924 <!-- Help people activate profiles correctly -->
926 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
927 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
929 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
930 <requireMavenVersion>
931 <version>[${maven.min.version},)</version>
932 <message>Maven is out of date.
933 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
934 You appear to be using an older version. You can use either "mvn -version" or
935 "mvn enforcer:display-info" to verify what version is active.
936 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
938 </requireMavenVersion>
939 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
941 <version>[${java.min.version},)</version>
942 <message>Java is out of date.
943 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
944 You appear to be using an older version. You can use either "mvn -version" or
945 "mvn enforcer:display-info" to verify what version is active.
946 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
948 </requireJavaVersion>
951 <exclude>xerces:xercesImpl</exclude>
953 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
954 </bannedDependencies>
959 <id>banned-jsr305</id>
967 <exclude>com.google.code.findbugs:jsr305</exclude>
969 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
970 </bannedDependencies>
975 <id>banned-commons-logging</id>
983 <exclude>commons-logging:commons-logging</exclude>
986 We don't use commons-logging any more, so do not depend on it directly.
988 <searchTransitive>false</searchTransitive>
989 </bannedDependencies>
994 <id>banned-jetty</id>
1000 <bannedDependencies>
1002 <exclude>org.eclipse.jetty:**</exclude>
1005 Use shaded jetty instead
1007 <searchTransitive>false</searchTransitive>
1008 </bannedDependencies>
1013 <id>banned-jersey</id>
1015 <goal>enforce</goal>
1019 <bannedDependencies>
1021 <exclude>org.glassfish.jersey.containers:**</exclude>
1022 <exclude>org.glassfish.jersey.core:**</exclude>
1025 Use shaded jersey instead
1027 <searchTransitive>false</searchTransitive>
1028 </bannedDependencies>
1033 <id>banned-log4j</id>
1035 <goal>enforce</goal>
1039 <bannedDependencies>
1041 <exclude>log4j:**</exclude>
1042 <exclude>org.slf4j:slf4j-log4j12</exclude>
1045 Use reload4j instead
1047 </bannedDependencies>
1052 <id>check-aggregate-license</id>
1053 <!-- must check after LICENSE is built at 'generate-resources' -->
1054 <phase>process-resources</phase>
1056 <goal>enforce</goal>
1062 File license = new File("${license.aggregate.path}");
1064 // Beanshell does not support try-with-resources,
1065 // so we must close this scanner manually
1066 Scanner scanner = new Scanner(license);
1068 while (scanner.hasNextLine()) {
1069 if (scanner.nextLine().startsWith("ERROR:")) {
1078 License errors detected, for more detail find ERROR in
1079 ${license.aggregate.path}
1081 </evaluateBeanshell>
1083 <skip>${skip.license.check}</skip>
1087 <id>banned-illegal-imports</id>
1088 <phase>process-sources</phase>
1090 <goal>enforce</goal>
1094 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1095 <includeTestCode>true</includeTestCode>
1096 <commentLineBufferSize>512</commentLineBufferSize>
1097 <reason>Use SLF4j for logging</reason>
1099 <bannedImport>org.apache.commons.logging.**</bannedImport>
1102 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1103 <includeTestCode>false</includeTestCode>
1104 <commentLineBufferSize>512</commentLineBufferSize>
1106 Do not use log4j directly in code, see Log4jUtils in hbase-logging for more details.
1109 <bannedImport>org.apache.log4j.**</bannedImport>
1112 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1113 <includeTestCode>true</includeTestCode>
1114 <commentLineBufferSize>512</commentLineBufferSize>
1115 <reason>Use shaded version in hbase-thirdparty</reason>
1117 <bannedImport>com.google.common.**</bannedImport>
1118 <bannedImport>io.netty.**</bannedImport>
1119 <bannedImport>org.apache.commons.cli.**</bannedImport>
1120 <bannedImport>org.apache.commons.collections.**</bannedImport>
1121 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1124 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1125 <includeTestCode>true</includeTestCode>
1126 <commentLineBufferSize>512</commentLineBufferSize>
1127 <reason>Do not use shaded classes from other dependencies</reason>
1129 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1130 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1133 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1134 <includeTestCode>true</includeTestCode>
1135 <commentLineBufferSize>512</commentLineBufferSize>
1136 <reason>Use shaded gson in hbase-thirdparty</reason>
1138 <bannedImport>org.codehaus.jackson.**</bannedImport>
1141 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1142 <includeTestCode>true</includeTestCode>
1143 <commentLineBufferSize>512</commentLineBufferSize>
1144 <reason>Use commons lang 3</reason>
1146 <bannedImport>org.apache.commons.lang.**</bannedImport>
1149 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1150 <includeTestCode>true</includeTestCode>
1151 <commentLineBufferSize>512</commentLineBufferSize>
1152 <reason>Use yetus IA and IS annotations</reason>
1154 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1157 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1158 <includeTestCode>true</includeTestCode>
1159 <commentLineBufferSize>512</commentLineBufferSize>
1160 <reason>Do not use htrace v3</reason>
1162 <bannedImport>org.htrace.**</bannedImport>
1165 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1166 <includeTestCode>true</includeTestCode>
1167 <commentLineBufferSize>512</commentLineBufferSize>
1168 <reason>Use shaded jetty in hbase-thirdparty</reason>
1170 <bannedImport>org.eclipse.jetty.**</bannedImport>
1173 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1174 <includeTestCode>true</includeTestCode>
1175 <commentLineBufferSize>512</commentLineBufferSize>
1176 <reason>Use shaded jersey in hbase-thirdparty</reason>
1178 <bannedImport>org.glassfish.jersey.**</bannedImport>
1181 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1182 <includeTestCode>true</includeTestCode>
1183 <commentLineBufferSize>512</commentLineBufferSize>
1185 You should never use this style of annotations(i.e, 'this is for test only')
1186 in IA.Public or IA.LimitedPrivate classes. Use IA.Private to tell users this is
1188 For IA.Private classes, use RestrictedApi annotation in error prone instead.
1191 <bannedImport>org.apache.hbase.thirdparty.com.google.common.annotations.VisibleForTesting</bannedImport>
1199 <!-- parent-module only plugins -->
1201 <groupId>org.codehaus.mojo</groupId>
1202 <artifactId>xml-maven-plugin</artifactId>
1203 <version>${xml.maven.version}</version>
1204 <inherited>false</inherited>
1207 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1209 <goal>transform</goal>
1215 <transformationSets>
1216 <!-- For asciidoc -->
1218 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1219 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1221 <include>hbase-default.xml</include>
1223 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1225 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1226 <pattern>^(.*)\.xml$</pattern>
1227 <replacement>$1.adoc</replacement>
1230 <outputDir>${basedir}/target/asciidoc</outputDir>
1231 </transformationSet>
1232 </transformationSets>
1235 <!-- Special configuration for spotbugs just in the parent so
1236 the filter file location can be more general (see definition in pluginManagement) -->
1238 <groupId>com.github.spotbugs</groupId>
1239 <artifactId>spotbugs-maven-plugin</artifactId>
1242 <inherited>false</inherited>
1244 <goal>spotbugs</goal>
1247 <excludeFilterFile>${basedir}/dev-support/spotbugs-exclude.xml</excludeFilterFile>
1253 <groupId>org.apache.maven.plugins</groupId>
1254 <artifactId>maven-checkstyle-plugin</artifactId>
1257 <groupId>org.apache.maven.plugins</groupId>
1258 <artifactId>maven-site-plugin</artifactId>
1261 <!-- add support for ssh/scp -->
1262 <groupId>org.apache.maven.wagon</groupId>
1263 <artifactId>wagon-ssh</artifactId>
1264 <version>${wagon.ssh.version}</version>
1268 <siteDirectory>${basedir}/src/site</siteDirectory>
1269 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1270 <inputEncoding>UTF-8</inputEncoding>
1271 <outputEncoding>UTF-8</outputEncoding>
1274 <!-- For AsciiDoc docs building -->
1276 <groupId>org.asciidoctor</groupId>
1277 <artifactId>asciidoctor-maven-plugin</artifactId>
1278 <version>${asciidoctor.plugin.version}</version>
1279 <inherited>false</inherited>
1282 <groupId>org.asciidoctor</groupId>
1283 <artifactId>asciidoctorj-pdf</artifactId>
1284 <version>${asciidoctorj.pdf.version}</version>
1287 <groupId>org.jruby</groupId>
1288 <artifactId>jruby-complete</artifactId>
1289 <version>${jruby.version}</version>
1293 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1294 <doctype>book</doctype>
1296 <docVersion>${project.version}</docVersion>
1297 <imagesdir>images</imagesdir>
1298 <source-highlighter>coderay</source-highlighter>
1303 <id>output-html</id>
1306 <goal>process-asciidoc</goal>
1310 <stylesheet>hbase.css</stylesheet>
1312 <backend>html5</backend>
1319 <goal>process-asciidoc</goal>
1322 <backend>pdf</backend>
1327 <idseparator>-</idseparator>
1334 <groupId>org.apache.maven.plugins</groupId>
1335 <artifactId>maven-resources-plugin</artifactId>
1336 <!--$NO-MVN-MAN-VER$ -->
1337 <inherited>false</inherited>
1340 <id>copy-htaccess</id>
1342 <goal>copy-resources</goal>
1346 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1349 <directory>${basedir}/src/site/resources/</directory>
1351 <include>.htaccess</include>
1357 <!-- needed to make the redirect above work -->
1359 <id>copy-empty-book-dir</id>
1361 <goal>copy-resources</goal>
1365 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1368 <directory>${basedir}/src/site/resources/</directory>
1370 <include>book/**</include>
1378 <escapeString>\</escapeString>
1382 <groupId>org.apache.maven.plugins</groupId>
1383 <artifactId>maven-antrun-plugin</artifactId>
1384 <version>${maven.antrun.version}</version>
1385 <inherited>false</inherited>
1386 <!-- Rename the book.pdf generated by asciidoctor -->
1392 <target name="rename file">
1393 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1403 <groupId>org.codehaus.mojo</groupId>
1404 <artifactId>buildnumber-maven-plugin</artifactId>
1407 <phase>validate</phase>
1409 <goal>create-timestamp</goal>
1414 <timestampFormat>yyyy</timestampFormat>
1415 <timestampPropertyName>build.year</timestampPropertyName>
1419 <groupId>org.apache.felix</groupId>
1420 <artifactId>maven-bundle-plugin</artifactId>
1421 <version>${maven.bundle.version}</version>
1422 <inherited>true</inherited>
1423 <extensions>true</extensions>
1428 <!-- override on command line to have generated LICENSE files include
1429 diagnostic info for verifying notice requirements -->
1430 <license.debug.print.included>false</license.debug.print.included>
1431 <!-- When a particular module bundles its depenendencies, should be true -->
1432 <license.bundles.dependencies>false</license.bundles.dependencies>
1433 <!-- modules that include a the logo in their source tree should set true -->
1434 <license.bundles.logo>false</license.bundles.logo>
1435 <!-- modules that include bootstrap in their source tree should set true -->
1436 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1437 <!-- modules that include jquery in their source tree should set true -->
1438 <license.bundles.jquery>false</license.bundles.jquery>
1439 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1440 <maven.build.timestamp.format>
1442 </maven.build.timestamp.format>
1443 <buildDate>${maven.build.timestamp}</buildDate>
1444 <compileSource>1.8</compileSource>
1445 <!-- Build dependencies -->
1446 <maven.min.version>3.0.4</maven.min.version>
1447 <java.min.version>${compileSource}</java.min.version>
1448 <!-- Dependencies -->
1449 <hadoop-two.version>2.10.0</hadoop-two.version>
1450 <hadoop-three.version>3.1.2</hadoop-three.version>
1451 <!-- These must be defined here for downstream build tools that don't look at profiles.
1452 They ought to match the values found in our default hadoop profile, which is
1453 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1454 <hadoop.version>${hadoop-two.version}</hadoop.version>
1455 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1456 <compat.module>hbase-hadoop2-compat</compat.module>
1457 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1458 <!--This property is for hadoops netty. HBase netty
1459 comes in via hbase-thirdparty hbase-shaded-netty-->
1460 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1461 <!-- end HBASE-15925 default hadoop compatibility values -->
1462 <audience-annotations.version>0.5.0</audience-annotations.version>
1463 <avro.version>1.7.7</avro.version>
1464 <caffeine.version>2.8.1</caffeine.version>
1465 <commons-codec.version>1.13</commons-codec.version>
1466 <commons-io.version>2.11.0</commons-io.version>
1467 <commons-lang3.version>3.9</commons-lang3.version>
1468 <commons-math.version>3.6.1</commons-math.version>
1469 <disruptor.version>3.4.2</disruptor.version>
1470 <!-- Updating the httpclient will break hbase-rest. It writes out URLs with '//' in it
1471 especially when writing out 'no column families'. Later httpclients collapse the '//'
1472 into single '/' as double-slash is not legal in an URL. Breaks #testDelete in
1473 TestRemoteTable. -->
1474 <httpclient.version>4.5.3</httpclient.version>
1475 <httpcore.version>4.4.13</httpcore.version>
1476 <metrics-core.version>3.2.6</metrics-core.version>
1477 <jackson.version>2.10.1</jackson.version>
1478 <jackson.databind.version>2.10.1</jackson.databind.version>
1479 <jaxb-api.version>2.3.1</jaxb-api.version>
1480 <servlet.api.version>3.1.0</servlet.api.version>
1481 <wx.rs.api.version>2.1.1</wx.rs.api.version>
1482 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1483 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1484 <jruby.version>9.2.13.0</jruby.version>
1485 <junit.version>4.13.2</junit.version>
1486 <hamcrest.version>1.3</hamcrest.version>
1487 <htrace.version>4.2.0-incubating</htrace.version>
1488 <reload4j.version>1.2.19</reload4j.version>
1489 <mockito-core.version>2.28.2</mockito-core.version>
1490 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1491 <external.protobuf.groupid>com.google.protobuf</external.protobuf.groupid>
1492 <external.protobuf.version>2.5.0</external.protobuf.version>
1493 <external.protoc.version>${external.protobuf.version}</external.protoc.version>
1494 <protobuf.plugin.version>0.6.1</protobuf.plugin.version>
1495 <thrift.path>thrift</thrift.path>
1496 <thrift.version>0.14.1</thrift.version>
1497 <zookeeper.version>3.5.7</zookeeper.version>
1498 <jline.version>2.11</jline.version>
1499 <slf4j.version>1.7.33</slf4j.version>
1500 <clover.version>4.0.3</clover.version>
1501 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1502 <jettison.version>1.3.8</jettison.version>
1503 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1504 <joni.version>2.1.31</joni.version>
1505 <jcodings.version>1.0.55</jcodings.version>
1506 <spy.version>2.12.2</spy.version>
1507 <bouncycastle.version>1.60</bouncycastle.version>
1508 <kerby.version>1.0.1</kerby.version>
1509 <commons-crypto.version>1.0.0</commons-crypto.version>
1510 <curator.version>4.2.0</curator.version>
1511 <!-- Plugin Dependencies -->
1512 <asciidoctor.plugin.version>2.1.0</asciidoctor.plugin.version>
1513 <asciidoctorj.pdf.version>1.5.3</asciidoctorj.pdf.version>
1514 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1515 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1517 When updating checkstyle.version, please make the same change in `.idea/checkstyle-idea.xml`
1519 <checkstyle.version>8.28</checkstyle.version>
1520 <exec.maven.version>1.6.0</exec.maven.version>
1521 <error-prone.version>2.10.0</error-prone.version>
1522 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1523 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1524 <maven.antrun.version>1.8</maven.antrun.version>
1525 <maven.bundle.version>3.3.0</maven.bundle.version>
1526 <maven.checkstyle.version>3.1.0</maven.checkstyle.version>
1527 <maven.eclipse.version>2.10</maven.eclipse.version>
1528 <maven.gpg.version>3.0.1</maven.gpg.version>
1529 <maven.javadoc.version>3.2.0</maven.javadoc.version>
1530 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1531 <maven.project.info.report.version>3.1.2</maven.project.info.report.version>
1532 <os.maven.version>1.5.0.Final</os.maven.version>
1533 <findbugs-annotations.version>1.3.9-1</findbugs-annotations.version>
1534 <spotbugs.version>4.2.2</spotbugs.version>
1535 <spotbugs.maven.version>4.2.0</spotbugs.maven.version>
1536 <surefire.version>3.0.0-M4</surefire.version>
1537 <wagon.ssh.version>2.12</wagon.ssh.version>
1538 <xml.maven.version>1.0.1</xml.maven.version>
1539 <hbase-thirdparty.version>3.5.1</hbase-thirdparty.version>
1540 <!-- Intraproject jar naming properties -->
1541 <!-- TODO this is pretty ugly, but works for the moment.
1542 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1543 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1544 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1545 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1546 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1547 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1548 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1549 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1550 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1551 <asyncfs.test.jar>hbase-asyncfs-${project.version}-tests.jar</asyncfs.test.jar>
1552 <shell-executable>bash</shell-executable>
1553 <surefire.provider>surefire-junit47</surefire.provider>
1554 <!-- default: run small & medium, medium with 2 threads -->
1555 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1556 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1557 <!-- Fork count varies w/ CPU count. Setting is conservative mostly determined
1558 by what apache jenkins nightly builds will tolerate (See HBASE-24072). Up this
1559 value is you want to burn through tests faster (could make for more failures
1560 if more contention around resources). There is a matching MAVEN_ARG
1561 in our yetus personality where we set the maven -T command to 0.25C too.
1562 For example, to run at a rate that is more furious than our 0.25C, do
1563 something like this:
1564 f="0.5C" ; mvn -T$f -Dsurefire.firstPartForkCount=$f -Dsurefire.secondPartForkCount=$f test -PrunAllTests
1566 <surefire.firstPartForkCount>0.25C</surefire.firstPartForkCount>
1567 <surefire.secondPartForkCount>0.25C</surefire.secondPartForkCount>
1568 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1569 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1570 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1571 <test.output.tofile>true</test.output.tofile>
1572 <surefire.timeout>900</surefire.timeout>
1573 <test.exclude.pattern></test.exclude.pattern>
1575 Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value.
1576 This value is managed separately for jdk11. See below.
1578 <surefire.Xmx>2200m</surefire.Xmx>
1579 <surefire.cygwinXmx>2200m</surefire.cygwinXmx>
1580 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1582 And for netty eventloops that have no explicit configuration, netty sets
1583 nioeventloopgroup thread count to CPU count * 2. Thats too much for mini
1586 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1587 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1588 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1589 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1590 -Dio.netty.eventLoopThreads=3
1591 </hbase-surefire.argLine>
1592 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1593 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1594 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1595 -Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level=advanced
1596 </hbase-surefire.cygwin-argLine>
1597 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1598 <argLine>${hbase-surefire.argLine}</argLine>
1599 <jacoco.version>0.7.5.201505241946</jacoco.version>
1600 <extra.enforcer.version>1.3</extra.enforcer.version>
1601 <enforcer.version>3.0.0-M3</enforcer.version>
1602 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1603 <!-- Location of test resources -->
1604 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1605 <test.tmp.dir>${project.build.directory}</test.tmp.dir>
1606 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1607 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1608 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1609 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1610 <build.id>${maven.build.timestamp}</build.id>
1611 <shell-executable>bash</shell-executable>
1612 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1613 property as of javadoc-plugin 3.0.0 -->
1614 <doclint>none</doclint>
1616 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1617 <dependencyManagement>
1620 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1621 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1622 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1623 implementation of the same, because Hadoop also uses this version
1624 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1625 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1627 <!-- Intra-module dependencies -->
1629 <groupId>org.apache.hbase</groupId>
1630 <artifactId>hbase-annotations</artifactId>
1631 <version>${project.version}</version>
1632 <type>test-jar</type>
1633 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1636 <groupId>org.apache.hbase</groupId>
1637 <artifactId>hbase-common</artifactId>
1638 <version>${project.version}</version>
1641 <groupId>org.apache.hbase</groupId>
1642 <artifactId>hbase-common</artifactId>
1643 <version>${project.version}</version>
1644 <type>test-jar</type>
1648 <groupId>org.apache.hbase</groupId>
1649 <artifactId>hbase-logging</artifactId>
1650 <version>${project.version}</version>
1653 <groupId>org.apache.hbase</groupId>
1654 <artifactId>hbase-logging</artifactId>
1655 <version>${project.version}</version>
1656 <type>test-jar</type>
1660 <groupId>org.apache.hbase</groupId>
1661 <artifactId>hbase-protocol-shaded</artifactId>
1662 <version>${project.version}</version>
1665 <groupId>org.apache.hbase</groupId>
1666 <artifactId>hbase-protocol</artifactId>
1667 <version>${project.version}</version>
1670 <groupId>org.apache.hbase</groupId>
1671 <artifactId>hbase-procedure</artifactId>
1672 <version>${project.version}</version>
1675 <groupId>org.apache.hbase</groupId>
1676 <artifactId>hbase-procedure</artifactId>
1677 <version>${project.version}</version>
1678 <type>test-jar</type>
1681 <groupId>org.apache.hbase</groupId>
1682 <artifactId>hbase-hadoop-compat</artifactId>
1683 <version>${project.version}</version>
1686 <groupId>org.apache.hbase</groupId>
1687 <artifactId>hbase-hadoop-compat</artifactId>
1688 <version>${project.version}</version>
1689 <type>test-jar</type>
1693 <groupId>org.apache.hbase</groupId>
1694 <artifactId>${compat.module}</artifactId>
1695 <version>${project.version}</version>
1698 <groupId>org.apache.hbase</groupId>
1699 <artifactId>${compat.module}</artifactId>
1700 <version>${project.version}</version>
1701 <type>test-jar</type>
1705 <artifactId>hbase-rsgroup</artifactId>
1706 <groupId>org.apache.hbase</groupId>
1707 <version>${project.version}</version>
1710 <artifactId>hbase-rsgroup</artifactId>
1711 <groupId>org.apache.hbase</groupId>
1712 <version>${project.version}</version>
1713 <type>test-jar</type>
1717 <artifactId>hbase-replication</artifactId>
1718 <groupId>org.apache.hbase</groupId>
1719 <version>${project.version}</version>
1722 <artifactId>hbase-http</artifactId>
1723 <groupId>org.apache.hbase</groupId>
1724 <version>${project.version}</version>
1727 <artifactId>hbase-http</artifactId>
1728 <groupId>org.apache.hbase</groupId>
1729 <version>${project.version}</version>
1730 <type>test-jar</type>
1734 <artifactId>hbase-server</artifactId>
1735 <groupId>org.apache.hbase</groupId>
1736 <version>${project.version}</version>
1739 <artifactId>hbase-server</artifactId>
1740 <groupId>org.apache.hbase</groupId>
1741 <version>${project.version}</version>
1742 <type>test-jar</type>
1746 <artifactId>hbase-mapreduce</artifactId>
1747 <groupId>org.apache.hbase</groupId>
1748 <version>${project.version}</version>
1751 <artifactId>hbase-mapreduce</artifactId>
1752 <groupId>org.apache.hbase</groupId>
1753 <version>${project.version}</version>
1754 <type>test-jar</type>
1758 <artifactId>hbase-endpoint</artifactId>
1759 <groupId>org.apache.hbase</groupId>
1760 <version>${project.version}</version>
1763 <artifactId>hbase-shell</artifactId>
1764 <groupId>org.apache.hbase</groupId>
1765 <version>${project.version}</version>
1768 <artifactId>hbase-shell</artifactId>
1769 <groupId>org.apache.hbase</groupId>
1770 <version>${project.version}</version>
1771 <type>test-jar</type>
1775 <artifactId>hbase-thrift</artifactId>
1776 <groupId>org.apache.hbase</groupId>
1777 <version>${project.version}</version>
1780 <artifactId>hbase-thrift</artifactId>
1781 <groupId>org.apache.hbase</groupId>
1782 <version>${project.version}</version>
1783 <type>test-jar</type>
1787 <groupId>org.apache.hbase</groupId>
1788 <artifactId>hbase-testing-util</artifactId>
1789 <version>${project.version}</version>
1793 <artifactId>hbase-examples</artifactId>
1794 <groupId>org.apache.hbase</groupId>
1795 <version>${project.version}</version>
1798 <groupId>org.apache.hbase</groupId>
1799 <artifactId>hbase-external-blockcache</artifactId>
1800 <version>${project.version}</version>
1803 <artifactId>hbase-it</artifactId>
1804 <groupId>org.apache.hbase</groupId>
1805 <version>${project.version}</version>
1806 <type>test-jar</type>
1810 <artifactId>hbase-client</artifactId>
1811 <groupId>org.apache.hbase</groupId>
1812 <version>${project.version}</version>
1815 <artifactId>hbase-metrics-api</artifactId>
1816 <groupId>org.apache.hbase</groupId>
1817 <version>${project.version}</version>
1820 <artifactId>hbase-metrics-api</artifactId>
1821 <groupId>org.apache.hbase</groupId>
1822 <version>${project.version}</version>
1823 <type>test-jar</type>
1827 <artifactId>hbase-metrics</artifactId>
1828 <groupId>org.apache.hbase</groupId>
1829 <version>${project.version}</version>
1832 <artifactId>hbase-metrics</artifactId>
1833 <groupId>org.apache.hbase</groupId>
1834 <version>${project.version}</version>
1835 <type>test-jar</type>
1839 <artifactId>hbase-rest</artifactId>
1840 <groupId>org.apache.hbase</groupId>
1841 <version>${project.version}</version>
1844 <artifactId>hbase-resource-bundle</artifactId>
1845 <groupId>org.apache.hbase</groupId>
1846 <version>${project.version}</version>
1849 <artifactId>hbase-zookeeper</artifactId>
1850 <groupId>org.apache.hbase</groupId>
1851 <version>${project.version}</version>
1854 <groupId>com.google.code.findbugs</groupId>
1855 <artifactId>jsr305</artifactId>
1858 <groupId>com.github.spotbugs</groupId>
1859 <artifactId>spotbugs-annotations</artifactId>
1864 <artifactId>hbase-zookeeper</artifactId>
1865 <groupId>org.apache.hbase</groupId>
1866 <version>${project.version}</version>
1867 <type>test-jar</type>
1871 <artifactId>hbase-hbtop</artifactId>
1872 <groupId>org.apache.hbase</groupId>
1873 <version>${project.version}</version>
1876 <groupId>org.apache.hbase</groupId>
1877 <artifactId>hbase-shaded-client</artifactId>
1878 <version>${project.version}</version>
1881 <groupId>org.apache.hbase</groupId>
1882 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1883 <version>${project.version}</version>
1886 <groupId>org.apache.hbase</groupId>
1887 <artifactId>hbase-shaded-mapreduce</artifactId>
1888 <version>${project.version}</version>
1891 <groupId>org.apache.hbase</groupId>
1892 <artifactId>hbase-asyncfs</artifactId>
1893 <version>${project.version}</version>
1896 <groupId>org.apache.hbase</groupId>
1897 <artifactId>hbase-asyncfs</artifactId>
1898 <version>${project.version}</version>
1899 <type>test-jar</type>
1902 <!-- General dependencies -->
1904 <groupId>com.github.stephenc.findbugs</groupId>
1905 <artifactId>findbugs-annotations</artifactId>
1906 <version>${findbugs-annotations.version}</version>
1909 Logging dependencies. In general, we use slf4j as the log facade in HBase, so all sub
1910 modules should depend on slf4j-api at compile scope, and then depend on slf4j-log4j12
1911 and log4j at test scope(and in hbase-assembly when shipping the binary) to redirect the
1912 log message to log4j. Do not introduce logging dependencies other than slf4j-api at compile
1913 scope as it will mess up the logging framework for downstream users.
1914 Here we also depend on jcl-over-slf4j and jul-to-slf4j, as some of the libraries we depend
1915 on use these logging framework so we need to redirect their log message to slf4j, and then
1916 redirect the log message to our log4j framework.
1919 <groupId>org.codehaus.jettison</groupId>
1920 <artifactId>jettison</artifactId>
1921 <version>${jettison.version}</version>
1924 <groupId>org.slf4j</groupId>
1925 <artifactId>slf4j-api</artifactId>
1926 <version>${slf4j.version}</version>
1929 <groupId>org.slf4j</groupId>
1930 <artifactId>slf4j-reload4j</artifactId>
1931 <version>${slf4j.version}</version>
1934 <groupId>org.slf4j</groupId>
1935 <artifactId>jcl-over-slf4j</artifactId>
1936 <version>${slf4j.version}</version>
1939 <groupId>org.slf4j</groupId>
1940 <artifactId>jul-to-slf4j</artifactId>
1941 <version>${slf4j.version}</version>
1944 <groupId>ch.qos.reload4j</groupId>
1945 <artifactId>reload4j</artifactId>
1946 <version>${reload4j.version}</version>
1948 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1950 <groupId>org.apache.avro</groupId>
1951 <artifactId>avro</artifactId>
1952 <version>${avro.version}</version>
1954 <!--This is not used by hbase directly. Used by thrift,
1955 dropwizard and zk.-->
1957 <groupId>com.github.ben-manes.caffeine</groupId>
1958 <artifactId>caffeine</artifactId>
1959 <version>${caffeine.version}</version>
1962 <groupId>io.dropwizard.metrics</groupId>
1963 <artifactId>metrics-core</artifactId>
1964 <version>${metrics-core.version}</version>
1967 <groupId>org.apache.httpcomponents</groupId>
1968 <artifactId>httpclient</artifactId>
1969 <version>${httpclient.version}</version>
1972 <groupId>org.apache.httpcomponents</groupId>
1973 <artifactId>httpcore</artifactId>
1974 <version>${httpcore.version}</version>
1977 <groupId>commons-codec</groupId>
1978 <artifactId>commons-codec</artifactId>
1979 <version>${commons-codec.version}</version>
1982 <groupId>commons-io</groupId>
1983 <artifactId>commons-io</artifactId>
1984 <version>${commons-io.version}</version>
1987 <groupId>org.apache.commons</groupId>
1988 <artifactId>commons-lang3</artifactId>
1989 <version>${commons-lang3.version}</version>
1992 <groupId>org.apache.commons</groupId>
1993 <artifactId>commons-math3</artifactId>
1994 <version>${commons-math.version}</version>
1997 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2000 <groupId>commons-logging</groupId>
2001 <artifactId>commons-logging</artifactId>
2002 <version>1.2</version>
2005 <groupId>org.apache.zookeeper</groupId>
2006 <artifactId>zookeeper</artifactId>
2007 <version>${zookeeper.version}</version>
2010 <groupId>com.google.code.findbugs</groupId>
2011 <artifactId>jsr305</artifactId>
2014 <groupId>com.github.spotbugs</groupId>
2015 <artifactId>spotbugs-annotations</artifactId>
2018 <groupId>jline</groupId>
2019 <artifactId>jline</artifactId>
2022 <groupId>com.sun.jmx</groupId>
2023 <artifactId>jmxri</artifactId>
2026 <groupId>com.sun.jdmk</groupId>
2027 <artifactId>jmxtools</artifactId>
2030 <groupId>javax.jms</groupId>
2031 <artifactId>jms</artifactId>
2034 <groupId>io.netty</groupId>
2035 <artifactId>netty</artifactId>
2038 <groupId>io.netty</groupId>
2039 <artifactId>netty-all</artifactId>
2042 <groupId>org.slf4j</groupId>
2043 <artifactId>slf4j-log4j12</artifactId>
2046 <groupId>log4j</groupId>
2047 <artifactId>log4j</artifactId>
2052 <groupId>jline</groupId>
2053 <artifactId>jline</artifactId>
2054 <version>${jline.version}</version>
2057 <groupId>org.apache.thrift</groupId>
2058 <artifactId>libthrift</artifactId>
2059 <version>${thrift.version}</version>
2062 <groupId>org.apache.tomcat.embed</groupId>
2063 <artifactId>tomcat-embed-core</artifactId>
2068 <groupId>org.jruby</groupId>
2069 <artifactId>jruby-complete</artifactId>
2070 <version>${jruby.version}</version>
2073 <groupId>org.jruby.jcodings</groupId>
2074 <artifactId>jcodings</artifactId>
2075 <version>${jcodings.version}</version>
2078 <groupId>org.jruby.joni</groupId>
2079 <artifactId>joni</artifactId>
2080 <version>${joni.version}</version>
2083 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2084 <artifactId>jackson-jaxrs-json-provider</artifactId>
2085 <version>${jackson.version}</version>
2088 <groupId>com.fasterxml.jackson.core</groupId>
2089 <artifactId>jackson-annotations</artifactId>
2090 <version>${jackson.version}</version>
2093 <groupId>com.fasterxml.jackson.core</groupId>
2094 <artifactId>jackson-core</artifactId>
2095 <version>${jackson.version}</version>
2098 <groupId>com.fasterxml.jackson.core</groupId>
2099 <artifactId>jackson-databind</artifactId>
2100 <version>${jackson.databind.version}</version>
2103 <groupId>org.jamon</groupId>
2104 <artifactId>jamon-runtime</artifactId>
2105 <version>${jamon-runtime.version}</version>
2107 <!-- REST dependencies -->
2109 <groupId>javax.servlet</groupId>
2110 <artifactId>javax.servlet-api</artifactId>
2111 <version>${servlet.api.version}</version>
2114 <groupId>javax.ws.rs</groupId>
2115 <artifactId>javax.ws.rs-api</artifactId>
2116 <version>${wx.rs.api.version}</version>
2119 <groupId>com.sun.activation</groupId>
2120 <artifactId>javax.activation</artifactId>
2121 <version>1.2.0</version>
2124 <groupId>javax.annotation</groupId>
2125 <artifactId>javax.annotation-api</artifactId>
2126 <version>1.2</version>
2129 <groupId>com.google.protobuf</groupId>
2130 <artifactId>protobuf-java</artifactId>
2131 <version>${external.protobuf.version}</version>
2134 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2135 <groupId>org.glassfish.web</groupId>
2136 <artifactId>javax.servlet.jsp</artifactId>
2137 <version>${glassfish.jsp.version}</version>
2140 <!-- this lib is used by the compiled Jsp from the above JspC -->
2141 <groupId>javax.servlet.jsp</groupId>
2142 <artifactId>javax.servlet.jsp-api</artifactId>
2143 <version>2.3.1</version>
2146 <groupId>org.glassfish</groupId>
2147 <artifactId>javax.el</artifactId>
2148 <version>${glassfish.el.version}</version>
2151 <groupId>javax.xml.bind</groupId>
2152 <artifactId>jaxb-api</artifactId>
2153 <version>${jaxb-api.version}</version>
2156 <groupId>javax.xml.stream</groupId>
2157 <artifactId>stax-api</artifactId>
2162 <groupId>junit</groupId>
2163 <artifactId>junit</artifactId>
2164 <version>${junit.version}</version>
2167 <groupId>org.hamcrest</groupId>
2168 <artifactId>hamcrest-core</artifactId>
2169 <version>${hamcrest.version}</version>
2172 <groupId>org.hamcrest</groupId>
2173 <artifactId>hamcrest-library</artifactId>
2174 <version>${hamcrest.version}</version>
2177 <groupId>org.mockito</groupId>
2178 <artifactId>mockito-core</artifactId>
2179 <version>${mockito-core.version}</version>
2183 <groupId>org.apache.htrace</groupId>
2184 <artifactId>htrace-core4</artifactId>
2185 <version>${htrace.version}</version>
2188 <groupId>com.lmax</groupId>
2189 <artifactId>disruptor</artifactId>
2190 <version>${disruptor.version}</version>
2193 <groupId>net.spy</groupId>
2194 <artifactId>spymemcached</artifactId>
2195 <version>${spy.version}</version>
2196 <optional>true</optional>
2199 <groupId>org.bouncycastle</groupId>
2200 <artifactId>bcprov-jdk15on</artifactId>
2201 <version>${bouncycastle.version}</version>
2205 <groupId>org.apache.kerby</groupId>
2206 <artifactId>kerb-core</artifactId>
2207 <version>${kerby.version}</version>
2210 <groupId>org.apache.kerby</groupId>
2211 <artifactId>kerb-client</artifactId>
2212 <version>${kerby.version}</version>
2215 <groupId>org.apache.kerby</groupId>
2216 <artifactId>kerb-simplekdc</artifactId>
2217 <version>${kerby.version}</version>
2220 <groupId>org.apache.commons</groupId>
2221 <artifactId>commons-crypto</artifactId>
2222 <version>${commons-crypto.version}</version>
2225 <groupId>net.java.dev.jna</groupId>
2226 <artifactId>jna</artifactId>
2231 <groupId>org.apache.curator</groupId>
2232 <artifactId>curator-framework</artifactId>
2233 <version>${curator.version}</version>
2236 <groupId>org.apache.zookeeper</groupId>
2237 <artifactId>zookeeper</artifactId>
2242 <groupId>org.apache.curator</groupId>
2243 <artifactId>curator-client</artifactId>
2244 <version>${curator.version}</version>
2247 <groupId>com.google.guava</groupId>
2248 <artifactId>guava</artifactId>
2251 <groupId>org.apache.zookeeper</groupId>
2252 <artifactId>zookeeper</artifactId>
2257 <groupId>org.apache.curator</groupId>
2258 <artifactId>curator-recipes</artifactId>
2259 <version>${curator.version}</version>
2262 <groupId>com.google.guava</groupId>
2263 <artifactId>guava</artifactId>
2266 <groupId>org.apache.zookeeper</groupId>
2267 <artifactId>zookeeper</artifactId>
2272 <groupId>org.apache.yetus</groupId>
2273 <artifactId>audience-annotations</artifactId>
2274 <version>${audience-annotations.version}</version>
2277 <groupId>org.apache.hbase.thirdparty</groupId>
2278 <artifactId>hbase-shaded-gson</artifactId>
2279 <version>${hbase-thirdparty.version}</version>
2282 <groupId>org.apache.hbase.thirdparty</groupId>
2283 <artifactId>hbase-shaded-miscellaneous</artifactId>
2284 <version>${hbase-thirdparty.version}</version>
2287 <groupId>org.apache.hbase.thirdparty</groupId>
2288 <artifactId>hbase-shaded-netty</artifactId>
2289 <version>${hbase-thirdparty.version}</version>
2292 <groupId>org.apache.hbase.thirdparty</groupId>
2293 <artifactId>hbase-shaded-protobuf</artifactId>
2294 <version>${hbase-thirdparty.version}</version>
2297 <groupId>org.apache.hbase.thirdparty</groupId>
2298 <artifactId>hbase-shaded-jetty</artifactId>
2299 <version>${hbase-thirdparty.version}</version>
2302 <groupId>org.apache.hbase.thirdparty</groupId>
2303 <artifactId>hbase-shaded-jersey</artifactId>
2304 <version>${hbase-thirdparty.version}</version>
2307 <groupId>com.sun.xml.ws</groupId>
2308 <artifactId>jaxws-ri</artifactId>
2309 <version>2.3.2</version>
2313 <groupId>javax.activation</groupId>
2314 <artifactId>javax.activation-api</artifactId>
2319 </dependencyManagement>
2321 <!--REMOVE THIS. HERE TEMPORARILY.
2322 Implication is that every module needs junit which is not so.
2323 Cannot undo though because build runs test on each module and
2324 it fails if no junit. TODO. -->
2326 <groupId>junit</groupId>
2327 <artifactId>junit</artifactId>
2333 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2338 <id>apache.releases.https</id>
2339 <username>hbase_committer</username>
2340 <password>********</password>
2344 <id>apache.snapshots.https</id>
2345 <username>hbase_committer</username>
2346 <password>********</password>
2354 $ mvn -s /my/path/settings.xml deploy
2362 <name>!skip-rsgroup</name>
2366 <module>hbase-rsgroup</module>
2370 <id>build-with-jdk8</id>
2382 <id>build-with-jdk11</id>
2387 <!-- TODO: replicate logic for windows support -->
2388 <argLine>--add-opens=java.base/jdk.internal.ref=ALL-UNNAMED ${hbase-surefire.argLine}</argLine>
2389 <!-- We need a minimum HDFS version of 3.2.0 for HADOOP-12760 -->
2390 <hadoop-three.version>3.2.0</hadoop-three.version>
2392 Value to use for surefire when running jdk11.
2393 TODO: replicate logic for windows
2395 <surefire.Xmx>2200m</surefire.Xmx>
2400 <groupId>org.apache.maven.plugins</groupId>
2401 <artifactId>maven-enforcer-plugin</artifactId>
2404 <id>hadoop3-profile-required</id>
2406 <goal>enforce</goal>
2412 $ JAVA_HOME=... mvn -Dhadoop.profile=3.0 -PrunSmallTests help:active-profiles enforcer:display-info clean test
2413 enforcer plugin does not see active profiles on sub-modules, so enforce based
2414 on the presence of the activation property and value.
2416 <property>hadoop.profile</property>
2417 <regex>.*3\.0$</regex>
2419 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2422 HBase with JDK11 requires Hadoop3. Activate the profile with `-Dhadoop.profile=3.0`.
2433 <!-- profile activated by the Jenkins patch testing job -->
2435 <id>jenkins.patch</id>
2437 <activeByDefault>false</activeByDefault>
2439 <name>HBasePatchProcess</name>
2443 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2448 <groupId>org.apache.maven.plugins</groupId>
2449 <artifactId>maven-antrun-plugin</artifactId>
2450 <inherited>false</inherited>
2453 <phase>validate</phase>
2459 <echo>Maven Execution Environment</echo>
2460 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2472 <activeByDefault>false</activeByDefault>
2477 <groupId>org.jacoco</groupId>
2478 <artifactId>jacoco-maven-plugin</artifactId>
2479 <version>${jacoco.version}</version>
2482 <id>prepare-agent</id>
2484 <goal>prepare-agent</goal>
2489 <phase>prepare-package</phase>
2496 <systemPropertyVariables>
2497 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2498 </systemPropertyVariables>
2500 <exclude>**/generated/**/*.class</exclude>
2510 <activeByDefault>false</activeByDefault>
2512 <family>Linux</family>
2516 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2523 <family>Mac</family>
2527 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2534 <family>Windows</family>
2538 <build.platform>cygwin</build.platform>
2539 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2542 <!-- this profile should match the name of the release profile in the root asf pom -->
2544 <id>apache-release</id>
2547 <!-- This should insert itself in place of the normal deploy plugin and then
2548 handle either closing or dropping the staging repository for us depending
2549 on if the build succeeds.
2552 <groupId>org.sonatype.plugins</groupId>
2553 <artifactId>nexus-staging-maven-plugin</artifactId>
2554 <version>1.6.8</version>
2555 <extensions>true</extensions>
2557 <nexusUrl>https://repository.apache.org/</nexusUrl>
2558 <serverId>apache.releases.https</serverId>
2564 <!-- this profile should be activated for release builds -->
2570 <groupId>org.apache.rat</groupId>
2571 <artifactId>apache-rat-plugin</artifactId>
2574 <phase>package</phase>
2582 <groupId>org.apache.maven.plugins</groupId>
2583 <artifactId>maven-enforcer-plugin</artifactId>
2584 <version>${enforcer.version}</version>
2587 <groupId>org.codehaus.mojo</groupId>
2588 <artifactId>extra-enforcer-rules</artifactId>
2589 <version>${extra.enforcer.version}</version>
2594 <enforceBytecodeVersion>
2595 <maxJdkVersion>${compileSource}</maxJdkVersion>
2596 <message>HBase has unsupported dependencies.
2597 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2598 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2599 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2600 Non-release builds can temporarily build with a newer JDK version by setting the
2601 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2604 <ignoreClass>module-info</ignoreClass>
2606 </enforceBytecodeVersion>
2613 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2614 <!-- Submodules that need hadoop dependencies should declare
2615 profiles with activation properties matching the profile here.
2616 Generally, it should be sufficient to copy the first
2617 few lines of the profile you want to match. -->
2618 <!-- profile for building against Hadoop 2.0.x
2619 This is the default.
2625 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2626 <!--h2--><name>!hadoop.profile</name>
2630 <module>hbase-hadoop2-compat</module>
2633 <hadoop.version>${hadoop-two.version}</hadoop.version>
2634 <compat.module>hbase-hadoop2-compat</compat.module>
2635 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2636 <!--This property is for hadoops netty. HBase netty
2637 comes in via hbase-thirdparty hbase-shaded-netty-->
2638 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2640 <dependencyManagement>
2643 <groupId>org.apache.hadoop</groupId>
2644 <artifactId>hadoop-mapreduce-client-core</artifactId>
2645 <version>${hadoop-two.version}</version>
2648 <groupId>com.sun.jersey</groupId>
2649 <artifactId>jersey-core</artifactId>
2652 <groupId>org.codehaus.jackson</groupId>
2653 <artifactId>jackson-jaxrs</artifactId>
2656 <groupId>org.codehaus.jackson</groupId>
2657 <artifactId>jackson-xc</artifactId>
2660 <groupId>io.netty</groupId>
2661 <artifactId>netty</artifactId>
2664 <groupId>io.netty</groupId>
2665 <artifactId>netty-all</artifactId>
2668 <groupId>javax.servlet</groupId>
2669 <artifactId>servlet-api</artifactId>
2672 <groupId>javax.inject</groupId>
2673 <artifactId>javax.inject</artifactId>
2676 <groupId>org.codehaus.jackson</groupId>
2677 <artifactId>jackson-core-asl</artifactId>
2680 <groupId>org.codehaus.jackson</groupId>
2681 <artifactId>jackson-mapper-asl</artifactId>
2684 <groupId>org.slf4j</groupId>
2685 <artifactId>slf4j-log4j12</artifactId>
2688 <groupId>log4j</groupId>
2689 <artifactId>log4j</artifactId>
2694 <groupId>org.apache.hadoop</groupId>
2695 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2696 <version>${hadoop-two.version}</version>
2699 <groupId>com.sun.jersey</groupId>
2700 <artifactId>jersey-core</artifactId>
2703 <groupId>io.netty</groupId>
2704 <artifactId>netty</artifactId>
2707 <groupId>io.netty</groupId>
2708 <artifactId>netty-all</artifactId>
2711 <groupId>javax.servlet</groupId>
2712 <artifactId>servlet-api</artifactId>
2715 <groupId>org.slf4j</groupId>
2716 <artifactId>slf4j-log4j12</artifactId>
2719 <groupId>log4j</groupId>
2720 <artifactId>log4j</artifactId>
2725 <groupId>org.apache.hadoop</groupId>
2726 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2727 <version>${hadoop-two.version}</version>
2728 <type>test-jar</type>
2732 <groupId>com.sun.jersey</groupId>
2733 <artifactId>jersey-core</artifactId>
2736 <groupId>io.netty</groupId>
2737 <artifactId>netty</artifactId>
2740 <groupId>io.netty</groupId>
2741 <artifactId>netty-all</artifactId>
2744 <groupId>javax.servlet</groupId>
2745 <artifactId>servlet-api</artifactId>
2748 <groupId>org.slf4j</groupId>
2749 <artifactId>slf4j-log4j12</artifactId>
2752 <groupId>log4j</groupId>
2753 <artifactId>log4j</artifactId>
2758 <groupId>org.apache.hadoop</groupId>
2759 <artifactId>hadoop-mapreduce-client-app</artifactId>
2760 <version>${hadoop-two.version}</version>
2761 <type>test-jar</type>
2764 <groupId>org.codehaus.jackson</groupId>
2765 <artifactId>jackson-mapper-asl</artifactId>
2768 <groupId>org.codehaus.jackson</groupId>
2769 <artifactId>jackson-core-asl</artifactId>
2772 <groupId>org.codehaus.jackson</groupId>
2773 <artifactId>jackson-jaxrs</artifactId>
2776 <groupId>org.codehaus.jackson</groupId>
2777 <artifactId>jackson-xc</artifactId>
2780 <groupId>javax.xml.bind</groupId>
2781 <artifactId>jaxb-api</artifactId>
2784 <groupId>javax.ws.rs</groupId>
2785 <artifactId>jsr311-api</artifactId>
2788 <groupId>javax.servlet</groupId>
2789 <artifactId>servlet-api</artifactId>
2792 <groupId>org.slf4j</groupId>
2793 <artifactId>slf4j-log4j12</artifactId>
2796 <groupId>log4j</groupId>
2797 <artifactId>log4j</artifactId>
2802 <groupId>org.apache.hadoop</groupId>
2803 <artifactId>hadoop-hdfs</artifactId>
2804 <version>${hadoop-two.version}</version>
2807 <groupId>com.sun.jersey</groupId>
2808 <artifactId>jersey-core</artifactId>
2811 <groupId>javax.servlet.jsp</groupId>
2812 <artifactId>jsp-api</artifactId>
2815 <groupId>javax.servlet</groupId>
2816 <artifactId>servlet-api</artifactId>
2819 <groupId>io.netty</groupId>
2820 <artifactId>netty</artifactId>
2823 <groupId>io.netty</groupId>
2824 <artifactId>netty-all</artifactId>
2827 <groupId>stax</groupId>
2828 <artifactId>stax-api</artifactId>
2831 <groupId>xerces</groupId>
2832 <artifactId>xercesImpl</artifactId>
2835 <groupId>org.codehaus.jackson</groupId>
2836 <artifactId>jackson-core-asl</artifactId>
2839 <groupId>org.codehaus.jackson</groupId>
2840 <artifactId>jackson-mapper-asl</artifactId>
2843 <groupId>com.google.guava</groupId>
2844 <artifactId>guava</artifactId>
2847 <groupId>org.slf4j</groupId>
2848 <artifactId>slf4j-log4j12</artifactId>
2851 <groupId>log4j</groupId>
2852 <artifactId>log4j</artifactId>
2857 <groupId>org.apache.hadoop</groupId>
2858 <artifactId>hadoop-hdfs</artifactId>
2859 <version>${hadoop-two.version}</version>
2860 <type>test-jar</type>
2864 <groupId>javax.servlet.jsp</groupId>
2865 <artifactId>jsp-api</artifactId>
2868 <groupId>javax.servlet</groupId>
2869 <artifactId>servlet-api</artifactId>
2872 <groupId>io.netty</groupId>
2873 <artifactId>netty</artifactId>
2876 <groupId>io.netty</groupId>
2877 <artifactId>netty-all</artifactId>
2880 <groupId>stax</groupId>
2881 <artifactId>stax-api</artifactId>
2884 <groupId>xerces</groupId>
2885 <artifactId>xercesImpl</artifactId>
2888 <groupId>org.codehaus.jackson</groupId>
2889 <artifactId>jackson-core-asl</artifactId>
2892 <groupId>org.codehaus.jackson</groupId>
2893 <artifactId>jackson-mapper-asl</artifactId>
2896 <groupId>com.google.guava</groupId>
2897 <artifactId>guava</artifactId>
2900 <groupId>com.sun.jersey</groupId>
2901 <artifactId>jersey-core</artifactId>
2904 <groupId>org.slf4j</groupId>
2905 <artifactId>slf4j-log4j12</artifactId>
2908 <groupId>log4j</groupId>
2909 <artifactId>log4j</artifactId>
2914 <groupId>org.apache.hadoop</groupId>
2915 <artifactId>hadoop-auth</artifactId>
2916 <version>${hadoop-two.version}</version>
2919 <groupId>com.google.guava</groupId>
2920 <artifactId>guava</artifactId>
2923 <groupId>net.minidev</groupId>
2924 <artifactId>json-smart</artifactId>
2927 <groupId>org.slf4j</groupId>
2928 <artifactId>slf4j-log4j12</artifactId>
2931 <groupId>log4j</groupId>
2932 <artifactId>log4j</artifactId>
2937 <groupId>org.apache.hadoop</groupId>
2938 <artifactId>hadoop-common</artifactId>
2939 <version>${hadoop-two.version}</version>
2942 <groupId>com.sun.jersey</groupId>
2943 <artifactId>jersey-core</artifactId>
2946 <groupId>org.codehaus.jackson</groupId>
2947 <artifactId>jackson-jaxrs</artifactId>
2950 <groupId>org.codehaus.jackson</groupId>
2951 <artifactId>jackson-xc</artifactId>
2954 <groupId>commons-beanutils</groupId>
2955 <artifactId>commons-beanutils</artifactId>
2958 <groupId>javax.servlet.jsp</groupId>
2959 <artifactId>jsp-api</artifactId>
2962 <groupId>javax.servlet</groupId>
2963 <artifactId>servlet-api</artifactId>
2966 <groupId>stax</groupId>
2967 <artifactId>stax-api</artifactId>
2970 <groupId>io.netty</groupId>
2971 <artifactId>netty</artifactId>
2974 <groupId>io.netty</groupId>
2975 <artifactId>netty-all</artifactId>
2978 <groupId>com.google.code.findbugs</groupId>
2979 <artifactId>jsr305</artifactId>
2982 <groupId>junit</groupId>
2983 <artifactId>junit</artifactId>
2986 <groupId>org.codehaus.jackson</groupId>
2987 <artifactId>jackson-core-asl</artifactId>
2990 <groupId>org.codehaus.jackson</groupId>
2991 <artifactId>jackson-mapper-asl</artifactId>
2994 <groupId>org.slf4j</groupId>
2995 <artifactId>slf4j-log4j12</artifactId>
2998 <groupId>log4j</groupId>
2999 <artifactId>log4j</artifactId>
3004 <groupId>org.apache.hadoop</groupId>
3005 <artifactId>hadoop-common</artifactId>
3006 <version>${hadoop-two.version}</version>
3007 <type>test-jar</type>
3011 <groupId>javax.servlet.jsp</groupId>
3012 <artifactId>jsp-api</artifactId>
3015 <groupId>org.codehaus.jackson</groupId>
3016 <artifactId>jackson-mapper-asl</artifactId>
3019 <groupId>org.codehaus.jackson</groupId>
3020 <artifactId>jackson-core-asl</artifactId>
3023 <groupId>org.codehaus.jackson</groupId>
3024 <artifactId>jackson-jaxrs</artifactId>
3027 <groupId>org.codehaus.jackson</groupId>
3028 <artifactId>jackson-xc</artifactId>
3031 <groupId>javax.xml.bind</groupId>
3032 <artifactId>jaxb-api</artifactId>
3035 <groupId>javax.ws.rs</groupId>
3036 <artifactId>jsr311-api</artifactId>
3039 <groupId>javax.servlet</groupId>
3040 <artifactId>servlet-api</artifactId>
3043 <groupId>com.sun.jersey</groupId>
3044 <artifactId>jersey-core</artifactId>
3047 <groupId>com.google.code.findbugs</groupId>
3048 <artifactId>jsr305</artifactId>
3051 <groupId>io.netty</groupId>
3052 <artifactId>netty</artifactId>
3055 <groupId>org.slf4j</groupId>
3056 <artifactId>slf4j-log4j12</artifactId>
3059 <groupId>log4j</groupId>
3060 <artifactId>log4j</artifactId>
3066 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3067 duplicated here because hadoop-3.0 piggy-backs off the hadoop-2.0 profile.
3069 <groupId>javax.activation</groupId>
3070 <artifactId>javax.activation-api</artifactId>
3071 <version>1.2.0</version>
3075 <groupId>org.apache.hadoop</groupId>
3076 <artifactId>hadoop-client</artifactId>
3077 <version>${hadoop-two.version}</version>
3080 <groupId>org.slf4j</groupId>
3081 <artifactId>slf4j-log4j12</artifactId>
3084 <groupId>log4j</groupId>
3085 <artifactId>log4j</artifactId>
3089 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3090 Where do we actually need it? -->
3092 <groupId>org.apache.hadoop</groupId>
3093 <artifactId>hadoop-minicluster</artifactId>
3094 <version>${hadoop-two.version}</version>
3096 <!--If we comment this in, a few tests in hbase-mapreduce
3097 fail. They depend on jersey-core somehow. But excluding
3098 jersey-core here messes up hbase-it because jersey-core
3099 implements a 1.x jaxrs Response Interface when we depend
3100 on the 2.x Interface... . Letting this jar come in
3101 transitively here but will exclude it down in hbase-it.
3104 <groupId>com.sun.jersey</groupId>
3105 <artifactId>jersey-core</artifactId>
3109 <groupId>commons-httpclient</groupId>
3110 <artifactId>commons-httpclient</artifactId>
3113 <groupId>javax.servlet.jsp</groupId>
3114 <artifactId>jsp-api</artifactId>
3117 <groupId>javax.servlet</groupId>
3118 <artifactId>servlet-api</artifactId>
3121 <groupId>stax</groupId>
3122 <artifactId>stax-api</artifactId>
3125 <groupId>io.netty</groupId>
3126 <artifactId>netty</artifactId>
3129 <groupId>io.netty</groupId>
3130 <artifactId>netty-all</artifactId>
3133 <groupId>com.google.code.findbugs</groupId>
3134 <artifactId>jsr305</artifactId>
3137 <groupId>org.slf4j</groupId>
3138 <artifactId>slf4j-log4j12</artifactId>
3141 <groupId>log4j</groupId>
3142 <artifactId>log4j</artifactId>
3147 <groupId>org.apache.hadoop</groupId>
3148 <artifactId>hadoop-minikdc</artifactId>
3149 <version>${hadoop-two.version}</version>
3153 <groupId>org.slf4j</groupId>
3154 <artifactId>slf4j-log4j12</artifactId>
3157 <groupId>log4j</groupId>
3158 <artifactId>log4j</artifactId>
3163 <groupId>org.apache.hadoop</groupId>
3164 <artifactId>hadoop-annotations</artifactId>
3165 <version>${hadoop-two.version}</version>
3169 <groupId>org.apache.hadoop</groupId>
3170 <artifactId>hadoop-distcp</artifactId>
3171 <version>${hadoop-two.version}</version>
3175 <groupId>org.apache.hadoop</groupId>
3176 <artifactId>hadoop-hdfs-client</artifactId>
3177 <version>${hadoop-two.version}</version>
3180 </dependencyManagement>
3183 profile for building against Hadoop 3.0.0. Activate using:
3184 mvn -Dhadoop.profile=3.0
3190 <name>hadoop.profile</name>
3195 <!--For now, use hadoop2 compat module-->
3196 <module>hbase-hadoop2-compat</module>
3199 <hadoop.profile>3.0</hadoop.profile>
3200 <hadoop.version>${hadoop-three.version}</hadoop.version>
3201 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
3202 <compat.module>hbase-hadoop2-compat</compat.module>
3203 <assembly.file>src/main/assembly/hadoop-three-compat.xml</assembly.file>
3204 <!--This property is for hadoops netty. HBase netty
3205 comes in via hbase-thirdparty hbase-shaded-netty-->
3206 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
3208 <dependencyManagement>
3211 <groupId>org.apache.hadoop</groupId>
3212 <artifactId>hadoop-mapreduce-client-core</artifactId>
3213 <version>${hadoop-three.version}</version>
3216 <groupId>com.sun.jersey</groupId>
3217 <artifactId>jersey-core</artifactId>
3220 <groupId>org.codehaus.jackson</groupId>
3221 <artifactId>jackson-jaxrs</artifactId>
3224 <groupId>org.codehaus.jackson</groupId>
3225 <artifactId>jackson-xc</artifactId>
3228 <groupId>io.netty</groupId>
3229 <artifactId>netty</artifactId>
3232 <groupId>io.netty</groupId>
3233 <artifactId>netty-all</artifactId>
3236 <groupId>javax.servlet</groupId>
3237 <artifactId>servlet-api</artifactId>
3240 <groupId>javax.inject</groupId>
3241 <artifactId>javax.inject</artifactId>
3244 <groupId>org.codehaus.jackson</groupId>
3245 <artifactId>jackson-core-asl</artifactId>
3248 <groupId>org.codehaus.jackson</groupId>
3249 <artifactId>jackson-mapper-asl</artifactId>
3252 <groupId>com.google.guava</groupId>
3253 <artifactId>guava</artifactId>
3256 <groupId>org.slf4j</groupId>
3257 <artifactId>slf4j-log4j12</artifactId>
3260 <groupId>log4j</groupId>
3261 <artifactId>log4j</artifactId>
3266 <groupId>org.apache.hadoop</groupId>
3267 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3268 <version>${hadoop-three.version}</version>
3271 <groupId>com.sun.jersey</groupId>
3272 <artifactId>jersey-core</artifactId>
3275 <groupId>io.netty</groupId>
3276 <artifactId>netty</artifactId>
3280 <groupId>io.netty</groupId>
3281 <artifactId>netty-all</artifactId>
3284 <groupId>javax.servlet</groupId>
3285 <artifactId>servlet-api</artifactId>
3288 <groupId>org.slf4j</groupId>
3289 <artifactId>slf4j-log4j12</artifactId>
3292 <groupId>log4j</groupId>
3293 <artifactId>log4j</artifactId>
3298 <groupId>org.apache.hadoop</groupId>
3299 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
3300 <version>${hadoop-three.version}</version>
3301 <type>test-jar</type>
3305 <groupId>com.sun.jersey</groupId>
3306 <artifactId>jersey-core</artifactId>
3309 <groupId>io.netty</groupId>
3310 <artifactId>netty</artifactId>
3313 <groupId>io.netty</groupId>
3314 <artifactId>netty-all</artifactId>
3317 <groupId>javax.servlet</groupId>
3318 <artifactId>servlet-api</artifactId>
3321 <groupId>org.slf4j</groupId>
3322 <artifactId>slf4j-log4j12</artifactId>
3325 <groupId>log4j</groupId>
3326 <artifactId>log4j</artifactId>
3331 <groupId>org.apache.hadoop</groupId>
3332 <artifactId>hadoop-mapreduce-client-app</artifactId>
3333 <version>${hadoop-three.version}</version>
3334 <type>test-jar</type>
3337 <groupId>org.codehaus.jackson</groupId>
3338 <artifactId>jackson-mapper-asl</artifactId>
3341 <groupId>org.codehaus.jackson</groupId>
3342 <artifactId>jackson-core-asl</artifactId>
3345 <groupId>org.codehaus.jackson</groupId>
3346 <artifactId>jackson-jaxrs</artifactId>
3349 <groupId>org.codehaus.jackson</groupId>
3350 <artifactId>jackson-xc</artifactId>
3353 <groupId>javax.xml.bind</groupId>
3354 <artifactId>jaxb-api</artifactId>
3357 <groupId>javax.ws.rs</groupId>
3358 <artifactId>jsr311-api</artifactId>
3361 <groupId>javax.servlet</groupId>
3362 <artifactId>servlet-api</artifactId>
3365 <groupId>org.slf4j</groupId>
3366 <artifactId>slf4j-log4j12</artifactId>
3369 <groupId>log4j</groupId>
3370 <artifactId>log4j</artifactId>
3375 <groupId>org.apache.hadoop</groupId>
3376 <artifactId>hadoop-hdfs</artifactId>
3377 <version>${hadoop-three.version}</version>
3380 <groupId>com.sun.jersey</groupId>
3381 <artifactId>jersey-core</artifactId>
3384 <groupId>com.sun.jersey</groupId>
3385 <artifactId>jersey-server</artifactId>
3388 <groupId>javax.servlet.jsp</groupId>
3389 <artifactId>jsp-api</artifactId>
3392 <groupId>javax.servlet</groupId>
3393 <artifactId>servlet-api</artifactId>
3396 <groupId>stax</groupId>
3397 <artifactId>stax-api</artifactId>
3400 <groupId>xerces</groupId>
3401 <artifactId>xercesImpl</artifactId>
3404 <groupId>org.codehaus.jackson</groupId>
3405 <artifactId>jackson-core-asl</artifactId>
3408 <groupId>org.codehaus.jackson</groupId>
3409 <artifactId>jackson-mapper-asl</artifactId>
3412 <groupId>com.google.guava</groupId>
3413 <artifactId>guava</artifactId>
3416 <groupId>org.slf4j</groupId>
3417 <artifactId>slf4j-log4j12</artifactId>
3420 <groupId>log4j</groupId>
3421 <artifactId>log4j</artifactId>
3424 <groupId>io.netty</groupId>
3425 <artifactId>netty</artifactId>
3428 <groupId>io.netty</groupId>
3429 <artifactId>netty-all</artifactId>
3434 <groupId>org.apache.hadoop</groupId>
3435 <artifactId>hadoop-hdfs</artifactId>
3436 <version>${hadoop-three.version}</version>
3437 <type>test-jar</type>
3441 <groupId>javax.servlet.jsp</groupId>
3442 <artifactId>jsp-api</artifactId>
3445 <groupId>javax.servlet</groupId>
3446 <artifactId>servlet-api</artifactId>
3449 <groupId>stax</groupId>
3450 <artifactId>stax-api</artifactId>
3453 <groupId>xerces</groupId>
3454 <artifactId>xercesImpl</artifactId>
3457 <groupId>org.codehaus.jackson</groupId>
3458 <artifactId>jackson-core-asl</artifactId>
3461 <groupId>org.codehaus.jackson</groupId>
3462 <artifactId>jackson-mapper-asl</artifactId>
3465 <groupId>com.google.guava</groupId>
3466 <artifactId>guava</artifactId>
3469 <groupId>com.sun.jersey</groupId>
3470 <artifactId>jersey-core</artifactId>
3473 <groupId>org.slf4j</groupId>
3474 <artifactId>slf4j-log4j12</artifactId>
3477 <groupId>log4j</groupId>
3478 <artifactId>log4j</artifactId>
3481 <groupId>io.netty</groupId>
3482 <artifactId>netty-all</artifactId>
3487 <groupId>org.apache.hadoop</groupId>
3488 <artifactId>hadoop-hdfs</artifactId>
3489 <version>${hadoop-three.version}</version>
3490 <type>test-jar</type>
3491 <classifier>tests</classifier>
3495 <groupId>com.sun.jersey</groupId>
3496 <artifactId>jersey-core</artifactId>
3501 <groupId>org.apache.hadoop</groupId>
3502 <artifactId>hadoop-auth</artifactId>
3503 <version>${hadoop-three.version}</version>
3506 <groupId>com.google.guava</groupId>
3507 <artifactId>guava</artifactId>
3510 <groupId>net.minidev</groupId>
3511 <artifactId>json-smart</artifactId>
3514 <groupId>org.slf4j</groupId>
3515 <artifactId>slf4j-log4j12</artifactId>
3518 <groupId>log4j</groupId>
3519 <artifactId>log4j</artifactId>
3524 <groupId>org.apache.hadoop</groupId>
3525 <artifactId>hadoop-common</artifactId>
3526 <version>${hadoop-three.version}</version>
3529 <groupId>com.sun.jersey</groupId>
3530 <artifactId>jersey-core</artifactId>
3533 <groupId>com.sun.jersey</groupId>
3534 <artifactId>jersey-json</artifactId>
3537 <groupId>com.sun.jersey</groupId>
3538 <artifactId>jersey-servlet</artifactId>
3541 <groupId>com.sun.jersey</groupId>
3542 <artifactId>jersey-server</artifactId>
3545 <groupId>javax.servlet.jsp</groupId>
3546 <artifactId>jsp-api</artifactId>
3549 <groupId>javax.servlet</groupId>
3550 <artifactId>javax.servlet-api</artifactId>
3553 <groupId>stax</groupId>
3554 <artifactId>stax-api</artifactId>
3557 <groupId>io.netty</groupId>
3558 <artifactId>netty</artifactId>
3561 <groupId>io.netty</groupId>
3562 <artifactId>netty-all</artifactId>
3565 <groupId>com.google.code.findbugs</groupId>
3566 <artifactId>jsr305</artifactId>
3569 <groupId>junit</groupId>
3570 <artifactId>junit</artifactId>
3573 <groupId>org.codehause.jackson</groupId>
3574 <artifactId>jackson-core-asl</artifactId>
3577 <groupId>org.codehause.jackson</groupId>
3578 <artifactId>jackson-mapper-asl</artifactId>
3581 <groupId>org.slf4j</groupId>
3582 <artifactId>slf4j-log4j12</artifactId>
3585 <groupId>log4j</groupId>
3586 <artifactId>log4j</artifactId>
3592 a missing transitive dependency on JDK9+ (obsoleted by Hadoop-3.3.0+, HADOOP-15775)
3594 <groupId>javax.activation</groupId>
3595 <artifactId>javax.activation-api</artifactId>
3596 <version>1.2.0</version>
3600 <groupId>org.apache.hadoop</groupId>
3601 <artifactId>hadoop-common</artifactId>
3602 <type>test-jar</type>
3604 <version>${hadoop-three.version}</version>
3607 <groupId>javax.servlet.jsp</groupId>
3608 <artifactId>jsp-api</artifactId>
3611 <groupId>org.codehaus.jackson</groupId>
3612 <artifactId>jackson-mapper-asl</artifactId>
3615 <groupId>org.codehaus.jackson</groupId>
3616 <artifactId>jackson-core-asl</artifactId>
3619 <groupId>org.codehaus.jackson</groupId>
3620 <artifactId>jackson-jaxrs</artifactId>
3623 <groupId>org.codehaus.jackson</groupId>
3624 <artifactId>jackson-xc</artifactId>
3627 <groupId>javax.xml.bind</groupId>
3628 <artifactId>jaxb-api</artifactId>
3631 <groupId>javax.ws.rs</groupId>
3632 <artifactId>jsr311-api</artifactId>
3635 <groupId>javax.servlet</groupId>
3636 <artifactId>servlet-api</artifactId>
3639 <groupId>com.sun.jersey</groupId>
3640 <artifactId>jersey-core</artifactId>
3643 <groupId>com.google.code.findbugs</groupId>
3644 <artifactId>jsr305</artifactId>
3647 <groupId>io.netty</groupId>
3648 <artifactId>netty</artifactId>
3651 <groupId>org.slf4j</groupId>
3652 <artifactId>slf4j-log4j12</artifactId>
3655 <groupId>log4j</groupId>
3656 <artifactId>log4j</artifactId>
3661 <groupId>org.apache.hadoop</groupId>
3662 <artifactId>hadoop-client</artifactId>
3663 <version>${hadoop-three.version}</version>
3666 <groupId>org.apache.hadoop</groupId>
3667 <artifactId>hadoop-annotations</artifactId>
3668 <version>${hadoop-three.version}</version>
3670 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3671 Where do we actually need it? -->
3673 <groupId>org.apache.hadoop</groupId>
3674 <artifactId>hadoop-minicluster</artifactId>
3675 <version>${hadoop-three.version}</version>
3677 <!--If we comment this in, a few tests in hbase-mapreduce
3678 fail. They depend on jersey-core somehow. But excluding
3679 jersey-core here messes up hbase-it because jersey-core
3680 implements a 1.x jaxrs Response Interface when we depend
3681 on the 2.x Interface... . Letting this jar come in
3682 transitively here but will exclude it down in hbase-it.
3685 <groupId>com.sun.jersey</groupId>
3686 <artifactId>jersey-core</artifactId>
3690 <groupId>commons-httpclient</groupId>
3691 <artifactId>commons-httpclient</artifactId>
3694 <groupId>javax.servlet.jsp</groupId>
3695 <artifactId>jsp-api</artifactId>
3698 <groupId>javax.servlet</groupId>
3699 <artifactId>servlet-api</artifactId>
3702 <groupId>stax</groupId>
3703 <artifactId>stax-api</artifactId>
3706 <groupId>io.netty</groupId>
3707 <artifactId>netty</artifactId>
3709 <!-- MiniMRCluster needs the hadoop netty-all transitive include... a
3710 netty-all 4.0.52 version.... so we have to let it through.
3712 <groupId>io.netty</groupId>
3713 <artifactId>netty-all</artifactId>
3717 <groupId>com.google.code.findbugs</groupId>
3718 <artifactId>jsr305</artifactId>
3721 <groupId>org.slf4j</groupId>
3722 <artifactId>slf4j-log4j12</artifactId>
3725 <groupId>log4j</groupId>
3726 <artifactId>log4j</artifactId>
3731 <groupId>org.apache.hadoop</groupId>
3732 <artifactId>hadoop-minikdc</artifactId>
3733 <version>${hadoop-three.version}</version>
3737 <groupId>org.slf4j</groupId>
3738 <artifactId>slf4j-log4j12</artifactId>
3741 <groupId>log4j</groupId>
3742 <artifactId>log4j</artifactId>
3747 <groupId>org.apache.hadoop</groupId>
3748 <artifactId>hadoop-distcp</artifactId>
3749 <version>${hadoop-three.version}</version>
3753 <groupId>org.apache.hadoop</groupId>
3754 <artifactId>hadoop-hdfs-client</artifactId>
3755 <version>${hadoop-three.version}</version>
3758 </dependencyManagement>
3761 <!-- profiles for the tests
3762 See as well the properties of the project for the values
3763 when no profile is active. -->
3765 <!-- Use it to launch all tests in the same JVM -->
3766 <id>singleJVMTests</id>
3768 <activeByDefault>false</activeByDefault>
3771 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3772 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3773 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3774 <surefire.firstPartGroups/>
3778 <!-- Use it to launch small tests only -->
3779 <id>runSmallTests</id>
3781 <activeByDefault>false</activeByDefault>
3784 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3785 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3786 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3787 <surefire.secondPartGroups/>
3791 <!-- Use it to launch medium tests only -->
3792 <id>runMediumTests</id>
3794 <activeByDefault>false</activeByDefault>
3797 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3798 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3799 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3800 <surefire.secondPartGroups/>
3804 <!-- Use it to launch large tests only -->
3805 <id>runLargeTests</id>
3807 <activeByDefault>false</activeByDefault>
3810 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3811 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3812 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3813 <surefire.secondPartGroups/>
3817 <!-- Use it to launch small & medium tests -->
3818 <id>runDevTests</id>
3820 <activeByDefault>false</activeByDefault>
3823 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3824 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3825 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3826 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3827 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3831 <!-- Use it to launch all tests -->
3832 <id>runAllTests</id>
3834 <activeByDefault>false</activeByDefault>
3837 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3838 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3839 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3840 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3844 <id>runMiscTests</id>
3846 <activeByDefault>false</activeByDefault>
3849 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3850 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3851 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3852 </surefire.firstPartGroups>
3853 <surefire.secondPartGroups></surefire.secondPartGroups>
3857 <id>runCoprocessorTests</id>
3859 <activeByDefault>false</activeByDefault>
3862 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3863 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3864 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3865 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3866 <surefire.firstPartGroups>
3867 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3868 </surefire.firstPartGroups>
3869 <surefire.secondPartGroups></surefire.secondPartGroups>
3873 <id>runClientTests</id>
3875 <activeByDefault>false</activeByDefault>
3878 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3879 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3880 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3881 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3882 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3883 </surefire.firstPartGroups>
3884 <surefire.secondPartGroups></surefire.secondPartGroups>
3888 <id>runMasterTests</id>
3890 <activeByDefault>false</activeByDefault>
3893 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3894 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3895 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3896 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3897 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3898 </surefire.firstPartGroups>
3899 <surefire.secondPartGroups></surefire.secondPartGroups>
3903 <id>runMapredTests</id>
3905 <activeByDefault>false</activeByDefault>
3908 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3909 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3910 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3911 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3912 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3913 </surefire.firstPartGroups>
3914 <surefire.secondPartGroups></surefire.secondPartGroups>
3918 <id>runMapreduceTests</id>
3920 <activeByDefault>false</activeByDefault>
3923 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3924 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3925 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3926 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3927 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3928 </surefire.firstPartGroups>
3929 <surefire.secondPartGroups></surefire.secondPartGroups>
3933 <id>runRegionServerTests</id>
3935 <activeByDefault>false</activeByDefault>
3938 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3939 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3940 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3941 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3942 <surefire.firstPartGroups>
3943 org.apache.hadoop.hbase.testclassification.RegionServerTests
3944 </surefire.firstPartGroups>
3945 <surefire.secondPartGroups></surefire.secondPartGroups>
3949 <id>runVerySlowMapReduceTests</id>
3951 <activeByDefault>false</activeByDefault>
3954 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3955 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3956 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3957 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3958 <surefire.firstPartGroups>
3959 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3960 </surefire.firstPartGroups>
3961 <surefire.secondPartGroups></surefire.secondPartGroups>
3966 <id>runVerySlowRegionServerTests</id>
3968 <activeByDefault>false</activeByDefault>
3971 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3972 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3973 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3974 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3975 <surefire.firstPartGroups>
3976 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3977 </surefire.firstPartGroups>
3978 <surefire.secondPartGroups></surefire.secondPartGroups>
3983 <id>runFilterTests</id>
3985 <activeByDefault>false</activeByDefault>
3988 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3989 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3990 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3991 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3992 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3993 </surefire.firstPartGroups>
3994 <surefire.secondPartGroups></surefire.secondPartGroups>
4000 <activeByDefault>false</activeByDefault>
4003 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4004 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4005 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4006 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4007 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
4008 </surefire.firstPartGroups>
4009 <surefire.secondPartGroups></surefire.secondPartGroups>
4013 <id>runRestTests</id>
4015 <activeByDefault>false</activeByDefault>
4018 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4019 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4020 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4021 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4022 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
4023 </surefire.firstPartGroups>
4024 <surefire.secondPartGroups></surefire.secondPartGroups>
4028 <id>runRPCTests</id>
4030 <activeByDefault>false</activeByDefault>
4033 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4034 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4035 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4036 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4037 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
4038 </surefire.firstPartGroups>
4039 <surefire.secondPartGroups></surefire.secondPartGroups>
4043 <id>runReplicationTests</id>
4045 <activeByDefault>false</activeByDefault>
4048 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4049 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4050 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4051 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4052 <surefire.firstPartGroups>
4053 org.apache.hadoop.hbase.testclassification.ReplicationTests
4054 </surefire.firstPartGroups>
4055 <surefire.secondPartGroups></surefire.secondPartGroups>
4059 <id>runSecurityTests</id>
4061 <activeByDefault>false</activeByDefault>
4064 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4065 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4066 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4067 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4068 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
4069 </surefire.firstPartGroups>
4070 <surefire.secondPartGroups></surefire.secondPartGroups>
4074 <id>runFlakeyTests</id>
4076 <activeByDefault>false</activeByDefault>
4079 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4080 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4081 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4082 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4083 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
4084 </surefire.firstPartGroups>
4085 <surefire.secondPartGroups></surefire.secondPartGroups>
4091 <activeByDefault>false</activeByDefault>
4094 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
4095 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
4096 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4097 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4098 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
4099 </surefire.firstPartGroups>
4100 <surefire.secondPartGroups></surefire.secondPartGroups>
4105 <!-- Use it to launch tests locally-->
4113 <surefire.provider>surefire-junit4</surefire.provider>
4114 <surefire.skipFirstPart>false</surefire.skipFirstPart>
4115 <surefire.skipSecondPart>true</surefire.skipSecondPart>
4116 <surefire.firstPartGroups/>
4119 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
4120 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
4121 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
4122 The report will be generated under target/site/clover/index.html when you run
4123 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
4127 <activeByDefault>false</activeByDefault>
4133 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
4137 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
4138 our instrumented classes for the doclet will fail
4141 <groupId>org.apache.maven.plugins</groupId>
4142 <artifactId>maven-javadoc-plugin</artifactId>
4145 <groupId>com.atlassian.maven.plugins</groupId>
4146 <artifactId>maven-clover2-plugin</artifactId>
4147 <version>${clover.version}</version>
4152 <groupId>com.atlassian.maven.plugins</groupId>
4153 <artifactId>maven-clover2-plugin</artifactId>
4154 <version>${clover.version}</version>
4156 <includesAllSourceRoots>true</includesAllSourceRoots>
4157 <includesTestSourceRoots>true</includesTestSourceRoots>
4158 <targetPercentage>50%</targetPercentage>
4159 <generateHtml>true</generateHtml>
4160 <generateXml>true</generateXml>
4162 <exclude>**/generated/**</exclude>
4167 <id>clover-setup</id>
4168 <phase>process-sources</phase>
4186 <!-- Used by the website generation script on jenkins to
4187 do a local install of the jars we need to run a normal
4188 site build w/o forking.
4190 <id>site-install-step</id>
4192 <skipTests>true</skipTests>
4193 <maven.javadoc.skip>true</maven.javadoc.skip>
4194 <enforcer.skip>true</enforcer.skip>
4195 <checkstyle.skip>true</checkstyle.skip>
4196 <spotbugs.skip>true</spotbugs.skip>
4197 <warbucks.skip>true</warbucks.skip>
4201 <!-- Used by the website generation script on jenkins to
4202 mitigate the impact of unneeded build forks while building
4205 <id>site-build-step</id>
4207 <skipTests>true</skipTests>
4208 <enforcer.skip>true</enforcer.skip>
4209 <maven.main.skip>true</maven.main.skip>
4210 <maven.test.skip>true</maven.test.skip>
4211 <warbucks.skip>true</warbucks.skip>
4212 <protoc.skip>true</protoc.skip>
4213 <remoteresources.skip>true</remoteresources.skip>
4217 <id>eclipse-specific</id>
4220 <name>m2e.version</name>
4226 <!-- General config for eclipse classpath/settings -->
4228 <groupId>org.apache.maven.plugins</groupId>
4229 <artifactId>maven-eclipse-plugin</artifactId>
4230 <version>${maven.eclipse.version}</version>
4232 <!--This plugin's configuration is used to store Eclipse m2e settings
4233 only. It has no influence on the Maven build itself. m2e does not
4234 provide any safeguards against rogue maven plugins that leak
4235 classloaders, modify random files inside workspace or throw nasty
4236 exceptions to fail the build.
4237 Top level doesn't do any specific configuration currently - left
4238 to modules to decide what they want to bind, sans those plugins
4239 defined in this pom. -->
4241 <groupId>org.eclipse.m2e</groupId>
4242 <artifactId>lifecycle-mapping</artifactId>
4243 <version>${lifecycle.mapping.version}</version>
4245 <lifecycleMappingMetadata>
4248 <pluginExecutionFilter>
4249 <groupId>org.jacoco</groupId>
4250 <artifactId>jacoco-maven-plugin</artifactId>
4251 <versionRange>[0.6.2.201302030002,)</versionRange>
4253 <goal>prepare-agent</goal>
4255 </pluginExecutionFilter>
4261 <pluginExecutionFilter>
4262 <groupId>org.apache.maven.plugins</groupId>
4263 <artifactId>maven-enforcer-plugin</artifactId>
4264 <versionRange>${enforcer.version}</versionRange>
4266 <goal>enforce</goal>
4268 </pluginExecutionFilter>
4274 <pluginExecutionFilter>
4275 <groupId>org.apache.maven.plugins</groupId>
4276 <artifactId>maven-remote-resources-plugin</artifactId>
4277 <versionRange>[1.5,)</versionRange>
4279 <goal>process</goal>
4282 </pluginExecutionFilter>
4288 <pluginExecutionFilter>
4289 <groupId>org.codehaus.mojo</groupId>
4290 <artifactId>buildnumber-maven-plugin</artifactId>
4291 <versionRange>[1.3,)</versionRange>
4293 <goal>create-timestamp</goal>
4295 </pluginExecutionFilter>
4298 <runOnConfiguration>true</runOnConfiguration>
4299 <runOnIncremental>true</runOnIncremental>
4304 </lifecycleMappingMetadata>
4314 <external.protobuf.groupid>org.openlabtesting.protobuf</external.protobuf.groupid>
4315 <external.protoc.version>2.5.0.2</external.protoc.version>
4319 <family>linux</family>
4320 <arch>aarch64</arch>
4325 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
4329 <artifactId>maven-project-info-reports-plugin</artifactId>
4330 <version>${maven.project.info.report.version}</version>
4334 <report>dependencies</report>
4335 <report>dependency-convergence</report>
4336 <report>dependency-info</report>
4337 <report>dependency-management</report>
4338 <report>index</report>
4339 <report>issue-management</report>
4340 <report>licenses</report>
4341 <report>mailing-lists</report>
4342 <report>plugin-management</report>
4343 <report>plugins</report>
4344 <report>team</report>
4345 <report>scm</report>
4346 <report>summary</report>
4350 <!-- see src/site/site.xml for selected reports -->
4352 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
4357 <groupId>org.apache.maven.plugins</groupId>
4358 <artifactId>maven-javadoc-plugin</artifactId>
4362 <name>apiNote</name>
4363 <placement>a</placement>
4364 <head>API Note:</head>
4373 <report>aggregate-no-fork</report>
4376 <destDir>devapidocs</destDir>
4377 <name>Developer API</name>
4378 <description>The full HBase API, including private and unstable APIs</description>
4379 <sourceFileExcludes>
4380 <exclude>**/generated/*</exclude>
4381 <exclude>**/protobuf/*</exclude>
4382 </sourceFileExcludes>
4383 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4384 <show>private</show> <!-- (shows all classes and members) -->
4386 <linksource>true</linksource>
4387 <sourcetab>2</sourcetab>
4388 <validateLinks>true</validateLinks>
4389 <fixClassComment>true</fixClassComment>
4390 <fixFieldComment>true</fixFieldComment>
4391 <fixMethodComment>true</fixMethodComment>
4392 <fixTags>all</fixTags>
4393 <notimestamp>true</notimestamp>
4394 <locale>en_US</locale>
4395 <!-- Pass some options straight to the javadoc executable since it is easier -->
4396 <additionalJOption>-J-Xmx2G</additionalJOption>
4397 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4398 <additionalDependencies>
4399 <additionalDependency>
4400 <groupId>org.mockito</groupId>
4401 <artifactId>mockito-core</artifactId>
4402 <version>${mockito-core.version}</version>
4403 </additionalDependency>
4404 <additionalDependency>
4405 <groupId>org.hamcrest</groupId>
4406 <artifactId>hamcrest-core</artifactId>
4407 <version>${hamcrest.version}</version>
4408 </additionalDependency>
4409 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4410 <additionalDependency>
4411 <groupId>com.google.code.findbugs</groupId>
4412 <artifactId>jsr305</artifactId>
4413 <version>3.0.2</version>
4414 </additionalDependency>
4415 </additionalDependencies>
4416 <inherited>false</inherited>
4422 <report>test-aggregate-no-fork</report>
4425 <destDir>testdevapidocs</destDir>
4426 <name>Developer API</name>
4427 <description>The full HBase API test code, including private and unstable APIs</description>
4428 <sourceFileExcludes>
4429 <exclude>**/generated/*</exclude>
4430 <exclude>**/protobuf/*</exclude>
4431 </sourceFileExcludes>
4432 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
4433 <show>private</show> <!-- (shows all classes and members) -->
4435 <linksource>true</linksource>
4436 <sourcetab>2</sourcetab>
4437 <validateLinks>true</validateLinks>
4438 <fixClassComment>true</fixClassComment>
4439 <fixFieldComment>true</fixFieldComment>
4440 <fixMethodComment>true</fixMethodComment>
4441 <fixTags>all</fixTags>
4442 <notimestamp>true</notimestamp>
4443 <locale>en_US</locale>
4444 <!-- Pass some options straight to the javadoc executable since it is easier -->
4445 <additionalJOption>-J-Xmx2G</additionalJOption>
4446 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4447 <additionalDependencies>
4448 <additionalDependency>
4449 <groupId>org.mockito</groupId>
4450 <artifactId>mockito-core</artifactId>
4451 <version>${mockito-core.version}</version>
4452 </additionalDependency>
4453 <additionalDependency>
4454 <groupId>org.hamcrest</groupId>
4455 <artifactId>hamcrest-core</artifactId>
4456 <version>${hamcrest.version}</version>
4457 </additionalDependency>
4458 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4459 <additionalDependency>
4460 <groupId>com.google.code.findbugs</groupId>
4461 <artifactId>jsr305</artifactId>
4462 <version>3.0.2</version>
4463 </additionalDependency>
4464 </additionalDependencies>
4465 <inherited>false</inherited>
4473 <report>aggregate-no-fork</report>
4477 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4480 <groupId>org.apache.yetus</groupId>
4481 <artifactId>audience-annotations</artifactId>
4482 <version>${audience-annotations.version}</version>
4484 <useStandardDocletOptions>true</useStandardDocletOptions>
4485 <destDir>apidocs</destDir>
4486 <name>User API</name>
4487 <description>The HBase Application Programmer's API</description>
4488 <excludePackageNames>
4489 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*
4490 </excludePackageNames>
4491 <!-- switch on dependency-driven aggregation -->
4492 <includeDependencySources>false</includeDependencySources>
4493 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4494 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4496 <linksource>true</linksource>
4497 <sourcetab>2</sourcetab>
4498 <validateLinks>true</validateLinks>
4499 <fixClassComment>true</fixClassComment>
4500 <fixFieldComment>true</fixFieldComment>
4501 <fixMethodComment>true</fixMethodComment>
4502 <fixTags>all</fixTags>
4503 <notimestamp>true</notimestamp>
4504 <locale>en_US</locale>
4505 <!-- Pass some options straight to the javadoc executable since it is easier -->
4506 <additionalJOption>-J-Xmx2G</additionalJOption>
4507 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4508 <additionalDependencies>
4509 <additionalDependency>
4510 <groupId>org.mockito</groupId>
4511 <artifactId>mockito-core</artifactId>
4512 <version>${mockito-core.version}</version>
4513 </additionalDependency>
4514 <additionalDependency>
4515 <groupId>org.hamcrest</groupId>
4516 <artifactId>hamcrest-core</artifactId>
4517 <version>${hamcrest.version}</version>
4518 </additionalDependency>
4519 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4520 <additionalDependency>
4521 <groupId>com.google.code.findbugs</groupId>
4522 <artifactId>jsr305</artifactId>
4523 <version>3.0.2</version>
4524 </additionalDependency>
4525 </additionalDependencies>
4526 <inherited>false</inherited>
4529 <!-- User Test API -->
4531 <id>testuserapi</id>
4533 <report>test-aggregate-no-fork</report>
4537 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
4540 <groupId>org.apache.yetus</groupId>
4541 <artifactId>audience-annotations</artifactId>
4542 <version>${audience-annotations.version}</version>
4544 <useStandardDocletOptions>true</useStandardDocletOptions>
4545 <destDir>testapidocs</destDir>
4546 <name>User API</name>
4547 <description>The HBase Application Programmer's API</description>
4548 <excludePackageNames>
4549 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*
4550 </excludePackageNames>
4551 <!-- switch on dependency-driven aggregation -->
4552 <includeDependencySources>false</includeDependencySources>
4553 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
4554 <show>protected</show> <!-- (shows only public and protected classes and members) -->
4556 <linksource>true</linksource>
4557 <sourcetab>2</sourcetab>
4558 <validateLinks>true</validateLinks>
4559 <fixClassComment>true</fixClassComment>
4560 <fixFieldComment>true</fixFieldComment>
4561 <fixMethodComment>true</fixMethodComment>
4562 <fixTags>all</fixTags>
4563 <notimestamp>true</notimestamp>
4564 <locale>en_US</locale>
4565 <!-- Pass some options straight to the javadoc executable since it is easier -->
4566 <additionalJOption>-J-Xmx2G</additionalJOption>
4567 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
4568 <additionalDependencies>
4569 <additionalDependency>
4570 <groupId>org.mockito</groupId>
4571 <artifactId>mockito-core</artifactId>
4572 <version>${mockito-core.version}</version>
4573 </additionalDependency>
4574 <additionalDependency>
4575 <groupId>org.hamcrest</groupId>
4576 <artifactId>hamcrest-core</artifactId>
4577 <version>${hamcrest.version}</version>
4578 </additionalDependency>
4579 <!-- javadoc tooling requires jsr305 due to references to it from things we rely on -->
4580 <additionalDependency>
4581 <groupId>com.google.code.findbugs</groupId>
4582 <artifactId>jsr305</artifactId>
4583 <version>3.0.2</version>
4584 </additionalDependency>
4585 </additionalDependencies>
4586 <inherited>false</inherited>
4593 <groupId>org.apache.maven.plugins</groupId>
4594 <artifactId>maven-checkstyle-plugin</artifactId>
4595 <version>${maven.checkstyle.version}</version>
4597 <excludes>target/**</excludes>
4603 <distributionManagement>
4605 <id>hbase.apache.org</id>
4606 <name>HBase Website at hbase.apache.org</name>
4607 <!-- On why this is the tmp dir and not hbase.apache.org, see
4608 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
4610 <url>file:///tmp</url>
4612 </distributionManagement>