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-resource-bundle</module>
65 <module>hbase-server</module>
66 <module>hbase-thrift</module>
67 <module>hbase-shell</module>
68 <module>hbase-protocol-shaded</module>
69 <module>hbase-protocol</module>
70 <module>hbase-client</module>
71 <module>hbase-hadoop-compat</module>
72 <module>hbase-common</module>
73 <module>hbase-procedure</module>
74 <module>hbase-endpoint</module>
75 <module>hbase-it</module>
76 <module>hbase-examples</module>
77 <module>hbase-prefix-tree</module>
78 <module>hbase-assembly</module>
79 <module>hbase-testing-util</module>
80 <module>hbase-annotations</module>
81 <module>hbase-rest</module>
82 <module>hbase-checkstyle</module>
83 <module>hbase-external-blockcache</module>
84 <module>hbase-shaded</module>
85 <module>hbase-spark</module>
86 <module>hbase-archetypes</module>
87 <module>hbase-metrics-api</module>
88 <module>hbase-metrics</module>
90 <!--Add apache snapshots in case we want to use unreleased versions of plugins:
91 e.g. surefire 2.18-SNAPSHOT-->
94 <id>apache.snapshots</id>
95 <url>http://repository.apache.org/snapshots/</url>
99 <connection>scm:git:git://git.apache.org/hbase.git</connection>
100 <developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/hbase.git</developerConnection>
101 <url>https://git-wip-us.apache.org/repos/asf?p=hbase.git</url>
104 <system>JIRA</system>
105 <url>http://issues.apache.org/jira/browse/HBASE</url>
108 <system>hudson</system>
109 <url>http://hudson.zones.apache.org/hudson/view/HBase/job/HBase-TRUNK/</url>
113 <name>User List</name>
114 <subscribe>user-subscribe@hbase.apache.org</subscribe>
115 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
116 <post>user@hbase.apache.org</post>
117 <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive>
119 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
120 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
124 <name>Developer List</name>
125 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
126 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
127 <post>dev@hbase.apache.org</post>
128 <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive>
130 <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
131 <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
135 <name>Commits List</name>
136 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
137 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
138 <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive>
141 <name>Issues List</name>
142 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
143 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
144 <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive>
147 <name>Builds List</name>
148 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
149 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
150 <archive>http://mail-archives.apache.org/mod_mbox/hbase-builds/</archive>
156 <name>Amitanand S. Aiyer</name>
157 <email>acube123@apache.org</email>
158 <timezone>-8</timezone>
162 <name>Allan Yang</name>
163 <email>allan163@apache.org</email>
164 <timezone>+8</timezone>
168 <name>Apekshit Sharma</name>
169 <email>appy@apache.org</email>
170 <timezone>-8</timezone>
174 <name>Anastasia Braginsky</name>
175 <email>anastasia@apache.org</email>
176 <timezone>+2</timezone>
180 <name>Andrew Purtell</name>
181 <email>apurtell@apache.org</email>
182 <timezone>-8</timezone>
185 <id>anoopsamjohn</id>
186 <name>Anoop Sam John</name>
187 <email>anoopsamjohn@apache.org</email>
188 <timezone>+5</timezone>
192 <name>Mikhail Antonov</name>
193 <email>antonov@apache.org</email>
194 <timezone>-8</timezone>
197 <id>ashishsinghi</id>
198 <name>Ashish Singhi</name>
199 <email>ashishsinghi@apache.org</email>
200 <timezone>+5</timezone>
204 <name>Ashu Pachauri</name>
205 <email>ashu@apache.org</email>
206 <timezone>-8</timezone>
210 <name>Lijin Bin</name>
211 <email>binlijin@apache.org</email>
212 <timezone>+8</timezone>
216 <name>Sean Busbey</name>
217 <email>busbey@apache.org</email>
218 <timezone>-6</timezone>
222 <name>Heng Chen</name>
223 <email>chenheng@apache.org</email>
224 <timezone>+8</timezone>
228 <name>Chia-Ping Tsai</name>
229 <email>chia7712@apache.org</email>
230 <timezone>+8</timezone>
234 <name>Devaraj Das</name>
235 <email>ddas@apache.org</email>
236 <timezone>-8</timezone>
240 <name>Dima Spivak</name>
241 <email>dimaspivak@apache.org</email>
242 <timezone>-8</timezone>
246 <name>Doug Meil</name>
247 <email>dmeil@apache.org</email>
248 <timezone>-5</timezone>
252 <name>Elliott Clark</name>
253 <email>eclark@apache.org</email>
254 <timezone>-8</timezone>
258 <name>Josh Elser</name>
259 <email>elserj@apache.org</email>
260 <timezone>-5</timezone>
264 <name>Enis Soztutar</name>
265 <email>enis@apache.org</email>
266 <timezone>-8</timezone>
270 <name>Eshcar Hillel</name>
271 <email>eshcar@apache.org</email>
272 <timezone>+2</timezone>
276 <name>Honghua Feng</name>
277 <email>fenghh@apache.org</email>
278 <timezone>+8</timezone>
282 <name>Gary Helmling</name>
283 <email>garyh@apache.org</email>
284 <timezone>-8</timezone>
288 <name>Gregory Chanan</name>
289 <email>gchanan@apache.org</email>
290 <timezone>-8</timezone>
294 <name>Jean-Daniel Cryans</name>
295 <email>jdcryans@apache.org</email>
296 <timezone>-8</timezone>
300 <name>Jeffrey Zhong</name>
301 <email>jeffreyz@apache.org</email>
302 <timezone>-8</timezone>
306 <name>Jing Chen (Jerry) He</name>
307 <email>jerryjch@apache.org</email>
308 <timezone>-8</timezone>
312 <name>Jesse Yates</name>
313 <email>jyates@apache.org</email>
314 <timezone>-8</timezone>
318 <name>Jonathan Gray</name>
319 <email>jgray@fb.com</email>
320 <timezone>-8</timezone>
324 <name>Jingcheng Du</name>
325 <email>jingchengdu@apache.org</email>
326 <timezone>+8</timezone>
330 <name>Esteban Gutierrez</name>
331 <email>esteban@apache.org</email>
332 <timezone>-8</timezone>
336 <name>Jonathan Hsieh</name>
337 <email>jmhsieh@apache.org</email>
338 <timezone>-8</timezone>
342 <name>Jimmy Xiang</name>
343 <email>jxiang@apache.org</email>
344 <timezone>-8</timezone>
348 <name>Kannan Muthukkaruppan</name>
349 <email>kannan@fb.com</email>
350 <timezone>-8</timezone>
354 <name>Karthik Ranganathan</name>
355 <email>kranganathan@fb.com</email>
356 <timezone>-8</timezone>
360 <name>Lars George</name>
361 <email>larsgeorge@apache.org</email>
362 <timezone>+1</timezone>
366 <name>Lars Hofhansl</name>
367 <email>larsh@apache.org</email>
368 <timezone>-8</timezone>
372 <name>Liang Xie</name>
373 <email>liangxie@apache.org</email>
374 <timezone>+8</timezone>
378 <name>Shaohui Liu</name>
379 <email>liushaohui@apache.org</email>
380 <timezone>+8</timezone>
384 <name>Liyin Tang</name>
385 <email>liyin.tang@fb.com</email>
386 <timezone>-8</timezone>
391 <email>liyu@apache.org</email>
392 <timezone>+8</timezone>
396 <name>Mikhail Bautin</name>
397 <email>mbautin@apache.org</email>
398 <timezone>-8</timezone>
402 <name>Matteo Bertozzi</name>
403 <email>mbertozzi@apache.org</email>
404 <timezone>0</timezone>
408 <name>Misty Stanley-Jones</name>
409 <email>misty@apache.org</email>
410 <timezone>+10</timezone>
414 <name>Nick Dimiduk</name>
415 <email>ndimiduk@apache.org</email>
416 <timezone>-8</timezone>
420 <name>Nicolas Liochon</name>
421 <email>nkeywal@apache.org</email>
422 <timezone>+1</timezone>
425 <id>nspiegelberg</id>
426 <name>Nicolas Spiegelberg</name>
427 <email>nspiegelberg@fb.com</email>
428 <timezone>-8</timezone>
432 <name>Andrey Stepachev</name>
433 <email>octo47@gmail.com</email>
434 <timezone>0</timezone>
438 <name>Rajeshbabu Chintaguntla</name>
439 <email>rajeshbabu@apache.org</email>
440 <timezone>+5</timezone>
444 <name>Ramkrishna S Vasudevan</name>
445 <email>ramkrishna@apache.org</email>
446 <timezone>+5</timezone>
450 <name>Ryan Rawson</name>
451 <email>rawson@apache.org</email>
452 <timezone>-8</timezone>
456 <name>Sergey Shelukhin</name>
457 <email>sershe@apache.org</email>
458 <timezone>-8</timezone>
462 <name>Srikanth Srungarapu</name>
463 <email>ssrungarapu@apache.org</email>
464 <timezone>-8</timezone>
468 <name>Michael Stack</name>
469 <email>stack@apache.org</email>
470 <timezone>-8</timezone>
474 <name>Stephen Yuan Jiang</name>
475 <email>syuanjiang@apache.org</email>
476 <timezone>-8</timezone>
481 <email>yuzhihong@gmail.com</email>
482 <timezone>-8</timezone>
486 <name>Todd Lipcon</name>
487 <email>todd@apache.org</email>
488 <timezone>-8</timezone>
492 <name>Francis Liu</name>
493 <email>toffer@apache.org</email>
494 <timezone>-8</timezone>
498 <name>Virag Kothari</name>
499 <email>virag@yahoo-inc.com</email>
500 <timezone>-8</timezone>
504 <name>Phil Yang</name>
505 <email>yangzhe1991@apache.org</email>
506 <timezone>+8</timezone>
510 <name>Guanghao Zhang</name>
511 <email>zghao@apache.org</email>
512 <timezone>+8</timezone>
516 <name>Duo Zhang</name>
517 <email>zhangduo@apache.org</email>
518 <timezone>+8</timezone>
522 <name>Chunhui Shen</name>
523 <email>zjushch@apache.org</email>
524 <timezone>+8</timezone>
530 <groupId>kr.motd.maven</groupId>
531 <artifactId>os-maven-plugin</artifactId>
532 <version>1.5.0.Final</version>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-javadoc-plugin</artifactId>
540 <version>${javadoc.version}</version>
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-remote-resources-plugin</artifactId>
545 <version>1.5</version>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-shade-plugin</artifactId>
550 <version>2.4.1</version>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-release-plugin</artifactId>
556 <!--You need this profile. It'll sign your artifacts.
557 I'm not sure if this config. actually works though.
558 I've been specifying -Papache-release on the command-line
560 <releaseProfiles>apache-release</releaseProfiles>
561 <!--This stops our running tests for each stage of maven release.
562 But it builds the test jar. From SUREFIRE-172.
564 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
565 <goals>${goals}</goals>
566 <pomFileName>pom.xml</pomFileName>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-compiler-plugin</artifactId>
572 <version>3.2</version>
574 <source>${compileSource}</source>
575 <target>${compileSource}</target>
576 <showWarnings>true</showWarnings>
577 <showDeprecation>false</showDeprecation>
578 <useIncrementalCompilation>false</useIncrementalCompilation>
579 <compilerArgument>-Xlint:-options</compilerArgument>
582 <!-- Test oriented plugins -->
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-surefire-plugin</artifactId>
586 <version>${surefire.version}</version>
588 <!-- by default surefire selects dynamically the connector to the unit tests
589 tool. We want to use always the same as the different connectors can have different
590 bugs and behaviour. -->
592 <groupId>org.apache.maven.surefire</groupId>
593 <artifactId>${surefire.provider}</artifactId>
594 <version>${surefire.version}</version>
597 <!-- Generic testing configuration for all packages -->
599 <groups>${surefire.firstPartGroups}</groups>
600 <failIfNoTests>false</failIfNoTests>
601 <skip>${surefire.skipFirstPart}</skip>
602 <forkCount>${surefire.firstPartForkCount}</forkCount>
603 <reuseForks>false</reuseForks>
604 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
605 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
606 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
607 <systemPropertyVariables>
608 <test.build.classes>${test.build.classes}</test.build.classes>
609 </systemPropertyVariables>
612 <!-- users can add -D option to skip particular test classes
613 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
615 <exclude>${test.exclude.pattern}</exclude>
620 <id>secondPartTestsExecution</id>
626 <skip>${surefire.skipSecondPart}</skip>
627 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
628 <reuseForks>false</reuseForks>
629 <forkCount>${surefire.secondPartForkCount}</forkCount>
630 <groups>${surefire.secondPartGroups}</groups>
631 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
637 <groupId>org.apache.maven.plugins</groupId>
638 <artifactId>maven-surefire-report-plugin</artifactId>
639 <version>${surefire.version}</version>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-clean-plugin</artifactId>
647 <!--dfs tests have build dir hardcoded. Clean it as part of
649 <directory>build</directory>
655 <groupId>org.codehaus.mojo</groupId>
656 <artifactId>buildnumber-maven-plugin</artifactId>
657 <version>1.3</version>
660 <groupId>org.codehaus.mojo</groupId>
661 <artifactId>findbugs-maven-plugin</artifactId>
662 <version>3.0.0</version>
663 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
665 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
666 <findbugsXmlOutput>true</findbugsXmlOutput>
667 <xmlOutput>true</xmlOutput>
672 <groupId>com.github.spotbugs</groupId>
673 <artifactId>spotbugs</artifactId>
674 <version>${spotbugs.version}</version>
679 <groupId>org.codehaus.mojo</groupId>
680 <artifactId>build-helper-maven-plugin</artifactId>
681 <version>1.9.1</version>
684 <artifactId>maven-antrun-plugin</artifactId>
685 <version>${maven.antrun.version}</version>
688 <groupId>org.jamon</groupId>
689 <artifactId>jamon-maven-plugin</artifactId>
690 <version>${jamon.plugin.version}</version>
692 <!-- Make a jar and put the sources in the jar.
693 In the parent pom, so submodules will do the right thing. -->
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-source-plugin</artifactId>
699 <id>attach-sources</id>
700 <phase>prepare-package</phase>
702 <goal>jar-no-fork</goal>
707 <!-- General configuration for submodules who want to build a test jar -->
709 <groupId>org.apache.maven.plugins</groupId>
710 <artifactId>maven-jar-plugin</artifactId>
713 <phase>prepare-package</phase>
715 <!--This goal will install a -test.jar when we do install
716 See http://maven.apache.org/guides/mini/guide-attached-tests.html
718 <goal>test-jar</goal>
723 <skipIfEmpty>true</skipIfEmpty>
725 <exclude>hbase-site.xml</exclude>
726 <exclude>hdfs-site.xml</exclude>
727 <exclude>log4j.properties</exclude>
728 <exclude>mapred-queues.xml</exclude>
729 <exclude>mapred-site.xml</exclude>
730 <!--I was seeing this w/o the below addition:
731 [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]
733 <exclude>*.jar</exclude>
737 <!-- General config for eclipse classpath/settings -->
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-eclipse-plugin</artifactId>
741 <version>2.9</version>
743 <!--This plugin's configuration is used to store Eclipse m2e settings
744 only. It has no influence on the Maven build itself. m2e does not
745 provide any safeguards against rogue maven plugins that leak
746 classloaders, modify random files inside workspace or throw nasty
747 exceptions to fail the build.
748 Top level doesn't do any specific configuration currently - left
749 to modules to decide what they want to bind, sans those plugins
750 defined in this pom. -->
752 <groupId>org.eclipse.m2e</groupId>
753 <artifactId>lifecycle-mapping</artifactId>
754 <version>1.0.0</version>
756 <lifecycleMappingMetadata>
759 <pluginExecutionFilter>
760 <groupId>org.jacoco</groupId>
761 <artifactId>jacoco-maven-plugin</artifactId>
762 <versionRange>[0.6.2.201302030002,)</versionRange>
764 <goal>prepare-agent</goal>
766 </pluginExecutionFilter>
772 <pluginExecutionFilter>
773 <groupId>org.apache.maven.plugins</groupId>
774 <artifactId>maven-enforcer-plugin</artifactId>
775 <versionRange>[1.0.1,)</versionRange>
779 </pluginExecutionFilter>
785 <pluginExecutionFilter>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-remote-resources-plugin</artifactId>
788 <versionRange>[1.5,)</versionRange>
793 </pluginExecutionFilter>
799 <pluginExecutionFilter>
800 <groupId>org.codehaus.mojo</groupId>
801 <artifactId>buildnumber-maven-plugin</artifactId>
802 <versionRange>[1.3,)</versionRange>
804 <goal>create-timestamp</goal>
806 </pluginExecutionFilter>
809 <runOnConfiguration>true</runOnConfiguration>
810 <runOnIncremental>true</runOnIncremental>
815 </lifecycleMappingMetadata>
819 <!-- excludes are inherited -->
820 <groupId>org.apache.rat</groupId>
821 <artifactId>apache-rat-plugin</artifactId>
822 <version>0.11</version>
825 <exclude>**/*.versionsBackup</exclude>
826 <exclude>**/*.log</exclude>
827 <exclude>**/.*</exclude>
828 <exclude>**/*.tgz</exclude>
829 <exclude>**/*.orig</exclude>
830 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
831 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
832 <exclude>**/0000000000000016310</exclude>
833 <exclude>**/.idea/**</exclude>
834 <exclude>**/*.iml</exclude>
835 <exclude>**/CHANGES.txt</exclude>
836 <exclude>**/generated/**</exclude>
837 <exclude>**/gen-*/**</exclude>
838 <!-- No material contents -->
839 <exclude>conf/regionservers</exclude>
840 <exclude>**/*.avpr</exclude>
841 <exclude>**/*.svg</exclude>
842 <!-- non-standard notice file from jruby included by reference -->
843 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
844 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
845 <exclude>**/src/main/asciidoc/hbase.css</exclude>
846 <!-- MIT http://jquery.org/license -->
847 <exclude>**/jquery.min.js</exclude>
848 <!-- vector graphics -->
849 <exclude>**/*.vm</exclude>
850 <!-- apache doxia generated -->
851 <exclude>**/control</exclude>
852 <exclude>**/conffile</exclude>
853 <!-- auto-gen docs -->
854 <exclude>docs/*</exclude>
855 <exclude>logs/*</exclude>
856 <!-- exclude source control files -->
857 <exclude>.git/**</exclude>
858 <exclude>.svn/**</exclude>
859 <exclude>**/.settings/**</exclude>
860 <exclude>**/patchprocess/**</exclude>
861 <exclude>src/main/site/resources/repo/**</exclude>
862 <exclude>**/dependency-reduced-pom.xml</exclude>
863 <exclude>**/rat.txt</exclude>
864 <!-- exclude the shaded protobuf files -->
865 <exclude>**/shaded/com/google/protobuf/**</exclude>
866 <exclude>**/src/main/patches/**</exclude>
871 <artifactId>maven-assembly-plugin</artifactId>
872 <version>${maven.assembly.version}</version>
874 <!--Defer to the hbase-assembly sub-module. It
876 <skipAssembly>true</skipAssembly>
880 <groupId>org.xolstice.maven.plugins</groupId>
881 <artifactId>protobuf-maven-plugin</artifactId>
882 <version>${protobuf.plugin.version}</version>
884 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
885 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
886 <outputDirectory>${basedir}/src/main/java/</outputDirectory>
887 <clearOutputDirectory>false</clearOutputDirectory>
888 <checkStaleness>true</checkStaleness>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-checkstyle-plugin</artifactId>
894 <version>2.17</version>
897 <groupId>org.apache.hbase</groupId>
898 <artifactId>hbase-checkstyle</artifactId>
899 <version>${project.version}</version>
902 <groupId>com.puppycrawl.tools</groupId>
903 <artifactId>checkstyle</artifactId>
904 <version>${checkstyle.version}</version>
908 <configLocation>hbase/checkstyle.xml</configLocation>
909 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
916 <groupId>org.codehaus.mojo</groupId>
917 <artifactId>build-helper-maven-plugin</artifactId>
920 <id>negate-license-bundles-property</id>
922 <goal>bsh-property</goal>
925 <source>skip.license.check = !${license.bundles.dependencies};</source>
927 <property>skip.license.check</property>
934 <groupId>org.apache.maven.plugins</groupId>
935 <artifactId>maven-enforcer-plugin</artifactId>
936 <version>1.4</version>
939 <groupId>org.codehaus.mojo</groupId>
940 <artifactId>extra-enforcer-rules</artifactId>
941 <version>${extra.enforcer.version}</version>
944 <!-- version set by parent -->
947 <id>min-maven-min-java-banned-xerces</id>
953 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
954 <requireMavenVersion>
955 <version>[${maven.min.version},)</version>
956 <message>Maven is out of date.
957 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
958 You appear to be using an older version. You can use either "mvn -version" or
959 "mvn enforcer:display-info" to verify what version is active.
960 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
962 </requireMavenVersion>
963 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
965 <version>[${java.min.version},)</version>
966 <message>Java is out of date.
967 HBase requirs at least version ${java.min.version} of the JDK to properly build from source.
968 You appear to be using an older version. You can use either "mvn -version" or
969 "mvn enforcer:display-info" to verify what version is active.
970 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
972 </requireJavaVersion>
975 <exclude>xerces:xercesImpl</exclude>
977 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
978 </bannedDependencies>
983 <id>banned-jsr305</id>
991 <exclude>com.google.code.findbugs:jsr305</exclude>
993 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
994 </bannedDependencies>
999 <id>banned-scala</id>
1001 <goal>enforce</goal>
1005 <bannedDependencies>
1007 <exclude>org.scala-lang:scala-library</exclude>
1009 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1010 </bannedDependencies>
1015 <id>banned-hbase-spark</id>
1017 <goal>enforce</goal>
1021 <bannedDependencies>
1023 <exclude>org.apache.hbase:hbase-spark</exclude>
1025 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1026 </bannedDependencies>
1031 <id>check-aggregate-license</id>
1032 <!-- must check after LICENSE is built at 'generate-resources' -->
1033 <phase>process-resources</phase>
1035 <goal>enforce</goal>
1041 File license = new File("${license.aggregate.path}");
1043 // Beanshell does not support try-with-resources,
1044 // so we must close this scanner manually
1045 Scanner scanner = new Scanner(license);
1047 while (scanner.hasNextLine()) {
1048 if (scanner.nextLine().startsWith("ERROR:")) {
1057 License errors detected, for more detail find ERROR in
1058 ${license.aggregate.path}
1060 </evaluateBeanshell>
1062 <skip>${skip.license.check}</skip>
1067 <!-- parent-module only plugins -->
1069 <groupId>org.codehaus.mojo</groupId>
1070 <artifactId>xml-maven-plugin</artifactId>
1071 <version>1.0</version>
1072 <inherited>false</inherited>
1075 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1077 <goal>transform</goal>
1083 <transformationSets>
1084 <!-- For asciidoc -->
1086 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1087 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1089 <include>hbase-default.xml</include>
1091 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1093 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1094 <pattern>^(.*)\.xml$</pattern>
1095 <replacement>$1.adoc</replacement>
1098 <outputDir>${basedir}/target/asciidoc</outputDir>
1099 </transformationSet>
1100 </transformationSets>
1103 <!-- Special configuration for findbugs just in the parent so
1104 the filter file location can be more general (see definition in pluginManagement) -->
1106 <groupId>org.codehaus.mojo</groupId>
1107 <artifactId>findbugs-maven-plugin</artifactId>
1110 <inherited>false</inherited>
1112 <goal>findbugs</goal>
1115 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1121 <groupId>org.apache.maven.plugins</groupId>
1122 <artifactId>maven-checkstyle-plugin</artifactId>
1125 <groupId>org.apache.hbase</groupId>
1126 <artifactId>hbase-checkstyle</artifactId>
1127 <version>${project.version}</version>
1130 <groupId>com.puppycrawl.tools</groupId>
1131 <artifactId>checkstyle</artifactId>
1132 <version>${checkstyle.version}</version>
1136 <configLocation>hbase/checkstyle.xml</configLocation>
1137 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
1141 <groupId>org.apache.maven.plugins</groupId>
1142 <artifactId>maven-site-plugin</artifactId>
1143 <version>3.4</version>
1144 <inherited>false</inherited>
1147 <!-- add support for ssh/scp -->
1148 <groupId>org.apache.maven.wagon</groupId>
1149 <artifactId>wagon-ssh</artifactId>
1150 <version>2.2</version>
1154 <siteDirectory>${basedir}/src/main/site</siteDirectory>
1155 <customBundle>${basedir}/src/main/site/custom/project-info-report.properties</customBundle>
1156 <inputEncoding>UTF-8</inputEncoding>
1157 <outputEncoding>UTF-8</outputEncoding>
1160 <!-- For AsciiDoc docs building -->
1162 <groupId>org.asciidoctor</groupId>
1163 <artifactId>asciidoctor-maven-plugin</artifactId>
1164 <version>${asciidoctor.plugin.version}</version>
1165 <inherited>false</inherited>
1168 <groupId>org.asciidoctor</groupId>
1169 <artifactId>asciidoctorj-pdf</artifactId>
1170 <version>1.5.0-alpha.6</version>
1174 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1175 <doctype>book</doctype>
1176 <imagesDir>images</imagesDir>
1177 <sourceHighlighter>coderay</sourceHighlighter>
1179 <docVersion>${project.version}</docVersion>
1184 <id>output-html</id>
1187 <goal>process-asciidoc</goal>
1191 <stylesheet>hbase.css</stylesheet>
1193 <backend>html5</backend>
1200 <goal>process-asciidoc</goal>
1203 <backend>pdf</backend>
1208 <idseparator>-</idseparator>
1215 <groupId>org.apache.maven.plugins</groupId>
1216 <artifactId>maven-resources-plugin</artifactId>
1217 <!--$NO-MVN-MAN-VER$ -->
1218 <inherited>false</inherited>
1221 <id>copy-htaccess</id>
1223 <goal>copy-resources</goal>
1227 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1230 <directory>${basedir}/src/main/site/resources/</directory>
1232 <include>.htaccess</include>
1238 <!-- needed to make the redirect above work -->
1240 <id>copy-empty-book-dir</id>
1242 <goal>copy-resources</goal>
1246 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1249 <directory>${basedir}/src/main/site/resources/</directory>
1251 <include>book/**</include>
1259 <escapeString>\</escapeString>
1263 <groupId>org.apache.maven.plugins</groupId>
1264 <artifactId>maven-antrun-plugin</artifactId>
1265 <version>${maven.antrun.version}</version>
1266 <inherited>false</inherited>
1267 <!-- Rename the book.pdf generated by asciidoctor -->
1273 <target name="rename file">
1274 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1275 <move file="${project.reporting.outputDirectory}/book.pdfmarks" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdfmarks" />
1285 <groupId>org.codehaus.mojo</groupId>
1286 <artifactId>buildnumber-maven-plugin</artifactId>
1289 <phase>validate</phase>
1291 <goal>create-timestamp</goal>
1296 <timestampFormat>yyyy</timestampFormat>
1297 <timestampPropertyName>build.year</timestampPropertyName>
1301 <groupId>org.apache.felix</groupId>
1302 <artifactId>maven-bundle-plugin</artifactId>
1303 <version>2.5.3</version>
1304 <inherited>true</inherited>
1305 <extensions>true</extensions>
1308 <groupId>org.scala-tools</groupId>
1309 <artifactId>maven-scala-plugin</artifactId>
1310 <version>2.15.2</version>
1315 <!-- override on command line to have generated LICENSE files include
1316 diagnostic info for verifying notice requirements -->
1317 <license.debug.print.included>false</license.debug.print.included>
1318 <!-- When a particular module bundles its depenendencies, should be true -->
1319 <license.bundles.dependencies>false</license.bundles.dependencies>
1320 <!-- modules that include a the logo in their source tree should set true -->
1321 <license.bundles.logo>false</license.bundles.logo>
1322 <!-- modules that include bootstrap in their source tree should set true -->
1323 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1324 <!-- modules that include jquery in their source tree should set true -->
1325 <license.bundles.jquery>false</license.bundles.jquery>
1326 <!-- where to find the generated LICENSE files -->
1327 <license.aggregate.path>
1328 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1329 </license.aggregate.path>
1330 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1331 <maven.build.timestamp.format>
1333 </maven.build.timestamp.format>
1334 <buildDate>${maven.build.timestamp}</buildDate>
1335 <compileSource>1.8</compileSource>
1336 <!-- Build dependencies -->
1337 <maven.min.version>3.0.4</maven.min.version>
1338 <java.min.version>${compileSource}</java.min.version>
1339 <!-- Dependencies -->
1340 <hadoop-two.version>2.7.1</hadoop-two.version>
1341 <hadoop-three.version>3.0.0-alpha2</hadoop-three.version>
1342 <!-- These must be defined here for downstream build tools that don't look at profiles.
1343 They ought to match the values found in our default hadoop profile, which is
1344 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1345 <hadoop.version>${hadoop-two.version}</hadoop.version>
1346 <compat.module>hbase-hadoop2-compat</compat.module>
1347 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1348 <!-- end HBASE-15925 default hadoop compatibility values -->
1349 <avro.version>1.7.7</avro.version>
1350 <commons-cli.version>1.4</commons-cli.version>
1351 <commons-codec.version>1.9</commons-codec.version>
1352 <!-- pretty outdated -->
1353 <commons-io.version>2.5</commons-io.version>
1354 <commons-lang.version>2.6</commons-lang.version>
1355 <commons-logging.version>1.2</commons-logging.version>
1356 <commons-math.version>2.2</commons-math.version>
1357 <disruptor.version>3.3.6</disruptor.version>
1358 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1359 <collections.version>3.2.2</collections.version>
1360 <httpclient.version>4.5.3</httpclient.version>
1361 <httpcore.version>4.4.6</httpcore.version>
1362 <metrics-core.version>3.2.1</metrics-core.version>
1363 <guava.version>12.0.1</guava.version>
1364 <jackson.version>2.23.2</jackson.version>
1365 <jaxb-api.version>2.2.12</jaxb-api.version>
1366 <jetty.version>9.3.8.v20160314</jetty.version>
1367 <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version>
1368 <jackson1.version>1.9.13</jackson1.version>
1369 <servlet.api.version>3.1.0</servlet.api.version>
1370 <jersey.version>2.25.1</jersey.version>
1371 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1372 <jruby.version>9.1.10.0</jruby.version>
1373 <junit.version>4.12</junit.version>
1374 <hamcrest.version>1.3</hamcrest.version>
1375 <htrace.version>3.2.0-incubating</htrace.version>
1376 <log4j.version>1.2.17</log4j.version>
1377 <mockito-all.version>1.10.19</mockito-all.version>
1378 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1379 <external.protobuf.version>2.5.0</external.protobuf.version>
1380 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1381 <thrift.path>thrift</thrift.path>
1382 <thrift.version>0.9.3</thrift.version>
1383 <zookeeper.version>3.4.9</zookeeper.version>
1384 <slf4j.version>1.7.24</slf4j.version>
1385 <clover.version>4.0.3</clover.version>
1386 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1387 <jettison.version>1.3.8</jettison.version>
1388 <netty.version>4.1.9.Final</netty.version>
1389 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1390 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1391 <joni.version>2.1.11</joni.version>
1392 <jcodings.version>1.0.18</jcodings.version>
1393 <spy.version>2.12.2</spy.version>
1394 <bouncycastle.version>1.46</bouncycastle.version>
1395 <kerby.version>1.0.0-RC2</kerby.version>
1396 <commons-crypto.version>1.0.0</commons-crypto.version>
1397 <curator.version>2.12.0</curator.version>
1398 <!-- Plugin Dependencies -->
1399 <maven.assembly.version>2.4</maven.assembly.version>
1400 <maven.antrun.version>1.8</maven.antrun.version>
1401 <jamon.plugin.version>2.4.1</jamon.plugin.version>
1402 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1403 <checkstyle.version>6.18</checkstyle.version>
1404 <javadoc.version>2.10.3</javadoc.version>
1405 <asciidoctor.plugin.version>1.5.2.1</asciidoctor.plugin.version>
1406 <spotbugs.version>3.1.0-RC1</spotbugs.version>
1407 <!-- General Packaging -->
1408 <package.prefix>/usr</package.prefix>
1409 <package.conf.dir>/etc/hbase</package.conf.dir>
1410 <package.log.dir>/var/log/hbase</package.log.dir>
1411 <package.pid.dir>/var/run/hbase</package.pid.dir>
1412 <package.release>1</package.release>
1413 <final.name>${project.artifactId}-${project.version}</final.name>
1414 <!-- Intraproject jar naming properties -->
1415 <!-- TODO this is pretty ugly, but works for the moment.
1416 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1417 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1418 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1419 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1420 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1421 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1422 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1423 <surefire.version>2.18.1</surefire.version>
1424 <surefire.provider>surefire-junit47</surefire.provider>
1425 <!-- default: run small & medium, medium with 2 threads -->
1426 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1427 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1428 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1429 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1430 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1431 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1432 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1433 <test.output.tofile>true</test.output.tofile>
1434 <surefire.timeout>900</surefire.timeout>
1435 <test.exclude.pattern></test.exclude.pattern>
1436 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1437 <surefire.Xmx>2800m</surefire.Xmx>
1438 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1439 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1441 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1442 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1443 -Djava.awt.headless=true
1444 </hbase-surefire.argLine>
1445 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1446 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1447 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1448 </hbase-surefire.cygwin-argLine>
1449 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1450 <argLine>${hbase-surefire.argLine}</argLine>
1451 <jacoco.version>0.7.5.201505241946</jacoco.version>
1452 <extra.enforcer.version>1.0-beta-3</extra.enforcer.version>
1453 <!-- Location of test resources -->
1454 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1455 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1456 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1457 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1458 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1459 <build.id>${maven.build.timestamp}</build.id>
1461 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1462 <dependencyManagement>
1465 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1466 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1467 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1468 implementation of the same, because Hadoop also uses this version
1469 javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1
1471 <!-- Intra-module dependencies -->
1473 <groupId>org.apache.hbase</groupId>
1474 <artifactId>hbase-annotations</artifactId>
1475 <version>${project.version}</version>
1478 <groupId>org.apache.hbase</groupId>
1479 <artifactId>hbase-annotations</artifactId>
1480 <version>${project.version}</version>
1481 <type>test-jar</type>
1482 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1485 <groupId>org.apache.hbase</groupId>
1486 <artifactId>hbase-common</artifactId>
1487 <version>${project.version}</version>
1490 <groupId>org.apache.hbase</groupId>
1491 <artifactId>hbase-common</artifactId>
1492 <version>${project.version}</version>
1493 <type>test-jar</type>
1497 <groupId>org.apache.hbase</groupId>
1498 <artifactId>hbase-protocol-shaded</artifactId>
1499 <version>${project.version}</version>
1502 <groupId>org.apache.hbase</groupId>
1503 <artifactId>hbase-protocol</artifactId>
1504 <version>${project.version}</version>
1507 <groupId>org.apache.hbase</groupId>
1508 <artifactId>hbase-procedure</artifactId>
1509 <version>${project.version}</version>
1512 <groupId>org.apache.hbase</groupId>
1513 <artifactId>hbase-procedure</artifactId>
1514 <version>${project.version}</version>
1515 <type>test-jar</type>
1518 <groupId>org.apache.hbase</groupId>
1519 <artifactId>hbase-hadoop-compat</artifactId>
1520 <version>${project.version}</version>
1523 <groupId>org.apache.hbase</groupId>
1524 <artifactId>hbase-hadoop-compat</artifactId>
1525 <version>${project.version}</version>
1526 <type>test-jar</type>
1530 <groupId>org.apache.hbase</groupId>
1531 <artifactId>${compat.module}</artifactId>
1532 <version>${project.version}</version>
1535 <groupId>org.apache.hbase</groupId>
1536 <artifactId>${compat.module}</artifactId>
1537 <version>${project.version}</version>
1538 <type>test-jar</type>
1542 <artifactId>hbase-rsgroup</artifactId>
1543 <groupId>org.apache.hbase</groupId>
1544 <version>${project.version}</version>
1547 <artifactId>hbase-rsgroup</artifactId>
1548 <groupId>org.apache.hbase</groupId>
1549 <version>${project.version}</version>
1550 <type>test-jar</type>
1554 <artifactId>hbase-server</artifactId>
1555 <groupId>org.apache.hbase</groupId>
1556 <version>${project.version}</version>
1559 <artifactId>hbase-server</artifactId>
1560 <groupId>org.apache.hbase</groupId>
1561 <version>${project.version}</version>
1562 <type>test-jar</type>
1566 <artifactId>hbase-endpoint</artifactId>
1567 <groupId>org.apache.hbase</groupId>
1568 <version>${project.version}</version>
1571 <artifactId>hbase-shell</artifactId>
1572 <groupId>org.apache.hbase</groupId>
1573 <version>${project.version}</version>
1576 <artifactId>hbase-shell</artifactId>
1577 <groupId>org.apache.hbase</groupId>
1578 <version>${project.version}</version>
1579 <type>test-jar</type>
1583 <artifactId>hbase-thrift</artifactId>
1584 <groupId>org.apache.hbase</groupId>
1585 <version>${project.version}</version>
1588 <artifactId>hbase-thrift</artifactId>
1589 <groupId>org.apache.hbase</groupId>
1590 <version>${project.version}</version>
1591 <type>test-jar</type>
1595 <groupId>org.apache.hbase</groupId>
1596 <artifactId>hbase-testing-util</artifactId>
1597 <version>${project.version}</version>
1601 <groupId>org.apache.hbase</groupId>
1602 <artifactId>hbase-prefix-tree</artifactId>
1603 <version>${project.version}</version>
1604 <!-- unfortunately, runtime scope causes Eclipse to give compile time access which isn't
1605 needed, however it is apparently needed to run things within Eclipse -->
1606 <scope>runtime</scope>
1609 <artifactId>hbase-examples</artifactId>
1610 <groupId>org.apache.hbase</groupId>
1611 <version>${project.version}</version>
1614 <groupId>org.apache.hbase</groupId>
1615 <artifactId>hbase-external-blockcache</artifactId>
1616 <version>${project.version}</version>
1619 <artifactId>hbase-it</artifactId>
1620 <groupId>org.apache.hbase</groupId>
1621 <version>${project.version}</version>
1622 <type>test-jar</type>
1626 <artifactId>hbase-client</artifactId>
1627 <groupId>org.apache.hbase</groupId>
1628 <version>${project.version}</version>
1631 <artifactId>hbase-metrics-api</artifactId>
1632 <groupId>org.apache.hbase</groupId>
1633 <version>${project.version}</version>
1636 <artifactId>hbase-metrics-api</artifactId>
1637 <groupId>org.apache.hbase</groupId>
1638 <version>${project.version}</version>
1639 <type>test-jar</type>
1643 <artifactId>hbase-metrics</artifactId>
1644 <groupId>org.apache.hbase</groupId>
1645 <version>${project.version}</version>
1648 <artifactId>hbase-metrics</artifactId>
1649 <groupId>org.apache.hbase</groupId>
1650 <version>${project.version}</version>
1651 <type>test-jar</type>
1654 <!-- General dependencies -->
1656 <groupId>com.github.stephenc.findbugs</groupId>
1657 <artifactId>findbugs-annotations</artifactId>
1658 <version>${findbugs-annotations}</version>
1660 <!-- General dependencies -->
1662 <groupId>org.codehaus.jettison</groupId>
1663 <artifactId>jettison</artifactId>
1664 <version>${jettison.version}</version>
1667 <groupId>log4j</groupId>
1668 <artifactId>log4j</artifactId>
1669 <version>${log4j.version}</version>
1671 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1673 <groupId>org.apache.avro</groupId>
1674 <artifactId>avro</artifactId>
1675 <version>${avro.version}</version>
1677 <!--This is not used by hbase directly. Used by thrift,
1678 dropwizard and zk.-->
1680 <groupId>org.slf4j</groupId>
1681 <artifactId>slf4j-api</artifactId>
1682 <version>${slf4j.version}</version>
1685 <groupId>io.dropwizard.metrics</groupId>
1686 <artifactId>metrics-core</artifactId>
1687 <version>${metrics-core.version}</version>
1690 <groupId>com.google.guava</groupId>
1691 <artifactId>guava</artifactId>
1692 <version>${guava.version}</version>
1695 <groupId>com.google.code.findbugs</groupId>
1696 <artifactId>jsr305</artifactId>
1701 <groupId>commons-collections</groupId>
1702 <artifactId>commons-collections</artifactId>
1703 <version>${collections.version}</version>
1706 <groupId>org.apache.httpcomponents</groupId>
1707 <artifactId>httpclient</artifactId>
1708 <version>${httpclient.version}</version>
1711 <groupId>org.apache.httpcomponents</groupId>
1712 <artifactId>httpcore</artifactId>
1713 <version>${httpcore.version}</version>
1716 <groupId>commons-cli</groupId>
1717 <artifactId>commons-cli</artifactId>
1718 <version>${commons-cli.version}</version>
1721 <groupId>commons-codec</groupId>
1722 <artifactId>commons-codec</artifactId>
1723 <version>${commons-codec.version}</version>
1726 <groupId>commons-io</groupId>
1727 <artifactId>commons-io</artifactId>
1728 <version>${commons-io.version}</version>
1731 <groupId>commons-lang</groupId>
1732 <artifactId>commons-lang</artifactId>
1733 <version>${commons-lang.version}</version>
1736 <groupId>commons-logging</groupId>
1737 <artifactId>commons-logging</artifactId>
1738 <version>${commons-logging.version}</version>
1741 <groupId>org.apache.commons</groupId>
1742 <artifactId>commons-math</artifactId>
1743 <version>${commons-math.version}</version>
1746 <groupId>org.apache.zookeeper</groupId>
1747 <artifactId>zookeeper</artifactId>
1748 <version>${zookeeper.version}</version>
1751 <groupId>jline</groupId>
1752 <artifactId>jline</artifactId>
1755 <groupId>com.sun.jmx</groupId>
1756 <artifactId>jmxri</artifactId>
1759 <groupId>com.sun.jdmk</groupId>
1760 <artifactId>jmxtools</artifactId>
1763 <groupId>javax.jms</groupId>
1764 <artifactId>jms</artifactId>
1767 <groupId>io.netty</groupId>
1768 <artifactId>netty</artifactId>
1773 <groupId>io.netty</groupId>
1774 <artifactId>netty-all</artifactId>
1775 <version>${netty.version}</version>
1778 <groupId>org.apache.thrift</groupId>
1779 <artifactId>libthrift</artifactId>
1780 <version>${thrift.version}</version>
1783 <groupId>org.slf4j</groupId>
1784 <artifactId>slf4j-simple</artifactId>
1789 <groupId>org.jruby</groupId>
1790 <artifactId>jruby-complete</artifactId>
1791 <version>${jruby.version}</version>
1794 <groupId>org.jruby.jcodings</groupId>
1795 <artifactId>jcodings</artifactId>
1796 <version>${jcodings.version}</version>
1799 <groupId>org.jruby.joni</groupId>
1800 <artifactId>joni</artifactId>
1801 <version>${joni.version}</version>
1803 <!-- While jackson is also a dependency of jersey it
1804 can bring in jars from different, incompatible versions. We force
1805 the same version with these dependencies -->
1807 <groupId>org.codehaus.jackson</groupId>
1808 <artifactId>jackson-core-asl</artifactId>
1809 <version>${jackson1.version}</version>
1812 <groupId>org.codehaus.jackson</groupId>
1813 <artifactId>jackson-mapper-asl</artifactId>
1814 <version>${jackson1.version}</version>
1817 <groupId>org.codehaus.jackson</groupId>
1818 <artifactId>jackson-jaxrs</artifactId>
1819 <version>${jackson1.version}</version>
1822 <groupId>org.codehaus.jackson</groupId>
1823 <artifactId>jackson-xc</artifactId>
1824 <version>${jackson1.version}</version>
1827 <groupId>org.jamon</groupId>
1828 <artifactId>jamon-runtime</artifactId>
1829 <version>${jamon-runtime.version}</version>
1831 <!-- REST dependencies -->
1833 <groupId>javax.servlet</groupId>
1834 <artifactId>javax.servlet-api</artifactId>
1835 <version>${servlet.api.version}</version>
1838 <groupId>org.eclipse.jetty</groupId>
1839 <artifactId>jetty-server</artifactId>
1840 <version>${jetty.version}</version>
1843 <groupId>org.eclipse.jetty</groupId>
1844 <artifactId>jetty-servlet</artifactId>
1845 <version>${jetty.version}</version>
1848 <groupId>org.eclipse.jetty</groupId>
1849 <artifactId>servlet-api</artifactId>
1854 <groupId>org.eclipse.jetty</groupId>
1855 <artifactId>jetty-security</artifactId>
1856 <version>${jetty.version}</version>
1859 <groupId>org.eclipse.jetty</groupId>
1860 <artifactId>jetty-http</artifactId>
1861 <version>${jetty.version}</version>
1864 <groupId>org.eclipse.jetty</groupId>
1865 <artifactId>jetty-util</artifactId>
1866 <version>${jetty.version}</version>
1869 <groupId>org.eclipse.jetty</groupId>
1870 <artifactId>jetty-io</artifactId>
1871 <version>${jetty.version}</version>
1874 <groupId>org.eclipse.jetty</groupId>
1875 <artifactId>jetty-jsp</artifactId>
1876 <version>${jetty-jsp.version}</version>
1879 <groupId>org.eclipse.jetty</groupId>
1880 <artifactId>jetty-jmx</artifactId>
1881 <version>${jetty.version}</version>
1884 <groupId>org.eclipse.jetty</groupId>
1885 <artifactId>jetty-webapp</artifactId>
1886 <version>${jetty.version}</version>
1889 <groupId>org.eclipse.jetty</groupId>
1890 <artifactId>jetty-util-ajax</artifactId>
1891 <version>${jetty.version}</version>
1894 <groupId>com.google.protobuf</groupId>
1895 <artifactId>protobuf-java</artifactId>
1896 <version>${external.protobuf.version}</version>
1899 <groupId>org.glassfish.jersey.containers</groupId>
1900 <artifactId>jersey-container-servlet-core</artifactId>
1901 <version>${jersey.version}</version>
1904 <groupId>org.glassfish.jersey.media</groupId>
1905 <artifactId>jersey-media-json-jackson1</artifactId>
1906 <version>${jackson.version}</version>
1909 <groupId>javax.xml.bind</groupId>
1910 <artifactId>jaxb-api</artifactId>
1911 <version>${jaxb-api.version}</version>
1914 <groupId>javax.xml.stream</groupId>
1915 <artifactId>stax-api</artifactId>
1920 <groupId>junit</groupId>
1921 <artifactId>junit</artifactId>
1922 <version>${junit.version}</version>
1925 <groupId>org.hamcrest</groupId>
1926 <artifactId>hamcrest-core</artifactId>
1927 <version>${hamcrest.version}</version>
1931 <groupId>org.mockito</groupId>
1932 <artifactId>mockito-all</artifactId>
1933 <version>${mockito-all.version}</version>
1937 <groupId>org.apache.htrace</groupId>
1938 <artifactId>htrace-core</artifactId>
1939 <version>${htrace.version}</version>
1942 <groupId>com.lmax</groupId>
1943 <artifactId>disruptor</artifactId>
1944 <version>${disruptor.version}</version>
1947 <groupId>net.spy</groupId>
1948 <artifactId>spymemcached</artifactId>
1949 <version>${spy.version}</version>
1950 <optional>true</optional>
1953 <groupId>org.bouncycastle</groupId>
1954 <artifactId>bcprov-jdk16</artifactId>
1955 <version>${bouncycastle.version}</version>
1959 <groupId>org.apache.kerby</groupId>
1960 <artifactId>kerb-client</artifactId>
1961 <version>${kerby.version}</version>
1964 <groupId>org.apache.kerby</groupId>
1965 <artifactId>kerb-simplekdc</artifactId>
1966 <version>${kerby.version}</version>
1969 <groupId>org.apache.commons</groupId>
1970 <artifactId>commons-crypto</artifactId>
1971 <version>${commons-crypto.version}</version>
1974 <groupId>net.java.dev.jna</groupId>
1975 <artifactId>jna</artifactId>
1980 <groupId>org.apache.curator</groupId>
1981 <artifactId>curator-recipes</artifactId>
1982 <version>${curator.version}</version>
1985 <groupId>org.apache.curator</groupId>
1986 <artifactId>curator-framework</artifactId>
1987 <version>${curator.version}</version>
1990 <groupId>org.apache.curator</groupId>
1991 <artifactId>curator-client</artifactId>
1992 <version>${curator.version}</version>
1995 <groupId>com.google.guava</groupId>
1996 <artifactId>guava</artifactId>
2001 </dependencyManagement>
2002 <!-- Dependencies needed by subprojects -->
2005 <groupId>com.github.stephenc.findbugs</groupId>
2006 <artifactId>findbugs-annotations</artifactId>
2007 <scope>compile</scope>
2010 <groupId>log4j</groupId>
2011 <artifactId>log4j</artifactId>
2013 <!-- Test dependencies -->
2015 <groupId>junit</groupId>
2016 <artifactId>junit</artifactId>
2019 <groupId>org.mockito</groupId>
2020 <artifactId>mockito-all</artifactId>
2024 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2029 <id>apache.releases.https</id>
2030 <username>hbase_committer</username>
2031 <password>********</password>
2035 <id>apache.snapshots.https</id>
2036 <username>hbase_committer</username>
2037 <password>********</password>
2045 $ mvn -s /my/path/settings.xml deploy
2053 <name>!skip-rsgroup</name>
2057 <module>hbase-rsgroup</module>
2061 <id>build-with-jdk8</id>
2069 <groupId>org.apache.maven.plugins</groupId>
2070 <artifactId>maven-javadoc-plugin</artifactId>
2072 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used -->
2073 <additionalparam>-Xdoclint:none</additionalparam>
2080 <!-- profile activated by the Jenkins patch testing job -->
2082 <id>jenkins.patch</id>
2084 <activeByDefault>false</activeByDefault>
2086 <name>HBasePatchProcess</name>
2090 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2095 <groupId>org.apache.maven.plugins</groupId>
2096 <artifactId>maven-antrun-plugin</artifactId>
2097 <inherited>false</inherited>
2100 <phase>validate</phase>
2106 <echo>Maven Execution Environment</echo>
2107 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2119 <activeByDefault>false</activeByDefault>
2124 <groupId>org.jacoco</groupId>
2125 <artifactId>jacoco-maven-plugin</artifactId>
2126 <version>${jacoco.version}</version>
2129 <id>prepare-agent</id>
2131 <goal>prepare-agent</goal>
2136 <phase>prepare-package</phase>
2143 <systemPropertyVariables>
2144 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2145 </systemPropertyVariables>
2147 <exclude>**/generated/**/*.class</exclude>
2157 <activeByDefault>false</activeByDefault>
2159 <family>Linux</family>
2163 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2170 <family>Mac</family>
2174 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2181 <family>Windows</family>
2185 <build.platform>cygwin</build.platform>
2186 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2189 <!-- this profile should be activated for release builds -->
2195 <groupId>org.apache.rat</groupId>
2196 <artifactId>apache-rat-plugin</artifactId>
2199 <phase>package</phase>
2207 <groupId>org.apache.maven.plugins</groupId>
2208 <artifactId>maven-enforcer-plugin</artifactId>
2211 <enforceBytecodeVersion>
2212 <maxJdkVersion>${compileSource}</maxJdkVersion>
2213 <message>HBase has unsupported dependencies.
2214 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2215 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2216 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2217 Non-release builds can temporarily build with a newer JDK version by setting the
2218 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2220 </enforceBytecodeVersion>
2227 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2228 <!-- Submodules that need hadoop dependencies should declare
2229 profiles with activation properties matching the profile here.
2230 Generally, it should be sufficient to copy the first
2231 few lines of the profile you want to match. -->
2232 <!-- profile for building against Hadoop 2.0.x
2233 This is the default.
2239 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2240 <!--h2--><name>!hadoop.profile</name>
2244 <module>hbase-hadoop2-compat</module>
2247 <hadoop.version>${hadoop-two.version}</hadoop.version>
2248 <compat.module>hbase-hadoop2-compat</compat.module>
2249 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2251 <dependencyManagement>
2254 <groupId>org.apache.hadoop</groupId>
2255 <artifactId>hadoop-mapreduce-client-core</artifactId>
2256 <version>${hadoop-two.version}</version>
2259 <groupId>io.netty</groupId>
2260 <artifactId>netty</artifactId>
2263 <groupId>javax.servlet</groupId>
2264 <artifactId>servlet-api</artifactId>
2269 <groupId>org.apache.hadoop</groupId>
2270 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2271 <version>${hadoop-two.version}</version>
2274 <groupId>io.netty</groupId>
2275 <artifactId>netty</artifactId>
2278 <groupId>javax.servlet</groupId>
2279 <artifactId>servlet-api</artifactId>
2284 <groupId>org.apache.hadoop</groupId>
2285 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2286 <version>${hadoop-two.version}</version>
2287 <type>test-jar</type>
2291 <groupId>io.netty</groupId>
2292 <artifactId>netty</artifactId>
2295 <groupId>javax.servlet</groupId>
2296 <artifactId>servlet-api</artifactId>
2301 <groupId>org.apache.hadoop</groupId>
2302 <artifactId>hadoop-hdfs</artifactId>
2305 <groupId>javax.servlet.jsp</groupId>
2306 <artifactId>jsp-api</artifactId>
2309 <groupId>javax.servlet</groupId>
2310 <artifactId>servlet-api</artifactId>
2313 <groupId>io.netty</groupId>
2314 <artifactId>netty</artifactId>
2317 <groupId>stax</groupId>
2318 <artifactId>stax-api</artifactId>
2321 <groupId>xerces</groupId>
2322 <artifactId>xercesImpl</artifactId>
2325 <version>${hadoop-two.version}</version>
2328 <groupId>org.apache.hadoop</groupId>
2329 <artifactId>hadoop-hdfs</artifactId>
2330 <version>${hadoop-two.version}</version>
2331 <type>test-jar</type>
2335 <groupId>javax.servlet.jsp</groupId>
2336 <artifactId>jsp-api</artifactId>
2339 <groupId>javax.servlet</groupId>
2340 <artifactId>servlet-api</artifactId>
2343 <groupId>io.netty</groupId>
2344 <artifactId>netty</artifactId>
2347 <groupId>stax</groupId>
2348 <artifactId>stax-api</artifactId>
2351 <groupId>xerces</groupId>
2352 <artifactId>xercesImpl</artifactId>
2357 <groupId>org.apache.hadoop</groupId>
2358 <artifactId>hadoop-auth</artifactId>
2359 <version>${hadoop-two.version}</version>
2362 <groupId>org.apache.hadoop</groupId>
2363 <artifactId>hadoop-common</artifactId>
2364 <version>${hadoop-two.version}</version>
2367 <groupId>javax.servlet.jsp</groupId>
2368 <artifactId>jsp-api</artifactId>
2371 <groupId>javax.servlet</groupId>
2372 <artifactId>servlet-api</artifactId>
2375 <groupId>stax</groupId>
2376 <artifactId>stax-api</artifactId>
2379 <groupId>io.netty</groupId>
2380 <artifactId>netty</artifactId>
2383 <groupId>com.google.code.findbugs</groupId>
2384 <artifactId>jsr305</artifactId>
2389 <groupId>org.apache.hadoop</groupId>
2390 <artifactId>hadoop-client</artifactId>
2391 <version>${hadoop-two.version}</version>
2393 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2394 Where do we actually need it? -->
2396 <groupId>org.apache.hadoop</groupId>
2397 <artifactId>hadoop-minicluster</artifactId>
2398 <version>${hadoop-two.version}</version>
2401 <groupId>commons-httpclient</groupId>
2402 <artifactId>commons-httpclient</artifactId>
2405 <groupId>javax.servlet.jsp</groupId>
2406 <artifactId>jsp-api</artifactId>
2409 <groupId>javax.servlet</groupId>
2410 <artifactId>servlet-api</artifactId>
2413 <groupId>stax</groupId>
2414 <artifactId>stax-api</artifactId>
2417 <groupId>io.netty</groupId>
2418 <artifactId>netty</artifactId>
2421 <groupId>com.google.code.findbugs</groupId>
2422 <artifactId>jsr305</artifactId>
2427 <groupId>org.apache.hadoop</groupId>
2428 <artifactId>hadoop-minikdc</artifactId>
2429 <version>${hadoop-two.version}</version>
2433 </dependencyManagement>
2436 profile for building against Hadoop 3.0.0. Activate using:
2437 mvn -Dhadoop.profile=3.0
2443 <name>hadoop.profile</name>
2448 <!--For now, use hadoop2 compat module-->
2449 <module>hbase-hadoop2-compat</module>
2452 <hadoop.version>${hadoop-three.version}</hadoop.version>
2453 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2454 <compat.module>hbase-hadoop2-compat</compat.module>
2455 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2457 <dependencyManagement>
2460 <groupId>org.apache.hadoop</groupId>
2461 <artifactId>hadoop-mapreduce-client-core</artifactId>
2462 <version>${hadoop-three.version}</version>
2465 <groupId>io.netty</groupId>
2466 <artifactId>netty</artifactId>
2471 <groupId>org.apache.hadoop</groupId>
2472 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2473 <version>${hadoop-three.version}</version>
2476 <groupId>io.netty</groupId>
2477 <artifactId>netty</artifactId>
2482 <groupId>org.apache.hadoop</groupId>
2483 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2484 <version>${hadoop-three.version}</version>
2485 <type>test-jar</type>
2489 <groupId>io.netty</groupId>
2490 <artifactId>netty</artifactId>
2495 <groupId>org.apache.hadoop</groupId>
2496 <artifactId>hadoop-hdfs</artifactId>
2499 <groupId>javax.servlet.jsp</groupId>
2500 <artifactId>jsp-api</artifactId>
2503 <groupId>javax.servlet</groupId>
2504 <artifactId>servlet-api</artifactId>
2507 <groupId>stax</groupId>
2508 <artifactId>stax-api</artifactId>
2511 <groupId>xerces</groupId>
2512 <artifactId>xercesImpl</artifactId>
2515 <version>${hadoop-three.version}</version>
2518 <groupId>org.apache.hadoop</groupId>
2519 <artifactId>hadoop-hdfs</artifactId>
2520 <version>${hadoop-three.version}</version>
2521 <type>test-jar</type>
2525 <groupId>javax.servlet.jsp</groupId>
2526 <artifactId>jsp-api</artifactId>
2529 <groupId>javax.servlet</groupId>
2530 <artifactId>servlet-api</artifactId>
2533 <groupId>stax</groupId>
2534 <artifactId>stax-api</artifactId>
2537 <groupId>xerces</groupId>
2538 <artifactId>xercesImpl</artifactId>
2543 <groupId>org.apache.hadoop</groupId>
2544 <artifactId>hadoop-auth</artifactId>
2545 <version>${hadoop-three.version}</version>
2548 <groupId>org.apache.hadoop</groupId>
2549 <artifactId>hadoop-common</artifactId>
2550 <version>${hadoop-three.version}</version>
2553 <groupId>javax.servlet.jsp</groupId>
2554 <artifactId>jsp-api</artifactId>
2557 <groupId>javax.servlet</groupId>
2558 <artifactId>servlet-api</artifactId>
2561 <groupId>stax</groupId>
2562 <artifactId>stax-api</artifactId>
2565 <groupId>io.netty</groupId>
2566 <artifactId>netty</artifactId>
2569 <groupId>com.google.code.findbugs</groupId>
2570 <artifactId>jsr305</artifactId>
2575 <groupId>org.apache.hadoop</groupId>
2576 <artifactId>hadoop-client</artifactId>
2577 <version>${hadoop-three.version}</version>
2580 <groupId>org.apache.hadoop</groupId>
2581 <artifactId>hadoop-annotations</artifactId>
2582 <version>${hadoop-three.version}</version>
2584 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2585 Where do we actually need it? -->
2587 <groupId>org.apache.hadoop</groupId>
2588 <artifactId>hadoop-minicluster</artifactId>
2589 <version>${hadoop-three.version}</version>
2592 <groupId>commons-httpclient</groupId>
2593 <artifactId>commons-httpclient</artifactId>
2596 <groupId>javax.servlet.jsp</groupId>
2597 <artifactId>jsp-api</artifactId>
2600 <groupId>javax.servlet</groupId>
2601 <artifactId>servlet-api</artifactId>
2604 <groupId>stax</groupId>
2605 <artifactId>stax-api</artifactId>
2608 <groupId>io.netty</groupId>
2609 <artifactId>netty</artifactId>
2612 <groupId>com.google.code.findbugs</groupId>
2613 <artifactId>jsr305</artifactId>
2618 <groupId>org.apache.hadoop</groupId>
2619 <artifactId>hadoop-minikdc</artifactId>
2620 <version>${hadoop-three.version}</version>
2624 </dependencyManagement>
2627 <!-- profiles for the tests
2628 See as well the properties of the project for the values
2629 when no profile is active. -->
2631 <!-- Use it to launch all tests in the same JVM -->
2632 <id>singleJVMTests</id>
2634 <activeByDefault>false</activeByDefault>
2637 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2638 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2639 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2640 <surefire.firstPartGroups/>
2644 <!-- Use it to launch small tests only -->
2645 <id>runSmallTests</id>
2647 <activeByDefault>false</activeByDefault>
2650 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2651 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2652 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2653 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2654 <surefire.secondPartGroups/>
2658 <!-- Use it to launch medium tests only -->
2659 <id>runMediumTests</id>
2661 <activeByDefault>false</activeByDefault>
2664 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2665 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2666 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
2667 <surefire.secondPartGroups/>
2671 <!-- Use it to launch large tests only -->
2672 <id>runLargeTests</id>
2674 <activeByDefault>false</activeByDefault>
2677 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2678 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2679 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
2680 <surefire.secondPartGroups/>
2684 <!-- Use it to launch small & medium tests -->
2685 <id>runDevTests</id>
2687 <activeByDefault>false</activeByDefault>
2690 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2691 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2692 <surefire.skipSecondPart>false</surefire.skipSecondPart>
2693 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2694 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
2698 <!-- Use it to launch all tests -->
2699 <id>runAllTests</id>
2701 <activeByDefault>false</activeByDefault>
2704 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2705 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
2706 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2707 <surefire.skipSecondPart>false</surefire.skipSecondPart>
2708 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2709 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
2713 <id>runMiscTests</id>
2715 <activeByDefault>false</activeByDefault>
2718 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2719 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2720 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2721 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2722 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
2723 </surefire.firstPartGroups>
2724 <surefire.secondPartGroups></surefire.secondPartGroups>
2728 <id>runCoprocessorTests</id>
2730 <activeByDefault>false</activeByDefault>
2733 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2734 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2735 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2736 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2737 <surefire.firstPartGroups>
2738 org.apache.hadoop.hbase.testclassification.CoprocessorTests
2739 </surefire.firstPartGroups>
2740 <surefire.secondPartGroups></surefire.secondPartGroups>
2744 <id>runClientTests</id>
2746 <activeByDefault>false</activeByDefault>
2749 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2750 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2751 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2752 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2753 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
2754 </surefire.firstPartGroups>
2755 <surefire.secondPartGroups></surefire.secondPartGroups>
2759 <id>runMasterTests</id>
2761 <activeByDefault>false</activeByDefault>
2764 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2765 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2766 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2767 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2768 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
2769 </surefire.firstPartGroups>
2770 <surefire.secondPartGroups></surefire.secondPartGroups>
2774 <id>runMapredTests</id>
2776 <activeByDefault>false</activeByDefault>
2779 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2780 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2781 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2782 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2783 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
2784 </surefire.firstPartGroups>
2785 <surefire.secondPartGroups></surefire.secondPartGroups>
2789 <id>runMapreduceTests</id>
2791 <activeByDefault>false</activeByDefault>
2794 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2795 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2796 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2797 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2798 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
2799 </surefire.firstPartGroups>
2800 <surefire.secondPartGroups></surefire.secondPartGroups>
2804 <id>runRegionServerTests</id>
2806 <activeByDefault>false</activeByDefault>
2809 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2810 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2811 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2812 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2813 <surefire.firstPartGroups>
2814 org.apache.hadoop.hbase.testclassification.RegionServerTests
2815 </surefire.firstPartGroups>
2816 <surefire.secondPartGroups></surefire.secondPartGroups>
2820 <id>runVerySlowMapReduceTests</id>
2822 <activeByDefault>false</activeByDefault>
2825 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
2826 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2827 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2828 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2829 <surefire.firstPartGroups>
2830 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
2831 </surefire.firstPartGroups>
2832 <surefire.secondPartGroups></surefire.secondPartGroups>
2837 <id>runVerySlowRegionServerTests</id>
2839 <activeByDefault>false</activeByDefault>
2842 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
2843 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2844 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2845 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2846 <surefire.firstPartGroups>
2847 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
2848 </surefire.firstPartGroups>
2849 <surefire.secondPartGroups></surefire.secondPartGroups>
2854 <id>runFilterTests</id>
2856 <activeByDefault>false</activeByDefault>
2859 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2860 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2861 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2862 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2863 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
2864 </surefire.firstPartGroups>
2865 <surefire.secondPartGroups></surefire.secondPartGroups>
2871 <activeByDefault>false</activeByDefault>
2874 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2875 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2876 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2877 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2878 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
2879 </surefire.firstPartGroups>
2880 <surefire.secondPartGroups></surefire.secondPartGroups>
2884 <id>runRestTests</id>
2886 <activeByDefault>false</activeByDefault>
2889 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2890 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2891 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2892 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2893 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
2894 </surefire.firstPartGroups>
2895 <surefire.secondPartGroups></surefire.secondPartGroups>
2899 <id>runRPCTests</id>
2901 <activeByDefault>false</activeByDefault>
2904 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2905 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2906 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2907 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2908 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
2909 </surefire.firstPartGroups>
2910 <surefire.secondPartGroups></surefire.secondPartGroups>
2914 <id>runReplicationTests</id>
2916 <activeByDefault>false</activeByDefault>
2919 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2920 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2921 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2922 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2923 <surefire.firstPartGroups>
2924 org.apache.hadoop.hbase.testclassification.ReplicationTests
2925 </surefire.firstPartGroups>
2926 <surefire.secondPartGroups></surefire.secondPartGroups>
2930 <id>runSecurityTests</id>
2932 <activeByDefault>false</activeByDefault>
2935 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2936 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2937 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2938 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2939 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
2940 </surefire.firstPartGroups>
2941 <surefire.secondPartGroups></surefire.secondPartGroups>
2945 <id>runFlakeyTests</id>
2947 <activeByDefault>false</activeByDefault>
2950 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2951 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
2952 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2953 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2954 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
2955 </surefire.firstPartGroups>
2956 <surefire.secondPartGroups></surefire.secondPartGroups>
2961 <!-- Use it to launch tests locally-->
2969 <surefire.provider>surefire-junit4</surefire.provider>
2970 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2971 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2972 <surefire.firstPartGroups/>
2975 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
2976 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
2977 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
2978 The report will be generated under target/site/clover/index.html when you run
2979 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
2983 <activeByDefault>false</activeByDefault>
2989 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
2993 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
2994 our instrumented classes for the doclet will fail
2997 <groupId>org.apache.maven.plugins</groupId>
2998 <artifactId>maven-javadoc-plugin</artifactId>
3001 <groupId>com.atlassian.maven.plugins</groupId>
3002 <artifactId>maven-clover2-plugin</artifactId>
3003 <version>${clover.version}</version>
3008 <groupId>com.atlassian.maven.plugins</groupId>
3009 <artifactId>maven-clover2-plugin</artifactId>
3010 <version>${clover.version}</version>
3012 <includesAllSourceRoots>true</includesAllSourceRoots>
3013 <includesTestSourceRoots>true</includesTestSourceRoots>
3014 <targetPercentage>50%</targetPercentage>
3015 <generateHtml>true</generateHtml>
3016 <generateXml>true</generateXml>
3018 <exclude>**/generated/**</exclude>
3023 <id>clover-setup</id>
3024 <phase>process-sources</phase>
3044 <activeByDefault>false</activeByDefault>
3048 <!-- Turn on error-prone -->
3050 <groupId>org.apache.maven.plugins</groupId>
3051 <artifactId>maven-compiler-plugin</artifactId>
3052 <version>3.5.1</version>
3054 <compilerId>javac-with-errorprone</compilerId>
3055 <forceJavacCompilerUse>true</forceJavacCompilerUse>
3059 <groupId>org.codehaus.plexus</groupId>
3060 <artifactId>plexus-compiler-javac-errorprone</artifactId>
3061 <version>2.5</version>
3069 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3073 <artifactId>maven-project-info-reports-plugin</artifactId>
3074 <version>2.7</version>
3078 <report>cim</report>
3079 <report>dependencies</report>
3080 <report>dependency-convergence</report>
3081 <report>dependency-info</report>
3082 <report>dependency-management</report>
3083 <report>index</report>
3084 <report>issue-tracking</report>
3085 <report>license</report>
3086 <report>mailing-list</report>
3087 <report>plugin-management</report>
3088 <report>plugins</report>
3089 <report>project-team</report>
3090 <report>scm</report>
3091 <report>summary</report>
3095 <!-- see src/main/site/site.xml for selected reports -->
3097 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3102 <groupId>org.apache.maven.plugins</groupId>
3103 <artifactId>maven-javadoc-plugin</artifactId>
3104 <version>${javadoc.version}</version>
3110 <report>aggregate</report>
3113 <destDir>devapidocs</destDir>
3114 <name>Developer API</name>
3115 <description>The full HBase API, including private and unstable APIs</description>
3116 <sourceFileExcludes>
3117 <exclude>**/generated/*</exclude>
3118 <exclude>**/protobuf/*</exclude>
3119 <exclude>**/*.scala</exclude>
3120 </sourceFileExcludes>
3121 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3122 <show>private</show> <!-- (shows all classes and members) -->
3124 <linksource>true</linksource>
3125 <sourcetab>2</sourcetab>
3126 <validateLinks>true</validateLinks>
3127 <fixClassComment>true</fixClassComment>
3128 <fixFieldComment>true</fixFieldComment>
3129 <fixMethodComment>true</fixMethodComment>
3130 <fixTags>all</fixTags>
3131 <notimestamp>true</notimestamp>
3132 <!-- Pass some options straight to the javadoc executable since it is easier -->
3133 <additionalJOption>-J-Xmx2G</additionalJOption>
3134 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3135 <additionalDependencies>
3136 <additionalDependency>
3137 <groupId>org.mockito</groupId>
3138 <artifactId>mockito-all</artifactId>
3139 <version>${mockito-all.version}</version>
3140 </additionalDependency>
3141 <additionalDependency>
3142 <groupId>org.hamcrest</groupId>
3143 <artifactId>hamcrest-core</artifactId>
3144 <version>${hamcrest.version}</version>
3145 </additionalDependency>
3146 </additionalDependencies>
3147 <inherited>false</inherited>
3153 <report>test-aggregate</report>
3156 <destDir>testdevapidocs</destDir>
3157 <name>Developer API</name>
3158 <description>The full HBase API test code, including private and unstable APIs</description>
3159 <sourceFileExcludes>
3160 <exclude>**/generated/*</exclude>
3161 <exclude>**/protobuf/*</exclude>
3162 <exclude>**/*.scala</exclude>
3163 </sourceFileExcludes>
3164 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3165 <show>private</show> <!-- (shows all classes and members) -->
3167 <linksource>true</linksource>
3168 <sourcetab>2</sourcetab>
3169 <validateLinks>true</validateLinks>
3170 <fixClassComment>true</fixClassComment>
3171 <fixFieldComment>true</fixFieldComment>
3172 <fixMethodComment>true</fixMethodComment>
3173 <fixTags>all</fixTags>
3174 <notimestamp>true</notimestamp>
3175 <!-- Pass some options straight to the javadoc executable since it is easier -->
3176 <additionalJOption>-J-Xmx2G</additionalJOption>
3177 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3178 <additionalDependencies>
3179 <additionalDependency>
3180 <groupId>org.mockito</groupId>
3181 <artifactId>mockito-all</artifactId>
3182 <version>${mockito-all.version}</version>
3183 </additionalDependency>
3184 <additionalDependency>
3185 <groupId>org.hamcrest</groupId>
3186 <artifactId>hamcrest-core</artifactId>
3187 <version>${hamcrest.version}</version>
3188 </additionalDependency>
3189 </additionalDependencies>
3190 <inherited>false</inherited>
3198 <report>aggregate</report>
3202 org.apache.hadoop.hbase.classification.tools.IncludePublicAnnotationsStandardDoclet
3205 <groupId>org.apache.hbase</groupId>
3206 <artifactId>hbase-annotations</artifactId>
3207 <version>${project.version}</version>
3209 <useStandardDocletOptions>true</useStandardDocletOptions>
3210 <destDir>apidocs</destDir>
3211 <name>User API</name>
3212 <description>The HBase Application Programmer's API</description>
3213 <excludePackageNames>
3214 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*
3215 </excludePackageNames>
3216 <!-- switch on dependency-driven aggregation -->
3217 <includeDependencySources>false</includeDependencySources>
3218 <dependencySourceIncludes>
3219 <!-- include ONLY dependencies I control -->
3220 <dependencySourceInclude>org.apache.hbase:hbase-annotations</dependencySourceInclude>
3221 </dependencySourceIncludes>
3222 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3223 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3225 <linksource>true</linksource>
3226 <sourcetab>2</sourcetab>
3227 <validateLinks>true</validateLinks>
3228 <fixClassComment>true</fixClassComment>
3229 <fixFieldComment>true</fixFieldComment>
3230 <fixMethodComment>true</fixMethodComment>
3231 <fixTags>all</fixTags>
3232 <notimestamp>true</notimestamp>
3233 <!-- Pass some options straight to the javadoc executable since it is easier -->
3234 <additionalJOption>-J-Xmx2G</additionalJOption>
3235 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3236 <additionalDependencies>
3237 <additionalDependency>
3238 <groupId>org.mockito</groupId>
3239 <artifactId>mockito-all</artifactId>
3240 <version>${mockito-all.version}</version>
3241 </additionalDependency>
3242 <additionalDependency>
3243 <groupId>org.hamcrest</groupId>
3244 <artifactId>hamcrest-core</artifactId>
3245 <version>${hamcrest.version}</version>
3246 </additionalDependency>
3247 </additionalDependencies>
3248 <inherited>false</inherited>
3251 <!-- User Test API -->
3253 <id>testuserapi</id>
3255 <report>test-aggregate</report>
3259 org.apache.hadoop.hbase.classification.tools.IncludePublicAnnotationsStandardDoclet
3262 <groupId>org.apache.hbase</groupId>
3263 <artifactId>hbase-annotations</artifactId>
3264 <version>${project.version}</version>
3266 <useStandardDocletOptions>true</useStandardDocletOptions>
3267 <destDir>testapidocs</destDir>
3268 <name>User API</name>
3269 <description>The HBase Application Programmer's API</description>
3270 <excludePackageNames>
3271 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*
3272 </excludePackageNames>
3273 <!-- switch on dependency-driven aggregation -->
3274 <includeDependencySources>false</includeDependencySources>
3275 <dependencySourceIncludes>
3276 <!-- include ONLY dependencies I control -->
3277 <dependencySourceInclude>org.apache.hbase:hbase-annotations</dependencySourceInclude>
3278 </dependencySourceIncludes>
3279 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3280 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3282 <linksource>true</linksource>
3283 <sourcetab>2</sourcetab>
3284 <validateLinks>true</validateLinks>
3285 <fixClassComment>true</fixClassComment>
3286 <fixFieldComment>true</fixFieldComment>
3287 <fixMethodComment>true</fixMethodComment>
3288 <fixTags>all</fixTags>
3289 <notimestamp>true</notimestamp>
3290 <!-- Pass some options straight to the javadoc executable since it is easier -->
3291 <additionalJOption>-J-Xmx2G</additionalJOption>
3292 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3293 <additionalDependencies>
3294 <additionalDependency>
3295 <groupId>org.mockito</groupId>
3296 <artifactId>mockito-all</artifactId>
3297 <version>${mockito-all.version}</version>
3298 </additionalDependency>
3299 <additionalDependency>
3300 <groupId>org.hamcrest</groupId>
3301 <artifactId>hamcrest-core</artifactId>
3302 <version>${hamcrest.version}</version>
3303 </additionalDependency>
3304 </additionalDependencies>
3305 <inherited>false</inherited>
3312 <groupId>org.apache.maven.plugins</groupId>
3313 <artifactId>maven-checkstyle-plugin</artifactId>
3314 <version>2.17</version>
3316 <excludes>target/**</excludes>
3317 <configLocation>hbase/checkstyle.xml</configLocation>
3318 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
3323 <groupId>org.scala-tools</groupId>
3324 <artifactId>maven-scala-plugin</artifactId>
3328 <distributionManagement>
3330 <id>hbase.apache.org</id>
3331 <name>HBase Website at hbase.apache.org</name>
3332 <!-- On why this is the tmp dir and not hbase.apache.org, see
3333 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3335 <url>file:///tmp</url>
3337 </distributionManagement>
3340 <id>project.local</id>
3341 <name>project</name>
3342 <url>file:${project.basedir}/src/main/site/resources/repo</url>