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-support</module>
65 <module>hbase-build-configuration</module>
66 <module>hbase-replication</module>
67 <module>hbase-mapreduce</module>
68 <module>hbase-resource-bundle</module>
69 <module>hbase-http</module>
70 <module>hbase-server</module>
71 <module>hbase-thrift</module>
72 <module>hbase-shell</module>
73 <module>hbase-protocol-shaded</module>
74 <module>hbase-protocol</module>
75 <module>hbase-client</module>
76 <module>hbase-hadoop-compat</module>
77 <module>hbase-common</module>
78 <module>hbase-procedure</module>
79 <module>hbase-endpoint</module>
80 <module>hbase-it</module>
81 <module>hbase-examples</module>
82 <module>hbase-assembly</module>
83 <module>hbase-testing-util</module>
84 <module>hbase-annotations</module>
85 <module>hbase-rest</module>
86 <module>hbase-checkstyle</module>
87 <module>hbase-external-blockcache</module>
88 <module>hbase-shaded</module>
89 <module>hbase-spark</module>
90 <module>hbase-archetypes</module>
91 <module>hbase-metrics-api</module>
92 <module>hbase-metrics</module>
93 <module>hbase-spark-it</module>
94 <module>hbase-backup</module>
95 <module>hbase-zookeeper</module>
97 <!--Add apache snapshots in case we want to use unreleased versions of plugins:
98 e.g. surefire 2.18-SNAPSHOT-->
101 <id>apache.snapshots</id>
102 <url>http://repository.apache.org/snapshots/</url>
104 </pluginRepositories>
106 <connection>scm:git:git://git.apache.org/hbase.git</connection>
107 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/hbase.git</developerConnection>
108 <url>https://git-wip-us.apache.org/repos/asf?p=hbase.git</url>
111 <system>JIRA</system>
112 <url>http://issues.apache.org/jira/browse/HBASE</url>
115 <system>hudson</system>
116 <url>http://hudson.zones.apache.org/hudson/view/HBase/job/HBase-TRUNK/</url>
120 <name>User List</name>
121 <subscribe>user-subscribe@hbase.apache.org</subscribe>
122 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
123 <post>user@hbase.apache.org</post>
124 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
126 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
127 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
131 <name>Developer List</name>
132 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
133 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
134 <post>dev@hbase.apache.org</post>
135 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
137 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
138 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
142 <name>Commits List</name>
143 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
144 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
145 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
148 <name>Issues List</name>
149 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
150 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
151 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
154 <name>Builds List</name>
155 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
156 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
157 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
163 <name>Abhishek Singh Chouhan</name>
164 <email>achouhan@apache.org</email>
165 <timezone>+5</timezone>
169 <name>Amitanand S. Aiyer</name>
170 <email>acube123@apache.org</email>
171 <timezone>-8</timezone>
175 <name>Allan Yang</name>
176 <email>allan163@apache.org</email>
177 <timezone>+8</timezone>
181 <name>Apekshit Sharma</name>
182 <email>appy@apache.org</email>
183 <timezone>-8</timezone>
187 <name>Anastasia Braginsky</name>
188 <email>anastasia@apache.org</email>
189 <timezone>+2</timezone>
193 <name>Andrew Purtell</name>
194 <email>apurtell@apache.org</email>
195 <timezone>-8</timezone>
198 <id>anoopsamjohn</id>
199 <name>Anoop Sam John</name>
200 <email>anoopsamjohn@apache.org</email>
201 <timezone>+5</timezone>
205 <name>Mikhail Antonov</name>
206 <email>antonov@apache.org</email>
207 <timezone>-8</timezone>
210 <id>ashishsinghi</id>
211 <name>Ashish Singhi</name>
212 <email>ashishsinghi@apache.org</email>
213 <timezone>+5</timezone>
217 <name>Ashu Pachauri</name>
218 <email>ashu@apache.org</email>
219 <timezone>+5</timezone>
223 <name>Lijin Bin</name>
224 <email>binlijin@apache.org</email>
225 <timezone>+8</timezone>
229 <name>Toshihiro Suzuki</name>
230 <email>brfrn169@apache.org</email>
231 <timezone>+9</timezone>
235 <name>Sean Busbey</name>
236 <email>busbey@apache.org</email>
237 <timezone>-6</timezone>
241 <name>Heng Chen</name>
242 <email>chenheng@apache.org</email>
243 <timezone>+8</timezone>
247 <name>Chia-Ping Tsai</name>
248 <email>chia7712@apache.org</email>
249 <timezone>+8</timezone>
253 <name>Devaraj Das</name>
254 <email>ddas@apache.org</email>
255 <timezone>-8</timezone>
259 <name>Dima Spivak</name>
260 <email>dimaspivak@apache.org</email>
261 <timezone>-8</timezone>
265 <name>Doug Meil</name>
266 <email>dmeil@apache.org</email>
267 <timezone>-5</timezone>
271 <name>Elliott Clark</name>
272 <email>eclark@apache.org</email>
273 <timezone>-8</timezone>
277 <name>Josh Elser</name>
278 <email>elserj@apache.org</email>
279 <timezone>-5</timezone>
283 <name>Enis Soztutar</name>
284 <email>enis@apache.org</email>
285 <timezone>-8</timezone>
289 <name>Eshcar Hillel</name>
290 <email>eshcar@apache.org</email>
291 <timezone>+2</timezone>
295 <name>Honghua Feng</name>
296 <email>fenghh@apache.org</email>
297 <timezone>+8</timezone>
301 <name>Gary Helmling</name>
302 <email>garyh@apache.org</email>
303 <timezone>-8</timezone>
307 <name>Gregory Chanan</name>
308 <email>gchanan@apache.org</email>
309 <timezone>-8</timezone>
313 <name>Guangxu Cheng</name>
314 <email>gxcheng@apache.org</email>
315 <timezone>+8</timezone>
319 <name>Huaxiang Sun</name>
320 <email>huaxiangsun@apache.org</email>
321 <timezone>-8</timezone>
325 <name>Jean-Daniel Cryans</name>
326 <email>jdcryans@apache.org</email>
327 <timezone>-8</timezone>
331 <name>Jeffrey Zhong</name>
332 <email>jeffreyz@apache.org</email>
333 <timezone>-8</timezone>
337 <name>Jing Chen (Jerry) He</name>
338 <email>jerryjch@apache.org</email>
339 <timezone>-8</timezone>
343 <name>Jesse Yates</name>
344 <email>jyates@apache.org</email>
345 <timezone>-8</timezone>
349 <name>Jonathan Gray</name>
350 <email>jgray@fb.com</email>
351 <timezone>-8</timezone>
355 <name>Jingcheng Du</name>
356 <email>jingchengdu@apache.org</email>
357 <timezone>+8</timezone>
361 <name>Esteban Gutierrez</name>
362 <email>esteban@apache.org</email>
363 <timezone>-8</timezone>
367 <name>Jan Hentschel</name>
368 <email>janh@apache.org</email>
369 <timezone>+1</timezone>
373 <name>Jonathan Hsieh</name>
374 <email>jmhsieh@apache.org</email>
375 <timezone>-8</timezone>
379 <name>Jimmy Xiang</name>
380 <email>jxiang@apache.org</email>
381 <timezone>-8</timezone>
385 <name>Kannan Muthukkaruppan</name>
386 <email>kannan@fb.com</email>
387 <timezone>-8</timezone>
391 <name>Karthik Ranganathan</name>
392 <email>kranganathan@fb.com</email>
393 <timezone>-8</timezone>
397 <name>Lars Francke</name>
398 <email>larsfrancke@apache.org</email>
399 <timezone>Europe/Berlin</timezone>
403 <name>Lars George</name>
404 <email>larsgeorge@apache.org</email>
405 <timezone>+1</timezone>
409 <name>Lars Hofhansl</name>
410 <email>larsh@apache.org</email>
411 <timezone>-8</timezone>
415 <name>Liang Xie</name>
416 <email>liangxie@apache.org</email>
417 <timezone>+8</timezone>
421 <name>Shaohui Liu</name>
422 <email>liushaohui@apache.org</email>
423 <timezone>+8</timezone>
427 <name>Liyin Tang</name>
428 <email>liyin.tang@fb.com</email>
429 <timezone>-8</timezone>
434 <email>liyu@apache.org</email>
435 <timezone>+8</timezone>
439 <name>Mikhail Bautin</name>
440 <email>mbautin@apache.org</email>
441 <timezone>-8</timezone>
445 <name>Matteo Bertozzi</name>
446 <email>mbertozzi@apache.org</email>
447 <timezone>0</timezone>
451 <name>Mike Drob</name>
452 <email>mdrob@apache.org</email>
453 <timezone>-5</timezone>
457 <name>Balazs Meszaros</name>
458 <email>meszibalu@apache.org</email>
459 <timezone>+1</timezone>
463 <name>Misty Stanley-Jones</name>
464 <email>misty@apache.org</email>
465 <timezone>-8</timezone>
469 <name>Nick Dimiduk</name>
470 <email>ndimiduk@apache.org</email>
471 <timezone>-8</timezone>
475 <name>Nicolas Liochon</name>
476 <email>nkeywal@apache.org</email>
477 <timezone>+1</timezone>
480 <id>nspiegelberg</id>
481 <name>Nicolas Spiegelberg</name>
482 <email>nspiegelberg@fb.com</email>
483 <timezone>-8</timezone>
487 <name>Andrey Stepachev</name>
488 <email>octo47@gmail.com</email>
489 <timezone>0</timezone>
493 <name>Zheng Hu</name>
494 <email>openinx@apache.org</email>
495 <timezone>+8</timezone>
499 <name>Peter Somogyi</name>
500 <email>psomogyi@apache.org</email>
501 <timezone>+1</timezone>
505 <name>Rajeshbabu Chintaguntla</name>
506 <email>rajeshbabu@apache.org</email>
507 <timezone>+5</timezone>
511 <name>Ramkrishna S Vasudevan</name>
512 <email>ramkrishna@apache.org</email>
513 <timezone>+5</timezone>
517 <name>Ryan Rawson</name>
518 <email>rawson@apache.org</email>
519 <timezone>-8</timezone>
523 <name>Reid Chan</name>
524 <email>reidchan@apache.org</email>
525 <timezone>+8</timezone>
529 <name>Sergey Shelukhin</name>
530 <email>sershe@apache.org</email>
531 <timezone>-8</timezone>
535 <name>Srikanth Srungarapu</name>
536 <email>ssrungarapu@apache.org</email>
537 <timezone>-8</timezone>
541 <name>Michael Stack</name>
542 <email>stack@apache.org</email>
543 <timezone>-8</timezone>
547 <name>Stephen Yuan Jiang</name>
548 <email>syuanjiang@apache.org</email>
549 <timezone>-8</timezone>
554 <email>yuzhihong@gmail.com</email>
555 <timezone>-8</timezone>
559 <name>Todd Lipcon</name>
560 <email>todd@apache.org</email>
561 <timezone>-8</timezone>
565 <name>Francis Liu</name>
566 <email>toffer@apache.org</email>
567 <timezone>-8</timezone>
571 <name>Vikas Vishwakarma</name>
572 <email>vikasv@apache.org</email>
573 <timezone>+5</timezone>
577 <name>Virag Kothari</name>
578 <email>virag@yahoo-inc.com</email>
579 <timezone>-8</timezone>
583 <name>Phil Yang</name>
584 <email>yangzhe1991@apache.org</email>
585 <timezone>+8</timezone>
589 <name>Guanghao Zhang</name>
590 <email>zghao@apache.org</email>
591 <timezone>+8</timezone>
595 <name>Duo Zhang</name>
596 <email>zhangduo@apache.org</email>
597 <timezone>+8</timezone>
601 <name>Chunhui Shen</name>
602 <email>zjushch@apache.org</email>
603 <timezone>+8</timezone>
607 <name>Rahul Gidwani</name>
608 <email>churro@apache.org</email>
609 <timezone>-8</timezone>
613 <name>Yi Liang</name>
614 <email>yiliang@apache.org</email>
615 <timezone>-8</timezone>
619 <name>Zach York</name>
620 <email>zyork@apache.org</email>
621 <timezone>-8</timezone>
627 <groupId>kr.motd.maven</groupId>
628 <artifactId>os-maven-plugin</artifactId>
629 <version>${os.maven.version}</version>
632 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
633 For specific version use a property and define it in the parent pom.
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-dependency-plugin</artifactId>
640 <version>${maven.dependency.version}</version>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-javadoc-plugin</artifactId>
645 <version>${maven.javadoc.version}</version>
648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-remote-resources-plugin</artifactId>
652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-shade-plugin</artifactId>
654 <version>${maven.shade.version}</version>
657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-release-plugin</artifactId>
660 <!--You need this profile. It'll sign your artifacts.
661 I'm not sure if this config. actually works though.
662 I've been specifying -Papache-release on the command-line
664 <releaseProfiles>apache-release</releaseProfiles>
665 <!--This stops our running tests for each stage of maven release.
666 But it builds the test jar. From SUREFIRE-172.
668 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
669 <goals>${goals}</goals>
670 <pomFileName>pom.xml</pomFileName>
674 <groupId>org.apache.maven.plugins</groupId>
675 <artifactId>maven-compiler-plugin</artifactId>
676 <version>${maven.compiler.version}</version>
678 <source>${compileSource}</source>
679 <target>${compileSource}</target>
680 <showWarnings>true</showWarnings>
681 <showDeprecation>false</showDeprecation>
682 <useIncrementalCompilation>false</useIncrementalCompilation>
683 <compilerArgument>-Xlint:-options</compilerArgument>
686 <!-- Test oriented plugins -->
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-surefire-plugin</artifactId>
690 <version>${surefire.version}</version>
692 <!-- by default surefire selects dynamically the connector to the unit tests
693 tool. We want to use always the same as the different connectors can have different
694 bugs and behaviour. -->
696 <groupId>org.apache.maven.surefire</groupId>
697 <artifactId>${surefire.provider}</artifactId>
698 <version>${surefire.version}</version>
701 <!-- Generic testing configuration for all packages -->
703 <groups>${surefire.firstPartGroups}</groups>
704 <failIfNoTests>false</failIfNoTests>
705 <skip>${surefire.skipFirstPart}</skip>
706 <forkCount>${surefire.firstPartForkCount}</forkCount>
707 <reuseForks>false</reuseForks>
708 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
709 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
710 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
711 <systemPropertyVariables>
712 <test.build.classes>${test.build.classes}</test.build.classes>
713 </systemPropertyVariables>
715 <!-- users can add -D option to skip particular test classes
716 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
718 <exclude>${test.exclude.pattern}</exclude>
722 <name>listener</name>
723 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
729 <id>secondPartTestsExecution</id>
735 <skip>${surefire.skipSecondPart}</skip>
736 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
737 <reuseForks>false</reuseForks>
738 <forkCount>${surefire.secondPartForkCount}</forkCount>
739 <groups>${surefire.secondPartGroups}</groups>
740 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
746 <groupId>org.apache.maven.plugins</groupId>
747 <artifactId>maven-surefire-report-plugin</artifactId>
748 <version>${surefire.version}</version>
751 <groupId>org.apache.maven.plugins</groupId>
752 <artifactId>maven-clean-plugin</artifactId>
756 <!--dfs tests have build dir hardcoded. Clean it as part of
758 <directory>build</directory>
764 <groupId>org.codehaus.mojo</groupId>
765 <artifactId>buildnumber-maven-plugin</artifactId>
766 <version>${buildnumber.maven.version}</version>
769 <groupId>org.codehaus.mojo</groupId>
770 <artifactId>findbugs-maven-plugin</artifactId>
771 <version>${findbugs.maven.version}</version>
772 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
774 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
775 <findbugsXmlOutput>true</findbugsXmlOutput>
776 <xmlOutput>true</xmlOutput>
781 <groupId>org.codehaus.mojo</groupId>
782 <artifactId>build-helper-maven-plugin</artifactId>
783 <version>${build.helper.maven.version}</version>
786 <artifactId>maven-antrun-plugin</artifactId>
787 <version>${maven.antrun.version}</version>
790 <groupId>org.jamon</groupId>
791 <artifactId>jamon-maven-plugin</artifactId>
792 <version>${jamon.plugin.version}</version>
794 <!-- Make a jar and put the sources in the jar.
795 In the parent pom, so submodules will do the right thing. -->
797 <groupId>org.apache.maven.plugins</groupId>
798 <artifactId>maven-source-plugin</artifactId>
801 <id>attach-sources</id>
802 <phase>prepare-package</phase>
804 <goal>jar-no-fork</goal>
805 <goal>test-jar-no-fork</goal>
810 <!-- General configuration for submodules who want to build a test jar -->
812 <groupId>org.apache.maven.plugins</groupId>
813 <artifactId>maven-jar-plugin</artifactId>
816 <phase>prepare-package</phase>
818 <!--This goal will install a -test.jar when we do install
819 See http://maven.apache.org/guides/mini/guide-attached-tests.html
821 <goal>test-jar</goal>
826 <skipIfEmpty>true</skipIfEmpty>
828 <exclude>hbase-site.xml</exclude>
829 <exclude>hdfs-site.xml</exclude>
830 <exclude>log4j.properties</exclude>
831 <exclude>mapred-queues.xml</exclude>
832 <exclude>mapred-site.xml</exclude>
833 <!--I was seeing this w/o the below addition:
834 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.4:jar (default-jar) on project hbase-protocol-shaded: Error assembling JAR: A zip file cannot include itself -> [Help 1]
836 <exclude>*.jar</exclude>
840 <!-- General config for eclipse classpath/settings -->
842 <groupId>org.apache.maven.plugins</groupId>
843 <artifactId>maven-eclipse-plugin</artifactId>
844 <version>${maven.eclipse.version}</version>
846 <!--This plugin's configuration is used to store Eclipse m2e settings
847 only. It has no influence on the Maven build itself. m2e does not
848 provide any safeguards against rogue maven plugins that leak
849 classloaders, modify random files inside workspace or throw nasty
850 exceptions to fail the build.
851 Top level doesn't do any specific configuration currently - left
852 to modules to decide what they want to bind, sans those plugins
853 defined in this pom. -->
855 <groupId>org.eclipse.m2e</groupId>
856 <artifactId>lifecycle-mapping</artifactId>
857 <version>${lifecycle.mapping.version}</version>
859 <lifecycleMappingMetadata>
862 <pluginExecutionFilter>
863 <groupId>org.jacoco</groupId>
864 <artifactId>jacoco-maven-plugin</artifactId>
865 <versionRange>[0.6.2.201302030002,)</versionRange>
867 <goal>prepare-agent</goal>
869 </pluginExecutionFilter>
875 <pluginExecutionFilter>
876 <groupId>org.apache.maven.plugins</groupId>
877 <artifactId>maven-enforcer-plugin</artifactId>
878 <versionRange>${enforcer.version}</versionRange>
882 </pluginExecutionFilter>
888 <pluginExecutionFilter>
889 <groupId>org.apache.maven.plugins</groupId>
890 <artifactId>maven-remote-resources-plugin</artifactId>
891 <versionRange>[1.5,)</versionRange>
896 </pluginExecutionFilter>
902 <pluginExecutionFilter>
903 <groupId>org.codehaus.mojo</groupId>
904 <artifactId>buildnumber-maven-plugin</artifactId>
905 <versionRange>[1.3,)</versionRange>
907 <goal>create-timestamp</goal>
909 </pluginExecutionFilter>
912 <runOnConfiguration>true</runOnConfiguration>
913 <runOnIncremental>true</runOnIncremental>
918 </lifecycleMappingMetadata>
922 <!-- excludes are inherited -->
923 <groupId>org.apache.rat</groupId>
924 <artifactId>apache-rat-plugin</artifactId>
925 <version>${apache.rat.version}</version>
928 <exclude>**/*.versionsBackup</exclude>
929 <exclude>**/*.log</exclude>
930 <exclude>**/.*</exclude>
931 <exclude>**/*.tgz</exclude>
932 <exclude>**/*.orig</exclude>
933 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
934 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
935 <exclude>**/0000000000000016310</exclude>
936 <exclude>**/.idea/**</exclude>
937 <exclude>**/*.iml</exclude>
938 <exclude>**/CHANGES.txt</exclude>
939 <exclude>**/generated/**</exclude>
940 <exclude>**/gen-*/**</exclude>
941 <!-- No material contents -->
942 <exclude>conf/regionservers</exclude>
943 <exclude>**/*.avpr</exclude>
944 <exclude>**/*.svg</exclude>
945 <!-- non-standard notice file from jruby included by reference -->
946 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
947 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
948 <exclude>**/src/main/asciidoc/hbase.css</exclude>
949 <!-- MIT http://jquery.org/license -->
950 <exclude>**/jquery.min.js</exclude>
951 <exclude>**/jquery.tablesorter.min.js</exclude>
952 <!-- vector graphics -->
953 <exclude>**/*.vm</exclude>
954 <!-- apache doxia generated -->
955 <exclude>**/control</exclude>
956 <exclude>**/conffile</exclude>
957 <!-- auto-gen docs -->
958 <exclude>docs/*</exclude>
959 <exclude>logs/*</exclude>
960 <!-- exclude source control files -->
961 <exclude>.git/**</exclude>
962 <exclude>.svn/**</exclude>
963 <exclude>**/.settings/**</exclude>
964 <exclude>**/patchprocess/**</exclude>
965 <exclude>src/site/resources/repo/**</exclude>
966 <exclude>**/dependency-reduced-pom.xml</exclude>
967 <exclude>**/rat.txt</exclude>
968 <!-- exclude the shaded protobuf files -->
969 <exclude>**/shaded/com/google/protobuf/**</exclude>
970 <exclude>**/src/main/patches/**</exclude>
975 <artifactId>maven-assembly-plugin</artifactId>
977 <!--Defer to the hbase-assembly sub-module. It
979 <skipAssembly>true</skipAssembly>
983 <groupId>org.xolstice.maven.plugins</groupId>
984 <artifactId>protobuf-maven-plugin</artifactId>
985 <version>${protobuf.plugin.version}</version>
987 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
988 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
989 <clearOutputDirectory>false</clearOutputDirectory>
990 <checkStaleness>true</checkStaleness>
994 <!-- Approach followed here is roughly the same as mentioned here:
995 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
997 <groupId>org.apache.maven.plugins</groupId>
998 <artifactId>maven-checkstyle-plugin</artifactId>
999 <version>${maven.checkstyle.version}</version>
1002 <groupId>org.apache.hbase</groupId>
1003 <artifactId>hbase-checkstyle</artifactId>
1004 <version>${project.version}</version>
1007 <groupId>com.puppycrawl.tools</groupId>
1008 <artifactId>checkstyle</artifactId>
1009 <version>${checkstyle.version}</version>
1013 <configLocation>hbase/checkstyle.xml</configLocation>
1014 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
1015 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1019 <groupId>net.revelc.code</groupId>
1020 <artifactId>warbucks-maven-plugin</artifactId>
1021 <version>${maven.warbucks.version}</version>
1023 <ignoreRuleFailures>false</ignoreRuleFailures>
1026 <!-- exclude the generated java files -->
1027 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
1028 <includeTestClasses>false</includeTestClasses>
1029 <includePublicClasses>true</includePublicClasses>
1030 <includePackagePrivateClasses>false</includePackagePrivateClasses>
1031 <includeProtectedClasses>false</includeProtectedClasses>
1032 <includePrivateClasses>false</includePrivateClasses>
1033 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
1039 <id>run-warbucks</id>
1041 <goal>check</goal><!-- runs at process-test-classes phase -->
1050 <groupId>org.codehaus.mojo</groupId>
1051 <artifactId>build-helper-maven-plugin</artifactId>
1054 <id>negate-license-bundles-property</id>
1056 <goal>bsh-property</goal>
1059 <source>skip.license.check = !${license.bundles.dependencies};</source>
1061 <property>skip.license.check</property>
1068 <groupId>org.apache.maven.plugins</groupId>
1069 <artifactId>maven-enforcer-plugin</artifactId>
1070 <version>${enforcer.version}</version>
1073 <groupId>org.codehaus.mojo</groupId>
1074 <artifactId>extra-enforcer-rules</artifactId>
1075 <version>${extra.enforcer.version}</version>
1078 <!-- version set by parent -->
1081 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1083 <goal>enforce</goal>
1087 <!-- Help people activate profiles correctly -->
1089 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1090 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1091 </evaluateBeanshell>
1092 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1093 <requireMavenVersion>
1094 <version>[${maven.min.version},)</version>
1095 <message>Maven is out of date.
1096 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1097 You appear to be using an older version. You can use either "mvn -version" or
1098 "mvn enforcer:display-info" to verify what version is active.
1099 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1101 </requireMavenVersion>
1102 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1103 <requireJavaVersion>
1104 <version>[${java.min.version},)</version>
1105 <message>Java is out of date.
1106 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1107 You appear to be using an older version. You can use either "mvn -version" or
1108 "mvn enforcer:display-info" to verify what version is active.
1109 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1111 </requireJavaVersion>
1112 <bannedDependencies>
1114 <exclude>xerces:xercesImpl</exclude>
1116 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1117 </bannedDependencies>
1122 <id>banned-jsr305</id>
1124 <goal>enforce</goal>
1128 <bannedDependencies>
1130 <exclude>com.google.code.findbugs:jsr305</exclude>
1132 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1133 </bannedDependencies>
1138 <id>banned-scala</id>
1140 <goal>enforce</goal>
1144 <bannedDependencies>
1146 <exclude>org.scala-lang:scala-library</exclude>
1148 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1149 </bannedDependencies>
1154 <id>banned-hbase-spark</id>
1156 <goal>enforce</goal>
1160 <bannedDependencies>
1162 <exclude>org.apache.hbase:hbase-spark</exclude>
1164 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1165 </bannedDependencies>
1170 <id>check-aggregate-license</id>
1171 <!-- must check after LICENSE is built at 'generate-resources' -->
1172 <phase>process-resources</phase>
1174 <goal>enforce</goal>
1180 File license = new File("${license.aggregate.path}");
1182 // Beanshell does not support try-with-resources,
1183 // so we must close this scanner manually
1184 Scanner scanner = new Scanner(license);
1186 while (scanner.hasNextLine()) {
1187 if (scanner.nextLine().startsWith("ERROR:")) {
1196 License errors detected, for more detail find ERROR in
1197 ${license.aggregate.path}
1199 </evaluateBeanshell>
1201 <skip>${skip.license.check}</skip>
1206 <!-- parent-module only plugins -->
1208 <groupId>org.codehaus.mojo</groupId>
1209 <artifactId>xml-maven-plugin</artifactId>
1210 <version>${xml.maven.version}</version>
1211 <inherited>false</inherited>
1214 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1216 <goal>transform</goal>
1222 <transformationSets>
1223 <!-- For asciidoc -->
1225 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1226 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1228 <include>hbase-default.xml</include>
1230 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1232 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1233 <pattern>^(.*)\.xml$</pattern>
1234 <replacement>$1.adoc</replacement>
1237 <outputDir>${basedir}/target/asciidoc</outputDir>
1238 </transformationSet>
1239 </transformationSets>
1242 <!-- Special configuration for findbugs just in the parent so
1243 the filter file location can be more general (see definition in pluginManagement) -->
1245 <groupId>org.codehaus.mojo</groupId>
1246 <artifactId>findbugs-maven-plugin</artifactId>
1249 <inherited>false</inherited>
1251 <goal>findbugs</goal>
1254 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1260 <groupId>org.apache.maven.plugins</groupId>
1261 <artifactId>maven-checkstyle-plugin</artifactId>
1264 <groupId>org.apache.maven.plugins</groupId>
1265 <artifactId>maven-site-plugin</artifactId>
1266 <version>${maven.site.version}</version>
1267 <inherited>false</inherited>
1270 <!-- add support for ssh/scp -->
1271 <groupId>org.apache.maven.wagon</groupId>
1272 <artifactId>wagon-ssh</artifactId>
1273 <version>${wagon.ssh.version}</version>
1277 <siteDirectory>${basedir}/src/site</siteDirectory>
1278 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1279 <inputEncoding>UTF-8</inputEncoding>
1280 <outputEncoding>UTF-8</outputEncoding>
1283 <!-- For AsciiDoc docs building -->
1285 <groupId>org.asciidoctor</groupId>
1286 <artifactId>asciidoctor-maven-plugin</artifactId>
1287 <version>${asciidoctor.plugin.version}</version>
1288 <inherited>false</inherited>
1291 <groupId>org.asciidoctor</groupId>
1292 <artifactId>asciidoctorj-pdf</artifactId>
1293 <version>${asciidoctorj.pdf.version}</version>
1296 <groupId>org.jruby</groupId>
1297 <artifactId>jruby-complete</artifactId>
1298 <version>${jruby.version}</version>
1302 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1303 <doctype>book</doctype>
1304 <imagesDir>images</imagesDir>
1305 <sourceHighlighter>coderay</sourceHighlighter>
1307 <docVersion>${project.version}</docVersion>
1312 <id>output-html</id>
1315 <goal>process-asciidoc</goal>
1319 <stylesheet>hbase.css</stylesheet>
1321 <backend>html5</backend>
1328 <goal>process-asciidoc</goal>
1331 <backend>pdf</backend>
1336 <idseparator>-</idseparator>
1343 <groupId>org.apache.maven.plugins</groupId>
1344 <artifactId>maven-resources-plugin</artifactId>
1345 <!--$NO-MVN-MAN-VER$ -->
1346 <inherited>false</inherited>
1349 <id>copy-htaccess</id>
1351 <goal>copy-resources</goal>
1355 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1358 <directory>${basedir}/src/site/resources/</directory>
1360 <include>.htaccess</include>
1366 <!-- needed to make the redirect above work -->
1368 <id>copy-empty-book-dir</id>
1370 <goal>copy-resources</goal>
1374 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1377 <directory>${basedir}/src/site/resources/</directory>
1379 <include>book/**</include>
1387 <escapeString>\</escapeString>
1391 <groupId>org.apache.maven.plugins</groupId>
1392 <artifactId>maven-antrun-plugin</artifactId>
1393 <version>${maven.antrun.version}</version>
1394 <inherited>false</inherited>
1395 <!-- Rename the book.pdf generated by asciidoctor -->
1401 <target name="rename file">
1402 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1412 <groupId>org.codehaus.mojo</groupId>
1413 <artifactId>buildnumber-maven-plugin</artifactId>
1416 <phase>validate</phase>
1418 <goal>create-timestamp</goal>
1423 <timestampFormat>yyyy</timestampFormat>
1424 <timestampPropertyName>build.year</timestampPropertyName>
1428 <groupId>org.apache.felix</groupId>
1429 <artifactId>maven-bundle-plugin</artifactId>
1430 <version>${maven.bundle.version}</version>
1431 <inherited>true</inherited>
1432 <extensions>true</extensions>
1435 <groupId>org.scala-tools</groupId>
1436 <artifactId>maven-scala-plugin</artifactId>
1437 <version>${maven.scala.version}</version>
1442 <!-- override on command line to have generated LICENSE files include
1443 diagnostic info for verifying notice requirements -->
1444 <license.debug.print.included>false</license.debug.print.included>
1445 <!-- When a particular module bundles its depenendencies, should be true -->
1446 <license.bundles.dependencies>false</license.bundles.dependencies>
1447 <!-- modules that include a the logo in their source tree should set true -->
1448 <license.bundles.logo>false</license.bundles.logo>
1449 <!-- modules that include bootstrap in their source tree should set true -->
1450 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1451 <!-- modules that include jquery in their source tree should set true -->
1452 <license.bundles.jquery>false</license.bundles.jquery>
1453 <!-- where to find the generated LICENSE files -->
1454 <license.aggregate.path>
1455 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1456 </license.aggregate.path>
1457 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1458 <maven.build.timestamp.format>
1460 </maven.build.timestamp.format>
1461 <buildDate>${maven.build.timestamp}</buildDate>
1462 <compileSource>1.8</compileSource>
1463 <!-- Build dependencies -->
1464 <maven.min.version>3.0.4</maven.min.version>
1465 <java.min.version>${compileSource}</java.min.version>
1466 <!-- Dependencies -->
1467 <hadoop-two.version>2.7.7</hadoop-two.version>
1468 <hadoop-three.version>3.0.3</hadoop-three.version>
1469 <!-- These must be defined here for downstream build tools that don't look at profiles.
1470 They ought to match the values found in our default hadoop profile, which is
1471 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1472 <hadoop.version>${hadoop-two.version}</hadoop.version>
1473 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1474 <compat.module>hbase-hadoop2-compat</compat.module>
1475 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1476 <!--This property is for hadoops netty. HBase netty
1477 comes in via hbase-thirdparty hbase-shaded-netty-->
1478 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1479 <!-- end HBASE-15925 default hadoop compatibility values -->
1480 <audience-annotations.version>0.5.0</audience-annotations.version>
1481 <avro.version>1.7.7</avro.version>
1482 <commons-codec.version>1.10</commons-codec.version>
1483 <!-- pretty outdated -->
1484 <commons-io.version>2.5</commons-io.version>
1485 <commons-lang3.version>3.6</commons-lang3.version>
1486 <commons-math.version>3.6.1</commons-math.version>
1487 <disruptor.version>3.3.6</disruptor.version>
1488 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1489 <collections.version>4.1</collections.version>
1490 <httpclient.version>4.5.3</httpclient.version>
1491 <httpcore.version>4.4.6</httpcore.version>
1492 <metrics-core.version>3.2.1</metrics-core.version>
1493 <jackson.version>2.9.2</jackson.version>
1494 <jaxb-api.version>2.2.12</jaxb-api.version>
1495 <jetty.version>9.3.25.v20180904</jetty.version>
1496 <servlet.api.version>3.1.0</servlet.api.version>
1497 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1498 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1499 <jersey.version>2.25.1</jersey.version>
1500 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1501 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1502 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1503 <jruby.version>9.1.13.0</jruby.version>
1504 <junit.version>4.12</junit.version>
1505 <hamcrest.version>1.3</hamcrest.version>
1506 <htrace.version>4.2.0-incubating</htrace.version>
1507 <log4j.version>1.2.17</log4j.version>
1508 <mockito-core.version>2.1.0</mockito-core.version>
1509 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1510 <external.protobuf.version>2.5.0</external.protobuf.version>
1511 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1512 <thrift.path>thrift</thrift.path>
1513 <thrift.version>0.9.3</thrift.version>
1514 <zookeeper.version>3.4.10</zookeeper.version>
1515 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1516 <jline.version>0.9.94</jline.version>
1517 <slf4j.version>1.7.25</slf4j.version>
1518 <clover.version>4.0.3</clover.version>
1519 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1520 <jettison.version>1.3.8</jettison.version>
1521 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1522 <joni.version>2.1.11</joni.version>
1523 <jcodings.version>1.0.18</jcodings.version>
1524 <spy.version>2.12.2</spy.version>
1525 <bouncycastle.version>1.60</bouncycastle.version>
1526 <kerby.version>1.0.1</kerby.version>
1527 <commons-crypto.version>1.0.0</commons-crypto.version>
1528 <curator.version>4.0.0</curator.version>
1529 <!-- Plugin Dependencies -->
1530 <apache.rat.version>0.12</apache.rat.version>
1531 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1532 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1533 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1534 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1535 <checkstyle.version>8.11</checkstyle.version>
1536 <exec.maven.version>1.6.0</exec.maven.version>
1537 <error-prone.version>2.2.0</error-prone.version>
1538 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1539 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1540 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1541 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1542 <maven.antrun.version>1.8</maven.antrun.version>
1543 <maven.bundle.version>3.3.0</maven.bundle.version>
1544 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1545 <maven.compiler.version>3.6.1</maven.compiler.version>
1546 <maven.dependency.version>3.0.1</maven.dependency.version>
1547 <maven.eclipse.version>2.10</maven.eclipse.version>
1548 <maven.install.version>2.5.2</maven.install.version>
1549 <maven.jar.version>3.0.2</maven.jar.version>
1550 <maven.javadoc.version>3.0.0</maven.javadoc.version>
1551 <maven.patch.version>1.2</maven.patch.version>
1552 <maven.scala.version>2.15.2</maven.scala.version>
1553 <maven.shade.version>3.0.0</maven.shade.version>
1554 <maven.site.version>3.4</maven.site.version>
1555 <maven.source.version>3.0.1</maven.source.version>
1556 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1557 <os.maven.version>1.5.0.Final</os.maven.version>
1558 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1559 <scala.maven.version>3.2.2</scala.maven.version>
1560 <scalatest.maven.version>1.0</scalatest.maven.version>
1561 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1562 <wagon.ssh.version>2.12</wagon.ssh.version>
1563 <xml.maven.version>1.0.1</xml.maven.version>
1564 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1565 <!-- General Packaging -->
1566 <package.prefix>/usr</package.prefix>
1567 <package.conf.dir>/etc/hbase</package.conf.dir>
1568 <package.log.dir>/var/log/hbase</package.log.dir>
1569 <package.pid.dir>/var/run/hbase</package.pid.dir>
1570 <package.release>1</package.release>
1571 <final.name>${project.artifactId}-${project.version}</final.name>
1572 <!-- Intraproject jar naming properties -->
1573 <!-- TODO this is pretty ugly, but works for the moment.
1574 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1575 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1576 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1577 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1578 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1579 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1580 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1581 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1582 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1583 <shell-executable>bash</shell-executable>
1584 <surefire.version>2.21.0</surefire.version>
1585 <surefire.provider>surefire-junit47</surefire.provider>
1586 <!-- default: run small & medium, medium with 2 threads -->
1587 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1588 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1589 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1590 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1591 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1592 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1593 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1594 <test.output.tofile>true</test.output.tofile>
1595 <surefire.timeout>900</surefire.timeout>
1596 <test.exclude.pattern></test.exclude.pattern>
1597 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1598 <surefire.Xmx>2800m</surefire.Xmx>
1599 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1600 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1602 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1603 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1604 -Djava.awt.headless=true
1605 </hbase-surefire.argLine>
1606 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1607 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1608 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1609 </hbase-surefire.cygwin-argLine>
1610 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1611 <argLine>${hbase-surefire.argLine}</argLine>
1612 <jacoco.version>0.7.5.201505241946</jacoco.version>
1613 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1614 <enforcer.version>3.0.0-M1</enforcer.version>
1615 <!-- Location of test resources -->
1616 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1617 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1618 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1619 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1620 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1621 <build.id>${maven.build.timestamp}</build.id>
1622 <shell-executable>bash</shell-executable>
1623 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1624 property as of javadoc-plugin 3.0.0 -->
1625 <doclint>none</doclint>
1627 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1628 <dependencyManagement>
1631 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1632 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1633 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1634 implementation of the same, because Hadoop also uses this version
1635 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1636 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1638 <!-- Intra-module dependencies -->
1640 <groupId>org.apache.hbase</groupId>
1641 <artifactId>hbase-annotations</artifactId>
1642 <version>${project.version}</version>
1643 <type>test-jar</type>
1644 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1647 <artifactId>hbase-backup</artifactId>
1648 <groupId>org.apache.hbase</groupId>
1649 <version>${project.version}</version>
1652 <groupId>org.apache.hbase</groupId>
1653 <artifactId>hbase-error-prone</artifactId>
1654 <version>${project.version}</version>
1657 <groupId>org.apache.hbase</groupId>
1658 <artifactId>hbase-common</artifactId>
1659 <version>${project.version}</version>
1662 <groupId>org.apache.hbase</groupId>
1663 <artifactId>hbase-common</artifactId>
1664 <version>${project.version}</version>
1665 <type>test-jar</type>
1669 <groupId>org.apache.hbase</groupId>
1670 <artifactId>hbase-protocol-shaded</artifactId>
1671 <version>${project.version}</version>
1674 <groupId>org.apache.hbase</groupId>
1675 <artifactId>hbase-protocol</artifactId>
1676 <version>${project.version}</version>
1679 <groupId>org.apache.hbase</groupId>
1680 <artifactId>hbase-procedure</artifactId>
1681 <version>${project.version}</version>
1684 <groupId>org.apache.hbase</groupId>
1685 <artifactId>hbase-procedure</artifactId>
1686 <version>${project.version}</version>
1687 <type>test-jar</type>
1690 <groupId>org.apache.hbase</groupId>
1691 <artifactId>hbase-hadoop-compat</artifactId>
1692 <version>${project.version}</version>
1695 <groupId>org.apache.hbase</groupId>
1696 <artifactId>hbase-hadoop-compat</artifactId>
1697 <version>${project.version}</version>
1698 <type>test-jar</type>
1702 <groupId>org.apache.hbase</groupId>
1703 <artifactId>${compat.module}</artifactId>
1704 <version>${project.version}</version>
1707 <groupId>org.apache.hbase</groupId>
1708 <artifactId>${compat.module}</artifactId>
1709 <version>${project.version}</version>
1710 <type>test-jar</type>
1714 <artifactId>hbase-rsgroup</artifactId>
1715 <groupId>org.apache.hbase</groupId>
1716 <version>${project.version}</version>
1719 <artifactId>hbase-rsgroup</artifactId>
1720 <groupId>org.apache.hbase</groupId>
1721 <version>${project.version}</version>
1722 <type>test-jar</type>
1726 <artifactId>hbase-replication</artifactId>
1727 <groupId>org.apache.hbase</groupId>
1728 <version>${project.version}</version>
1731 <artifactId>hbase-http</artifactId>
1732 <groupId>org.apache.hbase</groupId>
1733 <version>${project.version}</version>
1736 <artifactId>hbase-http</artifactId>
1737 <groupId>org.apache.hbase</groupId>
1738 <version>${project.version}</version>
1739 <type>test-jar</type>
1743 <artifactId>hbase-server</artifactId>
1744 <groupId>org.apache.hbase</groupId>
1745 <version>${project.version}</version>
1748 <artifactId>hbase-server</artifactId>
1749 <groupId>org.apache.hbase</groupId>
1750 <version>${project.version}</version>
1751 <type>test-jar</type>
1755 <artifactId>hbase-mapreduce</artifactId>
1756 <groupId>org.apache.hbase</groupId>
1757 <version>${project.version}</version>
1760 <artifactId>hbase-mapreduce</artifactId>
1761 <groupId>org.apache.hbase</groupId>
1762 <version>${project.version}</version>
1763 <type>test-jar</type>
1767 <artifactId>hbase-endpoint</artifactId>
1768 <groupId>org.apache.hbase</groupId>
1769 <version>${project.version}</version>
1772 <artifactId>hbase-shell</artifactId>
1773 <groupId>org.apache.hbase</groupId>
1774 <version>${project.version}</version>
1777 <artifactId>hbase-shell</artifactId>
1778 <groupId>org.apache.hbase</groupId>
1779 <version>${project.version}</version>
1780 <type>test-jar</type>
1784 <artifactId>hbase-thrift</artifactId>
1785 <groupId>org.apache.hbase</groupId>
1786 <version>${project.version}</version>
1789 <artifactId>hbase-thrift</artifactId>
1790 <groupId>org.apache.hbase</groupId>
1791 <version>${project.version}</version>
1792 <type>test-jar</type>
1796 <groupId>org.apache.hbase</groupId>
1797 <artifactId>hbase-testing-util</artifactId>
1798 <version>${project.version}</version>
1802 <artifactId>hbase-examples</artifactId>
1803 <groupId>org.apache.hbase</groupId>
1804 <version>${project.version}</version>
1807 <groupId>org.apache.hbase</groupId>
1808 <artifactId>hbase-external-blockcache</artifactId>
1809 <version>${project.version}</version>
1812 <artifactId>hbase-it</artifactId>
1813 <groupId>org.apache.hbase</groupId>
1814 <version>${project.version}</version>
1815 <type>test-jar</type>
1819 <artifactId>hbase-client</artifactId>
1820 <groupId>org.apache.hbase</groupId>
1821 <version>${project.version}</version>
1824 <artifactId>hbase-metrics-api</artifactId>
1825 <groupId>org.apache.hbase</groupId>
1826 <version>${project.version}</version>
1829 <artifactId>hbase-metrics-api</artifactId>
1830 <groupId>org.apache.hbase</groupId>
1831 <version>${project.version}</version>
1832 <type>test-jar</type>
1836 <artifactId>hbase-metrics</artifactId>
1837 <groupId>org.apache.hbase</groupId>
1838 <version>${project.version}</version>
1841 <artifactId>hbase-metrics</artifactId>
1842 <groupId>org.apache.hbase</groupId>
1843 <version>${project.version}</version>
1844 <type>test-jar</type>
1848 <artifactId>hbase-rest</artifactId>
1849 <groupId>org.apache.hbase</groupId>
1850 <version>${project.version}</version>
1853 <artifactId>hbase-resource-bundle</artifactId>
1854 <groupId>org.apache.hbase</groupId>
1855 <version>${project.version}</version>
1858 <artifactId>hbase-spark</artifactId>
1859 <groupId>org.apache.hbase</groupId>
1860 <version>${project.version}</version>
1863 <artifactId>hbase-spark-it</artifactId>
1864 <groupId>org.apache.hbase</groupId>
1865 <version>${project.version}</version>
1866 <type>test-jar</type>
1870 <artifactId>hbase-zookeeper</artifactId>
1871 <groupId>org.apache.hbase</groupId>
1872 <version>${project.version}</version>
1875 <artifactId>hbase-zookeeper</artifactId>
1876 <groupId>org.apache.hbase</groupId>
1877 <version>${project.version}</version>
1878 <type>test-jar</type>
1882 <groupId>org.apache.hbase</groupId>
1883 <artifactId>hbase-shaded-client</artifactId>
1884 <version>${project.version}</version>
1887 <groupId>org.apache.hbase</groupId>
1888 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1889 <version>${project.version}</version>
1892 <groupId>org.apache.hbase</groupId>
1893 <artifactId>hbase-shaded-mapreduce</artifactId>
1894 <version>${project.version}</version>
1896 <!-- General dependencies -->
1898 <groupId>com.github.stephenc.findbugs</groupId>
1899 <artifactId>findbugs-annotations</artifactId>
1900 <version>${findbugs-annotations}</version>
1902 <!-- General dependencies -->
1904 <groupId>org.codehaus.jettison</groupId>
1905 <artifactId>jettison</artifactId>
1906 <version>${jettison.version}</version>
1909 <groupId>org.slf4j</groupId>
1910 <artifactId>slf4j-log4j12</artifactId>
1911 <version>${slf4j.version}</version>
1914 <groupId>log4j</groupId>
1915 <artifactId>log4j</artifactId>
1916 <version>${log4j.version}</version>
1918 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1920 <groupId>org.apache.avro</groupId>
1921 <artifactId>avro</artifactId>
1922 <version>${avro.version}</version>
1924 <!--This is not used by hbase directly. Used by thrift,
1925 dropwizard and zk.-->
1927 <groupId>org.slf4j</groupId>
1928 <artifactId>slf4j-api</artifactId>
1929 <version>${slf4j.version}</version>
1932 <groupId>io.dropwizard.metrics</groupId>
1933 <artifactId>metrics-core</artifactId>
1934 <version>${metrics-core.version}</version>
1937 <groupId>org.apache.httpcomponents</groupId>
1938 <artifactId>httpclient</artifactId>
1939 <version>${httpclient.version}</version>
1942 <groupId>org.apache.httpcomponents</groupId>
1943 <artifactId>httpcore</artifactId>
1944 <version>${httpcore.version}</version>
1947 <groupId>commons-codec</groupId>
1948 <artifactId>commons-codec</artifactId>
1949 <version>${commons-codec.version}</version>
1952 <groupId>commons-io</groupId>
1953 <artifactId>commons-io</artifactId>
1954 <version>${commons-io.version}</version>
1957 <groupId>org.apache.commons</groupId>
1958 <artifactId>commons-lang3</artifactId>
1959 <version>${commons-lang3.version}</version>
1962 <groupId>org.apache.commons</groupId>
1963 <artifactId>commons-math3</artifactId>
1964 <version>${commons-math.version}</version>
1967 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1970 <groupId>commons-logging</groupId>
1971 <artifactId>commons-logging</artifactId>
1972 <version>1.2</version>
1975 <groupId>org.apache.zookeeper</groupId>
1976 <artifactId>zookeeper</artifactId>
1977 <version>${zookeeper.version}</version>
1980 <groupId>jline</groupId>
1981 <artifactId>jline</artifactId>
1984 <groupId>com.sun.jmx</groupId>
1985 <artifactId>jmxri</artifactId>
1988 <groupId>com.sun.jdmk</groupId>
1989 <artifactId>jmxtools</artifactId>
1992 <groupId>javax.jms</groupId>
1993 <artifactId>jms</artifactId>
1996 <groupId>io.netty</groupId>
1997 <artifactId>netty</artifactId>
2002 <groupId>jline</groupId>
2003 <artifactId>jline</artifactId>
2004 <version>${jline.version}</version>
2007 <groupId>org.apache.thrift</groupId>
2008 <artifactId>libthrift</artifactId>
2009 <version>${thrift.version}</version>
2012 <groupId>org.slf4j</groupId>
2013 <artifactId>slf4j-simple</artifactId>
2018 <groupId>org.jruby</groupId>
2019 <artifactId>jruby-complete</artifactId>
2020 <version>${jruby.version}</version>
2023 <groupId>org.jruby.jcodings</groupId>
2024 <artifactId>jcodings</artifactId>
2025 <version>${jcodings.version}</version>
2028 <groupId>org.jruby.joni</groupId>
2029 <artifactId>joni</artifactId>
2030 <version>${joni.version}</version>
2033 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2034 <artifactId>jackson-jaxrs-json-provider</artifactId>
2035 <version>${jackson.version}</version>
2038 <groupId>com.fasterxml.jackson.core</groupId>
2039 <artifactId>jackson-annotations</artifactId>
2040 <version>${jackson.version}</version>
2043 <groupId>com.fasterxml.jackson.core</groupId>
2044 <artifactId>jackson-core</artifactId>
2045 <version>${jackson.version}</version>
2048 <groupId>com.fasterxml.jackson.core</groupId>
2049 <artifactId>jackson-databind</artifactId>
2050 <version>${jackson.version}</version>
2053 <groupId>org.jamon</groupId>
2054 <artifactId>jamon-runtime</artifactId>
2055 <version>${jamon-runtime.version}</version>
2057 <!-- REST dependencies -->
2059 <groupId>javax.servlet</groupId>
2060 <artifactId>javax.servlet-api</artifactId>
2061 <version>${servlet.api.version}</version>
2064 <groupId>javax.ws.rs</groupId>
2065 <artifactId>javax.ws.rs-api</artifactId>
2066 <version>${wx.rs.api.version}</version>
2069 <groupId>org.eclipse.jetty</groupId>
2070 <artifactId>jetty-server</artifactId>
2071 <version>${jetty.version}</version>
2074 <groupId>org.eclipse.jetty</groupId>
2075 <artifactId>jetty-servlet</artifactId>
2076 <version>${jetty.version}</version>
2079 <groupId>org.eclipse.jetty</groupId>
2080 <artifactId>servlet-api</artifactId>
2085 <groupId>org.eclipse.jetty</groupId>
2086 <artifactId>jetty-security</artifactId>
2087 <version>${jetty.version}</version>
2090 <groupId>org.eclipse.jetty</groupId>
2091 <artifactId>jetty-http</artifactId>
2092 <version>${jetty.version}</version>
2095 <groupId>org.eclipse.jetty</groupId>
2096 <artifactId>jetty-util</artifactId>
2097 <version>${jetty.version}</version>
2100 <groupId>org.eclipse.jetty</groupId>
2101 <artifactId>jetty-io</artifactId>
2102 <version>${jetty.version}</version>
2105 <groupId>org.eclipse.jetty</groupId>
2106 <artifactId>jetty-jmx</artifactId>
2107 <version>${jetty.version}</version>
2110 <groupId>org.eclipse.jetty</groupId>
2111 <artifactId>jetty-webapp</artifactId>
2112 <version>${jetty.version}</version>
2115 <groupId>org.eclipse.jetty</groupId>
2116 <artifactId>jetty-util-ajax</artifactId>
2117 <version>${jetty.version}</version>
2120 <groupId>com.google.protobuf</groupId>
2121 <artifactId>protobuf-java</artifactId>
2122 <version>${external.protobuf.version}</version>
2125 <groupId>org.glassfish.jersey.containers</groupId>
2126 <artifactId>jersey-container-servlet-core</artifactId>
2127 <version>${jersey.version}</version>
2130 <groupId>org.glassfish.jersey.core</groupId>
2131 <artifactId>jersey-client</artifactId>
2132 <version>${jersey.version}</version>
2135 <groupId>org.glassfish.jersey.core</groupId>
2136 <artifactId>jersey-server</artifactId>
2137 <version>${jersey.version}</version>
2140 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2141 <groupId>org.glassfish.web</groupId>
2142 <artifactId>javax.servlet.jsp</artifactId>
2143 <version>${glassfish.jsp.version}</version>
2146 <!-- this lib is used by the compiled Jsp from the above JspC -->
2147 <groupId>javax.servlet.jsp</groupId>
2148 <artifactId>javax.servlet.jsp-api</artifactId>
2149 <version>2.3.1</version>
2152 <groupId>org.glassfish</groupId>
2153 <artifactId>javax.el</artifactId>
2154 <version>${glassfish.el.version}</version>
2157 <groupId>javax.xml.bind</groupId>
2158 <artifactId>jaxb-api</artifactId>
2159 <version>${jaxb-api.version}</version>
2162 <groupId>javax.xml.stream</groupId>
2163 <artifactId>stax-api</artifactId>
2168 <groupId>junit</groupId>
2169 <artifactId>junit</artifactId>
2170 <version>${junit.version}</version>
2173 <groupId>org.hamcrest</groupId>
2174 <artifactId>hamcrest-core</artifactId>
2175 <version>${hamcrest.version}</version>
2179 <groupId>org.mockito</groupId>
2180 <artifactId>mockito-core</artifactId>
2181 <version>${mockito-core.version}</version>
2185 <groupId>org.apache.htrace</groupId>
2186 <artifactId>htrace-core4</artifactId>
2187 <version>${htrace.version}</version>
2190 <groupId>com.lmax</groupId>
2191 <artifactId>disruptor</artifactId>
2192 <version>${disruptor.version}</version>
2195 <groupId>net.spy</groupId>
2196 <artifactId>spymemcached</artifactId>
2197 <version>${spy.version}</version>
2198 <optional>true</optional>
2201 <groupId>org.bouncycastle</groupId>
2202 <artifactId>bcprov-jdk15on</artifactId>
2203 <version>${bouncycastle.version}</version>
2207 <groupId>org.apache.kerby</groupId>
2208 <artifactId>kerb-core</artifactId>
2209 <version>${kerby.version}</version>
2212 <groupId>org.apache.kerby</groupId>
2213 <artifactId>kerb-client</artifactId>
2214 <version>${kerby.version}</version>
2217 <groupId>org.apache.kerby</groupId>
2218 <artifactId>kerb-simplekdc</artifactId>
2219 <version>${kerby.version}</version>
2222 <groupId>org.apache.commons</groupId>
2223 <artifactId>commons-crypto</artifactId>
2224 <version>${commons-crypto.version}</version>
2227 <groupId>net.java.dev.jna</groupId>
2228 <artifactId>jna</artifactId>
2233 <groupId>org.apache.curator</groupId>
2234 <artifactId>curator-framework</artifactId>
2235 <version>${curator.version}</version>
2238 <groupId>org.apache.zookeeper</groupId>
2239 <artifactId>zookeeper</artifactId>
2244 <groupId>org.apache.curator</groupId>
2245 <artifactId>curator-client</artifactId>
2246 <version>${curator.version}</version>
2249 <groupId>com.google.guava</groupId>
2250 <artifactId>guava</artifactId>
2253 <groupId>org.apache.zookeeper</groupId>
2254 <artifactId>zookeeper</artifactId>
2259 <groupId>org.apache.curator</groupId>
2260 <artifactId>curator-recipes</artifactId>
2261 <version>${curator.version}</version>
2264 <groupId>com.google.guava</groupId>
2265 <artifactId>guava</artifactId>
2268 <groupId>org.apache.zookeeper</groupId>
2269 <artifactId>zookeeper</artifactId>
2274 <groupId>org.apache.yetus</groupId>
2275 <artifactId>audience-annotations</artifactId>
2276 <version>${audience-annotations.version}</version>
2279 <groupId>org.apache.hbase.thirdparty</groupId>
2280 <artifactId>hbase-shaded-miscellaneous</artifactId>
2281 <version>${hbase-thirdparty.version}</version>
2284 <groupId>org.apache.hbase.thirdparty</groupId>
2285 <artifactId>hbase-shaded-netty</artifactId>
2286 <version>${hbase-thirdparty.version}</version>
2289 <groupId>org.apache.hbase.thirdparty</groupId>
2290 <artifactId>hbase-shaded-protobuf</artifactId>
2291 <version>${hbase-thirdparty.version}</version>
2294 </dependencyManagement>
2296 <!--REMOVE THIS. HERE TEMPORARILY.
2297 Implication is that every module needs junit which is not so.
2298 Cannot undo though because build runs test on each module and
2299 it fails if no junit. TODO. -->
2301 <groupId>junit</groupId>
2302 <artifactId>junit</artifactId>
2307 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2312 <id>apache.releases.https</id>
2313 <username>hbase_committer</username>
2314 <password>********</password>
2318 <id>apache.snapshots.https</id>
2319 <username>hbase_committer</username>
2320 <password>********</password>
2328 $ mvn -s /my/path/settings.xml deploy
2336 <name>!skip-rsgroup</name>
2340 <module>hbase-rsgroup</module>
2344 <id>build-with-jdk8</id>
2352 <groupId>org.codehaus.mojo</groupId>
2353 <artifactId>findbugs-maven-plugin</artifactId>
2354 <version>${findbugs.maven.version}</version>
2355 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2357 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2358 <findbugsXmlOutput>true</findbugsXmlOutput>
2359 <xmlOutput>true</xmlOutput>
2360 <effort>Max</effort>
2364 <groupId>com.github.spotbugs</groupId>
2365 <artifactId>spotbugs</artifactId>
2366 <version>${spotbugs.version}</version>
2374 <!-- profile activated by the Jenkins patch testing job -->
2376 <id>jenkins.patch</id>
2378 <activeByDefault>false</activeByDefault>
2380 <name>HBasePatchProcess</name>
2384 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2389 <groupId>org.apache.maven.plugins</groupId>
2390 <artifactId>maven-antrun-plugin</artifactId>
2391 <inherited>false</inherited>
2394 <phase>validate</phase>
2400 <echo>Maven Execution Environment</echo>
2401 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2413 <activeByDefault>false</activeByDefault>
2418 <groupId>org.jacoco</groupId>
2419 <artifactId>jacoco-maven-plugin</artifactId>
2420 <version>${jacoco.version}</version>
2423 <id>prepare-agent</id>
2425 <goal>prepare-agent</goal>
2430 <phase>prepare-package</phase>
2437 <systemPropertyVariables>
2438 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2439 </systemPropertyVariables>
2441 <exclude>**/generated/**/*.class</exclude>
2451 <activeByDefault>false</activeByDefault>
2453 <family>Linux</family>
2457 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2464 <family>Mac</family>
2468 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2475 <family>Windows</family>
2479 <build.platform>cygwin</build.platform>
2480 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2483 <!-- this profile should be activated for release builds -->
2489 <groupId>org.apache.rat</groupId>
2490 <artifactId>apache-rat-plugin</artifactId>
2493 <phase>package</phase>
2501 <groupId>org.apache.maven.plugins</groupId>
2502 <artifactId>maven-enforcer-plugin</artifactId>
2503 <version>${enforcer.version}</version>
2506 <enforceBytecodeVersion>
2507 <maxJdkVersion>${compileSource}</maxJdkVersion>
2508 <message>HBase has unsupported dependencies.
2509 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2510 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2511 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2512 Non-release builds can temporarily build with a newer JDK version by setting the
2513 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2515 </enforceBytecodeVersion>
2522 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2523 <!-- Submodules that need hadoop dependencies should declare
2524 profiles with activation properties matching the profile here.
2525 Generally, it should be sufficient to copy the first
2526 few lines of the profile you want to match. -->
2527 <!-- profile for building against Hadoop 2.0.x
2528 This is the default.
2534 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2535 <!--h2--><name>!hadoop.profile</name>
2539 <module>hbase-hadoop2-compat</module>
2542 <hadoop.version>${hadoop-two.version}</hadoop.version>
2543 <compat.module>hbase-hadoop2-compat</compat.module>
2544 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2545 <!--This property is for hadoops netty. HBase netty
2546 comes in via hbase-thirdparty hbase-shaded-netty-->
2547 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2549 <dependencyManagement>
2552 <groupId>org.apache.hadoop</groupId>
2553 <artifactId>hadoop-mapreduce-client-core</artifactId>
2554 <version>${hadoop-two.version}</version>
2557 <groupId>io.netty</groupId>
2558 <artifactId>netty</artifactId>
2561 <groupId>javax.servlet</groupId>
2562 <artifactId>servlet-api</artifactId>
2565 <groupId>javax.inject</groupId>
2566 <artifactId>javax.inject</artifactId>
2569 <groupId>org.codehaus.jackson</groupId>
2570 <artifactId>jackson-core-asl</artifactId>
2573 <groupId>org.codehaus.jackson</groupId>
2574 <artifactId>jackson-mapper-asl</artifactId>
2579 <groupId>org.apache.hadoop</groupId>
2580 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2581 <version>${hadoop-two.version}</version>
2584 <groupId>io.netty</groupId>
2585 <artifactId>netty</artifactId>
2588 <groupId>javax.servlet</groupId>
2589 <artifactId>servlet-api</artifactId>
2594 <groupId>org.apache.hadoop</groupId>
2595 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2596 <version>${hadoop-two.version}</version>
2597 <type>test-jar</type>
2601 <groupId>io.netty</groupId>
2602 <artifactId>netty</artifactId>
2605 <groupId>javax.servlet</groupId>
2606 <artifactId>servlet-api</artifactId>
2611 <groupId>org.apache.hadoop</groupId>
2612 <artifactId>hadoop-hdfs</artifactId>
2613 <version>${hadoop-two.version}</version>
2616 <groupId>javax.servlet.jsp</groupId>
2617 <artifactId>jsp-api</artifactId>
2620 <groupId>javax.servlet</groupId>
2621 <artifactId>servlet-api</artifactId>
2624 <groupId>io.netty</groupId>
2625 <artifactId>netty</artifactId>
2628 <groupId>stax</groupId>
2629 <artifactId>stax-api</artifactId>
2632 <groupId>xerces</groupId>
2633 <artifactId>xercesImpl</artifactId>
2636 <groupId>org.codehaus.jackson</groupId>
2637 <artifactId>jackson-core-asl</artifactId>
2640 <groupId>org.codehaus.jackson</groupId>
2641 <artifactId>jackson-mapper-asl</artifactId>
2644 <groupId>com.google.guava</groupId>
2645 <artifactId>guava</artifactId>
2650 <groupId>org.apache.hadoop</groupId>
2651 <artifactId>hadoop-hdfs</artifactId>
2652 <version>${hadoop-two.version}</version>
2653 <type>test-jar</type>
2657 <groupId>javax.servlet.jsp</groupId>
2658 <artifactId>jsp-api</artifactId>
2661 <groupId>javax.servlet</groupId>
2662 <artifactId>servlet-api</artifactId>
2665 <groupId>io.netty</groupId>
2666 <artifactId>netty</artifactId>
2669 <groupId>stax</groupId>
2670 <artifactId>stax-api</artifactId>
2673 <groupId>xerces</groupId>
2674 <artifactId>xercesImpl</artifactId>
2677 <groupId>org.codehaus.jackson</groupId>
2678 <artifactId>jackson-core-asl</artifactId>
2681 <groupId>org.codehaus.jackson</groupId>
2682 <artifactId>jackson-mapper-asl</artifactId>
2685 <groupId>com.google.guava</groupId>
2686 <artifactId>guava</artifactId>
2691 <groupId>org.apache.hadoop</groupId>
2692 <artifactId>hadoop-auth</artifactId>
2693 <version>${hadoop-two.version}</version>
2696 <groupId>org.apache.hadoop</groupId>
2697 <artifactId>hadoop-common</artifactId>
2698 <version>${hadoop-two.version}</version>
2701 <groupId>commons-beanutils</groupId>
2702 <artifactId>commons-beanutils</artifactId>
2705 <groupId>javax.servlet.jsp</groupId>
2706 <artifactId>jsp-api</artifactId>
2709 <groupId>javax.servlet</groupId>
2710 <artifactId>servlet-api</artifactId>
2713 <groupId>stax</groupId>
2714 <artifactId>stax-api</artifactId>
2717 <groupId>io.netty</groupId>
2718 <artifactId>netty</artifactId>
2721 <groupId>com.google.code.findbugs</groupId>
2722 <artifactId>jsr305</artifactId>
2725 <groupId>junit</groupId>
2726 <artifactId>junit</artifactId>
2729 <groupId>org.codehaus.jackson</groupId>
2730 <artifactId>jackson-core-asl</artifactId>
2733 <groupId>org.codehaus.jackson</groupId>
2734 <artifactId>jackson-mapper-asl</artifactId>
2739 <groupId>org.apache.hadoop</groupId>
2740 <artifactId>hadoop-client</artifactId>
2741 <version>${hadoop-two.version}</version>
2743 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2744 Where do we actually need it? -->
2746 <groupId>org.apache.hadoop</groupId>
2747 <artifactId>hadoop-minicluster</artifactId>
2748 <version>${hadoop-two.version}</version>
2751 <groupId>commons-httpclient</groupId>
2752 <artifactId>commons-httpclient</artifactId>
2755 <groupId>javax.servlet.jsp</groupId>
2756 <artifactId>jsp-api</artifactId>
2759 <groupId>javax.servlet</groupId>
2760 <artifactId>servlet-api</artifactId>
2763 <groupId>stax</groupId>
2764 <artifactId>stax-api</artifactId>
2767 <groupId>io.netty</groupId>
2768 <artifactId>netty</artifactId>
2771 <groupId>com.google.code.findbugs</groupId>
2772 <artifactId>jsr305</artifactId>
2777 <groupId>org.apache.hadoop</groupId>
2778 <artifactId>hadoop-minikdc</artifactId>
2779 <version>${hadoop-two.version}</version>
2783 </dependencyManagement>
2786 profile for building against Hadoop 3.0.0. Activate using:
2787 mvn -Dhadoop.profile=3.0
2793 <name>hadoop.profile</name>
2798 <!--For now, use hadoop2 compat module-->
2799 <module>hbase-hadoop2-compat</module>
2802 <hadoop.version>${hadoop-three.version}</hadoop.version>
2803 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2804 <compat.module>hbase-hadoop2-compat</compat.module>
2805 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2806 <!--This property is for hadoops netty. HBase netty
2807 comes in via hbase-thirdparty hbase-shaded-netty-->
2808 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2810 <dependencyManagement>
2813 <groupId>org.apache.hadoop</groupId>
2814 <artifactId>hadoop-mapreduce-client-core</artifactId>
2815 <version>${hadoop-three.version}</version>
2818 <groupId>io.netty</groupId>
2819 <artifactId>netty</artifactId>
2822 <groupId>javax.inject</groupId>
2823 <artifactId>javax.inject</artifactId>
2826 <groupId>org.codehaus.jackson</groupId>
2827 <artifactId>jackson-core-asl</artifactId>
2830 <groupId>org.codehaus.jackson</groupId>
2831 <artifactId>jackson-mapper-asl</artifactId>
2834 <groupId>com.google.guava</groupId>
2835 <artifactId>guava</artifactId>
2840 <groupId>org.apache.hadoop</groupId>
2841 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2842 <version>${hadoop-three.version}</version>
2845 <groupId>io.netty</groupId>
2846 <artifactId>netty</artifactId>
2851 <groupId>org.apache.hadoop</groupId>
2852 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2853 <version>${hadoop-three.version}</version>
2854 <type>test-jar</type>
2858 <groupId>io.netty</groupId>
2859 <artifactId>netty</artifactId>
2864 <groupId>org.apache.hadoop</groupId>
2865 <artifactId>hadoop-hdfs</artifactId>
2866 <version>${hadoop-three.version}</version>
2869 <groupId>com.sun.jersey</groupId>
2870 <artifactId>jersey-core</artifactId>
2873 <groupId>com.sun.jersey</groupId>
2874 <artifactId>jersey-server</artifactId>
2877 <groupId>javax.servlet.jsp</groupId>
2878 <artifactId>jsp-api</artifactId>
2881 <groupId>javax.servlet</groupId>
2882 <artifactId>servlet-api</artifactId>
2885 <groupId>stax</groupId>
2886 <artifactId>stax-api</artifactId>
2889 <groupId>xerces</groupId>
2890 <artifactId>xercesImpl</artifactId>
2893 <groupId>org.codehaus.jackson</groupId>
2894 <artifactId>jackson-core-asl</artifactId>
2897 <groupId>org.codehaus.jackson</groupId>
2898 <artifactId>jackson-mapper-asl</artifactId>
2901 <groupId>com.google.guava</groupId>
2902 <artifactId>guava</artifactId>
2907 <groupId>org.apache.hadoop</groupId>
2908 <artifactId>hadoop-hdfs</artifactId>
2909 <version>${hadoop-three.version}</version>
2910 <type>test-jar</type>
2914 <groupId>javax.servlet.jsp</groupId>
2915 <artifactId>jsp-api</artifactId>
2918 <groupId>javax.servlet</groupId>
2919 <artifactId>servlet-api</artifactId>
2922 <groupId>stax</groupId>
2923 <artifactId>stax-api</artifactId>
2926 <groupId>xerces</groupId>
2927 <artifactId>xercesImpl</artifactId>
2930 <groupId>org.codehaus.jackson</groupId>
2931 <artifactId>jackson-core-asl</artifactId>
2934 <groupId>org.codehaus.jackson</groupId>
2935 <artifactId>jackson-mapper-asl</artifactId>
2938 <groupId>com.google.guava</groupId>
2939 <artifactId>guava</artifactId>
2942 <groupId>com.sun.jersey</groupId>
2943 <artifactId>jersey-core</artifactId>
2948 <groupId>org.apache.hadoop</groupId>
2949 <artifactId>hadoop-hdfs</artifactId>
2950 <version>${hadoop-three.version}</version>
2951 <type>test-jar</type>
2952 <classifier>tests</classifier>
2956 <groupId>com.sun.jersey</groupId>
2957 <artifactId>jersey-core</artifactId>
2962 <groupId>org.apache.hadoop</groupId>
2963 <artifactId>hadoop-auth</artifactId>
2964 <version>${hadoop-three.version}</version>
2967 <groupId>com.google.guava</groupId>
2968 <artifactId>guava</artifactId>
2971 <groupId>net.minidev</groupId>
2972 <artifactId>json-smart</artifactId>
2977 <groupId>org.apache.hadoop</groupId>
2978 <artifactId>hadoop-common</artifactId>
2979 <version>${hadoop-three.version}</version>
2982 <groupId>com.sun.jersey</groupId>
2983 <artifactId>jersey-core</artifactId>
2986 <groupId>com.sun.jersey</groupId>
2987 <artifactId>jersey-json</artifactId>
2990 <groupId>com.sun.jersey</groupId>
2991 <artifactId>jersey-servlet</artifactId>
2994 <groupId>com.sun.jersey</groupId>
2995 <artifactId>jersey-server</artifactId>
2998 <groupId>javax.servlet.jsp</groupId>
2999 <artifactId>jsp-api</artifactId>
3002 <groupId>javax.servlet</groupId>
3003 <artifactId>javax.servlet-api</artifactId>
3006 <groupId>stax</groupId>
3007 <artifactId>stax-api</artifactId>
3010 <groupId>io.netty</groupId>
3011 <artifactId>netty</artifactId>
3014 <groupId>com.google.code.findbugs</groupId>
3015 <artifactId>jsr305</artifactId>
3018 <groupId>junit</groupId>
3019 <artifactId>junit</artifactId>
3022 <groupId>org.codehause.jackson</groupId>
3023 <artifactId>jackson-core-asl</artifactId>
3026 <groupId>org.codehause.jackson</groupId>
3027 <artifactId>jackson-mapper-asl</artifactId>
3032 <groupId>org.apache.hadoop</groupId>
3033 <artifactId>hadoop-common</artifactId>
3034 <type>test-jar</type>
3035 <classifier>tests</classifier>
3036 <version>${hadoop-three.version}</version>
3039 <groupId>com.sun.jersey</groupId>
3040 <artifactId>jersey-core</artifactId>
3045 <groupId>org.apache.hadoop</groupId>
3046 <artifactId>hadoop-client</artifactId>
3047 <version>${hadoop-three.version}</version>
3050 <groupId>org.apache.hadoop</groupId>
3051 <artifactId>hadoop-annotations</artifactId>
3052 <version>${hadoop-three.version}</version>
3054 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3055 Where do we actually need it? -->
3057 <groupId>org.apache.hadoop</groupId>
3058 <artifactId>hadoop-minicluster</artifactId>
3059 <version>${hadoop-three.version}</version>
3062 <groupId>commons-httpclient</groupId>
3063 <artifactId>commons-httpclient</artifactId>
3066 <groupId>javax.servlet.jsp</groupId>
3067 <artifactId>jsp-api</artifactId>
3070 <groupId>javax.servlet</groupId>
3071 <artifactId>servlet-api</artifactId>
3074 <groupId>stax</groupId>
3075 <artifactId>stax-api</artifactId>
3078 <groupId>io.netty</groupId>
3079 <artifactId>netty</artifactId>
3082 <groupId>com.google.code.findbugs</groupId>
3083 <artifactId>jsr305</artifactId>
3088 <groupId>org.apache.hadoop</groupId>
3089 <artifactId>hadoop-minikdc</artifactId>
3090 <version>${hadoop-three.version}</version>
3094 </dependencyManagement>
3097 <!-- profiles for the tests
3098 See as well the properties of the project for the values
3099 when no profile is active. -->
3101 <!-- Use it to launch all tests in the same JVM -->
3102 <id>singleJVMTests</id>
3104 <activeByDefault>false</activeByDefault>
3107 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3108 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3109 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3110 <surefire.firstPartGroups/>
3114 <!-- Use it to launch small tests only -->
3115 <id>runSmallTests</id>
3117 <activeByDefault>false</activeByDefault>
3120 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3121 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3122 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3123 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3124 <surefire.secondPartGroups/>
3128 <!-- Use it to launch medium tests only -->
3129 <id>runMediumTests</id>
3131 <activeByDefault>false</activeByDefault>
3134 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3135 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3136 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3137 <surefire.secondPartGroups/>
3141 <!-- Use it to launch large tests only -->
3142 <id>runLargeTests</id>
3144 <activeByDefault>false</activeByDefault>
3147 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3148 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3149 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3150 <surefire.secondPartGroups/>
3154 <!-- Use it to launch small & medium tests -->
3155 <id>runDevTests</id>
3157 <activeByDefault>false</activeByDefault>
3160 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3161 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3162 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3163 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3164 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3168 <!-- Use it to launch all tests -->
3169 <id>runAllTests</id>
3171 <activeByDefault>false</activeByDefault>
3174 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3175 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3176 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3177 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3178 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3179 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3183 <id>runMiscTests</id>
3185 <activeByDefault>false</activeByDefault>
3188 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3189 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3190 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3191 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3192 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3193 </surefire.firstPartGroups>
3194 <surefire.secondPartGroups></surefire.secondPartGroups>
3198 <id>runCoprocessorTests</id>
3200 <activeByDefault>false</activeByDefault>
3203 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3204 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3205 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3206 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3207 <surefire.firstPartGroups>
3208 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3209 </surefire.firstPartGroups>
3210 <surefire.secondPartGroups></surefire.secondPartGroups>
3214 <id>runClientTests</id>
3216 <activeByDefault>false</activeByDefault>
3219 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3220 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3221 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3222 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3223 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3224 </surefire.firstPartGroups>
3225 <surefire.secondPartGroups></surefire.secondPartGroups>
3229 <id>runMasterTests</id>
3231 <activeByDefault>false</activeByDefault>
3234 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3235 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3236 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3237 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3238 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3239 </surefire.firstPartGroups>
3240 <surefire.secondPartGroups></surefire.secondPartGroups>
3244 <id>runMapredTests</id>
3246 <activeByDefault>false</activeByDefault>
3249 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3250 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3251 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3252 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3253 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3254 </surefire.firstPartGroups>
3255 <surefire.secondPartGroups></surefire.secondPartGroups>
3259 <id>runMapreduceTests</id>
3261 <activeByDefault>false</activeByDefault>
3264 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3265 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3266 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3267 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3268 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3269 </surefire.firstPartGroups>
3270 <surefire.secondPartGroups></surefire.secondPartGroups>
3274 <id>runRegionServerTests</id>
3276 <activeByDefault>false</activeByDefault>
3279 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3280 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3281 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3282 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3283 <surefire.firstPartGroups>
3284 org.apache.hadoop.hbase.testclassification.RegionServerTests
3285 </surefire.firstPartGroups>
3286 <surefire.secondPartGroups></surefire.secondPartGroups>
3290 <id>runVerySlowMapReduceTests</id>
3292 <activeByDefault>false</activeByDefault>
3295 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3296 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3297 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3298 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3299 <surefire.firstPartGroups>
3300 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3301 </surefire.firstPartGroups>
3302 <surefire.secondPartGroups></surefire.secondPartGroups>
3307 <id>runVerySlowRegionServerTests</id>
3309 <activeByDefault>false</activeByDefault>
3312 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3313 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3314 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3315 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3316 <surefire.firstPartGroups>
3317 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3318 </surefire.firstPartGroups>
3319 <surefire.secondPartGroups></surefire.secondPartGroups>
3324 <id>runFilterTests</id>
3326 <activeByDefault>false</activeByDefault>
3329 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3330 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3331 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3332 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3333 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3334 </surefire.firstPartGroups>
3335 <surefire.secondPartGroups></surefire.secondPartGroups>
3341 <activeByDefault>false</activeByDefault>
3344 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3345 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3346 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3347 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3348 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3349 </surefire.firstPartGroups>
3350 <surefire.secondPartGroups></surefire.secondPartGroups>
3354 <id>runRestTests</id>
3356 <activeByDefault>false</activeByDefault>
3359 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3360 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3361 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3362 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3363 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3364 </surefire.firstPartGroups>
3365 <surefire.secondPartGroups></surefire.secondPartGroups>
3369 <id>runRPCTests</id>
3371 <activeByDefault>false</activeByDefault>
3374 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3375 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3376 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3377 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3378 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3379 </surefire.firstPartGroups>
3380 <surefire.secondPartGroups></surefire.secondPartGroups>
3384 <id>runReplicationTests</id>
3386 <activeByDefault>false</activeByDefault>
3389 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3390 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3391 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3392 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3393 <surefire.firstPartGroups>
3394 org.apache.hadoop.hbase.testclassification.ReplicationTests
3395 </surefire.firstPartGroups>
3396 <surefire.secondPartGroups></surefire.secondPartGroups>
3400 <id>runSecurityTests</id>
3402 <activeByDefault>false</activeByDefault>
3405 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3406 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3407 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3408 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3409 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3410 </surefire.firstPartGroups>
3411 <surefire.secondPartGroups></surefire.secondPartGroups>
3415 <id>runFlakeyTests</id>
3417 <activeByDefault>false</activeByDefault>
3420 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3421 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3422 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3423 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3424 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3425 </surefire.firstPartGroups>
3426 <surefire.secondPartGroups></surefire.secondPartGroups>
3432 <activeByDefault>false</activeByDefault>
3435 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3436 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3437 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3438 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3439 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3440 </surefire.firstPartGroups>
3441 <surefire.secondPartGroups></surefire.secondPartGroups>
3446 <!-- Use it to launch tests locally-->
3454 <surefire.provider>surefire-junit4</surefire.provider>
3455 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3456 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3457 <surefire.firstPartGroups/>
3460 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3461 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3462 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3463 The report will be generated under target/site/clover/index.html when you run
3464 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3468 <activeByDefault>false</activeByDefault>
3474 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3478 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3479 our instrumented classes for the doclet will fail
3482 <groupId>org.apache.maven.plugins</groupId>
3483 <artifactId>maven-javadoc-plugin</artifactId>
3486 <groupId>com.atlassian.maven.plugins</groupId>
3487 <artifactId>maven-clover2-plugin</artifactId>
3488 <version>${clover.version}</version>
3493 <groupId>com.atlassian.maven.plugins</groupId>
3494 <artifactId>maven-clover2-plugin</artifactId>
3495 <version>${clover.version}</version>
3497 <includesAllSourceRoots>true</includesAllSourceRoots>
3498 <includesTestSourceRoots>true</includesTestSourceRoots>
3499 <targetPercentage>50%</targetPercentage>
3500 <generateHtml>true</generateHtml>
3501 <generateXml>true</generateXml>
3503 <exclude>**/generated/**</exclude>
3508 <id>clover-setup</id>
3509 <phase>process-sources</phase>
3527 <!-- Used by the website generation script on jenkins to
3528 do a local install of the jars we need to run a normal
3529 site build w/o forking.
3531 <id>site-install-step</id>
3533 <skipTests>true</skipTests>
3534 <maven.javadoc.skip>true</maven.javadoc.skip>
3535 <enforcer.skip>true</enforcer.skip>
3536 <checkstyle.skip>true</checkstyle.skip>
3537 <findbugs.skip>true</findbugs.skip>
3538 <warbucks.skip>true</warbucks.skip>
3542 <!-- Used by the website generation script on jenkins to
3543 mitigate the impact of unneeded build forks while building
3546 <id>site-build-step</id>
3548 <skipTests>true</skipTests>
3549 <enforcer.skip>true</enforcer.skip>
3550 <maven.main.skip>true</maven.main.skip>
3551 <maven.test.skip>true</maven.test.skip>
3552 <warbucks.skip>true</warbucks.skip>
3553 <protoc.skip>true</protoc.skip>
3554 <remoteresources.skip>true</remoteresources.skip>
3555 <!-- Because the scala-maven-plugin has no skip configuration option
3556 this configuration setting here won't actually do anything.
3558 However, if you pass it on the command line it'll activate
3559 a profile in hbase-spark/pom.xml that will skip things.
3561 <scala.skip>true</scala.skip>
3565 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3569 <artifactId>maven-project-info-reports-plugin</artifactId>
3570 <version>2.9</version>
3574 <report>cim</report>
3575 <report>dependencies</report>
3576 <report>dependency-convergence</report>
3577 <report>dependency-info</report>
3578 <report>dependency-management</report>
3579 <report>index</report>
3580 <report>issue-tracking</report>
3581 <report>license</report>
3582 <report>mailing-list</report>
3583 <report>plugin-management</report>
3584 <report>plugins</report>
3585 <report>project-team</report>
3586 <report>scm</report>
3587 <report>summary</report>
3591 <!-- see src/site/site.xml for selected reports -->
3593 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3598 <groupId>org.apache.maven.plugins</groupId>
3599 <artifactId>maven-javadoc-plugin</artifactId>
3600 <version>${maven.javadoc.version}</version>
3606 <report>aggregate</report>
3609 <destDir>devapidocs</destDir>
3610 <name>Developer API</name>
3611 <description>The full HBase API, including private and unstable APIs</description>
3612 <sourceFileExcludes>
3613 <exclude>**/generated/*</exclude>
3614 <exclude>**/protobuf/*</exclude>
3615 <exclude>**/*.scala</exclude>
3616 </sourceFileExcludes>
3617 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3618 <show>private</show> <!-- (shows all classes and members) -->
3620 <linksource>true</linksource>
3621 <sourcetab>2</sourcetab>
3622 <validateLinks>true</validateLinks>
3623 <fixClassComment>true</fixClassComment>
3624 <fixFieldComment>true</fixFieldComment>
3625 <fixMethodComment>true</fixMethodComment>
3626 <fixTags>all</fixTags>
3627 <notimestamp>true</notimestamp>
3628 <!-- Pass some options straight to the javadoc executable since it is easier -->
3629 <additionalJOption>-J-Xmx2G</additionalJOption>
3630 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3631 <additionalDependencies>
3632 <additionalDependency>
3633 <groupId>org.mockito</groupId>
3634 <artifactId>mockito-core</artifactId>
3635 <version>${mockito-core.version}</version>
3636 </additionalDependency>
3637 <additionalDependency>
3638 <groupId>org.hamcrest</groupId>
3639 <artifactId>hamcrest-core</artifactId>
3640 <version>${hamcrest.version}</version>
3641 </additionalDependency>
3642 </additionalDependencies>
3643 <inherited>false</inherited>
3649 <report>test-aggregate</report>
3652 <destDir>testdevapidocs</destDir>
3653 <name>Developer API</name>
3654 <description>The full HBase API test code, including private and unstable APIs</description>
3655 <sourceFileExcludes>
3656 <exclude>**/generated/*</exclude>
3657 <exclude>**/protobuf/*</exclude>
3658 <exclude>**/*.scala</exclude>
3659 </sourceFileExcludes>
3660 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3661 <show>private</show> <!-- (shows all classes and members) -->
3663 <linksource>true</linksource>
3664 <sourcetab>2</sourcetab>
3665 <validateLinks>true</validateLinks>
3666 <fixClassComment>true</fixClassComment>
3667 <fixFieldComment>true</fixFieldComment>
3668 <fixMethodComment>true</fixMethodComment>
3669 <fixTags>all</fixTags>
3670 <notimestamp>true</notimestamp>
3671 <!-- Pass some options straight to the javadoc executable since it is easier -->
3672 <additionalJOption>-J-Xmx2G</additionalJOption>
3673 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3674 <additionalDependencies>
3675 <additionalDependency>
3676 <groupId>org.mockito</groupId>
3677 <artifactId>mockito-core</artifactId>
3678 <version>${mockito-core.version}</version>
3679 </additionalDependency>
3680 <additionalDependency>
3681 <groupId>org.hamcrest</groupId>
3682 <artifactId>hamcrest-core</artifactId>
3683 <version>${hamcrest.version}</version>
3684 </additionalDependency>
3685 </additionalDependencies>
3686 <inherited>false</inherited>
3694 <report>aggregate</report>
3698 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3701 <groupId>org.apache.yetus</groupId>
3702 <artifactId>audience-annotations</artifactId>
3703 <version>${audience-annotations.version}</version>
3705 <useStandardDocletOptions>true</useStandardDocletOptions>
3706 <destDir>apidocs</destDir>
3707 <name>User API</name>
3708 <description>The HBase Application Programmer's API</description>
3709 <excludePackageNames>
3710 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*
3711 </excludePackageNames>
3712 <!-- switch on dependency-driven aggregation -->
3713 <includeDependencySources>false</includeDependencySources>
3714 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3715 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3717 <linksource>true</linksource>
3718 <sourcetab>2</sourcetab>
3719 <validateLinks>true</validateLinks>
3720 <fixClassComment>true</fixClassComment>
3721 <fixFieldComment>true</fixFieldComment>
3722 <fixMethodComment>true</fixMethodComment>
3723 <fixTags>all</fixTags>
3724 <notimestamp>true</notimestamp>
3725 <!-- Pass some options straight to the javadoc executable since it is easier -->
3726 <additionalJOption>-J-Xmx2G</additionalJOption>
3727 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3728 <additionalDependencies>
3729 <additionalDependency>
3730 <groupId>org.mockito</groupId>
3731 <artifactId>mockito-core</artifactId>
3732 <version>${mockito-core.version}</version>
3733 </additionalDependency>
3734 <additionalDependency>
3735 <groupId>org.hamcrest</groupId>
3736 <artifactId>hamcrest-core</artifactId>
3737 <version>${hamcrest.version}</version>
3738 </additionalDependency>
3739 </additionalDependencies>
3740 <inherited>false</inherited>
3743 <!-- User Test API -->
3745 <id>testuserapi</id>
3747 <report>test-aggregate</report>
3751 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3754 <groupId>org.apache.yetus</groupId>
3755 <artifactId>audience-annotations</artifactId>
3756 <version>${audience-annotations.version}</version>
3758 <useStandardDocletOptions>true</useStandardDocletOptions>
3759 <destDir>testapidocs</destDir>
3760 <name>User API</name>
3761 <description>The HBase Application Programmer's API</description>
3762 <excludePackageNames>
3763 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*
3764 </excludePackageNames>
3765 <!-- switch on dependency-driven aggregation -->
3766 <includeDependencySources>false</includeDependencySources>
3767 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3768 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3770 <linksource>true</linksource>
3771 <sourcetab>2</sourcetab>
3772 <validateLinks>true</validateLinks>
3773 <fixClassComment>true</fixClassComment>
3774 <fixFieldComment>true</fixFieldComment>
3775 <fixMethodComment>true</fixMethodComment>
3776 <fixTags>all</fixTags>
3777 <notimestamp>true</notimestamp>
3778 <!-- Pass some options straight to the javadoc executable since it is easier -->
3779 <additionalJOption>-J-Xmx2G</additionalJOption>
3780 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3781 <additionalDependencies>
3782 <additionalDependency>
3783 <groupId>org.mockito</groupId>
3784 <artifactId>mockito-core</artifactId>
3785 <version>${mockito-core.version}</version>
3786 </additionalDependency>
3787 <additionalDependency>
3788 <groupId>org.hamcrest</groupId>
3789 <artifactId>hamcrest-core</artifactId>
3790 <version>${hamcrest.version}</version>
3791 </additionalDependency>
3792 </additionalDependencies>
3793 <inherited>false</inherited>
3800 <groupId>org.apache.maven.plugins</groupId>
3801 <artifactId>maven-checkstyle-plugin</artifactId>
3802 <version>${maven.checkstyle.version}</version>
3804 <excludes>target/**</excludes>
3809 <groupId>org.scala-tools</groupId>
3810 <artifactId>maven-scala-plugin</artifactId>
3811 <version>2.15.2</version>
3815 <distributionManagement>
3817 <id>hbase.apache.org</id>
3818 <name>HBase Website at hbase.apache.org</name>
3819 <!-- On why this is the tmp dir and not hbase.apache.org, see
3820 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3822 <url>file:///tmp</url>
3824 </distributionManagement>