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.7</hadoop-two.version>
1449 <hadoop-three.version>3.0.3</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 <servlet.api.version>3.1.0</servlet.api.version>
1478 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1479 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1480 <jersey.version>2.25.1</jersey.version>
1481 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1482 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1483 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1484 <jruby.version>9.1.13.0</jruby.version>
1485 <junit.version>4.12</junit.version>
1486 <hamcrest.version>1.3</hamcrest.version>
1487 <htrace.version>4.2.0-incubating</htrace.version>
1488 <log4j.version>1.2.17</log4j.version>
1489 <mockito-core.version>2.1.0</mockito-core.version>
1490 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1491 <external.protobuf.version>2.5.0</external.protobuf.version>
1492 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1493 <thrift.path>thrift</thrift.path>
1494 <thrift.version>0.9.3</thrift.version>
1495 <zookeeper.version>3.4.10</zookeeper.version>
1496 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1497 <jline.version>0.9.94</jline.version>
1498 <slf4j.version>1.7.25</slf4j.version>
1499 <clover.version>4.0.3</clover.version>
1500 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1501 <jettison.version>1.3.8</jettison.version>
1502 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1503 <joni.version>2.1.11</joni.version>
1504 <jcodings.version>1.0.18</jcodings.version>
1505 <spy.version>2.12.2</spy.version>
1506 <bouncycastle.version>1.46</bouncycastle.version>
1507 <kerby.version>1.0.1</kerby.version>
1508 <commons-crypto.version>1.0.0</commons-crypto.version>
1509 <curator.version>4.0.0</curator.version>
1510 <!-- Plugin Dependencies -->
1511 <apache.rat.version>0.12</apache.rat.version>
1512 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1513 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1514 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1515 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1516 <checkstyle.version>8.2</checkstyle.version>
1517 <exec.maven.version>1.6.0</exec.maven.version>
1518 <error-prone.version>2.2.0</error-prone.version>
1519 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1520 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1521 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1522 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1523 <maven.antrun.version>1.8</maven.antrun.version>
1524 <maven.bundle.version>3.3.0</maven.bundle.version>
1525 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1526 <maven.compiler.version>3.6.1</maven.compiler.version>
1527 <maven.dependency.version>3.0.1</maven.dependency.version>
1528 <maven.eclipse.version>2.10</maven.eclipse.version>
1529 <maven.install.version>2.5.2</maven.install.version>
1530 <maven.jar.version>3.0.2</maven.jar.version>
1531 <maven.javadoc.version>3.0.0</maven.javadoc.version>
1532 <maven.patch.version>1.2</maven.patch.version>
1533 <maven.scala.version>2.15.2</maven.scala.version>
1534 <maven.shade.version>3.0.0</maven.shade.version>
1535 <maven.site.version>3.4</maven.site.version>
1536 <maven.source.version>3.0.1</maven.source.version>
1537 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1538 <os.maven.version>1.5.0.Final</os.maven.version>
1539 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1540 <scala.maven.version>3.2.2</scala.maven.version>
1541 <scalatest.maven.version>1.0</scalatest.maven.version>
1542 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1543 <wagon.ssh.version>2.12</wagon.ssh.version>
1544 <xml.maven.version>1.0.1</xml.maven.version>
1545 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1546 <!-- General Packaging -->
1547 <package.prefix>/usr</package.prefix>
1548 <package.conf.dir>/etc/hbase</package.conf.dir>
1549 <package.log.dir>/var/log/hbase</package.log.dir>
1550 <package.pid.dir>/var/run/hbase</package.pid.dir>
1551 <package.release>1</package.release>
1552 <final.name>${project.artifactId}-${project.version}</final.name>
1553 <!-- Intraproject jar naming properties -->
1554 <!-- TODO this is pretty ugly, but works for the moment.
1555 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1556 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1557 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1558 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1559 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1560 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1561 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1562 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1563 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1564 <shell-executable>bash</shell-executable>
1565 <surefire.version>2.21.0</surefire.version>
1566 <surefire.provider>surefire-junit47</surefire.provider>
1567 <!-- default: run small & medium, medium with 2 threads -->
1568 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1569 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1570 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1571 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1572 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1573 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1574 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1575 <test.output.tofile>true</test.output.tofile>
1576 <surefire.timeout>900</surefire.timeout>
1577 <test.exclude.pattern></test.exclude.pattern>
1578 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1579 <surefire.Xmx>2800m</surefire.Xmx>
1580 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1581 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1583 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1584 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1585 -Djava.awt.headless=true
1586 </hbase-surefire.argLine>
1587 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1588 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1589 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1590 </hbase-surefire.cygwin-argLine>
1591 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1592 <argLine>${hbase-surefire.argLine}</argLine>
1593 <jacoco.version>0.7.5.201505241946</jacoco.version>
1594 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1595 <enforcer.version>3.0.0-M1</enforcer.version>
1596 <!-- Location of test resources -->
1597 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1598 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1599 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1600 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1601 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1602 <build.id>${maven.build.timestamp}</build.id>
1603 <shell-executable>bash</shell-executable>
1604 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1605 property as of javadoc-plugin 3.0.0 -->
1606 <doclint>none</doclint>
1608 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1609 <dependencyManagement>
1612 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1613 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1614 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1615 implementation of the same, because Hadoop also uses this version
1616 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1617 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1619 <!-- Intra-module dependencies -->
1621 <groupId>org.apache.hbase</groupId>
1622 <artifactId>hbase-annotations</artifactId>
1623 <version>${project.version}</version>
1624 <type>test-jar</type>
1625 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1628 <artifactId>hbase-backup</artifactId>
1629 <groupId>org.apache.hbase</groupId>
1630 <version>${project.version}</version>
1633 <groupId>org.apache.hbase</groupId>
1634 <artifactId>hbase-error-prone</artifactId>
1635 <version>${project.version}</version>
1638 <groupId>org.apache.hbase</groupId>
1639 <artifactId>hbase-common</artifactId>
1640 <version>${project.version}</version>
1643 <groupId>org.apache.hbase</groupId>
1644 <artifactId>hbase-common</artifactId>
1645 <version>${project.version}</version>
1646 <type>test-jar</type>
1650 <groupId>org.apache.hbase</groupId>
1651 <artifactId>hbase-protocol-shaded</artifactId>
1652 <version>${project.version}</version>
1655 <groupId>org.apache.hbase</groupId>
1656 <artifactId>hbase-protocol</artifactId>
1657 <version>${project.version}</version>
1660 <groupId>org.apache.hbase</groupId>
1661 <artifactId>hbase-procedure</artifactId>
1662 <version>${project.version}</version>
1665 <groupId>org.apache.hbase</groupId>
1666 <artifactId>hbase-procedure</artifactId>
1667 <version>${project.version}</version>
1668 <type>test-jar</type>
1671 <groupId>org.apache.hbase</groupId>
1672 <artifactId>hbase-hadoop-compat</artifactId>
1673 <version>${project.version}</version>
1676 <groupId>org.apache.hbase</groupId>
1677 <artifactId>hbase-hadoop-compat</artifactId>
1678 <version>${project.version}</version>
1679 <type>test-jar</type>
1683 <groupId>org.apache.hbase</groupId>
1684 <artifactId>${compat.module}</artifactId>
1685 <version>${project.version}</version>
1688 <groupId>org.apache.hbase</groupId>
1689 <artifactId>${compat.module}</artifactId>
1690 <version>${project.version}</version>
1691 <type>test-jar</type>
1695 <artifactId>hbase-rsgroup</artifactId>
1696 <groupId>org.apache.hbase</groupId>
1697 <version>${project.version}</version>
1700 <artifactId>hbase-rsgroup</artifactId>
1701 <groupId>org.apache.hbase</groupId>
1702 <version>${project.version}</version>
1703 <type>test-jar</type>
1707 <artifactId>hbase-replication</artifactId>
1708 <groupId>org.apache.hbase</groupId>
1709 <version>${project.version}</version>
1712 <artifactId>hbase-http</artifactId>
1713 <groupId>org.apache.hbase</groupId>
1714 <version>${project.version}</version>
1717 <artifactId>hbase-http</artifactId>
1718 <groupId>org.apache.hbase</groupId>
1719 <version>${project.version}</version>
1720 <type>test-jar</type>
1724 <artifactId>hbase-server</artifactId>
1725 <groupId>org.apache.hbase</groupId>
1726 <version>${project.version}</version>
1729 <artifactId>hbase-server</artifactId>
1730 <groupId>org.apache.hbase</groupId>
1731 <version>${project.version}</version>
1732 <type>test-jar</type>
1736 <artifactId>hbase-mapreduce</artifactId>
1737 <groupId>org.apache.hbase</groupId>
1738 <version>${project.version}</version>
1741 <artifactId>hbase-mapreduce</artifactId>
1742 <groupId>org.apache.hbase</groupId>
1743 <version>${project.version}</version>
1744 <type>test-jar</type>
1748 <artifactId>hbase-endpoint</artifactId>
1749 <groupId>org.apache.hbase</groupId>
1750 <version>${project.version}</version>
1753 <artifactId>hbase-shell</artifactId>
1754 <groupId>org.apache.hbase</groupId>
1755 <version>${project.version}</version>
1758 <artifactId>hbase-shell</artifactId>
1759 <groupId>org.apache.hbase</groupId>
1760 <version>${project.version}</version>
1761 <type>test-jar</type>
1765 <artifactId>hbase-thrift</artifactId>
1766 <groupId>org.apache.hbase</groupId>
1767 <version>${project.version}</version>
1770 <artifactId>hbase-thrift</artifactId>
1771 <groupId>org.apache.hbase</groupId>
1772 <version>${project.version}</version>
1773 <type>test-jar</type>
1777 <groupId>org.apache.hbase</groupId>
1778 <artifactId>hbase-testing-util</artifactId>
1779 <version>${project.version}</version>
1783 <artifactId>hbase-examples</artifactId>
1784 <groupId>org.apache.hbase</groupId>
1785 <version>${project.version}</version>
1788 <groupId>org.apache.hbase</groupId>
1789 <artifactId>hbase-external-blockcache</artifactId>
1790 <version>${project.version}</version>
1793 <artifactId>hbase-it</artifactId>
1794 <groupId>org.apache.hbase</groupId>
1795 <version>${project.version}</version>
1796 <type>test-jar</type>
1800 <artifactId>hbase-client</artifactId>
1801 <groupId>org.apache.hbase</groupId>
1802 <version>${project.version}</version>
1805 <artifactId>hbase-metrics-api</artifactId>
1806 <groupId>org.apache.hbase</groupId>
1807 <version>${project.version}</version>
1810 <artifactId>hbase-metrics-api</artifactId>
1811 <groupId>org.apache.hbase</groupId>
1812 <version>${project.version}</version>
1813 <type>test-jar</type>
1817 <artifactId>hbase-metrics</artifactId>
1818 <groupId>org.apache.hbase</groupId>
1819 <version>${project.version}</version>
1822 <artifactId>hbase-metrics</artifactId>
1823 <groupId>org.apache.hbase</groupId>
1824 <version>${project.version}</version>
1825 <type>test-jar</type>
1829 <artifactId>hbase-rest</artifactId>
1830 <groupId>org.apache.hbase</groupId>
1831 <version>${project.version}</version>
1834 <artifactId>hbase-resource-bundle</artifactId>
1835 <groupId>org.apache.hbase</groupId>
1836 <version>${project.version}</version>
1839 <artifactId>hbase-spark</artifactId>
1840 <groupId>org.apache.hbase</groupId>
1841 <version>${project.version}</version>
1844 <artifactId>hbase-spark-it</artifactId>
1845 <groupId>org.apache.hbase</groupId>
1846 <version>${project.version}</version>
1847 <type>test-jar</type>
1851 <artifactId>hbase-zookeeper</artifactId>
1852 <groupId>org.apache.hbase</groupId>
1853 <version>${project.version}</version>
1856 <artifactId>hbase-zookeeper</artifactId>
1857 <groupId>org.apache.hbase</groupId>
1858 <version>${project.version}</version>
1859 <type>test-jar</type>
1863 <groupId>org.apache.hbase</groupId>
1864 <artifactId>hbase-shaded-client</artifactId>
1865 <version>${project.version}</version>
1868 <groupId>org.apache.hbase</groupId>
1869 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1870 <version>${project.version}</version>
1873 <groupId>org.apache.hbase</groupId>
1874 <artifactId>hbase-shaded-mapreduce</artifactId>
1875 <version>${project.version}</version>
1877 <!-- General dependencies -->
1879 <groupId>com.github.stephenc.findbugs</groupId>
1880 <artifactId>findbugs-annotations</artifactId>
1881 <version>${findbugs-annotations}</version>
1883 <!-- General dependencies -->
1885 <groupId>org.codehaus.jettison</groupId>
1886 <artifactId>jettison</artifactId>
1887 <version>${jettison.version}</version>
1890 <groupId>org.slf4j</groupId>
1891 <artifactId>slf4j-log4j12</artifactId>
1892 <version>${slf4j.version}</version>
1895 <groupId>log4j</groupId>
1896 <artifactId>log4j</artifactId>
1897 <version>${log4j.version}</version>
1899 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1901 <groupId>org.apache.avro</groupId>
1902 <artifactId>avro</artifactId>
1903 <version>${avro.version}</version>
1905 <!--This is not used by hbase directly. Used by thrift,
1906 dropwizard and zk.-->
1908 <groupId>org.slf4j</groupId>
1909 <artifactId>slf4j-api</artifactId>
1910 <version>${slf4j.version}</version>
1913 <groupId>io.dropwizard.metrics</groupId>
1914 <artifactId>metrics-core</artifactId>
1915 <version>${metrics-core.version}</version>
1918 <groupId>org.apache.httpcomponents</groupId>
1919 <artifactId>httpclient</artifactId>
1920 <version>${httpclient.version}</version>
1923 <groupId>org.apache.httpcomponents</groupId>
1924 <artifactId>httpcore</artifactId>
1925 <version>${httpcore.version}</version>
1928 <groupId>commons-codec</groupId>
1929 <artifactId>commons-codec</artifactId>
1930 <version>${commons-codec.version}</version>
1933 <groupId>commons-io</groupId>
1934 <artifactId>commons-io</artifactId>
1935 <version>${commons-io.version}</version>
1938 <groupId>org.apache.commons</groupId>
1939 <artifactId>commons-lang3</artifactId>
1940 <version>${commons-lang3.version}</version>
1943 <groupId>org.apache.commons</groupId>
1944 <artifactId>commons-math3</artifactId>
1945 <version>${commons-math.version}</version>
1948 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1951 <groupId>commons-logging</groupId>
1952 <artifactId>commons-logging</artifactId>
1953 <version>1.2</version>
1956 <groupId>org.apache.zookeeper</groupId>
1957 <artifactId>zookeeper</artifactId>
1958 <version>${zookeeper.version}</version>
1961 <groupId>jline</groupId>
1962 <artifactId>jline</artifactId>
1965 <groupId>com.sun.jmx</groupId>
1966 <artifactId>jmxri</artifactId>
1969 <groupId>com.sun.jdmk</groupId>
1970 <artifactId>jmxtools</artifactId>
1973 <groupId>javax.jms</groupId>
1974 <artifactId>jms</artifactId>
1977 <groupId>io.netty</groupId>
1978 <artifactId>netty</artifactId>
1983 <groupId>jline</groupId>
1984 <artifactId>jline</artifactId>
1985 <version>${jline.version}</version>
1988 <groupId>org.apache.thrift</groupId>
1989 <artifactId>libthrift</artifactId>
1990 <version>${thrift.version}</version>
1993 <groupId>org.slf4j</groupId>
1994 <artifactId>slf4j-simple</artifactId>
1999 <groupId>org.jruby</groupId>
2000 <artifactId>jruby-complete</artifactId>
2001 <version>${jruby.version}</version>
2004 <groupId>org.jruby.jcodings</groupId>
2005 <artifactId>jcodings</artifactId>
2006 <version>${jcodings.version}</version>
2009 <groupId>org.jruby.joni</groupId>
2010 <artifactId>joni</artifactId>
2011 <version>${joni.version}</version>
2014 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2015 <artifactId>jackson-jaxrs-json-provider</artifactId>
2016 <version>${jackson.version}</version>
2019 <groupId>com.fasterxml.jackson.core</groupId>
2020 <artifactId>jackson-annotations</artifactId>
2021 <version>${jackson.version}</version>
2024 <groupId>com.fasterxml.jackson.core</groupId>
2025 <artifactId>jackson-core</artifactId>
2026 <version>${jackson.version}</version>
2029 <groupId>com.fasterxml.jackson.core</groupId>
2030 <artifactId>jackson-databind</artifactId>
2031 <version>${jackson.version}</version>
2034 <groupId>org.jamon</groupId>
2035 <artifactId>jamon-runtime</artifactId>
2036 <version>${jamon-runtime.version}</version>
2038 <!-- REST dependencies -->
2040 <groupId>javax.servlet</groupId>
2041 <artifactId>javax.servlet-api</artifactId>
2042 <version>${servlet.api.version}</version>
2045 <groupId>javax.ws.rs</groupId>
2046 <artifactId>javax.ws.rs-api</artifactId>
2047 <version>${wx.rs.api.version}</version>
2050 <groupId>org.eclipse.jetty</groupId>
2051 <artifactId>jetty-server</artifactId>
2052 <version>${jetty.version}</version>
2055 <groupId>org.eclipse.jetty</groupId>
2056 <artifactId>jetty-servlet</artifactId>
2057 <version>${jetty.version}</version>
2060 <groupId>org.eclipse.jetty</groupId>
2061 <artifactId>servlet-api</artifactId>
2066 <groupId>org.eclipse.jetty</groupId>
2067 <artifactId>jetty-security</artifactId>
2068 <version>${jetty.version}</version>
2071 <groupId>org.eclipse.jetty</groupId>
2072 <artifactId>jetty-http</artifactId>
2073 <version>${jetty.version}</version>
2076 <groupId>org.eclipse.jetty</groupId>
2077 <artifactId>jetty-util</artifactId>
2078 <version>${jetty.version}</version>
2081 <groupId>org.eclipse.jetty</groupId>
2082 <artifactId>jetty-io</artifactId>
2083 <version>${jetty.version}</version>
2086 <groupId>org.eclipse.jetty</groupId>
2087 <artifactId>jetty-jmx</artifactId>
2088 <version>${jetty.version}</version>
2091 <groupId>org.eclipse.jetty</groupId>
2092 <artifactId>jetty-webapp</artifactId>
2093 <version>${jetty.version}</version>
2096 <groupId>org.eclipse.jetty</groupId>
2097 <artifactId>jetty-util-ajax</artifactId>
2098 <version>${jetty.version}</version>
2101 <groupId>com.google.protobuf</groupId>
2102 <artifactId>protobuf-java</artifactId>
2103 <version>${external.protobuf.version}</version>
2106 <groupId>org.glassfish.jersey.containers</groupId>
2107 <artifactId>jersey-container-servlet-core</artifactId>
2108 <version>${jersey.version}</version>
2111 <groupId>org.glassfish.jersey.core</groupId>
2112 <artifactId>jersey-client</artifactId>
2113 <version>${jersey.version}</version>
2116 <groupId>org.glassfish.jersey.core</groupId>
2117 <artifactId>jersey-server</artifactId>
2118 <version>${jersey.version}</version>
2121 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2122 <groupId>org.glassfish.web</groupId>
2123 <artifactId>javax.servlet.jsp</artifactId>
2124 <version>${glassfish.jsp.version}</version>
2127 <!-- this lib is used by the compiled Jsp from the above JspC -->
2128 <groupId>javax.servlet.jsp</groupId>
2129 <artifactId>javax.servlet.jsp-api</artifactId>
2130 <version>2.3.1</version>
2133 <groupId>org.glassfish</groupId>
2134 <artifactId>javax.el</artifactId>
2135 <version>${glassfish.el.version}</version>
2138 <groupId>javax.xml.bind</groupId>
2139 <artifactId>jaxb-api</artifactId>
2140 <version>${jaxb-api.version}</version>
2143 <groupId>javax.xml.stream</groupId>
2144 <artifactId>stax-api</artifactId>
2149 <groupId>junit</groupId>
2150 <artifactId>junit</artifactId>
2151 <version>${junit.version}</version>
2154 <groupId>org.hamcrest</groupId>
2155 <artifactId>hamcrest-core</artifactId>
2156 <version>${hamcrest.version}</version>
2160 <groupId>org.mockito</groupId>
2161 <artifactId>mockito-core</artifactId>
2162 <version>${mockito-core.version}</version>
2166 <groupId>org.apache.htrace</groupId>
2167 <artifactId>htrace-core4</artifactId>
2168 <version>${htrace.version}</version>
2171 <groupId>com.lmax</groupId>
2172 <artifactId>disruptor</artifactId>
2173 <version>${disruptor.version}</version>
2176 <groupId>net.spy</groupId>
2177 <artifactId>spymemcached</artifactId>
2178 <version>${spy.version}</version>
2179 <optional>true</optional>
2182 <groupId>org.bouncycastle</groupId>
2183 <artifactId>bcprov-jdk16</artifactId>
2184 <version>${bouncycastle.version}</version>
2188 <groupId>org.apache.kerby</groupId>
2189 <artifactId>kerb-core</artifactId>
2190 <version>${kerby.version}</version>
2193 <groupId>org.apache.kerby</groupId>
2194 <artifactId>kerb-client</artifactId>
2195 <version>${kerby.version}</version>
2198 <groupId>org.apache.kerby</groupId>
2199 <artifactId>kerb-simplekdc</artifactId>
2200 <version>${kerby.version}</version>
2203 <groupId>org.apache.commons</groupId>
2204 <artifactId>commons-crypto</artifactId>
2205 <version>${commons-crypto.version}</version>
2208 <groupId>net.java.dev.jna</groupId>
2209 <artifactId>jna</artifactId>
2214 <groupId>org.apache.curator</groupId>
2215 <artifactId>curator-framework</artifactId>
2216 <version>${curator.version}</version>
2219 <groupId>org.apache.zookeeper</groupId>
2220 <artifactId>zookeeper</artifactId>
2225 <groupId>org.apache.curator</groupId>
2226 <artifactId>curator-client</artifactId>
2227 <version>${curator.version}</version>
2230 <groupId>com.google.guava</groupId>
2231 <artifactId>guava</artifactId>
2234 <groupId>org.apache.zookeeper</groupId>
2235 <artifactId>zookeeper</artifactId>
2240 <groupId>org.apache.curator</groupId>
2241 <artifactId>curator-recipes</artifactId>
2242 <version>${curator.version}</version>
2245 <groupId>com.google.guava</groupId>
2246 <artifactId>guava</artifactId>
2249 <groupId>org.apache.zookeeper</groupId>
2250 <artifactId>zookeeper</artifactId>
2255 <groupId>org.apache.yetus</groupId>
2256 <artifactId>audience-annotations</artifactId>
2257 <version>${audience-annotations.version}</version>
2260 <groupId>org.apache.hbase.thirdparty</groupId>
2261 <artifactId>hbase-shaded-miscellaneous</artifactId>
2262 <version>${hbase-thirdparty.version}</version>
2265 <groupId>org.apache.hbase.thirdparty</groupId>
2266 <artifactId>hbase-shaded-netty</artifactId>
2267 <version>${hbase-thirdparty.version}</version>
2270 <groupId>org.apache.hbase.thirdparty</groupId>
2271 <artifactId>hbase-shaded-protobuf</artifactId>
2272 <version>${hbase-thirdparty.version}</version>
2275 </dependencyManagement>
2277 <!--REMOVE THIS. HERE TEMPORARILY.
2278 Implication is that every module needs junit which is not so.
2279 Cannot undo though because build runs test on each module and
2280 it fails if no junit. TODO. -->
2282 <groupId>junit</groupId>
2283 <artifactId>junit</artifactId>
2288 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2293 <id>apache.releases.https</id>
2294 <username>hbase_committer</username>
2295 <password>********</password>
2299 <id>apache.snapshots.https</id>
2300 <username>hbase_committer</username>
2301 <password>********</password>
2309 $ mvn -s /my/path/settings.xml deploy
2317 <name>!skip-rsgroup</name>
2321 <module>hbase-rsgroup</module>
2325 <id>build-with-jdk8</id>
2333 <groupId>org.codehaus.mojo</groupId>
2334 <artifactId>findbugs-maven-plugin</artifactId>
2335 <version>3.0.0</version>
2336 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2338 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2339 <findbugsXmlOutput>true</findbugsXmlOutput>
2340 <xmlOutput>true</xmlOutput>
2341 <effort>Max</effort>
2345 <groupId>com.github.spotbugs</groupId>
2346 <artifactId>spotbugs</artifactId>
2347 <version>${spotbugs.version}</version>
2355 <!-- profile activated by the Jenkins patch testing job -->
2357 <id>jenkins.patch</id>
2359 <activeByDefault>false</activeByDefault>
2361 <name>HBasePatchProcess</name>
2365 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2370 <groupId>org.apache.maven.plugins</groupId>
2371 <artifactId>maven-antrun-plugin</artifactId>
2372 <inherited>false</inherited>
2375 <phase>validate</phase>
2381 <echo>Maven Execution Environment</echo>
2382 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2394 <activeByDefault>false</activeByDefault>
2399 <groupId>org.jacoco</groupId>
2400 <artifactId>jacoco-maven-plugin</artifactId>
2401 <version>${jacoco.version}</version>
2404 <id>prepare-agent</id>
2406 <goal>prepare-agent</goal>
2411 <phase>prepare-package</phase>
2418 <systemPropertyVariables>
2419 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2420 </systemPropertyVariables>
2422 <exclude>**/generated/**/*.class</exclude>
2432 <activeByDefault>false</activeByDefault>
2434 <family>Linux</family>
2438 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2445 <family>Mac</family>
2449 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2456 <family>Windows</family>
2460 <build.platform>cygwin</build.platform>
2461 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2464 <!-- this profile should be activated for release builds -->
2470 <groupId>org.apache.rat</groupId>
2471 <artifactId>apache-rat-plugin</artifactId>
2474 <phase>package</phase>
2482 <groupId>org.apache.maven.plugins</groupId>
2483 <artifactId>maven-enforcer-plugin</artifactId>
2484 <version>${enforcer.version}</version>
2487 <enforceBytecodeVersion>
2488 <maxJdkVersion>${compileSource}</maxJdkVersion>
2489 <message>HBase has unsupported dependencies.
2490 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2491 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2492 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2493 Non-release builds can temporarily build with a newer JDK version by setting the
2494 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2496 </enforceBytecodeVersion>
2503 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2504 <!-- Submodules that need hadoop dependencies should declare
2505 profiles with activation properties matching the profile here.
2506 Generally, it should be sufficient to copy the first
2507 few lines of the profile you want to match. -->
2508 <!-- profile for building against Hadoop 2.0.x
2509 This is the default.
2515 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2516 <!--h2--><name>!hadoop.profile</name>
2520 <module>hbase-hadoop2-compat</module>
2523 <hadoop.version>${hadoop-two.version}</hadoop.version>
2524 <compat.module>hbase-hadoop2-compat</compat.module>
2525 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2526 <!--This property is for hadoops netty. HBase netty
2527 comes in via hbase-thirdparty hbase-shaded-netty-->
2528 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2530 <dependencyManagement>
2533 <groupId>org.apache.hadoop</groupId>
2534 <artifactId>hadoop-mapreduce-client-core</artifactId>
2535 <version>${hadoop-two.version}</version>
2538 <groupId>io.netty</groupId>
2539 <artifactId>netty</artifactId>
2542 <groupId>javax.servlet</groupId>
2543 <artifactId>servlet-api</artifactId>
2546 <groupId>javax.inject</groupId>
2547 <artifactId>javax.inject</artifactId>
2550 <groupId>org.codehaus.jackson</groupId>
2551 <artifactId>jackson-core-asl</artifactId>
2554 <groupId>org.codehaus.jackson</groupId>
2555 <artifactId>jackson-mapper-asl</artifactId>
2560 <groupId>org.apache.hadoop</groupId>
2561 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2562 <version>${hadoop-two.version}</version>
2565 <groupId>io.netty</groupId>
2566 <artifactId>netty</artifactId>
2569 <groupId>javax.servlet</groupId>
2570 <artifactId>servlet-api</artifactId>
2575 <groupId>org.apache.hadoop</groupId>
2576 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2577 <version>${hadoop-two.version}</version>
2578 <type>test-jar</type>
2582 <groupId>io.netty</groupId>
2583 <artifactId>netty</artifactId>
2586 <groupId>javax.servlet</groupId>
2587 <artifactId>servlet-api</artifactId>
2592 <groupId>org.apache.hadoop</groupId>
2593 <artifactId>hadoop-hdfs</artifactId>
2594 <version>${hadoop-two.version}</version>
2597 <groupId>javax.servlet.jsp</groupId>
2598 <artifactId>jsp-api</artifactId>
2601 <groupId>javax.servlet</groupId>
2602 <artifactId>servlet-api</artifactId>
2605 <groupId>io.netty</groupId>
2606 <artifactId>netty</artifactId>
2609 <groupId>stax</groupId>
2610 <artifactId>stax-api</artifactId>
2613 <groupId>xerces</groupId>
2614 <artifactId>xercesImpl</artifactId>
2617 <groupId>org.codehaus.jackson</groupId>
2618 <artifactId>jackson-core-asl</artifactId>
2621 <groupId>org.codehaus.jackson</groupId>
2622 <artifactId>jackson-mapper-asl</artifactId>
2625 <groupId>com.google.guava</groupId>
2626 <artifactId>guava</artifactId>
2631 <groupId>org.apache.hadoop</groupId>
2632 <artifactId>hadoop-hdfs</artifactId>
2633 <version>${hadoop-two.version}</version>
2634 <type>test-jar</type>
2638 <groupId>javax.servlet.jsp</groupId>
2639 <artifactId>jsp-api</artifactId>
2642 <groupId>javax.servlet</groupId>
2643 <artifactId>servlet-api</artifactId>
2646 <groupId>io.netty</groupId>
2647 <artifactId>netty</artifactId>
2650 <groupId>stax</groupId>
2651 <artifactId>stax-api</artifactId>
2654 <groupId>xerces</groupId>
2655 <artifactId>xercesImpl</artifactId>
2658 <groupId>org.codehaus.jackson</groupId>
2659 <artifactId>jackson-core-asl</artifactId>
2662 <groupId>org.codehaus.jackson</groupId>
2663 <artifactId>jackson-mapper-asl</artifactId>
2666 <groupId>com.google.guava</groupId>
2667 <artifactId>guava</artifactId>
2672 <groupId>org.apache.hadoop</groupId>
2673 <artifactId>hadoop-auth</artifactId>
2674 <version>${hadoop-two.version}</version>
2677 <groupId>org.apache.hadoop</groupId>
2678 <artifactId>hadoop-common</artifactId>
2679 <version>${hadoop-two.version}</version>
2682 <groupId>commons-beanutils</groupId>
2683 <artifactId>commons-beanutils</artifactId>
2686 <groupId>javax.servlet.jsp</groupId>
2687 <artifactId>jsp-api</artifactId>
2690 <groupId>javax.servlet</groupId>
2691 <artifactId>servlet-api</artifactId>
2694 <groupId>stax</groupId>
2695 <artifactId>stax-api</artifactId>
2698 <groupId>io.netty</groupId>
2699 <artifactId>netty</artifactId>
2702 <groupId>com.google.code.findbugs</groupId>
2703 <artifactId>jsr305</artifactId>
2706 <groupId>junit</groupId>
2707 <artifactId>junit</artifactId>
2710 <groupId>org.codehaus.jackson</groupId>
2711 <artifactId>jackson-core-asl</artifactId>
2714 <groupId>org.codehaus.jackson</groupId>
2715 <artifactId>jackson-mapper-asl</artifactId>
2720 <groupId>org.apache.hadoop</groupId>
2721 <artifactId>hadoop-client</artifactId>
2722 <version>${hadoop-two.version}</version>
2724 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2725 Where do we actually need it? -->
2727 <groupId>org.apache.hadoop</groupId>
2728 <artifactId>hadoop-minicluster</artifactId>
2729 <version>${hadoop-two.version}</version>
2732 <groupId>commons-httpclient</groupId>
2733 <artifactId>commons-httpclient</artifactId>
2736 <groupId>javax.servlet.jsp</groupId>
2737 <artifactId>jsp-api</artifactId>
2740 <groupId>javax.servlet</groupId>
2741 <artifactId>servlet-api</artifactId>
2744 <groupId>stax</groupId>
2745 <artifactId>stax-api</artifactId>
2748 <groupId>io.netty</groupId>
2749 <artifactId>netty</artifactId>
2752 <groupId>com.google.code.findbugs</groupId>
2753 <artifactId>jsr305</artifactId>
2758 <groupId>org.apache.hadoop</groupId>
2759 <artifactId>hadoop-minikdc</artifactId>
2760 <version>${hadoop-two.version}</version>
2764 </dependencyManagement>
2767 profile for building against Hadoop 3.0.0. Activate using:
2768 mvn -Dhadoop.profile=3.0
2774 <name>hadoop.profile</name>
2779 <!--For now, use hadoop2 compat module-->
2780 <module>hbase-hadoop2-compat</module>
2783 <hadoop.version>${hadoop-three.version}</hadoop.version>
2784 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2785 <compat.module>hbase-hadoop2-compat</compat.module>
2786 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2787 <!--This property is for hadoops netty. HBase netty
2788 comes in via hbase-thirdparty hbase-shaded-netty-->
2789 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2791 <dependencyManagement>
2794 <groupId>org.apache.hadoop</groupId>
2795 <artifactId>hadoop-mapreduce-client-core</artifactId>
2796 <version>${hadoop-three.version}</version>
2799 <groupId>io.netty</groupId>
2800 <artifactId>netty</artifactId>
2803 <groupId>javax.inject</groupId>
2804 <artifactId>javax.inject</artifactId>
2807 <groupId>org.codehaus.jackson</groupId>
2808 <artifactId>jackson-core-asl</artifactId>
2811 <groupId>org.codehaus.jackson</groupId>
2812 <artifactId>jackson-mapper-asl</artifactId>
2815 <groupId>com.google.guava</groupId>
2816 <artifactId>guava</artifactId>
2821 <groupId>org.apache.hadoop</groupId>
2822 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2823 <version>${hadoop-three.version}</version>
2826 <groupId>io.netty</groupId>
2827 <artifactId>netty</artifactId>
2832 <groupId>org.apache.hadoop</groupId>
2833 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2834 <version>${hadoop-three.version}</version>
2835 <type>test-jar</type>
2839 <groupId>io.netty</groupId>
2840 <artifactId>netty</artifactId>
2845 <groupId>org.apache.hadoop</groupId>
2846 <artifactId>hadoop-hdfs</artifactId>
2847 <version>${hadoop-three.version}</version>
2850 <groupId>com.sun.jersey</groupId>
2851 <artifactId>jersey-core</artifactId>
2854 <groupId>com.sun.jersey</groupId>
2855 <artifactId>jersey-server</artifactId>
2858 <groupId>javax.servlet.jsp</groupId>
2859 <artifactId>jsp-api</artifactId>
2862 <groupId>javax.servlet</groupId>
2863 <artifactId>servlet-api</artifactId>
2866 <groupId>stax</groupId>
2867 <artifactId>stax-api</artifactId>
2870 <groupId>xerces</groupId>
2871 <artifactId>xercesImpl</artifactId>
2874 <groupId>org.codehaus.jackson</groupId>
2875 <artifactId>jackson-core-asl</artifactId>
2878 <groupId>org.codehaus.jackson</groupId>
2879 <artifactId>jackson-mapper-asl</artifactId>
2882 <groupId>com.google.guava</groupId>
2883 <artifactId>guava</artifactId>
2888 <groupId>org.apache.hadoop</groupId>
2889 <artifactId>hadoop-hdfs</artifactId>
2890 <version>${hadoop-three.version}</version>
2891 <type>test-jar</type>
2895 <groupId>javax.servlet.jsp</groupId>
2896 <artifactId>jsp-api</artifactId>
2899 <groupId>javax.servlet</groupId>
2900 <artifactId>servlet-api</artifactId>
2903 <groupId>stax</groupId>
2904 <artifactId>stax-api</artifactId>
2907 <groupId>xerces</groupId>
2908 <artifactId>xercesImpl</artifactId>
2911 <groupId>org.codehaus.jackson</groupId>
2912 <artifactId>jackson-core-asl</artifactId>
2915 <groupId>org.codehaus.jackson</groupId>
2916 <artifactId>jackson-mapper-asl</artifactId>
2919 <groupId>com.google.guava</groupId>
2920 <artifactId>guava</artifactId>
2923 <groupId>com.sun.jersey</groupId>
2924 <artifactId>jersey-core</artifactId>
2929 <groupId>org.apache.hadoop</groupId>
2930 <artifactId>hadoop-hdfs</artifactId>
2931 <version>${hadoop-three.version}</version>
2932 <type>test-jar</type>
2933 <classifier>tests</classifier>
2937 <groupId>com.sun.jersey</groupId>
2938 <artifactId>jersey-core</artifactId>
2943 <groupId>org.apache.hadoop</groupId>
2944 <artifactId>hadoop-auth</artifactId>
2945 <version>${hadoop-three.version}</version>
2948 <groupId>com.google.guava</groupId>
2949 <artifactId>guava</artifactId>
2954 <groupId>org.apache.hadoop</groupId>
2955 <artifactId>hadoop-common</artifactId>
2956 <version>${hadoop-three.version}</version>
2959 <groupId>com.sun.jersey</groupId>
2960 <artifactId>jersey-core</artifactId>
2963 <groupId>com.sun.jersey</groupId>
2964 <artifactId>jersey-json</artifactId>
2967 <groupId>com.sun.jersey</groupId>
2968 <artifactId>jersey-servlet</artifactId>
2971 <groupId>com.sun.jersey</groupId>
2972 <artifactId>jersey-server</artifactId>
2975 <groupId>javax.servlet.jsp</groupId>
2976 <artifactId>jsp-api</artifactId>
2979 <groupId>javax.servlet</groupId>
2980 <artifactId>javax.servlet-api</artifactId>
2983 <groupId>stax</groupId>
2984 <artifactId>stax-api</artifactId>
2987 <groupId>io.netty</groupId>
2988 <artifactId>netty</artifactId>
2991 <groupId>com.google.code.findbugs</groupId>
2992 <artifactId>jsr305</artifactId>
2995 <groupId>junit</groupId>
2996 <artifactId>junit</artifactId>
2999 <groupId>org.codehause.jackson</groupId>
3000 <artifactId>jackson-core-asl</artifactId>
3003 <groupId>org.codehause.jackson</groupId>
3004 <artifactId>jackson-mapper-asl</artifactId>
3009 <groupId>org.apache.hadoop</groupId>
3010 <artifactId>hadoop-common</artifactId>
3011 <type>test-jar</type>
3012 <classifier>tests</classifier>
3013 <version>${hadoop-three.version}</version>
3016 <groupId>com.sun.jersey</groupId>
3017 <artifactId>jersey-core</artifactId>
3022 <groupId>org.apache.hadoop</groupId>
3023 <artifactId>hadoop-client</artifactId>
3024 <version>${hadoop-three.version}</version>
3027 <groupId>org.apache.hadoop</groupId>
3028 <artifactId>hadoop-annotations</artifactId>
3029 <version>${hadoop-three.version}</version>
3031 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3032 Where do we actually need it? -->
3034 <groupId>org.apache.hadoop</groupId>
3035 <artifactId>hadoop-minicluster</artifactId>
3036 <version>${hadoop-three.version}</version>
3039 <groupId>commons-httpclient</groupId>
3040 <artifactId>commons-httpclient</artifactId>
3043 <groupId>javax.servlet.jsp</groupId>
3044 <artifactId>jsp-api</artifactId>
3047 <groupId>javax.servlet</groupId>
3048 <artifactId>servlet-api</artifactId>
3051 <groupId>stax</groupId>
3052 <artifactId>stax-api</artifactId>
3055 <groupId>io.netty</groupId>
3056 <artifactId>netty</artifactId>
3059 <groupId>com.google.code.findbugs</groupId>
3060 <artifactId>jsr305</artifactId>
3065 <groupId>org.apache.hadoop</groupId>
3066 <artifactId>hadoop-minikdc</artifactId>
3067 <version>${hadoop-three.version}</version>
3071 </dependencyManagement>
3074 <!-- profiles for the tests
3075 See as well the properties of the project for the values
3076 when no profile is active. -->
3078 <!-- Use it to launch all tests in the same JVM -->
3079 <id>singleJVMTests</id>
3081 <activeByDefault>false</activeByDefault>
3084 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3085 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3086 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3087 <surefire.firstPartGroups/>
3091 <!-- Use it to launch small tests only -->
3092 <id>runSmallTests</id>
3094 <activeByDefault>false</activeByDefault>
3097 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3098 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3099 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3100 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3101 <surefire.secondPartGroups/>
3105 <!-- Use it to launch medium tests only -->
3106 <id>runMediumTests</id>
3108 <activeByDefault>false</activeByDefault>
3111 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3112 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3113 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3114 <surefire.secondPartGroups/>
3118 <!-- Use it to launch large tests only -->
3119 <id>runLargeTests</id>
3121 <activeByDefault>false</activeByDefault>
3124 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3125 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3126 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3127 <surefire.secondPartGroups/>
3131 <!-- Use it to launch small & medium tests -->
3132 <id>runDevTests</id>
3134 <activeByDefault>false</activeByDefault>
3137 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3138 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3139 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3140 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3141 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3145 <!-- Use it to launch all tests -->
3146 <id>runAllTests</id>
3148 <activeByDefault>false</activeByDefault>
3151 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3152 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3153 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3154 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3155 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3156 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3160 <id>runMiscTests</id>
3162 <activeByDefault>false</activeByDefault>
3165 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3166 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3167 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3168 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3169 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3170 </surefire.firstPartGroups>
3171 <surefire.secondPartGroups></surefire.secondPartGroups>
3175 <id>runCoprocessorTests</id>
3177 <activeByDefault>false</activeByDefault>
3180 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3181 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3182 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3183 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3184 <surefire.firstPartGroups>
3185 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3186 </surefire.firstPartGroups>
3187 <surefire.secondPartGroups></surefire.secondPartGroups>
3191 <id>runClientTests</id>
3193 <activeByDefault>false</activeByDefault>
3196 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3197 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3198 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3199 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3200 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3201 </surefire.firstPartGroups>
3202 <surefire.secondPartGroups></surefire.secondPartGroups>
3206 <id>runMasterTests</id>
3208 <activeByDefault>false</activeByDefault>
3211 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3212 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3213 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3214 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3215 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3216 </surefire.firstPartGroups>
3217 <surefire.secondPartGroups></surefire.secondPartGroups>
3221 <id>runMapredTests</id>
3223 <activeByDefault>false</activeByDefault>
3226 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3227 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3228 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3229 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3230 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3231 </surefire.firstPartGroups>
3232 <surefire.secondPartGroups></surefire.secondPartGroups>
3236 <id>runMapreduceTests</id>
3238 <activeByDefault>false</activeByDefault>
3241 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3242 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3243 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3244 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3245 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3246 </surefire.firstPartGroups>
3247 <surefire.secondPartGroups></surefire.secondPartGroups>
3251 <id>runRegionServerTests</id>
3253 <activeByDefault>false</activeByDefault>
3256 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3257 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3258 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3259 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3260 <surefire.firstPartGroups>
3261 org.apache.hadoop.hbase.testclassification.RegionServerTests
3262 </surefire.firstPartGroups>
3263 <surefire.secondPartGroups></surefire.secondPartGroups>
3267 <id>runVerySlowMapReduceTests</id>
3269 <activeByDefault>false</activeByDefault>
3272 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3273 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3274 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3275 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3276 <surefire.firstPartGroups>
3277 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3278 </surefire.firstPartGroups>
3279 <surefire.secondPartGroups></surefire.secondPartGroups>
3284 <id>runVerySlowRegionServerTests</id>
3286 <activeByDefault>false</activeByDefault>
3289 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3290 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3291 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3292 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3293 <surefire.firstPartGroups>
3294 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3295 </surefire.firstPartGroups>
3296 <surefire.secondPartGroups></surefire.secondPartGroups>
3301 <id>runFilterTests</id>
3303 <activeByDefault>false</activeByDefault>
3306 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3307 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3308 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3309 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3310 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3311 </surefire.firstPartGroups>
3312 <surefire.secondPartGroups></surefire.secondPartGroups>
3318 <activeByDefault>false</activeByDefault>
3321 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3322 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3323 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3324 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3325 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3326 </surefire.firstPartGroups>
3327 <surefire.secondPartGroups></surefire.secondPartGroups>
3331 <id>runRestTests</id>
3333 <activeByDefault>false</activeByDefault>
3336 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3337 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3338 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3339 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3340 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3341 </surefire.firstPartGroups>
3342 <surefire.secondPartGroups></surefire.secondPartGroups>
3346 <id>runRPCTests</id>
3348 <activeByDefault>false</activeByDefault>
3351 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3352 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3353 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3354 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3355 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3356 </surefire.firstPartGroups>
3357 <surefire.secondPartGroups></surefire.secondPartGroups>
3361 <id>runReplicationTests</id>
3363 <activeByDefault>false</activeByDefault>
3366 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3367 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3368 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3369 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3370 <surefire.firstPartGroups>
3371 org.apache.hadoop.hbase.testclassification.ReplicationTests
3372 </surefire.firstPartGroups>
3373 <surefire.secondPartGroups></surefire.secondPartGroups>
3377 <id>runSecurityTests</id>
3379 <activeByDefault>false</activeByDefault>
3382 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3383 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3384 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3385 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3386 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3387 </surefire.firstPartGroups>
3388 <surefire.secondPartGroups></surefire.secondPartGroups>
3392 <id>runFlakeyTests</id>
3394 <activeByDefault>false</activeByDefault>
3397 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3398 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3399 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3400 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3401 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3402 </surefire.firstPartGroups>
3403 <surefire.secondPartGroups></surefire.secondPartGroups>
3409 <activeByDefault>false</activeByDefault>
3412 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3413 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3414 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3415 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3416 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3417 </surefire.firstPartGroups>
3418 <surefire.secondPartGroups></surefire.secondPartGroups>
3423 <!-- Use it to launch tests locally-->
3431 <surefire.provider>surefire-junit4</surefire.provider>
3432 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3433 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3434 <surefire.firstPartGroups/>
3437 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3438 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3439 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3440 The report will be generated under target/site/clover/index.html when you run
3441 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3445 <activeByDefault>false</activeByDefault>
3451 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3455 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3456 our instrumented classes for the doclet will fail
3459 <groupId>org.apache.maven.plugins</groupId>
3460 <artifactId>maven-javadoc-plugin</artifactId>
3463 <groupId>com.atlassian.maven.plugins</groupId>
3464 <artifactId>maven-clover2-plugin</artifactId>
3465 <version>${clover.version}</version>
3470 <groupId>com.atlassian.maven.plugins</groupId>
3471 <artifactId>maven-clover2-plugin</artifactId>
3472 <version>${clover.version}</version>
3474 <includesAllSourceRoots>true</includesAllSourceRoots>
3475 <includesTestSourceRoots>true</includesTestSourceRoots>
3476 <targetPercentage>50%</targetPercentage>
3477 <generateHtml>true</generateHtml>
3478 <generateXml>true</generateXml>
3480 <exclude>**/generated/**</exclude>
3485 <id>clover-setup</id>
3486 <phase>process-sources</phase>
3504 <!-- Used by the website generation script on jenkins to
3505 do a local install of the jars we need to run a normal
3506 site build w/o forking.
3508 <id>site-install-step</id>
3510 <skipTests>true</skipTests>
3511 <maven.javadoc.skip>true</maven.javadoc.skip>
3512 <enforcer.skip>true</enforcer.skip>
3513 <checkstyle.skip>true</checkstyle.skip>
3514 <findbugs.skip>true</findbugs.skip>
3515 <warbucks.skip>true</warbucks.skip>
3519 <!-- Used by the website generation script on jenkins to
3520 mitigate the impact of unneeded build forks while building
3523 <id>site-build-step</id>
3525 <skipTests>true</skipTests>
3526 <enforcer.skip>true</enforcer.skip>
3527 <maven.main.skip>true</maven.main.skip>
3528 <maven.test.skip>true</maven.test.skip>
3529 <warbucks.skip>true</warbucks.skip>
3530 <protoc.skip>true</protoc.skip>
3531 <remoteresources.skip>true</remoteresources.skip>
3532 <!-- Because the scala-maven-plugin has no skip configuration option
3533 this configuration setting here won't actually do anything.
3535 However, if you pass it on the command line it'll activate
3536 a profile in hbase-spark/pom.xml that will skip things.
3538 <scala.skip>true</scala.skip>
3542 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3546 <artifactId>maven-project-info-reports-plugin</artifactId>
3547 <version>2.9</version>
3551 <report>cim</report>
3552 <report>dependencies</report>
3553 <report>dependency-convergence</report>
3554 <report>dependency-info</report>
3555 <report>dependency-management</report>
3556 <report>index</report>
3557 <report>issue-tracking</report>
3558 <report>license</report>
3559 <report>mailing-list</report>
3560 <report>plugin-management</report>
3561 <report>plugins</report>
3562 <report>project-team</report>
3563 <report>scm</report>
3564 <report>summary</report>
3568 <!-- see src/site/site.xml for selected reports -->
3570 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3575 <groupId>org.apache.maven.plugins</groupId>
3576 <artifactId>maven-javadoc-plugin</artifactId>
3577 <version>${maven.javadoc.version}</version>
3583 <report>aggregate</report>
3586 <destDir>devapidocs</destDir>
3587 <name>Developer API</name>
3588 <description>The full HBase API, including private and unstable APIs</description>
3589 <sourceFileExcludes>
3590 <exclude>**/generated/*</exclude>
3591 <exclude>**/protobuf/*</exclude>
3592 <exclude>**/*.scala</exclude>
3593 </sourceFileExcludes>
3594 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3595 <show>private</show> <!-- (shows all classes and members) -->
3597 <linksource>true</linksource>
3598 <sourcetab>2</sourcetab>
3599 <validateLinks>true</validateLinks>
3600 <fixClassComment>true</fixClassComment>
3601 <fixFieldComment>true</fixFieldComment>
3602 <fixMethodComment>true</fixMethodComment>
3603 <fixTags>all</fixTags>
3604 <notimestamp>true</notimestamp>
3605 <!-- Pass some options straight to the javadoc executable since it is easier -->
3606 <additionalJOption>-J-Xmx2G</additionalJOption>
3607 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3608 <additionalDependencies>
3609 <additionalDependency>
3610 <groupId>org.mockito</groupId>
3611 <artifactId>mockito-core</artifactId>
3612 <version>${mockito-core.version}</version>
3613 </additionalDependency>
3614 <additionalDependency>
3615 <groupId>org.hamcrest</groupId>
3616 <artifactId>hamcrest-core</artifactId>
3617 <version>${hamcrest.version}</version>
3618 </additionalDependency>
3619 </additionalDependencies>
3620 <inherited>false</inherited>
3626 <report>test-aggregate</report>
3629 <destDir>testdevapidocs</destDir>
3630 <name>Developer API</name>
3631 <description>The full HBase API test code, including private and unstable APIs</description>
3632 <sourceFileExcludes>
3633 <exclude>**/generated/*</exclude>
3634 <exclude>**/protobuf/*</exclude>
3635 <exclude>**/*.scala</exclude>
3636 </sourceFileExcludes>
3637 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3638 <show>private</show> <!-- (shows all classes and members) -->
3640 <linksource>true</linksource>
3641 <sourcetab>2</sourcetab>
3642 <validateLinks>true</validateLinks>
3643 <fixClassComment>true</fixClassComment>
3644 <fixFieldComment>true</fixFieldComment>
3645 <fixMethodComment>true</fixMethodComment>
3646 <fixTags>all</fixTags>
3647 <notimestamp>true</notimestamp>
3648 <!-- Pass some options straight to the javadoc executable since it is easier -->
3649 <additionalJOption>-J-Xmx2G</additionalJOption>
3650 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3651 <additionalDependencies>
3652 <additionalDependency>
3653 <groupId>org.mockito</groupId>
3654 <artifactId>mockito-core</artifactId>
3655 <version>${mockito-core.version}</version>
3656 </additionalDependency>
3657 <additionalDependency>
3658 <groupId>org.hamcrest</groupId>
3659 <artifactId>hamcrest-core</artifactId>
3660 <version>${hamcrest.version}</version>
3661 </additionalDependency>
3662 </additionalDependencies>
3663 <inherited>false</inherited>
3671 <report>aggregate</report>
3675 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3678 <groupId>org.apache.yetus</groupId>
3679 <artifactId>audience-annotations</artifactId>
3680 <version>${audience-annotations.version}</version>
3682 <useStandardDocletOptions>true</useStandardDocletOptions>
3683 <destDir>apidocs</destDir>
3684 <name>User API</name>
3685 <description>The HBase Application Programmer's API</description>
3686 <excludePackageNames>
3687 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*
3688 </excludePackageNames>
3689 <!-- switch on dependency-driven aggregation -->
3690 <includeDependencySources>false</includeDependencySources>
3691 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3692 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3694 <linksource>true</linksource>
3695 <sourcetab>2</sourcetab>
3696 <validateLinks>true</validateLinks>
3697 <fixClassComment>true</fixClassComment>
3698 <fixFieldComment>true</fixFieldComment>
3699 <fixMethodComment>true</fixMethodComment>
3700 <fixTags>all</fixTags>
3701 <notimestamp>true</notimestamp>
3702 <!-- Pass some options straight to the javadoc executable since it is easier -->
3703 <additionalJOption>-J-Xmx2G</additionalJOption>
3704 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3705 <additionalDependencies>
3706 <additionalDependency>
3707 <groupId>org.mockito</groupId>
3708 <artifactId>mockito-core</artifactId>
3709 <version>${mockito-core.version}</version>
3710 </additionalDependency>
3711 <additionalDependency>
3712 <groupId>org.hamcrest</groupId>
3713 <artifactId>hamcrest-core</artifactId>
3714 <version>${hamcrest.version}</version>
3715 </additionalDependency>
3716 </additionalDependencies>
3717 <inherited>false</inherited>
3720 <!-- User Test API -->
3722 <id>testuserapi</id>
3724 <report>test-aggregate</report>
3728 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3731 <groupId>org.apache.yetus</groupId>
3732 <artifactId>audience-annotations</artifactId>
3733 <version>${audience-annotations.version}</version>
3735 <useStandardDocletOptions>true</useStandardDocletOptions>
3736 <destDir>testapidocs</destDir>
3737 <name>User API</name>
3738 <description>The HBase Application Programmer's API</description>
3739 <excludePackageNames>
3740 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*
3741 </excludePackageNames>
3742 <!-- switch on dependency-driven aggregation -->
3743 <includeDependencySources>false</includeDependencySources>
3744 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3745 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3747 <linksource>true</linksource>
3748 <sourcetab>2</sourcetab>
3749 <validateLinks>true</validateLinks>
3750 <fixClassComment>true</fixClassComment>
3751 <fixFieldComment>true</fixFieldComment>
3752 <fixMethodComment>true</fixMethodComment>
3753 <fixTags>all</fixTags>
3754 <notimestamp>true</notimestamp>
3755 <!-- Pass some options straight to the javadoc executable since it is easier -->
3756 <additionalJOption>-J-Xmx2G</additionalJOption>
3757 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3758 <additionalDependencies>
3759 <additionalDependency>
3760 <groupId>org.mockito</groupId>
3761 <artifactId>mockito-core</artifactId>
3762 <version>${mockito-core.version}</version>
3763 </additionalDependency>
3764 <additionalDependency>
3765 <groupId>org.hamcrest</groupId>
3766 <artifactId>hamcrest-core</artifactId>
3767 <version>${hamcrest.version}</version>
3768 </additionalDependency>
3769 </additionalDependencies>
3770 <inherited>false</inherited>
3777 <groupId>org.apache.maven.plugins</groupId>
3778 <artifactId>maven-checkstyle-plugin</artifactId>
3779 <version>${maven.checkstyle.version}</version>
3781 <excludes>target/**</excludes>
3786 <groupId>org.scala-tools</groupId>
3787 <artifactId>maven-scala-plugin</artifactId>
3788 <version>2.15.2</version>
3792 <distributionManagement>
3794 <id>hbase.apache.org</id>
3795 <name>HBase Website at hbase.apache.org</name>
3796 <!-- On why this is the tmp dir and not hbase.apache.org, see
3797 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3799 <url>file:///tmp</url>
3801 </distributionManagement>
3804 <id>project.local</id>
3805 <name>project</name>
3806 <url>file:${project.basedir}/src/site/resources/repo</url>