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>
679 <name>listener</name>
680 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
686 <id>secondPartTestsExecution</id>
692 <skip>${surefire.skipSecondPart}</skip>
693 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
694 <reuseForks>false</reuseForks>
695 <forkCount>${surefire.secondPartForkCount}</forkCount>
696 <groups>${surefire.secondPartGroups}</groups>
697 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-surefire-report-plugin</artifactId>
705 <version>${surefire.version}</version>
708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-clean-plugin</artifactId>
713 <!--dfs tests have build dir hardcoded. Clean it as part of
715 <directory>build</directory>
721 <groupId>org.codehaus.mojo</groupId>
722 <artifactId>buildnumber-maven-plugin</artifactId>
723 <version>${buildnumber.maven.version}</version>
726 <groupId>org.codehaus.mojo</groupId>
727 <artifactId>findbugs-maven-plugin</artifactId>
728 <version>${findbugs.maven.version}</version>
729 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
731 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
732 <findbugsXmlOutput>true</findbugsXmlOutput>
733 <xmlOutput>true</xmlOutput>
738 <groupId>org.codehaus.mojo</groupId>
739 <artifactId>build-helper-maven-plugin</artifactId>
740 <version>${build.helper.maven.version}</version>
743 <artifactId>maven-antrun-plugin</artifactId>
744 <version>${maven.antrun.version}</version>
747 <groupId>org.jamon</groupId>
748 <artifactId>jamon-maven-plugin</artifactId>
749 <version>${jamon.plugin.version}</version>
751 <!-- Make a jar and put the sources in the jar.
752 In the parent pom, so submodules will do the right thing. -->
754 <groupId>org.apache.maven.plugins</groupId>
755 <artifactId>maven-source-plugin</artifactId>
758 <id>attach-sources</id>
759 <phase>prepare-package</phase>
761 <goal>jar-no-fork</goal>
762 <goal>test-jar-no-fork</goal>
767 <!-- General configuration for submodules who want to build a test jar -->
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-jar-plugin</artifactId>
773 <phase>prepare-package</phase>
775 <!--This goal will install a -test.jar when we do install
776 See http://maven.apache.org/guides/mini/guide-attached-tests.html
778 <goal>test-jar</goal>
783 <skipIfEmpty>true</skipIfEmpty>
785 <exclude>hbase-site.xml</exclude>
786 <exclude>hdfs-site.xml</exclude>
787 <exclude>log4j.properties</exclude>
788 <exclude>mapred-queues.xml</exclude>
789 <exclude>mapred-site.xml</exclude>
790 <!--I was seeing this w/o the below addition:
791 [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]
793 <exclude>*.jar</exclude>
797 <!-- General config for eclipse classpath/settings -->
799 <groupId>org.apache.maven.plugins</groupId>
800 <artifactId>maven-eclipse-plugin</artifactId>
801 <version>${maven.eclipse.version}</version>
803 <!--This plugin's configuration is used to store Eclipse m2e settings
804 only. It has no influence on the Maven build itself. m2e does not
805 provide any safeguards against rogue maven plugins that leak
806 classloaders, modify random files inside workspace or throw nasty
807 exceptions to fail the build.
808 Top level doesn't do any specific configuration currently - left
809 to modules to decide what they want to bind, sans those plugins
810 defined in this pom. -->
812 <groupId>org.eclipse.m2e</groupId>
813 <artifactId>lifecycle-mapping</artifactId>
814 <version>${lifecycle.mapping.version}</version>
816 <lifecycleMappingMetadata>
819 <pluginExecutionFilter>
820 <groupId>org.jacoco</groupId>
821 <artifactId>jacoco-maven-plugin</artifactId>
822 <versionRange>[0.6.2.201302030002,)</versionRange>
824 <goal>prepare-agent</goal>
826 </pluginExecutionFilter>
832 <pluginExecutionFilter>
833 <groupId>org.apache.maven.plugins</groupId>
834 <artifactId>maven-enforcer-plugin</artifactId>
835 <versionRange>${enforcer.version}</versionRange>
839 </pluginExecutionFilter>
845 <pluginExecutionFilter>
846 <groupId>org.apache.maven.plugins</groupId>
847 <artifactId>maven-remote-resources-plugin</artifactId>
848 <versionRange>[1.5,)</versionRange>
853 </pluginExecutionFilter>
859 <pluginExecutionFilter>
860 <groupId>org.codehaus.mojo</groupId>
861 <artifactId>buildnumber-maven-plugin</artifactId>
862 <versionRange>[1.3,)</versionRange>
864 <goal>create-timestamp</goal>
866 </pluginExecutionFilter>
869 <runOnConfiguration>true</runOnConfiguration>
870 <runOnIncremental>true</runOnIncremental>
875 </lifecycleMappingMetadata>
879 <!-- excludes are inherited -->
880 <groupId>org.apache.rat</groupId>
881 <artifactId>apache-rat-plugin</artifactId>
882 <version>${apache.rat.version}</version>
885 <exclude>**/*.versionsBackup</exclude>
886 <exclude>**/*.log</exclude>
887 <exclude>**/.*</exclude>
888 <exclude>**/*.tgz</exclude>
889 <exclude>**/*.orig</exclude>
890 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
891 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
892 <exclude>**/0000000000000016310</exclude>
893 <exclude>**/.idea/**</exclude>
894 <exclude>**/*.iml</exclude>
895 <exclude>**/CHANGES.txt</exclude>
896 <exclude>**/generated/**</exclude>
897 <exclude>**/gen-*/**</exclude>
898 <!-- No material contents -->
899 <exclude>conf/regionservers</exclude>
900 <exclude>**/*.avpr</exclude>
901 <exclude>**/*.svg</exclude>
902 <!-- non-standard notice file from jruby included by reference -->
903 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
904 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
905 <exclude>**/src/main/asciidoc/hbase.css</exclude>
906 <!-- MIT http://jquery.org/license -->
907 <exclude>**/jquery.min.js</exclude>
908 <!-- vector graphics -->
909 <exclude>**/*.vm</exclude>
910 <!-- apache doxia generated -->
911 <exclude>**/control</exclude>
912 <exclude>**/conffile</exclude>
913 <!-- auto-gen docs -->
914 <exclude>docs/*</exclude>
915 <exclude>logs/*</exclude>
916 <!-- exclude source control files -->
917 <exclude>.git/**</exclude>
918 <exclude>.svn/**</exclude>
919 <exclude>**/.settings/**</exclude>
920 <exclude>**/patchprocess/**</exclude>
921 <exclude>src/site/resources/repo/**</exclude>
922 <exclude>**/dependency-reduced-pom.xml</exclude>
923 <exclude>**/rat.txt</exclude>
924 <!-- exclude the shaded protobuf files -->
925 <exclude>**/shaded/com/google/protobuf/**</exclude>
926 <exclude>**/src/main/patches/**</exclude>
931 <artifactId>maven-assembly-plugin</artifactId>
933 <!--Defer to the hbase-assembly sub-module. It
935 <skipAssembly>true</skipAssembly>
939 <groupId>org.xolstice.maven.plugins</groupId>
940 <artifactId>protobuf-maven-plugin</artifactId>
941 <version>${protobuf.plugin.version}</version>
943 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
944 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
945 <clearOutputDirectory>false</clearOutputDirectory>
946 <checkStaleness>true</checkStaleness>
950 <!-- Approach followed here is roughly the same as mentioned here:
951 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
953 <groupId>org.apache.maven.plugins</groupId>
954 <artifactId>maven-checkstyle-plugin</artifactId>
955 <version>${maven.checkstyle.version}</version>
958 <groupId>org.apache.hbase</groupId>
959 <artifactId>hbase-checkstyle</artifactId>
960 <version>${project.version}</version>
963 <groupId>com.puppycrawl.tools</groupId>
964 <artifactId>checkstyle</artifactId>
965 <version>${checkstyle.version}</version>
969 <configLocation>hbase/checkstyle.xml</configLocation>
970 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
971 <includeTestSourceDirectory>true</includeTestSourceDirectory>
978 <groupId>org.codehaus.mojo</groupId>
979 <artifactId>build-helper-maven-plugin</artifactId>
982 <id>negate-license-bundles-property</id>
984 <goal>bsh-property</goal>
987 <source>skip.license.check = !${license.bundles.dependencies};</source>
989 <property>skip.license.check</property>
996 <groupId>org.apache.maven.plugins</groupId>
997 <artifactId>maven-enforcer-plugin</artifactId>
998 <version>${enforcer.version}</version>
1001 <groupId>org.codehaus.mojo</groupId>
1002 <artifactId>extra-enforcer-rules</artifactId>
1003 <version>${extra.enforcer.version}</version>
1006 <!-- version set by parent -->
1009 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1011 <goal>enforce</goal>
1015 <!-- Help people activate profiles correctly -->
1017 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1018 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1019 </evaluateBeanshell>
1020 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1021 <requireMavenVersion>
1022 <version>[${maven.min.version},)</version>
1023 <message>Maven is out of date.
1024 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1025 You appear to be using an older version. You can use either "mvn -version" or
1026 "mvn enforcer:display-info" to verify what version is active.
1027 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1029 </requireMavenVersion>
1030 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1031 <requireJavaVersion>
1032 <version>[${java.min.version},)</version>
1033 <message>Java is out of date.
1034 HBase requirs at least version ${java.min.version} of the JDK to properly build from source.
1035 You appear to be using an older version. You can use either "mvn -version" or
1036 "mvn enforcer:display-info" to verify what version is active.
1037 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1039 </requireJavaVersion>
1040 <bannedDependencies>
1042 <exclude>xerces:xercesImpl</exclude>
1044 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1045 </bannedDependencies>
1050 <id>banned-jsr305</id>
1052 <goal>enforce</goal>
1056 <bannedDependencies>
1058 <exclude>com.google.code.findbugs:jsr305</exclude>
1060 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1061 </bannedDependencies>
1066 <id>banned-scala</id>
1068 <goal>enforce</goal>
1072 <bannedDependencies>
1074 <exclude>org.scala-lang:scala-library</exclude>
1076 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1077 </bannedDependencies>
1082 <id>banned-hbase-spark</id>
1084 <goal>enforce</goal>
1088 <bannedDependencies>
1090 <exclude>org.apache.hbase:hbase-spark</exclude>
1092 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1093 </bannedDependencies>
1098 <id>check-aggregate-license</id>
1099 <!-- must check after LICENSE is built at 'generate-resources' -->
1100 <phase>process-resources</phase>
1102 <goal>enforce</goal>
1108 File license = new File("${license.aggregate.path}");
1110 // Beanshell does not support try-with-resources,
1111 // so we must close this scanner manually
1112 Scanner scanner = new Scanner(license);
1114 while (scanner.hasNextLine()) {
1115 if (scanner.nextLine().startsWith("ERROR:")) {
1124 License errors detected, for more detail find ERROR in
1125 ${license.aggregate.path}
1127 </evaluateBeanshell>
1129 <skip>${skip.license.check}</skip>
1134 <!-- parent-module only plugins -->
1136 <groupId>org.codehaus.mojo</groupId>
1137 <artifactId>xml-maven-plugin</artifactId>
1138 <version>${xml.maven.version}</version>
1139 <inherited>false</inherited>
1142 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1144 <goal>transform</goal>
1150 <transformationSets>
1151 <!-- For asciidoc -->
1153 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1154 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1156 <include>hbase-default.xml</include>
1158 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1160 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1161 <pattern>^(.*)\.xml$</pattern>
1162 <replacement>$1.adoc</replacement>
1165 <outputDir>${basedir}/target/asciidoc</outputDir>
1166 </transformationSet>
1167 </transformationSets>
1170 <!-- Special configuration for findbugs just in the parent so
1171 the filter file location can be more general (see definition in pluginManagement) -->
1173 <groupId>org.codehaus.mojo</groupId>
1174 <artifactId>findbugs-maven-plugin</artifactId>
1177 <inherited>false</inherited>
1179 <goal>findbugs</goal>
1182 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1188 <groupId>org.apache.maven.plugins</groupId>
1189 <artifactId>maven-checkstyle-plugin</artifactId>
1192 <groupId>org.apache.maven.plugins</groupId>
1193 <artifactId>maven-site-plugin</artifactId>
1194 <version>${maven.site.version}</version>
1195 <inherited>false</inherited>
1198 <!-- add support for ssh/scp -->
1199 <groupId>org.apache.maven.wagon</groupId>
1200 <artifactId>wagon-ssh</artifactId>
1201 <version>${wagon.ssh.version}</version>
1205 <siteDirectory>${basedir}/src/site</siteDirectory>
1206 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1207 <inputEncoding>UTF-8</inputEncoding>
1208 <outputEncoding>UTF-8</outputEncoding>
1211 <!-- For AsciiDoc docs building -->
1213 <groupId>org.asciidoctor</groupId>
1214 <artifactId>asciidoctor-maven-plugin</artifactId>
1215 <version>${asciidoctor.plugin.version}</version>
1216 <inherited>false</inherited>
1219 <groupId>org.asciidoctor</groupId>
1220 <artifactId>asciidoctorj-pdf</artifactId>
1221 <version>${asciidoctorj.pdf.version}</version>
1225 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1226 <doctype>book</doctype>
1227 <imagesDir>images</imagesDir>
1228 <sourceHighlighter>coderay</sourceHighlighter>
1230 <docVersion>${project.version}</docVersion>
1235 <id>output-html</id>
1238 <goal>process-asciidoc</goal>
1242 <stylesheet>hbase.css</stylesheet>
1244 <backend>html5</backend>
1251 <goal>process-asciidoc</goal>
1254 <backend>pdf</backend>
1259 <idseparator>-</idseparator>
1266 <groupId>org.apache.maven.plugins</groupId>
1267 <artifactId>maven-resources-plugin</artifactId>
1268 <!--$NO-MVN-MAN-VER$ -->
1269 <inherited>false</inherited>
1272 <id>copy-htaccess</id>
1274 <goal>copy-resources</goal>
1278 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1281 <directory>${basedir}/src/site/resources/</directory>
1283 <include>.htaccess</include>
1289 <!-- needed to make the redirect above work -->
1291 <id>copy-empty-book-dir</id>
1293 <goal>copy-resources</goal>
1297 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1300 <directory>${basedir}/src/site/resources/</directory>
1302 <include>book/**</include>
1310 <escapeString>\</escapeString>
1314 <groupId>org.apache.maven.plugins</groupId>
1315 <artifactId>maven-antrun-plugin</artifactId>
1316 <version>${maven.antrun.version}</version>
1317 <inherited>false</inherited>
1318 <!-- Rename the book.pdf generated by asciidoctor -->
1324 <target name="rename file">
1325 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1335 <groupId>org.codehaus.mojo</groupId>
1336 <artifactId>buildnumber-maven-plugin</artifactId>
1339 <phase>validate</phase>
1341 <goal>create-timestamp</goal>
1346 <timestampFormat>yyyy</timestampFormat>
1347 <timestampPropertyName>build.year</timestampPropertyName>
1351 <groupId>org.apache.felix</groupId>
1352 <artifactId>maven-bundle-plugin</artifactId>
1353 <version>${maven.bundle.version}</version>
1354 <inherited>true</inherited>
1355 <extensions>true</extensions>
1358 <groupId>org.scala-tools</groupId>
1359 <artifactId>maven-scala-plugin</artifactId>
1360 <version>${maven.scala.version}</version>
1365 <!-- override on command line to have generated LICENSE files include
1366 diagnostic info for verifying notice requirements -->
1367 <license.debug.print.included>false</license.debug.print.included>
1368 <!-- When a particular module bundles its depenendencies, should be true -->
1369 <license.bundles.dependencies>false</license.bundles.dependencies>
1370 <!-- modules that include a the logo in their source tree should set true -->
1371 <license.bundles.logo>false</license.bundles.logo>
1372 <!-- modules that include bootstrap in their source tree should set true -->
1373 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1374 <!-- modules that include jquery in their source tree should set true -->
1375 <license.bundles.jquery>false</license.bundles.jquery>
1376 <!-- where to find the generated LICENSE files -->
1377 <license.aggregate.path>
1378 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1379 </license.aggregate.path>
1380 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1381 <maven.build.timestamp.format>
1383 </maven.build.timestamp.format>
1384 <buildDate>${maven.build.timestamp}</buildDate>
1385 <compileSource>1.8</compileSource>
1386 <!-- Build dependencies -->
1387 <maven.min.version>3.0.4</maven.min.version>
1388 <java.min.version>${compileSource}</java.min.version>
1389 <!-- Dependencies -->
1390 <hadoop-two.version>2.7.4</hadoop-two.version>
1391 <hadoop-three.version>3.0.0</hadoop-three.version>
1392 <!-- These must be defined here for downstream build tools that don't look at profiles.
1393 They ought to match the values found in our default hadoop profile, which is
1394 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1395 <hadoop.version>${hadoop-two.version}</hadoop.version>
1396 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1397 <compat.module>hbase-hadoop2-compat</compat.module>
1398 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1399 <audience-annotations.version>0.5.0</audience-annotations.version>
1400 <!-- end HBASE-15925 default hadoop compatibility values -->
1401 <avro.version>1.7.7</avro.version>
1402 <commons-cli.version>1.4</commons-cli.version>
1403 <commons-codec.version>1.10</commons-codec.version>
1404 <!-- pretty outdated -->
1405 <commons-io.version>2.5</commons-io.version>
1406 <commons-lang3.version>3.6</commons-lang3.version>
1407 <commons-math.version>3.6.1</commons-math.version>
1408 <disruptor.version>3.3.6</disruptor.version>
1409 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1410 <collections.version>4.1</collections.version>
1411 <httpclient.version>4.5.3</httpclient.version>
1412 <httpcore.version>4.4.6</httpcore.version>
1413 <metrics-core.version>3.2.1</metrics-core.version>
1414 <jackson.version>2.9.2</jackson.version>
1415 <jaxb-api.version>2.2.12</jaxb-api.version>
1416 <jetty.version>9.3.19.v20170502</jetty.version>
1417 <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version>
1418 <servlet.api.version>3.1.0</servlet.api.version>
1419 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1420 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1421 <jersey.version>2.25.1</jersey.version>
1422 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1423 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1424 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1425 <jruby.version>9.1.10.0</jruby.version>
1426 <junit.version>4.12</junit.version>
1427 <hamcrest.version>1.3</hamcrest.version>
1428 <htrace.version>4.2.0-incubating</htrace.version>
1429 <htrace-hadoop.version>3.2.0-incubating</htrace-hadoop.version>
1430 <log4j.version>1.2.17</log4j.version>
1431 <mockito-core.version>2.1.0</mockito-core.version>
1432 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1433 <external.protobuf.version>2.5.0</external.protobuf.version>
1434 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1435 <thrift.path>thrift</thrift.path>
1436 <thrift.version>0.9.3</thrift.version>
1437 <zookeeper.version>3.4.10</zookeeper.version>
1438 <slf4j.version>1.7.25</slf4j.version>
1439 <clover.version>4.0.3</clover.version>
1440 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1441 <jettison.version>1.3.8</jettison.version>
1442 <!--This property is for hadoops netty. HBase netty
1443 comes in via hbase-thirdparty hbase-shaded-netty-->
1444 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1445 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1446 <joni.version>2.1.11</joni.version>
1447 <jcodings.version>1.0.18</jcodings.version>
1448 <spy.version>2.12.2</spy.version>
1449 <bouncycastle.version>1.46</bouncycastle.version>
1450 <kerby.version>1.0.1</kerby.version>
1451 <commons-crypto.version>1.0.0</commons-crypto.version>
1452 <curator.version>4.0.0</curator.version>
1453 <!-- Plugin Dependencies -->
1454 <apache.rat.version>0.12</apache.rat.version>
1455 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1456 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1457 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1458 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1459 <checkstyle.version>6.18</checkstyle.version>
1460 <exec.maven.version>1.6.0</exec.maven.version>
1461 <error-prone.version>2.1.1</error-prone.version>
1462 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1463 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1464 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1465 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1466 <maven.antrun.version>1.8</maven.antrun.version>
1467 <maven.bundle.version>3.3.0</maven.bundle.version>
1468 <maven.checkstyle.version>2.17</maven.checkstyle.version>
1469 <maven.compiler.version>3.6.1</maven.compiler.version>
1470 <maven.dependency.version>3.0.1</maven.dependency.version>
1471 <maven.eclipse.version>2.10</maven.eclipse.version>
1472 <maven.install.version>2.5.2</maven.install.version>
1473 <maven.jar.version>3.0.2</maven.jar.version>
1474 <maven.patch.version>1.2</maven.patch.version>
1475 <maven.scala.version>2.15.2</maven.scala.version>
1476 <maven.shade.version>3.0.0</maven.shade.version>
1477 <maven.site.version>3.4</maven.site.version>
1478 <maven.source.version>3.0.1</maven.source.version>
1479 <os.maven.version>1.5.0.Final</os.maven.version>
1480 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1481 <scala.maven.version>3.2.2</scala.maven.version>
1482 <scalatest.maven.version>1.0</scalatest.maven.version>
1483 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1484 <wagon.ssh.version>2.12</wagon.ssh.version>
1485 <xml.maven.version>1.0.1</xml.maven.version>
1486 <hbase-thirdparty.version>2.0.0</hbase-thirdparty.version>
1487 <!-- General Packaging -->
1488 <package.prefix>/usr</package.prefix>
1489 <package.conf.dir>/etc/hbase</package.conf.dir>
1490 <package.log.dir>/var/log/hbase</package.log.dir>
1491 <package.pid.dir>/var/run/hbase</package.pid.dir>
1492 <package.release>1</package.release>
1493 <final.name>${project.artifactId}-${project.version}</final.name>
1494 <!-- Intraproject jar naming properties -->
1495 <!-- TODO this is pretty ugly, but works for the moment.
1496 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1497 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1498 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1499 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1500 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1501 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1502 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1503 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1504 <shell-executable>bash</shell-executable>
1505 <surefire.version>2.20.1</surefire.version>
1506 <surefire.provider>surefire-junit47</surefire.provider>
1507 <!-- default: run small & medium, medium with 2 threads -->
1508 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1509 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1510 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1511 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1512 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1513 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1514 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1515 <test.output.tofile>true</test.output.tofile>
1516 <surefire.timeout>900</surefire.timeout>
1517 <test.exclude.pattern></test.exclude.pattern>
1518 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1519 <surefire.Xmx>2800m</surefire.Xmx>
1520 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1521 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1523 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1524 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1525 -Djava.awt.headless=true
1526 </hbase-surefire.argLine>
1527 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1528 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1529 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1530 </hbase-surefire.cygwin-argLine>
1531 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1532 <argLine>${hbase-surefire.argLine}</argLine>
1533 <jacoco.version>0.7.5.201505241946</jacoco.version>
1534 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1535 <enforcer.version>3.0.0-M1</enforcer.version>
1536 <!-- Location of test resources -->
1537 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1538 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1539 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1540 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1541 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1542 <build.id>${maven.build.timestamp}</build.id>
1543 <shell-executable>bash</shell-executable>
1545 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1546 <dependencyManagement>
1549 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1550 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1551 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1552 implementation of the same, because Hadoop also uses this version
1553 javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1
1555 <!-- Intra-module dependencies -->
1557 <groupId>org.apache.hbase</groupId>
1558 <artifactId>hbase-annotations</artifactId>
1559 <version>${project.version}</version>
1560 <type>test-jar</type>
1561 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1564 <artifactId>hbase-backup</artifactId>
1565 <groupId>org.apache.hbase</groupId>
1566 <version>${project.version}</version>
1569 <groupId>org.apache.hbase</groupId>
1570 <artifactId>hbase-error-prone</artifactId>
1571 <version>${project.version}</version>
1574 <groupId>org.apache.hbase</groupId>
1575 <artifactId>hbase-common</artifactId>
1576 <version>${project.version}</version>
1579 <groupId>org.apache.hbase</groupId>
1580 <artifactId>hbase-common</artifactId>
1581 <version>${project.version}</version>
1582 <type>test-jar</type>
1586 <groupId>org.apache.hbase</groupId>
1587 <artifactId>hbase-protocol-shaded</artifactId>
1588 <version>${project.version}</version>
1591 <groupId>org.apache.hbase</groupId>
1592 <artifactId>hbase-protocol</artifactId>
1593 <version>${project.version}</version>
1596 <groupId>org.apache.hbase</groupId>
1597 <artifactId>hbase-procedure</artifactId>
1598 <version>${project.version}</version>
1601 <groupId>org.apache.hbase</groupId>
1602 <artifactId>hbase-procedure</artifactId>
1603 <version>${project.version}</version>
1604 <type>test-jar</type>
1607 <groupId>org.apache.hbase</groupId>
1608 <artifactId>hbase-hadoop-compat</artifactId>
1609 <version>${project.version}</version>
1612 <groupId>org.apache.hbase</groupId>
1613 <artifactId>hbase-hadoop-compat</artifactId>
1614 <version>${project.version}</version>
1615 <type>test-jar</type>
1619 <groupId>org.apache.hbase</groupId>
1620 <artifactId>${compat.module}</artifactId>
1621 <version>${project.version}</version>
1624 <groupId>org.apache.hbase</groupId>
1625 <artifactId>${compat.module}</artifactId>
1626 <version>${project.version}</version>
1627 <type>test-jar</type>
1631 <artifactId>hbase-rsgroup</artifactId>
1632 <groupId>org.apache.hbase</groupId>
1633 <version>${project.version}</version>
1636 <artifactId>hbase-rsgroup</artifactId>
1637 <groupId>org.apache.hbase</groupId>
1638 <version>${project.version}</version>
1639 <type>test-jar</type>
1643 <artifactId>hbase-replication</artifactId>
1644 <groupId>org.apache.hbase</groupId>
1645 <version>${project.version}</version>
1648 <artifactId>hbase-http</artifactId>
1649 <groupId>org.apache.hbase</groupId>
1650 <version>${project.version}</version>
1653 <artifactId>hbase-http</artifactId>
1654 <groupId>org.apache.hbase</groupId>
1655 <version>${project.version}</version>
1656 <type>test-jar</type>
1660 <artifactId>hbase-server</artifactId>
1661 <groupId>org.apache.hbase</groupId>
1662 <version>${project.version}</version>
1665 <artifactId>hbase-server</artifactId>
1666 <groupId>org.apache.hbase</groupId>
1667 <version>${project.version}</version>
1668 <type>test-jar</type>
1672 <artifactId>hbase-mapreduce</artifactId>
1673 <groupId>org.apache.hbase</groupId>
1674 <version>${project.version}</version>
1677 <artifactId>hbase-mapreduce</artifactId>
1678 <groupId>org.apache.hbase</groupId>
1679 <version>${project.version}</version>
1680 <type>test-jar</type>
1684 <artifactId>hbase-endpoint</artifactId>
1685 <groupId>org.apache.hbase</groupId>
1686 <version>${project.version}</version>
1689 <artifactId>hbase-shell</artifactId>
1690 <groupId>org.apache.hbase</groupId>
1691 <version>${project.version}</version>
1694 <artifactId>hbase-shell</artifactId>
1695 <groupId>org.apache.hbase</groupId>
1696 <version>${project.version}</version>
1697 <type>test-jar</type>
1701 <artifactId>hbase-thrift</artifactId>
1702 <groupId>org.apache.hbase</groupId>
1703 <version>${project.version}</version>
1706 <artifactId>hbase-thrift</artifactId>
1707 <groupId>org.apache.hbase</groupId>
1708 <version>${project.version}</version>
1709 <type>test-jar</type>
1713 <groupId>org.apache.hbase</groupId>
1714 <artifactId>hbase-testing-util</artifactId>
1715 <version>${project.version}</version>
1719 <artifactId>hbase-examples</artifactId>
1720 <groupId>org.apache.hbase</groupId>
1721 <version>${project.version}</version>
1724 <groupId>org.apache.hbase</groupId>
1725 <artifactId>hbase-external-blockcache</artifactId>
1726 <version>${project.version}</version>
1729 <artifactId>hbase-it</artifactId>
1730 <groupId>org.apache.hbase</groupId>
1731 <version>${project.version}</version>
1732 <type>test-jar</type>
1736 <artifactId>hbase-client</artifactId>
1737 <groupId>org.apache.hbase</groupId>
1738 <version>${project.version}</version>
1741 <artifactId>hbase-metrics-api</artifactId>
1742 <groupId>org.apache.hbase</groupId>
1743 <version>${project.version}</version>
1746 <artifactId>hbase-metrics-api</artifactId>
1747 <groupId>org.apache.hbase</groupId>
1748 <version>${project.version}</version>
1749 <type>test-jar</type>
1753 <artifactId>hbase-metrics</artifactId>
1754 <groupId>org.apache.hbase</groupId>
1755 <version>${project.version}</version>
1758 <artifactId>hbase-metrics</artifactId>
1759 <groupId>org.apache.hbase</groupId>
1760 <version>${project.version}</version>
1761 <type>test-jar</type>
1765 <artifactId>hbase-rest</artifactId>
1766 <groupId>org.apache.hbase</groupId>
1767 <version>${project.version}</version>
1770 <artifactId>hbase-resource-bundle</artifactId>
1771 <groupId>org.apache.hbase</groupId>
1772 <version>${project.version}</version>
1775 <artifactId>hbase-spark</artifactId>
1776 <groupId>org.apache.hbase</groupId>
1777 <version>${project.version}</version>
1780 <artifactId>hbase-spark-it</artifactId>
1781 <groupId>org.apache.hbase</groupId>
1782 <version>${project.version}</version>
1783 <type>test-jar</type>
1787 <artifactId>hbase-zookeeper</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1792 <artifactId>hbase-zookeeper</artifactId>
1793 <groupId>org.apache.hbase</groupId>
1794 <version>${project.version}</version>
1795 <type>test-jar</type>
1798 <!-- General dependencies -->
1800 <groupId>com.github.stephenc.findbugs</groupId>
1801 <artifactId>findbugs-annotations</artifactId>
1802 <version>${findbugs-annotations}</version>
1804 <!-- General dependencies -->
1806 <groupId>org.codehaus.jettison</groupId>
1807 <artifactId>jettison</artifactId>
1808 <version>${jettison.version}</version>
1811 <groupId>org.slf4j</groupId>
1812 <artifactId>slf4j-log4j12</artifactId>
1813 <version>${slf4j.version}</version>
1816 <groupId>log4j</groupId>
1817 <artifactId>log4j</artifactId>
1818 <version>${log4j.version}</version>
1820 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1822 <groupId>org.apache.avro</groupId>
1823 <artifactId>avro</artifactId>
1824 <version>${avro.version}</version>
1826 <!--This is not used by hbase directly. Used by thrift,
1827 dropwizard and zk.-->
1829 <groupId>org.slf4j</groupId>
1830 <artifactId>slf4j-api</artifactId>
1831 <version>${slf4j.version}</version>
1834 <groupId>io.dropwizard.metrics</groupId>
1835 <artifactId>metrics-core</artifactId>
1836 <version>${metrics-core.version}</version>
1839 <groupId>org.apache.commons</groupId>
1840 <artifactId>commons-collections4</artifactId>
1841 <version>${collections.version}</version>
1844 <groupId>org.apache.httpcomponents</groupId>
1845 <artifactId>httpclient</artifactId>
1846 <version>${httpclient.version}</version>
1849 <groupId>org.apache.httpcomponents</groupId>
1850 <artifactId>httpcore</artifactId>
1851 <version>${httpcore.version}</version>
1854 <groupId>commons-cli</groupId>
1855 <artifactId>commons-cli</artifactId>
1856 <version>${commons-cli.version}</version>
1859 <groupId>commons-codec</groupId>
1860 <artifactId>commons-codec</artifactId>
1861 <version>${commons-codec.version}</version>
1864 <groupId>commons-io</groupId>
1865 <artifactId>commons-io</artifactId>
1866 <version>${commons-io.version}</version>
1869 <groupId>org.apache.commons</groupId>
1870 <artifactId>commons-lang3</artifactId>
1871 <version>${commons-lang3.version}</version>
1874 <groupId>org.apache.commons</groupId>
1875 <artifactId>commons-math3</artifactId>
1876 <version>${commons-math.version}</version>
1879 <groupId>org.apache.zookeeper</groupId>
1880 <artifactId>zookeeper</artifactId>
1881 <version>${zookeeper.version}</version>
1884 <groupId>jline</groupId>
1885 <artifactId>jline</artifactId>
1888 <groupId>com.sun.jmx</groupId>
1889 <artifactId>jmxri</artifactId>
1892 <groupId>com.sun.jdmk</groupId>
1893 <artifactId>jmxtools</artifactId>
1896 <groupId>javax.jms</groupId>
1897 <artifactId>jms</artifactId>
1900 <groupId>io.netty</groupId>
1901 <artifactId>netty</artifactId>
1906 <groupId>org.apache.thrift</groupId>
1907 <artifactId>libthrift</artifactId>
1908 <version>${thrift.version}</version>
1911 <groupId>org.slf4j</groupId>
1912 <artifactId>slf4j-simple</artifactId>
1917 <groupId>org.jruby</groupId>
1918 <artifactId>jruby-complete</artifactId>
1919 <version>${jruby.version}</version>
1922 <groupId>org.jruby.jcodings</groupId>
1923 <artifactId>jcodings</artifactId>
1924 <version>${jcodings.version}</version>
1927 <groupId>org.jruby.joni</groupId>
1928 <artifactId>joni</artifactId>
1929 <version>${joni.version}</version>
1932 <groupId>com.fasterxml.jackson.jaxrs</groupId>
1933 <artifactId>jackson-jaxrs-json-provider</artifactId>
1934 <version>${jackson.version}</version>
1937 <groupId>com.fasterxml.jackson.core</groupId>
1938 <artifactId>jackson-databind</artifactId>
1939 <version>${jackson.version}</version>
1942 <groupId>org.jamon</groupId>
1943 <artifactId>jamon-runtime</artifactId>
1944 <version>${jamon-runtime.version}</version>
1946 <!-- REST dependencies -->
1948 <groupId>javax.servlet</groupId>
1949 <artifactId>javax.servlet-api</artifactId>
1950 <version>${servlet.api.version}</version>
1953 <groupId>javax.ws.rs</groupId>
1954 <artifactId>javax.ws.rs-api</artifactId>
1955 <version>${wx.rs.api.version}</version>
1958 <groupId>org.eclipse.jetty</groupId>
1959 <artifactId>jetty-server</artifactId>
1960 <version>${jetty.version}</version>
1963 <groupId>org.eclipse.jetty</groupId>
1964 <artifactId>jetty-servlet</artifactId>
1965 <version>${jetty.version}</version>
1968 <groupId>org.eclipse.jetty</groupId>
1969 <artifactId>servlet-api</artifactId>
1974 <groupId>org.eclipse.jetty</groupId>
1975 <artifactId>jetty-security</artifactId>
1976 <version>${jetty.version}</version>
1979 <groupId>org.eclipse.jetty</groupId>
1980 <artifactId>jetty-http</artifactId>
1981 <version>${jetty.version}</version>
1984 <groupId>org.eclipse.jetty</groupId>
1985 <artifactId>jetty-util</artifactId>
1986 <version>${jetty.version}</version>
1989 <groupId>org.eclipse.jetty</groupId>
1990 <artifactId>jetty-io</artifactId>
1991 <version>${jetty.version}</version>
1994 <groupId>org.eclipse.jetty</groupId>
1995 <artifactId>jetty-jsp</artifactId>
1996 <version>${jetty-jsp.version}</version>
1999 <groupId>org.eclipse.jetty</groupId>
2000 <artifactId>jetty-jmx</artifactId>
2001 <version>${jetty.version}</version>
2004 <groupId>org.eclipse.jetty</groupId>
2005 <artifactId>jetty-webapp</artifactId>
2006 <version>${jetty.version}</version>
2009 <groupId>org.eclipse.jetty</groupId>
2010 <artifactId>jetty-util-ajax</artifactId>
2011 <version>${jetty.version}</version>
2014 <groupId>com.google.protobuf</groupId>
2015 <artifactId>protobuf-java</artifactId>
2016 <version>${external.protobuf.version}</version>
2019 <groupId>org.glassfish.jersey.containers</groupId>
2020 <artifactId>jersey-container-servlet-core</artifactId>
2021 <version>${jersey.version}</version>
2024 <groupId>org.glassfish.jersey.core</groupId>
2025 <artifactId>jersey-client</artifactId>
2026 <version>${jersey.version}</version>
2029 <groupId>org.glassfish.jersey.core</groupId>
2030 <artifactId>jersey-server</artifactId>
2031 <version>${jersey.version}</version>
2034 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2035 <groupId>org.glassfish.web</groupId>
2036 <artifactId>javax.servlet.jsp</artifactId>
2037 <version>${glassfish.jsp.version}</version>
2040 <groupId>org.glassfish</groupId>
2041 <artifactId>javax.el</artifactId>
2042 <version>${glassfish.el.version}</version>
2045 <groupId>javax.xml.bind</groupId>
2046 <artifactId>jaxb-api</artifactId>
2047 <version>${jaxb-api.version}</version>
2050 <groupId>javax.xml.stream</groupId>
2051 <artifactId>stax-api</artifactId>
2056 <groupId>junit</groupId>
2057 <artifactId>junit</artifactId>
2058 <version>${junit.version}</version>
2061 <groupId>org.hamcrest</groupId>
2062 <artifactId>hamcrest-core</artifactId>
2063 <version>${hamcrest.version}</version>
2067 <groupId>org.mockito</groupId>
2068 <artifactId>mockito-core</artifactId>
2069 <version>${mockito-core.version}</version>
2073 <groupId>org.apache.htrace</groupId>
2074 <artifactId>htrace-core4</artifactId>
2075 <version>${htrace.version}</version>
2078 <groupId>com.lmax</groupId>
2079 <artifactId>disruptor</artifactId>
2080 <version>${disruptor.version}</version>
2083 <groupId>net.spy</groupId>
2084 <artifactId>spymemcached</artifactId>
2085 <version>${spy.version}</version>
2086 <optional>true</optional>
2089 <groupId>org.bouncycastle</groupId>
2090 <artifactId>bcprov-jdk16</artifactId>
2091 <version>${bouncycastle.version}</version>
2095 <groupId>org.apache.kerby</groupId>
2096 <artifactId>kerb-core</artifactId>
2097 <version>${kerby.version}</version>
2100 <groupId>org.apache.kerby</groupId>
2101 <artifactId>kerb-client</artifactId>
2102 <version>${kerby.version}</version>
2105 <groupId>org.apache.kerby</groupId>
2106 <artifactId>kerb-simplekdc</artifactId>
2107 <version>${kerby.version}</version>
2110 <groupId>org.apache.commons</groupId>
2111 <artifactId>commons-crypto</artifactId>
2112 <version>${commons-crypto.version}</version>
2115 <groupId>net.java.dev.jna</groupId>
2116 <artifactId>jna</artifactId>
2121 <groupId>org.apache.curator</groupId>
2122 <artifactId>curator-framework</artifactId>
2123 <version>${curator.version}</version>
2126 <groupId>org.apache.zookeeper</groupId>
2127 <artifactId>zookeeper</artifactId>
2132 <groupId>org.apache.curator</groupId>
2133 <artifactId>curator-client</artifactId>
2134 <version>${curator.version}</version>
2137 <groupId>com.google.guava</groupId>
2138 <artifactId>guava</artifactId>
2141 <groupId>org.apache.zookeeper</groupId>
2142 <artifactId>zookeeper</artifactId>
2147 <groupId>org.apache.curator</groupId>
2148 <artifactId>curator-recipes</artifactId>
2149 <version>${curator.version}</version>
2152 <groupId>com.google.guava</groupId>
2153 <artifactId>guava</artifactId>
2156 <groupId>org.apache.zookeeper</groupId>
2157 <artifactId>zookeeper</artifactId>
2162 <groupId>org.apache.yetus</groupId>
2163 <artifactId>audience-annotations</artifactId>
2164 <version>${audience-annotations.version}</version>
2167 <groupId>org.apache.hbase.thirdparty</groupId>
2168 <artifactId>hbase-shaded-miscellaneous</artifactId>
2169 <version>${hbase-thirdparty.version}</version>
2172 <groupId>org.apache.hbase.thirdparty</groupId>
2173 <artifactId>hbase-shaded-netty</artifactId>
2174 <version>${hbase-thirdparty.version}</version>
2177 <groupId>org.apache.hbase.thirdparty</groupId>
2178 <artifactId>hbase-shaded-protobuf</artifactId>
2179 <version>${hbase-thirdparty.version}</version>
2182 </dependencyManagement>
2184 <!--REMOVE THIS. HERE TEMPORARILY.
2185 Implication is that every module needs junit which is not so.
2186 Cannot undo though because build runs test on each module and
2187 it fails if no junit. TODO. -->
2189 <groupId>junit</groupId>
2190 <artifactId>junit</artifactId>
2195 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2200 <id>apache.releases.https</id>
2201 <username>hbase_committer</username>
2202 <password>********</password>
2206 <id>apache.snapshots.https</id>
2207 <username>hbase_committer</username>
2208 <password>********</password>
2216 $ mvn -s /my/path/settings.xml deploy
2224 <name>!skip-rsgroup</name>
2228 <module>hbase-rsgroup</module>
2232 <id>build-with-jdk8</id>
2240 <groupId>org.apache.maven.plugins</groupId>
2241 <artifactId>maven-javadoc-plugin</artifactId>
2243 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used -->
2244 <additionalparam>-Xdoclint:none</additionalparam>
2248 <groupId>org.codehaus.mojo</groupId>
2249 <artifactId>findbugs-maven-plugin</artifactId>
2250 <version>3.0.0</version>
2251 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2253 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2254 <findbugsXmlOutput>true</findbugsXmlOutput>
2255 <xmlOutput>true</xmlOutput>
2256 <effort>Max</effort>
2260 <groupId>com.github.spotbugs</groupId>
2261 <artifactId>spotbugs</artifactId>
2262 <version>${spotbugs.version}</version>
2270 <!-- profile activated by the Jenkins patch testing job -->
2272 <id>jenkins.patch</id>
2274 <activeByDefault>false</activeByDefault>
2276 <name>HBasePatchProcess</name>
2280 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2285 <groupId>org.apache.maven.plugins</groupId>
2286 <artifactId>maven-antrun-plugin</artifactId>
2287 <inherited>false</inherited>
2290 <phase>validate</phase>
2296 <echo>Maven Execution Environment</echo>
2297 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2309 <activeByDefault>false</activeByDefault>
2314 <groupId>org.jacoco</groupId>
2315 <artifactId>jacoco-maven-plugin</artifactId>
2316 <version>${jacoco.version}</version>
2319 <id>prepare-agent</id>
2321 <goal>prepare-agent</goal>
2326 <phase>prepare-package</phase>
2333 <systemPropertyVariables>
2334 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2335 </systemPropertyVariables>
2337 <exclude>**/generated/**/*.class</exclude>
2347 <activeByDefault>false</activeByDefault>
2349 <family>Linux</family>
2353 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2360 <family>Mac</family>
2364 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2371 <family>Windows</family>
2375 <build.platform>cygwin</build.platform>
2376 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2379 <!-- this profile should be activated for release builds -->
2385 <groupId>org.apache.rat</groupId>
2386 <artifactId>apache-rat-plugin</artifactId>
2389 <phase>package</phase>
2397 <groupId>org.apache.maven.plugins</groupId>
2398 <artifactId>maven-enforcer-plugin</artifactId>
2399 <version>${enforcer.version}</version>
2402 <enforceBytecodeVersion>
2403 <maxJdkVersion>${compileSource}</maxJdkVersion>
2404 <message>HBase has unsupported dependencies.
2405 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2406 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2407 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2408 Non-release builds can temporarily build with a newer JDK version by setting the
2409 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2411 </enforceBytecodeVersion>
2418 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2419 <!-- Submodules that need hadoop dependencies should declare
2420 profiles with activation properties matching the profile here.
2421 Generally, it should be sufficient to copy the first
2422 few lines of the profile you want to match. -->
2423 <!-- profile for building against Hadoop 2.0.x
2424 This is the default.
2430 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2431 <!--h2--><name>!hadoop.profile</name>
2435 <module>hbase-hadoop2-compat</module>
2438 <hadoop.version>${hadoop-two.version}</hadoop.version>
2439 <compat.module>hbase-hadoop2-compat</compat.module>
2440 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2442 <dependencyManagement>
2445 <groupId>org.apache.hadoop</groupId>
2446 <artifactId>hadoop-mapreduce-client-core</artifactId>
2447 <version>${hadoop-two.version}</version>
2450 <groupId>io.netty</groupId>
2451 <artifactId>netty</artifactId>
2454 <groupId>javax.servlet</groupId>
2455 <artifactId>servlet-api</artifactId>
2458 <groupId>javax.inject</groupId>
2459 <artifactId>javax.inject</artifactId>
2462 <groupId>org.codehaus.jackson</groupId>
2463 <artifactId>jackson-core-asl</artifactId>
2466 <groupId>org.codehaus.jackson</groupId>
2467 <artifactId>jackson-mapper-asl</artifactId>
2472 <groupId>org.apache.hadoop</groupId>
2473 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2474 <version>${hadoop-two.version}</version>
2477 <groupId>io.netty</groupId>
2478 <artifactId>netty</artifactId>
2481 <groupId>javax.servlet</groupId>
2482 <artifactId>servlet-api</artifactId>
2487 <groupId>org.apache.hadoop</groupId>
2488 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2489 <version>${hadoop-two.version}</version>
2490 <type>test-jar</type>
2494 <groupId>io.netty</groupId>
2495 <artifactId>netty</artifactId>
2498 <groupId>javax.servlet</groupId>
2499 <artifactId>servlet-api</artifactId>
2504 <groupId>org.apache.hadoop</groupId>
2505 <artifactId>hadoop-hdfs</artifactId>
2506 <version>${hadoop-two.version}</version>
2509 <groupId>org.apache.htrace</groupId>
2510 <artifactId>htrace-core</artifactId>
2513 <groupId>javax.servlet.jsp</groupId>
2514 <artifactId>jsp-api</artifactId>
2517 <groupId>javax.servlet</groupId>
2518 <artifactId>servlet-api</artifactId>
2521 <groupId>io.netty</groupId>
2522 <artifactId>netty</artifactId>
2525 <groupId>stax</groupId>
2526 <artifactId>stax-api</artifactId>
2529 <groupId>xerces</groupId>
2530 <artifactId>xercesImpl</artifactId>
2533 <groupId>org.codehaus.jackson</groupId>
2534 <artifactId>jackson-core-asl</artifactId>
2537 <groupId>org.codehaus.jackson</groupId>
2538 <artifactId>jackson-mapper-asl</artifactId>
2541 <groupId>com.google.guava</groupId>
2542 <artifactId>guava</artifactId>
2547 <groupId>org.apache.hadoop</groupId>
2548 <artifactId>hadoop-hdfs</artifactId>
2549 <version>${hadoop-two.version}</version>
2550 <type>test-jar</type>
2554 <groupId>org.apache.htrace</groupId>
2555 <artifactId>htrace-core</artifactId>
2558 <groupId>javax.servlet.jsp</groupId>
2559 <artifactId>jsp-api</artifactId>
2562 <groupId>javax.servlet</groupId>
2563 <artifactId>servlet-api</artifactId>
2566 <groupId>io.netty</groupId>
2567 <artifactId>netty</artifactId>
2570 <groupId>stax</groupId>
2571 <artifactId>stax-api</artifactId>
2574 <groupId>xerces</groupId>
2575 <artifactId>xercesImpl</artifactId>
2578 <groupId>org.codehaus.jackson</groupId>
2579 <artifactId>jackson-core-asl</artifactId>
2582 <groupId>org.codehaus.jackson</groupId>
2583 <artifactId>jackson-mapper-asl</artifactId>
2586 <groupId>com.google.guava</groupId>
2587 <artifactId>guava</artifactId>
2592 <groupId>org.apache.hadoop</groupId>
2593 <artifactId>hadoop-auth</artifactId>
2594 <version>${hadoop-two.version}</version>
2597 <groupId>org.apache.hadoop</groupId>
2598 <artifactId>hadoop-common</artifactId>
2599 <version>${hadoop-two.version}</version>
2602 <groupId>org.apache.htrace</groupId>
2603 <artifactId>htrace-core</artifactId>
2606 <groupId>commons-beanutils</groupId>
2607 <artifactId>commons-beanutils</artifactId>
2610 <groupId>javax.servlet.jsp</groupId>
2611 <artifactId>jsp-api</artifactId>
2614 <groupId>javax.servlet</groupId>
2615 <artifactId>servlet-api</artifactId>
2618 <groupId>stax</groupId>
2619 <artifactId>stax-api</artifactId>
2622 <groupId>io.netty</groupId>
2623 <artifactId>netty</artifactId>
2626 <groupId>com.google.code.findbugs</groupId>
2627 <artifactId>jsr305</artifactId>
2630 <groupId>junit</groupId>
2631 <artifactId>junit</artifactId>
2634 <groupId>org.codehaus.jackson</groupId>
2635 <artifactId>jackson-core-asl</artifactId>
2638 <groupId>org.codehaus.jackson</groupId>
2639 <artifactId>jackson-mapper-asl</artifactId>
2644 <groupId>org.apache.hadoop</groupId>
2645 <artifactId>hadoop-client</artifactId>
2646 <version>${hadoop-two.version}</version>
2648 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2649 Where do we actually need it? -->
2651 <groupId>org.apache.hadoop</groupId>
2652 <artifactId>hadoop-minicluster</artifactId>
2653 <version>${hadoop-two.version}</version>
2656 <groupId>org.apache.htrace</groupId>
2657 <artifactId>htrace-core</artifactId>
2660 <groupId>commons-httpclient</groupId>
2661 <artifactId>commons-httpclient</artifactId>
2664 <groupId>javax.servlet.jsp</groupId>
2665 <artifactId>jsp-api</artifactId>
2668 <groupId>javax.servlet</groupId>
2669 <artifactId>servlet-api</artifactId>
2672 <groupId>stax</groupId>
2673 <artifactId>stax-api</artifactId>
2676 <groupId>io.netty</groupId>
2677 <artifactId>netty</artifactId>
2680 <groupId>com.google.code.findbugs</groupId>
2681 <artifactId>jsr305</artifactId>
2686 <groupId>org.apache.hadoop</groupId>
2687 <artifactId>hadoop-minikdc</artifactId>
2688 <version>${hadoop-two.version}</version>
2692 </dependencyManagement>
2695 profile for building against Hadoop 3.0.0. Activate using:
2696 mvn -Dhadoop.profile=3.0
2702 <name>hadoop.profile</name>
2707 <!--For now, use hadoop2 compat module-->
2708 <module>hbase-hadoop2-compat</module>
2711 <hadoop.version>${hadoop-three.version}</hadoop.version>
2712 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2713 <compat.module>hbase-hadoop2-compat</compat.module>
2714 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2716 <dependencyManagement>
2719 <groupId>org.apache.hadoop</groupId>
2720 <artifactId>hadoop-mapreduce-client-core</artifactId>
2721 <version>${hadoop-three.version}</version>
2724 <groupId>io.netty</groupId>
2725 <artifactId>netty</artifactId>
2728 <groupId>javax.inject</groupId>
2729 <artifactId>javax.inject</artifactId>
2732 <groupId>org.codehaus.jackson</groupId>
2733 <artifactId>jackson-core-asl</artifactId>
2736 <groupId>org.codehaus.jackson</groupId>
2737 <artifactId>jackson-mapper-asl</artifactId>
2740 <groupId>com.google.guava</groupId>
2741 <artifactId>guava</artifactId>
2746 <groupId>org.apache.hadoop</groupId>
2747 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2748 <version>${hadoop-three.version}</version>
2751 <groupId>io.netty</groupId>
2752 <artifactId>netty</artifactId>
2757 <groupId>org.apache.hadoop</groupId>
2758 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2759 <version>${hadoop-three.version}</version>
2760 <type>test-jar</type>
2764 <groupId>io.netty</groupId>
2765 <artifactId>netty</artifactId>
2770 <groupId>org.apache.hadoop</groupId>
2771 <artifactId>hadoop-hdfs</artifactId>
2772 <version>${hadoop-three.version}</version>
2775 <groupId>org.apache.htrace</groupId>
2776 <artifactId>htrace-core</artifactId>
2779 <groupId>com.sun.jersey</groupId>
2780 <artifactId>jersey-core</artifactId>
2783 <groupId>com.sun.jersey</groupId>
2784 <artifactId>jersey-server</artifactId>
2787 <groupId>javax.servlet.jsp</groupId>
2788 <artifactId>jsp-api</artifactId>
2791 <groupId>javax.servlet</groupId>
2792 <artifactId>servlet-api</artifactId>
2795 <groupId>stax</groupId>
2796 <artifactId>stax-api</artifactId>
2799 <groupId>xerces</groupId>
2800 <artifactId>xercesImpl</artifactId>
2803 <groupId>org.codehaus.jackson</groupId>
2804 <artifactId>jackson-core-asl</artifactId>
2807 <groupId>org.codehaus.jackson</groupId>
2808 <artifactId>jackson-mapper-asl</artifactId>
2811 <groupId>com.google.guava</groupId>
2812 <artifactId>guava</artifactId>
2817 <groupId>org.apache.hadoop</groupId>
2818 <artifactId>hadoop-hdfs</artifactId>
2819 <version>${hadoop-three.version}</version>
2820 <type>test-jar</type>
2824 <groupId>org.apache.htrace</groupId>
2825 <artifactId>htrace-core</artifactId>
2828 <groupId>javax.servlet.jsp</groupId>
2829 <artifactId>jsp-api</artifactId>
2832 <groupId>javax.servlet</groupId>
2833 <artifactId>servlet-api</artifactId>
2836 <groupId>stax</groupId>
2837 <artifactId>stax-api</artifactId>
2840 <groupId>xerces</groupId>
2841 <artifactId>xercesImpl</artifactId>
2844 <groupId>org.codehaus.jackson</groupId>
2845 <artifactId>jackson-core-asl</artifactId>
2848 <groupId>org.codehaus.jackson</groupId>
2849 <artifactId>jackson-mapper-asl</artifactId>
2852 <groupId>com.google.guava</groupId>
2853 <artifactId>guava</artifactId>
2856 <groupId>com.sun.jersey</groupId>
2857 <artifactId>jersey-core</artifactId>
2862 <groupId>org.apache.hadoop</groupId>
2863 <artifactId>hadoop-hdfs</artifactId>
2864 <version>${hadoop-three.version}</version>
2865 <type>test-jar</type>
2866 <classifier>tests</classifier>
2870 <groupId>com.sun.jersey</groupId>
2871 <artifactId>jersey-core</artifactId>
2876 <groupId>org.apache.hadoop</groupId>
2877 <artifactId>hadoop-auth</artifactId>
2878 <version>${hadoop-three.version}</version>
2881 <groupId>com.google.guava</groupId>
2882 <artifactId>guava</artifactId>
2887 <groupId>org.apache.hadoop</groupId>
2888 <artifactId>hadoop-common</artifactId>
2889 <version>${hadoop-three.version}</version>
2892 <groupId>com.sun.jersey</groupId>
2893 <artifactId>jersey-core</artifactId>
2896 <groupId>com.sun.jersey</groupId>
2897 <artifactId>jersey-json</artifactId>
2900 <groupId>com.sun.jersey</groupId>
2901 <artifactId>jersey-servlet</artifactId>
2904 <groupId>com.sun.jersey</groupId>
2905 <artifactId>jersey-server</artifactId>
2908 <groupId>org.apache.htrace</groupId>
2909 <artifactId>htrace-core</artifactId>
2912 <groupId>javax.servlet.jsp</groupId>
2913 <artifactId>jsp-api</artifactId>
2916 <groupId>javax.servlet</groupId>
2917 <artifactId>javax.servlet-api</artifactId>
2920 <groupId>stax</groupId>
2921 <artifactId>stax-api</artifactId>
2924 <groupId>io.netty</groupId>
2925 <artifactId>netty</artifactId>
2928 <groupId>com.google.code.findbugs</groupId>
2929 <artifactId>jsr305</artifactId>
2932 <groupId>junit</groupId>
2933 <artifactId>junit</artifactId>
2936 <groupId>org.codehause.jackson</groupId>
2937 <artifactId>jackson-core-asl</artifactId>
2940 <groupId>org.codehause.jackson</groupId>
2941 <artifactId>jackson-mapper-asl</artifactId>
2946 <groupId>org.apache.hadoop</groupId>
2947 <artifactId>hadoop-common</artifactId>
2948 <type>test-jar</type>
2949 <classifier>tests</classifier>
2950 <version>${hadoop-three.version}</version>
2953 <groupId>com.sun.jersey</groupId>
2954 <artifactId>jersey-core</artifactId>
2959 <groupId>org.apache.hadoop</groupId>
2960 <artifactId>hadoop-client</artifactId>
2961 <version>${hadoop-three.version}</version>
2964 <groupId>org.apache.hadoop</groupId>
2965 <artifactId>hadoop-annotations</artifactId>
2966 <version>${hadoop-three.version}</version>
2968 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2969 Where do we actually need it? -->
2971 <groupId>org.apache.hadoop</groupId>
2972 <artifactId>hadoop-minicluster</artifactId>
2973 <version>${hadoop-three.version}</version>
2976 <groupId>org.apache.htrace</groupId>
2977 <artifactId>htrace-core</artifactId>
2980 <groupId>commons-httpclient</groupId>
2981 <artifactId>commons-httpclient</artifactId>
2984 <groupId>javax.servlet.jsp</groupId>
2985 <artifactId>jsp-api</artifactId>
2988 <groupId>javax.servlet</groupId>
2989 <artifactId>servlet-api</artifactId>
2992 <groupId>stax</groupId>
2993 <artifactId>stax-api</artifactId>
2996 <groupId>io.netty</groupId>
2997 <artifactId>netty</artifactId>
3000 <groupId>com.google.code.findbugs</groupId>
3001 <artifactId>jsr305</artifactId>
3006 <groupId>org.apache.hadoop</groupId>
3007 <artifactId>hadoop-yarn-server-nodemanager</artifactId>
3008 <version>${hadoop-three.version}</version>
3011 <groupId>com.sun.jersey</groupId>
3012 <artifactId>jersey-core</artifactId>
3017 <groupId>org.apache.hadoop</groupId>
3018 <artifactId>hadoop-yarn-server-resourcemanager</artifactId>
3019 <version>${hadoop-three.version}</version>
3022 <groupId>com.sun.jersey</groupId>
3023 <artifactId>jersey-core</artifactId>
3028 <groupId>org.apache.hadoop</groupId>
3029 <artifactId>hadoop-yarn-server-timelineservice</artifactId>
3030 <version>${hadoop-three.version}</version>
3033 <groupId>javax.ws.rs</groupId>
3034 <artifactId>jsr311-api</artifactId>
3039 <groupId>org.apache.hadoop</groupId>
3040 <artifactId>hadoop-yarn-common</artifactId>
3041 <version>${hadoop-three.version}</version>
3044 <groupId>com.sun.jersey</groupId>
3045 <artifactId>jersey-core</artifactId>
3050 <groupId>org.apache.hadoop</groupId>
3051 <artifactId>hadoop-minikdc</artifactId>
3052 <version>${hadoop-three.version}</version>
3056 </dependencyManagement>
3059 <!-- profiles for the tests
3060 See as well the properties of the project for the values
3061 when no profile is active. -->
3063 <!-- Use it to launch all tests in the same JVM -->
3064 <id>singleJVMTests</id>
3066 <activeByDefault>false</activeByDefault>
3069 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3070 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3071 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3072 <surefire.firstPartGroups/>
3076 <!-- Use it to launch small tests only -->
3077 <id>runSmallTests</id>
3079 <activeByDefault>false</activeByDefault>
3082 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3083 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3084 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3085 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3086 <surefire.secondPartGroups/>
3090 <!-- Use it to launch medium tests only -->
3091 <id>runMediumTests</id>
3093 <activeByDefault>false</activeByDefault>
3096 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3097 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3098 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3099 <surefire.secondPartGroups/>
3103 <!-- Use it to launch large tests only -->
3104 <id>runLargeTests</id>
3106 <activeByDefault>false</activeByDefault>
3109 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3110 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3111 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3112 <surefire.secondPartGroups/>
3116 <!-- Use it to launch small & medium tests -->
3117 <id>runDevTests</id>
3119 <activeByDefault>false</activeByDefault>
3122 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3123 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3124 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3125 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3126 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3130 <!-- Use it to launch all tests -->
3131 <id>runAllTests</id>
3133 <activeByDefault>false</activeByDefault>
3136 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3137 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3138 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3139 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3140 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3141 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3145 <id>runMiscTests</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>org.apache.hadoop.hbase.testclassification.MiscTests
3155 </surefire.firstPartGroups>
3156 <surefire.secondPartGroups></surefire.secondPartGroups>
3160 <id>runCoprocessorTests</id>
3162 <activeByDefault>false</activeByDefault>
3165 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3166 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3167 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3168 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3169 <surefire.firstPartGroups>
3170 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3171 </surefire.firstPartGroups>
3172 <surefire.secondPartGroups></surefire.secondPartGroups>
3176 <id>runClientTests</id>
3178 <activeByDefault>false</activeByDefault>
3181 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3182 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3183 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3184 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3185 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3186 </surefire.firstPartGroups>
3187 <surefire.secondPartGroups></surefire.secondPartGroups>
3191 <id>runMasterTests</id>
3193 <activeByDefault>false</activeByDefault>
3196 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3197 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3198 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3199 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3200 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3201 </surefire.firstPartGroups>
3202 <surefire.secondPartGroups></surefire.secondPartGroups>
3206 <id>runMapredTests</id>
3208 <activeByDefault>false</activeByDefault>
3211 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3212 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3213 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3214 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3215 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3216 </surefire.firstPartGroups>
3217 <surefire.secondPartGroups></surefire.secondPartGroups>
3221 <id>runMapreduceTests</id>
3223 <activeByDefault>false</activeByDefault>
3226 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3227 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3228 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3229 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3230 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3231 </surefire.firstPartGroups>
3232 <surefire.secondPartGroups></surefire.secondPartGroups>
3236 <id>runRegionServerTests</id>
3238 <activeByDefault>false</activeByDefault>
3241 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3242 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3243 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3244 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3245 <surefire.firstPartGroups>
3246 org.apache.hadoop.hbase.testclassification.RegionServerTests
3247 </surefire.firstPartGroups>
3248 <surefire.secondPartGroups></surefire.secondPartGroups>
3252 <id>runVerySlowMapReduceTests</id>
3254 <activeByDefault>false</activeByDefault>
3257 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3258 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3259 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3260 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3261 <surefire.firstPartGroups>
3262 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3263 </surefire.firstPartGroups>
3264 <surefire.secondPartGroups></surefire.secondPartGroups>
3269 <id>runVerySlowRegionServerTests</id>
3271 <activeByDefault>false</activeByDefault>
3274 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3275 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3276 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3277 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3278 <surefire.firstPartGroups>
3279 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3280 </surefire.firstPartGroups>
3281 <surefire.secondPartGroups></surefire.secondPartGroups>
3286 <id>runFilterTests</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.FilterTests
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.IOTests
3311 </surefire.firstPartGroups>
3312 <surefire.secondPartGroups></surefire.secondPartGroups>
3316 <id>runRestTests</id>
3318 <activeByDefault>false</activeByDefault>
3321 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3322 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3323 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3324 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3325 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3326 </surefire.firstPartGroups>
3327 <surefire.secondPartGroups></surefire.secondPartGroups>
3331 <id>runRPCTests</id>
3333 <activeByDefault>false</activeByDefault>
3336 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3337 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3338 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3339 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3340 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3341 </surefire.firstPartGroups>
3342 <surefire.secondPartGroups></surefire.secondPartGroups>
3346 <id>runReplicationTests</id>
3348 <activeByDefault>false</activeByDefault>
3351 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3352 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3353 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3354 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3355 <surefire.firstPartGroups>
3356 org.apache.hadoop.hbase.testclassification.ReplicationTests
3357 </surefire.firstPartGroups>
3358 <surefire.secondPartGroups></surefire.secondPartGroups>
3362 <id>runSecurityTests</id>
3364 <activeByDefault>false</activeByDefault>
3367 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3368 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3369 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3370 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3371 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3372 </surefire.firstPartGroups>
3373 <surefire.secondPartGroups></surefire.secondPartGroups>
3377 <id>runFlakeyTests</id>
3379 <activeByDefault>false</activeByDefault>
3382 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3383 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3384 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3385 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3386 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3387 </surefire.firstPartGroups>
3388 <surefire.secondPartGroups></surefire.secondPartGroups>
3394 <activeByDefault>false</activeByDefault>
3397 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3398 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3399 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3400 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3401 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3402 </surefire.firstPartGroups>
3403 <surefire.secondPartGroups></surefire.secondPartGroups>
3408 <!-- Use it to launch tests locally-->
3416 <surefire.provider>surefire-junit4</surefire.provider>
3417 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3418 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3419 <surefire.firstPartGroups/>
3422 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3423 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3424 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3425 The report will be generated under target/site/clover/index.html when you run
3426 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3430 <activeByDefault>false</activeByDefault>
3436 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3440 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3441 our instrumented classes for the doclet will fail
3444 <groupId>org.apache.maven.plugins</groupId>
3445 <artifactId>maven-javadoc-plugin</artifactId>
3448 <groupId>com.atlassian.maven.plugins</groupId>
3449 <artifactId>maven-clover2-plugin</artifactId>
3450 <version>${clover.version}</version>
3455 <groupId>com.atlassian.maven.plugins</groupId>
3456 <artifactId>maven-clover2-plugin</artifactId>
3457 <version>${clover.version}</version>
3459 <includesAllSourceRoots>true</includesAllSourceRoots>
3460 <includesTestSourceRoots>true</includesTestSourceRoots>
3461 <targetPercentage>50%</targetPercentage>
3462 <generateHtml>true</generateHtml>
3463 <generateXml>true</generateXml>
3465 <exclude>**/generated/**</exclude>
3470 <id>clover-setup</id>
3471 <phase>process-sources</phase>
3489 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3493 <artifactId>maven-project-info-reports-plugin</artifactId>
3497 <report>cim</report>
3498 <report>dependencies</report>
3499 <report>dependency-convergence</report>
3500 <report>dependency-info</report>
3501 <report>dependency-management</report>
3502 <report>index</report>
3503 <report>issue-tracking</report>
3504 <report>license</report>
3505 <report>mailing-list</report>
3506 <report>plugin-management</report>
3507 <report>plugins</report>
3508 <report>project-team</report>
3509 <report>scm</report>
3510 <report>summary</report>
3514 <!-- see src/site/site.xml for selected reports -->
3516 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3521 <groupId>org.apache.maven.plugins</groupId>
3522 <artifactId>maven-javadoc-plugin</artifactId>
3528 <report>aggregate</report>
3531 <destDir>devapidocs</destDir>
3532 <name>Developer API</name>
3533 <description>The full HBase API, including private and unstable APIs</description>
3534 <sourceFileExcludes>
3535 <exclude>**/generated/*</exclude>
3536 <exclude>**/protobuf/*</exclude>
3537 <exclude>**/*.scala</exclude>
3538 </sourceFileExcludes>
3539 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3540 <show>private</show> <!-- (shows all classes and members) -->
3542 <linksource>true</linksource>
3543 <sourcetab>2</sourcetab>
3544 <validateLinks>true</validateLinks>
3545 <fixClassComment>true</fixClassComment>
3546 <fixFieldComment>true</fixFieldComment>
3547 <fixMethodComment>true</fixMethodComment>
3548 <fixTags>all</fixTags>
3549 <notimestamp>true</notimestamp>
3550 <!-- Pass some options straight to the javadoc executable since it is easier -->
3551 <additionalJOption>-J-Xmx2G</additionalJOption>
3552 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3553 <additionalDependencies>
3554 <additionalDependency>
3555 <groupId>org.mockito</groupId>
3556 <artifactId>mockito-core</artifactId>
3557 <version>${mockito-core.version}</version>
3558 </additionalDependency>
3559 <additionalDependency>
3560 <groupId>org.hamcrest</groupId>
3561 <artifactId>hamcrest-core</artifactId>
3562 <version>${hamcrest.version}</version>
3563 </additionalDependency>
3564 </additionalDependencies>
3565 <inherited>false</inherited>
3571 <report>test-aggregate</report>
3574 <destDir>testdevapidocs</destDir>
3575 <name>Developer API</name>
3576 <description>The full HBase API test code, including private and unstable APIs</description>
3577 <sourceFileExcludes>
3578 <exclude>**/generated/*</exclude>
3579 <exclude>**/protobuf/*</exclude>
3580 <exclude>**/*.scala</exclude>
3581 </sourceFileExcludes>
3582 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3583 <show>private</show> <!-- (shows all classes and members) -->
3585 <linksource>true</linksource>
3586 <sourcetab>2</sourcetab>
3587 <validateLinks>true</validateLinks>
3588 <fixClassComment>true</fixClassComment>
3589 <fixFieldComment>true</fixFieldComment>
3590 <fixMethodComment>true</fixMethodComment>
3591 <fixTags>all</fixTags>
3592 <notimestamp>true</notimestamp>
3593 <!-- Pass some options straight to the javadoc executable since it is easier -->
3594 <additionalJOption>-J-Xmx2G</additionalJOption>
3595 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3596 <additionalDependencies>
3597 <additionalDependency>
3598 <groupId>org.mockito</groupId>
3599 <artifactId>mockito-core</artifactId>
3600 <version>${mockito-core.version}</version>
3601 </additionalDependency>
3602 <additionalDependency>
3603 <groupId>org.hamcrest</groupId>
3604 <artifactId>hamcrest-core</artifactId>
3605 <version>${hamcrest.version}</version>
3606 </additionalDependency>
3607 </additionalDependencies>
3608 <inherited>false</inherited>
3616 <report>aggregate</report>
3620 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3623 <groupId>org.apache.yetus</groupId>
3624 <artifactId>audience-annotations</artifactId>
3625 <version>${audience-annotations.version}</version>
3627 <useStandardDocletOptions>true</useStandardDocletOptions>
3628 <destDir>apidocs</destDir>
3629 <name>User API</name>
3630 <description>The HBase Application Programmer's API</description>
3631 <excludePackageNames>
3632 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*
3633 </excludePackageNames>
3634 <!-- switch on dependency-driven aggregation -->
3635 <includeDependencySources>false</includeDependencySources>
3636 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3637 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3639 <linksource>true</linksource>
3640 <sourcetab>2</sourcetab>
3641 <validateLinks>true</validateLinks>
3642 <fixClassComment>true</fixClassComment>
3643 <fixFieldComment>true</fixFieldComment>
3644 <fixMethodComment>true</fixMethodComment>
3645 <fixTags>all</fixTags>
3646 <notimestamp>true</notimestamp>
3647 <!-- Pass some options straight to the javadoc executable since it is easier -->
3648 <additionalJOption>-J-Xmx2G</additionalJOption>
3649 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3650 <additionalDependencies>
3651 <additionalDependency>
3652 <groupId>org.mockito</groupId>
3653 <artifactId>mockito-core</artifactId>
3654 <version>${mockito-core.version}</version>
3655 </additionalDependency>
3656 <additionalDependency>
3657 <groupId>org.hamcrest</groupId>
3658 <artifactId>hamcrest-core</artifactId>
3659 <version>${hamcrest.version}</version>
3660 </additionalDependency>
3661 </additionalDependencies>
3662 <inherited>false</inherited>
3665 <!-- User Test API -->
3667 <id>testuserapi</id>
3669 <report>test-aggregate</report>
3673 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3676 <groupId>org.apache.yetus</groupId>
3677 <artifactId>audience-annotations</artifactId>
3678 <version>${audience-annotations.version}</version>
3680 <useStandardDocletOptions>true</useStandardDocletOptions>
3681 <destDir>testapidocs</destDir>
3682 <name>User API</name>
3683 <description>The HBase Application Programmer's API</description>
3684 <excludePackageNames>
3685 org.apache.hadoop.hbase.backup*:org.apache.hadoop.hbase.catalog:org.apache.hadoop.hbase.client.coprocessor:org.apache.hadoop.hbase.client.metrics:org.apache.hadoop.hbase.codec*:org.apache.hadoop.hbase.constraint:org.apache.hadoop.hbase.coprocessor.*:org.apache.hadoop.hbase.executor:org.apache.hadoop.hbase.fs:*.generated.*:org.apache.hadoop.hbase.io.hfile.*:org.apache.hadoop.hbase.mapreduce.hadoopbackport:org.apache.hadoop.hbase.mapreduce.replication:org.apache.hadoop.hbase.master.*:org.apache.hadoop.hbase.metrics*:org.apache.hadoop.hbase.migration:org.apache.hadoop.hbase.monitoring:org.apache.hadoop.hbase.p*:org.apache.hadoop.hbase.regionserver.compactions:org.apache.hadoop.hbase.regionserver.handler:org.apache.hadoop.hbase.regionserver.snapshot:org.apache.hadoop.hbase.replication.*:org.apache.hadoop.hbase.rest.filter:org.apache.hadoop.hbase.rest.model:org.apache.hadoop.hbase.rest.p*:org.apache.hadoop.hbase.security.*:org.apache.hadoop.hbase.thrift*:org.apache.hadoop.hbase.tmpl.*:org.apache.hadoop.hbase.tool:org.apache.hadoop.hbase.trace:org.apache.hadoop.hbase.util.byterange*:org.apache.hadoop.hbase.util.test:org.apache.hadoop.hbase.util.vint:org.apache.hadoop.metrics2*:org.apache.hadoop.hbase.io.compress*
3686 </excludePackageNames>
3687 <!-- switch on dependency-driven aggregation -->
3688 <includeDependencySources>false</includeDependencySources>
3689 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3690 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3692 <linksource>true</linksource>
3693 <sourcetab>2</sourcetab>
3694 <validateLinks>true</validateLinks>
3695 <fixClassComment>true</fixClassComment>
3696 <fixFieldComment>true</fixFieldComment>
3697 <fixMethodComment>true</fixMethodComment>
3698 <fixTags>all</fixTags>
3699 <notimestamp>true</notimestamp>
3700 <!-- Pass some options straight to the javadoc executable since it is easier -->
3701 <additionalJOption>-J-Xmx2G</additionalJOption>
3702 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3703 <additionalDependencies>
3704 <additionalDependency>
3705 <groupId>org.mockito</groupId>
3706 <artifactId>mockito-core</artifactId>
3707 <version>${mockito-core.version}</version>
3708 </additionalDependency>
3709 <additionalDependency>
3710 <groupId>org.hamcrest</groupId>
3711 <artifactId>hamcrest-core</artifactId>
3712 <version>${hamcrest.version}</version>
3713 </additionalDependency>
3714 </additionalDependencies>
3715 <inherited>false</inherited>
3722 <groupId>org.apache.maven.plugins</groupId>
3723 <artifactId>maven-checkstyle-plugin</artifactId>
3725 <excludes>target/**</excludes>
3730 <groupId>org.scala-tools</groupId>
3731 <artifactId>maven-scala-plugin</artifactId>
3735 <distributionManagement>
3737 <id>hbase.apache.org</id>
3738 <name>HBase Website at hbase.apache.org</name>
3739 <!-- On why this is the tmp dir and not hbase.apache.org, see
3740 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3742 <url>file:///tmp</url>
3744 </distributionManagement>
3747 <id>project.local</id>
3748 <name>project</name>
3749 <url>file:${project.basedir}/src/site/resources/repo</url>