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 <groupId>de.skuzzle.enforcer</groupId>
1082 <artifactId>restrict-imports-enforcer-rule</artifactId>
1083 <version>${restrict-imports.enforcer.version}</version>
1086 <!-- version set by parent -->
1089 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1091 <goal>enforce</goal>
1095 <!-- Help people activate profiles correctly -->
1097 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1098 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1099 </evaluateBeanshell>
1100 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1101 <requireMavenVersion>
1102 <version>[${maven.min.version},)</version>
1103 <message>Maven is out of date.
1104 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1105 You appear to be using an older version. You can use either "mvn -version" or
1106 "mvn enforcer:display-info" to verify what version is active.
1107 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1109 </requireMavenVersion>
1110 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1111 <requireJavaVersion>
1112 <version>[${java.min.version},)</version>
1113 <message>Java is out of date.
1114 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1115 You appear to be using an older version. You can use either "mvn -version" or
1116 "mvn enforcer:display-info" to verify what version is active.
1117 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1119 </requireJavaVersion>
1120 <bannedDependencies>
1122 <exclude>xerces:xercesImpl</exclude>
1124 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1125 </bannedDependencies>
1130 <id>banned-jsr305</id>
1132 <goal>enforce</goal>
1136 <bannedDependencies>
1138 <exclude>com.google.code.findbugs:jsr305</exclude>
1140 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1141 </bannedDependencies>
1146 <id>banned-scala</id>
1148 <goal>enforce</goal>
1152 <bannedDependencies>
1154 <exclude>org.scala-lang:scala-library</exclude>
1156 <message>We don't allow Scala, see HBASE-13992.</message>
1157 </bannedDependencies>
1162 <id>check-aggregate-license</id>
1163 <!-- must check after LICENSE is built at 'generate-resources' -->
1164 <phase>process-resources</phase>
1166 <goal>enforce</goal>
1172 File license = new File("${license.aggregate.path}");
1174 // Beanshell does not support try-with-resources,
1175 // so we must close this scanner manually
1176 Scanner scanner = new Scanner(license);
1178 while (scanner.hasNextLine()) {
1179 if (scanner.nextLine().startsWith("ERROR:")) {
1188 License errors detected, for more detail find ERROR in
1189 ${license.aggregate.path}
1191 </evaluateBeanshell>
1193 <skip>${skip.license.check}</skip>
1197 <id>banned-illegal-imports</id>
1198 <phase>process-sources</phase>
1200 <goal>enforce</goal>
1204 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1205 <includeTestCode>true</includeTestCode>
1206 <commentLineBufferSize>512</commentLineBufferSize>
1207 <reason>Use SLF4j for logging</reason>
1209 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1210 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1213 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1214 <includeTestCode>true</includeTestCode>
1215 <commentLineBufferSize>512</commentLineBufferSize>
1216 <reason>Use shaded version in hbase-thirdparty</reason>
1218 <bannedImport>com.google.common.**</bannedImport>
1219 <bannedImport>io.netty.**</bannedImport>
1220 <bannedImport>org.apache.commons.cli.**</bannedImport>
1221 <bannedImport>org.apache.commons.collections.**</bannedImport>
1222 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1225 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1226 <includeTestCode>true</includeTestCode>
1227 <commentLineBufferSize>512</commentLineBufferSize>
1228 <reason>Do not use shaded classes from other dependencies</reason>
1230 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1231 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1234 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1235 <includeTestCode>true</includeTestCode>
1236 <commentLineBufferSize>512</commentLineBufferSize>
1237 <reason>Use shaded gson in hbase-thirdparty</reason>
1239 <bannedImport>org.codehaus.jackson.**</bannedImport>
1242 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1243 <includeTestCode>true</includeTestCode>
1244 <commentLineBufferSize>512</commentLineBufferSize>
1245 <reason>Use commons lang 3</reason>
1247 <bannedImport>org.apache.commons.lang.**</bannedImport>
1250 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1251 <includeTestCode>true</includeTestCode>
1252 <commentLineBufferSize>512</commentLineBufferSize>
1253 <reason>Use yetus IA and IS annotations</reason>
1255 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1258 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1259 <includeTestCode>true</includeTestCode>
1260 <commentLineBufferSize>512</commentLineBufferSize>
1261 <reason>Do not use htrace v3</reason>
1263 <bannedImport>org.htrace.**</bannedImport>
1271 <!-- parent-module only plugins -->
1273 <groupId>org.codehaus.mojo</groupId>
1274 <artifactId>xml-maven-plugin</artifactId>
1275 <version>${xml.maven.version}</version>
1276 <inherited>false</inherited>
1279 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1281 <goal>transform</goal>
1287 <transformationSets>
1288 <!-- For asciidoc -->
1290 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1291 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1293 <include>hbase-default.xml</include>
1295 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1297 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1298 <pattern>^(.*)\.xml$</pattern>
1299 <replacement>$1.adoc</replacement>
1302 <outputDir>${basedir}/target/asciidoc</outputDir>
1303 </transformationSet>
1304 </transformationSets>
1307 <!-- Special configuration for findbugs just in the parent so
1308 the filter file location can be more general (see definition in pluginManagement) -->
1310 <groupId>org.codehaus.mojo</groupId>
1311 <artifactId>findbugs-maven-plugin</artifactId>
1314 <inherited>false</inherited>
1316 <goal>findbugs</goal>
1319 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1325 <groupId>org.apache.maven.plugins</groupId>
1326 <artifactId>maven-checkstyle-plugin</artifactId>
1329 <groupId>org.apache.maven.plugins</groupId>
1330 <artifactId>maven-site-plugin</artifactId>
1331 <version>${maven.site.version}</version>
1332 <inherited>false</inherited>
1335 <!-- add support for ssh/scp -->
1336 <groupId>org.apache.maven.wagon</groupId>
1337 <artifactId>wagon-ssh</artifactId>
1338 <version>${wagon.ssh.version}</version>
1342 <siteDirectory>${basedir}/src/site</siteDirectory>
1343 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1344 <inputEncoding>UTF-8</inputEncoding>
1345 <outputEncoding>UTF-8</outputEncoding>
1348 <!-- For AsciiDoc docs building -->
1350 <groupId>org.asciidoctor</groupId>
1351 <artifactId>asciidoctor-maven-plugin</artifactId>
1352 <version>${asciidoctor.plugin.version}</version>
1353 <inherited>false</inherited>
1356 <groupId>org.asciidoctor</groupId>
1357 <artifactId>asciidoctorj-pdf</artifactId>
1358 <version>${asciidoctorj.pdf.version}</version>
1361 <groupId>org.jruby</groupId>
1362 <artifactId>jruby-complete</artifactId>
1363 <version>${jruby.version}</version>
1367 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1368 <doctype>book</doctype>
1369 <imagesDir>images</imagesDir>
1370 <sourceHighlighter>coderay</sourceHighlighter>
1372 <docVersion>${project.version}</docVersion>
1377 <id>output-html</id>
1380 <goal>process-asciidoc</goal>
1384 <stylesheet>hbase.css</stylesheet>
1386 <backend>html5</backend>
1393 <goal>process-asciidoc</goal>
1396 <backend>pdf</backend>
1401 <idseparator>-</idseparator>
1408 <groupId>org.apache.maven.plugins</groupId>
1409 <artifactId>maven-resources-plugin</artifactId>
1410 <!--$NO-MVN-MAN-VER$ -->
1411 <inherited>false</inherited>
1414 <id>copy-htaccess</id>
1416 <goal>copy-resources</goal>
1420 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1423 <directory>${basedir}/src/site/resources/</directory>
1425 <include>.htaccess</include>
1431 <!-- needed to make the redirect above work -->
1433 <id>copy-empty-book-dir</id>
1435 <goal>copy-resources</goal>
1439 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1442 <directory>${basedir}/src/site/resources/</directory>
1444 <include>book/**</include>
1452 <escapeString>\</escapeString>
1456 <groupId>org.apache.maven.plugins</groupId>
1457 <artifactId>maven-antrun-plugin</artifactId>
1458 <version>${maven.antrun.version}</version>
1459 <inherited>false</inherited>
1460 <!-- Rename the book.pdf generated by asciidoctor -->
1466 <target name="rename file">
1467 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1477 <groupId>org.codehaus.mojo</groupId>
1478 <artifactId>buildnumber-maven-plugin</artifactId>
1481 <phase>validate</phase>
1483 <goal>create-timestamp</goal>
1488 <timestampFormat>yyyy</timestampFormat>
1489 <timestampPropertyName>build.year</timestampPropertyName>
1493 <groupId>org.apache.felix</groupId>
1494 <artifactId>maven-bundle-plugin</artifactId>
1495 <version>${maven.bundle.version}</version>
1496 <inherited>true</inherited>
1497 <extensions>true</extensions>
1500 <!--TODO: Remove after figure how the scala:doc
1501 target is being passed up on jenkins precommit.
1502 Otherrwise, w/o this, we fail scaladoc.
1504 <groupId>org.scala-tools</groupId>
1505 <artifactId>maven-scala-plugin</artifactId>
1506 <version>2.15.2</version>
1511 <!-- override on command line to have generated LICENSE files include
1512 diagnostic info for verifying notice requirements -->
1513 <license.debug.print.included>false</license.debug.print.included>
1514 <!-- When a particular module bundles its depenendencies, should be true -->
1515 <license.bundles.dependencies>false</license.bundles.dependencies>
1516 <!-- modules that include a the logo in their source tree should set true -->
1517 <license.bundles.logo>false</license.bundles.logo>
1518 <!-- modules that include bootstrap in their source tree should set true -->
1519 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1520 <!-- modules that include jquery in their source tree should set true -->
1521 <license.bundles.jquery>false</license.bundles.jquery>
1522 <!-- where to find the generated LICENSE files -->
1523 <license.aggregate.path>
1524 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1525 </license.aggregate.path>
1526 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1527 <maven.build.timestamp.format>
1529 </maven.build.timestamp.format>
1530 <buildDate>${maven.build.timestamp}</buildDate>
1531 <compileSource>1.8</compileSource>
1532 <!-- Build dependencies -->
1533 <maven.min.version>3.0.4</maven.min.version>
1534 <java.min.version>${compileSource}</java.min.version>
1535 <!-- Dependencies -->
1536 <hadoop-two.version>2.7.7</hadoop-two.version>
1537 <hadoop-three.version>3.0.3</hadoop-three.version>
1538 <!-- These must be defined here for downstream build tools that don't look at profiles.
1539 They ought to match the values found in our default hadoop profile, which is
1540 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1541 <hadoop.version>${hadoop-two.version}</hadoop.version>
1542 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1543 <compat.module>hbase-hadoop2-compat</compat.module>
1544 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1545 <!--This property is for hadoops netty. HBase netty
1546 comes in via hbase-thirdparty hbase-shaded-netty-->
1547 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1548 <!-- end HBASE-15925 default hadoop compatibility values -->
1549 <audience-annotations.version>0.5.0</audience-annotations.version>
1550 <avro.version>1.7.7</avro.version>
1551 <commons-codec.version>1.10</commons-codec.version>
1552 <commons-validator.version>1.6</commons-validator.version>
1553 <!-- pretty outdated -->
1554 <commons-io.version>2.5</commons-io.version>
1555 <commons-lang3.version>3.6</commons-lang3.version>
1556 <commons-math.version>3.6.1</commons-math.version>
1557 <disruptor.version>3.3.6</disruptor.version>
1558 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1559 <collections.version>4.1</collections.version>
1560 <httpclient.version>4.5.3</httpclient.version>
1561 <httpcore.version>4.4.6</httpcore.version>
1562 <metrics-core.version>3.2.1</metrics-core.version>
1563 <jackson.version>2.9.2</jackson.version>
1564 <jaxb-api.version>2.2.12</jaxb-api.version>
1565 <jetty.version>9.3.25.v20180904</jetty.version>
1566 <servlet.api.version>3.1.0</servlet.api.version>
1567 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1568 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1569 <jersey.version>2.25.1</jersey.version>
1570 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1571 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1572 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1573 <jruby.version>9.1.13.0</jruby.version>
1574 <junit.version>4.12</junit.version>
1575 <hamcrest.version>1.3</hamcrest.version>
1576 <htrace.version>4.2.0-incubating</htrace.version>
1577 <log4j.version>1.2.17</log4j.version>
1578 <mockito-core.version>2.1.0</mockito-core.version>
1579 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1580 <external.protobuf.version>2.5.0</external.protobuf.version>
1581 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1582 <thrift.path>thrift</thrift.path>
1583 <thrift.version>0.9.3</thrift.version>
1584 <zookeeper.version>3.4.10</zookeeper.version>
1585 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1586 <jline.version>0.9.94</jline.version>
1587 <slf4j.version>1.7.25</slf4j.version>
1588 <clover.version>4.0.3</clover.version>
1589 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1590 <jettison.version>1.3.8</jettison.version>
1591 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1592 <joni.version>2.1.11</joni.version>
1593 <jcodings.version>1.0.18</jcodings.version>
1594 <spy.version>2.12.2</spy.version>
1595 <bouncycastle.version>1.60</bouncycastle.version>
1596 <kerby.version>1.0.1</kerby.version>
1597 <commons-crypto.version>1.0.0</commons-crypto.version>
1598 <curator.version>4.0.0</curator.version>
1599 <!-- Plugin Dependencies -->
1600 <apache.rat.version>0.12</apache.rat.version>
1601 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1602 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1603 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1604 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1605 <checkstyle.version>8.11</checkstyle.version>
1606 <exec.maven.version>1.6.0</exec.maven.version>
1607 <error-prone.version>2.2.0</error-prone.version>
1608 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1609 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1610 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1611 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1612 <maven.antrun.version>1.8</maven.antrun.version>
1613 <maven.bundle.version>3.3.0</maven.bundle.version>
1614 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1615 <maven.compiler.version>3.6.1</maven.compiler.version>
1616 <maven.dependency.version>3.0.1</maven.dependency.version>
1617 <maven.eclipse.version>2.10</maven.eclipse.version>
1618 <maven.install.version>2.5.2</maven.install.version>
1619 <maven.jar.version>3.0.2</maven.jar.version>
1620 <maven.javadoc.version>3.0.0</maven.javadoc.version>
1621 <maven.patch.version>1.2</maven.patch.version>
1622 <maven.shade.version>3.0.0</maven.shade.version>
1623 <maven.site.version>3.4</maven.site.version>
1624 <maven.source.version>3.0.1</maven.source.version>
1625 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1626 <os.maven.version>1.5.0.Final</os.maven.version>
1627 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1628 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1629 <wagon.ssh.version>2.12</wagon.ssh.version>
1630 <xml.maven.version>1.0.1</xml.maven.version>
1631 <hbase-thirdparty.version>2.1.0</hbase-thirdparty.version>
1632 <!-- General Packaging -->
1633 <package.prefix>/usr</package.prefix>
1634 <package.conf.dir>/etc/hbase</package.conf.dir>
1635 <package.log.dir>/var/log/hbase</package.log.dir>
1636 <package.pid.dir>/var/run/hbase</package.pid.dir>
1637 <package.release>1</package.release>
1638 <final.name>${project.artifactId}-${project.version}</final.name>
1639 <!-- Intraproject jar naming properties -->
1640 <!-- TODO this is pretty ugly, but works for the moment.
1641 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1642 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1643 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1644 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1645 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1646 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1647 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1648 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1649 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1650 <shell-executable>bash</shell-executable>
1651 <surefire.version>2.21.0</surefire.version>
1652 <surefire.provider>surefire-junit47</surefire.provider>
1653 <!-- default: run small & medium, medium with 2 threads -->
1654 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1655 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1656 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1657 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1658 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1659 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1660 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1661 <test.output.tofile>true</test.output.tofile>
1662 <surefire.timeout>900</surefire.timeout>
1663 <test.exclude.pattern></test.exclude.pattern>
1664 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1665 <surefire.Xmx>2800m</surefire.Xmx>
1666 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1667 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1669 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1670 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1671 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1672 </hbase-surefire.argLine>
1673 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1674 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1675 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1676 </hbase-surefire.cygwin-argLine>
1677 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1678 <argLine>${hbase-surefire.argLine}</argLine>
1679 <jacoco.version>0.7.5.201505241946</jacoco.version>
1680 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1681 <enforcer.version>3.0.0-M2</enforcer.version>
1682 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1683 <!-- Location of test resources -->
1684 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1685 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1686 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1687 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1688 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1689 <build.id>${maven.build.timestamp}</build.id>
1690 <shell-executable>bash</shell-executable>
1691 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1692 property as of javadoc-plugin 3.0.0 -->
1693 <doclint>none</doclint>
1695 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1696 <dependencyManagement>
1699 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1700 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1701 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1702 implementation of the same, because Hadoop also uses this version
1703 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1704 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1706 <!-- Intra-module dependencies -->
1708 <groupId>org.apache.hbase</groupId>
1709 <artifactId>hbase-annotations</artifactId>
1710 <version>${project.version}</version>
1711 <type>test-jar</type>
1712 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1715 <artifactId>hbase-backup</artifactId>
1716 <groupId>org.apache.hbase</groupId>
1717 <version>${project.version}</version>
1720 <groupId>org.apache.hbase</groupId>
1721 <artifactId>hbase-error-prone</artifactId>
1722 <version>${project.version}</version>
1725 <groupId>org.apache.hbase</groupId>
1726 <artifactId>hbase-common</artifactId>
1727 <version>${project.version}</version>
1730 <groupId>org.apache.hbase</groupId>
1731 <artifactId>hbase-common</artifactId>
1732 <version>${project.version}</version>
1733 <type>test-jar</type>
1737 <groupId>org.apache.hbase</groupId>
1738 <artifactId>hbase-protocol-shaded</artifactId>
1739 <version>${project.version}</version>
1742 <groupId>org.apache.hbase</groupId>
1743 <artifactId>hbase-protocol</artifactId>
1744 <version>${project.version}</version>
1747 <groupId>org.apache.hbase</groupId>
1748 <artifactId>hbase-procedure</artifactId>
1749 <version>${project.version}</version>
1752 <groupId>org.apache.hbase</groupId>
1753 <artifactId>hbase-procedure</artifactId>
1754 <version>${project.version}</version>
1755 <type>test-jar</type>
1758 <groupId>org.apache.hbase</groupId>
1759 <artifactId>hbase-hadoop-compat</artifactId>
1760 <version>${project.version}</version>
1763 <groupId>org.apache.hbase</groupId>
1764 <artifactId>hbase-hadoop-compat</artifactId>
1765 <version>${project.version}</version>
1766 <type>test-jar</type>
1770 <groupId>org.apache.hbase</groupId>
1771 <artifactId>${compat.module}</artifactId>
1772 <version>${project.version}</version>
1775 <groupId>org.apache.hbase</groupId>
1776 <artifactId>${compat.module}</artifactId>
1777 <version>${project.version}</version>
1778 <type>test-jar</type>
1782 <artifactId>hbase-rsgroup</artifactId>
1783 <groupId>org.apache.hbase</groupId>
1784 <version>${project.version}</version>
1787 <artifactId>hbase-rsgroup</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1790 <type>test-jar</type>
1794 <artifactId>hbase-replication</artifactId>
1795 <groupId>org.apache.hbase</groupId>
1796 <version>${project.version}</version>
1799 <artifactId>hbase-http</artifactId>
1800 <groupId>org.apache.hbase</groupId>
1801 <version>${project.version}</version>
1804 <artifactId>hbase-http</artifactId>
1805 <groupId>org.apache.hbase</groupId>
1806 <version>${project.version}</version>
1807 <type>test-jar</type>
1811 <artifactId>hbase-server</artifactId>
1812 <groupId>org.apache.hbase</groupId>
1813 <version>${project.version}</version>
1816 <artifactId>hbase-server</artifactId>
1817 <groupId>org.apache.hbase</groupId>
1818 <version>${project.version}</version>
1819 <type>test-jar</type>
1823 <artifactId>hbase-mapreduce</artifactId>
1824 <groupId>org.apache.hbase</groupId>
1825 <version>${project.version}</version>
1828 <artifactId>hbase-mapreduce</artifactId>
1829 <groupId>org.apache.hbase</groupId>
1830 <version>${project.version}</version>
1831 <type>test-jar</type>
1835 <artifactId>hbase-endpoint</artifactId>
1836 <groupId>org.apache.hbase</groupId>
1837 <version>${project.version}</version>
1840 <artifactId>hbase-shell</artifactId>
1841 <groupId>org.apache.hbase</groupId>
1842 <version>${project.version}</version>
1845 <artifactId>hbase-shell</artifactId>
1846 <groupId>org.apache.hbase</groupId>
1847 <version>${project.version}</version>
1848 <type>test-jar</type>
1852 <artifactId>hbase-thrift</artifactId>
1853 <groupId>org.apache.hbase</groupId>
1854 <version>${project.version}</version>
1857 <artifactId>hbase-thrift</artifactId>
1858 <groupId>org.apache.hbase</groupId>
1859 <version>${project.version}</version>
1860 <type>test-jar</type>
1864 <groupId>org.apache.hbase</groupId>
1865 <artifactId>hbase-testing-util</artifactId>
1866 <version>${project.version}</version>
1870 <artifactId>hbase-examples</artifactId>
1871 <groupId>org.apache.hbase</groupId>
1872 <version>${project.version}</version>
1875 <groupId>org.apache.hbase</groupId>
1876 <artifactId>hbase-external-blockcache</artifactId>
1877 <version>${project.version}</version>
1880 <artifactId>hbase-it</artifactId>
1881 <groupId>org.apache.hbase</groupId>
1882 <version>${project.version}</version>
1883 <type>test-jar</type>
1887 <artifactId>hbase-client</artifactId>
1888 <groupId>org.apache.hbase</groupId>
1889 <version>${project.version}</version>
1892 <artifactId>hbase-metrics-api</artifactId>
1893 <groupId>org.apache.hbase</groupId>
1894 <version>${project.version}</version>
1897 <artifactId>hbase-metrics-api</artifactId>
1898 <groupId>org.apache.hbase</groupId>
1899 <version>${project.version}</version>
1900 <type>test-jar</type>
1904 <artifactId>hbase-metrics</artifactId>
1905 <groupId>org.apache.hbase</groupId>
1906 <version>${project.version}</version>
1909 <artifactId>hbase-metrics</artifactId>
1910 <groupId>org.apache.hbase</groupId>
1911 <version>${project.version}</version>
1912 <type>test-jar</type>
1916 <artifactId>hbase-rest</artifactId>
1917 <groupId>org.apache.hbase</groupId>
1918 <version>${project.version}</version>
1921 <artifactId>hbase-resource-bundle</artifactId>
1922 <groupId>org.apache.hbase</groupId>
1923 <version>${project.version}</version>
1926 <artifactId>hbase-zookeeper</artifactId>
1927 <groupId>org.apache.hbase</groupId>
1928 <version>${project.version}</version>
1931 <artifactId>hbase-zookeeper</artifactId>
1932 <groupId>org.apache.hbase</groupId>
1933 <version>${project.version}</version>
1934 <type>test-jar</type>
1938 <groupId>org.apache.hbase</groupId>
1939 <artifactId>hbase-shaded-client</artifactId>
1940 <version>${project.version}</version>
1943 <groupId>org.apache.hbase</groupId>
1944 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1945 <version>${project.version}</version>
1948 <groupId>org.apache.hbase</groupId>
1949 <artifactId>hbase-shaded-mapreduce</artifactId>
1950 <version>${project.version}</version>
1952 <!-- General dependencies -->
1954 <groupId>com.github.stephenc.findbugs</groupId>
1955 <artifactId>findbugs-annotations</artifactId>
1956 <version>${findbugs-annotations}</version>
1958 <!-- General dependencies -->
1960 <groupId>org.codehaus.jettison</groupId>
1961 <artifactId>jettison</artifactId>
1962 <version>${jettison.version}</version>
1965 <groupId>org.slf4j</groupId>
1966 <artifactId>slf4j-log4j12</artifactId>
1967 <version>${slf4j.version}</version>
1970 <groupId>log4j</groupId>
1971 <artifactId>log4j</artifactId>
1972 <version>${log4j.version}</version>
1974 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1976 <groupId>org.apache.avro</groupId>
1977 <artifactId>avro</artifactId>
1978 <version>${avro.version}</version>
1980 <!--This is not used by hbase directly. Used by thrift,
1981 dropwizard and zk.-->
1983 <groupId>org.slf4j</groupId>
1984 <artifactId>slf4j-api</artifactId>
1985 <version>${slf4j.version}</version>
1988 <groupId>io.dropwizard.metrics</groupId>
1989 <artifactId>metrics-core</artifactId>
1990 <version>${metrics-core.version}</version>
1993 <groupId>org.apache.httpcomponents</groupId>
1994 <artifactId>httpclient</artifactId>
1995 <version>${httpclient.version}</version>
1998 <groupId>org.apache.httpcomponents</groupId>
1999 <artifactId>httpcore</artifactId>
2000 <version>${httpcore.version}</version>
2003 <groupId>commons-codec</groupId>
2004 <artifactId>commons-codec</artifactId>
2005 <version>${commons-codec.version}</version>
2008 <groupId>commons-validator</groupId>
2009 <artifactId>commons-validator</artifactId>
2010 <version>${commons-validator.version}</version>
2013 <groupId>commons-io</groupId>
2014 <artifactId>commons-io</artifactId>
2015 <version>${commons-io.version}</version>
2018 <groupId>org.apache.commons</groupId>
2019 <artifactId>commons-lang3</artifactId>
2020 <version>${commons-lang3.version}</version>
2023 <groupId>org.apache.commons</groupId>
2024 <artifactId>commons-math3</artifactId>
2025 <version>${commons-math.version}</version>
2028 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
2031 <groupId>commons-logging</groupId>
2032 <artifactId>commons-logging</artifactId>
2033 <version>1.2</version>
2036 <groupId>org.apache.zookeeper</groupId>
2037 <artifactId>zookeeper</artifactId>
2038 <version>${zookeeper.version}</version>
2041 <groupId>jline</groupId>
2042 <artifactId>jline</artifactId>
2045 <groupId>com.sun.jmx</groupId>
2046 <artifactId>jmxri</artifactId>
2049 <groupId>com.sun.jdmk</groupId>
2050 <artifactId>jmxtools</artifactId>
2053 <groupId>javax.jms</groupId>
2054 <artifactId>jms</artifactId>
2057 <groupId>io.netty</groupId>
2058 <artifactId>netty</artifactId>
2063 <groupId>jline</groupId>
2064 <artifactId>jline</artifactId>
2065 <version>${jline.version}</version>
2068 <groupId>org.apache.thrift</groupId>
2069 <artifactId>libthrift</artifactId>
2070 <version>${thrift.version}</version>
2073 <groupId>org.slf4j</groupId>
2074 <artifactId>slf4j-simple</artifactId>
2079 <groupId>org.jruby</groupId>
2080 <artifactId>jruby-complete</artifactId>
2081 <version>${jruby.version}</version>
2084 <groupId>org.jruby.jcodings</groupId>
2085 <artifactId>jcodings</artifactId>
2086 <version>${jcodings.version}</version>
2089 <groupId>org.jruby.joni</groupId>
2090 <artifactId>joni</artifactId>
2091 <version>${joni.version}</version>
2094 <groupId>com.fasterxml.jackson.jaxrs</groupId>
2095 <artifactId>jackson-jaxrs-json-provider</artifactId>
2096 <version>${jackson.version}</version>
2099 <groupId>com.fasterxml.jackson.core</groupId>
2100 <artifactId>jackson-annotations</artifactId>
2101 <version>${jackson.version}</version>
2104 <groupId>com.fasterxml.jackson.core</groupId>
2105 <artifactId>jackson-core</artifactId>
2106 <version>${jackson.version}</version>
2109 <groupId>com.fasterxml.jackson.core</groupId>
2110 <artifactId>jackson-databind</artifactId>
2111 <version>${jackson.version}</version>
2114 <groupId>org.jamon</groupId>
2115 <artifactId>jamon-runtime</artifactId>
2116 <version>${jamon-runtime.version}</version>
2118 <!-- REST dependencies -->
2120 <groupId>javax.servlet</groupId>
2121 <artifactId>javax.servlet-api</artifactId>
2122 <version>${servlet.api.version}</version>
2125 <groupId>javax.ws.rs</groupId>
2126 <artifactId>javax.ws.rs-api</artifactId>
2127 <version>${wx.rs.api.version}</version>
2130 <groupId>org.eclipse.jetty</groupId>
2131 <artifactId>jetty-server</artifactId>
2132 <version>${jetty.version}</version>
2135 <groupId>org.eclipse.jetty</groupId>
2136 <artifactId>jetty-servlet</artifactId>
2137 <version>${jetty.version}</version>
2140 <groupId>org.eclipse.jetty</groupId>
2141 <artifactId>servlet-api</artifactId>
2146 <groupId>org.eclipse.jetty</groupId>
2147 <artifactId>jetty-security</artifactId>
2148 <version>${jetty.version}</version>
2151 <groupId>org.eclipse.jetty</groupId>
2152 <artifactId>jetty-http</artifactId>
2153 <version>${jetty.version}</version>
2156 <groupId>org.eclipse.jetty</groupId>
2157 <artifactId>jetty-util</artifactId>
2158 <version>${jetty.version}</version>
2161 <groupId>org.eclipse.jetty</groupId>
2162 <artifactId>jetty-io</artifactId>
2163 <version>${jetty.version}</version>
2166 <groupId>org.eclipse.jetty</groupId>
2167 <artifactId>jetty-jmx</artifactId>
2168 <version>${jetty.version}</version>
2171 <groupId>org.eclipse.jetty</groupId>
2172 <artifactId>jetty-webapp</artifactId>
2173 <version>${jetty.version}</version>
2176 <groupId>org.eclipse.jetty</groupId>
2177 <artifactId>jetty-util-ajax</artifactId>
2178 <version>${jetty.version}</version>
2181 <groupId>com.google.protobuf</groupId>
2182 <artifactId>protobuf-java</artifactId>
2183 <version>${external.protobuf.version}</version>
2186 <groupId>org.glassfish.jersey.containers</groupId>
2187 <artifactId>jersey-container-servlet-core</artifactId>
2188 <version>${jersey.version}</version>
2191 <groupId>org.glassfish.jersey.core</groupId>
2192 <artifactId>jersey-client</artifactId>
2193 <version>${jersey.version}</version>
2196 <groupId>org.glassfish.jersey.core</groupId>
2197 <artifactId>jersey-server</artifactId>
2198 <version>${jersey.version}</version>
2201 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2202 <groupId>org.glassfish.web</groupId>
2203 <artifactId>javax.servlet.jsp</artifactId>
2204 <version>${glassfish.jsp.version}</version>
2207 <!-- this lib is used by the compiled Jsp from the above JspC -->
2208 <groupId>javax.servlet.jsp</groupId>
2209 <artifactId>javax.servlet.jsp-api</artifactId>
2210 <version>2.3.1</version>
2213 <groupId>org.glassfish</groupId>
2214 <artifactId>javax.el</artifactId>
2215 <version>${glassfish.el.version}</version>
2218 <groupId>javax.xml.bind</groupId>
2219 <artifactId>jaxb-api</artifactId>
2220 <version>${jaxb-api.version}</version>
2223 <groupId>javax.xml.stream</groupId>
2224 <artifactId>stax-api</artifactId>
2229 <groupId>junit</groupId>
2230 <artifactId>junit</artifactId>
2231 <version>${junit.version}</version>
2234 <groupId>org.hamcrest</groupId>
2235 <artifactId>hamcrest-core</artifactId>
2236 <version>${hamcrest.version}</version>
2240 <groupId>org.mockito</groupId>
2241 <artifactId>mockito-core</artifactId>
2242 <version>${mockito-core.version}</version>
2246 <groupId>org.apache.htrace</groupId>
2247 <artifactId>htrace-core4</artifactId>
2248 <version>${htrace.version}</version>
2251 <groupId>com.lmax</groupId>
2252 <artifactId>disruptor</artifactId>
2253 <version>${disruptor.version}</version>
2256 <groupId>net.spy</groupId>
2257 <artifactId>spymemcached</artifactId>
2258 <version>${spy.version}</version>
2259 <optional>true</optional>
2262 <groupId>org.bouncycastle</groupId>
2263 <artifactId>bcprov-jdk15on</artifactId>
2264 <version>${bouncycastle.version}</version>
2268 <groupId>org.apache.kerby</groupId>
2269 <artifactId>kerb-core</artifactId>
2270 <version>${kerby.version}</version>
2273 <groupId>org.apache.kerby</groupId>
2274 <artifactId>kerb-client</artifactId>
2275 <version>${kerby.version}</version>
2278 <groupId>org.apache.kerby</groupId>
2279 <artifactId>kerb-simplekdc</artifactId>
2280 <version>${kerby.version}</version>
2283 <groupId>org.apache.commons</groupId>
2284 <artifactId>commons-crypto</artifactId>
2285 <version>${commons-crypto.version}</version>
2288 <groupId>net.java.dev.jna</groupId>
2289 <artifactId>jna</artifactId>
2294 <groupId>org.apache.curator</groupId>
2295 <artifactId>curator-framework</artifactId>
2296 <version>${curator.version}</version>
2299 <groupId>org.apache.zookeeper</groupId>
2300 <artifactId>zookeeper</artifactId>
2305 <groupId>org.apache.curator</groupId>
2306 <artifactId>curator-client</artifactId>
2307 <version>${curator.version}</version>
2310 <groupId>com.google.guava</groupId>
2311 <artifactId>guava</artifactId>
2314 <groupId>org.apache.zookeeper</groupId>
2315 <artifactId>zookeeper</artifactId>
2320 <groupId>org.apache.curator</groupId>
2321 <artifactId>curator-recipes</artifactId>
2322 <version>${curator.version}</version>
2325 <groupId>com.google.guava</groupId>
2326 <artifactId>guava</artifactId>
2329 <groupId>org.apache.zookeeper</groupId>
2330 <artifactId>zookeeper</artifactId>
2335 <groupId>org.apache.yetus</groupId>
2336 <artifactId>audience-annotations</artifactId>
2337 <version>${audience-annotations.version}</version>
2340 <groupId>org.apache.hbase.thirdparty</groupId>
2341 <artifactId>hbase-shaded-miscellaneous</artifactId>
2342 <version>${hbase-thirdparty.version}</version>
2345 <groupId>org.apache.hbase.thirdparty</groupId>
2346 <artifactId>hbase-shaded-netty</artifactId>
2347 <version>${hbase-thirdparty.version}</version>
2350 <groupId>org.apache.hbase.thirdparty</groupId>
2351 <artifactId>hbase-shaded-protobuf</artifactId>
2352 <version>${hbase-thirdparty.version}</version>
2355 </dependencyManagement>
2357 <!--REMOVE THIS. HERE TEMPORARILY.
2358 Implication is that every module needs junit which is not so.
2359 Cannot undo though because build runs test on each module and
2360 it fails if no junit. TODO. -->
2362 <groupId>junit</groupId>
2363 <artifactId>junit</artifactId>
2368 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2373 <id>apache.releases.https</id>
2374 <username>hbase_committer</username>
2375 <password>********</password>
2379 <id>apache.snapshots.https</id>
2380 <username>hbase_committer</username>
2381 <password>********</password>
2389 $ mvn -s /my/path/settings.xml deploy
2397 <name>!skip-rsgroup</name>
2401 <module>hbase-rsgroup</module>
2405 <id>build-with-jdk8</id>
2413 <groupId>org.codehaus.mojo</groupId>
2414 <artifactId>findbugs-maven-plugin</artifactId>
2415 <version>${findbugs.maven.version}</version>
2416 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2418 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2419 <findbugsXmlOutput>true</findbugsXmlOutput>
2420 <xmlOutput>true</xmlOutput>
2421 <effort>Max</effort>
2425 <groupId>com.github.spotbugs</groupId>
2426 <artifactId>spotbugs</artifactId>
2427 <version>${spotbugs.version}</version>
2435 <!-- profile activated by the Jenkins patch testing job -->
2437 <id>jenkins.patch</id>
2439 <activeByDefault>false</activeByDefault>
2441 <name>HBasePatchProcess</name>
2445 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2450 <groupId>org.apache.maven.plugins</groupId>
2451 <artifactId>maven-antrun-plugin</artifactId>
2452 <inherited>false</inherited>
2455 <phase>validate</phase>
2461 <echo>Maven Execution Environment</echo>
2462 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2474 <activeByDefault>false</activeByDefault>
2479 <groupId>org.jacoco</groupId>
2480 <artifactId>jacoco-maven-plugin</artifactId>
2481 <version>${jacoco.version}</version>
2484 <id>prepare-agent</id>
2486 <goal>prepare-agent</goal>
2491 <phase>prepare-package</phase>
2498 <systemPropertyVariables>
2499 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2500 </systemPropertyVariables>
2502 <exclude>**/generated/**/*.class</exclude>
2512 <activeByDefault>false</activeByDefault>
2514 <family>Linux</family>
2518 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2525 <family>Mac</family>
2529 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2536 <family>Windows</family>
2540 <build.platform>cygwin</build.platform>
2541 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2544 <!-- this profile should be activated for release builds -->
2550 <groupId>org.apache.rat</groupId>
2551 <artifactId>apache-rat-plugin</artifactId>
2554 <phase>package</phase>
2562 <groupId>org.apache.maven.plugins</groupId>
2563 <artifactId>maven-enforcer-plugin</artifactId>
2564 <version>${enforcer.version}</version>
2567 <enforceBytecodeVersion>
2568 <maxJdkVersion>${compileSource}</maxJdkVersion>
2569 <message>HBase has unsupported dependencies.
2570 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2571 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2572 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2573 Non-release builds can temporarily build with a newer JDK version by setting the
2574 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2576 </enforceBytecodeVersion>
2583 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2584 <!-- Submodules that need hadoop dependencies should declare
2585 profiles with activation properties matching the profile here.
2586 Generally, it should be sufficient to copy the first
2587 few lines of the profile you want to match. -->
2588 <!-- profile for building against Hadoop 2.0.x
2589 This is the default.
2595 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2596 <!--h2--><name>!hadoop.profile</name>
2600 <module>hbase-hadoop2-compat</module>
2603 <hadoop.version>${hadoop-two.version}</hadoop.version>
2604 <compat.module>hbase-hadoop2-compat</compat.module>
2605 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2606 <!--This property is for hadoops netty. HBase netty
2607 comes in via hbase-thirdparty hbase-shaded-netty-->
2608 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2610 <dependencyManagement>
2613 <groupId>org.apache.hadoop</groupId>
2614 <artifactId>hadoop-mapreduce-client-core</artifactId>
2615 <version>${hadoop-two.version}</version>
2618 <groupId>io.netty</groupId>
2619 <artifactId>netty</artifactId>
2622 <groupId>javax.servlet</groupId>
2623 <artifactId>servlet-api</artifactId>
2626 <groupId>javax.inject</groupId>
2627 <artifactId>javax.inject</artifactId>
2630 <groupId>org.codehaus.jackson</groupId>
2631 <artifactId>jackson-core-asl</artifactId>
2634 <groupId>org.codehaus.jackson</groupId>
2635 <artifactId>jackson-mapper-asl</artifactId>
2640 <groupId>org.apache.hadoop</groupId>
2641 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2642 <version>${hadoop-two.version}</version>
2645 <groupId>io.netty</groupId>
2646 <artifactId>netty</artifactId>
2649 <groupId>javax.servlet</groupId>
2650 <artifactId>servlet-api</artifactId>
2655 <groupId>org.apache.hadoop</groupId>
2656 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2657 <version>${hadoop-two.version}</version>
2658 <type>test-jar</type>
2662 <groupId>io.netty</groupId>
2663 <artifactId>netty</artifactId>
2666 <groupId>javax.servlet</groupId>
2667 <artifactId>servlet-api</artifactId>
2672 <groupId>org.apache.hadoop</groupId>
2673 <artifactId>hadoop-hdfs</artifactId>
2674 <version>${hadoop-two.version}</version>
2677 <groupId>javax.servlet.jsp</groupId>
2678 <artifactId>jsp-api</artifactId>
2681 <groupId>javax.servlet</groupId>
2682 <artifactId>servlet-api</artifactId>
2685 <groupId>io.netty</groupId>
2686 <artifactId>netty</artifactId>
2689 <groupId>stax</groupId>
2690 <artifactId>stax-api</artifactId>
2693 <groupId>xerces</groupId>
2694 <artifactId>xercesImpl</artifactId>
2697 <groupId>org.codehaus.jackson</groupId>
2698 <artifactId>jackson-core-asl</artifactId>
2701 <groupId>org.codehaus.jackson</groupId>
2702 <artifactId>jackson-mapper-asl</artifactId>
2705 <groupId>com.google.guava</groupId>
2706 <artifactId>guava</artifactId>
2711 <groupId>org.apache.hadoop</groupId>
2712 <artifactId>hadoop-hdfs</artifactId>
2713 <version>${hadoop-two.version}</version>
2714 <type>test-jar</type>
2718 <groupId>javax.servlet.jsp</groupId>
2719 <artifactId>jsp-api</artifactId>
2722 <groupId>javax.servlet</groupId>
2723 <artifactId>servlet-api</artifactId>
2726 <groupId>io.netty</groupId>
2727 <artifactId>netty</artifactId>
2730 <groupId>stax</groupId>
2731 <artifactId>stax-api</artifactId>
2734 <groupId>xerces</groupId>
2735 <artifactId>xercesImpl</artifactId>
2738 <groupId>org.codehaus.jackson</groupId>
2739 <artifactId>jackson-core-asl</artifactId>
2742 <groupId>org.codehaus.jackson</groupId>
2743 <artifactId>jackson-mapper-asl</artifactId>
2746 <groupId>com.google.guava</groupId>
2747 <artifactId>guava</artifactId>
2752 <groupId>org.apache.hadoop</groupId>
2753 <artifactId>hadoop-auth</artifactId>
2754 <version>${hadoop-two.version}</version>
2757 <groupId>org.apache.hadoop</groupId>
2758 <artifactId>hadoop-common</artifactId>
2759 <version>${hadoop-two.version}</version>
2762 <groupId>commons-beanutils</groupId>
2763 <artifactId>commons-beanutils</artifactId>
2766 <groupId>javax.servlet.jsp</groupId>
2767 <artifactId>jsp-api</artifactId>
2770 <groupId>javax.servlet</groupId>
2771 <artifactId>servlet-api</artifactId>
2774 <groupId>stax</groupId>
2775 <artifactId>stax-api</artifactId>
2778 <groupId>io.netty</groupId>
2779 <artifactId>netty</artifactId>
2782 <groupId>com.google.code.findbugs</groupId>
2783 <artifactId>jsr305</artifactId>
2786 <groupId>junit</groupId>
2787 <artifactId>junit</artifactId>
2790 <groupId>org.codehaus.jackson</groupId>
2791 <artifactId>jackson-core-asl</artifactId>
2794 <groupId>org.codehaus.jackson</groupId>
2795 <artifactId>jackson-mapper-asl</artifactId>
2800 <groupId>org.apache.hadoop</groupId>
2801 <artifactId>hadoop-client</artifactId>
2802 <version>${hadoop-two.version}</version>
2804 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2805 Where do we actually need it? -->
2807 <groupId>org.apache.hadoop</groupId>
2808 <artifactId>hadoop-minicluster</artifactId>
2809 <version>${hadoop-two.version}</version>
2812 <groupId>commons-httpclient</groupId>
2813 <artifactId>commons-httpclient</artifactId>
2816 <groupId>javax.servlet.jsp</groupId>
2817 <artifactId>jsp-api</artifactId>
2820 <groupId>javax.servlet</groupId>
2821 <artifactId>servlet-api</artifactId>
2824 <groupId>stax</groupId>
2825 <artifactId>stax-api</artifactId>
2828 <groupId>io.netty</groupId>
2829 <artifactId>netty</artifactId>
2832 <groupId>com.google.code.findbugs</groupId>
2833 <artifactId>jsr305</artifactId>
2838 <groupId>org.apache.hadoop</groupId>
2839 <artifactId>hadoop-minikdc</artifactId>
2840 <version>${hadoop-two.version}</version>
2844 </dependencyManagement>
2847 profile for building against Hadoop 3.0.0. Activate using:
2848 mvn -Dhadoop.profile=3.0
2854 <name>hadoop.profile</name>
2859 <!--For now, use hadoop2 compat module-->
2860 <module>hbase-hadoop2-compat</module>
2863 <hadoop.version>${hadoop-three.version}</hadoop.version>
2864 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2865 <compat.module>hbase-hadoop2-compat</compat.module>
2866 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2867 <!--This property is for hadoops netty. HBase netty
2868 comes in via hbase-thirdparty hbase-shaded-netty-->
2869 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2871 <dependencyManagement>
2874 <groupId>org.apache.hadoop</groupId>
2875 <artifactId>hadoop-mapreduce-client-core</artifactId>
2876 <version>${hadoop-three.version}</version>
2879 <groupId>io.netty</groupId>
2880 <artifactId>netty</artifactId>
2883 <groupId>javax.inject</groupId>
2884 <artifactId>javax.inject</artifactId>
2887 <groupId>org.codehaus.jackson</groupId>
2888 <artifactId>jackson-core-asl</artifactId>
2891 <groupId>org.codehaus.jackson</groupId>
2892 <artifactId>jackson-mapper-asl</artifactId>
2895 <groupId>com.google.guava</groupId>
2896 <artifactId>guava</artifactId>
2901 <groupId>org.apache.hadoop</groupId>
2902 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2903 <version>${hadoop-three.version}</version>
2906 <groupId>io.netty</groupId>
2907 <artifactId>netty</artifactId>
2912 <groupId>org.apache.hadoop</groupId>
2913 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2914 <version>${hadoop-three.version}</version>
2915 <type>test-jar</type>
2919 <groupId>io.netty</groupId>
2920 <artifactId>netty</artifactId>
2925 <groupId>org.apache.hadoop</groupId>
2926 <artifactId>hadoop-hdfs</artifactId>
2927 <version>${hadoop-three.version}</version>
2930 <groupId>com.sun.jersey</groupId>
2931 <artifactId>jersey-core</artifactId>
2934 <groupId>com.sun.jersey</groupId>
2935 <artifactId>jersey-server</artifactId>
2938 <groupId>javax.servlet.jsp</groupId>
2939 <artifactId>jsp-api</artifactId>
2942 <groupId>javax.servlet</groupId>
2943 <artifactId>servlet-api</artifactId>
2946 <groupId>stax</groupId>
2947 <artifactId>stax-api</artifactId>
2950 <groupId>xerces</groupId>
2951 <artifactId>xercesImpl</artifactId>
2954 <groupId>org.codehaus.jackson</groupId>
2955 <artifactId>jackson-core-asl</artifactId>
2958 <groupId>org.codehaus.jackson</groupId>
2959 <artifactId>jackson-mapper-asl</artifactId>
2962 <groupId>com.google.guava</groupId>
2963 <artifactId>guava</artifactId>
2968 <groupId>org.apache.hadoop</groupId>
2969 <artifactId>hadoop-hdfs</artifactId>
2970 <version>${hadoop-three.version}</version>
2971 <type>test-jar</type>
2975 <groupId>javax.servlet.jsp</groupId>
2976 <artifactId>jsp-api</artifactId>
2979 <groupId>javax.servlet</groupId>
2980 <artifactId>servlet-api</artifactId>
2983 <groupId>stax</groupId>
2984 <artifactId>stax-api</artifactId>
2987 <groupId>xerces</groupId>
2988 <artifactId>xercesImpl</artifactId>
2991 <groupId>org.codehaus.jackson</groupId>
2992 <artifactId>jackson-core-asl</artifactId>
2995 <groupId>org.codehaus.jackson</groupId>
2996 <artifactId>jackson-mapper-asl</artifactId>
2999 <groupId>com.google.guava</groupId>
3000 <artifactId>guava</artifactId>
3003 <groupId>com.sun.jersey</groupId>
3004 <artifactId>jersey-core</artifactId>
3009 <groupId>org.apache.hadoop</groupId>
3010 <artifactId>hadoop-hdfs</artifactId>
3011 <version>${hadoop-three.version}</version>
3012 <type>test-jar</type>
3013 <classifier>tests</classifier>
3017 <groupId>com.sun.jersey</groupId>
3018 <artifactId>jersey-core</artifactId>
3023 <groupId>org.apache.hadoop</groupId>
3024 <artifactId>hadoop-auth</artifactId>
3025 <version>${hadoop-three.version}</version>
3028 <groupId>com.google.guava</groupId>
3029 <artifactId>guava</artifactId>
3032 <groupId>net.minidev</groupId>
3033 <artifactId>json-smart</artifactId>
3038 <groupId>org.apache.hadoop</groupId>
3039 <artifactId>hadoop-common</artifactId>
3040 <version>${hadoop-three.version}</version>
3043 <groupId>com.sun.jersey</groupId>
3044 <artifactId>jersey-core</artifactId>
3047 <groupId>com.sun.jersey</groupId>
3048 <artifactId>jersey-json</artifactId>
3051 <groupId>com.sun.jersey</groupId>
3052 <artifactId>jersey-servlet</artifactId>
3055 <groupId>com.sun.jersey</groupId>
3056 <artifactId>jersey-server</artifactId>
3059 <groupId>javax.servlet.jsp</groupId>
3060 <artifactId>jsp-api</artifactId>
3063 <groupId>javax.servlet</groupId>
3064 <artifactId>javax.servlet-api</artifactId>
3067 <groupId>stax</groupId>
3068 <artifactId>stax-api</artifactId>
3071 <groupId>io.netty</groupId>
3072 <artifactId>netty</artifactId>
3075 <groupId>com.google.code.findbugs</groupId>
3076 <artifactId>jsr305</artifactId>
3079 <groupId>junit</groupId>
3080 <artifactId>junit</artifactId>
3083 <groupId>org.codehause.jackson</groupId>
3084 <artifactId>jackson-core-asl</artifactId>
3087 <groupId>org.codehause.jackson</groupId>
3088 <artifactId>jackson-mapper-asl</artifactId>
3093 <groupId>org.apache.hadoop</groupId>
3094 <artifactId>hadoop-common</artifactId>
3095 <type>test-jar</type>
3096 <classifier>tests</classifier>
3097 <version>${hadoop-three.version}</version>
3100 <groupId>com.sun.jersey</groupId>
3101 <artifactId>jersey-core</artifactId>
3106 <groupId>org.apache.hadoop</groupId>
3107 <artifactId>hadoop-client</artifactId>
3108 <version>${hadoop-three.version}</version>
3111 <groupId>org.apache.hadoop</groupId>
3112 <artifactId>hadoop-annotations</artifactId>
3113 <version>${hadoop-three.version}</version>
3115 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3116 Where do we actually need it? -->
3118 <groupId>org.apache.hadoop</groupId>
3119 <artifactId>hadoop-minicluster</artifactId>
3120 <version>${hadoop-three.version}</version>
3123 <groupId>commons-httpclient</groupId>
3124 <artifactId>commons-httpclient</artifactId>
3127 <groupId>javax.servlet.jsp</groupId>
3128 <artifactId>jsp-api</artifactId>
3131 <groupId>javax.servlet</groupId>
3132 <artifactId>servlet-api</artifactId>
3135 <groupId>stax</groupId>
3136 <artifactId>stax-api</artifactId>
3139 <groupId>io.netty</groupId>
3140 <artifactId>netty</artifactId>
3143 <groupId>com.google.code.findbugs</groupId>
3144 <artifactId>jsr305</artifactId>
3149 <groupId>org.apache.hadoop</groupId>
3150 <artifactId>hadoop-minikdc</artifactId>
3151 <version>${hadoop-three.version}</version>
3155 </dependencyManagement>
3158 <!-- profiles for the tests
3159 See as well the properties of the project for the values
3160 when no profile is active. -->
3162 <!-- Use it to launch all tests in the same JVM -->
3163 <id>singleJVMTests</id>
3165 <activeByDefault>false</activeByDefault>
3168 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3169 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3170 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3171 <surefire.firstPartGroups/>
3175 <!-- Use it to launch small tests only -->
3176 <id>runSmallTests</id>
3178 <activeByDefault>false</activeByDefault>
3181 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3182 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3183 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3184 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3185 <surefire.secondPartGroups/>
3189 <!-- Use it to launch medium tests only -->
3190 <id>runMediumTests</id>
3192 <activeByDefault>false</activeByDefault>
3195 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3196 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3197 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3198 <surefire.secondPartGroups/>
3202 <!-- Use it to launch large tests only -->
3203 <id>runLargeTests</id>
3205 <activeByDefault>false</activeByDefault>
3208 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3209 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3210 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3211 <surefire.secondPartGroups/>
3215 <!-- Use it to launch small & medium tests -->
3216 <id>runDevTests</id>
3218 <activeByDefault>false</activeByDefault>
3221 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3222 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3223 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3224 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3225 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3229 <!-- Use it to launch all tests -->
3230 <id>runAllTests</id>
3232 <activeByDefault>false</activeByDefault>
3235 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3236 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3237 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3238 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3239 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3240 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3244 <id>runMiscTests</id>
3246 <activeByDefault>false</activeByDefault>
3249 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3250 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3251 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3252 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3253 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3254 </surefire.firstPartGroups>
3255 <surefire.secondPartGroups></surefire.secondPartGroups>
3259 <id>runCoprocessorTests</id>
3261 <activeByDefault>false</activeByDefault>
3264 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3265 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3266 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3267 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3268 <surefire.firstPartGroups>
3269 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3270 </surefire.firstPartGroups>
3271 <surefire.secondPartGroups></surefire.secondPartGroups>
3275 <id>runClientTests</id>
3277 <activeByDefault>false</activeByDefault>
3280 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3281 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3282 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3283 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3284 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3285 </surefire.firstPartGroups>
3286 <surefire.secondPartGroups></surefire.secondPartGroups>
3290 <id>runMasterTests</id>
3292 <activeByDefault>false</activeByDefault>
3295 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3296 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3297 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3298 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3299 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3300 </surefire.firstPartGroups>
3301 <surefire.secondPartGroups></surefire.secondPartGroups>
3305 <id>runMapredTests</id>
3307 <activeByDefault>false</activeByDefault>
3310 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3311 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3312 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3313 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3314 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3315 </surefire.firstPartGroups>
3316 <surefire.secondPartGroups></surefire.secondPartGroups>
3320 <id>runMapreduceTests</id>
3322 <activeByDefault>false</activeByDefault>
3325 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3326 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3327 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3328 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3329 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3330 </surefire.firstPartGroups>
3331 <surefire.secondPartGroups></surefire.secondPartGroups>
3335 <id>runRegionServerTests</id>
3337 <activeByDefault>false</activeByDefault>
3340 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3341 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3342 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3343 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3344 <surefire.firstPartGroups>
3345 org.apache.hadoop.hbase.testclassification.RegionServerTests
3346 </surefire.firstPartGroups>
3347 <surefire.secondPartGroups></surefire.secondPartGroups>
3351 <id>runVerySlowMapReduceTests</id>
3353 <activeByDefault>false</activeByDefault>
3356 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3357 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3358 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3359 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3360 <surefire.firstPartGroups>
3361 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3362 </surefire.firstPartGroups>
3363 <surefire.secondPartGroups></surefire.secondPartGroups>
3368 <id>runVerySlowRegionServerTests</id>
3370 <activeByDefault>false</activeByDefault>
3373 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3374 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3375 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3376 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3377 <surefire.firstPartGroups>
3378 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3379 </surefire.firstPartGroups>
3380 <surefire.secondPartGroups></surefire.secondPartGroups>
3385 <id>runFilterTests</id>
3387 <activeByDefault>false</activeByDefault>
3390 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3391 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3392 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3393 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3394 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3395 </surefire.firstPartGroups>
3396 <surefire.secondPartGroups></surefire.secondPartGroups>
3402 <activeByDefault>false</activeByDefault>
3405 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3406 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3407 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3408 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3409 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3410 </surefire.firstPartGroups>
3411 <surefire.secondPartGroups></surefire.secondPartGroups>
3415 <id>runRestTests</id>
3417 <activeByDefault>false</activeByDefault>
3420 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3421 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3422 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3423 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3424 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3425 </surefire.firstPartGroups>
3426 <surefire.secondPartGroups></surefire.secondPartGroups>
3430 <id>runRPCTests</id>
3432 <activeByDefault>false</activeByDefault>
3435 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3436 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3437 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3438 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3439 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3440 </surefire.firstPartGroups>
3441 <surefire.secondPartGroups></surefire.secondPartGroups>
3445 <id>runReplicationTests</id>
3447 <activeByDefault>false</activeByDefault>
3450 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3451 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3452 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3453 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3454 <surefire.firstPartGroups>
3455 org.apache.hadoop.hbase.testclassification.ReplicationTests
3456 </surefire.firstPartGroups>
3457 <surefire.secondPartGroups></surefire.secondPartGroups>
3461 <id>runSecurityTests</id>
3463 <activeByDefault>false</activeByDefault>
3466 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3467 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3468 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3469 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3470 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3471 </surefire.firstPartGroups>
3472 <surefire.secondPartGroups></surefire.secondPartGroups>
3476 <id>runFlakeyTests</id>
3478 <activeByDefault>false</activeByDefault>
3481 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3482 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3483 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3484 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3485 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3486 </surefire.firstPartGroups>
3487 <surefire.secondPartGroups></surefire.secondPartGroups>
3493 <activeByDefault>false</activeByDefault>
3496 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3497 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3498 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3499 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3500 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3501 </surefire.firstPartGroups>
3502 <surefire.secondPartGroups></surefire.secondPartGroups>
3507 <!-- Use it to launch tests locally-->
3515 <surefire.provider>surefire-junit4</surefire.provider>
3516 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3517 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3518 <surefire.firstPartGroups/>
3521 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3522 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3523 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3524 The report will be generated under target/site/clover/index.html when you run
3525 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3529 <activeByDefault>false</activeByDefault>
3535 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3539 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3540 our instrumented classes for the doclet will fail
3543 <groupId>org.apache.maven.plugins</groupId>
3544 <artifactId>maven-javadoc-plugin</artifactId>
3547 <groupId>com.atlassian.maven.plugins</groupId>
3548 <artifactId>maven-clover2-plugin</artifactId>
3549 <version>${clover.version}</version>
3554 <groupId>com.atlassian.maven.plugins</groupId>
3555 <artifactId>maven-clover2-plugin</artifactId>
3556 <version>${clover.version}</version>
3558 <includesAllSourceRoots>true</includesAllSourceRoots>
3559 <includesTestSourceRoots>true</includesTestSourceRoots>
3560 <targetPercentage>50%</targetPercentage>
3561 <generateHtml>true</generateHtml>
3562 <generateXml>true</generateXml>
3564 <exclude>**/generated/**</exclude>
3569 <id>clover-setup</id>
3570 <phase>process-sources</phase>
3588 <!-- Used by the website generation script on jenkins to
3589 do a local install of the jars we need to run a normal
3590 site build w/o forking.
3592 <id>site-install-step</id>
3594 <skipTests>true</skipTests>
3595 <maven.javadoc.skip>true</maven.javadoc.skip>
3596 <enforcer.skip>true</enforcer.skip>
3597 <checkstyle.skip>true</checkstyle.skip>
3598 <findbugs.skip>true</findbugs.skip>
3599 <warbucks.skip>true</warbucks.skip>
3603 <!-- Used by the website generation script on jenkins to
3604 mitigate the impact of unneeded build forks while building
3607 <id>site-build-step</id>
3609 <skipTests>true</skipTests>
3610 <enforcer.skip>true</enforcer.skip>
3611 <maven.main.skip>true</maven.main.skip>
3612 <maven.test.skip>true</maven.test.skip>
3613 <warbucks.skip>true</warbucks.skip>
3614 <protoc.skip>true</protoc.skip>
3615 <remoteresources.skip>true</remoteresources.skip>
3619 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3623 <artifactId>maven-project-info-reports-plugin</artifactId>
3624 <version>2.9</version>
3628 <report>cim</report>
3629 <report>dependencies</report>
3630 <report>dependency-convergence</report>
3631 <report>dependency-info</report>
3632 <report>dependency-management</report>
3633 <report>index</report>
3634 <report>issue-tracking</report>
3635 <report>license</report>
3636 <report>mailing-list</report>
3637 <report>plugin-management</report>
3638 <report>plugins</report>
3639 <report>project-team</report>
3640 <report>scm</report>
3641 <report>summary</report>
3645 <!-- see src/site/site.xml for selected reports -->
3647 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3652 <groupId>org.apache.maven.plugins</groupId>
3653 <artifactId>maven-javadoc-plugin</artifactId>
3654 <version>${maven.javadoc.version}</version>
3660 <report>aggregate</report>
3663 <destDir>devapidocs</destDir>
3664 <name>Developer API</name>
3665 <description>The full HBase API, including private and unstable APIs</description>
3666 <sourceFileExcludes>
3667 <exclude>**/generated/*</exclude>
3668 <exclude>**/protobuf/*</exclude>
3669 <exclude>**/*.scala</exclude>
3670 </sourceFileExcludes>
3671 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3672 <show>private</show> <!-- (shows all classes and members) -->
3674 <linksource>true</linksource>
3675 <sourcetab>2</sourcetab>
3676 <validateLinks>true</validateLinks>
3677 <fixClassComment>true</fixClassComment>
3678 <fixFieldComment>true</fixFieldComment>
3679 <fixMethodComment>true</fixMethodComment>
3680 <fixTags>all</fixTags>
3681 <notimestamp>true</notimestamp>
3682 <!-- Pass some options straight to the javadoc executable since it is easier -->
3683 <additionalJOption>-J-Xmx2G</additionalJOption>
3684 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3685 <additionalDependencies>
3686 <additionalDependency>
3687 <groupId>org.mockito</groupId>
3688 <artifactId>mockito-core</artifactId>
3689 <version>${mockito-core.version}</version>
3690 </additionalDependency>
3691 <additionalDependency>
3692 <groupId>org.hamcrest</groupId>
3693 <artifactId>hamcrest-core</artifactId>
3694 <version>${hamcrest.version}</version>
3695 </additionalDependency>
3696 </additionalDependencies>
3697 <inherited>false</inherited>
3703 <report>test-aggregate</report>
3706 <destDir>testdevapidocs</destDir>
3707 <name>Developer API</name>
3708 <description>The full HBase API test code, including private and unstable APIs</description>
3709 <sourceFileExcludes>
3710 <exclude>**/generated/*</exclude>
3711 <exclude>**/protobuf/*</exclude>
3712 <exclude>**/*.scala</exclude>
3713 </sourceFileExcludes>
3714 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3715 <show>private</show> <!-- (shows all classes and members) -->
3717 <linksource>true</linksource>
3718 <sourcetab>2</sourcetab>
3719 <validateLinks>true</validateLinks>
3720 <fixClassComment>true</fixClassComment>
3721 <fixFieldComment>true</fixFieldComment>
3722 <fixMethodComment>true</fixMethodComment>
3723 <fixTags>all</fixTags>
3724 <notimestamp>true</notimestamp>
3725 <!-- Pass some options straight to the javadoc executable since it is easier -->
3726 <additionalJOption>-J-Xmx2G</additionalJOption>
3727 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3728 <additionalDependencies>
3729 <additionalDependency>
3730 <groupId>org.mockito</groupId>
3731 <artifactId>mockito-core</artifactId>
3732 <version>${mockito-core.version}</version>
3733 </additionalDependency>
3734 <additionalDependency>
3735 <groupId>org.hamcrest</groupId>
3736 <artifactId>hamcrest-core</artifactId>
3737 <version>${hamcrest.version}</version>
3738 </additionalDependency>
3739 </additionalDependencies>
3740 <inherited>false</inherited>
3748 <report>aggregate</report>
3752 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3755 <groupId>org.apache.yetus</groupId>
3756 <artifactId>audience-annotations</artifactId>
3757 <version>${audience-annotations.version}</version>
3759 <useStandardDocletOptions>true</useStandardDocletOptions>
3760 <destDir>apidocs</destDir>
3761 <name>User API</name>
3762 <description>The HBase Application Programmer's API</description>
3763 <excludePackageNames>
3764 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*
3765 </excludePackageNames>
3766 <!-- switch on dependency-driven aggregation -->
3767 <includeDependencySources>false</includeDependencySources>
3768 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3769 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3771 <linksource>true</linksource>
3772 <sourcetab>2</sourcetab>
3773 <validateLinks>true</validateLinks>
3774 <fixClassComment>true</fixClassComment>
3775 <fixFieldComment>true</fixFieldComment>
3776 <fixMethodComment>true</fixMethodComment>
3777 <fixTags>all</fixTags>
3778 <notimestamp>true</notimestamp>
3779 <!-- Pass some options straight to the javadoc executable since it is easier -->
3780 <additionalJOption>-J-Xmx2G</additionalJOption>
3781 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3782 <additionalDependencies>
3783 <additionalDependency>
3784 <groupId>org.mockito</groupId>
3785 <artifactId>mockito-core</artifactId>
3786 <version>${mockito-core.version}</version>
3787 </additionalDependency>
3788 <additionalDependency>
3789 <groupId>org.hamcrest</groupId>
3790 <artifactId>hamcrest-core</artifactId>
3791 <version>${hamcrest.version}</version>
3792 </additionalDependency>
3793 </additionalDependencies>
3794 <inherited>false</inherited>
3797 <!-- User Test API -->
3799 <id>testuserapi</id>
3801 <report>test-aggregate</report>
3805 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3808 <groupId>org.apache.yetus</groupId>
3809 <artifactId>audience-annotations</artifactId>
3810 <version>${audience-annotations.version}</version>
3812 <useStandardDocletOptions>true</useStandardDocletOptions>
3813 <destDir>testapidocs</destDir>
3814 <name>User API</name>
3815 <description>The HBase Application Programmer's API</description>
3816 <excludePackageNames>
3817 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*
3818 </excludePackageNames>
3819 <!-- switch on dependency-driven aggregation -->
3820 <includeDependencySources>false</includeDependencySources>
3821 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3822 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3824 <linksource>true</linksource>
3825 <sourcetab>2</sourcetab>
3826 <validateLinks>true</validateLinks>
3827 <fixClassComment>true</fixClassComment>
3828 <fixFieldComment>true</fixFieldComment>
3829 <fixMethodComment>true</fixMethodComment>
3830 <fixTags>all</fixTags>
3831 <notimestamp>true</notimestamp>
3832 <!-- Pass some options straight to the javadoc executable since it is easier -->
3833 <additionalJOption>-J-Xmx2G</additionalJOption>
3834 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3835 <additionalDependencies>
3836 <additionalDependency>
3837 <groupId>org.mockito</groupId>
3838 <artifactId>mockito-core</artifactId>
3839 <version>${mockito-core.version}</version>
3840 </additionalDependency>
3841 <additionalDependency>
3842 <groupId>org.hamcrest</groupId>
3843 <artifactId>hamcrest-core</artifactId>
3844 <version>${hamcrest.version}</version>
3845 </additionalDependency>
3846 </additionalDependencies>
3847 <inherited>false</inherited>
3854 <groupId>org.apache.maven.plugins</groupId>
3855 <artifactId>maven-checkstyle-plugin</artifactId>
3856 <version>${maven.checkstyle.version}</version>
3858 <excludes>target/**</excludes>
3864 <distributionManagement>
3866 <id>hbase.apache.org</id>
3867 <name>HBase Website at hbase.apache.org</name>
3868 <!-- On why this is the tmp dir and not hbase.apache.org, see
3869 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3871 <url>file:///tmp</url>
3873 </distributionManagement>