1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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>3.0.0-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>http://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-backup</module>
92 <module>hbase-zookeeper</module>
95 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
96 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
97 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
100 <system>JIRA</system>
101 <url>http://issues.apache.org/jira/browse/HBASE</url>
105 <name>User List</name>
106 <subscribe>user-subscribe@hbase.apache.org</subscribe>
107 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
108 <post>user@hbase.apache.org</post>
109 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
111 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
112 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
116 <name>Developer List</name>
117 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
118 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
119 <post>dev@hbase.apache.org</post>
120 <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
122 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
123 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
148 <name>Abhishek Singh Chouhan</name>
149 <email>achouhan@apache.org</email>
150 <timezone>+5</timezone>
154 <name>Amitanand S. Aiyer</name>
155 <email>acube123@apache.org</email>
156 <timezone>-8</timezone>
160 <name>Allan Yang</name>
161 <email>allan163@apache.org</email>
162 <timezone>+8</timezone>
166 <name>Apekshit Sharma</name>
167 <email>appy@apache.org</email>
168 <timezone>-8</timezone>
172 <name>Anastasia Braginsky</name>
173 <email>anastasia@apache.org</email>
174 <timezone>+2</timezone>
178 <name>Andrew Purtell</name>
179 <email>apurtell@apache.org</email>
180 <timezone>-8</timezone>
183 <id>anoopsamjohn</id>
184 <name>Anoop Sam John</name>
185 <email>anoopsamjohn@apache.org</email>
186 <timezone>+5</timezone>
190 <name>Mikhail Antonov</name>
191 <email>antonov@apache.org</email>
192 <timezone>-8</timezone>
195 <id>ashishsinghi</id>
196 <name>Ashish Singhi</name>
197 <email>ashishsinghi@apache.org</email>
198 <timezone>+5</timezone>
202 <name>Ashu Pachauri</name>
203 <email>ashu@apache.org</email>
204 <timezone>+5</timezone>
208 <name>Lijin Bin</name>
209 <email>binlijin@apache.org</email>
210 <timezone>+8</timezone>
214 <name>Toshihiro Suzuki</name>
215 <email>brfrn169@apache.org</email>
216 <timezone>+9</timezone>
220 <name>Sean Busbey</name>
221 <email>busbey@apache.org</email>
222 <timezone>-6</timezone>
226 <name>Heng Chen</name>
227 <email>chenheng@apache.org</email>
228 <timezone>+8</timezone>
232 <name>Chia-Ping Tsai</name>
233 <email>chia7712@apache.org</email>
234 <timezone>+8</timezone>
238 <name>Devaraj Das</name>
239 <email>ddas@apache.org</email>
240 <timezone>-8</timezone>
244 <name>Dima Spivak</name>
245 <email>dimaspivak@apache.org</email>
246 <timezone>-8</timezone>
250 <name>Doug Meil</name>
251 <email>dmeil@apache.org</email>
252 <timezone>-5</timezone>
256 <name>Elliott Clark</name>
257 <email>eclark@apache.org</email>
258 <timezone>-8</timezone>
262 <name>Josh Elser</name>
263 <email>elserj@apache.org</email>
264 <timezone>-5</timezone>
268 <name>Enis Soztutar</name>
269 <email>enis@apache.org</email>
270 <timezone>-8</timezone>
274 <name>Eshcar Hillel</name>
275 <email>eshcar@apache.org</email>
276 <timezone>+2</timezone>
280 <name>Honghua Feng</name>
281 <email>fenghh@apache.org</email>
282 <timezone>+8</timezone>
286 <name>Gary Helmling</name>
287 <email>garyh@apache.org</email>
288 <timezone>-8</timezone>
292 <name>Gregory Chanan</name>
293 <email>gchanan@apache.org</email>
294 <timezone>-8</timezone>
298 <name>Guangxu Cheng</name>
299 <email>gxcheng@apache.org</email>
300 <timezone>+8</timezone>
304 <name>Huaxiang Sun</name>
305 <email>huaxiangsun@apache.org</email>
306 <timezone>-8</timezone>
310 <name>Jean-Daniel Cryans</name>
311 <email>jdcryans@apache.org</email>
312 <timezone>-8</timezone>
316 <name>Jeffrey Zhong</name>
317 <email>jeffreyz@apache.org</email>
318 <timezone>-8</timezone>
322 <name>Jing Chen (Jerry) He</name>
323 <email>jerryjch@apache.org</email>
324 <timezone>-8</timezone>
328 <name>Jesse Yates</name>
329 <email>jyates@apache.org</email>
330 <timezone>-8</timezone>
334 <name>Jonathan Gray</name>
335 <email>jgray@fb.com</email>
336 <timezone>-8</timezone>
340 <name>Jingcheng Du</name>
341 <email>jingchengdu@apache.org</email>
342 <timezone>+8</timezone>
346 <name>Esteban Gutierrez</name>
347 <email>esteban@apache.org</email>
348 <timezone>-8</timezone>
352 <name>Jan Hentschel</name>
353 <email>janh@apache.org</email>
354 <timezone>+1</timezone>
358 <name>Jonathan Hsieh</name>
359 <email>jmhsieh@apache.org</email>
360 <timezone>-8</timezone>
364 <name>Jimmy Xiang</name>
365 <email>jxiang@apache.org</email>
366 <timezone>-8</timezone>
370 <name>Kannan Muthukkaruppan</name>
371 <email>kannan@fb.com</email>
372 <timezone>-8</timezone>
376 <name>Karthik Ranganathan</name>
377 <email>kranganathan@fb.com</email>
378 <timezone>-8</timezone>
382 <name>Lars Francke</name>
383 <email>larsfrancke@apache.org</email>
384 <timezone>Europe/Berlin</timezone>
388 <name>Lars George</name>
389 <email>larsgeorge@apache.org</email>
390 <timezone>+1</timezone>
394 <name>Lars Hofhansl</name>
395 <email>larsh@apache.org</email>
396 <timezone>-8</timezone>
400 <name>Liang Xie</name>
401 <email>liangxie@apache.org</email>
402 <timezone>+8</timezone>
406 <name>Shaohui Liu</name>
407 <email>liushaohui@apache.org</email>
408 <timezone>+8</timezone>
412 <name>Liyin Tang</name>
413 <email>liyin.tang@fb.com</email>
414 <timezone>-8</timezone>
419 <email>liyu@apache.org</email>
420 <timezone>+8</timezone>
424 <name>Mikhail Bautin</name>
425 <email>mbautin@apache.org</email>
426 <timezone>-8</timezone>
430 <name>Matteo Bertozzi</name>
431 <email>mbertozzi@apache.org</email>
432 <timezone>0</timezone>
436 <name>Mike Drob</name>
437 <email>mdrob@apache.org</email>
438 <timezone>-5</timezone>
442 <name>Balazs Meszaros</name>
443 <email>meszibalu@apache.org</email>
444 <timezone>+1</timezone>
448 <name>Misty Stanley-Jones</name>
449 <email>misty@apache.org</email>
450 <timezone>-8</timezone>
454 <name>Nick Dimiduk</name>
455 <email>ndimiduk@apache.org</email>
456 <timezone>-8</timezone>
460 <name>Nicolas Liochon</name>
461 <email>nkeywal@apache.org</email>
462 <timezone>+1</timezone>
465 <id>nspiegelberg</id>
466 <name>Nicolas Spiegelberg</name>
467 <email>nspiegelberg@fb.com</email>
468 <timezone>-8</timezone>
472 <name>Andrey Stepachev</name>
473 <email>octo47@gmail.com</email>
474 <timezone>0</timezone>
478 <name>Zheng Hu</name>
479 <email>openinx@apache.org</email>
480 <timezone>+8</timezone>
484 <name>Peter Somogyi</name>
485 <email>psomogyi@apache.org</email>
486 <timezone>+1</timezone>
490 <name>Rajeshbabu Chintaguntla</name>
491 <email>rajeshbabu@apache.org</email>
492 <timezone>+5</timezone>
496 <name>Ramkrishna S Vasudevan</name>
497 <email>ramkrishna@apache.org</email>
498 <timezone>+5</timezone>
502 <name>Ryan Rawson</name>
503 <email>rawson@apache.org</email>
504 <timezone>-8</timezone>
508 <name>Reid Chan</name>
509 <email>reidchan@apache.org</email>
510 <timezone>+8</timezone>
514 <name>Sergey Shelukhin</name>
515 <email>sershe@apache.org</email>
516 <timezone>-8</timezone>
520 <name>Srikanth Srungarapu</name>
521 <email>ssrungarapu@apache.org</email>
522 <timezone>-8</timezone>
526 <name>Michael Stack</name>
527 <email>stack@apache.org</email>
528 <timezone>-8</timezone>
532 <name>Stephen Yuan Jiang</name>
533 <email>syuanjiang@apache.org</email>
534 <timezone>-8</timezone>
539 <email>yuzhihong@gmail.com</email>
540 <timezone>-8</timezone>
544 <email>tianjy@apache.org</email>
545 <timezone>+8</timezone>
549 <name>Todd Lipcon</name>
550 <email>todd@apache.org</email>
551 <timezone>-8</timezone>
555 <name>Francis Liu</name>
556 <email>toffer@apache.org</email>
557 <timezone>-8</timezone>
561 <name>Vikas Vishwakarma</name>
562 <email>vikasv@apache.org</email>
563 <timezone>+5</timezone>
567 <name>Virag Kothari</name>
568 <email>virag@yahoo-inc.com</email>
569 <timezone>-8</timezone>
574 <email>xucang@apache.org</email>
575 <timezone>-8</timezone>
579 <name>Phil Yang</name>
580 <email>yangzhe1991@apache.org</email>
581 <timezone>+8</timezone>
585 <name>Guanghao Zhang</name>
586 <email>zghao@apache.org</email>
587 <timezone>+8</timezone>
591 <name>Duo Zhang</name>
592 <email>zhangduo@apache.org</email>
593 <timezone>+8</timezone>
597 <name>Chunhui Shen</name>
598 <email>zjushch@apache.org</email>
599 <timezone>+8</timezone>
603 <name>Rahul Gidwani</name>
604 <email>churro@apache.org</email>
605 <timezone>-8</timezone>
609 <name>Yi Liang</name>
610 <email>yiliang@apache.org</email>
611 <timezone>-8</timezone>
615 <name>Zach York</name>
616 <email>zyork@apache.org</email>
617 <timezone>-8</timezone>
623 <groupId>kr.motd.maven</groupId>
624 <artifactId>os-maven-plugin</artifactId>
625 <version>${os.maven.version}</version>
628 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
629 For specific version use a property and define it in the parent pom.
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-remote-resources-plugin</artifactId>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-release-plugin</artifactId>
641 <!--You need this profile. It'll sign your artifacts.
642 I'm not sure if this config. actually works though.
643 I've been specifying -Papache-release on the command-line
645 <releaseProfiles>apache-release</releaseProfiles>
646 <!--This stops our running tests for each stage of maven release.
647 But it builds the test jar. From SUREFIRE-172.
649 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
650 <goals>${goals}</goals>
651 <pomFileName>pom.xml</pomFileName>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-compiler-plugin</artifactId>
657 <version>${maven.compiler.version}</version>
659 <source>${compileSource}</source>
660 <target>${compileSource}</target>
661 <showWarnings>true</showWarnings>
662 <showDeprecation>false</showDeprecation>
663 <useIncrementalCompilation>false</useIncrementalCompilation>
664 <compilerArgument>-Xlint:-options</compilerArgument>
667 <!-- Test oriented plugins -->
669 <groupId>org.apache.maven.plugins</groupId>
670 <artifactId>maven-surefire-plugin</artifactId>
671 <version>${surefire.version}</version>
673 <!-- by default surefire selects dynamically the connector to the unit tests
674 tool. We want to use always the same as the different connectors can have different
675 bugs and behaviour. -->
677 <groupId>org.apache.maven.surefire</groupId>
678 <artifactId>${surefire.provider}</artifactId>
679 <version>${surefire.version}</version>
682 <!-- Generic testing configuration for all packages -->
684 <groups>${surefire.firstPartGroups}</groups>
685 <failIfNoTests>false</failIfNoTests>
686 <skip>${surefire.skipFirstPart}</skip>
687 <forkCount>${surefire.firstPartForkCount}</forkCount>
688 <reuseForks>false</reuseForks>
689 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
690 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
691 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
692 <systemPropertyVariables>
693 <test.build.classes>${test.build.classes}</test.build.classes>
694 </systemPropertyVariables>
696 <!-- users can add -D option to skip particular test classes
697 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
699 <exclude>${test.exclude.pattern}</exclude>
703 <name>listener</name>
704 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
710 <id>secondPartTestsExecution</id>
716 <skip>${surefire.skipSecondPart}</skip>
717 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
718 <reuseForks>false</reuseForks>
719 <forkCount>${surefire.secondPartForkCount}</forkCount>
720 <groups>${surefire.secondPartGroups}</groups>
721 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-surefire-report-plugin</artifactId>
729 <version>${surefire.version}</version>
732 <groupId>org.codehaus.mojo</groupId>
733 <artifactId>buildnumber-maven-plugin</artifactId>
734 <version>${buildnumber.maven.version}</version>
737 <groupId>org.codehaus.mojo</groupId>
738 <artifactId>findbugs-maven-plugin</artifactId>
739 <version>${findbugs.maven.version}</version>
740 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
742 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
743 <findbugsXmlOutput>true</findbugsXmlOutput>
744 <xmlOutput>true</xmlOutput>
749 <groupId>org.codehaus.mojo</groupId>
750 <artifactId>build-helper-maven-plugin</artifactId>
751 <version>${build.helper.maven.version}</version>
754 <artifactId>maven-antrun-plugin</artifactId>
755 <version>${maven.antrun.version}</version>
758 <groupId>org.jamon</groupId>
759 <artifactId>jamon-maven-plugin</artifactId>
760 <version>${jamon.plugin.version}</version>
762 <!-- Make a jar and put the sources in the jar.
763 In the parent pom, so submodules will do the right thing. -->
765 <groupId>org.apache.maven.plugins</groupId>
766 <artifactId>maven-source-plugin</artifactId>
769 <id>attach-sources</id>
770 <phase>prepare-package</phase>
772 <goal>jar-no-fork</goal>
773 <goal>test-jar-no-fork</goal>
778 <!-- General configuration for submodules who want to build a test jar -->
780 <groupId>org.apache.maven.plugins</groupId>
781 <artifactId>maven-jar-plugin</artifactId>
784 <phase>prepare-package</phase>
786 <!--This goal will install a -test.jar when we do install
787 See http://maven.apache.org/guides/mini/guide-attached-tests.html
789 <goal>test-jar</goal>
794 <skipIfEmpty>true</skipIfEmpty>
796 <exclude>hbase-site.xml</exclude>
797 <exclude>hdfs-site.xml</exclude>
798 <exclude>log4j.properties</exclude>
799 <exclude>mapred-queues.xml</exclude>
800 <exclude>mapred-site.xml</exclude>
804 <!-- General config for eclipse classpath/settings -->
806 <groupId>org.apache.maven.plugins</groupId>
807 <artifactId>maven-eclipse-plugin</artifactId>
808 <version>${maven.eclipse.version}</version>
810 <!--This plugin's configuration is used to store Eclipse m2e settings
811 only. It has no influence on the Maven build itself. m2e does not
812 provide any safeguards against rogue maven plugins that leak
813 classloaders, modify random files inside workspace or throw nasty
814 exceptions to fail the build.
815 Top level doesn't do any specific configuration currently - left
816 to modules to decide what they want to bind, sans those plugins
817 defined in this pom. -->
819 <groupId>org.eclipse.m2e</groupId>
820 <artifactId>lifecycle-mapping</artifactId>
821 <version>${lifecycle.mapping.version}</version>
823 <lifecycleMappingMetadata>
826 <pluginExecutionFilter>
827 <groupId>org.jacoco</groupId>
828 <artifactId>jacoco-maven-plugin</artifactId>
829 <versionRange>[0.6.2.201302030002,)</versionRange>
831 <goal>prepare-agent</goal>
833 </pluginExecutionFilter>
839 <pluginExecutionFilter>
840 <groupId>org.apache.maven.plugins</groupId>
841 <artifactId>maven-enforcer-plugin</artifactId>
842 <versionRange>${enforcer.version}</versionRange>
846 </pluginExecutionFilter>
852 <pluginExecutionFilter>
853 <groupId>org.apache.maven.plugins</groupId>
854 <artifactId>maven-remote-resources-plugin</artifactId>
855 <versionRange>[1.5,)</versionRange>
860 </pluginExecutionFilter>
866 <pluginExecutionFilter>
867 <groupId>org.codehaus.mojo</groupId>
868 <artifactId>buildnumber-maven-plugin</artifactId>
869 <versionRange>[1.3,)</versionRange>
871 <goal>create-timestamp</goal>
873 </pluginExecutionFilter>
876 <runOnConfiguration>true</runOnConfiguration>
877 <runOnIncremental>true</runOnIncremental>
882 </lifecycleMappingMetadata>
886 <!-- excludes are inherited -->
887 <groupId>org.apache.rat</groupId>
888 <artifactId>apache-rat-plugin</artifactId>
889 <version>${apache.rat.version}</version>
892 <exclude>**/*.versionsBackup</exclude>
893 <exclude>**/*.log</exclude>
894 <exclude>**/.*</exclude>
895 <exclude>**/*.tgz</exclude>
896 <exclude>**/*.orig</exclude>
897 <exclude>**/0000000000000016310</exclude>
898 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
899 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
900 <exclude>**/.idea/**</exclude>
901 <exclude>**/*.iml</exclude>
902 <exclude>**/CHANGES.txt</exclude>
903 <exclude>**/generated/**</exclude>
904 <exclude>**/gen-*/**</exclude>
905 <!-- No material contents -->
906 <exclude>conf/regionservers</exclude>
907 <exclude>**/*.avpr</exclude>
908 <exclude>**/*.svg</exclude>
909 <!-- non-standard notice file from jruby included by reference -->
910 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
911 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
912 <exclude>**/src/main/asciidoc/hbase.css</exclude>
913 <!-- MIT http://jquery.org/license -->
914 <exclude>**/jquery.min.js</exclude>
915 <exclude>**/jquery.tablesorter.min.js</exclude>
916 <!-- vector graphics -->
917 <exclude>**/*.vm</exclude>
918 <!-- apache doxia generated -->
919 <exclude>**/control</exclude>
920 <exclude>**/conffile</exclude>
921 <!-- auto-gen docs -->
922 <exclude>docs/*</exclude>
923 <exclude>logs/*</exclude>
924 <!-- exclude source control files -->
925 <exclude>.git/**</exclude>
926 <exclude>.svn/**</exclude>
927 <exclude>**/.settings/**</exclude>
928 <exclude>**/patchprocess/**</exclude>
929 <exclude>src/site/resources/repo/**</exclude>
930 <exclude>**/dependency-reduced-pom.xml</exclude>
931 <exclude>**/rat.txt</exclude>
932 <!-- exclude the shaded protobuf files -->
933 <exclude>**/shaded/com/google/protobuf/**</exclude>
934 <exclude>**/src/main/patches/**</exclude>
939 <artifactId>maven-assembly-plugin</artifactId>
941 <!--Defer to the hbase-assembly sub-module. It
943 <skipAssembly>true</skipAssembly>
947 <groupId>org.xolstice.maven.plugins</groupId>
948 <artifactId>protobuf-maven-plugin</artifactId>
949 <version>${protobuf.plugin.version}</version>
951 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
952 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
953 <clearOutputDirectory>false</clearOutputDirectory>
954 <checkStaleness>true</checkStaleness>
958 <!-- Approach followed here is roughly the same as mentioned here:
959 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
961 <groupId>org.apache.maven.plugins</groupId>
962 <artifactId>maven-checkstyle-plugin</artifactId>
963 <version>${maven.checkstyle.version}</version>
966 <groupId>org.apache.hbase</groupId>
967 <artifactId>hbase-checkstyle</artifactId>
968 <version>${project.version}</version>
971 <groupId>com.puppycrawl.tools</groupId>
972 <artifactId>checkstyle</artifactId>
973 <version>${checkstyle.version}</version>
977 <configLocation>hbase/checkstyle.xml</configLocation>
978 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
979 <includeTestSourceDirectory>true</includeTestSourceDirectory>
983 <groupId>net.revelc.code</groupId>
984 <artifactId>warbucks-maven-plugin</artifactId>
985 <version>${maven.warbucks.version}</version>
987 <ignoreRuleFailures>false</ignoreRuleFailures>
990 <!-- exclude the generated java files -->
991 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
992 <includeTestClasses>false</includeTestClasses>
993 <includePublicClasses>true</includePublicClasses>
994 <includePackagePrivateClasses>false</includePackagePrivateClasses>
995 <includeProtectedClasses>false</includeProtectedClasses>
996 <includePrivateClasses>false</includePrivateClasses>
997 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
1003 <id>run-warbucks</id>
1005 <goal>check</goal><!-- runs at process-test-classes phase -->
1014 <groupId>org.codehaus.mojo</groupId>
1015 <artifactId>build-helper-maven-plugin</artifactId>
1018 <id>negate-license-bundles-property</id>
1020 <goal>bsh-property</goal>
1023 <source>skip.license.check = !${license.bundles.dependencies};</source>
1025 <property>skip.license.check</property>
1029 <!-- sets where to find the generated LICENSE files -->
1031 <id>create-license-file-path-property</id>
1033 <goal>regex-property</goal>
1036 <name>license.aggregate.path</name>
1037 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
1039 <replacement>/</replacement>
1040 <failIfNoMatch>false</failIfNoMatch>
1046 <groupId>org.apache.maven.plugins</groupId>
1047 <artifactId>maven-enforcer-plugin</artifactId>
1048 <version>${enforcer.version}</version>
1051 <groupId>org.codehaus.mojo</groupId>
1052 <artifactId>extra-enforcer-rules</artifactId>
1053 <version>${extra.enforcer.version}</version>
1056 <groupId>de.skuzzle.enforcer</groupId>
1057 <artifactId>restrict-imports-enforcer-rule</artifactId>
1058 <version>${restrict-imports.enforcer.version}</version>
1061 <!-- version set by parent -->
1064 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1066 <goal>enforce</goal>
1070 <!-- Help people activate profiles correctly -->
1072 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1073 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1074 </evaluateBeanshell>
1075 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1076 <requireMavenVersion>
1077 <version>[${maven.min.version},)</version>
1078 <message>Maven is out of date.
1079 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1080 You appear to be using an older version. You can use either "mvn -version" or
1081 "mvn enforcer:display-info" to verify what version is active.
1082 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1084 </requireMavenVersion>
1085 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1086 <requireJavaVersion>
1087 <version>[${java.min.version},)</version>
1088 <message>Java is out of date.
1089 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1090 You appear to be using an older version. You can use either "mvn -version" or
1091 "mvn enforcer:display-info" to verify what version is active.
1092 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1094 </requireJavaVersion>
1095 <bannedDependencies>
1097 <exclude>xerces:xercesImpl</exclude>
1099 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1100 </bannedDependencies>
1105 <id>banned-jsr305</id>
1107 <goal>enforce</goal>
1111 <bannedDependencies>
1113 <exclude>com.google.code.findbugs:jsr305</exclude>
1115 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1116 </bannedDependencies>
1121 <id>banned-scala</id>
1123 <goal>enforce</goal>
1127 <bannedDependencies>
1129 <exclude>org.scala-lang:scala-library</exclude>
1131 <message>We don't allow Scala, see HBASE-13992.</message>
1132 </bannedDependencies>
1137 <id>check-aggregate-license</id>
1138 <!-- must check after LICENSE is built at 'generate-resources' -->
1139 <phase>process-resources</phase>
1141 <goal>enforce</goal>
1147 File license = new File("${license.aggregate.path}");
1149 // Beanshell does not support try-with-resources,
1150 // so we must close this scanner manually
1151 Scanner scanner = new Scanner(license);
1153 while (scanner.hasNextLine()) {
1154 if (scanner.nextLine().startsWith("ERROR:")) {
1163 License errors detected, for more detail find ERROR in
1164 ${license.aggregate.path}
1166 </evaluateBeanshell>
1168 <skip>${skip.license.check}</skip>
1172 <id>banned-illegal-imports</id>
1173 <phase>process-sources</phase>
1175 <goal>enforce</goal>
1179 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1180 <includeTestCode>true</includeTestCode>
1181 <commentLineBufferSize>512</commentLineBufferSize>
1182 <reason>Use SLF4j for logging</reason>
1184 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1185 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1188 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1189 <includeTestCode>true</includeTestCode>
1190 <commentLineBufferSize>512</commentLineBufferSize>
1191 <reason>Use shaded version in hbase-thirdparty</reason>
1193 <bannedImport>com.google.common.**</bannedImport>
1194 <bannedImport>io.netty.**</bannedImport>
1195 <bannedImport>org.apache.commons.cli.**</bannedImport>
1196 <bannedImport>org.apache.commons.collections.**</bannedImport>
1197 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1200 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1201 <includeTestCode>true</includeTestCode>
1202 <commentLineBufferSize>512</commentLineBufferSize>
1203 <reason>Do not use shaded classes from other dependencies</reason>
1205 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1206 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1209 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1210 <includeTestCode>true</includeTestCode>
1211 <commentLineBufferSize>512</commentLineBufferSize>
1212 <reason>Use shaded gson in hbase-thirdparty</reason>
1214 <bannedImport>org.codehaus.jackson.**</bannedImport>
1217 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1218 <includeTestCode>true</includeTestCode>
1219 <commentLineBufferSize>512</commentLineBufferSize>
1220 <reason>Use commons lang 3</reason>
1222 <bannedImport>org.apache.commons.lang.**</bannedImport>
1225 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1226 <includeTestCode>true</includeTestCode>
1227 <commentLineBufferSize>512</commentLineBufferSize>
1228 <reason>Use yetus IA and IS annotations</reason>
1230 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1233 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1234 <includeTestCode>true</includeTestCode>
1235 <commentLineBufferSize>512</commentLineBufferSize>
1236 <reason>Do not use htrace v3</reason>
1238 <bannedImport>org.htrace.**</bannedImport>
1246 <!-- parent-module only plugins -->
1248 <groupId>org.codehaus.mojo</groupId>
1249 <artifactId>xml-maven-plugin</artifactId>
1250 <version>${xml.maven.version}</version>
1251 <inherited>false</inherited>
1254 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1256 <goal>transform</goal>
1262 <transformationSets>
1263 <!-- For asciidoc -->
1265 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1266 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1268 <include>hbase-default.xml</include>
1270 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1272 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1273 <pattern>^(.*)\.xml$</pattern>
1274 <replacement>$1.adoc</replacement>
1277 <outputDir>${basedir}/target/asciidoc</outputDir>
1278 </transformationSet>
1279 </transformationSets>
1282 <!-- Special configuration for findbugs just in the parent so
1283 the filter file location can be more general (see definition in pluginManagement) -->
1285 <groupId>org.codehaus.mojo</groupId>
1286 <artifactId>findbugs-maven-plugin</artifactId>
1289 <inherited>false</inherited>
1291 <goal>findbugs</goal>
1294 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1300 <groupId>org.apache.maven.plugins</groupId>
1301 <artifactId>maven-checkstyle-plugin</artifactId>
1304 <groupId>org.apache.maven.plugins</groupId>
1305 <artifactId>maven-site-plugin</artifactId>
1308 <!-- add support for ssh/scp -->
1309 <groupId>org.apache.maven.wagon</groupId>
1310 <artifactId>wagon-ssh</artifactId>
1311 <version>${wagon.ssh.version}</version>
1315 <siteDirectory>${basedir}/src/site</siteDirectory>
1316 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1317 <inputEncoding>UTF-8</inputEncoding>
1318 <outputEncoding>UTF-8</outputEncoding>
1321 <!-- For AsciiDoc docs building -->
1323 <groupId>org.asciidoctor</groupId>
1324 <artifactId>asciidoctor-maven-plugin</artifactId>
1325 <version>${asciidoctor.plugin.version}</version>
1326 <inherited>false</inherited>
1329 <groupId>org.asciidoctor</groupId>
1330 <artifactId>asciidoctorj-pdf</artifactId>
1331 <version>${asciidoctorj.pdf.version}</version>
1334 <groupId>org.jruby</groupId>
1335 <artifactId>jruby-complete</artifactId>
1336 <version>${jruby.version}</version>
1340 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1341 <doctype>book</doctype>
1342 <imagesDir>images</imagesDir>
1343 <sourceHighlighter>coderay</sourceHighlighter>
1345 <docVersion>${project.version}</docVersion>
1350 <id>output-html</id>
1353 <goal>process-asciidoc</goal>
1357 <stylesheet>hbase.css</stylesheet>
1359 <backend>html5</backend>
1366 <goal>process-asciidoc</goal>
1369 <backend>pdf</backend>
1374 <idseparator>-</idseparator>
1381 <groupId>org.apache.maven.plugins</groupId>
1382 <artifactId>maven-resources-plugin</artifactId>
1383 <!--$NO-MVN-MAN-VER$ -->
1384 <inherited>false</inherited>
1387 <id>copy-htaccess</id>
1389 <goal>copy-resources</goal>
1393 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1396 <directory>${basedir}/src/site/resources/</directory>
1398 <include>.htaccess</include>
1404 <!-- needed to make the redirect above work -->
1406 <id>copy-empty-book-dir</id>
1408 <goal>copy-resources</goal>
1412 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1415 <directory>${basedir}/src/site/resources/</directory>
1417 <include>book/**</include>
1425 <escapeString>\</escapeString>
1429 <groupId>org.apache.maven.plugins</groupId>
1430 <artifactId>maven-antrun-plugin</artifactId>
1431 <version>${maven.antrun.version}</version>
1432 <inherited>false</inherited>
1433 <!-- Rename the book.pdf generated by asciidoctor -->
1439 <target name="rename file">
1440 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1450 <groupId>org.codehaus.mojo</groupId>
1451 <artifactId>buildnumber-maven-plugin</artifactId>
1454 <phase>validate</phase>
1456 <goal>create-timestamp</goal>
1461 <timestampFormat>yyyy</timestampFormat>
1462 <timestampPropertyName>build.year</timestampPropertyName>
1466 <groupId>org.apache.felix</groupId>
1467 <artifactId>maven-bundle-plugin</artifactId>
1468 <version>${maven.bundle.version}</version>
1469 <inherited>true</inherited>
1470 <extensions>true</extensions>
1475 <!-- override on command line to have generated LICENSE files include
1476 diagnostic info for verifying notice requirements -->
1477 <license.debug.print.included>false</license.debug.print.included>
1478 <!-- When a particular module bundles its depenendencies, should be true -->
1479 <license.bundles.dependencies>false</license.bundles.dependencies>
1480 <!-- modules that include a the logo in their source tree should set true -->
1481 <license.bundles.logo>false</license.bundles.logo>
1482 <!-- modules that include bootstrap in their source tree should set true -->
1483 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1484 <!-- modules that include jquery in their source tree should set true -->
1485 <license.bundles.jquery>false</license.bundles.jquery>
1486 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1487 <maven.build.timestamp.format>
1489 </maven.build.timestamp.format>
1490 <buildDate>${maven.build.timestamp}</buildDate>
1491 <compileSource>1.8</compileSource>
1492 <!-- Build dependencies -->
1493 <maven.min.version>3.0.4</maven.min.version>
1494 <java.min.version>${compileSource}</java.min.version>
1495 <!-- Dependencies -->
1496 <hadoop-two.version>2.7.7</hadoop-two.version>
1497 <hadoop-three.version>3.0.3</hadoop-three.version>
1498 <!-- These must be defined here for downstream build tools that don't look at profiles.
1499 They ought to match the values found in our default hadoop profile, which is
1500 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1501 <hadoop.version>${hadoop-two.version}</hadoop.version>
1502 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1503 <compat.module>hbase-hadoop2-compat</compat.module>
1504 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1505 <!--This property is for hadoops netty. HBase netty
1506 comes in via hbase-thirdparty hbase-shaded-netty-->
1507 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1508 <!-- end HBASE-15925 default hadoop compatibility values -->
1509 <audience-annotations.version>0.5.0</audience-annotations.version>
1510 <avro.version>1.7.7</avro.version>
1511 <commons-codec.version>1.10</commons-codec.version>
1512 <commons-validator.version>1.6</commons-validator.version>
1513 <!-- pretty outdated -->
1514 <commons-io.version>2.5</commons-io.version>
1515 <commons-lang3.version>3.6</commons-lang3.version>
1516 <commons-math.version>3.6.1</commons-math.version>
1517 <disruptor.version>3.3.6</disruptor.version>
1518 <httpclient.version>4.5.3</httpclient.version>
1519 <httpcore.version>4.4.6</httpcore.version>
1520 <metrics-core.version>3.2.1</metrics-core.version>
1521 <jackson.version>2.9.2</jackson.version>
1522 <jaxb-api.version>2.2.12</jaxb-api.version>
1523 <jetty.version>9.3.25.v20180904</jetty.version>
1524 <servlet.api.version>3.1.0</servlet.api.version>
1525 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1526 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1527 <jersey.version>2.25.1</jersey.version>
1528 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1529 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1530 <jruby.version>9.1.13.0</jruby.version>
1531 <junit.version>4.12</junit.version>
1532 <hamcrest.version>1.3</hamcrest.version>
1533 <htrace.version>4.2.0-incubating</htrace.version>
1534 <log4j.version>1.2.17</log4j.version>
1535 <mockito-core.version>2.1.0</mockito-core.version>
1536 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1537 <external.protobuf.version>2.5.0</external.protobuf.version>
1538 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1539 <thrift.path>thrift</thrift.path>
1540 <thrift.version>0.12.0</thrift.version>
1541 <zookeeper.version>3.4.10</zookeeper.version>
1542 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1543 <jline.version>0.9.94</jline.version>
1544 <slf4j.version>1.7.25</slf4j.version>
1545 <clover.version>4.0.3</clover.version>
1546 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1547 <jettison.version>1.3.8</jettison.version>
1548 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1549 <joni.version>2.1.11</joni.version>
1550 <jcodings.version>1.0.18</jcodings.version>
1551 <spy.version>2.12.2</spy.version>
1552 <bouncycastle.version>1.60</bouncycastle.version>
1553 <kerby.version>1.0.1</kerby.version>
1554 <commons-crypto.version>1.0.0</commons-crypto.version>
1555 <curator.version>4.0.0</curator.version>
1556 <!-- Plugin Dependencies -->
1557 <apache.rat.version>0.12</apache.rat.version>
1558 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1559 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1560 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1561 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1562 <checkstyle.version>8.11</checkstyle.version>
1563 <exec.maven.version>1.6.0</exec.maven.version>
1564 <error-prone.version>2.3.3</error-prone.version>
1565 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1566 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1567 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1568 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1569 <maven.antrun.version>1.8</maven.antrun.version>
1570 <maven.bundle.version>3.3.0</maven.bundle.version>
1571 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1572 <maven.compiler.version>3.8.0</maven.compiler.version>
1573 <maven.eclipse.version>2.10</maven.eclipse.version>
1574 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1575 <os.maven.version>1.5.0.Final</os.maven.version>
1576 <spotbugs.version>3.1.11</spotbugs.version>
1577 <wagon.ssh.version>2.12</wagon.ssh.version>
1578 <xml.maven.version>1.0.1</xml.maven.version>
1579 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1580 <!-- Intraproject jar naming properties -->
1581 <!-- TODO this is pretty ugly, but works for the moment.
1582 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1583 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1584 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1585 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1586 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1587 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1588 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1589 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1590 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1591 <shell-executable>bash</shell-executable>
1592 <surefire.provider>surefire-junit47</surefire.provider>
1593 <!-- default: run small & medium, medium with 2 threads -->
1594 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1595 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1596 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1597 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1598 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1599 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1600 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1601 <test.output.tofile>true</test.output.tofile>
1602 <surefire.timeout>900</surefire.timeout>
1603 <test.exclude.pattern></test.exclude.pattern>
1604 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1605 <surefire.Xmx>2800m</surefire.Xmx>
1606 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1607 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1609 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1610 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1611 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1612 </hbase-surefire.argLine>
1613 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1614 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1615 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1616 </hbase-surefire.cygwin-argLine>
1617 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1618 <argLine>${hbase-surefire.argLine}</argLine>
1619 <jacoco.version>0.7.5.201505241946</jacoco.version>
1620 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1621 <enforcer.version>3.0.0-M2</enforcer.version>
1622 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1623 <!-- Location of test resources -->
1624 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1625 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1626 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1627 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1628 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1629 <build.id>${maven.build.timestamp}</build.id>
1630 <shell-executable>bash</shell-executable>
1631 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1632 property as of javadoc-plugin 3.0.0 -->
1633 <doclint>none</doclint>
1635 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1636 <dependencyManagement>
1639 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1640 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1641 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1642 implementation of the same, because Hadoop also uses this version
1643 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1644 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1646 <!-- Intra-module dependencies -->
1648 <groupId>org.apache.hbase</groupId>
1649 <artifactId>hbase-annotations</artifactId>
1650 <version>${project.version}</version>
1651 <type>test-jar</type>
1652 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1655 <artifactId>hbase-backup</artifactId>
1656 <groupId>org.apache.hbase</groupId>
1657 <version>${project.version}</version>
1660 <groupId>org.apache.hbase</groupId>
1661 <artifactId>hbase-common</artifactId>
1662 <version>${project.version}</version>
1665 <groupId>org.apache.hbase</groupId>
1666 <artifactId>hbase-common</artifactId>
1667 <version>${project.version}</version>
1668 <type>test-jar</type>
1672 <groupId>org.apache.hbase</groupId>
1673 <artifactId>hbase-protocol-shaded</artifactId>
1674 <version>${project.version}</version>
1677 <groupId>org.apache.hbase</groupId>
1678 <artifactId>hbase-protocol</artifactId>
1679 <version>${project.version}</version>
1682 <groupId>org.apache.hbase</groupId>
1683 <artifactId>hbase-procedure</artifactId>
1684 <version>${project.version}</version>
1687 <groupId>org.apache.hbase</groupId>
1688 <artifactId>hbase-procedure</artifactId>
1689 <version>${project.version}</version>
1690 <type>test-jar</type>
1693 <groupId>org.apache.hbase</groupId>
1694 <artifactId>hbase-hadoop-compat</artifactId>
1695 <version>${project.version}</version>
1698 <groupId>org.apache.hbase</groupId>
1699 <artifactId>hbase-hadoop-compat</artifactId>
1700 <version>${project.version}</version>
1701 <type>test-jar</type>
1705 <groupId>org.apache.hbase</groupId>
1706 <artifactId>${compat.module}</artifactId>
1707 <version>${project.version}</version>
1710 <groupId>org.apache.hbase</groupId>
1711 <artifactId>${compat.module}</artifactId>
1712 <version>${project.version}</version>
1713 <type>test-jar</type>
1717 <artifactId>hbase-rsgroup</artifactId>
1718 <groupId>org.apache.hbase</groupId>
1719 <version>${project.version}</version>
1722 <artifactId>hbase-rsgroup</artifactId>
1723 <groupId>org.apache.hbase</groupId>
1724 <version>${project.version}</version>
1725 <type>test-jar</type>
1729 <artifactId>hbase-replication</artifactId>
1730 <groupId>org.apache.hbase</groupId>
1731 <version>${project.version}</version>
1734 <artifactId>hbase-http</artifactId>
1735 <groupId>org.apache.hbase</groupId>
1736 <version>${project.version}</version>
1739 <artifactId>hbase-http</artifactId>
1740 <groupId>org.apache.hbase</groupId>
1741 <version>${project.version}</version>
1742 <type>test-jar</type>
1746 <artifactId>hbase-server</artifactId>
1747 <groupId>org.apache.hbase</groupId>
1748 <version>${project.version}</version>
1751 <artifactId>hbase-server</artifactId>
1752 <groupId>org.apache.hbase</groupId>
1753 <version>${project.version}</version>
1754 <type>test-jar</type>
1758 <artifactId>hbase-mapreduce</artifactId>
1759 <groupId>org.apache.hbase</groupId>
1760 <version>${project.version}</version>
1763 <artifactId>hbase-mapreduce</artifactId>
1764 <groupId>org.apache.hbase</groupId>
1765 <version>${project.version}</version>
1766 <type>test-jar</type>
1770 <artifactId>hbase-endpoint</artifactId>
1771 <groupId>org.apache.hbase</groupId>
1772 <version>${project.version}</version>
1775 <artifactId>hbase-shell</artifactId>
1776 <groupId>org.apache.hbase</groupId>
1777 <version>${project.version}</version>
1780 <artifactId>hbase-shell</artifactId>
1781 <groupId>org.apache.hbase</groupId>
1782 <version>${project.version}</version>
1783 <type>test-jar</type>
1787 <artifactId>hbase-thrift</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1792 <artifactId>hbase-thrift</artifactId>
1793 <groupId>org.apache.hbase</groupId>
1794 <version>${project.version}</version>
1795 <type>test-jar</type>
1799 <groupId>org.apache.hbase</groupId>
1800 <artifactId>hbase-testing-util</artifactId>
1801 <version>${project.version}</version>
1805 <artifactId>hbase-examples</artifactId>
1806 <groupId>org.apache.hbase</groupId>
1807 <version>${project.version}</version>
1810 <groupId>org.apache.hbase</groupId>
1811 <artifactId>hbase-external-blockcache</artifactId>
1812 <version>${project.version}</version>
1815 <artifactId>hbase-it</artifactId>
1816 <groupId>org.apache.hbase</groupId>
1817 <version>${project.version}</version>
1818 <type>test-jar</type>
1822 <artifactId>hbase-client</artifactId>
1823 <groupId>org.apache.hbase</groupId>
1824 <version>${project.version}</version>
1827 <artifactId>hbase-metrics-api</artifactId>
1828 <groupId>org.apache.hbase</groupId>
1829 <version>${project.version}</version>
1832 <artifactId>hbase-metrics-api</artifactId>
1833 <groupId>org.apache.hbase</groupId>
1834 <version>${project.version}</version>
1835 <type>test-jar</type>
1839 <artifactId>hbase-metrics</artifactId>
1840 <groupId>org.apache.hbase</groupId>
1841 <version>${project.version}</version>
1844 <artifactId>hbase-metrics</artifactId>
1845 <groupId>org.apache.hbase</groupId>
1846 <version>${project.version}</version>
1847 <type>test-jar</type>
1851 <artifactId>hbase-rest</artifactId>
1852 <groupId>org.apache.hbase</groupId>
1853 <version>${project.version}</version>
1856 <artifactId>hbase-resource-bundle</artifactId>
1857 <groupId>org.apache.hbase</groupId>
1858 <version>${project.version}</version>
1861 <artifactId>hbase-zookeeper</artifactId>
1862 <groupId>org.apache.hbase</groupId>
1863 <version>${project.version}</version>
1866 <artifactId>hbase-zookeeper</artifactId>
1867 <groupId>org.apache.hbase</groupId>
1868 <version>${project.version}</version>
1869 <type>test-jar</type>
1873 <groupId>org.apache.hbase</groupId>
1874 <artifactId>hbase-shaded-client</artifactId>
1875 <version>${project.version}</version>
1878 <groupId>org.apache.hbase</groupId>
1879 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1880 <version>${project.version}</version>
1883 <groupId>org.apache.hbase</groupId>
1884 <artifactId>hbase-shaded-mapreduce</artifactId>
1885 <version>${project.version}</version>
1887 <!-- General dependencies -->
1889 <groupId>com.github.stephenc.findbugs</groupId>
1890 <artifactId>findbugs-annotations</artifactId>
1891 <version>${findbugs-annotations}</version>
1893 <!-- General dependencies -->
1895 <groupId>org.codehaus.jettison</groupId>
1896 <artifactId>jettison</artifactId>
1897 <version>${jettison.version}</version>
1900 <groupId>org.slf4j</groupId>
1901 <artifactId>slf4j-log4j12</artifactId>
1902 <version>${slf4j.version}</version>
1905 <groupId>log4j</groupId>
1906 <artifactId>log4j</artifactId>
1907 <version>${log4j.version}</version>
1909 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1911 <groupId>org.apache.avro</groupId>
1912 <artifactId>avro</artifactId>
1913 <version>${avro.version}</version>
1915 <!--This is not used by hbase directly. Used by thrift,
1916 dropwizard and zk.-->
1918 <groupId>org.slf4j</groupId>
1919 <artifactId>slf4j-api</artifactId>
1920 <version>${slf4j.version}</version>
1923 <groupId>io.dropwizard.metrics</groupId>
1924 <artifactId>metrics-core</artifactId>
1925 <version>${metrics-core.version}</version>
1928 <groupId>org.apache.httpcomponents</groupId>
1929 <artifactId>httpclient</artifactId>
1930 <version>${httpclient.version}</version>
1933 <groupId>org.apache.httpcomponents</groupId>
1934 <artifactId>httpcore</artifactId>
1935 <version>${httpcore.version}</version>
1938 <groupId>commons-codec</groupId>
1939 <artifactId>commons-codec</artifactId>
1940 <version>${commons-codec.version}</version>
1943 <groupId>commons-validator</groupId>
1944 <artifactId>commons-validator</artifactId>
1945 <version>${commons-validator.version}</version>
1948 <groupId>commons-io</groupId>
1949 <artifactId>commons-io</artifactId>
1950 <version>${commons-io.version}</version>
1953 <groupId>org.apache.commons</groupId>
1954 <artifactId>commons-lang3</artifactId>
1955 <version>${commons-lang3.version}</version>
1958 <groupId>org.apache.commons</groupId>
1959 <artifactId>commons-math3</artifactId>
1960 <version>${commons-math.version}</version>
1963 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1966 <groupId>commons-logging</groupId>
1967 <artifactId>commons-logging</artifactId>
1968 <version>1.2</version>
1971 <groupId>org.apache.zookeeper</groupId>
1972 <artifactId>zookeeper</artifactId>
1973 <version>${zookeeper.version}</version>
1976 <groupId>jline</groupId>
1977 <artifactId>jline</artifactId>
1980 <groupId>com.sun.jmx</groupId>
1981 <artifactId>jmxri</artifactId>
1984 <groupId>com.sun.jdmk</groupId>
1985 <artifactId>jmxtools</artifactId>
1988 <groupId>javax.jms</groupId>
1989 <artifactId>jms</artifactId>
1992 <groupId>io.netty</groupId>
1993 <artifactId>netty</artifactId>
1998 <groupId>jline</groupId>
1999 <artifactId>jline</artifactId>
2000 <version>${jline.version}</version>
2003 <groupId>org.apache.thrift</groupId>
2004 <artifactId>libthrift</artifactId>
2005 <version>${thrift.version}</version>
2008 <groupId>org.slf4j</groupId>
2009 <artifactId>slf4j-simple</artifactId>
2014 <groupId>org.jruby</groupId>
2015 <artifactId>jruby-complete</artifactId>
2016 <version>${jruby.version}</version>
2019 <groupId>org.jruby.jcodings</groupId>
2020 <artifactId>jcodings</artifactId>
2021 <version>${jcodings.version}</version>
2024 <groupId>org.jruby.joni</groupId>
2025 <artifactId>joni</artifactId>
2026 <version>${joni.version}</version>
2029 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2030 <artifactId>jackson-jaxrs-json-provider</artifactId>
2031 <version>${jackson.version}</version>
2034 <groupId>com.fasterxml.jackson.core</groupId>
2035 <artifactId>jackson-annotations</artifactId>
2036 <version>${jackson.version}</version>
2039 <groupId>com.fasterxml.jackson.core</groupId>
2040 <artifactId>jackson-core</artifactId>
2041 <version>${jackson.version}</version>
2044 <groupId>com.fasterxml.jackson.core</groupId>
2045 <artifactId>jackson-databind</artifactId>
2046 <version>${jackson.version}</version>
2049 <groupId>org.jamon</groupId>
2050 <artifactId>jamon-runtime</artifactId>
2051 <version>${jamon-runtime.version}</version>
2053 <!-- REST dependencies -->
2055 <groupId>javax.servlet</groupId>
2056 <artifactId>javax.servlet-api</artifactId>
2057 <version>${servlet.api.version}</version>
2060 <groupId>javax.ws.rs</groupId>
2061 <artifactId>javax.ws.rs-api</artifactId>
2062 <version>${wx.rs.api.version}</version>
2065 <groupId>org.eclipse.jetty</groupId>
2066 <artifactId>jetty-server</artifactId>
2067 <version>${jetty.version}</version>
2070 <groupId>org.eclipse.jetty</groupId>
2071 <artifactId>jetty-servlet</artifactId>
2072 <version>${jetty.version}</version>
2075 <groupId>org.eclipse.jetty</groupId>
2076 <artifactId>servlet-api</artifactId>
2081 <groupId>org.eclipse.jetty</groupId>
2082 <artifactId>jetty-security</artifactId>
2083 <version>${jetty.version}</version>
2086 <groupId>org.eclipse.jetty</groupId>
2087 <artifactId>jetty-http</artifactId>
2088 <version>${jetty.version}</version>
2091 <groupId>org.eclipse.jetty</groupId>
2092 <artifactId>jetty-util</artifactId>
2093 <version>${jetty.version}</version>
2096 <groupId>org.eclipse.jetty</groupId>
2097 <artifactId>jetty-io</artifactId>
2098 <version>${jetty.version}</version>
2101 <groupId>org.eclipse.jetty</groupId>
2102 <artifactId>jetty-jmx</artifactId>
2103 <version>${jetty.version}</version>
2106 <groupId>org.eclipse.jetty</groupId>
2107 <artifactId>jetty-webapp</artifactId>
2108 <version>${jetty.version}</version>
2111 <groupId>org.eclipse.jetty</groupId>
2112 <artifactId>jetty-util-ajax</artifactId>
2113 <version>${jetty.version}</version>
2116 <groupId>com.google.protobuf</groupId>
2117 <artifactId>protobuf-java</artifactId>
2118 <version>${external.protobuf.version}</version>
2121 <groupId>org.glassfish.jersey.containers</groupId>
2122 <artifactId>jersey-container-servlet-core</artifactId>
2123 <version>${jersey.version}</version>
2126 <groupId>org.glassfish.jersey.core</groupId>
2127 <artifactId>jersey-client</artifactId>
2128 <version>${jersey.version}</version>
2131 <groupId>org.glassfish.jersey.core</groupId>
2132 <artifactId>jersey-server</artifactId>
2133 <version>${jersey.version}</version>
2136 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2137 <groupId>org.glassfish.web</groupId>
2138 <artifactId>javax.servlet.jsp</artifactId>
2139 <version>${glassfish.jsp.version}</version>
2142 <!-- this lib is used by the compiled Jsp from the above JspC -->
2143 <groupId>javax.servlet.jsp</groupId>
2144 <artifactId>javax.servlet.jsp-api</artifactId>
2145 <version>2.3.1</version>
2148 <groupId>org.glassfish</groupId>
2149 <artifactId>javax.el</artifactId>
2150 <version>${glassfish.el.version}</version>
2153 <groupId>javax.xml.bind</groupId>
2154 <artifactId>jaxb-api</artifactId>
2155 <version>${jaxb-api.version}</version>
2158 <groupId>javax.xml.stream</groupId>
2159 <artifactId>stax-api</artifactId>
2164 <groupId>junit</groupId>
2165 <artifactId>junit</artifactId>
2166 <version>${junit.version}</version>
2169 <groupId>org.hamcrest</groupId>
2170 <artifactId>hamcrest-core</artifactId>
2171 <version>${hamcrest.version}</version>
2175 <groupId>org.mockito</groupId>
2176 <artifactId>mockito-core</artifactId>
2177 <version>${mockito-core.version}</version>
2181 <groupId>org.apache.htrace</groupId>
2182 <artifactId>htrace-core4</artifactId>
2183 <version>${htrace.version}</version>
2186 <groupId>com.lmax</groupId>
2187 <artifactId>disruptor</artifactId>
2188 <version>${disruptor.version}</version>
2191 <groupId>net.spy</groupId>
2192 <artifactId>spymemcached</artifactId>
2193 <version>${spy.version}</version>
2194 <optional>true</optional>
2197 <groupId>org.bouncycastle</groupId>
2198 <artifactId>bcprov-jdk15on</artifactId>
2199 <version>${bouncycastle.version}</version>
2203 <groupId>org.apache.kerby</groupId>
2204 <artifactId>kerb-core</artifactId>
2205 <version>${kerby.version}</version>
2208 <groupId>org.apache.kerby</groupId>
2209 <artifactId>kerb-client</artifactId>
2210 <version>${kerby.version}</version>
2213 <groupId>org.apache.kerby</groupId>
2214 <artifactId>kerb-simplekdc</artifactId>
2215 <version>${kerby.version}</version>
2218 <groupId>org.apache.commons</groupId>
2219 <artifactId>commons-crypto</artifactId>
2220 <version>${commons-crypto.version}</version>
2223 <groupId>net.java.dev.jna</groupId>
2224 <artifactId>jna</artifactId>
2229 <groupId>org.apache.curator</groupId>
2230 <artifactId>curator-framework</artifactId>
2231 <version>${curator.version}</version>
2234 <groupId>org.apache.zookeeper</groupId>
2235 <artifactId>zookeeper</artifactId>
2240 <groupId>org.apache.curator</groupId>
2241 <artifactId>curator-client</artifactId>
2242 <version>${curator.version}</version>
2245 <groupId>com.google.guava</groupId>
2246 <artifactId>guava</artifactId>
2249 <groupId>org.apache.zookeeper</groupId>
2250 <artifactId>zookeeper</artifactId>
2255 <groupId>org.apache.curator</groupId>
2256 <artifactId>curator-recipes</artifactId>
2257 <version>${curator.version}</version>
2260 <groupId>com.google.guava</groupId>
2261 <artifactId>guava</artifactId>
2264 <groupId>org.apache.zookeeper</groupId>
2265 <artifactId>zookeeper</artifactId>
2270 <groupId>org.apache.yetus</groupId>
2271 <artifactId>audience-annotations</artifactId>
2272 <version>${audience-annotations.version}</version>
2275 <groupId>org.apache.hbase.thirdparty</groupId>
2276 <artifactId>hbase-shaded-miscellaneous</artifactId>
2277 <version>${hbase-thirdparty.version}</version>
2280 <groupId>org.apache.hbase.thirdparty</groupId>
2281 <artifactId>hbase-shaded-netty</artifactId>
2282 <version>${hbase-thirdparty.version}</version>
2285 <groupId>org.apache.hbase.thirdparty</groupId>
2286 <artifactId>hbase-shaded-protobuf</artifactId>
2287 <version>${hbase-thirdparty.version}</version>
2290 </dependencyManagement>
2292 <!--REMOVE THIS. HERE TEMPORARILY.
2293 Implication is that every module needs junit which is not so.
2294 Cannot undo though because build runs test on each module and
2295 it fails if no junit. TODO. -->
2297 <groupId>junit</groupId>
2298 <artifactId>junit</artifactId>
2303 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2308 <id>apache.releases.https</id>
2309 <username>hbase_committer</username>
2310 <password>********</password>
2314 <id>apache.snapshots.https</id>
2315 <username>hbase_committer</username>
2316 <password>********</password>
2324 $ mvn -s /my/path/settings.xml deploy
2332 <name>!skip-rsgroup</name>
2336 <module>hbase-rsgroup</module>
2340 <id>build-with-jdk8</id>
2348 <groupId>org.codehaus.mojo</groupId>
2349 <artifactId>findbugs-maven-plugin</artifactId>
2350 <version>${findbugs.maven.version}</version>
2351 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2353 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2354 <findbugsXmlOutput>true</findbugsXmlOutput>
2355 <xmlOutput>true</xmlOutput>
2356 <effort>Max</effort>
2360 <groupId>com.github.spotbugs</groupId>
2361 <artifactId>spotbugs</artifactId>
2362 <version>${spotbugs.version}</version>
2371 <id>build-with-jdk11</id>
2375 <dependencyManagement>
2378 <groupId>javax.annotation</groupId>
2379 <artifactId>javax.annotation-api</artifactId>
2380 <version>1.3.2</version>
2383 <groupId>com.sun.xml.ws</groupId>
2384 <artifactId>jaxws-ri</artifactId>
2385 <version>2.3.1</version>
2389 </dependencyManagement>
2391 <!-- profile activated by the Jenkins patch testing job -->
2393 <id>jenkins.patch</id>
2395 <activeByDefault>false</activeByDefault>
2397 <name>HBasePatchProcess</name>
2401 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2406 <groupId>org.apache.maven.plugins</groupId>
2407 <artifactId>maven-antrun-plugin</artifactId>
2408 <inherited>false</inherited>
2411 <phase>validate</phase>
2417 <echo>Maven Execution Environment</echo>
2418 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2430 <activeByDefault>false</activeByDefault>
2435 <groupId>org.jacoco</groupId>
2436 <artifactId>jacoco-maven-plugin</artifactId>
2437 <version>${jacoco.version}</version>
2440 <id>prepare-agent</id>
2442 <goal>prepare-agent</goal>
2447 <phase>prepare-package</phase>
2454 <systemPropertyVariables>
2455 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2456 </systemPropertyVariables>
2458 <exclude>**/generated/**/*.class</exclude>
2468 <activeByDefault>false</activeByDefault>
2470 <family>Linux</family>
2474 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2481 <family>Mac</family>
2485 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2492 <family>Windows</family>
2496 <build.platform>cygwin</build.platform>
2497 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2500 <!-- this profile should be activated for release builds -->
2506 <groupId>org.apache.rat</groupId>
2507 <artifactId>apache-rat-plugin</artifactId>
2510 <phase>package</phase>
2518 <groupId>org.apache.maven.plugins</groupId>
2519 <artifactId>maven-enforcer-plugin</artifactId>
2520 <version>${enforcer.version}</version>
2523 <enforceBytecodeVersion>
2524 <maxJdkVersion>${compileSource}</maxJdkVersion>
2525 <message>HBase has unsupported dependencies.
2526 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2527 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2528 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2529 Non-release builds can temporarily build with a newer JDK version by setting the
2530 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2532 </enforceBytecodeVersion>
2539 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2540 <!-- Submodules that need hadoop dependencies should declare
2541 profiles with activation properties matching the profile here.
2542 Generally, it should be sufficient to copy the first
2543 few lines of the profile you want to match. -->
2544 <!-- profile for building against Hadoop 2.0.x
2545 This is the default.
2551 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2552 <!--h2--><name>!hadoop.profile</name>
2556 <module>hbase-hadoop2-compat</module>
2559 <hadoop.version>${hadoop-two.version}</hadoop.version>
2560 <compat.module>hbase-hadoop2-compat</compat.module>
2561 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2562 <!--This property is for hadoops netty. HBase netty
2563 comes in via hbase-thirdparty hbase-shaded-netty-->
2564 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2566 <dependencyManagement>
2569 <groupId>org.apache.hadoop</groupId>
2570 <artifactId>hadoop-mapreduce-client-core</artifactId>
2571 <version>${hadoop-two.version}</version>
2574 <groupId>com.sun.jersey</groupId>
2575 <artifactId>jersey-core</artifactId>
2578 <groupId>io.netty</groupId>
2579 <artifactId>netty</artifactId>
2582 <groupId>javax.servlet</groupId>
2583 <artifactId>servlet-api</artifactId>
2586 <groupId>javax.inject</groupId>
2587 <artifactId>javax.inject</artifactId>
2590 <groupId>org.codehaus.jackson</groupId>
2591 <artifactId>jackson-core-asl</artifactId>
2594 <groupId>org.codehaus.jackson</groupId>
2595 <artifactId>jackson-mapper-asl</artifactId>
2600 <groupId>org.apache.hadoop</groupId>
2601 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2602 <version>${hadoop-two.version}</version>
2605 <groupId>com.sun.jersey</groupId>
2606 <artifactId>jersey-core</artifactId>
2609 <groupId>io.netty</groupId>
2610 <artifactId>netty</artifactId>
2613 <groupId>javax.servlet</groupId>
2614 <artifactId>servlet-api</artifactId>
2619 <groupId>org.apache.hadoop</groupId>
2620 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2621 <version>${hadoop-two.version}</version>
2622 <type>test-jar</type>
2626 <groupId>com.sun.jersey</groupId>
2627 <artifactId>jersey-core</artifactId>
2630 <groupId>io.netty</groupId>
2631 <artifactId>netty</artifactId>
2634 <groupId>javax.servlet</groupId>
2635 <artifactId>servlet-api</artifactId>
2640 <groupId>org.apache.hadoop</groupId>
2641 <artifactId>hadoop-hdfs</artifactId>
2642 <version>${hadoop-two.version}</version>
2645 <groupId>com.sun.jersey</groupId>
2646 <artifactId>jersey-core</artifactId>
2649 <groupId>javax.servlet.jsp</groupId>
2650 <artifactId>jsp-api</artifactId>
2653 <groupId>javax.servlet</groupId>
2654 <artifactId>servlet-api</artifactId>
2657 <groupId>io.netty</groupId>
2658 <artifactId>netty</artifactId>
2661 <groupId>stax</groupId>
2662 <artifactId>stax-api</artifactId>
2665 <groupId>xerces</groupId>
2666 <artifactId>xercesImpl</artifactId>
2669 <groupId>org.codehaus.jackson</groupId>
2670 <artifactId>jackson-core-asl</artifactId>
2673 <groupId>org.codehaus.jackson</groupId>
2674 <artifactId>jackson-mapper-asl</artifactId>
2677 <groupId>com.google.guava</groupId>
2678 <artifactId>guava</artifactId>
2683 <groupId>org.apache.hadoop</groupId>
2684 <artifactId>hadoop-hdfs</artifactId>
2685 <version>${hadoop-two.version}</version>
2686 <type>test-jar</type>
2690 <groupId>javax.servlet.jsp</groupId>
2691 <artifactId>jsp-api</artifactId>
2694 <groupId>javax.servlet</groupId>
2695 <artifactId>servlet-api</artifactId>
2698 <groupId>io.netty</groupId>
2699 <artifactId>netty</artifactId>
2702 <groupId>stax</groupId>
2703 <artifactId>stax-api</artifactId>
2706 <groupId>xerces</groupId>
2707 <artifactId>xercesImpl</artifactId>
2710 <groupId>org.codehaus.jackson</groupId>
2711 <artifactId>jackson-core-asl</artifactId>
2714 <groupId>org.codehaus.jackson</groupId>
2715 <artifactId>jackson-mapper-asl</artifactId>
2718 <groupId>com.google.guava</groupId>
2719 <artifactId>guava</artifactId>
2722 <groupId>com.sun.jersey</groupId>
2723 <artifactId>jersey-core</artifactId>
2728 <groupId>org.apache.hadoop</groupId>
2729 <artifactId>hadoop-auth</artifactId>
2730 <version>${hadoop-two.version}</version>
2733 <groupId>org.apache.hadoop</groupId>
2734 <artifactId>hadoop-common</artifactId>
2735 <version>${hadoop-two.version}</version>
2738 <groupId>com.sun.jersey</groupId>
2739 <artifactId>jersey-core</artifactId>
2742 <groupId>commons-beanutils</groupId>
2743 <artifactId>commons-beanutils</artifactId>
2746 <groupId>javax.servlet.jsp</groupId>
2747 <artifactId>jsp-api</artifactId>
2750 <groupId>javax.servlet</groupId>
2751 <artifactId>servlet-api</artifactId>
2754 <groupId>stax</groupId>
2755 <artifactId>stax-api</artifactId>
2758 <groupId>io.netty</groupId>
2759 <artifactId>netty</artifactId>
2762 <groupId>com.google.code.findbugs</groupId>
2763 <artifactId>jsr305</artifactId>
2766 <groupId>junit</groupId>
2767 <artifactId>junit</artifactId>
2770 <groupId>org.codehaus.jackson</groupId>
2771 <artifactId>jackson-core-asl</artifactId>
2774 <groupId>org.codehaus.jackson</groupId>
2775 <artifactId>jackson-mapper-asl</artifactId>
2780 <groupId>org.apache.hadoop</groupId>
2781 <artifactId>hadoop-common</artifactId>
2782 <version>${hadoop-two.version}</version>
2783 <type>test-jar</type>
2787 <groupId>com.sun.jersey</groupId>
2788 <artifactId>jersey-core</artifactId>
2791 <groupId>com.google.code.findbugs</groupId>
2792 <artifactId>jsr305</artifactId>
2797 <groupId>org.apache.hadoop</groupId>
2798 <artifactId>hadoop-client</artifactId>
2799 <version>${hadoop-two.version}</version>
2801 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2802 Where do we actually need it? -->
2804 <groupId>org.apache.hadoop</groupId>
2805 <artifactId>hadoop-minicluster</artifactId>
2806 <version>${hadoop-two.version}</version>
2808 <!--If we comment this in, a few tests in hbase-mapreduce
2809 fail. They depend on jersey-core somehow. But excluding
2810 jersey-core here messes up hbase-it because jersey-core
2811 implements a 1.x jaxrs Response Interface when we depend
2812 on the 2.x Interface... . Letting this jar come in
2813 transitively here but will exclude it down in hbase-it.
2816 <groupId>com.sun.jersey</groupId>
2817 <artifactId>jersey-core</artifactId>
2821 <groupId>commons-httpclient</groupId>
2822 <artifactId>commons-httpclient</artifactId>
2825 <groupId>javax.servlet.jsp</groupId>
2826 <artifactId>jsp-api</artifactId>
2829 <groupId>javax.servlet</groupId>
2830 <artifactId>servlet-api</artifactId>
2833 <groupId>stax</groupId>
2834 <artifactId>stax-api</artifactId>
2837 <groupId>io.netty</groupId>
2838 <artifactId>netty</artifactId>
2841 <groupId>com.google.code.findbugs</groupId>
2842 <artifactId>jsr305</artifactId>
2847 <groupId>org.apache.hadoop</groupId>
2848 <artifactId>hadoop-minikdc</artifactId>
2849 <version>${hadoop-two.version}</version>
2853 <groupId>org.apache.hadoop</groupId>
2854 <artifactId>hadoop-annotations</artifactId>
2855 <version>${hadoop-two.version}</version>
2858 </dependencyManagement>
2861 profile for building against Hadoop 3.0.0. Activate using:
2862 mvn -Dhadoop.profile=3.0
2868 <name>hadoop.profile</name>
2873 <!--For now, use hadoop2 compat module-->
2874 <module>hbase-hadoop2-compat</module>
2877 <hadoop.version>${hadoop-three.version}</hadoop.version>
2878 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2879 <compat.module>hbase-hadoop2-compat</compat.module>
2880 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2881 <!--This property is for hadoops netty. HBase netty
2882 comes in via hbase-thirdparty hbase-shaded-netty-->
2883 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2885 <dependencyManagement>
2888 <groupId>org.apache.hadoop</groupId>
2889 <artifactId>hadoop-mapreduce-client-core</artifactId>
2890 <version>${hadoop-three.version}</version>
2893 <groupId>com.sun.jersey</groupId>
2894 <artifactId>jersey-core</artifactId>
2897 <groupId>io.netty</groupId>
2898 <artifactId>netty</artifactId>
2901 <groupId>javax.inject</groupId>
2902 <artifactId>javax.inject</artifactId>
2905 <groupId>org.codehaus.jackson</groupId>
2906 <artifactId>jackson-core-asl</artifactId>
2909 <groupId>org.codehaus.jackson</groupId>
2910 <artifactId>jackson-mapper-asl</artifactId>
2913 <groupId>com.google.guava</groupId>
2914 <artifactId>guava</artifactId>
2919 <groupId>org.apache.hadoop</groupId>
2920 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2921 <version>${hadoop-three.version}</version>
2924 <groupId>com.sun.jersey</groupId>
2925 <artifactId>jersey-core</artifactId>
2928 <groupId>io.netty</groupId>
2929 <artifactId>netty</artifactId>
2934 <groupId>org.apache.hadoop</groupId>
2935 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2936 <version>${hadoop-three.version}</version>
2937 <type>test-jar</type>
2941 <groupId>com.sun.jersey</groupId>
2942 <artifactId>jersey-core</artifactId>
2945 <groupId>io.netty</groupId>
2946 <artifactId>netty</artifactId>
2951 <groupId>org.apache.hadoop</groupId>
2952 <artifactId>hadoop-hdfs</artifactId>
2953 <version>${hadoop-three.version}</version>
2956 <groupId>com.sun.jersey</groupId>
2957 <artifactId>jersey-core</artifactId>
2960 <groupId>com.sun.jersey</groupId>
2961 <artifactId>jersey-server</artifactId>
2964 <groupId>javax.servlet.jsp</groupId>
2965 <artifactId>jsp-api</artifactId>
2968 <groupId>javax.servlet</groupId>
2969 <artifactId>servlet-api</artifactId>
2972 <groupId>stax</groupId>
2973 <artifactId>stax-api</artifactId>
2976 <groupId>xerces</groupId>
2977 <artifactId>xercesImpl</artifactId>
2980 <groupId>org.codehaus.jackson</groupId>
2981 <artifactId>jackson-core-asl</artifactId>
2984 <groupId>org.codehaus.jackson</groupId>
2985 <artifactId>jackson-mapper-asl</artifactId>
2988 <groupId>com.google.guava</groupId>
2989 <artifactId>guava</artifactId>
2994 <groupId>org.apache.hadoop</groupId>
2995 <artifactId>hadoop-hdfs</artifactId>
2996 <version>${hadoop-three.version}</version>
2997 <type>test-jar</type>
3001 <groupId>javax.servlet.jsp</groupId>
3002 <artifactId>jsp-api</artifactId>
3005 <groupId>javax.servlet</groupId>
3006 <artifactId>servlet-api</artifactId>
3009 <groupId>stax</groupId>
3010 <artifactId>stax-api</artifactId>
3013 <groupId>xerces</groupId>
3014 <artifactId>xercesImpl</artifactId>
3017 <groupId>org.codehaus.jackson</groupId>
3018 <artifactId>jackson-core-asl</artifactId>
3021 <groupId>org.codehaus.jackson</groupId>
3022 <artifactId>jackson-mapper-asl</artifactId>
3025 <groupId>com.google.guava</groupId>
3026 <artifactId>guava</artifactId>
3029 <groupId>com.sun.jersey</groupId>
3030 <artifactId>jersey-core</artifactId>
3035 <groupId>org.apache.hadoop</groupId>
3036 <artifactId>hadoop-hdfs</artifactId>
3037 <version>${hadoop-three.version}</version>
3038 <type>test-jar</type>
3039 <classifier>tests</classifier>
3043 <groupId>com.sun.jersey</groupId>
3044 <artifactId>jersey-core</artifactId>
3049 <groupId>org.apache.hadoop</groupId>
3050 <artifactId>hadoop-auth</artifactId>
3051 <version>${hadoop-three.version}</version>
3054 <groupId>com.google.guava</groupId>
3055 <artifactId>guava</artifactId>
3058 <groupId>net.minidev</groupId>
3059 <artifactId>json-smart</artifactId>
3064 <groupId>org.apache.hadoop</groupId>
3065 <artifactId>hadoop-common</artifactId>
3066 <version>${hadoop-three.version}</version>
3069 <groupId>com.sun.jersey</groupId>
3070 <artifactId>jersey-core</artifactId>
3073 <groupId>com.sun.jersey</groupId>
3074 <artifactId>jersey-json</artifactId>
3077 <groupId>com.sun.jersey</groupId>
3078 <artifactId>jersey-servlet</artifactId>
3081 <groupId>com.sun.jersey</groupId>
3082 <artifactId>jersey-server</artifactId>
3085 <groupId>javax.servlet.jsp</groupId>
3086 <artifactId>jsp-api</artifactId>
3089 <groupId>javax.servlet</groupId>
3090 <artifactId>javax.servlet-api</artifactId>
3093 <groupId>stax</groupId>
3094 <artifactId>stax-api</artifactId>
3097 <groupId>io.netty</groupId>
3098 <artifactId>netty</artifactId>
3101 <groupId>com.google.code.findbugs</groupId>
3102 <artifactId>jsr305</artifactId>
3105 <groupId>junit</groupId>
3106 <artifactId>junit</artifactId>
3109 <groupId>org.codehause.jackson</groupId>
3110 <artifactId>jackson-core-asl</artifactId>
3113 <groupId>org.codehause.jackson</groupId>
3114 <artifactId>jackson-mapper-asl</artifactId>
3119 <groupId>org.apache.hadoop</groupId>
3120 <artifactId>hadoop-common</artifactId>
3121 <type>test-jar</type>
3122 <classifier>tests</classifier>
3123 <version>${hadoop-three.version}</version>
3126 <groupId>com.sun.jersey</groupId>
3127 <artifactId>jersey-core</artifactId>
3130 <groupId>com.google.code.findbugs</groupId>
3131 <artifactId>jsr305</artifactId>
3136 <groupId>org.apache.hadoop</groupId>
3137 <artifactId>hadoop-client</artifactId>
3138 <version>${hadoop-three.version}</version>
3141 <groupId>org.apache.hadoop</groupId>
3142 <artifactId>hadoop-annotations</artifactId>
3143 <version>${hadoop-three.version}</version>
3145 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3146 Where do we actually need it? -->
3148 <groupId>org.apache.hadoop</groupId>
3149 <artifactId>hadoop-minicluster</artifactId>
3150 <version>${hadoop-three.version}</version>
3152 <!--If we comment this in, a few tests in hbase-mapreduce
3153 fail. They depend on jersey-core somehow. But excluding
3154 jersey-core here messes up hbase-it because jersey-core
3155 implements a 1.x jaxrs Response Interface when we depend
3156 on the 2.x Interface... . Letting this jar come in
3157 transitively here but will exclude it down in hbase-it.
3160 <groupId>com.sun.jersey</groupId>
3161 <artifactId>jersey-core</artifactId>
3165 <groupId>commons-httpclient</groupId>
3166 <artifactId>commons-httpclient</artifactId>
3169 <groupId>javax.servlet.jsp</groupId>
3170 <artifactId>jsp-api</artifactId>
3173 <groupId>javax.servlet</groupId>
3174 <artifactId>servlet-api</artifactId>
3177 <groupId>stax</groupId>
3178 <artifactId>stax-api</artifactId>
3181 <groupId>io.netty</groupId>
3182 <artifactId>netty</artifactId>
3185 <groupId>com.google.code.findbugs</groupId>
3186 <artifactId>jsr305</artifactId>
3191 <groupId>org.apache.hadoop</groupId>
3192 <artifactId>hadoop-minikdc</artifactId>
3193 <version>${hadoop-three.version}</version>
3197 </dependencyManagement>
3200 <!-- profiles for the tests
3201 See as well the properties of the project for the values
3202 when no profile is active. -->
3204 <!-- Use it to launch all tests in the same JVM -->
3205 <id>singleJVMTests</id>
3207 <activeByDefault>false</activeByDefault>
3210 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3211 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3212 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3213 <surefire.firstPartGroups/>
3217 <!-- Use it to launch small tests only -->
3218 <id>runSmallTests</id>
3220 <activeByDefault>false</activeByDefault>
3223 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3224 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3225 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3226 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3227 <surefire.secondPartGroups/>
3231 <!-- Use it to launch medium tests only -->
3232 <id>runMediumTests</id>
3234 <activeByDefault>false</activeByDefault>
3237 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3238 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3239 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3240 <surefire.secondPartGroups/>
3244 <!-- Use it to launch large tests only -->
3245 <id>runLargeTests</id>
3247 <activeByDefault>false</activeByDefault>
3250 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3251 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3252 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3253 <surefire.secondPartGroups/>
3257 <!-- Use it to launch small & medium tests -->
3258 <id>runDevTests</id>
3260 <activeByDefault>false</activeByDefault>
3263 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3264 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3265 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3266 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3267 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3271 <!-- Use it to launch all tests -->
3272 <id>runAllTests</id>
3274 <activeByDefault>false</activeByDefault>
3277 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3278 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3279 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3280 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3281 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3282 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3286 <id>runMiscTests</id>
3288 <activeByDefault>false</activeByDefault>
3291 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3292 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3293 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3294 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3295 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3296 </surefire.firstPartGroups>
3297 <surefire.secondPartGroups></surefire.secondPartGroups>
3301 <id>runCoprocessorTests</id>
3303 <activeByDefault>false</activeByDefault>
3306 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3307 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3308 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3309 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3310 <surefire.firstPartGroups>
3311 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3312 </surefire.firstPartGroups>
3313 <surefire.secondPartGroups></surefire.secondPartGroups>
3317 <id>runClientTests</id>
3319 <activeByDefault>false</activeByDefault>
3322 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3323 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3324 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3325 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3326 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3327 </surefire.firstPartGroups>
3328 <surefire.secondPartGroups></surefire.secondPartGroups>
3332 <id>runMasterTests</id>
3334 <activeByDefault>false</activeByDefault>
3337 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3338 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3339 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3340 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3341 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3342 </surefire.firstPartGroups>
3343 <surefire.secondPartGroups></surefire.secondPartGroups>
3347 <id>runMapredTests</id>
3349 <activeByDefault>false</activeByDefault>
3352 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3353 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3354 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3355 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3356 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3357 </surefire.firstPartGroups>
3358 <surefire.secondPartGroups></surefire.secondPartGroups>
3362 <id>runMapreduceTests</id>
3364 <activeByDefault>false</activeByDefault>
3367 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3368 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3369 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3370 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3371 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3372 </surefire.firstPartGroups>
3373 <surefire.secondPartGroups></surefire.secondPartGroups>
3377 <id>runRegionServerTests</id>
3379 <activeByDefault>false</activeByDefault>
3382 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3383 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3384 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3385 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3386 <surefire.firstPartGroups>
3387 org.apache.hadoop.hbase.testclassification.RegionServerTests
3388 </surefire.firstPartGroups>
3389 <surefire.secondPartGroups></surefire.secondPartGroups>
3393 <id>runVerySlowMapReduceTests</id>
3395 <activeByDefault>false</activeByDefault>
3398 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3399 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3400 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3401 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3402 <surefire.firstPartGroups>
3403 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3404 </surefire.firstPartGroups>
3405 <surefire.secondPartGroups></surefire.secondPartGroups>
3410 <id>runVerySlowRegionServerTests</id>
3412 <activeByDefault>false</activeByDefault>
3415 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3416 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3417 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3418 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3419 <surefire.firstPartGroups>
3420 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3421 </surefire.firstPartGroups>
3422 <surefire.secondPartGroups></surefire.secondPartGroups>
3427 <id>runFilterTests</id>
3429 <activeByDefault>false</activeByDefault>
3432 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3433 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3434 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3435 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3436 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3437 </surefire.firstPartGroups>
3438 <surefire.secondPartGroups></surefire.secondPartGroups>
3444 <activeByDefault>false</activeByDefault>
3447 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3448 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3449 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3450 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3451 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3452 </surefire.firstPartGroups>
3453 <surefire.secondPartGroups></surefire.secondPartGroups>
3457 <id>runRestTests</id>
3459 <activeByDefault>false</activeByDefault>
3462 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3463 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3464 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3465 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3466 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3467 </surefire.firstPartGroups>
3468 <surefire.secondPartGroups></surefire.secondPartGroups>
3472 <id>runRPCTests</id>
3474 <activeByDefault>false</activeByDefault>
3477 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3478 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3479 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3480 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3481 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3482 </surefire.firstPartGroups>
3483 <surefire.secondPartGroups></surefire.secondPartGroups>
3487 <id>runReplicationTests</id>
3489 <activeByDefault>false</activeByDefault>
3492 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3493 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3494 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3495 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3496 <surefire.firstPartGroups>
3497 org.apache.hadoop.hbase.testclassification.ReplicationTests
3498 </surefire.firstPartGroups>
3499 <surefire.secondPartGroups></surefire.secondPartGroups>
3503 <id>runSecurityTests</id>
3505 <activeByDefault>false</activeByDefault>
3508 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3509 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3510 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3511 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3512 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3513 </surefire.firstPartGroups>
3514 <surefire.secondPartGroups></surefire.secondPartGroups>
3518 <id>runFlakeyTests</id>
3520 <activeByDefault>false</activeByDefault>
3523 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3524 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3525 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3526 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3527 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3528 </surefire.firstPartGroups>
3529 <surefire.secondPartGroups></surefire.secondPartGroups>
3535 <activeByDefault>false</activeByDefault>
3538 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3539 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3540 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3541 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3542 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3543 </surefire.firstPartGroups>
3544 <surefire.secondPartGroups></surefire.secondPartGroups>
3549 <!-- Use it to launch tests locally-->
3557 <surefire.provider>surefire-junit4</surefire.provider>
3558 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3559 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3560 <surefire.firstPartGroups/>
3563 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3564 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3565 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3566 The report will be generated under target/site/clover/index.html when you run
3567 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3571 <activeByDefault>false</activeByDefault>
3577 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3581 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3582 our instrumented classes for the doclet will fail
3585 <groupId>org.apache.maven.plugins</groupId>
3586 <artifactId>maven-javadoc-plugin</artifactId>
3589 <groupId>com.atlassian.maven.plugins</groupId>
3590 <artifactId>maven-clover2-plugin</artifactId>
3591 <version>${clover.version}</version>
3596 <groupId>com.atlassian.maven.plugins</groupId>
3597 <artifactId>maven-clover2-plugin</artifactId>
3598 <version>${clover.version}</version>
3600 <includesAllSourceRoots>true</includesAllSourceRoots>
3601 <includesTestSourceRoots>true</includesTestSourceRoots>
3602 <targetPercentage>50%</targetPercentage>
3603 <generateHtml>true</generateHtml>
3604 <generateXml>true</generateXml>
3606 <exclude>**/generated/**</exclude>
3611 <id>clover-setup</id>
3612 <phase>process-sources</phase>
3630 <!-- Used by the website generation script on jenkins to
3631 do a local install of the jars we need to run a normal
3632 site build w/o forking.
3634 <id>site-install-step</id>
3636 <skipTests>true</skipTests>
3637 <maven.javadoc.skip>true</maven.javadoc.skip>
3638 <enforcer.skip>true</enforcer.skip>
3639 <checkstyle.skip>true</checkstyle.skip>
3640 <findbugs.skip>true</findbugs.skip>
3641 <warbucks.skip>true</warbucks.skip>
3645 <!-- Used by the website generation script on jenkins to
3646 mitigate the impact of unneeded build forks while building
3649 <id>site-build-step</id>
3651 <skipTests>true</skipTests>
3652 <enforcer.skip>true</enforcer.skip>
3653 <maven.main.skip>true</maven.main.skip>
3654 <maven.test.skip>true</maven.test.skip>
3655 <warbucks.skip>true</warbucks.skip>
3656 <protoc.skip>true</protoc.skip>
3657 <remoteresources.skip>true</remoteresources.skip>
3661 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3665 <artifactId>maven-project-info-reports-plugin</artifactId>
3669 <report>dependencies</report>
3670 <report>dependency-convergence</report>
3671 <report>dependency-info</report>
3672 <report>dependency-management</report>
3673 <report>index</report>
3674 <report>issue-management</report>
3675 <report>licenses</report>
3676 <report>mailing-lists</report>
3677 <report>plugin-management</report>
3678 <report>plugins</report>
3679 <report>team</report>
3680 <report>scm</report>
3681 <report>summary</report>
3685 <!-- see src/site/site.xml for selected reports -->
3687 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3692 <groupId>org.apache.maven.plugins</groupId>
3693 <artifactId>maven-javadoc-plugin</artifactId>
3699 <report>aggregate</report>
3702 <destDir>devapidocs</destDir>
3703 <name>Developer API</name>
3704 <description>The full HBase API, including private and unstable APIs</description>
3705 <sourceFileExcludes>
3706 <exclude>**/generated/*</exclude>
3707 <exclude>**/protobuf/*</exclude>
3708 </sourceFileExcludes>
3709 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3710 <show>private</show> <!-- (shows all classes and members) -->
3712 <linksource>true</linksource>
3713 <sourcetab>2</sourcetab>
3714 <validateLinks>true</validateLinks>
3715 <fixClassComment>true</fixClassComment>
3716 <fixFieldComment>true</fixFieldComment>
3717 <fixMethodComment>true</fixMethodComment>
3718 <fixTags>all</fixTags>
3719 <notimestamp>true</notimestamp>
3720 <!-- Pass some options straight to the javadoc executable since it is easier -->
3721 <additionalJOption>-J-Xmx2G</additionalJOption>
3722 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3723 <additionalDependencies>
3724 <additionalDependency>
3725 <groupId>org.mockito</groupId>
3726 <artifactId>mockito-core</artifactId>
3727 <version>${mockito-core.version}</version>
3728 </additionalDependency>
3729 <additionalDependency>
3730 <groupId>org.hamcrest</groupId>
3731 <artifactId>hamcrest-core</artifactId>
3732 <version>${hamcrest.version}</version>
3733 </additionalDependency>
3734 </additionalDependencies>
3735 <inherited>false</inherited>
3741 <report>test-aggregate</report>
3744 <destDir>testdevapidocs</destDir>
3745 <name>Developer API</name>
3746 <description>The full HBase API test code, including private and unstable APIs</description>
3747 <sourceFileExcludes>
3748 <exclude>**/generated/*</exclude>
3749 <exclude>**/protobuf/*</exclude>
3750 </sourceFileExcludes>
3751 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3752 <show>private</show> <!-- (shows all classes and members) -->
3754 <linksource>true</linksource>
3755 <sourcetab>2</sourcetab>
3756 <validateLinks>true</validateLinks>
3757 <fixClassComment>true</fixClassComment>
3758 <fixFieldComment>true</fixFieldComment>
3759 <fixMethodComment>true</fixMethodComment>
3760 <fixTags>all</fixTags>
3761 <notimestamp>true</notimestamp>
3762 <!-- Pass some options straight to the javadoc executable since it is easier -->
3763 <additionalJOption>-J-Xmx2G</additionalJOption>
3764 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3765 <additionalDependencies>
3766 <additionalDependency>
3767 <groupId>org.mockito</groupId>
3768 <artifactId>mockito-core</artifactId>
3769 <version>${mockito-core.version}</version>
3770 </additionalDependency>
3771 <additionalDependency>
3772 <groupId>org.hamcrest</groupId>
3773 <artifactId>hamcrest-core</artifactId>
3774 <version>${hamcrest.version}</version>
3775 </additionalDependency>
3776 </additionalDependencies>
3777 <inherited>false</inherited>
3785 <report>aggregate</report>
3789 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3792 <groupId>org.apache.yetus</groupId>
3793 <artifactId>audience-annotations</artifactId>
3794 <version>${audience-annotations.version}</version>
3796 <useStandardDocletOptions>true</useStandardDocletOptions>
3797 <destDir>apidocs</destDir>
3798 <name>User API</name>
3799 <description>The HBase Application Programmer's API</description>
3800 <excludePackageNames>
3801 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*
3802 </excludePackageNames>
3803 <!-- switch on dependency-driven aggregation -->
3804 <includeDependencySources>false</includeDependencySources>
3805 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3806 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3808 <linksource>true</linksource>
3809 <sourcetab>2</sourcetab>
3810 <validateLinks>true</validateLinks>
3811 <fixClassComment>true</fixClassComment>
3812 <fixFieldComment>true</fixFieldComment>
3813 <fixMethodComment>true</fixMethodComment>
3814 <fixTags>all</fixTags>
3815 <notimestamp>true</notimestamp>
3816 <!-- Pass some options straight to the javadoc executable since it is easier -->
3817 <additionalJOption>-J-Xmx2G</additionalJOption>
3818 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3819 <additionalDependencies>
3820 <additionalDependency>
3821 <groupId>org.mockito</groupId>
3822 <artifactId>mockito-core</artifactId>
3823 <version>${mockito-core.version}</version>
3824 </additionalDependency>
3825 <additionalDependency>
3826 <groupId>org.hamcrest</groupId>
3827 <artifactId>hamcrest-core</artifactId>
3828 <version>${hamcrest.version}</version>
3829 </additionalDependency>
3830 </additionalDependencies>
3831 <inherited>false</inherited>
3834 <!-- User Test API -->
3836 <id>testuserapi</id>
3838 <report>test-aggregate</report>
3842 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3845 <groupId>org.apache.yetus</groupId>
3846 <artifactId>audience-annotations</artifactId>
3847 <version>${audience-annotations.version}</version>
3849 <useStandardDocletOptions>true</useStandardDocletOptions>
3850 <destDir>testapidocs</destDir>
3851 <name>User API</name>
3852 <description>The HBase Application Programmer's API</description>
3853 <excludePackageNames>
3854 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*
3855 </excludePackageNames>
3856 <!-- switch on dependency-driven aggregation -->
3857 <includeDependencySources>false</includeDependencySources>
3858 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3859 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3861 <linksource>true</linksource>
3862 <sourcetab>2</sourcetab>
3863 <validateLinks>true</validateLinks>
3864 <fixClassComment>true</fixClassComment>
3865 <fixFieldComment>true</fixFieldComment>
3866 <fixMethodComment>true</fixMethodComment>
3867 <fixTags>all</fixTags>
3868 <notimestamp>true</notimestamp>
3869 <!-- Pass some options straight to the javadoc executable since it is easier -->
3870 <additionalJOption>-J-Xmx2G</additionalJOption>
3871 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3872 <additionalDependencies>
3873 <additionalDependency>
3874 <groupId>org.mockito</groupId>
3875 <artifactId>mockito-core</artifactId>
3876 <version>${mockito-core.version}</version>
3877 </additionalDependency>
3878 <additionalDependency>
3879 <groupId>org.hamcrest</groupId>
3880 <artifactId>hamcrest-core</artifactId>
3881 <version>${hamcrest.version}</version>
3882 </additionalDependency>
3883 </additionalDependencies>
3884 <inherited>false</inherited>
3891 <groupId>org.apache.maven.plugins</groupId>
3892 <artifactId>maven-checkstyle-plugin</artifactId>
3893 <version>${maven.checkstyle.version}</version>
3895 <excludes>target/**</excludes>
3901 <distributionManagement>
3903 <id>hbase.apache.org</id>
3904 <name>HBase Website at hbase.apache.org</name>
3905 <!-- On why this is the tmp dir and not hbase.apache.org, see
3906 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3908 <url>file:///tmp</url>
3910 </distributionManagement>