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-archetypes</module>
90 <module>hbase-metrics-api</module>
91 <module>hbase-metrics</module>
92 <module>hbase-backup</module>
93 <module>hbase-zookeeper</module>
95 <!--Add apache snapshots in case we want to use unreleased versions of plugins:
96 e.g. surefire 2.18-SNAPSHOT-->
99 <id>apache.snapshots</id>
100 <url>http://repository.apache.org/snapshots/</url>
102 </pluginRepositories>
104 <connection>scm:git:git://git.apache.org/hbase.git</connection>
105 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/hbase.git</developerConnection>
106 <url>https://git-wip-us.apache.org/repos/asf?p=hbase.git</url>
109 <system>JIRA</system>
110 <url>http://issues.apache.org/jira/browse/HBASE</url>
113 <system>hudson</system>
114 <url>http://hudson.zones.apache.org/hudson/view/HBase/job/HBase-TRUNK/</url>
118 <name>User List</name>
119 <subscribe>user-subscribe@hbase.apache.org</subscribe>
120 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
121 <post>user@hbase.apache.org</post>
122 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
124 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
125 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
129 <name>Developer List</name>
130 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
131 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
132 <post>dev@hbase.apache.org</post>
133 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
135 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
136 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
140 <name>Commits List</name>
141 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
142 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
143 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
146 <name>Issues List</name>
147 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
148 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
149 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
152 <name>Builds List</name>
153 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
154 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
155 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
161 <name>Abhishek Singh Chouhan</name>
162 <email>achouhan@apache.org</email>
163 <timezone>+5</timezone>
167 <name>Amitanand S. Aiyer</name>
168 <email>acube123@apache.org</email>
169 <timezone>-8</timezone>
173 <name>Allan Yang</name>
174 <email>allan163@apache.org</email>
175 <timezone>+8</timezone>
179 <name>Apekshit Sharma</name>
180 <email>appy@apache.org</email>
181 <timezone>-8</timezone>
185 <name>Anastasia Braginsky</name>
186 <email>anastasia@apache.org</email>
187 <timezone>+2</timezone>
191 <name>Andrew Purtell</name>
192 <email>apurtell@apache.org</email>
193 <timezone>-8</timezone>
196 <id>anoopsamjohn</id>
197 <name>Anoop Sam John</name>
198 <email>anoopsamjohn@apache.org</email>
199 <timezone>+5</timezone>
203 <name>Mikhail Antonov</name>
204 <email>antonov@apache.org</email>
205 <timezone>-8</timezone>
208 <id>ashishsinghi</id>
209 <name>Ashish Singhi</name>
210 <email>ashishsinghi@apache.org</email>
211 <timezone>+5</timezone>
215 <name>Ashu Pachauri</name>
216 <email>ashu@apache.org</email>
217 <timezone>+5</timezone>
221 <name>Lijin Bin</name>
222 <email>binlijin@apache.org</email>
223 <timezone>+8</timezone>
227 <name>Toshihiro Suzuki</name>
228 <email>brfrn169@apache.org</email>
229 <timezone>+9</timezone>
233 <name>Sean Busbey</name>
234 <email>busbey@apache.org</email>
235 <timezone>-6</timezone>
239 <name>Heng Chen</name>
240 <email>chenheng@apache.org</email>
241 <timezone>+8</timezone>
245 <name>Chia-Ping Tsai</name>
246 <email>chia7712@apache.org</email>
247 <timezone>+8</timezone>
251 <name>Devaraj Das</name>
252 <email>ddas@apache.org</email>
253 <timezone>-8</timezone>
257 <name>Dima Spivak</name>
258 <email>dimaspivak@apache.org</email>
259 <timezone>-8</timezone>
263 <name>Doug Meil</name>
264 <email>dmeil@apache.org</email>
265 <timezone>-5</timezone>
269 <name>Elliott Clark</name>
270 <email>eclark@apache.org</email>
271 <timezone>-8</timezone>
275 <name>Josh Elser</name>
276 <email>elserj@apache.org</email>
277 <timezone>-5</timezone>
281 <name>Enis Soztutar</name>
282 <email>enis@apache.org</email>
283 <timezone>-8</timezone>
287 <name>Eshcar Hillel</name>
288 <email>eshcar@apache.org</email>
289 <timezone>+2</timezone>
293 <name>Honghua Feng</name>
294 <email>fenghh@apache.org</email>
295 <timezone>+8</timezone>
299 <name>Gary Helmling</name>
300 <email>garyh@apache.org</email>
301 <timezone>-8</timezone>
305 <name>Gregory Chanan</name>
306 <email>gchanan@apache.org</email>
307 <timezone>-8</timezone>
311 <name>Guangxu Cheng</name>
312 <email>gxcheng@apache.org</email>
313 <timezone>+8</timezone>
317 <name>Huaxiang Sun</name>
318 <email>huaxiangsun@apache.org</email>
319 <timezone>-8</timezone>
323 <name>Jean-Daniel Cryans</name>
324 <email>jdcryans@apache.org</email>
325 <timezone>-8</timezone>
329 <name>Jeffrey Zhong</name>
330 <email>jeffreyz@apache.org</email>
331 <timezone>-8</timezone>
335 <name>Jing Chen (Jerry) He</name>
336 <email>jerryjch@apache.org</email>
337 <timezone>-8</timezone>
341 <name>Jesse Yates</name>
342 <email>jyates@apache.org</email>
343 <timezone>-8</timezone>
347 <name>Jonathan Gray</name>
348 <email>jgray@fb.com</email>
349 <timezone>-8</timezone>
353 <name>Jingcheng Du</name>
354 <email>jingchengdu@apache.org</email>
355 <timezone>+8</timezone>
359 <name>Esteban Gutierrez</name>
360 <email>esteban@apache.org</email>
361 <timezone>-8</timezone>
365 <name>Jan Hentschel</name>
366 <email>janh@apache.org</email>
367 <timezone>+1</timezone>
371 <name>Jonathan Hsieh</name>
372 <email>jmhsieh@apache.org</email>
373 <timezone>-8</timezone>
377 <name>Jimmy Xiang</name>
378 <email>jxiang@apache.org</email>
379 <timezone>-8</timezone>
383 <name>Kannan Muthukkaruppan</name>
384 <email>kannan@fb.com</email>
385 <timezone>-8</timezone>
389 <name>Karthik Ranganathan</name>
390 <email>kranganathan@fb.com</email>
391 <timezone>-8</timezone>
395 <name>Lars Francke</name>
396 <email>larsfrancke@apache.org</email>
397 <timezone>Europe/Berlin</timezone>
401 <name>Lars George</name>
402 <email>larsgeorge@apache.org</email>
403 <timezone>+1</timezone>
407 <name>Lars Hofhansl</name>
408 <email>larsh@apache.org</email>
409 <timezone>-8</timezone>
413 <name>Liang Xie</name>
414 <email>liangxie@apache.org</email>
415 <timezone>+8</timezone>
419 <name>Shaohui Liu</name>
420 <email>liushaohui@apache.org</email>
421 <timezone>+8</timezone>
425 <name>Liyin Tang</name>
426 <email>liyin.tang@fb.com</email>
427 <timezone>-8</timezone>
432 <email>liyu@apache.org</email>
433 <timezone>+8</timezone>
437 <name>Mikhail Bautin</name>
438 <email>mbautin@apache.org</email>
439 <timezone>-8</timezone>
443 <name>Matteo Bertozzi</name>
444 <email>mbertozzi@apache.org</email>
445 <timezone>0</timezone>
449 <name>Mike Drob</name>
450 <email>mdrob@apache.org</email>
451 <timezone>-5</timezone>
455 <name>Balazs Meszaros</name>
456 <email>meszibalu@apache.org</email>
457 <timezone>+1</timezone>
461 <name>Misty Stanley-Jones</name>
462 <email>misty@apache.org</email>
463 <timezone>-8</timezone>
467 <name>Nick Dimiduk</name>
468 <email>ndimiduk@apache.org</email>
469 <timezone>-8</timezone>
473 <name>Nicolas Liochon</name>
474 <email>nkeywal@apache.org</email>
475 <timezone>+1</timezone>
478 <id>nspiegelberg</id>
479 <name>Nicolas Spiegelberg</name>
480 <email>nspiegelberg@fb.com</email>
481 <timezone>-8</timezone>
485 <name>Andrey Stepachev</name>
486 <email>octo47@gmail.com</email>
487 <timezone>0</timezone>
491 <name>Zheng Hu</name>
492 <email>openinx@apache.org</email>
493 <timezone>+8</timezone>
497 <name>Peter Somogyi</name>
498 <email>psomogyi@apache.org</email>
499 <timezone>+1</timezone>
503 <name>Rajeshbabu Chintaguntla</name>
504 <email>rajeshbabu@apache.org</email>
505 <timezone>+5</timezone>
509 <name>Ramkrishna S Vasudevan</name>
510 <email>ramkrishna@apache.org</email>
511 <timezone>+5</timezone>
515 <name>Ryan Rawson</name>
516 <email>rawson@apache.org</email>
517 <timezone>-8</timezone>
521 <name>Reid Chan</name>
522 <email>reidchan@apache.org</email>
523 <timezone>+8</timezone>
527 <name>Sergey Shelukhin</name>
528 <email>sershe@apache.org</email>
529 <timezone>-8</timezone>
533 <name>Srikanth Srungarapu</name>
534 <email>ssrungarapu@apache.org</email>
535 <timezone>-8</timezone>
539 <name>Michael Stack</name>
540 <email>stack@apache.org</email>
541 <timezone>-8</timezone>
545 <name>Stephen Yuan Jiang</name>
546 <email>syuanjiang@apache.org</email>
547 <timezone>-8</timezone>
552 <email>yuzhihong@gmail.com</email>
553 <timezone>-8</timezone>
557 <email>tianjy@apache.org</email>
558 <timezone>+8</timezone>
562 <name>Todd Lipcon</name>
563 <email>todd@apache.org</email>
564 <timezone>-8</timezone>
568 <name>Francis Liu</name>
569 <email>toffer@apache.org</email>
570 <timezone>-8</timezone>
574 <name>Vikas Vishwakarma</name>
575 <email>vikasv@apache.org</email>
576 <timezone>+5</timezone>
580 <name>Virag Kothari</name>
581 <email>virag@yahoo-inc.com</email>
582 <timezone>-8</timezone>
586 <name>Phil Yang</name>
587 <email>yangzhe1991@apache.org</email>
588 <timezone>+8</timezone>
592 <name>Guanghao Zhang</name>
593 <email>zghao@apache.org</email>
594 <timezone>+8</timezone>
598 <name>Duo Zhang</name>
599 <email>zhangduo@apache.org</email>
600 <timezone>+8</timezone>
604 <name>Chunhui Shen</name>
605 <email>zjushch@apache.org</email>
606 <timezone>+8</timezone>
610 <name>Rahul Gidwani</name>
611 <email>churro@apache.org</email>
612 <timezone>-8</timezone>
616 <name>Yi Liang</name>
617 <email>yiliang@apache.org</email>
618 <timezone>-8</timezone>
622 <name>Zach York</name>
623 <email>zyork@apache.org</email>
624 <timezone>-8</timezone>
630 <groupId>kr.motd.maven</groupId>
631 <artifactId>os-maven-plugin</artifactId>
632 <version>${os.maven.version}</version>
635 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
636 For specific version use a property and define it in the parent pom.
641 <groupId>org.apache.maven.plugins</groupId>
642 <artifactId>maven-dependency-plugin</artifactId>
643 <version>${maven.dependency.version}</version>
646 <groupId>org.apache.maven.plugins</groupId>
647 <artifactId>maven-javadoc-plugin</artifactId>
648 <version>${maven.javadoc.version}</version>
651 <groupId>org.apache.maven.plugins</groupId>
652 <artifactId>maven-remote-resources-plugin</artifactId>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-shade-plugin</artifactId>
657 <version>${maven.shade.version}</version>
660 <groupId>org.apache.maven.plugins</groupId>
661 <artifactId>maven-release-plugin</artifactId>
663 <!--You need this profile. It'll sign your artifacts.
664 I'm not sure if this config. actually works though.
665 I've been specifying -Papache-release on the command-line
667 <releaseProfiles>apache-release</releaseProfiles>
668 <!--This stops our running tests for each stage of maven release.
669 But it builds the test jar. From SUREFIRE-172.
671 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
672 <goals>${goals}</goals>
673 <pomFileName>pom.xml</pomFileName>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-compiler-plugin</artifactId>
679 <version>${maven.compiler.version}</version>
681 <source>${compileSource}</source>
682 <target>${compileSource}</target>
683 <showWarnings>true</showWarnings>
684 <showDeprecation>false</showDeprecation>
685 <useIncrementalCompilation>false</useIncrementalCompilation>
686 <compilerArgument>-Xlint:-options</compilerArgument>
689 <!-- Test oriented plugins -->
691 <groupId>org.apache.maven.plugins</groupId>
692 <artifactId>maven-surefire-plugin</artifactId>
693 <version>${surefire.version}</version>
695 <!-- by default surefire selects dynamically the connector to the unit tests
696 tool. We want to use always the same as the different connectors can have different
697 bugs and behaviour. -->
699 <groupId>org.apache.maven.surefire</groupId>
700 <artifactId>${surefire.provider}</artifactId>
701 <version>${surefire.version}</version>
704 <!-- Generic testing configuration for all packages -->
706 <groups>${surefire.firstPartGroups}</groups>
707 <failIfNoTests>false</failIfNoTests>
708 <skip>${surefire.skipFirstPart}</skip>
709 <forkCount>${surefire.firstPartForkCount}</forkCount>
710 <reuseForks>false</reuseForks>
711 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
712 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
713 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
714 <systemPropertyVariables>
715 <test.build.classes>${test.build.classes}</test.build.classes>
716 </systemPropertyVariables>
718 <!-- users can add -D option to skip particular test classes
719 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
721 <exclude>${test.exclude.pattern}</exclude>
725 <name>listener</name>
726 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
732 <id>secondPartTestsExecution</id>
738 <skip>${surefire.skipSecondPart}</skip>
739 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
740 <reuseForks>false</reuseForks>
741 <forkCount>${surefire.secondPartForkCount}</forkCount>
742 <groups>${surefire.secondPartGroups}</groups>
743 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
749 <groupId>org.apache.maven.plugins</groupId>
750 <artifactId>maven-surefire-report-plugin</artifactId>
751 <version>${surefire.version}</version>
754 <groupId>org.apache.maven.plugins</groupId>
755 <artifactId>maven-clean-plugin</artifactId>
759 <!--dfs tests have build dir hardcoded. Clean it as part of
761 <directory>build</directory>
767 <groupId>org.codehaus.mojo</groupId>
768 <artifactId>buildnumber-maven-plugin</artifactId>
769 <version>${buildnumber.maven.version}</version>
772 <groupId>org.codehaus.mojo</groupId>
773 <artifactId>findbugs-maven-plugin</artifactId>
774 <version>${findbugs.maven.version}</version>
775 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
777 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
778 <findbugsXmlOutput>true</findbugsXmlOutput>
779 <xmlOutput>true</xmlOutput>
784 <groupId>org.codehaus.mojo</groupId>
785 <artifactId>build-helper-maven-plugin</artifactId>
786 <version>${build.helper.maven.version}</version>
789 <artifactId>maven-antrun-plugin</artifactId>
790 <version>${maven.antrun.version}</version>
793 <groupId>org.jamon</groupId>
794 <artifactId>jamon-maven-plugin</artifactId>
795 <version>${jamon.plugin.version}</version>
797 <!-- Make a jar and put the sources in the jar.
798 In the parent pom, so submodules will do the right thing. -->
800 <groupId>org.apache.maven.plugins</groupId>
801 <artifactId>maven-source-plugin</artifactId>
804 <id>attach-sources</id>
805 <phase>prepare-package</phase>
807 <goal>jar-no-fork</goal>
808 <goal>test-jar-no-fork</goal>
813 <!-- General configuration for submodules who want to build a test jar -->
815 <groupId>org.apache.maven.plugins</groupId>
816 <artifactId>maven-jar-plugin</artifactId>
819 <phase>prepare-package</phase>
821 <!--This goal will install a -test.jar when we do install
822 See http://maven.apache.org/guides/mini/guide-attached-tests.html
824 <goal>test-jar</goal>
829 <skipIfEmpty>true</skipIfEmpty>
831 <exclude>hbase-site.xml</exclude>
832 <exclude>hdfs-site.xml</exclude>
833 <exclude>log4j.properties</exclude>
834 <exclude>mapred-queues.xml</exclude>
835 <exclude>mapred-site.xml</exclude>
836 <!--I was seeing this w/o the below addition:
837 [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]
839 <exclude>*.jar</exclude>
843 <!-- General config for eclipse classpath/settings -->
845 <groupId>org.apache.maven.plugins</groupId>
846 <artifactId>maven-eclipse-plugin</artifactId>
847 <version>${maven.eclipse.version}</version>
849 <!--This plugin's configuration is used to store Eclipse m2e settings
850 only. It has no influence on the Maven build itself. m2e does not
851 provide any safeguards against rogue maven plugins that leak
852 classloaders, modify random files inside workspace or throw nasty
853 exceptions to fail the build.
854 Top level doesn't do any specific configuration currently - left
855 to modules to decide what they want to bind, sans those plugins
856 defined in this pom. -->
858 <groupId>org.eclipse.m2e</groupId>
859 <artifactId>lifecycle-mapping</artifactId>
860 <version>${lifecycle.mapping.version}</version>
862 <lifecycleMappingMetadata>
865 <pluginExecutionFilter>
866 <groupId>org.jacoco</groupId>
867 <artifactId>jacoco-maven-plugin</artifactId>
868 <versionRange>[0.6.2.201302030002,)</versionRange>
870 <goal>prepare-agent</goal>
872 </pluginExecutionFilter>
878 <pluginExecutionFilter>
879 <groupId>org.apache.maven.plugins</groupId>
880 <artifactId>maven-enforcer-plugin</artifactId>
881 <versionRange>${enforcer.version}</versionRange>
885 </pluginExecutionFilter>
891 <pluginExecutionFilter>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-remote-resources-plugin</artifactId>
894 <versionRange>[1.5,)</versionRange>
899 </pluginExecutionFilter>
905 <pluginExecutionFilter>
906 <groupId>org.codehaus.mojo</groupId>
907 <artifactId>buildnumber-maven-plugin</artifactId>
908 <versionRange>[1.3,)</versionRange>
910 <goal>create-timestamp</goal>
912 </pluginExecutionFilter>
915 <runOnConfiguration>true</runOnConfiguration>
916 <runOnIncremental>true</runOnIncremental>
921 </lifecycleMappingMetadata>
925 <!-- excludes are inherited -->
926 <groupId>org.apache.rat</groupId>
927 <artifactId>apache-rat-plugin</artifactId>
928 <version>${apache.rat.version}</version>
931 <exclude>**/*.versionsBackup</exclude>
932 <exclude>**/*.log</exclude>
933 <exclude>**/.*</exclude>
934 <exclude>**/*.tgz</exclude>
935 <exclude>**/*.orig</exclude>
936 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
937 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
938 <exclude>**/0000000000000016310</exclude>
939 <exclude>**/.idea/**</exclude>
940 <exclude>**/*.iml</exclude>
941 <exclude>**/CHANGES.txt</exclude>
942 <exclude>**/generated/**</exclude>
943 <exclude>**/gen-*/**</exclude>
944 <!-- No material contents -->
945 <exclude>conf/regionservers</exclude>
946 <exclude>**/*.avpr</exclude>
947 <exclude>**/*.svg</exclude>
948 <!-- non-standard notice file from jruby included by reference -->
949 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
950 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
951 <exclude>**/src/main/asciidoc/hbase.css</exclude>
952 <!-- MIT http://jquery.org/license -->
953 <exclude>**/jquery.min.js</exclude>
954 <exclude>**/jquery.tablesorter.min.js</exclude>
955 <!-- vector graphics -->
956 <exclude>**/*.vm</exclude>
957 <!-- apache doxia generated -->
958 <exclude>**/control</exclude>
959 <exclude>**/conffile</exclude>
960 <!-- auto-gen docs -->
961 <exclude>docs/*</exclude>
962 <exclude>logs/*</exclude>
963 <!-- exclude source control files -->
964 <exclude>.git/**</exclude>
965 <exclude>.svn/**</exclude>
966 <exclude>**/.settings/**</exclude>
967 <exclude>**/patchprocess/**</exclude>
968 <exclude>src/site/resources/repo/**</exclude>
969 <exclude>**/dependency-reduced-pom.xml</exclude>
970 <exclude>**/rat.txt</exclude>
971 <!-- exclude the shaded protobuf files -->
972 <exclude>**/shaded/com/google/protobuf/**</exclude>
973 <exclude>**/src/main/patches/**</exclude>
978 <artifactId>maven-assembly-plugin</artifactId>
980 <!--Defer to the hbase-assembly sub-module. It
982 <skipAssembly>true</skipAssembly>
986 <groupId>org.xolstice.maven.plugins</groupId>
987 <artifactId>protobuf-maven-plugin</artifactId>
988 <version>${protobuf.plugin.version}</version>
990 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
991 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
992 <clearOutputDirectory>false</clearOutputDirectory>
993 <checkStaleness>true</checkStaleness>
997 <!-- Approach followed here is roughly the same as mentioned here:
998 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
1000 <groupId>org.apache.maven.plugins</groupId>
1001 <artifactId>maven-checkstyle-plugin</artifactId>
1002 <version>${maven.checkstyle.version}</version>
1005 <groupId>org.apache.hbase</groupId>
1006 <artifactId>hbase-checkstyle</artifactId>
1007 <version>${project.version}</version>
1010 <groupId>com.puppycrawl.tools</groupId>
1011 <artifactId>checkstyle</artifactId>
1012 <version>${checkstyle.version}</version>
1016 <configLocation>hbase/checkstyle.xml</configLocation>
1017 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
1018 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1022 <groupId>net.revelc.code</groupId>
1023 <artifactId>warbucks-maven-plugin</artifactId>
1024 <version>${maven.warbucks.version}</version>
1026 <ignoreRuleFailures>false</ignoreRuleFailures>
1029 <!-- exclude the generated java files -->
1030 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
1031 <includeTestClasses>false</includeTestClasses>
1032 <includePublicClasses>true</includePublicClasses>
1033 <includePackagePrivateClasses>false</includePackagePrivateClasses>
1034 <includeProtectedClasses>false</includeProtectedClasses>
1035 <includePrivateClasses>false</includePrivateClasses>
1036 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
1042 <id>run-warbucks</id>
1044 <goal>check</goal><!-- runs at process-test-classes phase -->
1053 <groupId>org.codehaus.mojo</groupId>
1054 <artifactId>build-helper-maven-plugin</artifactId>
1057 <id>negate-license-bundles-property</id>
1059 <goal>bsh-property</goal>
1062 <source>skip.license.check = !${license.bundles.dependencies};</source>
1064 <property>skip.license.check</property>
1071 <groupId>org.apache.maven.plugins</groupId>
1072 <artifactId>maven-enforcer-plugin</artifactId>
1073 <version>${enforcer.version}</version>
1076 <groupId>org.codehaus.mojo</groupId>
1077 <artifactId>extra-enforcer-rules</artifactId>
1078 <version>${extra.enforcer.version}</version>
1081 <!-- version set by parent -->
1084 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1086 <goal>enforce</goal>
1090 <!-- Help people activate profiles correctly -->
1092 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1093 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1094 </evaluateBeanshell>
1095 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1096 <requireMavenVersion>
1097 <version>[${maven.min.version},)</version>
1098 <message>Maven is out of date.
1099 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1100 You appear to be using an older version. You can use either "mvn -version" or
1101 "mvn enforcer:display-info" to verify what version is active.
1102 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1104 </requireMavenVersion>
1105 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1106 <requireJavaVersion>
1107 <version>[${java.min.version},)</version>
1108 <message>Java is out of date.
1109 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1110 You appear to be using an older version. You can use either "mvn -version" or
1111 "mvn enforcer:display-info" to verify what version is active.
1112 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1114 </requireJavaVersion>
1115 <bannedDependencies>
1117 <exclude>xerces:xercesImpl</exclude>
1119 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1120 </bannedDependencies>
1125 <id>banned-jsr305</id>
1127 <goal>enforce</goal>
1131 <bannedDependencies>
1133 <exclude>com.google.code.findbugs:jsr305</exclude>
1135 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1136 </bannedDependencies>
1141 <id>banned-scala</id>
1143 <goal>enforce</goal>
1147 <bannedDependencies>
1149 <exclude>org.scala-lang:scala-library</exclude>
1151 <message>We don't allow Scala, see HBASE-13992.</message>
1152 </bannedDependencies>
1157 <id>check-aggregate-license</id>
1158 <!-- must check after LICENSE is built at 'generate-resources' -->
1159 <phase>process-resources</phase>
1161 <goal>enforce</goal>
1167 File license = new File("${license.aggregate.path}");
1169 // Beanshell does not support try-with-resources,
1170 // so we must close this scanner manually
1171 Scanner scanner = new Scanner(license);
1173 while (scanner.hasNextLine()) {
1174 if (scanner.nextLine().startsWith("ERROR:")) {
1183 License errors detected, for more detail find ERROR in
1184 ${license.aggregate.path}
1186 </evaluateBeanshell>
1188 <skip>${skip.license.check}</skip>
1193 <!-- parent-module only plugins -->
1195 <groupId>org.codehaus.mojo</groupId>
1196 <artifactId>xml-maven-plugin</artifactId>
1197 <version>${xml.maven.version}</version>
1198 <inherited>false</inherited>
1201 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1203 <goal>transform</goal>
1209 <transformationSets>
1210 <!-- For asciidoc -->
1212 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1213 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1215 <include>hbase-default.xml</include>
1217 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1219 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1220 <pattern>^(.*)\.xml$</pattern>
1221 <replacement>$1.adoc</replacement>
1224 <outputDir>${basedir}/target/asciidoc</outputDir>
1225 </transformationSet>
1226 </transformationSets>
1229 <!-- Special configuration for findbugs just in the parent so
1230 the filter file location can be more general (see definition in pluginManagement) -->
1232 <groupId>org.codehaus.mojo</groupId>
1233 <artifactId>findbugs-maven-plugin</artifactId>
1236 <inherited>false</inherited>
1238 <goal>findbugs</goal>
1241 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1247 <groupId>org.apache.maven.plugins</groupId>
1248 <artifactId>maven-checkstyle-plugin</artifactId>
1251 <groupId>org.apache.maven.plugins</groupId>
1252 <artifactId>maven-site-plugin</artifactId>
1253 <version>${maven.site.version}</version>
1254 <inherited>false</inherited>
1257 <!-- add support for ssh/scp -->
1258 <groupId>org.apache.maven.wagon</groupId>
1259 <artifactId>wagon-ssh</artifactId>
1260 <version>${wagon.ssh.version}</version>
1264 <siteDirectory>${basedir}/src/site</siteDirectory>
1265 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1266 <inputEncoding>UTF-8</inputEncoding>
1267 <outputEncoding>UTF-8</outputEncoding>
1270 <!-- For AsciiDoc docs building -->
1272 <groupId>org.asciidoctor</groupId>
1273 <artifactId>asciidoctor-maven-plugin</artifactId>
1274 <version>${asciidoctor.plugin.version}</version>
1275 <inherited>false</inherited>
1278 <groupId>org.asciidoctor</groupId>
1279 <artifactId>asciidoctorj-pdf</artifactId>
1280 <version>${asciidoctorj.pdf.version}</version>
1283 <groupId>org.jruby</groupId>
1284 <artifactId>jruby-complete</artifactId>
1285 <version>${jruby.version}</version>
1289 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1290 <doctype>book</doctype>
1291 <imagesDir>images</imagesDir>
1292 <sourceHighlighter>coderay</sourceHighlighter>
1294 <docVersion>${project.version}</docVersion>
1299 <id>output-html</id>
1302 <goal>process-asciidoc</goal>
1306 <stylesheet>hbase.css</stylesheet>
1308 <backend>html5</backend>
1315 <goal>process-asciidoc</goal>
1318 <backend>pdf</backend>
1323 <idseparator>-</idseparator>
1330 <groupId>org.apache.maven.plugins</groupId>
1331 <artifactId>maven-resources-plugin</artifactId>
1332 <!--$NO-MVN-MAN-VER$ -->
1333 <inherited>false</inherited>
1336 <id>copy-htaccess</id>
1338 <goal>copy-resources</goal>
1342 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1345 <directory>${basedir}/src/site/resources/</directory>
1347 <include>.htaccess</include>
1353 <!-- needed to make the redirect above work -->
1355 <id>copy-empty-book-dir</id>
1357 <goal>copy-resources</goal>
1361 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1364 <directory>${basedir}/src/site/resources/</directory>
1366 <include>book/**</include>
1374 <escapeString>\</escapeString>
1378 <groupId>org.apache.maven.plugins</groupId>
1379 <artifactId>maven-antrun-plugin</artifactId>
1380 <version>${maven.antrun.version}</version>
1381 <inherited>false</inherited>
1382 <!-- Rename the book.pdf generated by asciidoctor -->
1388 <target name="rename file">
1389 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1399 <groupId>org.codehaus.mojo</groupId>
1400 <artifactId>buildnumber-maven-plugin</artifactId>
1403 <phase>validate</phase>
1405 <goal>create-timestamp</goal>
1410 <timestampFormat>yyyy</timestampFormat>
1411 <timestampPropertyName>build.year</timestampPropertyName>
1415 <groupId>org.apache.felix</groupId>
1416 <artifactId>maven-bundle-plugin</artifactId>
1417 <version>${maven.bundle.version}</version>
1418 <inherited>true</inherited>
1419 <extensions>true</extensions>
1422 <!--TODO: Remove after figure how the scala:doc
1423 target is being passed up on jenkins precommit.
1424 Otherrwise, w/o this, we fail scaladoc.
1426 <groupId>org.scala-tools</groupId>
1427 <artifactId>maven-scala-plugin</artifactId>
1428 <version>2.15.2</version>
1433 <!-- override on command line to have generated LICENSE files include
1434 diagnostic info for verifying notice requirements -->
1435 <license.debug.print.included>false</license.debug.print.included>
1436 <!-- When a particular module bundles its depenendencies, should be true -->
1437 <license.bundles.dependencies>false</license.bundles.dependencies>
1438 <!-- modules that include a the logo in their source tree should set true -->
1439 <license.bundles.logo>false</license.bundles.logo>
1440 <!-- modules that include bootstrap in their source tree should set true -->
1441 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1442 <!-- modules that include jquery in their source tree should set true -->
1443 <license.bundles.jquery>false</license.bundles.jquery>
1444 <!-- where to find the generated LICENSE files -->
1445 <license.aggregate.path>
1446 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1447 </license.aggregate.path>
1448 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1449 <maven.build.timestamp.format>
1451 </maven.build.timestamp.format>
1452 <buildDate>${maven.build.timestamp}</buildDate>
1453 <compileSource>1.8</compileSource>
1454 <!-- Build dependencies -->
1455 <maven.min.version>3.0.4</maven.min.version>
1456 <java.min.version>${compileSource}</java.min.version>
1457 <!-- Dependencies -->
1458 <hadoop-two.version>2.7.7</hadoop-two.version>
1459 <hadoop-three.version>3.0.3</hadoop-three.version>
1460 <!-- These must be defined here for downstream build tools that don't look at profiles.
1461 They ought to match the values found in our default hadoop profile, which is
1462 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1463 <hadoop.version>${hadoop-two.version}</hadoop.version>
1464 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1465 <compat.module>hbase-hadoop2-compat</compat.module>
1466 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1467 <!--This property is for hadoops netty. HBase netty
1468 comes in via hbase-thirdparty hbase-shaded-netty-->
1469 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1470 <!-- end HBASE-15925 default hadoop compatibility values -->
1471 <audience-annotations.version>0.5.0</audience-annotations.version>
1472 <avro.version>1.7.7</avro.version>
1473 <commons-codec.version>1.10</commons-codec.version>
1474 <commons-validator.version>1.6</commons-validator.version>
1475 <!-- pretty outdated -->
1476 <commons-io.version>2.5</commons-io.version>
1477 <commons-lang3.version>3.6</commons-lang3.version>
1478 <commons-math.version>3.6.1</commons-math.version>
1479 <disruptor.version>3.3.6</disruptor.version>
1480 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1481 <collections.version>4.1</collections.version>
1482 <httpclient.version>4.5.3</httpclient.version>
1483 <httpcore.version>4.4.6</httpcore.version>
1484 <metrics-core.version>3.2.1</metrics-core.version>
1485 <jackson.version>2.9.2</jackson.version>
1486 <jaxb-api.version>2.2.12</jaxb-api.version>
1487 <jetty.version>9.3.25.v20180904</jetty.version>
1488 <servlet.api.version>3.1.0</servlet.api.version>
1489 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1490 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1491 <jersey.version>2.25.1</jersey.version>
1492 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1493 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1494 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1495 <jruby.version>9.1.13.0</jruby.version>
1496 <junit.version>4.12</junit.version>
1497 <hamcrest.version>1.3</hamcrest.version>
1498 <htrace.version>4.2.0-incubating</htrace.version>
1499 <log4j.version>1.2.17</log4j.version>
1500 <mockito-core.version>2.1.0</mockito-core.version>
1501 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1502 <external.protobuf.version>2.5.0</external.protobuf.version>
1503 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1504 <thrift.path>thrift</thrift.path>
1505 <thrift.version>0.9.3</thrift.version>
1506 <zookeeper.version>3.4.10</zookeeper.version>
1507 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1508 <jline.version>0.9.94</jline.version>
1509 <slf4j.version>1.7.25</slf4j.version>
1510 <clover.version>4.0.3</clover.version>
1511 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1512 <jettison.version>1.3.8</jettison.version>
1513 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1514 <joni.version>2.1.11</joni.version>
1515 <jcodings.version>1.0.18</jcodings.version>
1516 <spy.version>2.12.2</spy.version>
1517 <bouncycastle.version>1.60</bouncycastle.version>
1518 <kerby.version>1.0.1</kerby.version>
1519 <commons-crypto.version>1.0.0</commons-crypto.version>
1520 <curator.version>4.0.0</curator.version>
1521 <!-- Plugin Dependencies -->
1522 <apache.rat.version>0.12</apache.rat.version>
1523 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1524 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1525 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1526 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1527 <checkstyle.version>8.11</checkstyle.version>
1528 <exec.maven.version>1.6.0</exec.maven.version>
1529 <error-prone.version>2.2.0</error-prone.version>
1530 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1531 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1532 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1533 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1534 <maven.antrun.version>1.8</maven.antrun.version>
1535 <maven.bundle.version>3.3.0</maven.bundle.version>
1536 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1537 <maven.compiler.version>3.6.1</maven.compiler.version>
1538 <maven.dependency.version>3.0.1</maven.dependency.version>
1539 <maven.eclipse.version>2.10</maven.eclipse.version>
1540 <maven.install.version>2.5.2</maven.install.version>
1541 <maven.jar.version>3.0.2</maven.jar.version>
1542 <maven.javadoc.version>3.0.0</maven.javadoc.version>
1543 <maven.patch.version>1.2</maven.patch.version>
1544 <maven.shade.version>3.0.0</maven.shade.version>
1545 <maven.site.version>3.4</maven.site.version>
1546 <maven.source.version>3.0.1</maven.source.version>
1547 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1548 <os.maven.version>1.5.0.Final</os.maven.version>
1549 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1550 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1551 <wagon.ssh.version>2.12</wagon.ssh.version>
1552 <xml.maven.version>1.0.1</xml.maven.version>
1553 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1554 <!-- General Packaging -->
1555 <package.prefix>/usr</package.prefix>
1556 <package.conf.dir>/etc/hbase</package.conf.dir>
1557 <package.log.dir>/var/log/hbase</package.log.dir>
1558 <package.pid.dir>/var/run/hbase</package.pid.dir>
1559 <package.release>1</package.release>
1560 <final.name>${project.artifactId}-${project.version}</final.name>
1561 <!-- Intraproject jar naming properties -->
1562 <!-- TODO this is pretty ugly, but works for the moment.
1563 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1564 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1565 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1566 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1567 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1568 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1569 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1570 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1571 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1572 <shell-executable>bash</shell-executable>
1573 <surefire.version>2.21.0</surefire.version>
1574 <surefire.provider>surefire-junit47</surefire.provider>
1575 <!-- default: run small & medium, medium with 2 threads -->
1576 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1577 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1578 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1579 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1580 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1581 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1582 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1583 <test.output.tofile>true</test.output.tofile>
1584 <surefire.timeout>900</surefire.timeout>
1585 <test.exclude.pattern></test.exclude.pattern>
1586 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1587 <surefire.Xmx>2800m</surefire.Xmx>
1588 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1589 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1591 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1592 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1593 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1594 </hbase-surefire.argLine>
1595 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1596 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1597 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1598 </hbase-surefire.cygwin-argLine>
1599 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1600 <argLine>${hbase-surefire.argLine}</argLine>
1601 <jacoco.version>0.7.5.201505241946</jacoco.version>
1602 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1603 <enforcer.version>3.0.0-M1</enforcer.version>
1604 <!-- Location of test resources -->
1605 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1606 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1607 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1608 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1609 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1610 <build.id>${maven.build.timestamp}</build.id>
1611 <shell-executable>bash</shell-executable>
1612 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1613 property as of javadoc-plugin 3.0.0 -->
1614 <doclint>none</doclint>
1616 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1617 <dependencyManagement>
1620 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1621 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1622 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1623 implementation of the same, because Hadoop also uses this version
1624 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1625 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1627 <!-- Intra-module dependencies -->
1629 <groupId>org.apache.hbase</groupId>
1630 <artifactId>hbase-annotations</artifactId>
1631 <version>${project.version}</version>
1632 <type>test-jar</type>
1633 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1636 <artifactId>hbase-backup</artifactId>
1637 <groupId>org.apache.hbase</groupId>
1638 <version>${project.version}</version>
1641 <groupId>org.apache.hbase</groupId>
1642 <artifactId>hbase-error-prone</artifactId>
1643 <version>${project.version}</version>
1646 <groupId>org.apache.hbase</groupId>
1647 <artifactId>hbase-common</artifactId>
1648 <version>${project.version}</version>
1651 <groupId>org.apache.hbase</groupId>
1652 <artifactId>hbase-common</artifactId>
1653 <version>${project.version}</version>
1654 <type>test-jar</type>
1658 <groupId>org.apache.hbase</groupId>
1659 <artifactId>hbase-protocol-shaded</artifactId>
1660 <version>${project.version}</version>
1663 <groupId>org.apache.hbase</groupId>
1664 <artifactId>hbase-protocol</artifactId>
1665 <version>${project.version}</version>
1668 <groupId>org.apache.hbase</groupId>
1669 <artifactId>hbase-procedure</artifactId>
1670 <version>${project.version}</version>
1673 <groupId>org.apache.hbase</groupId>
1674 <artifactId>hbase-procedure</artifactId>
1675 <version>${project.version}</version>
1676 <type>test-jar</type>
1679 <groupId>org.apache.hbase</groupId>
1680 <artifactId>hbase-hadoop-compat</artifactId>
1681 <version>${project.version}</version>
1684 <groupId>org.apache.hbase</groupId>
1685 <artifactId>hbase-hadoop-compat</artifactId>
1686 <version>${project.version}</version>
1687 <type>test-jar</type>
1691 <groupId>org.apache.hbase</groupId>
1692 <artifactId>${compat.module}</artifactId>
1693 <version>${project.version}</version>
1696 <groupId>org.apache.hbase</groupId>
1697 <artifactId>${compat.module}</artifactId>
1698 <version>${project.version}</version>
1699 <type>test-jar</type>
1703 <artifactId>hbase-rsgroup</artifactId>
1704 <groupId>org.apache.hbase</groupId>
1705 <version>${project.version}</version>
1708 <artifactId>hbase-rsgroup</artifactId>
1709 <groupId>org.apache.hbase</groupId>
1710 <version>${project.version}</version>
1711 <type>test-jar</type>
1715 <artifactId>hbase-replication</artifactId>
1716 <groupId>org.apache.hbase</groupId>
1717 <version>${project.version}</version>
1720 <artifactId>hbase-http</artifactId>
1721 <groupId>org.apache.hbase</groupId>
1722 <version>${project.version}</version>
1725 <artifactId>hbase-http</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1728 <type>test-jar</type>
1732 <artifactId>hbase-server</artifactId>
1733 <groupId>org.apache.hbase</groupId>
1734 <version>${project.version}</version>
1737 <artifactId>hbase-server</artifactId>
1738 <groupId>org.apache.hbase</groupId>
1739 <version>${project.version}</version>
1740 <type>test-jar</type>
1744 <artifactId>hbase-mapreduce</artifactId>
1745 <groupId>org.apache.hbase</groupId>
1746 <version>${project.version}</version>
1749 <artifactId>hbase-mapreduce</artifactId>
1750 <groupId>org.apache.hbase</groupId>
1751 <version>${project.version}</version>
1752 <type>test-jar</type>
1756 <artifactId>hbase-endpoint</artifactId>
1757 <groupId>org.apache.hbase</groupId>
1758 <version>${project.version}</version>
1761 <artifactId>hbase-shell</artifactId>
1762 <groupId>org.apache.hbase</groupId>
1763 <version>${project.version}</version>
1766 <artifactId>hbase-shell</artifactId>
1767 <groupId>org.apache.hbase</groupId>
1768 <version>${project.version}</version>
1769 <type>test-jar</type>
1773 <artifactId>hbase-thrift</artifactId>
1774 <groupId>org.apache.hbase</groupId>
1775 <version>${project.version}</version>
1778 <artifactId>hbase-thrift</artifactId>
1779 <groupId>org.apache.hbase</groupId>
1780 <version>${project.version}</version>
1781 <type>test-jar</type>
1785 <groupId>org.apache.hbase</groupId>
1786 <artifactId>hbase-testing-util</artifactId>
1787 <version>${project.version}</version>
1791 <artifactId>hbase-examples</artifactId>
1792 <groupId>org.apache.hbase</groupId>
1793 <version>${project.version}</version>
1796 <groupId>org.apache.hbase</groupId>
1797 <artifactId>hbase-external-blockcache</artifactId>
1798 <version>${project.version}</version>
1801 <artifactId>hbase-it</artifactId>
1802 <groupId>org.apache.hbase</groupId>
1803 <version>${project.version}</version>
1804 <type>test-jar</type>
1808 <artifactId>hbase-client</artifactId>
1809 <groupId>org.apache.hbase</groupId>
1810 <version>${project.version}</version>
1813 <artifactId>hbase-metrics-api</artifactId>
1814 <groupId>org.apache.hbase</groupId>
1815 <version>${project.version}</version>
1818 <artifactId>hbase-metrics-api</artifactId>
1819 <groupId>org.apache.hbase</groupId>
1820 <version>${project.version}</version>
1821 <type>test-jar</type>
1825 <artifactId>hbase-metrics</artifactId>
1826 <groupId>org.apache.hbase</groupId>
1827 <version>${project.version}</version>
1830 <artifactId>hbase-metrics</artifactId>
1831 <groupId>org.apache.hbase</groupId>
1832 <version>${project.version}</version>
1833 <type>test-jar</type>
1837 <artifactId>hbase-rest</artifactId>
1838 <groupId>org.apache.hbase</groupId>
1839 <version>${project.version}</version>
1842 <artifactId>hbase-resource-bundle</artifactId>
1843 <groupId>org.apache.hbase</groupId>
1844 <version>${project.version}</version>
1847 <artifactId>hbase-zookeeper</artifactId>
1848 <groupId>org.apache.hbase</groupId>
1849 <version>${project.version}</version>
1852 <artifactId>hbase-zookeeper</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1855 <type>test-jar</type>
1859 <groupId>org.apache.hbase</groupId>
1860 <artifactId>hbase-shaded-client</artifactId>
1861 <version>${project.version}</version>
1864 <groupId>org.apache.hbase</groupId>
1865 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1866 <version>${project.version}</version>
1869 <groupId>org.apache.hbase</groupId>
1870 <artifactId>hbase-shaded-mapreduce</artifactId>
1871 <version>${project.version}</version>
1873 <!-- General dependencies -->
1875 <groupId>com.github.stephenc.findbugs</groupId>
1876 <artifactId>findbugs-annotations</artifactId>
1877 <version>${findbugs-annotations}</version>
1879 <!-- General dependencies -->
1881 <groupId>org.codehaus.jettison</groupId>
1882 <artifactId>jettison</artifactId>
1883 <version>${jettison.version}</version>
1886 <groupId>org.slf4j</groupId>
1887 <artifactId>slf4j-log4j12</artifactId>
1888 <version>${slf4j.version}</version>
1891 <groupId>log4j</groupId>
1892 <artifactId>log4j</artifactId>
1893 <version>${log4j.version}</version>
1895 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1897 <groupId>org.apache.avro</groupId>
1898 <artifactId>avro</artifactId>
1899 <version>${avro.version}</version>
1901 <!--This is not used by hbase directly. Used by thrift,
1902 dropwizard and zk.-->
1904 <groupId>org.slf4j</groupId>
1905 <artifactId>slf4j-api</artifactId>
1906 <version>${slf4j.version}</version>
1909 <groupId>io.dropwizard.metrics</groupId>
1910 <artifactId>metrics-core</artifactId>
1911 <version>${metrics-core.version}</version>
1914 <groupId>org.apache.httpcomponents</groupId>
1915 <artifactId>httpclient</artifactId>
1916 <version>${httpclient.version}</version>
1919 <groupId>org.apache.httpcomponents</groupId>
1920 <artifactId>httpcore</artifactId>
1921 <version>${httpcore.version}</version>
1924 <groupId>commons-codec</groupId>
1925 <artifactId>commons-codec</artifactId>
1926 <version>${commons-codec.version}</version>
1929 <groupId>commons-validator</groupId>
1930 <artifactId>commons-validator</artifactId>
1931 <version>${commons-validator.version}</version>
1934 <groupId>commons-io</groupId>
1935 <artifactId>commons-io</artifactId>
1936 <version>${commons-io.version}</version>
1939 <groupId>org.apache.commons</groupId>
1940 <artifactId>commons-lang3</artifactId>
1941 <version>${commons-lang3.version}</version>
1944 <groupId>org.apache.commons</groupId>
1945 <artifactId>commons-math3</artifactId>
1946 <version>${commons-math.version}</version>
1949 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1952 <groupId>commons-logging</groupId>
1953 <artifactId>commons-logging</artifactId>
1954 <version>1.2</version>
1957 <groupId>org.apache.zookeeper</groupId>
1958 <artifactId>zookeeper</artifactId>
1959 <version>${zookeeper.version}</version>
1962 <groupId>jline</groupId>
1963 <artifactId>jline</artifactId>
1966 <groupId>com.sun.jmx</groupId>
1967 <artifactId>jmxri</artifactId>
1970 <groupId>com.sun.jdmk</groupId>
1971 <artifactId>jmxtools</artifactId>
1974 <groupId>javax.jms</groupId>
1975 <artifactId>jms</artifactId>
1978 <groupId>io.netty</groupId>
1979 <artifactId>netty</artifactId>
1984 <groupId>jline</groupId>
1985 <artifactId>jline</artifactId>
1986 <version>${jline.version}</version>
1989 <groupId>org.apache.thrift</groupId>
1990 <artifactId>libthrift</artifactId>
1991 <version>${thrift.version}</version>
1994 <groupId>org.slf4j</groupId>
1995 <artifactId>slf4j-simple</artifactId>
2000 <groupId>org.jruby</groupId>
2001 <artifactId>jruby-complete</artifactId>
2002 <version>${jruby.version}</version>
2005 <groupId>org.jruby.jcodings</groupId>
2006 <artifactId>jcodings</artifactId>
2007 <version>${jcodings.version}</version>
2010 <groupId>org.jruby.joni</groupId>
2011 <artifactId>joni</artifactId>
2012 <version>${joni.version}</version>
2015 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2016 <artifactId>jackson-jaxrs-json-provider</artifactId>
2017 <version>${jackson.version}</version>
2020 <groupId>com.fasterxml.jackson.core</groupId>
2021 <artifactId>jackson-annotations</artifactId>
2022 <version>${jackson.version}</version>
2025 <groupId>com.fasterxml.jackson.core</groupId>
2026 <artifactId>jackson-core</artifactId>
2027 <version>${jackson.version}</version>
2030 <groupId>com.fasterxml.jackson.core</groupId>
2031 <artifactId>jackson-databind</artifactId>
2032 <version>${jackson.version}</version>
2035 <groupId>org.jamon</groupId>
2036 <artifactId>jamon-runtime</artifactId>
2037 <version>${jamon-runtime.version}</version>
2039 <!-- REST dependencies -->
2041 <groupId>javax.servlet</groupId>
2042 <artifactId>javax.servlet-api</artifactId>
2043 <version>${servlet.api.version}</version>
2046 <groupId>javax.ws.rs</groupId>
2047 <artifactId>javax.ws.rs-api</artifactId>
2048 <version>${wx.rs.api.version}</version>
2051 <groupId>org.eclipse.jetty</groupId>
2052 <artifactId>jetty-server</artifactId>
2053 <version>${jetty.version}</version>
2056 <groupId>org.eclipse.jetty</groupId>
2057 <artifactId>jetty-servlet</artifactId>
2058 <version>${jetty.version}</version>
2061 <groupId>org.eclipse.jetty</groupId>
2062 <artifactId>servlet-api</artifactId>
2067 <groupId>org.eclipse.jetty</groupId>
2068 <artifactId>jetty-security</artifactId>
2069 <version>${jetty.version}</version>
2072 <groupId>org.eclipse.jetty</groupId>
2073 <artifactId>jetty-http</artifactId>
2074 <version>${jetty.version}</version>
2077 <groupId>org.eclipse.jetty</groupId>
2078 <artifactId>jetty-util</artifactId>
2079 <version>${jetty.version}</version>
2082 <groupId>org.eclipse.jetty</groupId>
2083 <artifactId>jetty-io</artifactId>
2084 <version>${jetty.version}</version>
2087 <groupId>org.eclipse.jetty</groupId>
2088 <artifactId>jetty-jmx</artifactId>
2089 <version>${jetty.version}</version>
2092 <groupId>org.eclipse.jetty</groupId>
2093 <artifactId>jetty-webapp</artifactId>
2094 <version>${jetty.version}</version>
2097 <groupId>org.eclipse.jetty</groupId>
2098 <artifactId>jetty-util-ajax</artifactId>
2099 <version>${jetty.version}</version>
2102 <groupId>com.google.protobuf</groupId>
2103 <artifactId>protobuf-java</artifactId>
2104 <version>${external.protobuf.version}</version>
2107 <groupId>org.glassfish.jersey.containers</groupId>
2108 <artifactId>jersey-container-servlet-core</artifactId>
2109 <version>${jersey.version}</version>
2112 <groupId>org.glassfish.jersey.core</groupId>
2113 <artifactId>jersey-client</artifactId>
2114 <version>${jersey.version}</version>
2117 <groupId>org.glassfish.jersey.core</groupId>
2118 <artifactId>jersey-server</artifactId>
2119 <version>${jersey.version}</version>
2122 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2123 <groupId>org.glassfish.web</groupId>
2124 <artifactId>javax.servlet.jsp</artifactId>
2125 <version>${glassfish.jsp.version}</version>
2128 <!-- this lib is used by the compiled Jsp from the above JspC -->
2129 <groupId>javax.servlet.jsp</groupId>
2130 <artifactId>javax.servlet.jsp-api</artifactId>
2131 <version>2.3.1</version>
2134 <groupId>org.glassfish</groupId>
2135 <artifactId>javax.el</artifactId>
2136 <version>${glassfish.el.version}</version>
2139 <groupId>javax.xml.bind</groupId>
2140 <artifactId>jaxb-api</artifactId>
2141 <version>${jaxb-api.version}</version>
2144 <groupId>javax.xml.stream</groupId>
2145 <artifactId>stax-api</artifactId>
2150 <groupId>junit</groupId>
2151 <artifactId>junit</artifactId>
2152 <version>${junit.version}</version>
2155 <groupId>org.hamcrest</groupId>
2156 <artifactId>hamcrest-core</artifactId>
2157 <version>${hamcrest.version}</version>
2161 <groupId>org.mockito</groupId>
2162 <artifactId>mockito-core</artifactId>
2163 <version>${mockito-core.version}</version>
2167 <groupId>org.apache.htrace</groupId>
2168 <artifactId>htrace-core4</artifactId>
2169 <version>${htrace.version}</version>
2172 <groupId>com.lmax</groupId>
2173 <artifactId>disruptor</artifactId>
2174 <version>${disruptor.version}</version>
2177 <groupId>net.spy</groupId>
2178 <artifactId>spymemcached</artifactId>
2179 <version>${spy.version}</version>
2180 <optional>true</optional>
2183 <groupId>org.bouncycastle</groupId>
2184 <artifactId>bcprov-jdk15on</artifactId>
2185 <version>${bouncycastle.version}</version>
2189 <groupId>org.apache.kerby</groupId>
2190 <artifactId>kerb-core</artifactId>
2191 <version>${kerby.version}</version>
2194 <groupId>org.apache.kerby</groupId>
2195 <artifactId>kerb-client</artifactId>
2196 <version>${kerby.version}</version>
2199 <groupId>org.apache.kerby</groupId>
2200 <artifactId>kerb-simplekdc</artifactId>
2201 <version>${kerby.version}</version>
2204 <groupId>org.apache.commons</groupId>
2205 <artifactId>commons-crypto</artifactId>
2206 <version>${commons-crypto.version}</version>
2209 <groupId>net.java.dev.jna</groupId>
2210 <artifactId>jna</artifactId>
2215 <groupId>org.apache.curator</groupId>
2216 <artifactId>curator-framework</artifactId>
2217 <version>${curator.version}</version>
2220 <groupId>org.apache.zookeeper</groupId>
2221 <artifactId>zookeeper</artifactId>
2226 <groupId>org.apache.curator</groupId>
2227 <artifactId>curator-client</artifactId>
2228 <version>${curator.version}</version>
2231 <groupId>com.google.guava</groupId>
2232 <artifactId>guava</artifactId>
2235 <groupId>org.apache.zookeeper</groupId>
2236 <artifactId>zookeeper</artifactId>
2241 <groupId>org.apache.curator</groupId>
2242 <artifactId>curator-recipes</artifactId>
2243 <version>${curator.version}</version>
2246 <groupId>com.google.guava</groupId>
2247 <artifactId>guava</artifactId>
2250 <groupId>org.apache.zookeeper</groupId>
2251 <artifactId>zookeeper</artifactId>
2256 <groupId>org.apache.yetus</groupId>
2257 <artifactId>audience-annotations</artifactId>
2258 <version>${audience-annotations.version}</version>
2261 <groupId>org.apache.hbase.thirdparty</groupId>
2262 <artifactId>hbase-shaded-miscellaneous</artifactId>
2263 <version>${hbase-thirdparty.version}</version>
2266 <groupId>org.apache.hbase.thirdparty</groupId>
2267 <artifactId>hbase-shaded-netty</artifactId>
2268 <version>${hbase-thirdparty.version}</version>
2271 <groupId>org.apache.hbase.thirdparty</groupId>
2272 <artifactId>hbase-shaded-protobuf</artifactId>
2273 <version>${hbase-thirdparty.version}</version>
2276 </dependencyManagement>
2278 <!--REMOVE THIS. HERE TEMPORARILY.
2279 Implication is that every module needs junit which is not so.
2280 Cannot undo though because build runs test on each module and
2281 it fails if no junit. TODO. -->
2283 <groupId>junit</groupId>
2284 <artifactId>junit</artifactId>
2289 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2294 <id>apache.releases.https</id>
2295 <username>hbase_committer</username>
2296 <password>********</password>
2300 <id>apache.snapshots.https</id>
2301 <username>hbase_committer</username>
2302 <password>********</password>
2310 $ mvn -s /my/path/settings.xml deploy
2318 <name>!skip-rsgroup</name>
2322 <module>hbase-rsgroup</module>
2326 <id>build-with-jdk8</id>
2334 <groupId>org.codehaus.mojo</groupId>
2335 <artifactId>findbugs-maven-plugin</artifactId>
2336 <version>${findbugs.maven.version}</version>
2337 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2339 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2340 <findbugsXmlOutput>true</findbugsXmlOutput>
2341 <xmlOutput>true</xmlOutput>
2342 <effort>Max</effort>
2346 <groupId>com.github.spotbugs</groupId>
2347 <artifactId>spotbugs</artifactId>
2348 <version>${spotbugs.version}</version>
2356 <!-- profile activated by the Jenkins patch testing job -->
2358 <id>jenkins.patch</id>
2360 <activeByDefault>false</activeByDefault>
2362 <name>HBasePatchProcess</name>
2366 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2371 <groupId>org.apache.maven.plugins</groupId>
2372 <artifactId>maven-antrun-plugin</artifactId>
2373 <inherited>false</inherited>
2376 <phase>validate</phase>
2382 <echo>Maven Execution Environment</echo>
2383 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2395 <activeByDefault>false</activeByDefault>
2400 <groupId>org.jacoco</groupId>
2401 <artifactId>jacoco-maven-plugin</artifactId>
2402 <version>${jacoco.version}</version>
2405 <id>prepare-agent</id>
2407 <goal>prepare-agent</goal>
2412 <phase>prepare-package</phase>
2419 <systemPropertyVariables>
2420 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2421 </systemPropertyVariables>
2423 <exclude>**/generated/**/*.class</exclude>
2433 <activeByDefault>false</activeByDefault>
2435 <family>Linux</family>
2439 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2446 <family>Mac</family>
2450 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2457 <family>Windows</family>
2461 <build.platform>cygwin</build.platform>
2462 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2465 <!-- this profile should be activated for release builds -->
2471 <groupId>org.apache.rat</groupId>
2472 <artifactId>apache-rat-plugin</artifactId>
2475 <phase>package</phase>
2483 <groupId>org.apache.maven.plugins</groupId>
2484 <artifactId>maven-enforcer-plugin</artifactId>
2485 <version>${enforcer.version}</version>
2488 <enforceBytecodeVersion>
2489 <maxJdkVersion>${compileSource}</maxJdkVersion>
2490 <message>HBase has unsupported dependencies.
2491 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2492 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2493 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2494 Non-release builds can temporarily build with a newer JDK version by setting the
2495 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2497 </enforceBytecodeVersion>
2504 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2505 <!-- Submodules that need hadoop dependencies should declare
2506 profiles with activation properties matching the profile here.
2507 Generally, it should be sufficient to copy the first
2508 few lines of the profile you want to match. -->
2509 <!-- profile for building against Hadoop 2.0.x
2510 This is the default.
2516 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2517 <!--h2--><name>!hadoop.profile</name>
2521 <module>hbase-hadoop2-compat</module>
2524 <hadoop.version>${hadoop-two.version}</hadoop.version>
2525 <compat.module>hbase-hadoop2-compat</compat.module>
2526 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2527 <!--This property is for hadoops netty. HBase netty
2528 comes in via hbase-thirdparty hbase-shaded-netty-->
2529 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2531 <dependencyManagement>
2534 <groupId>org.apache.hadoop</groupId>
2535 <artifactId>hadoop-mapreduce-client-core</artifactId>
2536 <version>${hadoop-two.version}</version>
2539 <groupId>io.netty</groupId>
2540 <artifactId>netty</artifactId>
2543 <groupId>javax.servlet</groupId>
2544 <artifactId>servlet-api</artifactId>
2547 <groupId>javax.inject</groupId>
2548 <artifactId>javax.inject</artifactId>
2551 <groupId>org.codehaus.jackson</groupId>
2552 <artifactId>jackson-core-asl</artifactId>
2555 <groupId>org.codehaus.jackson</groupId>
2556 <artifactId>jackson-mapper-asl</artifactId>
2561 <groupId>org.apache.hadoop</groupId>
2562 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2563 <version>${hadoop-two.version}</version>
2566 <groupId>io.netty</groupId>
2567 <artifactId>netty</artifactId>
2570 <groupId>javax.servlet</groupId>
2571 <artifactId>servlet-api</artifactId>
2576 <groupId>org.apache.hadoop</groupId>
2577 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2578 <version>${hadoop-two.version}</version>
2579 <type>test-jar</type>
2583 <groupId>io.netty</groupId>
2584 <artifactId>netty</artifactId>
2587 <groupId>javax.servlet</groupId>
2588 <artifactId>servlet-api</artifactId>
2593 <groupId>org.apache.hadoop</groupId>
2594 <artifactId>hadoop-hdfs</artifactId>
2595 <version>${hadoop-two.version}</version>
2598 <groupId>javax.servlet.jsp</groupId>
2599 <artifactId>jsp-api</artifactId>
2602 <groupId>javax.servlet</groupId>
2603 <artifactId>servlet-api</artifactId>
2606 <groupId>io.netty</groupId>
2607 <artifactId>netty</artifactId>
2610 <groupId>stax</groupId>
2611 <artifactId>stax-api</artifactId>
2614 <groupId>xerces</groupId>
2615 <artifactId>xercesImpl</artifactId>
2618 <groupId>org.codehaus.jackson</groupId>
2619 <artifactId>jackson-core-asl</artifactId>
2622 <groupId>org.codehaus.jackson</groupId>
2623 <artifactId>jackson-mapper-asl</artifactId>
2626 <groupId>com.google.guava</groupId>
2627 <artifactId>guava</artifactId>
2632 <groupId>org.apache.hadoop</groupId>
2633 <artifactId>hadoop-hdfs</artifactId>
2634 <version>${hadoop-two.version}</version>
2635 <type>test-jar</type>
2639 <groupId>javax.servlet.jsp</groupId>
2640 <artifactId>jsp-api</artifactId>
2643 <groupId>javax.servlet</groupId>
2644 <artifactId>servlet-api</artifactId>
2647 <groupId>io.netty</groupId>
2648 <artifactId>netty</artifactId>
2651 <groupId>stax</groupId>
2652 <artifactId>stax-api</artifactId>
2655 <groupId>xerces</groupId>
2656 <artifactId>xercesImpl</artifactId>
2659 <groupId>org.codehaus.jackson</groupId>
2660 <artifactId>jackson-core-asl</artifactId>
2663 <groupId>org.codehaus.jackson</groupId>
2664 <artifactId>jackson-mapper-asl</artifactId>
2667 <groupId>com.google.guava</groupId>
2668 <artifactId>guava</artifactId>
2673 <groupId>org.apache.hadoop</groupId>
2674 <artifactId>hadoop-auth</artifactId>
2675 <version>${hadoop-two.version}</version>
2678 <groupId>org.apache.hadoop</groupId>
2679 <artifactId>hadoop-common</artifactId>
2680 <version>${hadoop-two.version}</version>
2683 <groupId>commons-beanutils</groupId>
2684 <artifactId>commons-beanutils</artifactId>
2687 <groupId>javax.servlet.jsp</groupId>
2688 <artifactId>jsp-api</artifactId>
2691 <groupId>javax.servlet</groupId>
2692 <artifactId>servlet-api</artifactId>
2695 <groupId>stax</groupId>
2696 <artifactId>stax-api</artifactId>
2699 <groupId>io.netty</groupId>
2700 <artifactId>netty</artifactId>
2703 <groupId>com.google.code.findbugs</groupId>
2704 <artifactId>jsr305</artifactId>
2707 <groupId>junit</groupId>
2708 <artifactId>junit</artifactId>
2711 <groupId>org.codehaus.jackson</groupId>
2712 <artifactId>jackson-core-asl</artifactId>
2715 <groupId>org.codehaus.jackson</groupId>
2716 <artifactId>jackson-mapper-asl</artifactId>
2721 <groupId>org.apache.hadoop</groupId>
2722 <artifactId>hadoop-client</artifactId>
2723 <version>${hadoop-two.version}</version>
2725 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2726 Where do we actually need it? -->
2728 <groupId>org.apache.hadoop</groupId>
2729 <artifactId>hadoop-minicluster</artifactId>
2730 <version>${hadoop-two.version}</version>
2733 <groupId>commons-httpclient</groupId>
2734 <artifactId>commons-httpclient</artifactId>
2737 <groupId>javax.servlet.jsp</groupId>
2738 <artifactId>jsp-api</artifactId>
2741 <groupId>javax.servlet</groupId>
2742 <artifactId>servlet-api</artifactId>
2745 <groupId>stax</groupId>
2746 <artifactId>stax-api</artifactId>
2749 <groupId>io.netty</groupId>
2750 <artifactId>netty</artifactId>
2753 <groupId>com.google.code.findbugs</groupId>
2754 <artifactId>jsr305</artifactId>
2759 <groupId>org.apache.hadoop</groupId>
2760 <artifactId>hadoop-minikdc</artifactId>
2761 <version>${hadoop-two.version}</version>
2765 </dependencyManagement>
2768 profile for building against Hadoop 3.0.0. Activate using:
2769 mvn -Dhadoop.profile=3.0
2775 <name>hadoop.profile</name>
2780 <!--For now, use hadoop2 compat module-->
2781 <module>hbase-hadoop2-compat</module>
2784 <hadoop.version>${hadoop-three.version}</hadoop.version>
2785 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2786 <compat.module>hbase-hadoop2-compat</compat.module>
2787 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2788 <!--This property is for hadoops netty. HBase netty
2789 comes in via hbase-thirdparty hbase-shaded-netty-->
2790 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2792 <dependencyManagement>
2795 <groupId>org.apache.hadoop</groupId>
2796 <artifactId>hadoop-mapreduce-client-core</artifactId>
2797 <version>${hadoop-three.version}</version>
2800 <groupId>io.netty</groupId>
2801 <artifactId>netty</artifactId>
2804 <groupId>javax.inject</groupId>
2805 <artifactId>javax.inject</artifactId>
2808 <groupId>org.codehaus.jackson</groupId>
2809 <artifactId>jackson-core-asl</artifactId>
2812 <groupId>org.codehaus.jackson</groupId>
2813 <artifactId>jackson-mapper-asl</artifactId>
2816 <groupId>com.google.guava</groupId>
2817 <artifactId>guava</artifactId>
2822 <groupId>org.apache.hadoop</groupId>
2823 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2824 <version>${hadoop-three.version}</version>
2827 <groupId>io.netty</groupId>
2828 <artifactId>netty</artifactId>
2833 <groupId>org.apache.hadoop</groupId>
2834 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2835 <version>${hadoop-three.version}</version>
2836 <type>test-jar</type>
2840 <groupId>io.netty</groupId>
2841 <artifactId>netty</artifactId>
2846 <groupId>org.apache.hadoop</groupId>
2847 <artifactId>hadoop-hdfs</artifactId>
2848 <version>${hadoop-three.version}</version>
2851 <groupId>com.sun.jersey</groupId>
2852 <artifactId>jersey-core</artifactId>
2855 <groupId>com.sun.jersey</groupId>
2856 <artifactId>jersey-server</artifactId>
2859 <groupId>javax.servlet.jsp</groupId>
2860 <artifactId>jsp-api</artifactId>
2863 <groupId>javax.servlet</groupId>
2864 <artifactId>servlet-api</artifactId>
2867 <groupId>stax</groupId>
2868 <artifactId>stax-api</artifactId>
2871 <groupId>xerces</groupId>
2872 <artifactId>xercesImpl</artifactId>
2875 <groupId>org.codehaus.jackson</groupId>
2876 <artifactId>jackson-core-asl</artifactId>
2879 <groupId>org.codehaus.jackson</groupId>
2880 <artifactId>jackson-mapper-asl</artifactId>
2883 <groupId>com.google.guava</groupId>
2884 <artifactId>guava</artifactId>
2889 <groupId>org.apache.hadoop</groupId>
2890 <artifactId>hadoop-hdfs</artifactId>
2891 <version>${hadoop-three.version}</version>
2892 <type>test-jar</type>
2896 <groupId>javax.servlet.jsp</groupId>
2897 <artifactId>jsp-api</artifactId>
2900 <groupId>javax.servlet</groupId>
2901 <artifactId>servlet-api</artifactId>
2904 <groupId>stax</groupId>
2905 <artifactId>stax-api</artifactId>
2908 <groupId>xerces</groupId>
2909 <artifactId>xercesImpl</artifactId>
2912 <groupId>org.codehaus.jackson</groupId>
2913 <artifactId>jackson-core-asl</artifactId>
2916 <groupId>org.codehaus.jackson</groupId>
2917 <artifactId>jackson-mapper-asl</artifactId>
2920 <groupId>com.google.guava</groupId>
2921 <artifactId>guava</artifactId>
2924 <groupId>com.sun.jersey</groupId>
2925 <artifactId>jersey-core</artifactId>
2930 <groupId>org.apache.hadoop</groupId>
2931 <artifactId>hadoop-hdfs</artifactId>
2932 <version>${hadoop-three.version}</version>
2933 <type>test-jar</type>
2934 <classifier>tests</classifier>
2938 <groupId>com.sun.jersey</groupId>
2939 <artifactId>jersey-core</artifactId>
2944 <groupId>org.apache.hadoop</groupId>
2945 <artifactId>hadoop-auth</artifactId>
2946 <version>${hadoop-three.version}</version>
2949 <groupId>com.google.guava</groupId>
2950 <artifactId>guava</artifactId>
2953 <groupId>net.minidev</groupId>
2954 <artifactId>json-smart</artifactId>
2959 <groupId>org.apache.hadoop</groupId>
2960 <artifactId>hadoop-common</artifactId>
2961 <version>${hadoop-three.version}</version>
2964 <groupId>com.sun.jersey</groupId>
2965 <artifactId>jersey-core</artifactId>
2968 <groupId>com.sun.jersey</groupId>
2969 <artifactId>jersey-json</artifactId>
2972 <groupId>com.sun.jersey</groupId>
2973 <artifactId>jersey-servlet</artifactId>
2976 <groupId>com.sun.jersey</groupId>
2977 <artifactId>jersey-server</artifactId>
2980 <groupId>javax.servlet.jsp</groupId>
2981 <artifactId>jsp-api</artifactId>
2984 <groupId>javax.servlet</groupId>
2985 <artifactId>javax.servlet-api</artifactId>
2988 <groupId>stax</groupId>
2989 <artifactId>stax-api</artifactId>
2992 <groupId>io.netty</groupId>
2993 <artifactId>netty</artifactId>
2996 <groupId>com.google.code.findbugs</groupId>
2997 <artifactId>jsr305</artifactId>
3000 <groupId>junit</groupId>
3001 <artifactId>junit</artifactId>
3004 <groupId>org.codehause.jackson</groupId>
3005 <artifactId>jackson-core-asl</artifactId>
3008 <groupId>org.codehause.jackson</groupId>
3009 <artifactId>jackson-mapper-asl</artifactId>
3014 <groupId>org.apache.hadoop</groupId>
3015 <artifactId>hadoop-common</artifactId>
3016 <type>test-jar</type>
3017 <classifier>tests</classifier>
3018 <version>${hadoop-three.version}</version>
3021 <groupId>com.sun.jersey</groupId>
3022 <artifactId>jersey-core</artifactId>
3027 <groupId>org.apache.hadoop</groupId>
3028 <artifactId>hadoop-client</artifactId>
3029 <version>${hadoop-three.version}</version>
3032 <groupId>org.apache.hadoop</groupId>
3033 <artifactId>hadoop-annotations</artifactId>
3034 <version>${hadoop-three.version}</version>
3036 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3037 Where do we actually need it? -->
3039 <groupId>org.apache.hadoop</groupId>
3040 <artifactId>hadoop-minicluster</artifactId>
3041 <version>${hadoop-three.version}</version>
3044 <groupId>commons-httpclient</groupId>
3045 <artifactId>commons-httpclient</artifactId>
3048 <groupId>javax.servlet.jsp</groupId>
3049 <artifactId>jsp-api</artifactId>
3052 <groupId>javax.servlet</groupId>
3053 <artifactId>servlet-api</artifactId>
3056 <groupId>stax</groupId>
3057 <artifactId>stax-api</artifactId>
3060 <groupId>io.netty</groupId>
3061 <artifactId>netty</artifactId>
3064 <groupId>com.google.code.findbugs</groupId>
3065 <artifactId>jsr305</artifactId>
3070 <groupId>org.apache.hadoop</groupId>
3071 <artifactId>hadoop-minikdc</artifactId>
3072 <version>${hadoop-three.version}</version>
3076 </dependencyManagement>
3079 <!-- profiles for the tests
3080 See as well the properties of the project for the values
3081 when no profile is active. -->
3083 <!-- Use it to launch all tests in the same JVM -->
3084 <id>singleJVMTests</id>
3086 <activeByDefault>false</activeByDefault>
3089 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3090 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3091 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3092 <surefire.firstPartGroups/>
3096 <!-- Use it to launch small tests only -->
3097 <id>runSmallTests</id>
3099 <activeByDefault>false</activeByDefault>
3102 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3103 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3104 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3105 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3106 <surefire.secondPartGroups/>
3110 <!-- Use it to launch medium tests only -->
3111 <id>runMediumTests</id>
3113 <activeByDefault>false</activeByDefault>
3116 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3117 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3118 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3119 <surefire.secondPartGroups/>
3123 <!-- Use it to launch large tests only -->
3124 <id>runLargeTests</id>
3126 <activeByDefault>false</activeByDefault>
3129 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3130 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3131 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3132 <surefire.secondPartGroups/>
3136 <!-- Use it to launch small & medium tests -->
3137 <id>runDevTests</id>
3139 <activeByDefault>false</activeByDefault>
3142 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3143 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3144 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3145 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3146 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3150 <!-- Use it to launch all tests -->
3151 <id>runAllTests</id>
3153 <activeByDefault>false</activeByDefault>
3156 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3157 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3158 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3159 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3160 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3161 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3165 <id>runMiscTests</id>
3167 <activeByDefault>false</activeByDefault>
3170 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3171 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3172 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3173 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3174 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3175 </surefire.firstPartGroups>
3176 <surefire.secondPartGroups></surefire.secondPartGroups>
3180 <id>runCoprocessorTests</id>
3182 <activeByDefault>false</activeByDefault>
3185 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3186 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3187 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3188 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3189 <surefire.firstPartGroups>
3190 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3191 </surefire.firstPartGroups>
3192 <surefire.secondPartGroups></surefire.secondPartGroups>
3196 <id>runClientTests</id>
3198 <activeByDefault>false</activeByDefault>
3201 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3202 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3203 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3204 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3205 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3206 </surefire.firstPartGroups>
3207 <surefire.secondPartGroups></surefire.secondPartGroups>
3211 <id>runMasterTests</id>
3213 <activeByDefault>false</activeByDefault>
3216 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3217 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3218 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3219 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3220 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3221 </surefire.firstPartGroups>
3222 <surefire.secondPartGroups></surefire.secondPartGroups>
3226 <id>runMapredTests</id>
3228 <activeByDefault>false</activeByDefault>
3231 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3232 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3233 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3234 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3235 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3236 </surefire.firstPartGroups>
3237 <surefire.secondPartGroups></surefire.secondPartGroups>
3241 <id>runMapreduceTests</id>
3243 <activeByDefault>false</activeByDefault>
3246 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3247 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3248 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3249 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3250 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3251 </surefire.firstPartGroups>
3252 <surefire.secondPartGroups></surefire.secondPartGroups>
3256 <id>runRegionServerTests</id>
3258 <activeByDefault>false</activeByDefault>
3261 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3262 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3263 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3264 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3265 <surefire.firstPartGroups>
3266 org.apache.hadoop.hbase.testclassification.RegionServerTests
3267 </surefire.firstPartGroups>
3268 <surefire.secondPartGroups></surefire.secondPartGroups>
3272 <id>runVerySlowMapReduceTests</id>
3274 <activeByDefault>false</activeByDefault>
3277 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3278 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3279 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3280 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3281 <surefire.firstPartGroups>
3282 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3283 </surefire.firstPartGroups>
3284 <surefire.secondPartGroups></surefire.secondPartGroups>
3289 <id>runVerySlowRegionServerTests</id>
3291 <activeByDefault>false</activeByDefault>
3294 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3295 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3296 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3297 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3298 <surefire.firstPartGroups>
3299 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3300 </surefire.firstPartGroups>
3301 <surefire.secondPartGroups></surefire.secondPartGroups>
3306 <id>runFilterTests</id>
3308 <activeByDefault>false</activeByDefault>
3311 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3312 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3313 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3314 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3315 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3316 </surefire.firstPartGroups>
3317 <surefire.secondPartGroups></surefire.secondPartGroups>
3323 <activeByDefault>false</activeByDefault>
3326 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3327 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3328 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3329 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3330 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3331 </surefire.firstPartGroups>
3332 <surefire.secondPartGroups></surefire.secondPartGroups>
3336 <id>runRestTests</id>
3338 <activeByDefault>false</activeByDefault>
3341 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3342 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3343 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3344 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3345 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3346 </surefire.firstPartGroups>
3347 <surefire.secondPartGroups></surefire.secondPartGroups>
3351 <id>runRPCTests</id>
3353 <activeByDefault>false</activeByDefault>
3356 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3357 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3358 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3359 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3360 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3361 </surefire.firstPartGroups>
3362 <surefire.secondPartGroups></surefire.secondPartGroups>
3366 <id>runReplicationTests</id>
3368 <activeByDefault>false</activeByDefault>
3371 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3372 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3373 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3374 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3375 <surefire.firstPartGroups>
3376 org.apache.hadoop.hbase.testclassification.ReplicationTests
3377 </surefire.firstPartGroups>
3378 <surefire.secondPartGroups></surefire.secondPartGroups>
3382 <id>runSecurityTests</id>
3384 <activeByDefault>false</activeByDefault>
3387 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3388 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3389 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3390 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3391 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3392 </surefire.firstPartGroups>
3393 <surefire.secondPartGroups></surefire.secondPartGroups>
3397 <id>runFlakeyTests</id>
3399 <activeByDefault>false</activeByDefault>
3402 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3403 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3404 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3405 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3406 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3407 </surefire.firstPartGroups>
3408 <surefire.secondPartGroups></surefire.secondPartGroups>
3414 <activeByDefault>false</activeByDefault>
3417 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3418 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3419 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3420 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3421 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3422 </surefire.firstPartGroups>
3423 <surefire.secondPartGroups></surefire.secondPartGroups>
3428 <!-- Use it to launch tests locally-->
3436 <surefire.provider>surefire-junit4</surefire.provider>
3437 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3438 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3439 <surefire.firstPartGroups/>
3442 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3443 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3444 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3445 The report will be generated under target/site/clover/index.html when you run
3446 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3450 <activeByDefault>false</activeByDefault>
3456 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3460 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3461 our instrumented classes for the doclet will fail
3464 <groupId>org.apache.maven.plugins</groupId>
3465 <artifactId>maven-javadoc-plugin</artifactId>
3468 <groupId>com.atlassian.maven.plugins</groupId>
3469 <artifactId>maven-clover2-plugin</artifactId>
3470 <version>${clover.version}</version>
3475 <groupId>com.atlassian.maven.plugins</groupId>
3476 <artifactId>maven-clover2-plugin</artifactId>
3477 <version>${clover.version}</version>
3479 <includesAllSourceRoots>true</includesAllSourceRoots>
3480 <includesTestSourceRoots>true</includesTestSourceRoots>
3481 <targetPercentage>50%</targetPercentage>
3482 <generateHtml>true</generateHtml>
3483 <generateXml>true</generateXml>
3485 <exclude>**/generated/**</exclude>
3490 <id>clover-setup</id>
3491 <phase>process-sources</phase>
3509 <!-- Used by the website generation script on jenkins to
3510 do a local install of the jars we need to run a normal
3511 site build w/o forking.
3513 <id>site-install-step</id>
3515 <skipTests>true</skipTests>
3516 <maven.javadoc.skip>true</maven.javadoc.skip>
3517 <enforcer.skip>true</enforcer.skip>
3518 <checkstyle.skip>true</checkstyle.skip>
3519 <findbugs.skip>true</findbugs.skip>
3520 <warbucks.skip>true</warbucks.skip>
3524 <!-- Used by the website generation script on jenkins to
3525 mitigate the impact of unneeded build forks while building
3528 <id>site-build-step</id>
3530 <skipTests>true</skipTests>
3531 <enforcer.skip>true</enforcer.skip>
3532 <maven.main.skip>true</maven.main.skip>
3533 <maven.test.skip>true</maven.test.skip>
3534 <warbucks.skip>true</warbucks.skip>
3535 <protoc.skip>true</protoc.skip>
3536 <remoteresources.skip>true</remoteresources.skip>
3540 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3544 <artifactId>maven-project-info-reports-plugin</artifactId>
3545 <version>2.9</version>
3549 <report>cim</report>
3550 <report>dependencies</report>
3551 <report>dependency-convergence</report>
3552 <report>dependency-info</report>
3553 <report>dependency-management</report>
3554 <report>index</report>
3555 <report>issue-tracking</report>
3556 <report>license</report>
3557 <report>mailing-list</report>
3558 <report>plugin-management</report>
3559 <report>plugins</report>
3560 <report>project-team</report>
3561 <report>scm</report>
3562 <report>summary</report>
3566 <!-- see src/site/site.xml for selected reports -->
3568 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3573 <groupId>org.apache.maven.plugins</groupId>
3574 <artifactId>maven-javadoc-plugin</artifactId>
3575 <version>${maven.javadoc.version}</version>
3581 <report>aggregate</report>
3584 <destDir>devapidocs</destDir>
3585 <name>Developer API</name>
3586 <description>The full HBase API, including private and unstable APIs</description>
3587 <sourceFileExcludes>
3588 <exclude>**/generated/*</exclude>
3589 <exclude>**/protobuf/*</exclude>
3590 <exclude>**/*.scala</exclude>
3591 </sourceFileExcludes>
3592 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3593 <show>private</show> <!-- (shows all classes and members) -->
3595 <linksource>true</linksource>
3596 <sourcetab>2</sourcetab>
3597 <validateLinks>true</validateLinks>
3598 <fixClassComment>true</fixClassComment>
3599 <fixFieldComment>true</fixFieldComment>
3600 <fixMethodComment>true</fixMethodComment>
3601 <fixTags>all</fixTags>
3602 <notimestamp>true</notimestamp>
3603 <!-- Pass some options straight to the javadoc executable since it is easier -->
3604 <additionalJOption>-J-Xmx2G</additionalJOption>
3605 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3606 <additionalDependencies>
3607 <additionalDependency>
3608 <groupId>org.mockito</groupId>
3609 <artifactId>mockito-core</artifactId>
3610 <version>${mockito-core.version}</version>
3611 </additionalDependency>
3612 <additionalDependency>
3613 <groupId>org.hamcrest</groupId>
3614 <artifactId>hamcrest-core</artifactId>
3615 <version>${hamcrest.version}</version>
3616 </additionalDependency>
3617 </additionalDependencies>
3618 <inherited>false</inherited>
3624 <report>test-aggregate</report>
3627 <destDir>testdevapidocs</destDir>
3628 <name>Developer API</name>
3629 <description>The full HBase API test code, including private and unstable APIs</description>
3630 <sourceFileExcludes>
3631 <exclude>**/generated/*</exclude>
3632 <exclude>**/protobuf/*</exclude>
3633 <exclude>**/*.scala</exclude>
3634 </sourceFileExcludes>
3635 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3636 <show>private</show> <!-- (shows all classes and members) -->
3638 <linksource>true</linksource>
3639 <sourcetab>2</sourcetab>
3640 <validateLinks>true</validateLinks>
3641 <fixClassComment>true</fixClassComment>
3642 <fixFieldComment>true</fixFieldComment>
3643 <fixMethodComment>true</fixMethodComment>
3644 <fixTags>all</fixTags>
3645 <notimestamp>true</notimestamp>
3646 <!-- Pass some options straight to the javadoc executable since it is easier -->
3647 <additionalJOption>-J-Xmx2G</additionalJOption>
3648 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3649 <additionalDependencies>
3650 <additionalDependency>
3651 <groupId>org.mockito</groupId>
3652 <artifactId>mockito-core</artifactId>
3653 <version>${mockito-core.version}</version>
3654 </additionalDependency>
3655 <additionalDependency>
3656 <groupId>org.hamcrest</groupId>
3657 <artifactId>hamcrest-core</artifactId>
3658 <version>${hamcrest.version}</version>
3659 </additionalDependency>
3660 </additionalDependencies>
3661 <inherited>false</inherited>
3669 <report>aggregate</report>
3673 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3676 <groupId>org.apache.yetus</groupId>
3677 <artifactId>audience-annotations</artifactId>
3678 <version>${audience-annotations.version}</version>
3680 <useStandardDocletOptions>true</useStandardDocletOptions>
3681 <destDir>apidocs</destDir>
3682 <name>User API</name>
3683 <description>The HBase Application Programmer's API</description>
3684 <excludePackageNames>
3685 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*
3686 </excludePackageNames>
3687 <!-- switch on dependency-driven aggregation -->
3688 <includeDependencySources>false</includeDependencySources>
3689 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3690 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3692 <linksource>true</linksource>
3693 <sourcetab>2</sourcetab>
3694 <validateLinks>true</validateLinks>
3695 <fixClassComment>true</fixClassComment>
3696 <fixFieldComment>true</fixFieldComment>
3697 <fixMethodComment>true</fixMethodComment>
3698 <fixTags>all</fixTags>
3699 <notimestamp>true</notimestamp>
3700 <!-- Pass some options straight to the javadoc executable since it is easier -->
3701 <additionalJOption>-J-Xmx2G</additionalJOption>
3702 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3703 <additionalDependencies>
3704 <additionalDependency>
3705 <groupId>org.mockito</groupId>
3706 <artifactId>mockito-core</artifactId>
3707 <version>${mockito-core.version}</version>
3708 </additionalDependency>
3709 <additionalDependency>
3710 <groupId>org.hamcrest</groupId>
3711 <artifactId>hamcrest-core</artifactId>
3712 <version>${hamcrest.version}</version>
3713 </additionalDependency>
3714 </additionalDependencies>
3715 <inherited>false</inherited>
3718 <!-- User Test API -->
3720 <id>testuserapi</id>
3722 <report>test-aggregate</report>
3726 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3729 <groupId>org.apache.yetus</groupId>
3730 <artifactId>audience-annotations</artifactId>
3731 <version>${audience-annotations.version}</version>
3733 <useStandardDocletOptions>true</useStandardDocletOptions>
3734 <destDir>testapidocs</destDir>
3735 <name>User API</name>
3736 <description>The HBase Application Programmer's API</description>
3737 <excludePackageNames>
3738 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*
3739 </excludePackageNames>
3740 <!-- switch on dependency-driven aggregation -->
3741 <includeDependencySources>false</includeDependencySources>
3742 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3743 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3745 <linksource>true</linksource>
3746 <sourcetab>2</sourcetab>
3747 <validateLinks>true</validateLinks>
3748 <fixClassComment>true</fixClassComment>
3749 <fixFieldComment>true</fixFieldComment>
3750 <fixMethodComment>true</fixMethodComment>
3751 <fixTags>all</fixTags>
3752 <notimestamp>true</notimestamp>
3753 <!-- Pass some options straight to the javadoc executable since it is easier -->
3754 <additionalJOption>-J-Xmx2G</additionalJOption>
3755 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3756 <additionalDependencies>
3757 <additionalDependency>
3758 <groupId>org.mockito</groupId>
3759 <artifactId>mockito-core</artifactId>
3760 <version>${mockito-core.version}</version>
3761 </additionalDependency>
3762 <additionalDependency>
3763 <groupId>org.hamcrest</groupId>
3764 <artifactId>hamcrest-core</artifactId>
3765 <version>${hamcrest.version}</version>
3766 </additionalDependency>
3767 </additionalDependencies>
3768 <inherited>false</inherited>
3775 <groupId>org.apache.maven.plugins</groupId>
3776 <artifactId>maven-checkstyle-plugin</artifactId>
3777 <version>${maven.checkstyle.version}</version>
3779 <excludes>target/**</excludes>
3785 <distributionManagement>
3787 <id>hbase.apache.org</id>
3788 <name>HBase Website at hbase.apache.org</name>
3789 <!-- On why this is the tmp dir and not hbase.apache.org, see
3790 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3792 <url>file:///tmp</url>
3794 </distributionManagement>