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>
579 <groupId>kr.motd.maven</groupId>
580 <artifactId>os-maven-plugin</artifactId>
581 <version>${os.maven.version}</version>
584 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
585 For specific version use a property and define it in the parent pom.
590 <groupId>org.apache.maven.plugins</groupId>
591 <artifactId>maven-dependency-plugin</artifactId>
592 <version>${maven.dependency.version}</version>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-javadoc-plugin</artifactId>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-remote-resources-plugin</artifactId>
603 <groupId>org.apache.maven.plugins</groupId>
604 <artifactId>maven-shade-plugin</artifactId>
605 <version>${maven.shade.version}</version>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-release-plugin</artifactId>
611 <!--You need this profile. It'll sign your artifacts.
612 I'm not sure if this config. actually works though.
613 I've been specifying -Papache-release on the command-line
615 <releaseProfiles>apache-release</releaseProfiles>
616 <!--This stops our running tests for each stage of maven release.
617 But it builds the test jar. From SUREFIRE-172.
619 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
620 <goals>${goals}</goals>
621 <pomFileName>pom.xml</pomFileName>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-compiler-plugin</artifactId>
627 <version>${maven.compiler.version}</version>
629 <source>${compileSource}</source>
630 <target>${compileSource}</target>
631 <showWarnings>true</showWarnings>
632 <showDeprecation>false</showDeprecation>
633 <useIncrementalCompilation>false</useIncrementalCompilation>
634 <compilerArgument>-Xlint:-options</compilerArgument>
637 <!-- Test oriented plugins -->
639 <groupId>org.apache.maven.plugins</groupId>
640 <artifactId>maven-surefire-plugin</artifactId>
641 <version>${surefire.version}</version>
643 <!-- by default surefire selects dynamically the connector to the unit tests
644 tool. We want to use always the same as the different connectors can have different
645 bugs and behaviour. -->
647 <groupId>org.apache.maven.surefire</groupId>
648 <artifactId>${surefire.provider}</artifactId>
649 <version>${surefire.version}</version>
652 <!-- Generic testing configuration for all packages -->
654 <groups>${surefire.firstPartGroups}</groups>
655 <failIfNoTests>false</failIfNoTests>
656 <skip>${surefire.skipFirstPart}</skip>
657 <forkCount>${surefire.firstPartForkCount}</forkCount>
658 <reuseForks>false</reuseForks>
659 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
660 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
661 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
662 <systemPropertyVariables>
663 <test.build.classes>${test.build.classes}</test.build.classes>
664 <!--For shaded netty, to find the relocated .so.
666 https://stackoverflow.com/questions/33825743/rename-files-inside-a-jar-using-some-maven-plugin
668 The netty jar has a .so in it. Shading requires rename of the .so and then passing a system
669 property so netty finds the renamed .so and associates it w/ the relocated netty files.
671 The relocated netty is in hbase-thirdparty dependency. Just set this propery globally rather
674 <org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>org.apache.hadoop.hbase.shaded.</org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>
675 </systemPropertyVariables>
678 <!-- users can add -D option to skip particular test classes
679 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
681 <exclude>${test.exclude.pattern}</exclude>
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>
766 <!-- General configuration for submodules who want to build a test jar -->
768 <groupId>org.apache.maven.plugins</groupId>
769 <artifactId>maven-jar-plugin</artifactId>
772 <phase>prepare-package</phase>
774 <!--This goal will install a -test.jar when we do install
775 See http://maven.apache.org/guides/mini/guide-attached-tests.html
777 <goal>test-jar</goal>
782 <skipIfEmpty>true</skipIfEmpty>
784 <exclude>hbase-site.xml</exclude>
785 <exclude>hdfs-site.xml</exclude>
786 <exclude>log4j.properties</exclude>
787 <exclude>mapred-queues.xml</exclude>
788 <exclude>mapred-site.xml</exclude>
789 <!--I was seeing this w/o the below addition:
790 [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]
792 <exclude>*.jar</exclude>
796 <!-- General config for eclipse classpath/settings -->
798 <groupId>org.apache.maven.plugins</groupId>
799 <artifactId>maven-eclipse-plugin</artifactId>
800 <version>${maven.eclipse.version}</version>
802 <!--This plugin's configuration is used to store Eclipse m2e settings
803 only. It has no influence on the Maven build itself. m2e does not
804 provide any safeguards against rogue maven plugins that leak
805 classloaders, modify random files inside workspace or throw nasty
806 exceptions to fail the build.
807 Top level doesn't do any specific configuration currently - left
808 to modules to decide what they want to bind, sans those plugins
809 defined in this pom. -->
811 <groupId>org.eclipse.m2e</groupId>
812 <artifactId>lifecycle-mapping</artifactId>
813 <version>${lifecycle.mapping.version}</version>
815 <lifecycleMappingMetadata>
818 <pluginExecutionFilter>
819 <groupId>org.jacoco</groupId>
820 <artifactId>jacoco-maven-plugin</artifactId>
821 <versionRange>[0.6.2.201302030002,)</versionRange>
823 <goal>prepare-agent</goal>
825 </pluginExecutionFilter>
831 <pluginExecutionFilter>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-enforcer-plugin</artifactId>
834 <versionRange>${enforcer.version}</versionRange>
838 </pluginExecutionFilter>
844 <pluginExecutionFilter>
845 <groupId>org.apache.maven.plugins</groupId>
846 <artifactId>maven-remote-resources-plugin</artifactId>
847 <versionRange>[1.5,)</versionRange>
852 </pluginExecutionFilter>
858 <pluginExecutionFilter>
859 <groupId>org.codehaus.mojo</groupId>
860 <artifactId>buildnumber-maven-plugin</artifactId>
861 <versionRange>[1.3,)</versionRange>
863 <goal>create-timestamp</goal>
865 </pluginExecutionFilter>
868 <runOnConfiguration>true</runOnConfiguration>
869 <runOnIncremental>true</runOnIncremental>
874 </lifecycleMappingMetadata>
878 <!-- excludes are inherited -->
879 <groupId>org.apache.rat</groupId>
880 <artifactId>apache-rat-plugin</artifactId>
881 <version>${apache.rat.version}</version>
884 <exclude>**/*.versionsBackup</exclude>
885 <exclude>**/*.log</exclude>
886 <exclude>**/.*</exclude>
887 <exclude>**/*.tgz</exclude>
888 <exclude>**/*.orig</exclude>
889 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
890 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
891 <exclude>**/0000000000000016310</exclude>
892 <exclude>**/.idea/**</exclude>
893 <exclude>**/*.iml</exclude>
894 <exclude>**/CHANGES.txt</exclude>
895 <exclude>**/generated/**</exclude>
896 <exclude>**/gen-*/**</exclude>
897 <!-- No material contents -->
898 <exclude>conf/regionservers</exclude>
899 <exclude>**/*.avpr</exclude>
900 <exclude>**/*.svg</exclude>
901 <!-- non-standard notice file from jruby included by reference -->
902 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
903 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
904 <exclude>**/src/main/asciidoc/hbase.css</exclude>
905 <!-- MIT http://jquery.org/license -->
906 <exclude>**/jquery.min.js</exclude>
907 <!-- vector graphics -->
908 <exclude>**/*.vm</exclude>
909 <!-- apache doxia generated -->
910 <exclude>**/control</exclude>
911 <exclude>**/conffile</exclude>
912 <!-- auto-gen docs -->
913 <exclude>docs/*</exclude>
914 <exclude>logs/*</exclude>
915 <!-- exclude source control files -->
916 <exclude>.git/**</exclude>
917 <exclude>.svn/**</exclude>
918 <exclude>**/.settings/**</exclude>
919 <exclude>**/patchprocess/**</exclude>
920 <exclude>src/site/resources/repo/**</exclude>
921 <exclude>**/dependency-reduced-pom.xml</exclude>
922 <exclude>**/rat.txt</exclude>
923 <!-- exclude the shaded protobuf files -->
924 <exclude>**/shaded/com/google/protobuf/**</exclude>
925 <exclude>**/src/main/patches/**</exclude>
930 <artifactId>maven-assembly-plugin</artifactId>
932 <!--Defer to the hbase-assembly sub-module. It
934 <skipAssembly>true</skipAssembly>
938 <groupId>org.xolstice.maven.plugins</groupId>
939 <artifactId>protobuf-maven-plugin</artifactId>
940 <version>${protobuf.plugin.version}</version>
942 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
943 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
944 <clearOutputDirectory>false</clearOutputDirectory>
945 <checkStaleness>true</checkStaleness>
949 <groupId>org.apache.maven.plugins</groupId>
950 <artifactId>maven-checkstyle-plugin</artifactId>
951 <version>${maven.checkstyle.version}</version>
954 <groupId>org.apache.hbase</groupId>
955 <artifactId>hbase-checkstyle</artifactId>
956 <version>${project.version}</version>
959 <groupId>com.puppycrawl.tools</groupId>
960 <artifactId>checkstyle</artifactId>
961 <version>${checkstyle.version}</version>
965 <configLocation>hbase/checkstyle.xml</configLocation>
966 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
967 <includeTestSourceDirectory>true</includeTestSourceDirectory>
974 <groupId>org.codehaus.mojo</groupId>
975 <artifactId>build-helper-maven-plugin</artifactId>
978 <id>negate-license-bundles-property</id>
980 <goal>bsh-property</goal>
983 <source>skip.license.check = !${license.bundles.dependencies};</source>
985 <property>skip.license.check</property>
992 <groupId>org.apache.maven.plugins</groupId>
993 <artifactId>maven-enforcer-plugin</artifactId>
994 <version>${enforcer.version}</version>
997 <groupId>org.codehaus.mojo</groupId>
998 <artifactId>extra-enforcer-rules</artifactId>
999 <version>${extra.enforcer.version}</version>
1002 <!-- version set by parent -->
1005 <id>min-maven-min-java-banned-xerces</id>
1007 <goal>enforce</goal>
1011 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1012 <requireMavenVersion>
1013 <version>[${maven.min.version},)</version>
1014 <message>Maven is out of date.
1015 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1016 You appear to be using an older version. You can use either "mvn -version" or
1017 "mvn enforcer:display-info" to verify what version is active.
1018 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1020 </requireMavenVersion>
1021 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1022 <requireJavaVersion>
1023 <version>[${java.min.version},)</version>
1024 <message>Java is out of date.
1025 HBase requirs at least version ${java.min.version} of the JDK to properly build from source.
1026 You appear to be using an older version. You can use either "mvn -version" or
1027 "mvn enforcer:display-info" to verify what version is active.
1028 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1030 </requireJavaVersion>
1031 <bannedDependencies>
1033 <exclude>xerces:xercesImpl</exclude>
1035 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1036 </bannedDependencies>
1041 <id>banned-jsr305</id>
1043 <goal>enforce</goal>
1047 <bannedDependencies>
1049 <exclude>com.google.code.findbugs:jsr305</exclude>
1051 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1052 </bannedDependencies>
1057 <id>banned-scala</id>
1059 <goal>enforce</goal>
1063 <bannedDependencies>
1065 <exclude>org.scala-lang:scala-library</exclude>
1067 <message>We don't allow Scala outside of the hbase-spark module, see HBASE-13992.</message>
1068 </bannedDependencies>
1073 <id>banned-hbase-spark</id>
1075 <goal>enforce</goal>
1079 <bannedDependencies>
1081 <exclude>org.apache.hbase:hbase-spark</exclude>
1083 <message>We don't allow other modules to depend on hbase-spark, see HBASE-13992.</message>
1084 </bannedDependencies>
1089 <id>check-aggregate-license</id>
1090 <!-- must check after LICENSE is built at 'generate-resources' -->
1091 <phase>process-resources</phase>
1093 <goal>enforce</goal>
1099 File license = new File("${license.aggregate.path}");
1101 // Beanshell does not support try-with-resources,
1102 // so we must close this scanner manually
1103 Scanner scanner = new Scanner(license);
1105 while (scanner.hasNextLine()) {
1106 if (scanner.nextLine().startsWith("ERROR:")) {
1115 License errors detected, for more detail find ERROR in
1116 ${license.aggregate.path}
1118 </evaluateBeanshell>
1120 <skip>${skip.license.check}</skip>
1125 <!-- parent-module only plugins -->
1127 <groupId>org.codehaus.mojo</groupId>
1128 <artifactId>xml-maven-plugin</artifactId>
1129 <version>${xml.maven.version}</version>
1130 <inherited>false</inherited>
1133 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1135 <goal>transform</goal>
1141 <transformationSets>
1142 <!-- For asciidoc -->
1144 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1145 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1147 <include>hbase-default.xml</include>
1149 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1151 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1152 <pattern>^(.*)\.xml$</pattern>
1153 <replacement>$1.adoc</replacement>
1156 <outputDir>${basedir}/target/asciidoc</outputDir>
1157 </transformationSet>
1158 </transformationSets>
1161 <!-- Special configuration for findbugs just in the parent so
1162 the filter file location can be more general (see definition in pluginManagement) -->
1164 <groupId>org.codehaus.mojo</groupId>
1165 <artifactId>findbugs-maven-plugin</artifactId>
1168 <inherited>false</inherited>
1170 <goal>findbugs</goal>
1173 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1179 <groupId>org.apache.maven.plugins</groupId>
1180 <artifactId>maven-checkstyle-plugin</artifactId>
1183 <groupId>org.apache.hbase</groupId>
1184 <artifactId>hbase-checkstyle</artifactId>
1185 <version>${project.version}</version>
1188 <groupId>com.puppycrawl.tools</groupId>
1189 <artifactId>checkstyle</artifactId>
1190 <version>${checkstyle.version}</version>
1194 <configLocation>hbase/checkstyle.xml</configLocation>
1195 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
1196 <includeTestSourceDirectory>true</includeTestSourceDirectory>
1200 <groupId>org.apache.maven.plugins</groupId>
1201 <artifactId>maven-site-plugin</artifactId>
1202 <version>${maven.site.version}</version>
1203 <inherited>false</inherited>
1206 <!-- add support for ssh/scp -->
1207 <groupId>org.apache.maven.wagon</groupId>
1208 <artifactId>wagon-ssh</artifactId>
1209 <version>${wagon.ssh.version}</version>
1213 <siteDirectory>${basedir}/src/site</siteDirectory>
1214 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1215 <inputEncoding>UTF-8</inputEncoding>
1216 <outputEncoding>UTF-8</outputEncoding>
1219 <!-- For AsciiDoc docs building -->
1221 <groupId>org.asciidoctor</groupId>
1222 <artifactId>asciidoctor-maven-plugin</artifactId>
1223 <version>${asciidoctor.plugin.version}</version>
1224 <inherited>false</inherited>
1227 <groupId>org.asciidoctor</groupId>
1228 <artifactId>asciidoctorj-pdf</artifactId>
1229 <version>${asciidoctorj.pdf.version}</version>
1233 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1234 <doctype>book</doctype>
1235 <imagesDir>images</imagesDir>
1236 <sourceHighlighter>coderay</sourceHighlighter>
1238 <docVersion>${project.version}</docVersion>
1243 <id>output-html</id>
1246 <goal>process-asciidoc</goal>
1250 <stylesheet>hbase.css</stylesheet>
1252 <backend>html5</backend>
1259 <goal>process-asciidoc</goal>
1262 <backend>pdf</backend>
1267 <idseparator>-</idseparator>
1274 <groupId>org.apache.maven.plugins</groupId>
1275 <artifactId>maven-resources-plugin</artifactId>
1276 <!--$NO-MVN-MAN-VER$ -->
1277 <inherited>false</inherited>
1280 <id>copy-htaccess</id>
1282 <goal>copy-resources</goal>
1286 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1289 <directory>${basedir}/src/site/resources/</directory>
1291 <include>.htaccess</include>
1297 <!-- needed to make the redirect above work -->
1299 <id>copy-empty-book-dir</id>
1301 <goal>copy-resources</goal>
1305 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1308 <directory>${basedir}/src/site/resources/</directory>
1310 <include>book/**</include>
1318 <escapeString>\</escapeString>
1322 <groupId>org.apache.maven.plugins</groupId>
1323 <artifactId>maven-antrun-plugin</artifactId>
1324 <version>${maven.antrun.version}</version>
1325 <inherited>false</inherited>
1326 <!-- Rename the book.pdf generated by asciidoctor -->
1332 <target name="rename file">
1333 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1343 <groupId>org.codehaus.mojo</groupId>
1344 <artifactId>buildnumber-maven-plugin</artifactId>
1347 <phase>validate</phase>
1349 <goal>create-timestamp</goal>
1354 <timestampFormat>yyyy</timestampFormat>
1355 <timestampPropertyName>build.year</timestampPropertyName>
1359 <groupId>org.apache.felix</groupId>
1360 <artifactId>maven-bundle-plugin</artifactId>
1361 <version>${maven.bundle.version}</version>
1362 <inherited>true</inherited>
1363 <extensions>true</extensions>
1366 <groupId>org.scala-tools</groupId>
1367 <artifactId>maven-scala-plugin</artifactId>
1368 <version>${maven.scala.version}</version>
1373 <!-- override on command line to have generated LICENSE files include
1374 diagnostic info for verifying notice requirements -->
1375 <license.debug.print.included>false</license.debug.print.included>
1376 <!-- When a particular module bundles its depenendencies, should be true -->
1377 <license.bundles.dependencies>false</license.bundles.dependencies>
1378 <!-- modules that include a the logo in their source tree should set true -->
1379 <license.bundles.logo>false</license.bundles.logo>
1380 <!-- modules that include bootstrap in their source tree should set true -->
1381 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1382 <!-- modules that include jquery in their source tree should set true -->
1383 <license.bundles.jquery>false</license.bundles.jquery>
1384 <!-- where to find the generated LICENSE files -->
1385 <license.aggregate.path>
1386 ${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE
1387 </license.aggregate.path>
1388 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1389 <maven.build.timestamp.format>
1391 </maven.build.timestamp.format>
1392 <buildDate>${maven.build.timestamp}</buildDate>
1393 <compileSource>1.8</compileSource>
1394 <!-- Build dependencies -->
1395 <maven.min.version>3.0.4</maven.min.version>
1396 <java.min.version>${compileSource}</java.min.version>
1397 <!-- Dependencies -->
1398 <hadoop-two.version>2.7.4</hadoop-two.version>
1399 <hadoop-three.version>3.0.0-alpha4</hadoop-three.version>
1400 <!-- These must be defined here for downstream build tools that don't look at profiles.
1401 They ought to match the values found in our default hadoop profile, which is
1402 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1403 <hadoop.version>${hadoop-two.version}</hadoop.version>
1404 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1405 <compat.module>hbase-hadoop2-compat</compat.module>
1406 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1407 <audience-annotations.version>0.5.0</audience-annotations.version>
1408 <!-- end HBASE-15925 default hadoop compatibility values -->
1409 <avro.version>1.7.7</avro.version>
1410 <commons-cli.version>1.4</commons-cli.version>
1411 <commons-codec.version>1.10</commons-codec.version>
1412 <!-- pretty outdated -->
1413 <commons-io.version>2.5</commons-io.version>
1414 <commons-lang3.version>3.6</commons-lang3.version>
1415 <commons-logging.version>1.2</commons-logging.version>
1416 <commons-math.version>3.6.1</commons-math.version>
1417 <disruptor.version>3.3.6</disruptor.version>
1418 <!-- Do not use versions earlier than 3.2.2 due to a security vulnerability -->
1419 <collections.version>4.1</collections.version>
1420 <httpclient.version>4.5.3</httpclient.version>
1421 <httpcore.version>4.4.6</httpcore.version>
1422 <metrics-core.version>3.2.1</metrics-core.version>
1423 <jackson.version>2.9.2</jackson.version>
1424 <jaxb-api.version>2.2.12</jaxb-api.version>
1425 <jetty.version>9.4.6.v20170531</jetty.version>
1426 <jetty-jsp.version>9.2.19.v20160908</jetty-jsp.version>
1427 <servlet.api.version>3.1.0</servlet.api.version>
1428 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1429 <jersey.version>2.25.1</jersey.version>
1430 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1431 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1432 <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
1433 <jruby.version>9.1.10.0</jruby.version>
1434 <junit.version>4.12</junit.version>
1435 <hamcrest.version>1.3</hamcrest.version>
1436 <htrace.version>4.2.0-incubating</htrace.version>
1437 <htrace-hadoop.version>3.2.0-incubating</htrace-hadoop.version>
1438 <log4j.version>1.2.17</log4j.version>
1439 <mockito-core.version>2.1.0</mockito-core.version>
1440 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1441 <external.protobuf.version>2.5.0</external.protobuf.version>
1442 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1443 <thrift.path>thrift</thrift.path>
1444 <thrift.version>0.9.3</thrift.version>
1445 <zookeeper.version>3.4.10</zookeeper.version>
1446 <slf4j.version>1.7.24</slf4j.version>
1447 <clover.version>4.0.3</clover.version>
1448 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1449 <jettison.version>1.3.8</jettison.version>
1450 <!--This property is for hadoops netty. HBase netty
1451 comes in via hbase-thirdparty hbase-shaded-netty-->
1452 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1453 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1454 <joni.version>2.1.11</joni.version>
1455 <jcodings.version>1.0.18</jcodings.version>
1456 <spy.version>2.12.2</spy.version>
1457 <bouncycastle.version>1.46</bouncycastle.version>
1458 <kerby.version>1.0.1</kerby.version>
1459 <commons-crypto.version>1.0.0</commons-crypto.version>
1460 <curator.version>4.0.0</curator.version>
1461 <!-- Plugin Dependencies -->
1462 <apache.rat.version>0.12</apache.rat.version>
1463 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1464 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1465 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1466 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1467 <checkstyle.version>6.18</checkstyle.version>
1468 <exec.maven.version>1.6.0</exec.maven.version>
1469 <error-prone.version>2.1.1</error-prone.version>
1470 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1471 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1472 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1473 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1474 <maven.antrun.version>1.8</maven.antrun.version>
1475 <maven.bundle.version>3.3.0</maven.bundle.version>
1476 <maven.checkstyle.version>2.17</maven.checkstyle.version>
1477 <maven.compiler.version>3.6.1</maven.compiler.version>
1478 <maven.dependency.version>3.0.1</maven.dependency.version>
1479 <maven.eclipse.version>2.10</maven.eclipse.version>
1480 <maven.install.version>2.5.2</maven.install.version>
1481 <maven.jar.version>3.0.2</maven.jar.version>
1482 <maven.patch.version>1.2</maven.patch.version>
1483 <maven.scala.version>2.15.2</maven.scala.version>
1484 <maven.shade.version>3.0.0</maven.shade.version>
1485 <maven.site.version>3.4</maven.site.version>
1486 <maven.source.version>3.0.1</maven.source.version>
1487 <os.maven.version>1.5.0.Final</os.maven.version>
1488 <plexus.errorprone.javac.version>2.8.2</plexus.errorprone.javac.version>
1489 <scala.maven.version>3.2.2</scala.maven.version>
1490 <scalatest.maven.version>1.0</scalatest.maven.version>
1491 <spotbugs.version>3.1.0-RC3</spotbugs.version>
1492 <wagon.ssh.version>2.12</wagon.ssh.version>
1493 <xml.maven.version>1.0.1</xml.maven.version>
1494 <hbase-thirdparty.version>1.0.1</hbase-thirdparty.version>
1495 <!-- General Packaging -->
1496 <package.prefix>/usr</package.prefix>
1497 <package.conf.dir>/etc/hbase</package.conf.dir>
1498 <package.log.dir>/var/log/hbase</package.log.dir>
1499 <package.pid.dir>/var/run/hbase</package.pid.dir>
1500 <package.release>1</package.release>
1501 <final.name>${project.artifactId}-${project.version}</final.name>
1502 <!-- Intraproject jar naming properties -->
1503 <!-- TODO this is pretty ugly, but works for the moment.
1504 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1505 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1506 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1507 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1508 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1509 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1510 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1511 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1512 <shell-executable>bash</shell-executable>
1513 <surefire.version>2.20.1</surefire.version>
1514 <surefire.provider>surefire-junit47</surefire.provider>
1515 <!-- default: run small & medium, medium with 2 threads -->
1516 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1517 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1518 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1519 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1520 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1521 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1522 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1523 <test.output.tofile>true</test.output.tofile>
1524 <surefire.timeout>900</surefire.timeout>
1525 <test.exclude.pattern></test.exclude.pattern>
1526 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1527 <surefire.Xmx>2800m</surefire.Xmx>
1528 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1529 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1531 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1532 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1533 -Djava.awt.headless=true
1534 </hbase-surefire.argLine>
1535 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1536 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1537 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1538 </hbase-surefire.cygwin-argLine>
1539 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1540 <argLine>${hbase-surefire.argLine}</argLine>
1541 <jacoco.version>0.7.5.201505241946</jacoco.version>
1542 <extra.enforcer.version>1.0-beta-6</extra.enforcer.version>
1543 <enforcer.version>3.0.0-M1</enforcer.version>
1544 <!-- Location of test resources -->
1545 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1546 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1547 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1548 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1549 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1550 <build.id>${maven.build.timestamp}</build.id>
1552 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1553 <dependencyManagement>
1556 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1557 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1558 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1559 implementation of the same, because Hadoop also uses this version
1560 javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1
1562 <!-- Intra-module dependencies -->
1564 <groupId>org.apache.hbase</groupId>
1565 <artifactId>hbase-annotations</artifactId>
1566 <version>${project.version}</version>
1567 <type>test-jar</type>
1568 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1571 <artifactId>hbase-backup</artifactId>
1572 <groupId>org.apache.hbase</groupId>
1573 <version>${project.version}</version>
1576 <groupId>org.apache.hbase</groupId>
1577 <artifactId>hbase-error-prone</artifactId>
1578 <version>${project.version}</version>
1581 <groupId>org.apache.hbase</groupId>
1582 <artifactId>hbase-common</artifactId>
1583 <version>${project.version}</version>
1586 <groupId>org.apache.hbase</groupId>
1587 <artifactId>hbase-common</artifactId>
1588 <version>${project.version}</version>
1589 <type>test-jar</type>
1593 <groupId>org.apache.hbase</groupId>
1594 <artifactId>hbase-protocol-shaded</artifactId>
1595 <version>${project.version}</version>
1598 <groupId>org.apache.hbase</groupId>
1599 <artifactId>hbase-protocol</artifactId>
1600 <version>${project.version}</version>
1603 <groupId>org.apache.hbase</groupId>
1604 <artifactId>hbase-procedure</artifactId>
1605 <version>${project.version}</version>
1608 <groupId>org.apache.hbase</groupId>
1609 <artifactId>hbase-procedure</artifactId>
1610 <version>${project.version}</version>
1611 <type>test-jar</type>
1614 <groupId>org.apache.hbase</groupId>
1615 <artifactId>hbase-hadoop-compat</artifactId>
1616 <version>${project.version}</version>
1619 <groupId>org.apache.hbase</groupId>
1620 <artifactId>hbase-hadoop-compat</artifactId>
1621 <version>${project.version}</version>
1622 <type>test-jar</type>
1626 <groupId>org.apache.hbase</groupId>
1627 <artifactId>${compat.module}</artifactId>
1628 <version>${project.version}</version>
1631 <groupId>org.apache.hbase</groupId>
1632 <artifactId>${compat.module}</artifactId>
1633 <version>${project.version}</version>
1634 <type>test-jar</type>
1638 <artifactId>hbase-rsgroup</artifactId>
1639 <groupId>org.apache.hbase</groupId>
1640 <version>${project.version}</version>
1643 <artifactId>hbase-rsgroup</artifactId>
1644 <groupId>org.apache.hbase</groupId>
1645 <version>${project.version}</version>
1646 <type>test-jar</type>
1650 <artifactId>hbase-replication</artifactId>
1651 <groupId>org.apache.hbase</groupId>
1652 <version>${project.version}</version>
1655 <artifactId>hbase-http</artifactId>
1656 <groupId>org.apache.hbase</groupId>
1657 <version>${project.version}</version>
1660 <artifactId>hbase-http</artifactId>
1661 <groupId>org.apache.hbase</groupId>
1662 <version>${project.version}</version>
1663 <type>test-jar</type>
1667 <artifactId>hbase-server</artifactId>
1668 <groupId>org.apache.hbase</groupId>
1669 <version>${project.version}</version>
1672 <artifactId>hbase-server</artifactId>
1673 <groupId>org.apache.hbase</groupId>
1674 <version>${project.version}</version>
1675 <type>test-jar</type>
1679 <artifactId>hbase-mapreduce</artifactId>
1680 <groupId>org.apache.hbase</groupId>
1681 <version>${project.version}</version>
1684 <artifactId>hbase-mapreduce</artifactId>
1685 <groupId>org.apache.hbase</groupId>
1686 <version>${project.version}</version>
1687 <type>test-jar</type>
1691 <artifactId>hbase-endpoint</artifactId>
1692 <groupId>org.apache.hbase</groupId>
1693 <version>${project.version}</version>
1696 <artifactId>hbase-shell</artifactId>
1697 <groupId>org.apache.hbase</groupId>
1698 <version>${project.version}</version>
1701 <artifactId>hbase-shell</artifactId>
1702 <groupId>org.apache.hbase</groupId>
1703 <version>${project.version}</version>
1704 <type>test-jar</type>
1708 <artifactId>hbase-thrift</artifactId>
1709 <groupId>org.apache.hbase</groupId>
1710 <version>${project.version}</version>
1713 <artifactId>hbase-thrift</artifactId>
1714 <groupId>org.apache.hbase</groupId>
1715 <version>${project.version}</version>
1716 <type>test-jar</type>
1720 <groupId>org.apache.hbase</groupId>
1721 <artifactId>hbase-testing-util</artifactId>
1722 <version>${project.version}</version>
1726 <artifactId>hbase-examples</artifactId>
1727 <groupId>org.apache.hbase</groupId>
1728 <version>${project.version}</version>
1731 <groupId>org.apache.hbase</groupId>
1732 <artifactId>hbase-external-blockcache</artifactId>
1733 <version>${project.version}</version>
1736 <artifactId>hbase-it</artifactId>
1737 <groupId>org.apache.hbase</groupId>
1738 <version>${project.version}</version>
1739 <type>test-jar</type>
1743 <artifactId>hbase-client</artifactId>
1744 <groupId>org.apache.hbase</groupId>
1745 <version>${project.version}</version>
1748 <artifactId>hbase-metrics-api</artifactId>
1749 <groupId>org.apache.hbase</groupId>
1750 <version>${project.version}</version>
1753 <artifactId>hbase-metrics-api</artifactId>
1754 <groupId>org.apache.hbase</groupId>
1755 <version>${project.version}</version>
1756 <type>test-jar</type>
1760 <artifactId>hbase-metrics</artifactId>
1761 <groupId>org.apache.hbase</groupId>
1762 <version>${project.version}</version>
1765 <artifactId>hbase-metrics</artifactId>
1766 <groupId>org.apache.hbase</groupId>
1767 <version>${project.version}</version>
1768 <type>test-jar</type>
1772 <artifactId>hbase-rest</artifactId>
1773 <groupId>org.apache.hbase</groupId>
1774 <version>${project.version}</version>
1777 <artifactId>hbase-resource-bundle</artifactId>
1778 <groupId>org.apache.hbase</groupId>
1779 <version>${project.version}</version>
1782 <artifactId>hbase-spark</artifactId>
1783 <groupId>org.apache.hbase</groupId>
1784 <version>${project.version}</version>
1787 <artifactId>hbase-spark-it</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1790 <type>test-jar</type>
1794 <artifactId>hbase-zookeeper</artifactId>
1795 <groupId>org.apache.hbase</groupId>
1796 <version>${project.version}</version>
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>log4j</groupId>
1812 <artifactId>log4j</artifactId>
1813 <version>${log4j.version}</version>
1815 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1817 <groupId>org.apache.avro</groupId>
1818 <artifactId>avro</artifactId>
1819 <version>${avro.version}</version>
1821 <!--This is not used by hbase directly. Used by thrift,
1822 dropwizard and zk.-->
1824 <groupId>org.slf4j</groupId>
1825 <artifactId>slf4j-api</artifactId>
1826 <version>${slf4j.version}</version>
1829 <groupId>io.dropwizard.metrics</groupId>
1830 <artifactId>metrics-core</artifactId>
1831 <version>${metrics-core.version}</version>
1834 <groupId>org.apache.commons</groupId>
1835 <artifactId>commons-collections4</artifactId>
1836 <version>${collections.version}</version>
1839 <groupId>org.apache.httpcomponents</groupId>
1840 <artifactId>httpclient</artifactId>
1841 <version>${httpclient.version}</version>
1844 <groupId>org.apache.httpcomponents</groupId>
1845 <artifactId>httpcore</artifactId>
1846 <version>${httpcore.version}</version>
1849 <groupId>commons-cli</groupId>
1850 <artifactId>commons-cli</artifactId>
1851 <version>${commons-cli.version}</version>
1854 <groupId>commons-codec</groupId>
1855 <artifactId>commons-codec</artifactId>
1856 <version>${commons-codec.version}</version>
1859 <groupId>commons-io</groupId>
1860 <artifactId>commons-io</artifactId>
1861 <version>${commons-io.version}</version>
1864 <groupId>org.apache.commons</groupId>
1865 <artifactId>commons-lang3</artifactId>
1866 <version>${commons-lang3.version}</version>
1869 <groupId>commons-logging</groupId>
1870 <artifactId>commons-logging</artifactId>
1871 <version>${commons-logging.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>
2508 <groupId>org.apache.htrace</groupId>
2509 <artifactId>htrace-core</artifactId>
2512 <groupId>javax.servlet.jsp</groupId>
2513 <artifactId>jsp-api</artifactId>
2516 <groupId>javax.servlet</groupId>
2517 <artifactId>servlet-api</artifactId>
2520 <groupId>io.netty</groupId>
2521 <artifactId>netty</artifactId>
2524 <groupId>stax</groupId>
2525 <artifactId>stax-api</artifactId>
2528 <groupId>xerces</groupId>
2529 <artifactId>xercesImpl</artifactId>
2532 <groupId>org.codehaus.jackson</groupId>
2533 <artifactId>jackson-core-asl</artifactId>
2536 <groupId>org.codehaus.jackson</groupId>
2537 <artifactId>jackson-mapper-asl</artifactId>
2540 <version>${hadoop-two.version}</version>
2543 <groupId>org.apache.hadoop</groupId>
2544 <artifactId>hadoop-hdfs</artifactId>
2545 <version>${hadoop-two.version}</version>
2546 <type>test-jar</type>
2550 <groupId>org.apache.htrace</groupId>
2551 <artifactId>htrace-core</artifactId>
2554 <groupId>javax.servlet.jsp</groupId>
2555 <artifactId>jsp-api</artifactId>
2558 <groupId>javax.servlet</groupId>
2559 <artifactId>servlet-api</artifactId>
2562 <groupId>io.netty</groupId>
2563 <artifactId>netty</artifactId>
2566 <groupId>stax</groupId>
2567 <artifactId>stax-api</artifactId>
2570 <groupId>xerces</groupId>
2571 <artifactId>xercesImpl</artifactId>
2574 <groupId>org.codehaus.jackson</groupId>
2575 <artifactId>jackson-core-asl</artifactId>
2578 <groupId>org.codehaus.jackson</groupId>
2579 <artifactId>jackson-mapper-asl</artifactId>
2584 <groupId>org.apache.hadoop</groupId>
2585 <artifactId>hadoop-auth</artifactId>
2586 <version>${hadoop-two.version}</version>
2589 <groupId>org.apache.hadoop</groupId>
2590 <artifactId>hadoop-common</artifactId>
2591 <version>${hadoop-two.version}</version>
2594 <groupId>org.apache.htrace</groupId>
2595 <artifactId>htrace-core</artifactId>
2598 <groupId>commons-beanutils</groupId>
2599 <artifactId>commons-beanutils</artifactId>
2602 <groupId>javax.servlet.jsp</groupId>
2603 <artifactId>jsp-api</artifactId>
2606 <groupId>javax.servlet</groupId>
2607 <artifactId>servlet-api</artifactId>
2610 <groupId>stax</groupId>
2611 <artifactId>stax-api</artifactId>
2614 <groupId>io.netty</groupId>
2615 <artifactId>netty</artifactId>
2618 <groupId>com.google.code.findbugs</groupId>
2619 <artifactId>jsr305</artifactId>
2622 <groupId>junit</groupId>
2623 <artifactId>junit</artifactId>
2626 <groupId>org.codehaus.jackson</groupId>
2627 <artifactId>jackson-core-asl</artifactId>
2630 <groupId>org.codehaus.jackson</groupId>
2631 <artifactId>jackson-mapper-asl</artifactId>
2636 <groupId>org.apache.hadoop</groupId>
2637 <artifactId>hadoop-client</artifactId>
2638 <version>${hadoop-two.version}</version>
2640 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2641 Where do we actually need it? -->
2643 <groupId>org.apache.hadoop</groupId>
2644 <artifactId>hadoop-minicluster</artifactId>
2645 <version>${hadoop-two.version}</version>
2648 <groupId>org.apache.htrace</groupId>
2649 <artifactId>htrace-core</artifactId>
2652 <groupId>commons-httpclient</groupId>
2653 <artifactId>commons-httpclient</artifactId>
2656 <groupId>javax.servlet.jsp</groupId>
2657 <artifactId>jsp-api</artifactId>
2660 <groupId>javax.servlet</groupId>
2661 <artifactId>servlet-api</artifactId>
2664 <groupId>stax</groupId>
2665 <artifactId>stax-api</artifactId>
2668 <groupId>io.netty</groupId>
2669 <artifactId>netty</artifactId>
2672 <groupId>com.google.code.findbugs</groupId>
2673 <artifactId>jsr305</artifactId>
2678 <groupId>org.apache.hadoop</groupId>
2679 <artifactId>hadoop-minikdc</artifactId>
2680 <version>${hadoop-two.version}</version>
2684 </dependencyManagement>
2687 profile for building against Hadoop 3.0.0. Activate using:
2688 mvn -Dhadoop.profile=3.0
2694 <name>hadoop.profile</name>
2699 <!--For now, use hadoop2 compat module-->
2700 <module>hbase-hadoop2-compat</module>
2703 <hadoop.version>${hadoop-three.version}</hadoop.version>
2704 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2705 <compat.module>hbase-hadoop2-compat</compat.module>
2706 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2708 <dependencyManagement>
2711 <groupId>org.apache.hadoop</groupId>
2712 <artifactId>hadoop-mapreduce-client-core</artifactId>
2713 <version>${hadoop-three.version}</version>
2716 <groupId>io.netty</groupId>
2717 <artifactId>netty</artifactId>
2720 <groupId>javax.inject</groupId>
2721 <artifactId>javax.inject</artifactId>
2724 <groupId>org.codehaus.jackson</groupId>
2725 <artifactId>jackson-core-asl</artifactId>
2728 <groupId>org.codehaus.jackson</groupId>
2729 <artifactId>jackson-mapper-asl</artifactId>
2734 <groupId>org.apache.hadoop</groupId>
2735 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2736 <version>${hadoop-three.version}</version>
2739 <groupId>io.netty</groupId>
2740 <artifactId>netty</artifactId>
2745 <groupId>org.apache.hadoop</groupId>
2746 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2747 <version>${hadoop-three.version}</version>
2748 <type>test-jar</type>
2752 <groupId>io.netty</groupId>
2753 <artifactId>netty</artifactId>
2758 <groupId>org.apache.hadoop</groupId>
2759 <artifactId>hadoop-hdfs</artifactId>
2762 <groupId>org.apache.htrace</groupId>
2763 <artifactId>htrace-core</artifactId>
2766 <groupId>javax.servlet.jsp</groupId>
2767 <artifactId>jsp-api</artifactId>
2770 <groupId>javax.servlet</groupId>
2771 <artifactId>servlet-api</artifactId>
2774 <groupId>stax</groupId>
2775 <artifactId>stax-api</artifactId>
2778 <groupId>xerces</groupId>
2779 <artifactId>xercesImpl</artifactId>
2782 <groupId>org.codehaus.jackson</groupId>
2783 <artifactId>jackson-core-asl</artifactId>
2786 <groupId>org.codehaus.jackson</groupId>
2787 <artifactId>jackson-mapper-asl</artifactId>
2790 <version>${hadoop-three.version}</version>
2793 <groupId>org.apache.hadoop</groupId>
2794 <artifactId>hadoop-hdfs</artifactId>
2795 <version>${hadoop-three.version}</version>
2796 <type>test-jar</type>
2800 <groupId>org.apache.htrace</groupId>
2801 <artifactId>htrace-core</artifactId>
2804 <groupId>javax.servlet.jsp</groupId>
2805 <artifactId>jsp-api</artifactId>
2808 <groupId>javax.servlet</groupId>
2809 <artifactId>servlet-api</artifactId>
2812 <groupId>stax</groupId>
2813 <artifactId>stax-api</artifactId>
2816 <groupId>xerces</groupId>
2817 <artifactId>xercesImpl</artifactId>
2820 <groupId>org.codehaus.jackson</groupId>
2821 <artifactId>jackson-core-asl</artifactId>
2824 <groupId>org.codehaus.jackson</groupId>
2825 <artifactId>jackson-mapper-asl</artifactId>
2830 <groupId>org.apache.hadoop</groupId>
2831 <artifactId>hadoop-auth</artifactId>
2832 <version>${hadoop-three.version}</version>
2835 <groupId>com.google.guava</groupId>
2836 <artifactId>guava</artifactId>
2841 <groupId>org.apache.hadoop</groupId>
2842 <artifactId>hadoop-common</artifactId>
2843 <version>${hadoop-three.version}</version>
2846 <groupId>org.apache.htrace</groupId>
2847 <artifactId>htrace-core</artifactId>
2850 <groupId>commons-beanutils</groupId>
2851 <artifactId>commons-beanutils</artifactId>
2854 <groupId>javax.servlet.jsp</groupId>
2855 <artifactId>jsp-api</artifactId>
2858 <groupId>javax.servlet</groupId>
2859 <artifactId>servlet-api</artifactId>
2862 <groupId>stax</groupId>
2863 <artifactId>stax-api</artifactId>
2866 <groupId>io.netty</groupId>
2867 <artifactId>netty</artifactId>
2870 <groupId>com.google.code.findbugs</groupId>
2871 <artifactId>jsr305</artifactId>
2874 <groupId>junit</groupId>
2875 <artifactId>junit</artifactId>
2878 <groupId>org.codehause.jackson</groupId>
2879 <artifactId>jackson-core-asl</artifactId>
2882 <groupId>org.codehause.jackson</groupId>
2883 <artifactId>jackson-mapper-asl</artifactId>
2888 <groupId>org.apache.hadoop</groupId>
2889 <artifactId>hadoop-client</artifactId>
2890 <version>${hadoop-three.version}</version>
2893 <groupId>org.apache.hadoop</groupId>
2894 <artifactId>hadoop-annotations</artifactId>
2895 <version>${hadoop-three.version}</version>
2897 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2898 Where do we actually need it? -->
2900 <groupId>org.apache.hadoop</groupId>
2901 <artifactId>hadoop-minicluster</artifactId>
2902 <version>${hadoop-three.version}</version>
2905 <groupId>org.apache.htrace</groupId>
2906 <artifactId>htrace-core</artifactId>
2909 <groupId>commons-httpclient</groupId>
2910 <artifactId>commons-httpclient</artifactId>
2913 <groupId>javax.servlet.jsp</groupId>
2914 <artifactId>jsp-api</artifactId>
2917 <groupId>javax.servlet</groupId>
2918 <artifactId>servlet-api</artifactId>
2921 <groupId>stax</groupId>
2922 <artifactId>stax-api</artifactId>
2925 <groupId>io.netty</groupId>
2926 <artifactId>netty</artifactId>
2929 <groupId>com.google.code.findbugs</groupId>
2930 <artifactId>jsr305</artifactId>
2935 <groupId>org.apache.hadoop</groupId>
2936 <artifactId>hadoop-minikdc</artifactId>
2937 <version>${hadoop-three.version}</version>
2941 </dependencyManagement>
2944 <!-- profiles for the tests
2945 See as well the properties of the project for the values
2946 when no profile is active. -->
2948 <!-- Use it to launch all tests in the same JVM -->
2949 <id>singleJVMTests</id>
2951 <activeByDefault>false</activeByDefault>
2954 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2955 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2956 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2957 <surefire.firstPartGroups/>
2961 <!-- Use it to launch small tests only -->
2962 <id>runSmallTests</id>
2964 <activeByDefault>false</activeByDefault>
2967 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
2968 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2969 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2970 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
2971 <surefire.secondPartGroups/>
2975 <!-- Use it to launch medium tests only -->
2976 <id>runMediumTests</id>
2978 <activeByDefault>false</activeByDefault>
2981 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2982 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2983 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
2984 <surefire.secondPartGroups/>
2988 <!-- Use it to launch large tests only -->
2989 <id>runLargeTests</id>
2991 <activeByDefault>false</activeByDefault>
2994 <surefire.skipFirstPart>false</surefire.skipFirstPart>
2995 <surefire.skipSecondPart>true</surefire.skipSecondPart>
2996 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
2997 <surefire.secondPartGroups/>
3001 <!-- Use it to launch small & medium tests -->
3002 <id>runDevTests</id>
3004 <activeByDefault>false</activeByDefault>
3007 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3008 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3009 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3010 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3011 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3015 <!-- Use it to launch all tests -->
3016 <id>runAllTests</id>
3018 <activeByDefault>false</activeByDefault>
3021 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3022 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3023 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3024 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3025 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3026 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3030 <id>runMiscTests</id>
3032 <activeByDefault>false</activeByDefault>
3035 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3036 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3037 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3038 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3039 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3040 </surefire.firstPartGroups>
3041 <surefire.secondPartGroups></surefire.secondPartGroups>
3045 <id>runCoprocessorTests</id>
3047 <activeByDefault>false</activeByDefault>
3050 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3051 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3052 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3053 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3054 <surefire.firstPartGroups>
3055 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3056 </surefire.firstPartGroups>
3057 <surefire.secondPartGroups></surefire.secondPartGroups>
3061 <id>runClientTests</id>
3063 <activeByDefault>false</activeByDefault>
3066 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3067 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3068 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3069 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3070 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3071 </surefire.firstPartGroups>
3072 <surefire.secondPartGroups></surefire.secondPartGroups>
3076 <id>runMasterTests</id>
3078 <activeByDefault>false</activeByDefault>
3081 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3082 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3083 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3084 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3085 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3086 </surefire.firstPartGroups>
3087 <surefire.secondPartGroups></surefire.secondPartGroups>
3091 <id>runMapredTests</id>
3093 <activeByDefault>false</activeByDefault>
3096 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3097 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3098 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3099 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3100 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3101 </surefire.firstPartGroups>
3102 <surefire.secondPartGroups></surefire.secondPartGroups>
3106 <id>runMapreduceTests</id>
3108 <activeByDefault>false</activeByDefault>
3111 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3112 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3113 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3114 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3115 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3116 </surefire.firstPartGroups>
3117 <surefire.secondPartGroups></surefire.secondPartGroups>
3121 <id>runRegionServerTests</id>
3123 <activeByDefault>false</activeByDefault>
3126 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3127 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3128 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3129 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3130 <surefire.firstPartGroups>
3131 org.apache.hadoop.hbase.testclassification.RegionServerTests
3132 </surefire.firstPartGroups>
3133 <surefire.secondPartGroups></surefire.secondPartGroups>
3137 <id>runVerySlowMapReduceTests</id>
3139 <activeByDefault>false</activeByDefault>
3142 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3143 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3144 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3145 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3146 <surefire.firstPartGroups>
3147 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3148 </surefire.firstPartGroups>
3149 <surefire.secondPartGroups></surefire.secondPartGroups>
3154 <id>runVerySlowRegionServerTests</id>
3156 <activeByDefault>false</activeByDefault>
3159 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3160 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3161 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3162 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3163 <surefire.firstPartGroups>
3164 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3165 </surefire.firstPartGroups>
3166 <surefire.secondPartGroups></surefire.secondPartGroups>
3171 <id>runFilterTests</id>
3173 <activeByDefault>false</activeByDefault>
3176 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3177 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3178 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3179 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3180 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3181 </surefire.firstPartGroups>
3182 <surefire.secondPartGroups></surefire.secondPartGroups>
3188 <activeByDefault>false</activeByDefault>
3191 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3192 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3193 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3194 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3195 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3196 </surefire.firstPartGroups>
3197 <surefire.secondPartGroups></surefire.secondPartGroups>
3201 <id>runRestTests</id>
3203 <activeByDefault>false</activeByDefault>
3206 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3207 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3208 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3209 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3210 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3211 </surefire.firstPartGroups>
3212 <surefire.secondPartGroups></surefire.secondPartGroups>
3216 <id>runRPCTests</id>
3218 <activeByDefault>false</activeByDefault>
3221 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3222 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3223 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3224 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3225 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3226 </surefire.firstPartGroups>
3227 <surefire.secondPartGroups></surefire.secondPartGroups>
3231 <id>runReplicationTests</id>
3233 <activeByDefault>false</activeByDefault>
3236 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3237 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3238 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3239 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3240 <surefire.firstPartGroups>
3241 org.apache.hadoop.hbase.testclassification.ReplicationTests
3242 </surefire.firstPartGroups>
3243 <surefire.secondPartGroups></surefire.secondPartGroups>
3247 <id>runSecurityTests</id>
3249 <activeByDefault>false</activeByDefault>
3252 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3253 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3254 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3255 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3256 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3257 </surefire.firstPartGroups>
3258 <surefire.secondPartGroups></surefire.secondPartGroups>
3262 <id>runFlakeyTests</id>
3264 <activeByDefault>false</activeByDefault>
3267 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3268 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3269 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3270 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3271 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3272 </surefire.firstPartGroups>
3273 <surefire.secondPartGroups></surefire.secondPartGroups>
3278 <!-- Use it to launch tests locally-->
3286 <surefire.provider>surefire-junit4</surefire.provider>
3287 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3288 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3289 <surefire.firstPartGroups/>
3292 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3293 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3294 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3295 The report will be generated under target/site/clover/index.html when you run
3296 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3300 <activeByDefault>false</activeByDefault>
3306 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3310 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3311 our instrumented classes for the doclet will fail
3314 <groupId>org.apache.maven.plugins</groupId>
3315 <artifactId>maven-javadoc-plugin</artifactId>
3318 <groupId>com.atlassian.maven.plugins</groupId>
3319 <artifactId>maven-clover2-plugin</artifactId>
3320 <version>${clover.version}</version>
3325 <groupId>com.atlassian.maven.plugins</groupId>
3326 <artifactId>maven-clover2-plugin</artifactId>
3327 <version>${clover.version}</version>
3329 <includesAllSourceRoots>true</includesAllSourceRoots>
3330 <includesTestSourceRoots>true</includesTestSourceRoots>
3331 <targetPercentage>50%</targetPercentage>
3332 <generateHtml>true</generateHtml>
3333 <generateXml>true</generateXml>
3335 <exclude>**/generated/**</exclude>
3340 <id>clover-setup</id>
3341 <phase>process-sources</phase>
3359 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3363 <artifactId>maven-project-info-reports-plugin</artifactId>
3367 <report>cim</report>
3368 <report>dependencies</report>
3369 <report>dependency-convergence</report>
3370 <report>dependency-info</report>
3371 <report>dependency-management</report>
3372 <report>index</report>
3373 <report>issue-tracking</report>
3374 <report>license</report>
3375 <report>mailing-list</report>
3376 <report>plugin-management</report>
3377 <report>plugins</report>
3378 <report>project-team</report>
3379 <report>scm</report>
3380 <report>summary</report>
3384 <!-- see src/site/site.xml for selected reports -->
3386 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3391 <groupId>org.apache.maven.plugins</groupId>
3392 <artifactId>maven-javadoc-plugin</artifactId>
3398 <report>aggregate</report>
3401 <destDir>devapidocs</destDir>
3402 <name>Developer API</name>
3403 <description>The full HBase API, including private and unstable APIs</description>
3404 <sourceFileExcludes>
3405 <exclude>**/generated/*</exclude>
3406 <exclude>**/protobuf/*</exclude>
3407 <exclude>**/*.scala</exclude>
3408 </sourceFileExcludes>
3409 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3410 <show>private</show> <!-- (shows all classes and members) -->
3412 <linksource>true</linksource>
3413 <sourcetab>2</sourcetab>
3414 <validateLinks>true</validateLinks>
3415 <fixClassComment>true</fixClassComment>
3416 <fixFieldComment>true</fixFieldComment>
3417 <fixMethodComment>true</fixMethodComment>
3418 <fixTags>all</fixTags>
3419 <notimestamp>true</notimestamp>
3420 <!-- Pass some options straight to the javadoc executable since it is easier -->
3421 <additionalJOption>-J-Xmx2G</additionalJOption>
3422 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3423 <additionalDependencies>
3424 <additionalDependency>
3425 <groupId>org.mockito</groupId>
3426 <artifactId>mockito-core</artifactId>
3427 <version>${mockito-core.version}</version>
3428 </additionalDependency>
3429 <additionalDependency>
3430 <groupId>org.hamcrest</groupId>
3431 <artifactId>hamcrest-core</artifactId>
3432 <version>${hamcrest.version}</version>
3433 </additionalDependency>
3434 </additionalDependencies>
3435 <inherited>false</inherited>
3441 <report>test-aggregate</report>
3444 <destDir>testdevapidocs</destDir>
3445 <name>Developer API</name>
3446 <description>The full HBase API test code, including private and unstable APIs</description>
3447 <sourceFileExcludes>
3448 <exclude>**/generated/*</exclude>
3449 <exclude>**/protobuf/*</exclude>
3450 <exclude>**/*.scala</exclude>
3451 </sourceFileExcludes>
3452 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.spark:org.apache.hadoop.hbase.generated*</excludePackageNames>
3453 <show>private</show> <!-- (shows all classes and members) -->
3455 <linksource>true</linksource>
3456 <sourcetab>2</sourcetab>
3457 <validateLinks>true</validateLinks>
3458 <fixClassComment>true</fixClassComment>
3459 <fixFieldComment>true</fixFieldComment>
3460 <fixMethodComment>true</fixMethodComment>
3461 <fixTags>all</fixTags>
3462 <notimestamp>true</notimestamp>
3463 <!-- Pass some options straight to the javadoc executable since it is easier -->
3464 <additionalJOption>-J-Xmx2G</additionalJOption>
3465 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3466 <additionalDependencies>
3467 <additionalDependency>
3468 <groupId>org.mockito</groupId>
3469 <artifactId>mockito-core</artifactId>
3470 <version>${mockito-core.version}</version>
3471 </additionalDependency>
3472 <additionalDependency>
3473 <groupId>org.hamcrest</groupId>
3474 <artifactId>hamcrest-core</artifactId>
3475 <version>${hamcrest.version}</version>
3476 </additionalDependency>
3477 </additionalDependencies>
3478 <inherited>false</inherited>
3486 <report>aggregate</report>
3490 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3493 <groupId>org.apache.yetus</groupId>
3494 <artifactId>audience-annotations</artifactId>
3495 <version>${audience-annotations.version}</version>
3497 <useStandardDocletOptions>true</useStandardDocletOptions>
3498 <destDir>apidocs</destDir>
3499 <name>User API</name>
3500 <description>The HBase Application Programmer's API</description>
3501 <excludePackageNames>
3502 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*
3503 </excludePackageNames>
3504 <!-- switch on dependency-driven aggregation -->
3505 <includeDependencySources>false</includeDependencySources>
3506 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3507 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3509 <linksource>true</linksource>
3510 <sourcetab>2</sourcetab>
3511 <validateLinks>true</validateLinks>
3512 <fixClassComment>true</fixClassComment>
3513 <fixFieldComment>true</fixFieldComment>
3514 <fixMethodComment>true</fixMethodComment>
3515 <fixTags>all</fixTags>
3516 <notimestamp>true</notimestamp>
3517 <!-- Pass some options straight to the javadoc executable since it is easier -->
3518 <additionalJOption>-J-Xmx2G</additionalJOption>
3519 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3520 <additionalDependencies>
3521 <additionalDependency>
3522 <groupId>org.mockito</groupId>
3523 <artifactId>mockito-core</artifactId>
3524 <version>${mockito-core.version}</version>
3525 </additionalDependency>
3526 <additionalDependency>
3527 <groupId>org.hamcrest</groupId>
3528 <artifactId>hamcrest-core</artifactId>
3529 <version>${hamcrest.version}</version>
3530 </additionalDependency>
3531 </additionalDependencies>
3532 <inherited>false</inherited>
3535 <!-- User Test API -->
3537 <id>testuserapi</id>
3539 <report>test-aggregate</report>
3543 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3546 <groupId>org.apache.yetus</groupId>
3547 <artifactId>audience-annotations</artifactId>
3548 <version>${audience-annotations.version}</version>
3550 <useStandardDocletOptions>true</useStandardDocletOptions>
3551 <destDir>testapidocs</destDir>
3552 <name>User API</name>
3553 <description>The HBase Application Programmer's API</description>
3554 <excludePackageNames>
3555 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*
3556 </excludePackageNames>
3557 <!-- switch on dependency-driven aggregation -->
3558 <includeDependencySources>false</includeDependencySources>
3559 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3560 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3562 <linksource>true</linksource>
3563 <sourcetab>2</sourcetab>
3564 <validateLinks>true</validateLinks>
3565 <fixClassComment>true</fixClassComment>
3566 <fixFieldComment>true</fixFieldComment>
3567 <fixMethodComment>true</fixMethodComment>
3568 <fixTags>all</fixTags>
3569 <notimestamp>true</notimestamp>
3570 <!-- Pass some options straight to the javadoc executable since it is easier -->
3571 <additionalJOption>-J-Xmx2G</additionalJOption>
3572 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3573 <additionalDependencies>
3574 <additionalDependency>
3575 <groupId>org.mockito</groupId>
3576 <artifactId>mockito-core</artifactId>
3577 <version>${mockito-core.version}</version>
3578 </additionalDependency>
3579 <additionalDependency>
3580 <groupId>org.hamcrest</groupId>
3581 <artifactId>hamcrest-core</artifactId>
3582 <version>${hamcrest.version}</version>
3583 </additionalDependency>
3584 </additionalDependencies>
3585 <inherited>false</inherited>
3592 <groupId>org.apache.maven.plugins</groupId>
3593 <artifactId>maven-checkstyle-plugin</artifactId>
3594 <version>${maven.checkstyle.version}</version>
3596 <excludes>target/**</excludes>
3597 <configLocation>hbase/checkstyle.xml</configLocation>
3598 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
3599 <includeTestSourceDirectory>true</includeTestSourceDirectory>
3604 <groupId>org.scala-tools</groupId>
3605 <artifactId>maven-scala-plugin</artifactId>
3609 <distributionManagement>
3611 <id>hbase.apache.org</id>
3612 <name>HBase Website at hbase.apache.org</name>
3613 <!-- On why this is the tmp dir and not hbase.apache.org, see
3614 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3616 <url>file:///tmp</url>
3618 </distributionManagement>
3621 <id>project.local</id>
3622 <name>project</name>
3623 <url>file:${project.basedir}/src/site/resources/repo</url>