1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 ON MVN COMPILE NOT WORKING
25 If you wondering why 'mvn compile' does not work building HBase
26 (in particular, if you are doing it for the first time), instead do
27 'mvn package'. If you are interested in the full story, see
28 https://issues.apache.org/jira/browse/HBASE-6795.
31 <modelVersion>4.0.0</modelVersion>
33 <groupId>org.apache</groupId>
34 <artifactId>apache</artifactId>
37 <!-- no parent resolution -->
39 <groupId>org.apache.hbase</groupId>
40 <artifactId>hbase</artifactId>
41 <packaging>pom</packaging>
42 <version>3.0.0-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>http://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-support</module>
65 <module>hbase-build-configuration</module>
66 <module>hbase-replication</module>
67 <module>hbase-mapreduce</module>
68 <module>hbase-resource-bundle</module>
69 <module>hbase-http</module>
70 <module>hbase-server</module>
71 <module>hbase-thrift</module>
72 <module>hbase-shell</module>
73 <module>hbase-protocol-shaded</module>
74 <module>hbase-protocol</module>
75 <module>hbase-client</module>
76 <module>hbase-hadoop-compat</module>
77 <module>hbase-common</module>
78 <module>hbase-procedure</module>
79 <module>hbase-endpoint</module>
80 <module>hbase-it</module>
81 <module>hbase-examples</module>
82 <module>hbase-assembly</module>
83 <module>hbase-testing-util</module>
84 <module>hbase-annotations</module>
85 <module>hbase-rest</module>
86 <module>hbase-checkstyle</module>
87 <module>hbase-external-blockcache</module>
88 <module>hbase-shaded</module>
89 <module>hbase-spark</module>
90 <module>hbase-archetypes</module>
91 <module>hbase-metrics-api</module>
92 <module>hbase-metrics</module>
93 <module>hbase-spark-it</module>
94 <module>hbase-backup</module>
95 <module>hbase-zookeeper</module>
97 <!--Add apache snapshots in case we want to use unreleased versions of plugins:
98 e.g. surefire 2.18-SNAPSHOT-->
101 <id>apache.snapshots</id>
102 <url>http://repository.apache.org/snapshots/</url>
104 </pluginRepositories>
106 <connection>scm:git:git://git.apache.org/hbase.git</connection>
107 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/hbase.git</developerConnection>
108 <url>https://git-wip-us.apache.org/repos/asf?p=hbase.git</url>
111 <system>JIRA</system>
112 <url>http://issues.apache.org/jira/browse/HBASE</url>
115 <system>hudson</system>
116 <url>http://hudson.zones.apache.org/hudson/view/HBase/job/HBase-TRUNK/</url>
120 <name>User List</name>
121 <subscribe>user-subscribe@hbase.apache.org</subscribe>
122 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
123 <post>user@hbase.apache.org</post>
124 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
126 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
127 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
131 <name>Developer List</name>
132 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
133 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
134 <post>dev@hbase.apache.org</post>
135 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
137 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
138 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
142 <name>Commits List</name>
143 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
144 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
145 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
148 <name>Issues List</name>
149 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
150 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
151 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
154 <name>Builds List</name>
155 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
156 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
157 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
163 <name>Abhishek Singh Chouhan</name>
164 <email>achouhan@apache.org</email>
165 <timezone>+5</timezone>
169 <name>Amitanand S. Aiyer</name>
170 <email>acube123@apache.org</email>
171 <timezone>-8</timezone>
175 <name>Allan Yang</name>
176 <email>allan163@apache.org</email>
177 <timezone>+8</timezone>
181 <name>Apekshit Sharma</name>
182 <email>appy@apache.org</email>
183 <timezone>-8</timezone>
187 <name>Anastasia Braginsky</name>
188 <email>anastasia@apache.org</email>
189 <timezone>+2</timezone>
193 <name>Andrew Purtell</name>
194 <email>apurtell@apache.org</email>
195 <timezone>-8</timezone>
198 <id>anoopsamjohn</id>
199 <name>Anoop Sam John</name>
200 <email>anoopsamjohn@apache.org</email>
201 <timezone>+5</timezone>
205 <name>Mikhail Antonov</name>
206 <email>antonov@apache.org</email>
207 <timezone>-8</timezone>
210 <id>ashishsinghi</id>
211 <name>Ashish Singhi</name>
212 <email>ashishsinghi@apache.org</email>
213 <timezone>+5</timezone>
217 <name>Ashu Pachauri</name>
218 <email>ashu@apache.org</email>
219 <timezone>+5</timezone>
223 <name>Lijin Bin</name>
224 <email>binlijin@apache.org</email>
225 <timezone>+8</timezone>
229 <name>Sean Busbey</name>
230 <email>busbey@apache.org</email>
231 <timezone>-6</timezone>
235 <name>Heng Chen</name>
236 <email>chenheng@apache.org</email>
237 <timezone>+8</timezone>
241 <name>Chia-Ping Tsai</name>
242 <email>chia7712@apache.org</email>
243 <timezone>+8</timezone>
247 <name>Devaraj Das</name>
248 <email>ddas@apache.org</email>
249 <timezone>-8</timezone>
253 <name>Dima Spivak</name>
254 <email>dimaspivak@apache.org</email>
255 <timezone>-8</timezone>
259 <name>Doug Meil</name>
260 <email>dmeil@apache.org</email>
261 <timezone>-5</timezone>
265 <name>Elliott Clark</name>
266 <email>eclark@apache.org</email>
267 <timezone>-8</timezone>
271 <name>Josh Elser</name>
272 <email>elserj@apache.org</email>
273 <timezone>-5</timezone>
277 <name>Enis Soztutar</name>
278 <email>enis@apache.org</email>
279 <timezone>-8</timezone>
283 <name>Eshcar Hillel</name>
284 <email>eshcar@apache.org</email>
285 <timezone>+2</timezone>
289 <name>Honghua Feng</name>
290 <email>fenghh@apache.org</email>
291 <timezone>+8</timezone>
295 <name>Gary Helmling</name>
296 <email>garyh@apache.org</email>
297 <timezone>-8</timezone>
301 <name>Gregory Chanan</name>
302 <email>gchanan@apache.org</email>
303 <timezone>-8</timezone>
307 <name>Huaxiang Sun</name>
308 <email>huaxiangsun@apache.org</email>
309 <timezone>-8</timezone>
313 <name>Jean-Daniel Cryans</name>
314 <email>jdcryans@apache.org</email>
315 <timezone>-8</timezone>
319 <name>Jeffrey Zhong</name>
320 <email>jeffreyz@apache.org</email>
321 <timezone>-8</timezone>
325 <name>Jing Chen (Jerry) He</name>
326 <email>jerryjch@apache.org</email>
327 <timezone>-8</timezone>
331 <name>Jesse Yates</name>
332 <email>jyates@apache.org</email>
333 <timezone>-8</timezone>
337 <name>Jonathan Gray</name>
338 <email>jgray@fb.com</email>
339 <timezone>-8</timezone>
343 <name>Jingcheng Du</name>
344 <email>jingchengdu@apache.org</email>
345 <timezone>+8</timezone>
349 <name>Esteban Gutierrez</name>
350 <email>esteban@apache.org</email>
351 <timezone>-8</timezone>
355 <name>Jan Hentschel</name>
356 <email>janh@apache.org</email>
357 <timezone>+1</timezone>
361 <name>Jonathan Hsieh</name>
362 <email>jmhsieh@apache.org</email>
363 <timezone>-8</timezone>
367 <name>Jimmy Xiang</name>
368 <email>jxiang@apache.org</email>
369 <timezone>-8</timezone>
373 <name>Kannan Muthukkaruppan</name>
374 <email>kannan@fb.com</email>
375 <timezone>-8</timezone>
379 <name>Karthik Ranganathan</name>
380 <email>kranganathan@fb.com</email>
381 <timezone>-8</timezone>
385 <name>Lars George</name>
386 <email>larsgeorge@apache.org</email>
387 <timezone>+1</timezone>
391 <name>Lars Hofhansl</name>
392 <email>larsh@apache.org</email>
393 <timezone>-8</timezone>
397 <name>Liang Xie</name>
398 <email>liangxie@apache.org</email>
399 <timezone>+8</timezone>
403 <name>Shaohui Liu</name>
404 <email>liushaohui@apache.org</email>
405 <timezone>+8</timezone>
409 <name>Liyin Tang</name>
410 <email>liyin.tang@fb.com</email>
411 <timezone>-8</timezone>
416 <email>liyu@apache.org</email>
417 <timezone>+8</timezone>
421 <name>Mikhail Bautin</name>
422 <email>mbautin@apache.org</email>
423 <timezone>-8</timezone>
427 <name>Matteo Bertozzi</name>
428 <email>mbertozzi@apache.org</email>
429 <timezone>0</timezone>
433 <name>Mike Drob</name>
434 <email>mdrob@apache.org</email>
435 <timezone>-5</timezone>
439 <name>Misty Stanley-Jones</name>
440 <email>misty@apache.org</email>
441 <timezone>-8</timezone>
445 <name>Nick Dimiduk</name>
446 <email>ndimiduk@apache.org</email>
447 <timezone>-8</timezone>
451 <name>Nicolas Liochon</name>
452 <email>nkeywal@apache.org</email>
453 <timezone>+1</timezone>
456 <id>nspiegelberg</id>
457 <name>Nicolas Spiegelberg</name>
458 <email>nspiegelberg@fb.com</email>
459 <timezone>-8</timezone>
463 <name>Andrey Stepachev</name>
464 <email>octo47@gmail.com</email>
465 <timezone>0</timezone>
469 <name>Zheng Hu</name>
470 <email>openinx@apache.org</email>
471 <timezone>+8</timezone>
475 <name>Rajeshbabu Chintaguntla</name>
476 <email>rajeshbabu@apache.org</email>
477 <timezone>+5</timezone>
481 <name>Ramkrishna S Vasudevan</name>
482 <email>ramkrishna@apache.org</email>
483 <timezone>+5</timezone>
487 <name>Ryan Rawson</name>
488 <email>rawson@apache.org</email>
489 <timezone>-8</timezone>
493 <name>Sergey Shelukhin</name>
494 <email>sershe@apache.org</email>
495 <timezone>-8</timezone>
499 <name>Srikanth Srungarapu</name>
500 <email>ssrungarapu@apache.org</email>
501 <timezone>-8</timezone>
505 <name>Michael Stack</name>
506 <email>stack@apache.org</email>
507 <timezone>-8</timezone>
511 <name>Stephen Yuan Jiang</name>
512 <email>syuanjiang@apache.org</email>
513 <timezone>-8</timezone>
518 <email>yuzhihong@gmail.com</email>
519 <timezone>-8</timezone>
523 <name>Todd Lipcon</name>
524 <email>todd@apache.org</email>
525 <timezone>-8</timezone>
529 <name>Francis Liu</name>
530 <email>toffer@apache.org</email>
531 <timezone>-8</timezone>
535 <name>Vikas Vishwakarma</name>
536 <email>vikasv@apache.org</email>
537 <timezone>+5</timezone>
541 <name>Virag Kothari</name>
542 <email>virag@yahoo-inc.com</email>
543 <timezone>-8</timezone>
547 <name>Phil Yang</name>
548 <email>yangzhe1991@apache.org</email>
549 <timezone>+8</timezone>
553 <name>Guanghao Zhang</name>
554 <email>zghao@apache.org</email>
555 <timezone>+8</timezone>
559 <name>Duo Zhang</name>
560 <email>zhangduo@apache.org</email>
561 <timezone>+8</timezone>
565 <name>Chunhui Shen</name>
566 <email>zjushch@apache.org</email>
567 <timezone>+8</timezone>
571 <name>Rahul Gidwani</name>
572 <email>churro@apache.org</email>
573 <timezone>-8</timezone>
577 <name>Yi Liang</name>
578 <email>yiliang@apache.org</email>
579 <timezone>-8</timezone>
585 <groupId>kr.motd.maven</groupId>
586 <artifactId>os-maven-plugin</artifactId>
587 <version>${os.maven.version}</version>
590 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
591 For specific version use a property and define it in the parent pom.
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-dependency-plugin</artifactId>
598 <version>${maven.dependency.version}</version>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-javadoc-plugin</artifactId>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-remote-resources-plugin</artifactId>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-shade-plugin</artifactId>
611 <version>${maven.shade.version}</version>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-release-plugin</artifactId>
617 <!--You need this profile. It'll sign your artifacts.
618 I'm not sure if this config. actually works though.
619 I've been specifying -Papache-release on the command-line
621 <releaseProfiles>apache-release</releaseProfiles>
622 <!--This stops our running tests for each stage of maven release.
623 But it builds the test jar. From SUREFIRE-172.
625 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
626 <goals>${goals}</goals>
627 <pomFileName>pom.xml</pomFileName>
631 <groupId>org.apache.maven.plugins</groupId>
632 <artifactId>maven-compiler-plugin</artifactId>
633 <version>${maven.compiler.version}</version>
635 <source>${compileSource}</source>
636 <target>${compileSource}</target>
637 <showWarnings>true</showWarnings>
638 <showDeprecation>false</showDeprecation>
639 <useIncrementalCompilation>false</useIncrementalCompilation>
640 <compilerArgument>-Xlint:-options</compilerArgument>
643 <!-- Test oriented plugins -->
645 <groupId>org.apache.maven.plugins</groupId>
646 <artifactId>maven-surefire-plugin</artifactId>
647 <version>${surefire.version}</version>
649 <!-- by default surefire selects dynamically the connector to the unit tests
650 tool. We want to use always the same as the different connectors can have different
651 bugs and behaviour. -->
653 <groupId>org.apache.maven.surefire</groupId>
654 <artifactId>${surefire.provider}</artifactId>
655 <version>${surefire.version}</version>
658 <!-- Generic testing configuration for all packages -->
660 <groups>${surefire.firstPartGroups}</groups>
661 <failIfNoTests>false</failIfNoTests>
662 <skip>${surefire.skipFirstPart}</skip>
663 <forkCount>${surefire.firstPartForkCount}</forkCount>
664 <reuseForks>false</reuseForks>
665 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
666 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
667 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
668 <systemPropertyVariables>
669 <test.build.classes>${test.build.classes}</test.build.classes>
670 </systemPropertyVariables>
672 <!-- users can add -D option to skip particular test classes
673 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
675 <exclude>${test.exclude.pattern}</exclude>
680 <id>secondPartTestsExecution</id>
686 <skip>${surefire.skipSecondPart}</skip>
687 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
688 <reuseForks>false</reuseForks>
689 <forkCount>${surefire.secondPartForkCount}</forkCount>
690 <groups>${surefire.secondPartGroups}</groups>
691 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-surefire-report-plugin</artifactId>
699 <version>${surefire.version}</version>
702 <groupId>org.apache.maven.plugins</groupId>
703 <artifactId>maven-clean-plugin</artifactId>
707 <!--dfs tests have build dir hardcoded. Clean it as part of
709 <directory>build</directory>
715 <groupId>org.codehaus.mojo</groupId>
716 <artifactId>buildnumber-maven-plugin</artifactId>
717 <version>${buildnumber.maven.version}</version>
720 <groupId>org.codehaus.mojo</groupId>
721 <artifactId>findbugs-maven-plugin</artifactId>
722 <version>${findbugs.maven.version}</version>
723 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
725 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
726 <findbugsXmlOutput>true</findbugsXmlOutput>
727 <xmlOutput>true</xmlOutput>
732 <groupId>org.codehaus.mojo</groupId>
733 <artifactId>build-helper-maven-plugin</artifactId>
734 <version>${build.helper.maven.version}</version>
737 <artifactId>maven-antrun-plugin</artifactId>
738 <version>${maven.antrun.version}</version>
741 <groupId>org.jamon</groupId>
742 <artifactId>jamon-maven-plugin</artifactId>
743 <version>${jamon.plugin.version}</version>
745 <!-- Make a jar and put the sources in the jar.
746 In the parent pom, so submodules will do the right thing. -->
748 <groupId>org.apache.maven.plugins</groupId>
749 <artifactId>maven-source-plugin</artifactId>
752 <id>attach-sources</id>
753 <phase>prepare-package</phase>
755 <goal>jar-no-fork</goal>
756 <goal>test-jar-no-fork</goal>
761 <!-- General configuration for submodules who want to build a test jar -->
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-jar-plugin</artifactId>
767 <phase>prepare-package</phase>
769 <!--This goal will install a -test.jar when we do install
770 See http://maven.apache.org/guides/mini/guide-attached-tests.html
772 <goal>test-jar</goal>
777 <skipIfEmpty>true</skipIfEmpty>
779 <exclude>hbase-site.xml</exclude>
780 <exclude>hdfs-site.xml</exclude>
781 <exclude>log4j.properties</exclude>
782 <exclude>mapred-queues.xml</exclude>
783 <exclude>mapred-site.xml</exclude>
784 <!--I was seeing this w/o the below addition:
785 [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]
787 <exclude>*.jar</exclude>
791 <!-- General config for eclipse classpath/settings -->
793 <groupId>org.apache.maven.plugins</groupId>
794 <artifactId>maven-eclipse-plugin</artifactId>
795 <version>${maven.eclipse.version}</version>
797 <!--This plugin's configuration is used to store Eclipse m2e settings
798 only. It has no influence on the Maven build itself. m2e does not
799 provide any safeguards against rogue maven plugins that leak
800 classloaders, modify random files inside workspace or throw nasty
801 exceptions to fail the build.
802 Top level doesn't do any specific configuration currently - left
803 to modules to decide what they want to bind, sans those plugins
804 defined in this pom. -->
806 <groupId>org.eclipse.m2e</groupId>
807 <artifactId>lifecycle-mapping</artifactId>
808 <version>${lifecycle.mapping.version}</version>
810 <lifecycleMappingMetadata>
813 <pluginExecutionFilter>
814 <groupId>org.jacoco</groupId>
815 <artifactId>jacoco-maven-plugin</artifactId>
816 <versionRange>[0.6.2.201302030002,)</versionRange>
818 <goal>prepare-agent</goal>
820 </pluginExecutionFilter>
826 <pluginExecutionFilter>
827 <groupId>org.apache.maven.plugins</groupId>
828 <artifactId>maven-enforcer-plugin</artifactId>
829 <versionRange>${enforcer.version}</versionRange>
833 </pluginExecutionFilter>
839 <pluginExecutionFilter>
840 <groupId>org.apache.maven.plugins</groupId>
841 <artifactId>maven-remote-resources-plugin</artifactId>
842 <versionRange>[1.5,)</versionRange>
847 </pluginExecutionFilter>
853 <pluginExecutionFilter>
854 <groupId>org.codehaus.mojo</groupId>
855 <artifactId>buildnumber-maven-plugin</artifactId>
856 <versionRange>[1.3,)</versionRange>
858 <goal>create-timestamp</goal>
860 </pluginExecutionFilter>
863 <runOnConfiguration>true</runOnConfiguration>
864 <runOnIncremental>true</runOnIncremental>
869 </lifecycleMappingMetadata>
873 <!-- excludes are inherited -->
874 <groupId>org.apache.rat</groupId>
875 <artifactId>apache-rat-plugin</artifactId>
876 <version>${apache.rat.version}</version>
879 <exclude>**/*.versionsBackup</exclude>
880 <exclude>**/*.log</exclude>
881 <exclude>**/.*</exclude>
882 <exclude>**/*.tgz</exclude>
883 <exclude>**/*.orig</exclude>
884 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
885 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
886 <exclude>**/0000000000000016310</exclude>
887 <exclude>**/.idea/**</exclude>
888 <exclude>**/*.iml</exclude>
889 <exclude>**/CHANGES.txt</exclude>
890 <exclude>**/generated/**</exclude>
891 <exclude>**/gen-*/**</exclude>
892 <!-- No material contents -->
893 <exclude>conf/regionservers</exclude>
894 <exclude>**/*.avpr</exclude>
895 <exclude>**/*.svg</exclude>
896 <!-- non-standard notice file from jruby included by reference -->
897 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
898 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
899 <exclude>**/src/main/asciidoc/hbase.css</exclude>
900 <!-- MIT http://jquery.org/license -->
901 <exclude>**/jquery.min.js</exclude>
902 <!-- vector graphics -->
903 <exclude>**/*.vm</exclude>
904 <!-- apache doxia generated -->
905 <exclude>**/control</exclude>
906 <exclude>**/conffile</exclude>
907 <!-- auto-gen docs -->
908 <exclude>docs/*</exclude>
909 <exclude>logs/*</exclude>
910 <!-- exclude source control files -->
911 <exclude>.git/**</exclude>
912 <exclude>.svn/**</exclude>
913 <exclude>**/.settings/**</exclude>
914 <exclude>**/patchprocess/**</exclude>
915 <exclude>src/site/resources/repo/**</exclude>
916 <exclude>**/dependency-reduced-pom.xml</exclude>
917 <exclude>**/rat.txt</exclude>
918 <!-- exclude the shaded protobuf files -->
919 <exclude>**/shaded/com/google/protobuf/**</exclude>
920 <exclude>**/src/main/patches/**</exclude>
925 <artifactId>maven-assembly-plugin</artifactId>
927 <!--Defer to the hbase-assembly sub-module. It
929 <skipAssembly>true</skipAssembly>
933 <groupId>org.xolstice.maven.plugins</groupId>
934 <artifactId>protobuf-maven-plugin</artifactId>
935 <version>${protobuf.plugin.version}</version>
937 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
938 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
939 <clearOutputDirectory>false</clearOutputDirectory>
940 <checkStaleness>true</checkStaleness>
944 <!-- Approach followed here is roughly the same as mentioned here:
945 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
947 <groupId>org.apache.maven.plugins</groupId>
948 <artifactId>maven-checkstyle-plugin</artifactId>
949 <version>${maven.checkstyle.version}</version>
952 <groupId>org.apache.hbase</groupId>
953 <artifactId>hbase-checkstyle</artifactId>
954 <version>${project.version}</version>
957 <groupId>com.puppycrawl.tools</groupId>
958 <artifactId>checkstyle</artifactId>
959 <version>${checkstyle.version}</version>
963 <configLocation>hbase/checkstyle.xml</configLocation>
964 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
965 <includeTestSourceDirectory>true</includeTestSourceDirectory>
972 <groupId>org.codehaus.mojo</groupId>
973 <artifactId>build-helper-maven-plugin</artifactId>
976 <id>negate-license-bundles-property</id>
978 <goal>bsh-property</goal>
981 <source>skip.license.check = !${license.bundles.dependencies};</source>
983 <property>skip.license.check</property>
990 <groupId>org.apache.maven.plugins</groupId>
991 <artifactId>maven-enforcer-plugin</artifactId>
992 <version>${enforcer.version}</version>
995 <groupId>org.codehaus.mojo</groupId>
996 <artifactId>extra-enforcer-rules</artifactId>
997 <version>${extra.enforcer.version}</version>
1000 <!-- version set by parent -->
1003 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1005 <goal>enforce</goal>
1009 <!-- Help people activate profiles correctly -->
1011 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1012 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1013 </evaluateBeanshell>
1014 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1015 <requireMavenVersion>
1016 <version>[${maven.min.version},)</version>
1017 <message>Maven is out of date.
1018 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1019 You appear to be using an older version. You can use either "mvn -version" or
1020 "mvn enforcer:display-info" to verify what version is active.
1021 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1023 </requireMavenVersion>
1024 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1025 <requireJavaVersion>
1026 <version>[${java.min.version},)</version>
1027 <message>Java is out of date.
1028 HBase requirs at least version ${java.min.version} of the JDK to properly build from source.
1029 You appear to be using an older version. You can use either "mvn -version" or
1030 "mvn enforcer:display-info" to verify what version is active.
1031 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1033 </requireJavaVersion>
1034 <bannedDependencies>
1036 <exclude>xerces:xercesImpl</exclude>
1038 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1039 </bannedDependencies>
1044 <id>banned-jsr305</id>
1046 <goal>enforce</goal>
1050 <bannedDependencies>
1052 <exclude>com.google.code.findbugs:jsr305</exclude>
1054 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1055 </bannedDependencies>
1060 <id>banned-scala</id>
1062 <goal>enforce</goal>
1066 <bannedDependencies>
1068 <exclude>org.scala-lang:scala-library</exclude>
1070 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1071 </bannedDependencies>
1076 <id>banned-hbase-spark</id>
1078 <goal>enforce</goal>
1082 <bannedDependencies>
1084 <exclude>org.apache.hbase:hbase-spark</exclude>
1086 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1087 </bannedDependencies>
1092 <id>check-aggregate-license</id>
1093 <!-- must check after LICENSE is built at 'generate-resources' -->
1094 <phase>process-resources</phase>
1096 <goal>enforce</goal>
1102 File license = new File("${license.aggregate.path}");
1104 // Beanshell does not support try-with-resources,
1105 // so we must close this scanner manually
1106 Scanner scanner = new Scanner(license);
1108 while (scanner.hasNextLine()) {
1109 if (scanner.nextLine().startsWith("ERROR:")) {
1118 License errors detected, for more detail find ERROR in
1119 ${license.aggregate.path}
1121 </evaluateBeanshell>
1123 <skip>${skip.license.check}</skip>
1128 <!-- parent-module only plugins -->
1130 <groupId>org.codehaus.mojo</groupId>
1131 <artifactId>xml-maven-plugin</artifactId>
1132 <version>${xml.maven.version}</version>
1133 <inherited>false</inherited>
1136 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1138 <goal>transform</goal>
1144 <transformationSets>
1145 <!-- For asciidoc -->
1147 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1148 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1150 <include>hbase-default.xml</include>
1152 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1154 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1155 <pattern>^(.*)\.xml$</pattern>
1156 <replacement>$1.adoc</replacement>
1159 <outputDir>${basedir}/target/asciidoc</outputDir>
1160 </transformationSet>
1161 </transformationSets>
1164 <!-- Special configuration for findbugs just in the parent so
1165 the filter file location can be more general (see definition in pluginManagement) -->
1167 <groupId>org.codehaus.mojo</groupId>
1168 <artifactId>findbugs-maven-plugin</artifactId>
1171 <inherited>false</inherited>
1173 <goal>findbugs</goal>
1176 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1182 <groupId>org.apache.maven.plugins</groupId>
1183 <artifactId>maven-checkstyle-plugin</artifactId>
1186 <groupId>org.apache.maven.plugins</groupId>
1187 <artifactId>maven-site-plugin</artifactId>
1188 <version>${maven.site.version}</version>
1189 <inherited>false</inherited>
1192 <!-- add support for ssh/scp -->
1193 <groupId>org.apache.maven.wagon</groupId>
1194 <artifactId>wagon-ssh</artifactId>
1195 <version>${wagon.ssh.version}</version>
1199 <siteDirectory>${basedir}/src/site</siteDirectory>
1200 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1201 <inputEncoding>UTF-8</inputEncoding>
1202 <outputEncoding>UTF-8</outputEncoding>
1205 <!-- For AsciiDoc docs building -->
1207 <groupId>org.asciidoctor</groupId>
1208 <artifactId>asciidoctor-maven-plugin</artifactId>
1209 <version>${asciidoctor.plugin.version}</version>
1210 <inherited>false</inherited>
1213 <groupId>org.asciidoctor</groupId>
1214 <artifactId>asciidoctorj-pdf</artifactId>
1215 <version>${asciidoctorj.pdf.version}</version>
1219 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1220 <doctype>book</doctype>
1221 <imagesDir>images</imagesDir>
1222 <sourceHighlighter>coderay</sourceHighlighter>
1224 <docVersion>${project.version}</docVersion>
1229 <id>output-html</id>
1232 <goal>process-asciidoc</goal>
1236 <stylesheet>hbase.css</stylesheet>
1238 <backend>html5</backend>
1245 <goal>process-asciidoc</goal>
1248 <backend>pdf</backend>
1253 <idseparator>-</idseparator>
1260 <groupId>org.apache.maven.plugins</groupId>
1261 <artifactId>maven-resources-plugin</artifactId>
1262 <!--$NO-MVN-MAN-VER$ -->
1263 <inherited>false</inherited>
1266 <id>copy-htaccess</id>
1268 <goal>copy-resources</goal>
1272 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1275 <directory>${basedir}/src/site/resources/</directory>
1277 <include>.htaccess</include>
1283 <!-- needed to make the redirect above work -->
1285 <id>copy-empty-book-dir</id>
1287 <goal>copy-resources</goal>
1291 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1294 <directory>${basedir}/src/site/resources/</directory>
1296 <include>book/**</include>
1304 <escapeString>\</escapeString>
1308 <groupId>org.apache.maven.plugins</groupId>
1309 <artifactId>maven-antrun-plugin</artifactId>
1310 <version>${maven.antrun.version}</version>
1311 <inherited>false</inherited>
1312 <!-- Rename the book.pdf generated by asciidoctor -->
1318 <target name="rename file">
1319 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1329 <groupId>org.codehaus.mojo</groupId>
1330 <artifactId>buildnumber-maven-plugin</artifactId>
1333 <phase>validate</phase>
1335 <goal>create-timestamp</goal>
1340 <timestampFormat>yyyy</timestampFormat>
1341 <timestampPropertyName>build.year</timestampPropertyName>
1345 <groupId>org.apache.felix</groupId>
1346 <artifactId>maven-bundle-plugin</artifactId>
1347 <version>${maven.bundle.version}</version>
1348 <inherited>true</inherited>
1349 <extensions>true</extensions>
1352 <groupId>org.scala-tools</groupId>
1353 <artifactId>maven-scala-plugin</artifactId>
1354 <version>${maven.scala.version}</version>
1359 <!-- override on command line to have generated LICENSE files include
1360 diagnostic info for verifying notice requirements -->
1361 <license.debug.print.included>false</license.debug.print.included>
1362 <!-- When a particular module bundles its depenendencies, should be true -->
1363 <license.bundles.dependencies>false</license.bundles.dependencies>
1364 <!-- modules that include a the logo in their source tree should set true -->
1365 <license.bundles.logo>false</license.bundles.logo>
1366 <!-- modules that include bootstrap in their source tree should set true -->
1367 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1368 <!-- modules that include jquery in their source tree should set true -->
1369 <license.bundles.jquery>false</license.bundles.jquery>
1370 <!-- where to find the generated LICENSE files -->
1371 <license.aggregate.path>
1372 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1373 </license.aggregate.path>
1374 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1375 <maven.build.timestamp.format>
1377 </maven.build.timestamp.format>
1378 <buildDate>${maven.build.timestamp}</buildDate>
1379 <compileSource>1.8</compileSource>
1380 <!-- Build dependencies -->
1381 <maven.min.version>3.0.4</maven.min.version>
1382 <java.min.version>${compileSource}</java.min.version>
1383 <!-- Dependencies -->
1384 <hadoop-two.version>2.7.4</hadoop-two.version>
1385 <hadoop-three.version>3.0.0</hadoop-three.version>
1386 <!-- These must be defined here for downstream build tools that don't look at profiles.
1387 They ought to match the values found in our default hadoop profile, which is
1388 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1389 <hadoop.version>${hadoop-two.version}</hadoop.version>
1390 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1391 <compat.module>hbase-hadoop2-compat</compat.module>
1392 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1393 <audience-annotations.version>0.5.0</audience-annotations.version>
1394 <!-- end HBASE-15925 default hadoop compatibility values -->
1395 <avro.version>1.7.7</avro.version>
1396 <commons-cli.version>1.4</commons-cli.version>
1397 <commons-codec.version>1.10</commons-codec.version>
1398 <!-- pretty outdated -->
1399 <commons-io.version>2.5</commons-io.version>
1400 <commons-lang3.version>3.6</commons-lang3.version>
1401 <commons-math.version>3.6.1</commons-math.version>
1402 <disruptor.version>3.3.6</disruptor.version>
1403 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1404 <collections.version>4.1</collections.version>
1405 <httpclient.version>4.5.3</httpclient.version>
1406 <httpcore.version>4.4.6</httpcore.version>
1407 <metrics-core.version>3.2.1</metrics-core.version>
1408 <jackson.version>2.9.2</jackson.version>
1409 <jaxb-api.version>2.2.12</jaxb-api.version>
1410 <jetty.version>9.3.19.v20170502</jetty.version>
1411 <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version>
1412 <servlet.api.version>3.1.0</servlet.api.version>
1413 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1414 <jersey.version>2.25.1</jersey.version>
1415 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1416 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1417 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1418 <jruby.version>9.1.10.0</jruby.version>
1419 <junit.version>4.12</junit.version>
1420 <hamcrest.version>1.3</hamcrest.version>
1421 <htrace.version>4.2.0-incubating</htrace.version>
1422 <htrace-hadoop.version>3.2.0-incubating</htrace-hadoop.version>
1423 <log4j.version>1.2.17</log4j.version>
1424 <mockito-core.version>2.1.0</mockito-core.version>
1425 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1426 <external.protobuf.version>2.5.0</external.protobuf.version>
1427 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1428 <thrift.path>thrift</thrift.path>
1429 <thrift.version>0.9.3</thrift.version>
1430 <zookeeper.version>3.4.10</zookeeper.version>
1431 <slf4j.version>1.7.25</slf4j.version>
1432 <clover.version>4.0.3</clover.version>
1433 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1434 <jettison.version>1.3.8</jettison.version>
1435 <!--This property is for hadoops netty. HBase netty
1436 comes in via hbase-thirdparty hbase-shaded-netty-->
1437 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1438 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1439 <joni.version>2.1.11</joni.version>
1440 <jcodings.version>1.0.18</jcodings.version>
1441 <spy.version>2.12.2</spy.version>
1442 <bouncycastle.version>1.46</bouncycastle.version>
1443 <kerby.version>1.0.1</kerby.version>
1444 <commons-crypto.version>1.0.0</commons-crypto.version>
1445 <curator.version>4.0.0</curator.version>
1446 <!-- Plugin Dependencies -->
1447 <apache.rat.version>0.12</apache.rat.version>
1448 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1449 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1450 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1451 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1452 <checkstyle.version>6.18</checkstyle.version>
1453 <exec.maven.version>1.6.0</exec.maven.version>
1454 <error-prone.version>2.1.1</error-prone.version>
1455 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1456 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1457 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1458 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1459 <maven.antrun.version>1.8</maven.antrun.version>
1460 <maven.bundle.version>3.3.0</maven.bundle.version>
1461 <maven.checkstyle.version>2.17</maven.checkstyle.version>
1462 <maven.compiler.version>3.6.1</maven.compiler.version>
1463 <maven.dependency.version>3.0.1</maven.dependency.version>
1464 <maven.eclipse.version>2.10</maven.eclipse.version>
1465 <maven.install.version>2.5.2</maven.install.version>
1466 <maven.jar.version>3.0.2</maven.jar.version>
1467 <maven.patch.version>1.2</maven.patch.version>
1468 <maven.scala.version>2.15.2</maven.scala.version>
1469 <maven.shade.version>3.0.0</maven.shade.version>
1470 <maven.site.version>3.4</maven.site.version>
1471 <maven.source.version>3.0.1</maven.source.version>
1472 <os.maven.version>1.5.0.Final</os.maven.version>
1473 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1474 <scala.maven.version>3.2.2</scala.maven.version>
1475 <scalatest.maven.version>1.0</scalatest.maven.version>
1476 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1477 <wagon.ssh.version>2.12</wagon.ssh.version>
1478 <xml.maven.version>1.0.1</xml.maven.version>
1479 <hbase-thirdparty.version>2.0.0</hbase-thirdparty.version>
1480 <!-- General Packaging -->
1481 <package.prefix>/usr</package.prefix>
1482 <package.conf.dir>/etc/hbase</package.conf.dir>
1483 <package.log.dir>/var/log/hbase</package.log.dir>
1484 <package.pid.dir>/var/run/hbase</package.pid.dir>
1485 <package.release>1</package.release>
1486 <final.name>${project.artifactId}-${project.version}</final.name>
1487 <!-- Intraproject jar naming properties -->
1488 <!-- TODO this is pretty ugly, but works for the moment.
1489 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1490 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1491 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1492 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1493 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1494 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1495 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1496 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1497 <shell-executable>bash</shell-executable>
1498 <surefire.version>2.20.1</surefire.version>
1499 <surefire.provider>surefire-junit47</surefire.provider>
1500 <!-- default: run small & medium, medium with 2 threads -->
1501 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1502 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1503 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1504 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1505 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1506 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1507 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1508 <test.output.tofile>true</test.output.tofile>
1509 <surefire.timeout>900</surefire.timeout>
1510 <test.exclude.pattern></test.exclude.pattern>
1511 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1512 <surefire.Xmx>2800m</surefire.Xmx>
1513 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1514 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1516 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1517 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1518 -Djava.awt.headless=true
1519 </hbase-surefire.argLine>
1520 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1521 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1522 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1523 </hbase-surefire.cygwin-argLine>
1524 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1525 <argLine>${hbase-surefire.argLine}</argLine>
1526 <jacoco.version>0.7.5.201505241946</jacoco.version>
1527 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1528 <enforcer.version>3.0.0-M1</enforcer.version>
1529 <!-- Location of test resources -->
1530 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1531 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1532 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1533 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1534 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1535 <build.id>${maven.build.timestamp}</build.id>
1537 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1538 <dependencyManagement>
1541 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1542 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1543 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1544 implementation of the same, because Hadoop also uses this version
1545 javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1
1547 <!-- Intra-module dependencies -->
1549 <groupId>org.apache.hbase</groupId>
1550 <artifactId>hbase-annotations</artifactId>
1551 <version>${project.version}</version>
1552 <type>test-jar</type>
1553 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1556 <artifactId>hbase-backup</artifactId>
1557 <groupId>org.apache.hbase</groupId>
1558 <version>${project.version}</version>
1561 <groupId>org.apache.hbase</groupId>
1562 <artifactId>hbase-error-prone</artifactId>
1563 <version>${project.version}</version>
1566 <groupId>org.apache.hbase</groupId>
1567 <artifactId>hbase-common</artifactId>
1568 <version>${project.version}</version>
1571 <groupId>org.apache.hbase</groupId>
1572 <artifactId>hbase-common</artifactId>
1573 <version>${project.version}</version>
1574 <type>test-jar</type>
1578 <groupId>org.apache.hbase</groupId>
1579 <artifactId>hbase-protocol-shaded</artifactId>
1580 <version>${project.version}</version>
1583 <groupId>org.apache.hbase</groupId>
1584 <artifactId>hbase-protocol</artifactId>
1585 <version>${project.version}</version>
1588 <groupId>org.apache.hbase</groupId>
1589 <artifactId>hbase-procedure</artifactId>
1590 <version>${project.version}</version>
1593 <groupId>org.apache.hbase</groupId>
1594 <artifactId>hbase-procedure</artifactId>
1595 <version>${project.version}</version>
1596 <type>test-jar</type>
1599 <groupId>org.apache.hbase</groupId>
1600 <artifactId>hbase-hadoop-compat</artifactId>
1601 <version>${project.version}</version>
1604 <groupId>org.apache.hbase</groupId>
1605 <artifactId>hbase-hadoop-compat</artifactId>
1606 <version>${project.version}</version>
1607 <type>test-jar</type>
1611 <groupId>org.apache.hbase</groupId>
1612 <artifactId>${compat.module}</artifactId>
1613 <version>${project.version}</version>
1616 <groupId>org.apache.hbase</groupId>
1617 <artifactId>${compat.module}</artifactId>
1618 <version>${project.version}</version>
1619 <type>test-jar</type>
1623 <artifactId>hbase-rsgroup</artifactId>
1624 <groupId>org.apache.hbase</groupId>
1625 <version>${project.version}</version>
1628 <artifactId>hbase-rsgroup</artifactId>
1629 <groupId>org.apache.hbase</groupId>
1630 <version>${project.version}</version>
1631 <type>test-jar</type>
1635 <artifactId>hbase-replication</artifactId>
1636 <groupId>org.apache.hbase</groupId>
1637 <version>${project.version}</version>
1640 <artifactId>hbase-http</artifactId>
1641 <groupId>org.apache.hbase</groupId>
1642 <version>${project.version}</version>
1645 <artifactId>hbase-http</artifactId>
1646 <groupId>org.apache.hbase</groupId>
1647 <version>${project.version}</version>
1648 <type>test-jar</type>
1652 <artifactId>hbase-server</artifactId>
1653 <groupId>org.apache.hbase</groupId>
1654 <version>${project.version}</version>
1657 <artifactId>hbase-server</artifactId>
1658 <groupId>org.apache.hbase</groupId>
1659 <version>${project.version}</version>
1660 <type>test-jar</type>
1664 <artifactId>hbase-mapreduce</artifactId>
1665 <groupId>org.apache.hbase</groupId>
1666 <version>${project.version}</version>
1669 <artifactId>hbase-mapreduce</artifactId>
1670 <groupId>org.apache.hbase</groupId>
1671 <version>${project.version}</version>
1672 <type>test-jar</type>
1676 <artifactId>hbase-endpoint</artifactId>
1677 <groupId>org.apache.hbase</groupId>
1678 <version>${project.version}</version>
1681 <artifactId>hbase-shell</artifactId>
1682 <groupId>org.apache.hbase</groupId>
1683 <version>${project.version}</version>
1686 <artifactId>hbase-shell</artifactId>
1687 <groupId>org.apache.hbase</groupId>
1688 <version>${project.version}</version>
1689 <type>test-jar</type>
1693 <artifactId>hbase-thrift</artifactId>
1694 <groupId>org.apache.hbase</groupId>
1695 <version>${project.version}</version>
1698 <artifactId>hbase-thrift</artifactId>
1699 <groupId>org.apache.hbase</groupId>
1700 <version>${project.version}</version>
1701 <type>test-jar</type>
1705 <groupId>org.apache.hbase</groupId>
1706 <artifactId>hbase-testing-util</artifactId>
1707 <version>${project.version}</version>
1711 <artifactId>hbase-examples</artifactId>
1712 <groupId>org.apache.hbase</groupId>
1713 <version>${project.version}</version>
1716 <groupId>org.apache.hbase</groupId>
1717 <artifactId>hbase-external-blockcache</artifactId>
1718 <version>${project.version}</version>
1721 <artifactId>hbase-it</artifactId>
1722 <groupId>org.apache.hbase</groupId>
1723 <version>${project.version}</version>
1724 <type>test-jar</type>
1728 <artifactId>hbase-client</artifactId>
1729 <groupId>org.apache.hbase</groupId>
1730 <version>${project.version}</version>
1733 <artifactId>hbase-metrics-api</artifactId>
1734 <groupId>org.apache.hbase</groupId>
1735 <version>${project.version}</version>
1738 <artifactId>hbase-metrics-api</artifactId>
1739 <groupId>org.apache.hbase</groupId>
1740 <version>${project.version}</version>
1741 <type>test-jar</type>
1745 <artifactId>hbase-metrics</artifactId>
1746 <groupId>org.apache.hbase</groupId>
1747 <version>${project.version}</version>
1750 <artifactId>hbase-metrics</artifactId>
1751 <groupId>org.apache.hbase</groupId>
1752 <version>${project.version}</version>
1753 <type>test-jar</type>
1757 <artifactId>hbase-rest</artifactId>
1758 <groupId>org.apache.hbase</groupId>
1759 <version>${project.version}</version>
1762 <artifactId>hbase-resource-bundle</artifactId>
1763 <groupId>org.apache.hbase</groupId>
1764 <version>${project.version}</version>
1767 <artifactId>hbase-spark</artifactId>
1768 <groupId>org.apache.hbase</groupId>
1769 <version>${project.version}</version>
1772 <artifactId>hbase-spark-it</artifactId>
1773 <groupId>org.apache.hbase</groupId>
1774 <version>${project.version}</version>
1775 <type>test-jar</type>
1779 <artifactId>hbase-zookeeper</artifactId>
1780 <groupId>org.apache.hbase</groupId>
1781 <version>${project.version}</version>
1784 <artifactId>hbase-zookeeper</artifactId>
1785 <groupId>org.apache.hbase</groupId>
1786 <version>${project.version}</version>
1787 <type>test-jar</type>
1790 <!-- General dependencies -->
1792 <groupId>com.github.stephenc.findbugs</groupId>
1793 <artifactId>findbugs-annotations</artifactId>
1794 <version>${findbugs-annotations}</version>
1796 <!-- General dependencies -->
1798 <groupId>org.codehaus.jettison</groupId>
1799 <artifactId>jettison</artifactId>
1800 <version>${jettison.version}</version>
1803 <groupId>org.slf4j</groupId>
1804 <artifactId>slf4j-log4j12</artifactId>
1805 <version>${slf4j.version}</version>
1808 <groupId>log4j</groupId>
1809 <artifactId>log4j</artifactId>
1810 <version>${log4j.version}</version>
1812 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1814 <groupId>org.apache.avro</groupId>
1815 <artifactId>avro</artifactId>
1816 <version>${avro.version}</version>
1818 <!--This is not used by hbase directly. Used by thrift,
1819 dropwizard and zk.-->
1821 <groupId>org.slf4j</groupId>
1822 <artifactId>slf4j-api</artifactId>
1823 <version>${slf4j.version}</version>
1826 <groupId>io.dropwizard.metrics</groupId>
1827 <artifactId>metrics-core</artifactId>
1828 <version>${metrics-core.version}</version>
1831 <groupId>org.apache.commons</groupId>
1832 <artifactId>commons-collections4</artifactId>
1833 <version>${collections.version}</version>
1836 <groupId>org.apache.httpcomponents</groupId>
1837 <artifactId>httpclient</artifactId>
1838 <version>${httpclient.version}</version>
1841 <groupId>org.apache.httpcomponents</groupId>
1842 <artifactId>httpcore</artifactId>
1843 <version>${httpcore.version}</version>
1846 <groupId>commons-cli</groupId>
1847 <artifactId>commons-cli</artifactId>
1848 <version>${commons-cli.version}</version>
1851 <groupId>commons-codec</groupId>
1852 <artifactId>commons-codec</artifactId>
1853 <version>${commons-codec.version}</version>
1856 <groupId>commons-io</groupId>
1857 <artifactId>commons-io</artifactId>
1858 <version>${commons-io.version}</version>
1861 <groupId>org.apache.commons</groupId>
1862 <artifactId>commons-lang3</artifactId>
1863 <version>${commons-lang3.version}</version>
1866 <groupId>org.apache.commons</groupId>
1867 <artifactId>commons-math3</artifactId>
1868 <version>${commons-math.version}</version>
1871 <groupId>org.apache.zookeeper</groupId>
1872 <artifactId>zookeeper</artifactId>
1873 <version>${zookeeper.version}</version>
1876 <groupId>jline</groupId>
1877 <artifactId>jline</artifactId>
1880 <groupId>com.sun.jmx</groupId>
1881 <artifactId>jmxri</artifactId>
1884 <groupId>com.sun.jdmk</groupId>
1885 <artifactId>jmxtools</artifactId>
1888 <groupId>javax.jms</groupId>
1889 <artifactId>jms</artifactId>
1892 <groupId>io.netty</groupId>
1893 <artifactId>netty</artifactId>
1898 <groupId>org.apache.thrift</groupId>
1899 <artifactId>libthrift</artifactId>
1900 <version>${thrift.version}</version>
1903 <groupId>org.slf4j</groupId>
1904 <artifactId>slf4j-simple</artifactId>
1909 <groupId>org.jruby</groupId>
1910 <artifactId>jruby-complete</artifactId>
1911 <version>${jruby.version}</version>
1914 <groupId>org.jruby.jcodings</groupId>
1915 <artifactId>jcodings</artifactId>
1916 <version>${jcodings.version}</version>
1919 <groupId>org.jruby.joni</groupId>
1920 <artifactId>joni</artifactId>
1921 <version>${joni.version}</version>
1924 <groupId>com.fasterxml.jackson.jaxrs</groupId>
1925 <artifactId>jackson-jaxrs-json-provider</artifactId>
1926 <version>${jackson.version}</version>
1929 <groupId>com.fasterxml.jackson.core</groupId>
1930 <artifactId>jackson-databind</artifactId>
1931 <version>${jackson.version}</version>
1934 <groupId>org.jamon</groupId>
1935 <artifactId>jamon-runtime</artifactId>
1936 <version>${jamon-runtime.version}</version>
1938 <!-- REST dependencies -->
1940 <groupId>javax.servlet</groupId>
1941 <artifactId>javax.servlet-api</artifactId>
1942 <version>${servlet.api.version}</version>
1945 <groupId>javax.ws.rs</groupId>
1946 <artifactId>javax.ws.rs-api</artifactId>
1947 <version>${wx.rs.api.version}</version>
1950 <groupId>org.eclipse.jetty</groupId>
1951 <artifactId>jetty-server</artifactId>
1952 <version>${jetty.version}</version>
1955 <groupId>org.eclipse.jetty</groupId>
1956 <artifactId>jetty-servlet</artifactId>
1957 <version>${jetty.version}</version>
1960 <groupId>org.eclipse.jetty</groupId>
1961 <artifactId>servlet-api</artifactId>
1966 <groupId>org.eclipse.jetty</groupId>
1967 <artifactId>jetty-security</artifactId>
1968 <version>${jetty.version}</version>
1971 <groupId>org.eclipse.jetty</groupId>
1972 <artifactId>jetty-http</artifactId>
1973 <version>${jetty.version}</version>
1976 <groupId>org.eclipse.jetty</groupId>
1977 <artifactId>jetty-util</artifactId>
1978 <version>${jetty.version}</version>
1981 <groupId>org.eclipse.jetty</groupId>
1982 <artifactId>jetty-io</artifactId>
1983 <version>${jetty.version}</version>
1986 <groupId>org.eclipse.jetty</groupId>
1987 <artifactId>jetty-jsp</artifactId>
1988 <version>${jetty-jsp.version}</version>
1991 <groupId>org.eclipse.jetty</groupId>
1992 <artifactId>jetty-jmx</artifactId>
1993 <version>${jetty.version}</version>
1996 <groupId>org.eclipse.jetty</groupId>
1997 <artifactId>jetty-webapp</artifactId>
1998 <version>${jetty.version}</version>
2001 <groupId>org.eclipse.jetty</groupId>
2002 <artifactId>jetty-util-ajax</artifactId>
2003 <version>${jetty.version}</version>
2006 <groupId>com.google.protobuf</groupId>
2007 <artifactId>protobuf-java</artifactId>
2008 <version>${external.protobuf.version}</version>
2011 <groupId>org.glassfish.jersey.containers</groupId>
2012 <artifactId>jersey-container-servlet-core</artifactId>
2013 <version>${jersey.version}</version>
2016 <groupId>org.glassfish.jersey.core</groupId>
2017 <artifactId>jersey-client</artifactId>
2018 <version>${jersey.version}</version>
2021 <groupId>org.glassfish.jersey.core</groupId>
2022 <artifactId>jersey-server</artifactId>
2023 <version>${jersey.version}</version>
2026 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2027 <groupId>org.glassfish.web</groupId>
2028 <artifactId>javax.servlet.jsp</artifactId>
2029 <version>${glassfish.jsp.version}</version>
2032 <groupId>org.glassfish</groupId>
2033 <artifactId>javax.el</artifactId>
2034 <version>${glassfish.el.version}</version>
2037 <groupId>javax.xml.bind</groupId>
2038 <artifactId>jaxb-api</artifactId>
2039 <version>${jaxb-api.version}</version>
2042 <groupId>javax.xml.stream</groupId>
2043 <artifactId>stax-api</artifactId>
2048 <groupId>junit</groupId>
2049 <artifactId>junit</artifactId>
2050 <version>${junit.version}</version>
2053 <groupId>org.hamcrest</groupId>
2054 <artifactId>hamcrest-core</artifactId>
2055 <version>${hamcrest.version}</version>
2059 <groupId>org.mockito</groupId>
2060 <artifactId>mockito-core</artifactId>
2061 <version>${mockito-core.version}</version>
2065 <groupId>org.apache.htrace</groupId>
2066 <artifactId>htrace-core4</artifactId>
2067 <version>${htrace.version}</version>
2070 <groupId>com.lmax</groupId>
2071 <artifactId>disruptor</artifactId>
2072 <version>${disruptor.version}</version>
2075 <groupId>net.spy</groupId>
2076 <artifactId>spymemcached</artifactId>
2077 <version>${spy.version}</version>
2078 <optional>true</optional>
2081 <groupId>org.bouncycastle</groupId>
2082 <artifactId>bcprov-jdk16</artifactId>
2083 <version>${bouncycastle.version}</version>
2087 <groupId>org.apache.kerby</groupId>
2088 <artifactId>kerb-core</artifactId>
2089 <version>${kerby.version}</version>
2092 <groupId>org.apache.kerby</groupId>
2093 <artifactId>kerb-client</artifactId>
2094 <version>${kerby.version}</version>
2097 <groupId>org.apache.kerby</groupId>
2098 <artifactId>kerb-simplekdc</artifactId>
2099 <version>${kerby.version}</version>
2102 <groupId>org.apache.commons</groupId>
2103 <artifactId>commons-crypto</artifactId>
2104 <version>${commons-crypto.version}</version>
2107 <groupId>net.java.dev.jna</groupId>
2108 <artifactId>jna</artifactId>
2113 <groupId>org.apache.curator</groupId>
2114 <artifactId>curator-framework</artifactId>
2115 <version>${curator.version}</version>
2118 <groupId>org.apache.zookeeper</groupId>
2119 <artifactId>zookeeper</artifactId>
2124 <groupId>org.apache.curator</groupId>
2125 <artifactId>curator-client</artifactId>
2126 <version>${curator.version}</version>
2129 <groupId>com.google.guava</groupId>
2130 <artifactId>guava</artifactId>
2133 <groupId>org.apache.zookeeper</groupId>
2134 <artifactId>zookeeper</artifactId>
2139 <groupId>org.apache.curator</groupId>
2140 <artifactId>curator-recipes</artifactId>
2141 <version>${curator.version}</version>
2144 <groupId>com.google.guava</groupId>
2145 <artifactId>guava</artifactId>
2148 <groupId>org.apache.zookeeper</groupId>
2149 <artifactId>zookeeper</artifactId>
2154 <groupId>org.apache.yetus</groupId>
2155 <artifactId>audience-annotations</artifactId>
2156 <version>${audience-annotations.version}</version>
2159 <groupId>org.apache.hbase.thirdparty</groupId>
2160 <artifactId>hbase-shaded-miscellaneous</artifactId>
2161 <version>${hbase-thirdparty.version}</version>
2164 <groupId>org.apache.hbase.thirdparty</groupId>
2165 <artifactId>hbase-shaded-netty</artifactId>
2166 <version>${hbase-thirdparty.version}</version>
2169 <groupId>org.apache.hbase.thirdparty</groupId>
2170 <artifactId>hbase-shaded-protobuf</artifactId>
2171 <version>${hbase-thirdparty.version}</version>
2174 </dependencyManagement>
2176 <!--REMOVE THIS. HERE TEMPORARILY.
2177 Implication is that every module needs junit which is not so.
2178 Cannot undo though because build runs test on each module and
2179 it fails if no junit. TODO. -->
2181 <groupId>junit</groupId>
2182 <artifactId>junit</artifactId>
2187 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2192 <id>apache.releases.https</id>
2193 <username>hbase_committer</username>
2194 <password>********</password>
2198 <id>apache.snapshots.https</id>
2199 <username>hbase_committer</username>
2200 <password>********</password>
2208 $ mvn -s /my/path/settings.xml deploy
2216 <name>!skip-rsgroup</name>
2220 <module>hbase-rsgroup</module>
2224 <id>build-with-jdk8</id>
2232 <groupId>org.apache.maven.plugins</groupId>
2233 <artifactId>maven-javadoc-plugin</artifactId>
2235 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used -->
2236 <additionalparam>-Xdoclint:none</additionalparam>
2240 <groupId>org.codehaus.mojo</groupId>
2241 <artifactId>findbugs-maven-plugin</artifactId>
2242 <version>3.0.0</version>
2243 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2245 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2246 <findbugsXmlOutput>true</findbugsXmlOutput>
2247 <xmlOutput>true</xmlOutput>
2248 <effort>Max</effort>
2252 <groupId>com.github.spotbugs</groupId>
2253 <artifactId>spotbugs</artifactId>
2254 <version>${spotbugs.version}</version>
2262 <!-- profile activated by the Jenkins patch testing job -->
2264 <id>jenkins.patch</id>
2266 <activeByDefault>false</activeByDefault>
2268 <name>HBasePatchProcess</name>
2272 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2277 <groupId>org.apache.maven.plugins</groupId>
2278 <artifactId>maven-antrun-plugin</artifactId>
2279 <inherited>false</inherited>
2282 <phase>validate</phase>
2288 <echo>Maven Execution Environment</echo>
2289 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2301 <activeByDefault>false</activeByDefault>
2306 <groupId>org.jacoco</groupId>
2307 <artifactId>jacoco-maven-plugin</artifactId>
2308 <version>${jacoco.version}</version>
2311 <id>prepare-agent</id>
2313 <goal>prepare-agent</goal>
2318 <phase>prepare-package</phase>
2325 <systemPropertyVariables>
2326 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2327 </systemPropertyVariables>
2329 <exclude>**/generated/**/*.class</exclude>
2339 <activeByDefault>false</activeByDefault>
2341 <family>Linux</family>
2345 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2352 <family>Mac</family>
2356 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2363 <family>Windows</family>
2367 <build.platform>cygwin</build.platform>
2368 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2371 <!-- this profile should be activated for release builds -->
2377 <groupId>org.apache.rat</groupId>
2378 <artifactId>apache-rat-plugin</artifactId>
2381 <phase>package</phase>
2389 <groupId>org.apache.maven.plugins</groupId>
2390 <artifactId>maven-enforcer-plugin</artifactId>
2391 <version>${enforcer.version}</version>
2394 <enforceBytecodeVersion>
2395 <maxJdkVersion>${compileSource}</maxJdkVersion>
2396 <message>HBase has unsupported dependencies.
2397 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2398 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2399 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2400 Non-release builds can temporarily build with a newer JDK version by setting the
2401 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2403 </enforceBytecodeVersion>
2410 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2411 <!-- Submodules that need hadoop dependencies should declare
2412 profiles with activation properties matching the profile here.
2413 Generally, it should be sufficient to copy the first
2414 few lines of the profile you want to match. -->
2415 <!-- profile for building against Hadoop 2.0.x
2416 This is the default.
2422 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2423 <!--h2--><name>!hadoop.profile</name>
2427 <module>hbase-hadoop2-compat</module>
2430 <hadoop.version>${hadoop-two.version}</hadoop.version>
2431 <compat.module>hbase-hadoop2-compat</compat.module>
2432 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2434 <dependencyManagement>
2437 <groupId>org.apache.hadoop</groupId>
2438 <artifactId>hadoop-mapreduce-client-core</artifactId>
2439 <version>${hadoop-two.version}</version>
2442 <groupId>io.netty</groupId>
2443 <artifactId>netty</artifactId>
2446 <groupId>javax.servlet</groupId>
2447 <artifactId>servlet-api</artifactId>
2450 <groupId>javax.inject</groupId>
2451 <artifactId>javax.inject</artifactId>
2454 <groupId>org.codehaus.jackson</groupId>
2455 <artifactId>jackson-core-asl</artifactId>
2458 <groupId>org.codehaus.jackson</groupId>
2459 <artifactId>jackson-mapper-asl</artifactId>
2464 <groupId>org.apache.hadoop</groupId>
2465 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2466 <version>${hadoop-two.version}</version>
2469 <groupId>io.netty</groupId>
2470 <artifactId>netty</artifactId>
2473 <groupId>javax.servlet</groupId>
2474 <artifactId>servlet-api</artifactId>
2479 <groupId>org.apache.hadoop</groupId>
2480 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2481 <version>${hadoop-two.version}</version>
2482 <type>test-jar</type>
2486 <groupId>io.netty</groupId>
2487 <artifactId>netty</artifactId>
2490 <groupId>javax.servlet</groupId>
2491 <artifactId>servlet-api</artifactId>
2496 <groupId>org.apache.hadoop</groupId>
2497 <artifactId>hadoop-hdfs</artifactId>
2500 <groupId>org.apache.htrace</groupId>
2501 <artifactId>htrace-core</artifactId>
2504 <groupId>javax.servlet.jsp</groupId>
2505 <artifactId>jsp-api</artifactId>
2508 <groupId>javax.servlet</groupId>
2509 <artifactId>servlet-api</artifactId>
2512 <groupId>io.netty</groupId>
2513 <artifactId>netty</artifactId>
2516 <groupId>stax</groupId>
2517 <artifactId>stax-api</artifactId>
2520 <groupId>xerces</groupId>
2521 <artifactId>xercesImpl</artifactId>
2524 <groupId>org.codehaus.jackson</groupId>
2525 <artifactId>jackson-core-asl</artifactId>
2528 <groupId>org.codehaus.jackson</groupId>
2529 <artifactId>jackson-mapper-asl</artifactId>
2532 <groupId>com.google.guava</groupId>
2533 <artifactId>guava</artifactId>
2536 <version>${hadoop-two.version}</version>
2539 <groupId>org.apache.hadoop</groupId>
2540 <artifactId>hadoop-hdfs</artifactId>
2541 <version>${hadoop-two.version}</version>
2542 <type>test-jar</type>
2546 <groupId>org.apache.htrace</groupId>
2547 <artifactId>htrace-core</artifactId>
2550 <groupId>javax.servlet.jsp</groupId>
2551 <artifactId>jsp-api</artifactId>
2554 <groupId>javax.servlet</groupId>
2555 <artifactId>servlet-api</artifactId>
2558 <groupId>io.netty</groupId>
2559 <artifactId>netty</artifactId>
2562 <groupId>stax</groupId>
2563 <artifactId>stax-api</artifactId>
2566 <groupId>xerces</groupId>
2567 <artifactId>xercesImpl</artifactId>
2570 <groupId>org.codehaus.jackson</groupId>
2571 <artifactId>jackson-core-asl</artifactId>
2574 <groupId>org.codehaus.jackson</groupId>
2575 <artifactId>jackson-mapper-asl</artifactId>
2578 <groupId>com.google.guava</groupId>
2579 <artifactId>guava</artifactId>
2584 <groupId>org.apache.hadoop</groupId>
2585 <artifactId>hadoop-auth</artifactId>
2586 <version>${hadoop-two.version}</version>
2589 <groupId>org.apache.hadoop</groupId>
2590 <artifactId>hadoop-common</artifactId>
2591 <version>${hadoop-two.version}</version>
2594 <groupId>org.apache.htrace</groupId>
2595 <artifactId>htrace-core</artifactId>
2598 <groupId>commons-beanutils</groupId>
2599 <artifactId>commons-beanutils</artifactId>
2602 <groupId>javax.servlet.jsp</groupId>
2603 <artifactId>jsp-api</artifactId>
2606 <groupId>javax.servlet</groupId>
2607 <artifactId>servlet-api</artifactId>
2610 <groupId>stax</groupId>
2611 <artifactId>stax-api</artifactId>
2614 <groupId>io.netty</groupId>
2615 <artifactId>netty</artifactId>
2618 <groupId>com.google.code.findbugs</groupId>
2619 <artifactId>jsr305</artifactId>
2622 <groupId>junit</groupId>
2623 <artifactId>junit</artifactId>
2626 <groupId>org.codehaus.jackson</groupId>
2627 <artifactId>jackson-core-asl</artifactId>
2630 <groupId>org.codehaus.jackson</groupId>
2631 <artifactId>jackson-mapper-asl</artifactId>
2636 <groupId>org.apache.hadoop</groupId>
2637 <artifactId>hadoop-client</artifactId>
2638 <version>${hadoop-two.version}</version>
2640 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2641 Where do we actually need it? -->
2643 <groupId>org.apache.hadoop</groupId>
2644 <artifactId>hadoop-minicluster</artifactId>
2645 <version>${hadoop-two.version}</version>
2648 <groupId>org.apache.htrace</groupId>
2649 <artifactId>htrace-core</artifactId>
2652 <groupId>commons-httpclient</groupId>
2653 <artifactId>commons-httpclient</artifactId>
2656 <groupId>javax.servlet.jsp</groupId>
2657 <artifactId>jsp-api</artifactId>
2660 <groupId>javax.servlet</groupId>
2661 <artifactId>servlet-api</artifactId>
2664 <groupId>stax</groupId>
2665 <artifactId>stax-api</artifactId>
2668 <groupId>io.netty</groupId>
2669 <artifactId>netty</artifactId>
2672 <groupId>com.google.code.findbugs</groupId>
2673 <artifactId>jsr305</artifactId>
2678 <groupId>org.apache.hadoop</groupId>
2679 <artifactId>hadoop-minikdc</artifactId>
2680 <version>${hadoop-two.version}</version>
2684 </dependencyManagement>
2687 profile for building against Hadoop 3.0.0. Activate using:
2688 mvn -Dhadoop.profile=3.0
2694 <name>hadoop.profile</name>
2699 <!--For now, use hadoop2 compat module-->
2700 <module>hbase-hadoop2-compat</module>
2703 <hadoop.version>${hadoop-three.version}</hadoop.version>
2704 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2705 <compat.module>hbase-hadoop2-compat</compat.module>
2706 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2708 <dependencyManagement>
2711 <groupId>org.apache.hadoop</groupId>
2712 <artifactId>hadoop-mapreduce-client-core</artifactId>
2713 <version>${hadoop-three.version}</version>
2716 <groupId>io.netty</groupId>
2717 <artifactId>netty</artifactId>
2720 <groupId>javax.inject</groupId>
2721 <artifactId>javax.inject</artifactId>
2724 <groupId>org.codehaus.jackson</groupId>
2725 <artifactId>jackson-core-asl</artifactId>
2728 <groupId>org.codehaus.jackson</groupId>
2729 <artifactId>jackson-mapper-asl</artifactId>
2734 <groupId>org.apache.hadoop</groupId>
2735 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2736 <version>${hadoop-three.version}</version>
2739 <groupId>io.netty</groupId>
2740 <artifactId>netty</artifactId>
2745 <groupId>org.apache.hadoop</groupId>
2746 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2747 <version>${hadoop-three.version}</version>
2748 <type>test-jar</type>
2752 <groupId>io.netty</groupId>
2753 <artifactId>netty</artifactId>
2758 <groupId>org.apache.hadoop</groupId>
2759 <artifactId>hadoop-hdfs</artifactId>
2760 <version>${hadoop-three.version}</version>
2763 <groupId>org.apache.htrace</groupId>
2764 <artifactId>htrace-core</artifactId>
2767 <groupId>com.sun.jersey</groupId>
2768 <artifactId>jersey-core</artifactId>
2771 <groupId>javax.servlet.jsp</groupId>
2772 <artifactId>jsp-api</artifactId>
2775 <groupId>javax.servlet</groupId>
2776 <artifactId>servlet-api</artifactId>
2779 <groupId>stax</groupId>
2780 <artifactId>stax-api</artifactId>
2783 <groupId>xerces</groupId>
2784 <artifactId>xercesImpl</artifactId>
2787 <groupId>org.codehaus.jackson</groupId>
2788 <artifactId>jackson-core-asl</artifactId>
2791 <groupId>org.codehaus.jackson</groupId>
2792 <artifactId>jackson-mapper-asl</artifactId>
2795 <groupId>com.google.guava</groupId>
2796 <artifactId>guava</artifactId>
2801 <groupId>org.apache.hadoop</groupId>
2802 <artifactId>hadoop-hdfs</artifactId>
2803 <version>${hadoop-three.version}</version>
2804 <type>test-jar</type>
2808 <groupId>org.apache.htrace</groupId>
2809 <artifactId>htrace-core</artifactId>
2812 <groupId>javax.servlet.jsp</groupId>
2813 <artifactId>jsp-api</artifactId>
2816 <groupId>javax.servlet</groupId>
2817 <artifactId>servlet-api</artifactId>
2820 <groupId>stax</groupId>
2821 <artifactId>stax-api</artifactId>
2824 <groupId>xerces</groupId>
2825 <artifactId>xercesImpl</artifactId>
2828 <groupId>org.codehaus.jackson</groupId>
2829 <artifactId>jackson-core-asl</artifactId>
2832 <groupId>org.codehaus.jackson</groupId>
2833 <artifactId>jackson-mapper-asl</artifactId>
2836 <groupId>com.google.guava</groupId>
2837 <artifactId>guava</artifactId>
2842 <groupId>org.apache.hadoop</groupId>
2843 <artifactId>hadoop-auth</artifactId>
2844 <version>${hadoop-three.version}</version>
2847 <groupId>com.google.guava</groupId>
2848 <artifactId>guava</artifactId>
2853 <groupId>org.apache.hadoop</groupId>
2854 <artifactId>hadoop-common</artifactId>
2855 <version>${hadoop-three.version}</version>
2858 <groupId>com.sun.jersey</groupId>
2859 <artifactId>jersey-core</artifactId>
2862 <groupId>com.sun.jersey</groupId>
2863 <artifactId>jersey-json</artifactId>
2866 <groupId>com.sun.jersey</groupId>
2867 <artifactId>jersey-servlet</artifactId>
2870 <groupId>com.sun.jersey</groupId>
2871 <artifactId>jersey-server</artifactId>
2874 <groupId>org.apache.htrace</groupId>
2875 <artifactId>htrace-core</artifactId>
2878 <groupId>javax.servlet.jsp</groupId>
2879 <artifactId>jsp-api</artifactId>
2882 <groupId>javax.servlet</groupId>
2883 <artifactId>javax.servlet-api</artifactId>
2886 <groupId>stax</groupId>
2887 <artifactId>stax-api</artifactId>
2890 <groupId>io.netty</groupId>
2891 <artifactId>netty</artifactId>
2894 <groupId>com.google.code.findbugs</groupId>
2895 <artifactId>jsr305</artifactId>
2898 <groupId>junit</groupId>
2899 <artifactId>junit</artifactId>
2902 <groupId>org.codehause.jackson</groupId>
2903 <artifactId>jackson-core-asl</artifactId>
2906 <groupId>org.codehause.jackson</groupId>
2907 <artifactId>jackson-mapper-asl</artifactId>
2912 <groupId>org.apache.hadoop</groupId>
2913 <artifactId>hadoop-client</artifactId>
2914 <version>${hadoop-three.version}</version>
2917 <groupId>org.apache.hadoop</groupId>
2918 <artifactId>hadoop-annotations</artifactId>
2919 <version>${hadoop-three.version}</version>
2921 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2922 Where do we actually need it? -->
2924 <groupId>org.apache.hadoop</groupId>
2925 <artifactId>hadoop-minicluster</artifactId>
2926 <version>${hadoop-three.version}</version>
2929 <groupId>org.apache.htrace</groupId>
2930 <artifactId>htrace-core</artifactId>
2933 <groupId>commons-httpclient</groupId>
2934 <artifactId>commons-httpclient</artifactId>
2937 <groupId>javax.servlet.jsp</groupId>
2938 <artifactId>jsp-api</artifactId>
2941 <groupId>javax.servlet</groupId>
2942 <artifactId>servlet-api</artifactId>
2945 <groupId>stax</groupId>
2946 <artifactId>stax-api</artifactId>
2949 <groupId>io.netty</groupId>
2950 <artifactId>netty</artifactId>
2953 <groupId>com.google.code.findbugs</groupId>
2954 <artifactId>jsr305</artifactId>
2959 <groupId>org.apache.hadoop</groupId>
2960 <artifactId>hadoop-minikdc</artifactId>
2961 <version>${hadoop-three.version}</version>
2965 </dependencyManagement>
2968 <!-- profiles for the tests
2969 See as well the properties of the project for the values
2970 when no profile is active. -->
2972 <!-- Use it to launch all tests in the same JVM -->
2973 <id>singleJVMTests</id>
2975 <activeByDefault>false</activeByDefault>
2978 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2979 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2980 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2981 <surefire.firstPartGroups/>
2985 <!-- Use it to launch small tests only -->
2986 <id>runSmallTests</id>
2988 <activeByDefault>false</activeByDefault>
2991 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2992 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2993 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2994 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2995 <surefire.secondPartGroups/>
2999 <!-- Use it to launch medium tests only -->
3000 <id>runMediumTests</id>
3002 <activeByDefault>false</activeByDefault>
3005 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3006 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3007 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3008 <surefire.secondPartGroups/>
3012 <!-- Use it to launch large tests only -->
3013 <id>runLargeTests</id>
3015 <activeByDefault>false</activeByDefault>
3018 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3019 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3020 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3021 <surefire.secondPartGroups/>
3025 <!-- Use it to launch small & medium tests -->
3026 <id>runDevTests</id>
3028 <activeByDefault>false</activeByDefault>
3031 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3032 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3033 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3034 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3035 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3039 <!-- Use it to launch all tests -->
3040 <id>runAllTests</id>
3042 <activeByDefault>false</activeByDefault>
3045 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3046 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3047 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3048 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3049 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3050 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3054 <id>runMiscTests</id>
3056 <activeByDefault>false</activeByDefault>
3059 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3060 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3061 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3062 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3063 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3064 </surefire.firstPartGroups>
3065 <surefire.secondPartGroups></surefire.secondPartGroups>
3069 <id>runCoprocessorTests</id>
3071 <activeByDefault>false</activeByDefault>
3074 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3075 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3076 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3077 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3078 <surefire.firstPartGroups>
3079 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3080 </surefire.firstPartGroups>
3081 <surefire.secondPartGroups></surefire.secondPartGroups>
3085 <id>runClientTests</id>
3087 <activeByDefault>false</activeByDefault>
3090 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3091 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3092 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3093 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3094 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3095 </surefire.firstPartGroups>
3096 <surefire.secondPartGroups></surefire.secondPartGroups>
3100 <id>runMasterTests</id>
3102 <activeByDefault>false</activeByDefault>
3105 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3106 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3107 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3108 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3109 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3110 </surefire.firstPartGroups>
3111 <surefire.secondPartGroups></surefire.secondPartGroups>
3115 <id>runMapredTests</id>
3117 <activeByDefault>false</activeByDefault>
3120 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3121 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3122 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3123 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3124 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3125 </surefire.firstPartGroups>
3126 <surefire.secondPartGroups></surefire.secondPartGroups>
3130 <id>runMapreduceTests</id>
3132 <activeByDefault>false</activeByDefault>
3135 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3136 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3137 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3138 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3139 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3140 </surefire.firstPartGroups>
3141 <surefire.secondPartGroups></surefire.secondPartGroups>
3145 <id>runRegionServerTests</id>
3147 <activeByDefault>false</activeByDefault>
3150 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3151 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3152 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3153 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3154 <surefire.firstPartGroups>
3155 org.apache.hadoop.hbase.testclassification.RegionServerTests
3156 </surefire.firstPartGroups>
3157 <surefire.secondPartGroups></surefire.secondPartGroups>
3161 <id>runVerySlowMapReduceTests</id>
3163 <activeByDefault>false</activeByDefault>
3166 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3167 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3168 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3169 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3170 <surefire.firstPartGroups>
3171 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3172 </surefire.firstPartGroups>
3173 <surefire.secondPartGroups></surefire.secondPartGroups>
3178 <id>runVerySlowRegionServerTests</id>
3180 <activeByDefault>false</activeByDefault>
3183 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3184 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3185 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3186 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3187 <surefire.firstPartGroups>
3188 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3189 </surefire.firstPartGroups>
3190 <surefire.secondPartGroups></surefire.secondPartGroups>
3195 <id>runFilterTests</id>
3197 <activeByDefault>false</activeByDefault>
3200 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3201 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3202 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3203 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3204 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3205 </surefire.firstPartGroups>
3206 <surefire.secondPartGroups></surefire.secondPartGroups>
3212 <activeByDefault>false</activeByDefault>
3215 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3216 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3217 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3218 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3219 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3220 </surefire.firstPartGroups>
3221 <surefire.secondPartGroups></surefire.secondPartGroups>
3225 <id>runRestTests</id>
3227 <activeByDefault>false</activeByDefault>
3230 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3231 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3232 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3233 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3234 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3235 </surefire.firstPartGroups>
3236 <surefire.secondPartGroups></surefire.secondPartGroups>
3240 <id>runRPCTests</id>
3242 <activeByDefault>false</activeByDefault>
3245 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3246 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3247 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3248 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3249 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3250 </surefire.firstPartGroups>
3251 <surefire.secondPartGroups></surefire.secondPartGroups>
3255 <id>runReplicationTests</id>
3257 <activeByDefault>false</activeByDefault>
3260 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3261 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3262 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3263 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3264 <surefire.firstPartGroups>
3265 org.apache.hadoop.hbase.testclassification.ReplicationTests
3266 </surefire.firstPartGroups>
3267 <surefire.secondPartGroups></surefire.secondPartGroups>
3271 <id>runSecurityTests</id>
3273 <activeByDefault>false</activeByDefault>
3276 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3277 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3278 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3279 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3280 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3281 </surefire.firstPartGroups>
3282 <surefire.secondPartGroups></surefire.secondPartGroups>
3286 <id>runFlakeyTests</id>
3288 <activeByDefault>false</activeByDefault>
3291 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3292 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3293 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3294 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3295 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3296 </surefire.firstPartGroups>
3297 <surefire.secondPartGroups></surefire.secondPartGroups>
3303 <activeByDefault>false</activeByDefault>
3306 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3307 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3308 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3309 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3310 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3311 </surefire.firstPartGroups>
3312 <surefire.secondPartGroups></surefire.secondPartGroups>
3317 <!-- Use it to launch tests locally-->
3325 <surefire.provider>surefire-junit4</surefire.provider>
3326 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3327 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3328 <surefire.firstPartGroups/>
3331 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3332 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3333 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3334 The report will be generated under target/site/clover/index.html when you run
3335 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3339 <activeByDefault>false</activeByDefault>
3345 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3349 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3350 our instrumented classes for the doclet will fail
3353 <groupId>org.apache.maven.plugins</groupId>
3354 <artifactId>maven-javadoc-plugin</artifactId>
3357 <groupId>com.atlassian.maven.plugins</groupId>
3358 <artifactId>maven-clover2-plugin</artifactId>
3359 <version>${clover.version}</version>
3364 <groupId>com.atlassian.maven.plugins</groupId>
3365 <artifactId>maven-clover2-plugin</artifactId>
3366 <version>${clover.version}</version>
3368 <includesAllSourceRoots>true</includesAllSourceRoots>
3369 <includesTestSourceRoots>true</includesTestSourceRoots>
3370 <targetPercentage>50%</targetPercentage>
3371 <generateHtml>true</generateHtml>
3372 <generateXml>true</generateXml>
3374 <exclude>**/generated/**</exclude>
3379 <id>clover-setup</id>
3380 <phase>process-sources</phase>
3398 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3402 <artifactId>maven-project-info-reports-plugin</artifactId>
3406 <report>cim</report>
3407 <report>dependencies</report>
3408 <report>dependency-convergence</report>
3409 <report>dependency-info</report>
3410 <report>dependency-management</report>
3411 <report>index</report>
3412 <report>issue-tracking</report>
3413 <report>license</report>
3414 <report>mailing-list</report>
3415 <report>plugin-management</report>
3416 <report>plugins</report>
3417 <report>project-team</report>
3418 <report>scm</report>
3419 <report>summary</report>
3423 <!-- see src/site/site.xml for selected reports -->
3425 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3430 <groupId>org.apache.maven.plugins</groupId>
3431 <artifactId>maven-javadoc-plugin</artifactId>
3437 <report>aggregate</report>
3440 <destDir>devapidocs</destDir>
3441 <name>Developer API</name>
3442 <description>The full HBase API, including private and unstable APIs</description>
3443 <sourceFileExcludes>
3444 <exclude>**/generated/*</exclude>
3445 <exclude>**/protobuf/*</exclude>
3446 <exclude>**/*.scala</exclude>
3447 </sourceFileExcludes>
3448 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3449 <show>private</show> <!-- (shows all classes and members) -->
3451 <linksource>true</linksource>
3452 <sourcetab>2</sourcetab>
3453 <validateLinks>true</validateLinks>
3454 <fixClassComment>true</fixClassComment>
3455 <fixFieldComment>true</fixFieldComment>
3456 <fixMethodComment>true</fixMethodComment>
3457 <fixTags>all</fixTags>
3458 <notimestamp>true</notimestamp>
3459 <!-- Pass some options straight to the javadoc executable since it is easier -->
3460 <additionalJOption>-J-Xmx2G</additionalJOption>
3461 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3462 <additionalDependencies>
3463 <additionalDependency>
3464 <groupId>org.mockito</groupId>
3465 <artifactId>mockito-core</artifactId>
3466 <version>${mockito-core.version}</version>
3467 </additionalDependency>
3468 <additionalDependency>
3469 <groupId>org.hamcrest</groupId>
3470 <artifactId>hamcrest-core</artifactId>
3471 <version>${hamcrest.version}</version>
3472 </additionalDependency>
3473 </additionalDependencies>
3474 <inherited>false</inherited>
3480 <report>test-aggregate</report>
3483 <destDir>testdevapidocs</destDir>
3484 <name>Developer API</name>
3485 <description>The full HBase API test code, including private and unstable APIs</description>
3486 <sourceFileExcludes>
3487 <exclude>**/generated/*</exclude>
3488 <exclude>**/protobuf/*</exclude>
3489 <exclude>**/*.scala</exclude>
3490 </sourceFileExcludes>
3491 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3492 <show>private</show> <!-- (shows all classes and members) -->
3494 <linksource>true</linksource>
3495 <sourcetab>2</sourcetab>
3496 <validateLinks>true</validateLinks>
3497 <fixClassComment>true</fixClassComment>
3498 <fixFieldComment>true</fixFieldComment>
3499 <fixMethodComment>true</fixMethodComment>
3500 <fixTags>all</fixTags>
3501 <notimestamp>true</notimestamp>
3502 <!-- Pass some options straight to the javadoc executable since it is easier -->
3503 <additionalJOption>-J-Xmx2G</additionalJOption>
3504 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3505 <additionalDependencies>
3506 <additionalDependency>
3507 <groupId>org.mockito</groupId>
3508 <artifactId>mockito-core</artifactId>
3509 <version>${mockito-core.version}</version>
3510 </additionalDependency>
3511 <additionalDependency>
3512 <groupId>org.hamcrest</groupId>
3513 <artifactId>hamcrest-core</artifactId>
3514 <version>${hamcrest.version}</version>
3515 </additionalDependency>
3516 </additionalDependencies>
3517 <inherited>false</inherited>
3525 <report>aggregate</report>
3529 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3532 <groupId>org.apache.yetus</groupId>
3533 <artifactId>audience-annotations</artifactId>
3534 <version>${audience-annotations.version}</version>
3536 <useStandardDocletOptions>true</useStandardDocletOptions>
3537 <destDir>apidocs</destDir>
3538 <name>User API</name>
3539 <description>The HBase Application Programmer's API</description>
3540 <excludePackageNames>
3541 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*
3542 </excludePackageNames>
3543 <!-- switch on dependency-driven aggregation -->
3544 <includeDependencySources>false</includeDependencySources>
3545 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3546 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3548 <linksource>true</linksource>
3549 <sourcetab>2</sourcetab>
3550 <validateLinks>true</validateLinks>
3551 <fixClassComment>true</fixClassComment>
3552 <fixFieldComment>true</fixFieldComment>
3553 <fixMethodComment>true</fixMethodComment>
3554 <fixTags>all</fixTags>
3555 <notimestamp>true</notimestamp>
3556 <!-- Pass some options straight to the javadoc executable since it is easier -->
3557 <additionalJOption>-J-Xmx2G</additionalJOption>
3558 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3559 <additionalDependencies>
3560 <additionalDependency>
3561 <groupId>org.mockito</groupId>
3562 <artifactId>mockito-core</artifactId>
3563 <version>${mockito-core.version}</version>
3564 </additionalDependency>
3565 <additionalDependency>
3566 <groupId>org.hamcrest</groupId>
3567 <artifactId>hamcrest-core</artifactId>
3568 <version>${hamcrest.version}</version>
3569 </additionalDependency>
3570 </additionalDependencies>
3571 <inherited>false</inherited>
3574 <!-- User Test API -->
3576 <id>testuserapi</id>
3578 <report>test-aggregate</report>
3582 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3585 <groupId>org.apache.yetus</groupId>
3586 <artifactId>audience-annotations</artifactId>
3587 <version>${audience-annotations.version}</version>
3589 <useStandardDocletOptions>true</useStandardDocletOptions>
3590 <destDir>testapidocs</destDir>
3591 <name>User API</name>
3592 <description>The HBase Application Programmer's API</description>
3593 <excludePackageNames>
3594 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*
3595 </excludePackageNames>
3596 <!-- switch on dependency-driven aggregation -->
3597 <includeDependencySources>false</includeDependencySources>
3598 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3599 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3601 <linksource>true</linksource>
3602 <sourcetab>2</sourcetab>
3603 <validateLinks>true</validateLinks>
3604 <fixClassComment>true</fixClassComment>
3605 <fixFieldComment>true</fixFieldComment>
3606 <fixMethodComment>true</fixMethodComment>
3607 <fixTags>all</fixTags>
3608 <notimestamp>true</notimestamp>
3609 <!-- Pass some options straight to the javadoc executable since it is easier -->
3610 <additionalJOption>-J-Xmx2G</additionalJOption>
3611 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3612 <additionalDependencies>
3613 <additionalDependency>
3614 <groupId>org.mockito</groupId>
3615 <artifactId>mockito-core</artifactId>
3616 <version>${mockito-core.version}</version>
3617 </additionalDependency>
3618 <additionalDependency>
3619 <groupId>org.hamcrest</groupId>
3620 <artifactId>hamcrest-core</artifactId>
3621 <version>${hamcrest.version}</version>
3622 </additionalDependency>
3623 </additionalDependencies>
3624 <inherited>false</inherited>
3631 <groupId>org.apache.maven.plugins</groupId>
3632 <artifactId>maven-checkstyle-plugin</artifactId>
3634 <excludes>target/**</excludes>
3639 <groupId>org.scala-tools</groupId>
3640 <artifactId>maven-scala-plugin</artifactId>
3644 <distributionManagement>
3646 <id>hbase.apache.org</id>
3647 <name>HBase Website at hbase.apache.org</name>
3648 <!-- On why this is the tmp dir and not hbase.apache.org, see
3649 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3651 <url>file:///tmp</url>
3653 </distributionManagement>
3656 <id>project.local</id>
3657 <name>project</name>
3658 <url>file:${project.basedir}/src/site/resources/repo</url>