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>Sean Busbey</name>
230 <email>busbey@apache.org</email>
231 <timezone>-6</timezone>
235 <name>Heng Chen</name>
236 <email>chenheng@apache.org</email>
237 <timezone>+8</timezone>
241 <name>Chia-Ping Tsai</name>
242 <email>chia7712@apache.org</email>
243 <timezone>+8</timezone>
247 <name>Devaraj Das</name>
248 <email>ddas@apache.org</email>
249 <timezone>-8</timezone>
253 <name>Dima Spivak</name>
254 <email>dimaspivak@apache.org</email>
255 <timezone>-8</timezone>
259 <name>Doug Meil</name>
260 <email>dmeil@apache.org</email>
261 <timezone>-5</timezone>
265 <name>Elliott Clark</name>
266 <email>eclark@apache.org</email>
267 <timezone>-8</timezone>
271 <name>Josh Elser</name>
272 <email>elserj@apache.org</email>
273 <timezone>-5</timezone>
277 <name>Enis Soztutar</name>
278 <email>enis@apache.org</email>
279 <timezone>-8</timezone>
283 <name>Eshcar Hillel</name>
284 <email>eshcar@apache.org</email>
285 <timezone>+2</timezone>
289 <name>Honghua Feng</name>
290 <email>fenghh@apache.org</email>
291 <timezone>+8</timezone>
295 <name>Gary Helmling</name>
296 <email>garyh@apache.org</email>
297 <timezone>-8</timezone>
301 <name>Gregory Chanan</name>
302 <email>gchanan@apache.org</email>
303 <timezone>-8</timezone>
307 <name>Guangxu Cheng</name>
308 <email>gxcheng@apache.org</email>
309 <timezone>+8</timezone>
313 <name>Huaxiang Sun</name>
314 <email>huaxiangsun@apache.org</email>
315 <timezone>-8</timezone>
319 <name>Jean-Daniel Cryans</name>
320 <email>jdcryans@apache.org</email>
321 <timezone>-8</timezone>
325 <name>Jeffrey Zhong</name>
326 <email>jeffreyz@apache.org</email>
327 <timezone>-8</timezone>
331 <name>Jing Chen (Jerry) He</name>
332 <email>jerryjch@apache.org</email>
333 <timezone>-8</timezone>
337 <name>Jesse Yates</name>
338 <email>jyates@apache.org</email>
339 <timezone>-8</timezone>
343 <name>Jonathan Gray</name>
344 <email>jgray@fb.com</email>
345 <timezone>-8</timezone>
349 <name>Jingcheng Du</name>
350 <email>jingchengdu@apache.org</email>
351 <timezone>+8</timezone>
355 <name>Esteban Gutierrez</name>
356 <email>esteban@apache.org</email>
357 <timezone>-8</timezone>
361 <name>Jan Hentschel</name>
362 <email>janh@apache.org</email>
363 <timezone>+1</timezone>
367 <name>Jonathan Hsieh</name>
368 <email>jmhsieh@apache.org</email>
369 <timezone>-8</timezone>
373 <name>Jimmy Xiang</name>
374 <email>jxiang@apache.org</email>
375 <timezone>-8</timezone>
379 <name>Kannan Muthukkaruppan</name>
380 <email>kannan@fb.com</email>
381 <timezone>-8</timezone>
385 <name>Karthik Ranganathan</name>
386 <email>kranganathan@fb.com</email>
387 <timezone>-8</timezone>
391 <name>Lars George</name>
392 <email>larsgeorge@apache.org</email>
393 <timezone>+1</timezone>
397 <name>Lars Hofhansl</name>
398 <email>larsh@apache.org</email>
399 <timezone>-8</timezone>
403 <name>Liang Xie</name>
404 <email>liangxie@apache.org</email>
405 <timezone>+8</timezone>
409 <name>Shaohui Liu</name>
410 <email>liushaohui@apache.org</email>
411 <timezone>+8</timezone>
415 <name>Liyin Tang</name>
416 <email>liyin.tang@fb.com</email>
417 <timezone>-8</timezone>
422 <email>liyu@apache.org</email>
423 <timezone>+8</timezone>
427 <name>Mikhail Bautin</name>
428 <email>mbautin@apache.org</email>
429 <timezone>-8</timezone>
433 <name>Matteo Bertozzi</name>
434 <email>mbertozzi@apache.org</email>
435 <timezone>0</timezone>
439 <name>Mike Drob</name>
440 <email>mdrob@apache.org</email>
441 <timezone>-5</timezone>
445 <name>Misty Stanley-Jones</name>
446 <email>misty@apache.org</email>
447 <timezone>-8</timezone>
451 <name>Nick Dimiduk</name>
452 <email>ndimiduk@apache.org</email>
453 <timezone>-8</timezone>
457 <name>Nicolas Liochon</name>
458 <email>nkeywal@apache.org</email>
459 <timezone>+1</timezone>
462 <id>nspiegelberg</id>
463 <name>Nicolas Spiegelberg</name>
464 <email>nspiegelberg@fb.com</email>
465 <timezone>-8</timezone>
469 <name>Andrey Stepachev</name>
470 <email>octo47@gmail.com</email>
471 <timezone>0</timezone>
475 <name>Zheng Hu</name>
476 <email>openinx@apache.org</email>
477 <timezone>+8</timezone>
481 <name>Peter Somogyi</name>
482 <email>psomogyi@apache.org</email>
483 <timezone>+1</timezone>
487 <name>Rajeshbabu Chintaguntla</name>
488 <email>rajeshbabu@apache.org</email>
489 <timezone>+5</timezone>
493 <name>Ramkrishna S Vasudevan</name>
494 <email>ramkrishna@apache.org</email>
495 <timezone>+5</timezone>
499 <name>Ryan Rawson</name>
500 <email>rawson@apache.org</email>
501 <timezone>-8</timezone>
505 <name>Reid Chan</name>
506 <email>reidchan@apache.org</email>
507 <timezone>+8</timezone>
511 <name>Sergey Shelukhin</name>
512 <email>sershe@apache.org</email>
513 <timezone>-8</timezone>
517 <name>Srikanth Srungarapu</name>
518 <email>ssrungarapu@apache.org</email>
519 <timezone>-8</timezone>
523 <name>Michael Stack</name>
524 <email>stack@apache.org</email>
525 <timezone>-8</timezone>
529 <name>Stephen Yuan Jiang</name>
530 <email>syuanjiang@apache.org</email>
531 <timezone>-8</timezone>
536 <email>yuzhihong@gmail.com</email>
537 <timezone>-8</timezone>
541 <name>Todd Lipcon</name>
542 <email>todd@apache.org</email>
543 <timezone>-8</timezone>
547 <name>Francis Liu</name>
548 <email>toffer@apache.org</email>
549 <timezone>-8</timezone>
553 <name>Vikas Vishwakarma</name>
554 <email>vikasv@apache.org</email>
555 <timezone>+5</timezone>
559 <name>Virag Kothari</name>
560 <email>virag@yahoo-inc.com</email>
561 <timezone>-8</timezone>
565 <name>Phil Yang</name>
566 <email>yangzhe1991@apache.org</email>
567 <timezone>+8</timezone>
571 <name>Guanghao Zhang</name>
572 <email>zghao@apache.org</email>
573 <timezone>+8</timezone>
577 <name>Duo Zhang</name>
578 <email>zhangduo@apache.org</email>
579 <timezone>+8</timezone>
583 <name>Chunhui Shen</name>
584 <email>zjushch@apache.org</email>
585 <timezone>+8</timezone>
589 <name>Rahul Gidwani</name>
590 <email>churro@apache.org</email>
591 <timezone>-8</timezone>
595 <name>Yi Liang</name>
596 <email>yiliang@apache.org</email>
597 <timezone>-8</timezone>
601 <name>Zach York</name>
602 <email>zyork@apache.org</email>
603 <timezone>-8</timezone>
609 <groupId>kr.motd.maven</groupId>
610 <artifactId>os-maven-plugin</artifactId>
611 <version>${os.maven.version}</version>
614 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
615 For specific version use a property and define it in the parent pom.
620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-dependency-plugin</artifactId>
622 <version>${maven.dependency.version}</version>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-javadoc-plugin</artifactId>
627 <version>${maven.javadoc.version}</version>
630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-remote-resources-plugin</artifactId>
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-shade-plugin</artifactId>
636 <version>${maven.shade.version}</version>
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-release-plugin</artifactId>
642 <!--You need this profile. It'll sign your artifacts.
643 I'm not sure if this config. actually works though.
644 I've been specifying -Papache-release on the command-line
646 <releaseProfiles>apache-release</releaseProfiles>
647 <!--This stops our running tests for each stage of maven release.
648 But it builds the test jar. From SUREFIRE-172.
650 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
651 <goals>${goals}</goals>
652 <pomFileName>pom.xml</pomFileName>
656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-compiler-plugin</artifactId>
658 <version>${maven.compiler.version}</version>
660 <source>${compileSource}</source>
661 <target>${compileSource}</target>
662 <showWarnings>true</showWarnings>
663 <showDeprecation>false</showDeprecation>
664 <useIncrementalCompilation>false</useIncrementalCompilation>
665 <compilerArgument>-Xlint:-options</compilerArgument>
668 <!-- Test oriented plugins -->
670 <groupId>org.apache.maven.plugins</groupId>
671 <artifactId>maven-surefire-plugin</artifactId>
672 <version>${surefire.version}</version>
674 <!-- by default surefire selects dynamically the connector to the unit tests
675 tool. We want to use always the same as the different connectors can have different
676 bugs and behaviour. -->
678 <groupId>org.apache.maven.surefire</groupId>
679 <artifactId>${surefire.provider}</artifactId>
680 <version>${surefire.version}</version>
683 <!-- Generic testing configuration for all packages -->
685 <groups>${surefire.firstPartGroups}</groups>
686 <failIfNoTests>false</failIfNoTests>
687 <skip>${surefire.skipFirstPart}</skip>
688 <forkCount>${surefire.firstPartForkCount}</forkCount>
689 <reuseForks>false</reuseForks>
690 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
691 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
692 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
693 <systemPropertyVariables>
694 <test.build.classes>${test.build.classes}</test.build.classes>
695 </systemPropertyVariables>
697 <!-- users can add -D option to skip particular test classes
698 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
700 <exclude>${test.exclude.pattern}</exclude>
704 <name>listener</name>
705 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
711 <id>secondPartTestsExecution</id>
717 <skip>${surefire.skipSecondPart}</skip>
718 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
719 <reuseForks>false</reuseForks>
720 <forkCount>${surefire.secondPartForkCount}</forkCount>
721 <groups>${surefire.secondPartGroups}</groups>
722 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
728 <groupId>org.apache.maven.plugins</groupId>
729 <artifactId>maven-surefire-report-plugin</artifactId>
730 <version>${surefire.version}</version>
733 <groupId>org.apache.maven.plugins</groupId>
734 <artifactId>maven-clean-plugin</artifactId>
738 <!--dfs tests have build dir hardcoded. Clean it as part of
740 <directory>build</directory>
746 <groupId>org.codehaus.mojo</groupId>
747 <artifactId>buildnumber-maven-plugin</artifactId>
748 <version>${buildnumber.maven.version}</version>
751 <groupId>org.codehaus.mojo</groupId>
752 <artifactId>findbugs-maven-plugin</artifactId>
753 <version>${findbugs.maven.version}</version>
754 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
756 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
757 <findbugsXmlOutput>true</findbugsXmlOutput>
758 <xmlOutput>true</xmlOutput>
763 <groupId>org.codehaus.mojo</groupId>
764 <artifactId>build-helper-maven-plugin</artifactId>
765 <version>${build.helper.maven.version}</version>
768 <artifactId>maven-antrun-plugin</artifactId>
769 <version>${maven.antrun.version}</version>
772 <groupId>org.jamon</groupId>
773 <artifactId>jamon-maven-plugin</artifactId>
774 <version>${jamon.plugin.version}</version>
776 <!-- Make a jar and put the sources in the jar.
777 In the parent pom, so submodules will do the right thing. -->
779 <groupId>org.apache.maven.plugins</groupId>
780 <artifactId>maven-source-plugin</artifactId>
783 <id>attach-sources</id>
784 <phase>prepare-package</phase>
786 <goal>jar-no-fork</goal>
787 <goal>test-jar-no-fork</goal>
792 <!-- General configuration for submodules who want to build a test jar -->
794 <groupId>org.apache.maven.plugins</groupId>
795 <artifactId>maven-jar-plugin</artifactId>
798 <phase>prepare-package</phase>
800 <!--This goal will install a -test.jar when we do install
801 See http://maven.apache.org/guides/mini/guide-attached-tests.html
803 <goal>test-jar</goal>
808 <skipIfEmpty>true</skipIfEmpty>
810 <exclude>hbase-site.xml</exclude>
811 <exclude>hdfs-site.xml</exclude>
812 <exclude>log4j.properties</exclude>
813 <exclude>mapred-queues.xml</exclude>
814 <exclude>mapred-site.xml</exclude>
815 <!--I was seeing this w/o the below addition:
816 [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]
818 <exclude>*.jar</exclude>
822 <!-- General config for eclipse classpath/settings -->
824 <groupId>org.apache.maven.plugins</groupId>
825 <artifactId>maven-eclipse-plugin</artifactId>
826 <version>${maven.eclipse.version}</version>
828 <!--This plugin's configuration is used to store Eclipse m2e settings
829 only. It has no influence on the Maven build itself. m2e does not
830 provide any safeguards against rogue maven plugins that leak
831 classloaders, modify random files inside workspace or throw nasty
832 exceptions to fail the build.
833 Top level doesn't do any specific configuration currently - left
834 to modules to decide what they want to bind, sans those plugins
835 defined in this pom. -->
837 <groupId>org.eclipse.m2e</groupId>
838 <artifactId>lifecycle-mapping</artifactId>
839 <version>${lifecycle.mapping.version}</version>
841 <lifecycleMappingMetadata>
844 <pluginExecutionFilter>
845 <groupId>org.jacoco</groupId>
846 <artifactId>jacoco-maven-plugin</artifactId>
847 <versionRange>[0.6.2.201302030002,)</versionRange>
849 <goal>prepare-agent</goal>
851 </pluginExecutionFilter>
857 <pluginExecutionFilter>
858 <groupId>org.apache.maven.plugins</groupId>
859 <artifactId>maven-enforcer-plugin</artifactId>
860 <versionRange>${enforcer.version}</versionRange>
864 </pluginExecutionFilter>
870 <pluginExecutionFilter>
871 <groupId>org.apache.maven.plugins</groupId>
872 <artifactId>maven-remote-resources-plugin</artifactId>
873 <versionRange>[1.5,)</versionRange>
878 </pluginExecutionFilter>
884 <pluginExecutionFilter>
885 <groupId>org.codehaus.mojo</groupId>
886 <artifactId>buildnumber-maven-plugin</artifactId>
887 <versionRange>[1.3,)</versionRange>
889 <goal>create-timestamp</goal>
891 </pluginExecutionFilter>
894 <runOnConfiguration>true</runOnConfiguration>
895 <runOnIncremental>true</runOnIncremental>
900 </lifecycleMappingMetadata>
904 <!-- excludes are inherited -->
905 <groupId>org.apache.rat</groupId>
906 <artifactId>apache-rat-plugin</artifactId>
907 <version>${apache.rat.version}</version>
910 <exclude>**/*.versionsBackup</exclude>
911 <exclude>**/*.log</exclude>
912 <exclude>**/.*</exclude>
913 <exclude>**/*.tgz</exclude>
914 <exclude>**/*.orig</exclude>
915 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
916 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
917 <exclude>**/0000000000000016310</exclude>
918 <exclude>**/.idea/**</exclude>
919 <exclude>**/*.iml</exclude>
920 <exclude>**/CHANGES.txt</exclude>
921 <exclude>**/generated/**</exclude>
922 <exclude>**/gen-*/**</exclude>
923 <!-- No material contents -->
924 <exclude>conf/regionservers</exclude>
925 <exclude>**/*.avpr</exclude>
926 <exclude>**/*.svg</exclude>
927 <!-- non-standard notice file from jruby included by reference -->
928 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
929 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
930 <exclude>**/src/main/asciidoc/hbase.css</exclude>
931 <!-- MIT http://jquery.org/license -->
932 <exclude>**/jquery.min.js</exclude>
933 <!-- vector graphics -->
934 <exclude>**/*.vm</exclude>
935 <!-- apache doxia generated -->
936 <exclude>**/control</exclude>
937 <exclude>**/conffile</exclude>
938 <!-- auto-gen docs -->
939 <exclude>docs/*</exclude>
940 <exclude>logs/*</exclude>
941 <!-- exclude source control files -->
942 <exclude>.git/**</exclude>
943 <exclude>.svn/**</exclude>
944 <exclude>**/.settings/**</exclude>
945 <exclude>**/patchprocess/**</exclude>
946 <exclude>src/site/resources/repo/**</exclude>
947 <exclude>**/dependency-reduced-pom.xml</exclude>
948 <exclude>**/rat.txt</exclude>
949 <!-- exclude the shaded protobuf files -->
950 <exclude>**/shaded/com/google/protobuf/**</exclude>
951 <exclude>**/src/main/patches/**</exclude>
956 <artifactId>maven-assembly-plugin</artifactId>
958 <!--Defer to the hbase-assembly sub-module. It
960 <skipAssembly>true</skipAssembly>
964 <groupId>org.xolstice.maven.plugins</groupId>
965 <artifactId>protobuf-maven-plugin</artifactId>
966 <version>${protobuf.plugin.version}</version>
968 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
969 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
970 <clearOutputDirectory>false</clearOutputDirectory>
971 <checkStaleness>true</checkStaleness>
975 <!-- Approach followed here is roughly the same as mentioned here:
976 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
978 <groupId>org.apache.maven.plugins</groupId>
979 <artifactId>maven-checkstyle-plugin</artifactId>
980 <version>${maven.checkstyle.version}</version>
983 <groupId>org.apache.hbase</groupId>
984 <artifactId>hbase-checkstyle</artifactId>
985 <version>${project.version}</version>
988 <groupId>com.puppycrawl.tools</groupId>
989 <artifactId>checkstyle</artifactId>
990 <version>${checkstyle.version}</version>
994 <configLocation>hbase/checkstyle.xml</configLocation>
995 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
996 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1000 <groupId>net.revelc.code</groupId>
1001 <artifactId>warbucks-maven-plugin</artifactId>
1002 <version>${maven.warbucks.version}</version>
1004 <ignoreRuleFailures>false</ignoreRuleFailures>
1007 <!-- exclude the generated java files -->
1008 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
1009 <includeTestClasses>false</includeTestClasses>
1010 <includePublicClasses>true</includePublicClasses>
1011 <includePackagePrivateClasses>false</includePackagePrivateClasses>
1012 <includeProtectedClasses>false</includeProtectedClasses>
1013 <includePrivateClasses>false</includePrivateClasses>
1014 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
1020 <id>run-warbucks</id>
1022 <goal>check</goal><!-- runs at process-test-classes phase -->
1031 <groupId>org.codehaus.mojo</groupId>
1032 <artifactId>build-helper-maven-plugin</artifactId>
1035 <id>negate-license-bundles-property</id>
1037 <goal>bsh-property</goal>
1040 <source>skip.license.check = !${license.bundles.dependencies};</source>
1042 <property>skip.license.check</property>
1049 <groupId>org.apache.maven.plugins</groupId>
1050 <artifactId>maven-enforcer-plugin</artifactId>
1051 <version>${enforcer.version}</version>
1054 <groupId>org.codehaus.mojo</groupId>
1055 <artifactId>extra-enforcer-rules</artifactId>
1056 <version>${extra.enforcer.version}</version>
1059 <!-- version set by parent -->
1062 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1064 <goal>enforce</goal>
1068 <!-- Help people activate profiles correctly -->
1070 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1071 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1072 </evaluateBeanshell>
1073 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1074 <requireMavenVersion>
1075 <version>[${maven.min.version},)</version>
1076 <message>Maven is out of date.
1077 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1078 You appear to be using an older version. You can use either "mvn -version" or
1079 "mvn enforcer:display-info" to verify what version is active.
1080 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1082 </requireMavenVersion>
1083 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1084 <requireJavaVersion>
1085 <version>[${java.min.version},)</version>
1086 <message>Java is out of date.
1087 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1088 You appear to be using an older version. You can use either "mvn -version" or
1089 "mvn enforcer:display-info" to verify what version is active.
1090 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1092 </requireJavaVersion>
1093 <bannedDependencies>
1095 <exclude>xerces:xercesImpl</exclude>
1097 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1098 </bannedDependencies>
1103 <id>banned-jsr305</id>
1105 <goal>enforce</goal>
1109 <bannedDependencies>
1111 <exclude>com.google.code.findbugs:jsr305</exclude>
1113 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1114 </bannedDependencies>
1119 <id>banned-scala</id>
1121 <goal>enforce</goal>
1125 <bannedDependencies>
1127 <exclude>org.scala-lang:scala-library</exclude>
1129 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1130 </bannedDependencies>
1135 <id>banned-hbase-spark</id>
1137 <goal>enforce</goal>
1141 <bannedDependencies>
1143 <exclude>org.apache.hbase:hbase-spark</exclude>
1145 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1146 </bannedDependencies>
1151 <id>check-aggregate-license</id>
1152 <!-- must check after LICENSE is built at 'generate-resources' -->
1153 <phase>process-resources</phase>
1155 <goal>enforce</goal>
1161 File license = new File("${license.aggregate.path}");
1163 // Beanshell does not support try-with-resources,
1164 // so we must close this scanner manually
1165 Scanner scanner = new Scanner(license);
1167 while (scanner.hasNextLine()) {
1168 if (scanner.nextLine().startsWith("ERROR:")) {
1177 License errors detected, for more detail find ERROR in
1178 ${license.aggregate.path}
1180 </evaluateBeanshell>
1182 <skip>${skip.license.check}</skip>
1187 <!-- parent-module only plugins -->
1189 <groupId>org.codehaus.mojo</groupId>
1190 <artifactId>xml-maven-plugin</artifactId>
1191 <version>${xml.maven.version}</version>
1192 <inherited>false</inherited>
1195 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1197 <goal>transform</goal>
1203 <transformationSets>
1204 <!-- For asciidoc -->
1206 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1207 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1209 <include>hbase-default.xml</include>
1211 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1213 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1214 <pattern>^(.*)\.xml$</pattern>
1215 <replacement>$1.adoc</replacement>
1218 <outputDir>${basedir}/target/asciidoc</outputDir>
1219 </transformationSet>
1220 </transformationSets>
1223 <!-- Special configuration for findbugs just in the parent so
1224 the filter file location can be more general (see definition in pluginManagement) -->
1226 <groupId>org.codehaus.mojo</groupId>
1227 <artifactId>findbugs-maven-plugin</artifactId>
1230 <inherited>false</inherited>
1232 <goal>findbugs</goal>
1235 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1241 <groupId>org.apache.maven.plugins</groupId>
1242 <artifactId>maven-checkstyle-plugin</artifactId>
1245 <groupId>org.apache.maven.plugins</groupId>
1246 <artifactId>maven-site-plugin</artifactId>
1247 <version>${maven.site.version}</version>
1248 <inherited>false</inherited>
1251 <!-- add support for ssh/scp -->
1252 <groupId>org.apache.maven.wagon</groupId>
1253 <artifactId>wagon-ssh</artifactId>
1254 <version>${wagon.ssh.version}</version>
1258 <siteDirectory>${basedir}/src/site</siteDirectory>
1259 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1260 <inputEncoding>UTF-8</inputEncoding>
1261 <outputEncoding>UTF-8</outputEncoding>
1264 <!-- For AsciiDoc docs building -->
1266 <groupId>org.asciidoctor</groupId>
1267 <artifactId>asciidoctor-maven-plugin</artifactId>
1268 <version>${asciidoctor.plugin.version}</version>
1269 <inherited>false</inherited>
1272 <groupId>org.asciidoctor</groupId>
1273 <artifactId>asciidoctorj-pdf</artifactId>
1274 <version>${asciidoctorj.pdf.version}</version>
1277 <groupId>org.jruby</groupId>
1278 <artifactId>jruby-complete</artifactId>
1279 <version>${jruby.version}</version>
1283 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1284 <doctype>book</doctype>
1285 <imagesDir>images</imagesDir>
1286 <sourceHighlighter>coderay</sourceHighlighter>
1288 <docVersion>${project.version}</docVersion>
1293 <id>output-html</id>
1296 <goal>process-asciidoc</goal>
1300 <stylesheet>hbase.css</stylesheet>
1302 <backend>html5</backend>
1309 <goal>process-asciidoc</goal>
1312 <backend>pdf</backend>
1317 <idseparator>-</idseparator>
1324 <groupId>org.apache.maven.plugins</groupId>
1325 <artifactId>maven-resources-plugin</artifactId>
1326 <!--$NO-MVN-MAN-VER$ -->
1327 <inherited>false</inherited>
1330 <id>copy-htaccess</id>
1332 <goal>copy-resources</goal>
1336 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1339 <directory>${basedir}/src/site/resources/</directory>
1341 <include>.htaccess</include>
1347 <!-- needed to make the redirect above work -->
1349 <id>copy-empty-book-dir</id>
1351 <goal>copy-resources</goal>
1355 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1358 <directory>${basedir}/src/site/resources/</directory>
1360 <include>book/**</include>
1368 <escapeString>\</escapeString>
1372 <groupId>org.apache.maven.plugins</groupId>
1373 <artifactId>maven-antrun-plugin</artifactId>
1374 <version>${maven.antrun.version}</version>
1375 <inherited>false</inherited>
1376 <!-- Rename the book.pdf generated by asciidoctor -->
1382 <target name="rename file">
1383 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1393 <groupId>org.codehaus.mojo</groupId>
1394 <artifactId>buildnumber-maven-plugin</artifactId>
1397 <phase>validate</phase>
1399 <goal>create-timestamp</goal>
1404 <timestampFormat>yyyy</timestampFormat>
1405 <timestampPropertyName>build.year</timestampPropertyName>
1409 <groupId>org.apache.felix</groupId>
1410 <artifactId>maven-bundle-plugin</artifactId>
1411 <version>${maven.bundle.version}</version>
1412 <inherited>true</inherited>
1413 <extensions>true</extensions>
1416 <groupId>org.scala-tools</groupId>
1417 <artifactId>maven-scala-plugin</artifactId>
1418 <version>${maven.scala.version}</version>
1423 <!-- override on command line to have generated LICENSE files include
1424 diagnostic info for verifying notice requirements -->
1425 <license.debug.print.included>false</license.debug.print.included>
1426 <!-- When a particular module bundles its depenendencies, should be true -->
1427 <license.bundles.dependencies>false</license.bundles.dependencies>
1428 <!-- modules that include a the logo in their source tree should set true -->
1429 <license.bundles.logo>false</license.bundles.logo>
1430 <!-- modules that include bootstrap in their source tree should set true -->
1431 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1432 <!-- modules that include jquery in their source tree should set true -->
1433 <license.bundles.jquery>false</license.bundles.jquery>
1434 <!-- where to find the generated LICENSE files -->
1435 <license.aggregate.path>
1436 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1437 </license.aggregate.path>
1438 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1439 <maven.build.timestamp.format>
1441 </maven.build.timestamp.format>
1442 <buildDate>${maven.build.timestamp}</buildDate>
1443 <compileSource>1.8</compileSource>
1444 <!-- Build dependencies -->
1445 <maven.min.version>3.0.4</maven.min.version>
1446 <java.min.version>${compileSource}</java.min.version>
1447 <!-- Dependencies -->
1448 <hadoop-two.version>2.7.4</hadoop-two.version>
1449 <hadoop-three.version>3.0.0</hadoop-three.version>
1450 <!-- These must be defined here for downstream build tools that don't look at profiles.
1451 They ought to match the values found in our default hadoop profile, which is
1452 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1453 <hadoop.version>${hadoop-two.version}</hadoop.version>
1454 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1455 <compat.module>hbase-hadoop2-compat</compat.module>
1456 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1457 <!--This property is for hadoops netty. HBase netty
1458 comes in via hbase-thirdparty hbase-shaded-netty-->
1459 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1460 <!-- end HBASE-15925 default hadoop compatibility values -->
1461 <audience-annotations.version>0.5.0</audience-annotations.version>
1462 <avro.version>1.7.7</avro.version>
1463 <commons-codec.version>1.10</commons-codec.version>
1464 <!-- pretty outdated -->
1465 <commons-io.version>2.5</commons-io.version>
1466 <commons-lang3.version>3.6</commons-lang3.version>
1467 <commons-math.version>3.6.1</commons-math.version>
1468 <disruptor.version>3.3.6</disruptor.version>
1469 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1470 <collections.version>4.1</collections.version>
1471 <httpclient.version>4.5.3</httpclient.version>
1472 <httpcore.version>4.4.6</httpcore.version>
1473 <metrics-core.version>3.2.1</metrics-core.version>
1474 <jackson.version>2.9.2</jackson.version>
1475 <jaxb-api.version>2.2.12</jaxb-api.version>
1476 <jetty.version>9.3.19.v20170502</jetty.version>
1477 <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version>
1478 <servlet.api.version>3.1.0</servlet.api.version>
1479 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1480 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1481 <jersey.version>2.25.1</jersey.version>
1482 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1483 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1484 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1485 <jruby.version>9.1.13.0</jruby.version>
1486 <junit.version>4.12</junit.version>
1487 <hamcrest.version>1.3</hamcrest.version>
1488 <htrace.version>4.2.0-incubating</htrace.version>
1489 <log4j.version>1.2.17</log4j.version>
1490 <mockito-core.version>2.1.0</mockito-core.version>
1491 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1492 <external.protobuf.version>2.5.0</external.protobuf.version>
1493 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1494 <thrift.path>thrift</thrift.path>
1495 <thrift.version>0.9.3</thrift.version>
1496 <zookeeper.version>3.4.10</zookeeper.version>
1497 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1498 <jline.version>0.9.94</jline.version>
1499 <slf4j.version>1.7.25</slf4j.version>
1500 <clover.version>4.0.3</clover.version>
1501 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1502 <jettison.version>1.3.8</jettison.version>
1503 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1504 <joni.version>2.1.11</joni.version>
1505 <jcodings.version>1.0.18</jcodings.version>
1506 <spy.version>2.12.2</spy.version>
1507 <bouncycastle.version>1.46</bouncycastle.version>
1508 <kerby.version>1.0.1</kerby.version>
1509 <commons-crypto.version>1.0.0</commons-crypto.version>
1510 <curator.version>4.0.0</curator.version>
1511 <!-- Plugin Dependencies -->
1512 <apache.rat.version>0.12</apache.rat.version>
1513 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1514 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1515 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1516 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1517 <checkstyle.version>8.2</checkstyle.version>
1518 <exec.maven.version>1.6.0</exec.maven.version>
1519 <error-prone.version>2.2.0</error-prone.version>
1520 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1521 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1522 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1523 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1524 <maven.antrun.version>1.8</maven.antrun.version>
1525 <maven.bundle.version>3.3.0</maven.bundle.version>
1526 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1527 <maven.compiler.version>3.6.1</maven.compiler.version>
1528 <maven.dependency.version>3.0.1</maven.dependency.version>
1529 <maven.eclipse.version>2.10</maven.eclipse.version>
1530 <maven.install.version>2.5.2</maven.install.version>
1531 <maven.jar.version>3.0.2</maven.jar.version>
1532 <maven.javadoc.version>3.0.0</maven.javadoc.version>
1533 <maven.patch.version>1.2</maven.patch.version>
1534 <maven.scala.version>2.15.2</maven.scala.version>
1535 <maven.shade.version>3.0.0</maven.shade.version>
1536 <maven.site.version>3.4</maven.site.version>
1537 <maven.source.version>3.0.1</maven.source.version>
1538 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1539 <os.maven.version>1.5.0.Final</os.maven.version>
1540 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1541 <scala.maven.version>3.2.2</scala.maven.version>
1542 <scalatest.maven.version>1.0</scalatest.maven.version>
1543 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1544 <wagon.ssh.version>2.12</wagon.ssh.version>
1545 <xml.maven.version>1.0.1</xml.maven.version>
1546 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1547 <!-- General Packaging -->
1548 <package.prefix>/usr</package.prefix>
1549 <package.conf.dir>/etc/hbase</package.conf.dir>
1550 <package.log.dir>/var/log/hbase</package.log.dir>
1551 <package.pid.dir>/var/run/hbase</package.pid.dir>
1552 <package.release>1</package.release>
1553 <final.name>${project.artifactId}-${project.version}</final.name>
1554 <!-- Intraproject jar naming properties -->
1555 <!-- TODO this is pretty ugly, but works for the moment.
1556 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1557 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1558 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1559 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1560 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1561 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1562 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1563 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1564 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1565 <shell-executable>bash</shell-executable>
1566 <surefire.version>2.21.0</surefire.version>
1567 <surefire.provider>surefire-junit47</surefire.provider>
1568 <!-- default: run small & medium, medium with 2 threads -->
1569 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1570 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1571 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1572 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1573 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1574 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1575 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1576 <test.output.tofile>true</test.output.tofile>
1577 <surefire.timeout>900</surefire.timeout>
1578 <test.exclude.pattern></test.exclude.pattern>
1579 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1580 <surefire.Xmx>2800m</surefire.Xmx>
1581 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1582 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1584 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1585 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1586 -Djava.awt.headless=true
1587 </hbase-surefire.argLine>
1588 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1589 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1590 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1591 </hbase-surefire.cygwin-argLine>
1592 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1593 <argLine>${hbase-surefire.argLine}</argLine>
1594 <jacoco.version>0.7.5.201505241946</jacoco.version>
1595 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1596 <enforcer.version>3.0.0-M1</enforcer.version>
1597 <!-- Location of test resources -->
1598 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1599 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1600 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1601 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1602 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1603 <build.id>${maven.build.timestamp}</build.id>
1604 <shell-executable>bash</shell-executable>
1605 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1606 property as of javadoc-plugin 3.0.0 -->
1607 <doclint>none</doclint>
1609 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1610 <dependencyManagement>
1613 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1614 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1615 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1616 implementation of the same, because Hadoop also uses this version
1617 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1618 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1620 <!-- Intra-module dependencies -->
1622 <groupId>org.apache.hbase</groupId>
1623 <artifactId>hbase-annotations</artifactId>
1624 <version>${project.version}</version>
1625 <type>test-jar</type>
1626 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1629 <artifactId>hbase-backup</artifactId>
1630 <groupId>org.apache.hbase</groupId>
1631 <version>${project.version}</version>
1634 <groupId>org.apache.hbase</groupId>
1635 <artifactId>hbase-error-prone</artifactId>
1636 <version>${project.version}</version>
1639 <groupId>org.apache.hbase</groupId>
1640 <artifactId>hbase-common</artifactId>
1641 <version>${project.version}</version>
1644 <groupId>org.apache.hbase</groupId>
1645 <artifactId>hbase-common</artifactId>
1646 <version>${project.version}</version>
1647 <type>test-jar</type>
1651 <groupId>org.apache.hbase</groupId>
1652 <artifactId>hbase-protocol-shaded</artifactId>
1653 <version>${project.version}</version>
1656 <groupId>org.apache.hbase</groupId>
1657 <artifactId>hbase-protocol</artifactId>
1658 <version>${project.version}</version>
1661 <groupId>org.apache.hbase</groupId>
1662 <artifactId>hbase-procedure</artifactId>
1663 <version>${project.version}</version>
1666 <groupId>org.apache.hbase</groupId>
1667 <artifactId>hbase-procedure</artifactId>
1668 <version>${project.version}</version>
1669 <type>test-jar</type>
1672 <groupId>org.apache.hbase</groupId>
1673 <artifactId>hbase-hadoop-compat</artifactId>
1674 <version>${project.version}</version>
1677 <groupId>org.apache.hbase</groupId>
1678 <artifactId>hbase-hadoop-compat</artifactId>
1679 <version>${project.version}</version>
1680 <type>test-jar</type>
1684 <groupId>org.apache.hbase</groupId>
1685 <artifactId>${compat.module}</artifactId>
1686 <version>${project.version}</version>
1689 <groupId>org.apache.hbase</groupId>
1690 <artifactId>${compat.module}</artifactId>
1691 <version>${project.version}</version>
1692 <type>test-jar</type>
1696 <artifactId>hbase-rsgroup</artifactId>
1697 <groupId>org.apache.hbase</groupId>
1698 <version>${project.version}</version>
1701 <artifactId>hbase-rsgroup</artifactId>
1702 <groupId>org.apache.hbase</groupId>
1703 <version>${project.version}</version>
1704 <type>test-jar</type>
1708 <artifactId>hbase-replication</artifactId>
1709 <groupId>org.apache.hbase</groupId>
1710 <version>${project.version}</version>
1713 <artifactId>hbase-http</artifactId>
1714 <groupId>org.apache.hbase</groupId>
1715 <version>${project.version}</version>
1718 <artifactId>hbase-http</artifactId>
1719 <groupId>org.apache.hbase</groupId>
1720 <version>${project.version}</version>
1721 <type>test-jar</type>
1725 <artifactId>hbase-server</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1730 <artifactId>hbase-server</artifactId>
1731 <groupId>org.apache.hbase</groupId>
1732 <version>${project.version}</version>
1733 <type>test-jar</type>
1737 <artifactId>hbase-mapreduce</artifactId>
1738 <groupId>org.apache.hbase</groupId>
1739 <version>${project.version}</version>
1742 <artifactId>hbase-mapreduce</artifactId>
1743 <groupId>org.apache.hbase</groupId>
1744 <version>${project.version}</version>
1745 <type>test-jar</type>
1749 <artifactId>hbase-endpoint</artifactId>
1750 <groupId>org.apache.hbase</groupId>
1751 <version>${project.version}</version>
1754 <artifactId>hbase-shell</artifactId>
1755 <groupId>org.apache.hbase</groupId>
1756 <version>${project.version}</version>
1759 <artifactId>hbase-shell</artifactId>
1760 <groupId>org.apache.hbase</groupId>
1761 <version>${project.version}</version>
1762 <type>test-jar</type>
1766 <artifactId>hbase-thrift</artifactId>
1767 <groupId>org.apache.hbase</groupId>
1768 <version>${project.version}</version>
1771 <artifactId>hbase-thrift</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1774 <type>test-jar</type>
1778 <groupId>org.apache.hbase</groupId>
1779 <artifactId>hbase-testing-util</artifactId>
1780 <version>${project.version}</version>
1784 <artifactId>hbase-examples</artifactId>
1785 <groupId>org.apache.hbase</groupId>
1786 <version>${project.version}</version>
1789 <groupId>org.apache.hbase</groupId>
1790 <artifactId>hbase-external-blockcache</artifactId>
1791 <version>${project.version}</version>
1794 <artifactId>hbase-it</artifactId>
1795 <groupId>org.apache.hbase</groupId>
1796 <version>${project.version}</version>
1797 <type>test-jar</type>
1801 <artifactId>hbase-client</artifactId>
1802 <groupId>org.apache.hbase</groupId>
1803 <version>${project.version}</version>
1806 <artifactId>hbase-metrics-api</artifactId>
1807 <groupId>org.apache.hbase</groupId>
1808 <version>${project.version}</version>
1811 <artifactId>hbase-metrics-api</artifactId>
1812 <groupId>org.apache.hbase</groupId>
1813 <version>${project.version}</version>
1814 <type>test-jar</type>
1818 <artifactId>hbase-metrics</artifactId>
1819 <groupId>org.apache.hbase</groupId>
1820 <version>${project.version}</version>
1823 <artifactId>hbase-metrics</artifactId>
1824 <groupId>org.apache.hbase</groupId>
1825 <version>${project.version}</version>
1826 <type>test-jar</type>
1830 <artifactId>hbase-rest</artifactId>
1831 <groupId>org.apache.hbase</groupId>
1832 <version>${project.version}</version>
1835 <artifactId>hbase-resource-bundle</artifactId>
1836 <groupId>org.apache.hbase</groupId>
1837 <version>${project.version}</version>
1840 <artifactId>hbase-spark</artifactId>
1841 <groupId>org.apache.hbase</groupId>
1842 <version>${project.version}</version>
1845 <artifactId>hbase-spark-it</artifactId>
1846 <groupId>org.apache.hbase</groupId>
1847 <version>${project.version}</version>
1848 <type>test-jar</type>
1852 <artifactId>hbase-zookeeper</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1857 <artifactId>hbase-zookeeper</artifactId>
1858 <groupId>org.apache.hbase</groupId>
1859 <version>${project.version}</version>
1860 <type>test-jar</type>
1864 <groupId>org.apache.hbase</groupId>
1865 <artifactId>hbase-shaded-client</artifactId>
1866 <version>${project.version}</version>
1869 <groupId>org.apache.hbase</groupId>
1870 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1871 <version>${project.version}</version>
1874 <groupId>org.apache.hbase</groupId>
1875 <artifactId>hbase-shaded-mapreduce</artifactId>
1876 <version>${project.version}</version>
1878 <!-- General dependencies -->
1880 <groupId>com.github.stephenc.findbugs</groupId>
1881 <artifactId>findbugs-annotations</artifactId>
1882 <version>${findbugs-annotations}</version>
1884 <!-- General dependencies -->
1886 <groupId>org.codehaus.jettison</groupId>
1887 <artifactId>jettison</artifactId>
1888 <version>${jettison.version}</version>
1891 <groupId>org.slf4j</groupId>
1892 <artifactId>slf4j-log4j12</artifactId>
1893 <version>${slf4j.version}</version>
1896 <groupId>log4j</groupId>
1897 <artifactId>log4j</artifactId>
1898 <version>${log4j.version}</version>
1900 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1902 <groupId>org.apache.avro</groupId>
1903 <artifactId>avro</artifactId>
1904 <version>${avro.version}</version>
1906 <!--This is not used by hbase directly. Used by thrift,
1907 dropwizard and zk.-->
1909 <groupId>org.slf4j</groupId>
1910 <artifactId>slf4j-api</artifactId>
1911 <version>${slf4j.version}</version>
1914 <groupId>io.dropwizard.metrics</groupId>
1915 <artifactId>metrics-core</artifactId>
1916 <version>${metrics-core.version}</version>
1919 <groupId>org.apache.httpcomponents</groupId>
1920 <artifactId>httpclient</artifactId>
1921 <version>${httpclient.version}</version>
1924 <groupId>org.apache.httpcomponents</groupId>
1925 <artifactId>httpcore</artifactId>
1926 <version>${httpcore.version}</version>
1929 <groupId>commons-codec</groupId>
1930 <artifactId>commons-codec</artifactId>
1931 <version>${commons-codec.version}</version>
1934 <groupId>commons-io</groupId>
1935 <artifactId>commons-io</artifactId>
1936 <version>${commons-io.version}</version>
1939 <groupId>org.apache.commons</groupId>
1940 <artifactId>commons-lang3</artifactId>
1941 <version>${commons-lang3.version}</version>
1944 <groupId>org.apache.commons</groupId>
1945 <artifactId>commons-math3</artifactId>
1946 <version>${commons-math.version}</version>
1949 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1952 <groupId>commons-logging</groupId>
1953 <artifactId>commons-logging</artifactId>
1954 <version>1.2</version>
1957 <groupId>org.apache.zookeeper</groupId>
1958 <artifactId>zookeeper</artifactId>
1959 <version>${zookeeper.version}</version>
1962 <groupId>jline</groupId>
1963 <artifactId>jline</artifactId>
1966 <groupId>com.sun.jmx</groupId>
1967 <artifactId>jmxri</artifactId>
1970 <groupId>com.sun.jdmk</groupId>
1971 <artifactId>jmxtools</artifactId>
1974 <groupId>javax.jms</groupId>
1975 <artifactId>jms</artifactId>
1978 <groupId>io.netty</groupId>
1979 <artifactId>netty</artifactId>
1984 <groupId>jline</groupId>
1985 <artifactId>jline</artifactId>
1986 <version>${jline.version}</version>
1989 <groupId>org.apache.thrift</groupId>
1990 <artifactId>libthrift</artifactId>
1991 <version>${thrift.version}</version>
1994 <groupId>org.slf4j</groupId>
1995 <artifactId>slf4j-simple</artifactId>
2000 <groupId>org.jruby</groupId>
2001 <artifactId>jruby-complete</artifactId>
2002 <version>${jruby.version}</version>
2005 <groupId>org.jruby.jcodings</groupId>
2006 <artifactId>jcodings</artifactId>
2007 <version>${jcodings.version}</version>
2010 <groupId>org.jruby.joni</groupId>
2011 <artifactId>joni</artifactId>
2012 <version>${joni.version}</version>
2015 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2016 <artifactId>jackson-jaxrs-json-provider</artifactId>
2017 <version>${jackson.version}</version>
2020 <groupId>com.fasterxml.jackson.core</groupId>
2021 <artifactId>jackson-annotations</artifactId>
2022 <version>${jackson.version}</version>
2025 <groupId>com.fasterxml.jackson.core</groupId>
2026 <artifactId>jackson-core</artifactId>
2027 <version>${jackson.version}</version>
2030 <groupId>com.fasterxml.jackson.core</groupId>
2031 <artifactId>jackson-databind</artifactId>
2032 <version>${jackson.version}</version>
2035 <groupId>org.jamon</groupId>
2036 <artifactId>jamon-runtime</artifactId>
2037 <version>${jamon-runtime.version}</version>
2039 <!-- REST dependencies -->
2041 <groupId>javax.servlet</groupId>
2042 <artifactId>javax.servlet-api</artifactId>
2043 <version>${servlet.api.version}</version>
2046 <groupId>javax.ws.rs</groupId>
2047 <artifactId>javax.ws.rs-api</artifactId>
2048 <version>${wx.rs.api.version}</version>
2051 <groupId>org.eclipse.jetty</groupId>
2052 <artifactId>jetty-server</artifactId>
2053 <version>${jetty.version}</version>
2056 <groupId>org.eclipse.jetty</groupId>
2057 <artifactId>jetty-servlet</artifactId>
2058 <version>${jetty.version}</version>
2061 <groupId>org.eclipse.jetty</groupId>
2062 <artifactId>servlet-api</artifactId>
2067 <groupId>org.eclipse.jetty</groupId>
2068 <artifactId>jetty-security</artifactId>
2069 <version>${jetty.version}</version>
2072 <groupId>org.eclipse.jetty</groupId>
2073 <artifactId>jetty-http</artifactId>
2074 <version>${jetty.version}</version>
2077 <groupId>org.eclipse.jetty</groupId>
2078 <artifactId>jetty-util</artifactId>
2079 <version>${jetty.version}</version>
2082 <groupId>org.eclipse.jetty</groupId>
2083 <artifactId>jetty-io</artifactId>
2084 <version>${jetty.version}</version>
2087 <groupId>org.eclipse.jetty</groupId>
2088 <artifactId>jetty-jsp</artifactId>
2089 <version>${jetty-jsp.version}</version>
2092 <groupId>org.eclipse.jetty</groupId>
2093 <artifactId>jetty-jmx</artifactId>
2094 <version>${jetty.version}</version>
2097 <groupId>org.eclipse.jetty</groupId>
2098 <artifactId>jetty-webapp</artifactId>
2099 <version>${jetty.version}</version>
2102 <groupId>org.eclipse.jetty</groupId>
2103 <artifactId>jetty-util-ajax</artifactId>
2104 <version>${jetty.version}</version>
2107 <groupId>com.google.protobuf</groupId>
2108 <artifactId>protobuf-java</artifactId>
2109 <version>${external.protobuf.version}</version>
2112 <groupId>org.glassfish.jersey.containers</groupId>
2113 <artifactId>jersey-container-servlet-core</artifactId>
2114 <version>${jersey.version}</version>
2117 <groupId>org.glassfish.jersey.core</groupId>
2118 <artifactId>jersey-client</artifactId>
2119 <version>${jersey.version}</version>
2122 <groupId>org.glassfish.jersey.core</groupId>
2123 <artifactId>jersey-server</artifactId>
2124 <version>${jersey.version}</version>
2127 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2128 <groupId>org.glassfish.web</groupId>
2129 <artifactId>javax.servlet.jsp</artifactId>
2130 <version>${glassfish.jsp.version}</version>
2133 <!-- this lib is used by the compiled Jsp from the above JspC -->
2134 <groupId>javax.servlet.jsp</groupId>
2135 <artifactId>javax.servlet.jsp-api</artifactId>
2136 <version>2.3.1</version>
2139 <groupId>org.glassfish</groupId>
2140 <artifactId>javax.el</artifactId>
2141 <version>${glassfish.el.version}</version>
2144 <groupId>javax.xml.bind</groupId>
2145 <artifactId>jaxb-api</artifactId>
2146 <version>${jaxb-api.version}</version>
2149 <groupId>javax.xml.stream</groupId>
2150 <artifactId>stax-api</artifactId>
2155 <groupId>junit</groupId>
2156 <artifactId>junit</artifactId>
2157 <version>${junit.version}</version>
2160 <groupId>org.hamcrest</groupId>
2161 <artifactId>hamcrest-core</artifactId>
2162 <version>${hamcrest.version}</version>
2166 <groupId>org.mockito</groupId>
2167 <artifactId>mockito-core</artifactId>
2168 <version>${mockito-core.version}</version>
2172 <groupId>org.apache.htrace</groupId>
2173 <artifactId>htrace-core4</artifactId>
2174 <version>${htrace.version}</version>
2177 <groupId>com.lmax</groupId>
2178 <artifactId>disruptor</artifactId>
2179 <version>${disruptor.version}</version>
2182 <groupId>net.spy</groupId>
2183 <artifactId>spymemcached</artifactId>
2184 <version>${spy.version}</version>
2185 <optional>true</optional>
2188 <groupId>org.bouncycastle</groupId>
2189 <artifactId>bcprov-jdk16</artifactId>
2190 <version>${bouncycastle.version}</version>
2194 <groupId>org.apache.kerby</groupId>
2195 <artifactId>kerb-core</artifactId>
2196 <version>${kerby.version}</version>
2199 <groupId>org.apache.kerby</groupId>
2200 <artifactId>kerb-client</artifactId>
2201 <version>${kerby.version}</version>
2204 <groupId>org.apache.kerby</groupId>
2205 <artifactId>kerb-simplekdc</artifactId>
2206 <version>${kerby.version}</version>
2209 <groupId>org.apache.commons</groupId>
2210 <artifactId>commons-crypto</artifactId>
2211 <version>${commons-crypto.version}</version>
2214 <groupId>net.java.dev.jna</groupId>
2215 <artifactId>jna</artifactId>
2220 <groupId>org.apache.curator</groupId>
2221 <artifactId>curator-framework</artifactId>
2222 <version>${curator.version}</version>
2225 <groupId>org.apache.zookeeper</groupId>
2226 <artifactId>zookeeper</artifactId>
2231 <groupId>org.apache.curator</groupId>
2232 <artifactId>curator-client</artifactId>
2233 <version>${curator.version}</version>
2236 <groupId>com.google.guava</groupId>
2237 <artifactId>guava</artifactId>
2240 <groupId>org.apache.zookeeper</groupId>
2241 <artifactId>zookeeper</artifactId>
2246 <groupId>org.apache.curator</groupId>
2247 <artifactId>curator-recipes</artifactId>
2248 <version>${curator.version}</version>
2251 <groupId>com.google.guava</groupId>
2252 <artifactId>guava</artifactId>
2255 <groupId>org.apache.zookeeper</groupId>
2256 <artifactId>zookeeper</artifactId>
2261 <groupId>org.apache.yetus</groupId>
2262 <artifactId>audience-annotations</artifactId>
2263 <version>${audience-annotations.version}</version>
2266 <groupId>org.apache.hbase.thirdparty</groupId>
2267 <artifactId>hbase-shaded-miscellaneous</artifactId>
2268 <version>${hbase-thirdparty.version}</version>
2271 <groupId>org.apache.hbase.thirdparty</groupId>
2272 <artifactId>hbase-shaded-netty</artifactId>
2273 <version>${hbase-thirdparty.version}</version>
2276 <groupId>org.apache.hbase.thirdparty</groupId>
2277 <artifactId>hbase-shaded-protobuf</artifactId>
2278 <version>${hbase-thirdparty.version}</version>
2281 </dependencyManagement>
2283 <!--REMOVE THIS. HERE TEMPORARILY.
2284 Implication is that every module needs junit which is not so.
2285 Cannot undo though because build runs test on each module and
2286 it fails if no junit. TODO. -->
2288 <groupId>junit</groupId>
2289 <artifactId>junit</artifactId>
2294 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2299 <id>apache.releases.https</id>
2300 <username>hbase_committer</username>
2301 <password>********</password>
2305 <id>apache.snapshots.https</id>
2306 <username>hbase_committer</username>
2307 <password>********</password>
2315 $ mvn -s /my/path/settings.xml deploy
2323 <name>!skip-rsgroup</name>
2327 <module>hbase-rsgroup</module>
2331 <id>build-with-jdk8</id>
2339 <groupId>org.codehaus.mojo</groupId>
2340 <artifactId>findbugs-maven-plugin</artifactId>
2341 <version>3.0.0</version>
2342 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2344 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2345 <findbugsXmlOutput>true</findbugsXmlOutput>
2346 <xmlOutput>true</xmlOutput>
2347 <effort>Max</effort>
2351 <groupId>com.github.spotbugs</groupId>
2352 <artifactId>spotbugs</artifactId>
2353 <version>${spotbugs.version}</version>
2361 <!-- profile activated by the Jenkins patch testing job -->
2363 <id>jenkins.patch</id>
2365 <activeByDefault>false</activeByDefault>
2367 <name>HBasePatchProcess</name>
2371 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2376 <groupId>org.apache.maven.plugins</groupId>
2377 <artifactId>maven-antrun-plugin</artifactId>
2378 <inherited>false</inherited>
2381 <phase>validate</phase>
2387 <echo>Maven Execution Environment</echo>
2388 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2400 <activeByDefault>false</activeByDefault>
2405 <groupId>org.jacoco</groupId>
2406 <artifactId>jacoco-maven-plugin</artifactId>
2407 <version>${jacoco.version}</version>
2410 <id>prepare-agent</id>
2412 <goal>prepare-agent</goal>
2417 <phase>prepare-package</phase>
2424 <systemPropertyVariables>
2425 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2426 </systemPropertyVariables>
2428 <exclude>**/generated/**/*.class</exclude>
2438 <activeByDefault>false</activeByDefault>
2440 <family>Linux</family>
2444 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2451 <family>Mac</family>
2455 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2462 <family>Windows</family>
2466 <build.platform>cygwin</build.platform>
2467 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2470 <!-- this profile should be activated for release builds -->
2476 <groupId>org.apache.rat</groupId>
2477 <artifactId>apache-rat-plugin</artifactId>
2480 <phase>package</phase>
2488 <groupId>org.apache.maven.plugins</groupId>
2489 <artifactId>maven-enforcer-plugin</artifactId>
2490 <version>${enforcer.version}</version>
2493 <enforceBytecodeVersion>
2494 <maxJdkVersion>${compileSource}</maxJdkVersion>
2495 <message>HBase has unsupported dependencies.
2496 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2497 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2498 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2499 Non-release builds can temporarily build with a newer JDK version by setting the
2500 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2502 </enforceBytecodeVersion>
2509 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2510 <!-- Submodules that need hadoop dependencies should declare
2511 profiles with activation properties matching the profile here.
2512 Generally, it should be sufficient to copy the first
2513 few lines of the profile you want to match. -->
2514 <!-- profile for building against Hadoop 2.0.x
2515 This is the default.
2521 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2522 <!--h2--><name>!hadoop.profile</name>
2526 <module>hbase-hadoop2-compat</module>
2529 <hadoop.version>${hadoop-two.version}</hadoop.version>
2530 <compat.module>hbase-hadoop2-compat</compat.module>
2531 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2532 <!--This property is for hadoops netty. HBase netty
2533 comes in via hbase-thirdparty hbase-shaded-netty-->
2534 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2536 <dependencyManagement>
2539 <groupId>org.apache.hadoop</groupId>
2540 <artifactId>hadoop-mapreduce-client-core</artifactId>
2541 <version>${hadoop-two.version}</version>
2544 <groupId>io.netty</groupId>
2545 <artifactId>netty</artifactId>
2548 <groupId>javax.servlet</groupId>
2549 <artifactId>servlet-api</artifactId>
2552 <groupId>javax.inject</groupId>
2553 <artifactId>javax.inject</artifactId>
2556 <groupId>org.codehaus.jackson</groupId>
2557 <artifactId>jackson-core-asl</artifactId>
2560 <groupId>org.codehaus.jackson</groupId>
2561 <artifactId>jackson-mapper-asl</artifactId>
2566 <groupId>org.apache.hadoop</groupId>
2567 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2568 <version>${hadoop-two.version}</version>
2571 <groupId>io.netty</groupId>
2572 <artifactId>netty</artifactId>
2575 <groupId>javax.servlet</groupId>
2576 <artifactId>servlet-api</artifactId>
2581 <groupId>org.apache.hadoop</groupId>
2582 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2583 <version>${hadoop-two.version}</version>
2584 <type>test-jar</type>
2588 <groupId>io.netty</groupId>
2589 <artifactId>netty</artifactId>
2592 <groupId>javax.servlet</groupId>
2593 <artifactId>servlet-api</artifactId>
2598 <groupId>org.apache.hadoop</groupId>
2599 <artifactId>hadoop-hdfs</artifactId>
2600 <version>${hadoop-two.version}</version>
2603 <groupId>javax.servlet.jsp</groupId>
2604 <artifactId>jsp-api</artifactId>
2607 <groupId>javax.servlet</groupId>
2608 <artifactId>servlet-api</artifactId>
2611 <groupId>io.netty</groupId>
2612 <artifactId>netty</artifactId>
2615 <groupId>stax</groupId>
2616 <artifactId>stax-api</artifactId>
2619 <groupId>xerces</groupId>
2620 <artifactId>xercesImpl</artifactId>
2623 <groupId>org.codehaus.jackson</groupId>
2624 <artifactId>jackson-core-asl</artifactId>
2627 <groupId>org.codehaus.jackson</groupId>
2628 <artifactId>jackson-mapper-asl</artifactId>
2631 <groupId>com.google.guava</groupId>
2632 <artifactId>guava</artifactId>
2637 <groupId>org.apache.hadoop</groupId>
2638 <artifactId>hadoop-hdfs</artifactId>
2639 <version>${hadoop-two.version}</version>
2640 <type>test-jar</type>
2644 <groupId>javax.servlet.jsp</groupId>
2645 <artifactId>jsp-api</artifactId>
2648 <groupId>javax.servlet</groupId>
2649 <artifactId>servlet-api</artifactId>
2652 <groupId>io.netty</groupId>
2653 <artifactId>netty</artifactId>
2656 <groupId>stax</groupId>
2657 <artifactId>stax-api</artifactId>
2660 <groupId>xerces</groupId>
2661 <artifactId>xercesImpl</artifactId>
2664 <groupId>org.codehaus.jackson</groupId>
2665 <artifactId>jackson-core-asl</artifactId>
2668 <groupId>org.codehaus.jackson</groupId>
2669 <artifactId>jackson-mapper-asl</artifactId>
2672 <groupId>com.google.guava</groupId>
2673 <artifactId>guava</artifactId>
2678 <groupId>org.apache.hadoop</groupId>
2679 <artifactId>hadoop-auth</artifactId>
2680 <version>${hadoop-two.version}</version>
2683 <groupId>org.apache.hadoop</groupId>
2684 <artifactId>hadoop-common</artifactId>
2685 <version>${hadoop-two.version}</version>
2688 <groupId>commons-beanutils</groupId>
2689 <artifactId>commons-beanutils</artifactId>
2692 <groupId>javax.servlet.jsp</groupId>
2693 <artifactId>jsp-api</artifactId>
2696 <groupId>javax.servlet</groupId>
2697 <artifactId>servlet-api</artifactId>
2700 <groupId>stax</groupId>
2701 <artifactId>stax-api</artifactId>
2704 <groupId>io.netty</groupId>
2705 <artifactId>netty</artifactId>
2708 <groupId>com.google.code.findbugs</groupId>
2709 <artifactId>jsr305</artifactId>
2712 <groupId>junit</groupId>
2713 <artifactId>junit</artifactId>
2716 <groupId>org.codehaus.jackson</groupId>
2717 <artifactId>jackson-core-asl</artifactId>
2720 <groupId>org.codehaus.jackson</groupId>
2721 <artifactId>jackson-mapper-asl</artifactId>
2726 <groupId>org.apache.hadoop</groupId>
2727 <artifactId>hadoop-client</artifactId>
2728 <version>${hadoop-two.version}</version>
2730 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2731 Where do we actually need it? -->
2733 <groupId>org.apache.hadoop</groupId>
2734 <artifactId>hadoop-minicluster</artifactId>
2735 <version>${hadoop-two.version}</version>
2738 <groupId>commons-httpclient</groupId>
2739 <artifactId>commons-httpclient</artifactId>
2742 <groupId>javax.servlet.jsp</groupId>
2743 <artifactId>jsp-api</artifactId>
2746 <groupId>javax.servlet</groupId>
2747 <artifactId>servlet-api</artifactId>
2750 <groupId>stax</groupId>
2751 <artifactId>stax-api</artifactId>
2754 <groupId>io.netty</groupId>
2755 <artifactId>netty</artifactId>
2758 <groupId>com.google.code.findbugs</groupId>
2759 <artifactId>jsr305</artifactId>
2764 <groupId>org.apache.hadoop</groupId>
2765 <artifactId>hadoop-minikdc</artifactId>
2766 <version>${hadoop-two.version}</version>
2770 </dependencyManagement>
2773 profile for building against Hadoop 3.0.0. Activate using:
2774 mvn -Dhadoop.profile=3.0
2780 <name>hadoop.profile</name>
2785 <!--For now, use hadoop2 compat module-->
2786 <module>hbase-hadoop2-compat</module>
2789 <hadoop.version>${hadoop-three.version}</hadoop.version>
2790 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2791 <compat.module>hbase-hadoop2-compat</compat.module>
2792 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2793 <!--This property is for hadoops netty. HBase netty
2794 comes in via hbase-thirdparty hbase-shaded-netty-->
2795 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2797 <dependencyManagement>
2800 <groupId>org.apache.hadoop</groupId>
2801 <artifactId>hadoop-mapreduce-client-core</artifactId>
2802 <version>${hadoop-three.version}</version>
2805 <groupId>io.netty</groupId>
2806 <artifactId>netty</artifactId>
2809 <groupId>javax.inject</groupId>
2810 <artifactId>javax.inject</artifactId>
2813 <groupId>org.codehaus.jackson</groupId>
2814 <artifactId>jackson-core-asl</artifactId>
2817 <groupId>org.codehaus.jackson</groupId>
2818 <artifactId>jackson-mapper-asl</artifactId>
2821 <groupId>com.google.guava</groupId>
2822 <artifactId>guava</artifactId>
2827 <groupId>org.apache.hadoop</groupId>
2828 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2829 <version>${hadoop-three.version}</version>
2832 <groupId>io.netty</groupId>
2833 <artifactId>netty</artifactId>
2838 <groupId>org.apache.hadoop</groupId>
2839 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2840 <version>${hadoop-three.version}</version>
2841 <type>test-jar</type>
2845 <groupId>io.netty</groupId>
2846 <artifactId>netty</artifactId>
2851 <groupId>org.apache.hadoop</groupId>
2852 <artifactId>hadoop-hdfs</artifactId>
2853 <version>${hadoop-three.version}</version>
2856 <groupId>com.sun.jersey</groupId>
2857 <artifactId>jersey-core</artifactId>
2860 <groupId>com.sun.jersey</groupId>
2861 <artifactId>jersey-server</artifactId>
2864 <groupId>javax.servlet.jsp</groupId>
2865 <artifactId>jsp-api</artifactId>
2868 <groupId>javax.servlet</groupId>
2869 <artifactId>servlet-api</artifactId>
2872 <groupId>stax</groupId>
2873 <artifactId>stax-api</artifactId>
2876 <groupId>xerces</groupId>
2877 <artifactId>xercesImpl</artifactId>
2880 <groupId>org.codehaus.jackson</groupId>
2881 <artifactId>jackson-core-asl</artifactId>
2884 <groupId>org.codehaus.jackson</groupId>
2885 <artifactId>jackson-mapper-asl</artifactId>
2888 <groupId>com.google.guava</groupId>
2889 <artifactId>guava</artifactId>
2894 <groupId>org.apache.hadoop</groupId>
2895 <artifactId>hadoop-hdfs</artifactId>
2896 <version>${hadoop-three.version}</version>
2897 <type>test-jar</type>
2901 <groupId>javax.servlet.jsp</groupId>
2902 <artifactId>jsp-api</artifactId>
2905 <groupId>javax.servlet</groupId>
2906 <artifactId>servlet-api</artifactId>
2909 <groupId>stax</groupId>
2910 <artifactId>stax-api</artifactId>
2913 <groupId>xerces</groupId>
2914 <artifactId>xercesImpl</artifactId>
2917 <groupId>org.codehaus.jackson</groupId>
2918 <artifactId>jackson-core-asl</artifactId>
2921 <groupId>org.codehaus.jackson</groupId>
2922 <artifactId>jackson-mapper-asl</artifactId>
2925 <groupId>com.google.guava</groupId>
2926 <artifactId>guava</artifactId>
2929 <groupId>com.sun.jersey</groupId>
2930 <artifactId>jersey-core</artifactId>
2935 <groupId>org.apache.hadoop</groupId>
2936 <artifactId>hadoop-hdfs</artifactId>
2937 <version>${hadoop-three.version}</version>
2938 <type>test-jar</type>
2939 <classifier>tests</classifier>
2943 <groupId>com.sun.jersey</groupId>
2944 <artifactId>jersey-core</artifactId>
2949 <groupId>org.apache.hadoop</groupId>
2950 <artifactId>hadoop-auth</artifactId>
2951 <version>${hadoop-three.version}</version>
2954 <groupId>com.google.guava</groupId>
2955 <artifactId>guava</artifactId>
2960 <groupId>org.apache.hadoop</groupId>
2961 <artifactId>hadoop-common</artifactId>
2962 <version>${hadoop-three.version}</version>
2965 <groupId>com.sun.jersey</groupId>
2966 <artifactId>jersey-core</artifactId>
2969 <groupId>com.sun.jersey</groupId>
2970 <artifactId>jersey-json</artifactId>
2973 <groupId>com.sun.jersey</groupId>
2974 <artifactId>jersey-servlet</artifactId>
2977 <groupId>com.sun.jersey</groupId>
2978 <artifactId>jersey-server</artifactId>
2981 <groupId>javax.servlet.jsp</groupId>
2982 <artifactId>jsp-api</artifactId>
2985 <groupId>javax.servlet</groupId>
2986 <artifactId>javax.servlet-api</artifactId>
2989 <groupId>stax</groupId>
2990 <artifactId>stax-api</artifactId>
2993 <groupId>io.netty</groupId>
2994 <artifactId>netty</artifactId>
2997 <groupId>com.google.code.findbugs</groupId>
2998 <artifactId>jsr305</artifactId>
3001 <groupId>junit</groupId>
3002 <artifactId>junit</artifactId>
3005 <groupId>org.codehause.jackson</groupId>
3006 <artifactId>jackson-core-asl</artifactId>
3009 <groupId>org.codehause.jackson</groupId>
3010 <artifactId>jackson-mapper-asl</artifactId>
3015 <groupId>org.apache.hadoop</groupId>
3016 <artifactId>hadoop-common</artifactId>
3017 <type>test-jar</type>
3018 <classifier>tests</classifier>
3019 <version>${hadoop-three.version}</version>
3022 <groupId>com.sun.jersey</groupId>
3023 <artifactId>jersey-core</artifactId>
3028 <groupId>org.apache.hadoop</groupId>
3029 <artifactId>hadoop-client</artifactId>
3030 <version>${hadoop-three.version}</version>
3033 <groupId>org.apache.hadoop</groupId>
3034 <artifactId>hadoop-annotations</artifactId>
3035 <version>${hadoop-three.version}</version>
3037 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3038 Where do we actually need it? -->
3040 <groupId>org.apache.hadoop</groupId>
3041 <artifactId>hadoop-minicluster</artifactId>
3042 <version>${hadoop-three.version}</version>
3045 <groupId>commons-httpclient</groupId>
3046 <artifactId>commons-httpclient</artifactId>
3049 <groupId>javax.servlet.jsp</groupId>
3050 <artifactId>jsp-api</artifactId>
3053 <groupId>javax.servlet</groupId>
3054 <artifactId>servlet-api</artifactId>
3057 <groupId>stax</groupId>
3058 <artifactId>stax-api</artifactId>
3061 <groupId>io.netty</groupId>
3062 <artifactId>netty</artifactId>
3065 <groupId>com.google.code.findbugs</groupId>
3066 <artifactId>jsr305</artifactId>
3071 <groupId>org.apache.hadoop</groupId>
3072 <artifactId>hadoop-minikdc</artifactId>
3073 <version>${hadoop-three.version}</version>
3077 </dependencyManagement>
3080 <!-- profiles for the tests
3081 See as well the properties of the project for the values
3082 when no profile is active. -->
3084 <!-- Use it to launch all tests in the same JVM -->
3085 <id>singleJVMTests</id>
3087 <activeByDefault>false</activeByDefault>
3090 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3091 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3092 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3093 <surefire.firstPartGroups/>
3097 <!-- Use it to launch small tests only -->
3098 <id>runSmallTests</id>
3100 <activeByDefault>false</activeByDefault>
3103 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3104 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3105 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3106 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3107 <surefire.secondPartGroups/>
3111 <!-- Use it to launch medium tests only -->
3112 <id>runMediumTests</id>
3114 <activeByDefault>false</activeByDefault>
3117 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3118 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3119 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3120 <surefire.secondPartGroups/>
3124 <!-- Use it to launch large tests only -->
3125 <id>runLargeTests</id>
3127 <activeByDefault>false</activeByDefault>
3130 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3131 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3132 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3133 <surefire.secondPartGroups/>
3137 <!-- Use it to launch small & medium tests -->
3138 <id>runDevTests</id>
3140 <activeByDefault>false</activeByDefault>
3143 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3144 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3145 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3146 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3147 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3151 <!-- Use it to launch all tests -->
3152 <id>runAllTests</id>
3154 <activeByDefault>false</activeByDefault>
3157 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3158 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3159 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3160 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3161 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3162 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3166 <id>runMiscTests</id>
3168 <activeByDefault>false</activeByDefault>
3171 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3172 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3173 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3174 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3175 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3176 </surefire.firstPartGroups>
3177 <surefire.secondPartGroups></surefire.secondPartGroups>
3181 <id>runCoprocessorTests</id>
3183 <activeByDefault>false</activeByDefault>
3186 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3187 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3188 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3189 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3190 <surefire.firstPartGroups>
3191 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3192 </surefire.firstPartGroups>
3193 <surefire.secondPartGroups></surefire.secondPartGroups>
3197 <id>runClientTests</id>
3199 <activeByDefault>false</activeByDefault>
3202 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3203 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3204 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3205 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3206 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3207 </surefire.firstPartGroups>
3208 <surefire.secondPartGroups></surefire.secondPartGroups>
3212 <id>runMasterTests</id>
3214 <activeByDefault>false</activeByDefault>
3217 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3218 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3219 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3220 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3221 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3222 </surefire.firstPartGroups>
3223 <surefire.secondPartGroups></surefire.secondPartGroups>
3227 <id>runMapredTests</id>
3229 <activeByDefault>false</activeByDefault>
3232 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3233 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3234 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3235 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3236 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3237 </surefire.firstPartGroups>
3238 <surefire.secondPartGroups></surefire.secondPartGroups>
3242 <id>runMapreduceTests</id>
3244 <activeByDefault>false</activeByDefault>
3247 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3248 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3249 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3250 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3251 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3252 </surefire.firstPartGroups>
3253 <surefire.secondPartGroups></surefire.secondPartGroups>
3257 <id>runRegionServerTests</id>
3259 <activeByDefault>false</activeByDefault>
3262 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3263 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3264 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3265 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3266 <surefire.firstPartGroups>
3267 org.apache.hadoop.hbase.testclassification.RegionServerTests
3268 </surefire.firstPartGroups>
3269 <surefire.secondPartGroups></surefire.secondPartGroups>
3273 <id>runVerySlowMapReduceTests</id>
3275 <activeByDefault>false</activeByDefault>
3278 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3279 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3280 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3281 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3282 <surefire.firstPartGroups>
3283 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3284 </surefire.firstPartGroups>
3285 <surefire.secondPartGroups></surefire.secondPartGroups>
3290 <id>runVerySlowRegionServerTests</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.VerySlowRegionServerTests
3301 </surefire.firstPartGroups>
3302 <surefire.secondPartGroups></surefire.secondPartGroups>
3307 <id>runFilterTests</id>
3309 <activeByDefault>false</activeByDefault>
3312 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3313 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3314 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3315 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3316 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3317 </surefire.firstPartGroups>
3318 <surefire.secondPartGroups></surefire.secondPartGroups>
3324 <activeByDefault>false</activeByDefault>
3327 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3328 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3329 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3330 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3331 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3332 </surefire.firstPartGroups>
3333 <surefire.secondPartGroups></surefire.secondPartGroups>
3337 <id>runRestTests</id>
3339 <activeByDefault>false</activeByDefault>
3342 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3343 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3344 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3345 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3346 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3347 </surefire.firstPartGroups>
3348 <surefire.secondPartGroups></surefire.secondPartGroups>
3352 <id>runRPCTests</id>
3354 <activeByDefault>false</activeByDefault>
3357 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3358 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3359 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3360 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3361 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3362 </surefire.firstPartGroups>
3363 <surefire.secondPartGroups></surefire.secondPartGroups>
3367 <id>runReplicationTests</id>
3369 <activeByDefault>false</activeByDefault>
3372 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3373 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3374 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3375 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3376 <surefire.firstPartGroups>
3377 org.apache.hadoop.hbase.testclassification.ReplicationTests
3378 </surefire.firstPartGroups>
3379 <surefire.secondPartGroups></surefire.secondPartGroups>
3383 <id>runSecurityTests</id>
3385 <activeByDefault>false</activeByDefault>
3388 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3389 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3390 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3391 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3392 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3393 </surefire.firstPartGroups>
3394 <surefire.secondPartGroups></surefire.secondPartGroups>
3398 <id>runFlakeyTests</id>
3400 <activeByDefault>false</activeByDefault>
3403 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3404 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3405 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3406 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3407 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3408 </surefire.firstPartGroups>
3409 <surefire.secondPartGroups></surefire.secondPartGroups>
3415 <activeByDefault>false</activeByDefault>
3418 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3419 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3420 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3421 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3422 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3423 </surefire.firstPartGroups>
3424 <surefire.secondPartGroups></surefire.secondPartGroups>
3429 <!-- Use it to launch tests locally-->
3437 <surefire.provider>surefire-junit4</surefire.provider>
3438 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3439 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3440 <surefire.firstPartGroups/>
3443 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3444 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3445 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3446 The report will be generated under target/site/clover/index.html when you run
3447 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3451 <activeByDefault>false</activeByDefault>
3457 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3461 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3462 our instrumented classes for the doclet will fail
3465 <groupId>org.apache.maven.plugins</groupId>
3466 <artifactId>maven-javadoc-plugin</artifactId>
3469 <groupId>com.atlassian.maven.plugins</groupId>
3470 <artifactId>maven-clover2-plugin</artifactId>
3471 <version>${clover.version}</version>
3476 <groupId>com.atlassian.maven.plugins</groupId>
3477 <artifactId>maven-clover2-plugin</artifactId>
3478 <version>${clover.version}</version>
3480 <includesAllSourceRoots>true</includesAllSourceRoots>
3481 <includesTestSourceRoots>true</includesTestSourceRoots>
3482 <targetPercentage>50%</targetPercentage>
3483 <generateHtml>true</generateHtml>
3484 <generateXml>true</generateXml>
3486 <exclude>**/generated/**</exclude>
3491 <id>clover-setup</id>
3492 <phase>process-sources</phase>
3510 <!-- Used by the website generation script on jenkins to
3511 do a local install of the jars we need to run a normal
3512 site build w/o forking.
3514 <id>site-install-step</id>
3516 <skipTests>true</skipTests>
3517 <maven.javadoc.skip>true</maven.javadoc.skip>
3518 <enforcer.skip>true</enforcer.skip>
3519 <checkstyle.skip>true</checkstyle.skip>
3520 <findbugs.skip>true</findbugs.skip>
3521 <warbucks.skip>true</warbucks.skip>
3525 <!-- Used by the website generation script on jenkins to
3526 mitigate the impact of unneeded build forks while building
3529 <id>site-build-step</id>
3531 <skipTests>true</skipTests>
3532 <enforcer.skip>true</enforcer.skip>
3533 <maven.main.skip>true</maven.main.skip>
3534 <maven.test.skip>true</maven.test.skip>
3535 <warbucks.skip>true</warbucks.skip>
3536 <protoc.skip>true</protoc.skip>
3537 <remoteresources.skip>true</remoteresources.skip>
3538 <!-- Because the scala-maven-plugin has no skip configuration option
3539 this configuration setting here won't actually do anything.
3541 However, if you pass it on the command line it'll activate
3542 a profile in hbase-spark/pom.xml that will skip things.
3544 <scala.skip>true</scala.skip>
3548 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3552 <artifactId>maven-project-info-reports-plugin</artifactId>
3553 <version>2.9</version>
3557 <report>cim</report>
3558 <report>dependencies</report>
3559 <report>dependency-convergence</report>
3560 <report>dependency-info</report>
3561 <report>dependency-management</report>
3562 <report>index</report>
3563 <report>issue-tracking</report>
3564 <report>license</report>
3565 <report>mailing-list</report>
3566 <report>plugin-management</report>
3567 <report>plugins</report>
3568 <report>project-team</report>
3569 <report>scm</report>
3570 <report>summary</report>
3574 <!-- see src/site/site.xml for selected reports -->
3576 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3581 <groupId>org.apache.maven.plugins</groupId>
3582 <artifactId>maven-javadoc-plugin</artifactId>
3583 <version>${maven.javadoc.version}</version>
3589 <report>aggregate</report>
3592 <destDir>devapidocs</destDir>
3593 <name>Developer API</name>
3594 <description>The full HBase API, including private and unstable APIs</description>
3595 <sourceFileExcludes>
3596 <exclude>**/generated/*</exclude>
3597 <exclude>**/protobuf/*</exclude>
3598 <exclude>**/*.scala</exclude>
3599 </sourceFileExcludes>
3600 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3601 <show>private</show> <!-- (shows all classes and members) -->
3603 <linksource>true</linksource>
3604 <sourcetab>2</sourcetab>
3605 <validateLinks>true</validateLinks>
3606 <fixClassComment>true</fixClassComment>
3607 <fixFieldComment>true</fixFieldComment>
3608 <fixMethodComment>true</fixMethodComment>
3609 <fixTags>all</fixTags>
3610 <notimestamp>true</notimestamp>
3611 <!-- Pass some options straight to the javadoc executable since it is easier -->
3612 <additionalJOption>-J-Xmx2G</additionalJOption>
3613 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3614 <additionalDependencies>
3615 <additionalDependency>
3616 <groupId>org.mockito</groupId>
3617 <artifactId>mockito-core</artifactId>
3618 <version>${mockito-core.version}</version>
3619 </additionalDependency>
3620 <additionalDependency>
3621 <groupId>org.hamcrest</groupId>
3622 <artifactId>hamcrest-core</artifactId>
3623 <version>${hamcrest.version}</version>
3624 </additionalDependency>
3625 </additionalDependencies>
3626 <inherited>false</inherited>
3632 <report>test-aggregate</report>
3635 <destDir>testdevapidocs</destDir>
3636 <name>Developer API</name>
3637 <description>The full HBase API test code, including private and unstable APIs</description>
3638 <sourceFileExcludes>
3639 <exclude>**/generated/*</exclude>
3640 <exclude>**/protobuf/*</exclude>
3641 <exclude>**/*.scala</exclude>
3642 </sourceFileExcludes>
3643 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3644 <show>private</show> <!-- (shows all classes and members) -->
3646 <linksource>true</linksource>
3647 <sourcetab>2</sourcetab>
3648 <validateLinks>true</validateLinks>
3649 <fixClassComment>true</fixClassComment>
3650 <fixFieldComment>true</fixFieldComment>
3651 <fixMethodComment>true</fixMethodComment>
3652 <fixTags>all</fixTags>
3653 <notimestamp>true</notimestamp>
3654 <!-- Pass some options straight to the javadoc executable since it is easier -->
3655 <additionalJOption>-J-Xmx2G</additionalJOption>
3656 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3657 <additionalDependencies>
3658 <additionalDependency>
3659 <groupId>org.mockito</groupId>
3660 <artifactId>mockito-core</artifactId>
3661 <version>${mockito-core.version}</version>
3662 </additionalDependency>
3663 <additionalDependency>
3664 <groupId>org.hamcrest</groupId>
3665 <artifactId>hamcrest-core</artifactId>
3666 <version>${hamcrest.version}</version>
3667 </additionalDependency>
3668 </additionalDependencies>
3669 <inherited>false</inherited>
3677 <report>aggregate</report>
3681 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3684 <groupId>org.apache.yetus</groupId>
3685 <artifactId>audience-annotations</artifactId>
3686 <version>${audience-annotations.version}</version>
3688 <useStandardDocletOptions>true</useStandardDocletOptions>
3689 <destDir>apidocs</destDir>
3690 <name>User API</name>
3691 <description>The HBase Application Programmer's API</description>
3692 <excludePackageNames>
3693 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*
3694 </excludePackageNames>
3695 <!-- switch on dependency-driven aggregation -->
3696 <includeDependencySources>false</includeDependencySources>
3697 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3698 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3700 <linksource>true</linksource>
3701 <sourcetab>2</sourcetab>
3702 <validateLinks>true</validateLinks>
3703 <fixClassComment>true</fixClassComment>
3704 <fixFieldComment>true</fixFieldComment>
3705 <fixMethodComment>true</fixMethodComment>
3706 <fixTags>all</fixTags>
3707 <notimestamp>true</notimestamp>
3708 <!-- Pass some options straight to the javadoc executable since it is easier -->
3709 <additionalJOption>-J-Xmx2G</additionalJOption>
3710 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3711 <additionalDependencies>
3712 <additionalDependency>
3713 <groupId>org.mockito</groupId>
3714 <artifactId>mockito-core</artifactId>
3715 <version>${mockito-core.version}</version>
3716 </additionalDependency>
3717 <additionalDependency>
3718 <groupId>org.hamcrest</groupId>
3719 <artifactId>hamcrest-core</artifactId>
3720 <version>${hamcrest.version}</version>
3721 </additionalDependency>
3722 </additionalDependencies>
3723 <inherited>false</inherited>
3726 <!-- User Test API -->
3728 <id>testuserapi</id>
3730 <report>test-aggregate</report>
3734 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3737 <groupId>org.apache.yetus</groupId>
3738 <artifactId>audience-annotations</artifactId>
3739 <version>${audience-annotations.version}</version>
3741 <useStandardDocletOptions>true</useStandardDocletOptions>
3742 <destDir>testapidocs</destDir>
3743 <name>User API</name>
3744 <description>The HBase Application Programmer's API</description>
3745 <excludePackageNames>
3746 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*
3747 </excludePackageNames>
3748 <!-- switch on dependency-driven aggregation -->
3749 <includeDependencySources>false</includeDependencySources>
3750 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3751 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3753 <linksource>true</linksource>
3754 <sourcetab>2</sourcetab>
3755 <validateLinks>true</validateLinks>
3756 <fixClassComment>true</fixClassComment>
3757 <fixFieldComment>true</fixFieldComment>
3758 <fixMethodComment>true</fixMethodComment>
3759 <fixTags>all</fixTags>
3760 <notimestamp>true</notimestamp>
3761 <!-- Pass some options straight to the javadoc executable since it is easier -->
3762 <additionalJOption>-J-Xmx2G</additionalJOption>
3763 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3764 <additionalDependencies>
3765 <additionalDependency>
3766 <groupId>org.mockito</groupId>
3767 <artifactId>mockito-core</artifactId>
3768 <version>${mockito-core.version}</version>
3769 </additionalDependency>
3770 <additionalDependency>
3771 <groupId>org.hamcrest</groupId>
3772 <artifactId>hamcrest-core</artifactId>
3773 <version>${hamcrest.version}</version>
3774 </additionalDependency>
3775 </additionalDependencies>
3776 <inherited>false</inherited>
3783 <groupId>org.apache.maven.plugins</groupId>
3784 <artifactId>maven-checkstyle-plugin</artifactId>
3785 <version>${maven.checkstyle.version}</version>
3787 <excludes>target/**</excludes>
3792 <groupId>org.scala-tools</groupId>
3793 <artifactId>maven-scala-plugin</artifactId>
3794 <version>2.15.2</version>
3798 <distributionManagement>
3800 <id>hbase.apache.org</id>
3801 <name>HBase Website at hbase.apache.org</name>
3802 <!-- On why this is the tmp dir and not hbase.apache.org, see
3803 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3805 <url>file:///tmp</url>
3807 </distributionManagement>
3810 <id>project.local</id>
3811 <name>project</name>
3812 <url>file:${project.basedir}/src/site/resources/repo</url>