1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://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>https://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-configuration</module>
65 <module>hbase-replication</module>
66 <module>hbase-mapreduce</module>
67 <module>hbase-resource-bundle</module>
68 <module>hbase-http</module>
69 <module>hbase-server</module>
70 <module>hbase-thrift</module>
71 <module>hbase-shell</module>
72 <module>hbase-protocol-shaded</module>
73 <module>hbase-protocol</module>
74 <module>hbase-client</module>
75 <module>hbase-hadoop-compat</module>
76 <module>hbase-common</module>
77 <module>hbase-procedure</module>
78 <module>hbase-endpoint</module>
79 <module>hbase-it</module>
80 <module>hbase-examples</module>
81 <module>hbase-assembly</module>
82 <module>hbase-testing-util</module>
83 <module>hbase-annotations</module>
84 <module>hbase-rest</module>
85 <module>hbase-checkstyle</module>
86 <module>hbase-external-blockcache</module>
87 <module>hbase-shaded</module>
88 <module>hbase-archetypes</module>
89 <module>hbase-metrics-api</module>
90 <module>hbase-metrics</module>
91 <module>hbase-backup</module>
92 <module>hbase-zookeeper</module>
95 <connection>scm:git:git://gitbox.apache.org/repos/asf/hbase.git</connection>
96 <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/hbase.git</developerConnection>
97 <url>https://gitbox.apache.org/repos/asf?p=hbase.git</url>
100 <system>JIRA</system>
101 <url>https://issues.apache.org/jira/browse/HBASE</url>
105 <name>User List</name>
106 <subscribe>user-subscribe@hbase.apache.org</subscribe>
107 <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe>
108 <post>user@hbase.apache.org</post>
109 <archive>https://lists.apache.org/list.html?user@hbase.apache.org</archive>
111 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
112 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
116 <name>Developer List</name>
117 <subscribe>dev-subscribe@hbase.apache.org</subscribe>
118 <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe>
119 <post>dev@hbase.apache.org</post>
120 <archive>https://lists.apache.org/list.html?dev@hbase.apache.org</archive>
122 <otherArchive>https://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
123 <otherArchive>https://search-hadoop.com/?q=&fc_project=HBase</otherArchive>
127 <name>Commits List</name>
128 <subscribe>commits-subscribe@hbase.apache.org</subscribe>
129 <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe>
130 <archive>https://lists.apache.org/list.html?commits@hbase.apache.org</archive>
133 <name>Issues List</name>
134 <subscribe>issues-subscribe@hbase.apache.org</subscribe>
135 <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe>
136 <archive>https://lists.apache.org/list.html?issues@hbase.apache.org</archive>
139 <name>Builds List</name>
140 <subscribe>builds-subscribe@hbase.apache.org</subscribe>
141 <unsubscribe>builds-unsubscribe@hbase.apache.org</unsubscribe>
142 <archive>https://lists.apache.org/list.html?builds@hbase.apache.org</archive>
148 <name>Abhishek Singh Chouhan</name>
149 <email>achouhan@apache.org</email>
150 <timezone>+5</timezone>
154 <name>Amitanand S. Aiyer</name>
155 <email>acube123@apache.org</email>
156 <timezone>-8</timezone>
160 <name>Allan Yang</name>
161 <email>allan163@apache.org</email>
162 <timezone>+8</timezone>
166 <name>Apekshit Sharma</name>
167 <email>appy@apache.org</email>
168 <timezone>-8</timezone>
172 <name>Anastasia Braginsky</name>
173 <email>anastasia@apache.org</email>
174 <timezone>+2</timezone>
178 <name>Andrew Purtell</name>
179 <email>apurtell@apache.org</email>
180 <timezone>-8</timezone>
183 <id>anoopsamjohn</id>
184 <name>Anoop Sam John</name>
185 <email>anoopsamjohn@apache.org</email>
186 <timezone>+5</timezone>
190 <name>Mikhail Antonov</name>
191 <email>antonov@apache.org</email>
192 <timezone>-8</timezone>
195 <id>ashishsinghi</id>
196 <name>Ashish Singhi</name>
197 <email>ashishsinghi@apache.org</email>
198 <timezone>+5</timezone>
202 <name>Ashu Pachauri</name>
203 <email>ashu@apache.org</email>
204 <timezone>+5</timezone>
208 <name>Lijin Bin</name>
209 <email>binlijin@apache.org</email>
210 <timezone>+8</timezone>
214 <name>Toshihiro Suzuki</name>
215 <email>brfrn169@apache.org</email>
216 <timezone>+9</timezone>
220 <name>Sean Busbey</name>
221 <email>busbey@apache.org</email>
222 <timezone>-6</timezone>
226 <name>Heng Chen</name>
227 <email>chenheng@apache.org</email>
228 <timezone>+8</timezone>
232 <name>Chia-Ping Tsai</name>
233 <email>chia7712@apache.org</email>
234 <timezone>+8</timezone>
238 <name>Devaraj Das</name>
239 <email>ddas@apache.org</email>
240 <timezone>-8</timezone>
244 <name>Dima Spivak</name>
245 <email>dimaspivak@apache.org</email>
246 <timezone>-8</timezone>
250 <name>Doug Meil</name>
251 <email>dmeil@apache.org</email>
252 <timezone>-5</timezone>
256 <name>Elliott Clark</name>
257 <email>eclark@apache.org</email>
258 <timezone>-8</timezone>
262 <name>Josh Elser</name>
263 <email>elserj@apache.org</email>
264 <timezone>-5</timezone>
268 <name>Enis Soztutar</name>
269 <email>enis@apache.org</email>
270 <timezone>-8</timezone>
274 <name>Eshcar Hillel</name>
275 <email>eshcar@apache.org</email>
276 <timezone>+2</timezone>
280 <name>Honghua Feng</name>
281 <email>fenghh@apache.org</email>
282 <timezone>+8</timezone>
286 <name>Gary Helmling</name>
287 <email>garyh@apache.org</email>
288 <timezone>-8</timezone>
292 <name>Gregory Chanan</name>
293 <email>gchanan@apache.org</email>
294 <timezone>-8</timezone>
298 <name>Guangxu Cheng</name>
299 <email>gxcheng@apache.org</email>
300 <timezone>+8</timezone>
304 <name>Huaxiang Sun</name>
305 <email>huaxiangsun@apache.org</email>
306 <timezone>-8</timezone>
310 <name>Jean-Daniel Cryans</name>
311 <email>jdcryans@apache.org</email>
312 <timezone>-8</timezone>
316 <name>Jeffrey Zhong</name>
317 <email>jeffreyz@apache.org</email>
318 <timezone>-8</timezone>
322 <name>Jing Chen (Jerry) He</name>
323 <email>jerryjch@apache.org</email>
324 <timezone>-8</timezone>
328 <name>Jesse Yates</name>
329 <email>jyates@apache.org</email>
330 <timezone>-8</timezone>
334 <name>Jonathan Gray</name>
335 <email>jgray@fb.com</email>
336 <timezone>-8</timezone>
340 <name>Jingcheng Du</name>
341 <email>jingchengdu@apache.org</email>
342 <timezone>+8</timezone>
346 <name>Esteban Gutierrez</name>
347 <email>esteban@apache.org</email>
348 <timezone>-8</timezone>
352 <name>Jan Hentschel</name>
353 <email>janh@apache.org</email>
354 <timezone>+1</timezone>
358 <name>Jonathan Hsieh</name>
359 <email>jmhsieh@apache.org</email>
360 <timezone>-8</timezone>
364 <name>Jimmy Xiang</name>
365 <email>jxiang@apache.org</email>
366 <timezone>-8</timezone>
370 <name>Kannan Muthukkaruppan</name>
371 <email>kannan@fb.com</email>
372 <timezone>-8</timezone>
376 <name>Karthik Ranganathan</name>
377 <email>kranganathan@fb.com</email>
378 <timezone>-8</timezone>
382 <name>Lars Francke</name>
383 <email>larsfrancke@apache.org</email>
384 <timezone>Europe/Berlin</timezone>
388 <name>Lars George</name>
389 <email>larsgeorge@apache.org</email>
390 <timezone>+1</timezone>
394 <name>Lars Hofhansl</name>
395 <email>larsh@apache.org</email>
396 <timezone>-8</timezone>
400 <name>Liang Xie</name>
401 <email>liangxie@apache.org</email>
402 <timezone>+8</timezone>
406 <name>Shaohui Liu</name>
407 <email>liushaohui@apache.org</email>
408 <timezone>+8</timezone>
412 <name>Liyin Tang</name>
413 <email>liyin.tang@fb.com</email>
414 <timezone>-8</timezone>
419 <email>liyu@apache.org</email>
420 <timezone>+8</timezone>
424 <name>Mikhail Bautin</name>
425 <email>mbautin@apache.org</email>
426 <timezone>-8</timezone>
430 <name>Matteo Bertozzi</name>
431 <email>mbertozzi@apache.org</email>
432 <timezone>0</timezone>
436 <name>Mike Drob</name>
437 <email>mdrob@apache.org</email>
438 <timezone>-5</timezone>
442 <name>Balazs Meszaros</name>
443 <email>meszibalu@apache.org</email>
444 <timezone>+1</timezone>
448 <name>Misty Stanley-Jones</name>
449 <email>misty@apache.org</email>
450 <timezone>-8</timezone>
454 <name>Nick Dimiduk</name>
455 <email>ndimiduk@apache.org</email>
456 <timezone>-8</timezone>
460 <name>Nicolas Liochon</name>
461 <email>nkeywal@apache.org</email>
462 <timezone>+1</timezone>
465 <id>nspiegelberg</id>
466 <name>Nicolas Spiegelberg</name>
467 <email>nspiegelberg@fb.com</email>
468 <timezone>-8</timezone>
472 <name>Andrey Stepachev</name>
473 <email>octo47@gmail.com</email>
474 <timezone>0</timezone>
478 <name>Zheng Hu</name>
479 <email>openinx@apache.org</email>
480 <timezone>+8</timezone>
484 <name>Peter Somogyi</name>
485 <email>psomogyi@apache.org</email>
486 <timezone>+1</timezone>
490 <name>Rajeshbabu Chintaguntla</name>
491 <email>rajeshbabu@apache.org</email>
492 <timezone>+5</timezone>
496 <name>Ramkrishna S Vasudevan</name>
497 <email>ramkrishna@apache.org</email>
498 <timezone>+5</timezone>
502 <name>Ryan Rawson</name>
503 <email>rawson@apache.org</email>
504 <timezone>-8</timezone>
508 <name>Reid Chan</name>
509 <email>reidchan@apache.org</email>
510 <timezone>+8</timezone>
514 <name>Sakthi Vel</name>
515 <email>sakthi@apache.org</email>
516 <timezone>-8</timezone>
520 <name>Sergey Shelukhin</name>
521 <email>sershe@apache.org</email>
522 <timezone>-8</timezone>
526 <name>Srikanth Srungarapu</name>
527 <email>ssrungarapu@apache.org</email>
528 <timezone>-8</timezone>
532 <name>Michael Stack</name>
533 <email>stack@apache.org</email>
534 <timezone>-8</timezone>
538 <name>Stephen Yuan Jiang</name>
539 <email>syuanjiang@apache.org</email>
540 <timezone>-8</timezone>
544 <name>Tak-Lon (Stephen) Wu</name>
545 <email>taklwu@apache.org</email>
546 <timezone>-8</timezone>
551 <email>yuzhihong@gmail.com</email>
552 <timezone>-8</timezone>
556 <email>tianjy@apache.org</email>
557 <timezone>+8</timezone>
561 <name>Todd Lipcon</name>
562 <email>todd@apache.org</email>
563 <timezone>-8</timezone>
567 <name>Francis Liu</name>
568 <email>toffer@apache.org</email>
569 <timezone>-8</timezone>
573 <name>Vikas Vishwakarma</name>
574 <email>vikasv@apache.org</email>
575 <timezone>+5</timezone>
579 <name>Virag Kothari</name>
580 <email>virag@yahoo-inc.com</email>
581 <timezone>-8</timezone>
585 <name>Wellington Chevreuil</name>
586 <email>wchevreuil@apache.org</email>
587 <timezone>0</timezone>
592 <email>xucang@apache.org</email>
593 <timezone>-8</timezone>
597 <name>Phil Yang</name>
598 <email>yangzhe1991@apache.org</email>
599 <timezone>+8</timezone>
603 <name>Guanghao Zhang</name>
604 <email>zghao@apache.org</email>
605 <timezone>+8</timezone>
609 <name>Duo Zhang</name>
610 <email>zhangduo@apache.org</email>
611 <timezone>+8</timezone>
615 <name>Chunhui Shen</name>
616 <email>zjushch@apache.org</email>
617 <timezone>+8</timezone>
621 <name>Rahul Gidwani</name>
622 <email>churro@apache.org</email>
623 <timezone>-8</timezone>
627 <name>Yi Liang</name>
628 <email>yiliang@apache.org</email>
629 <timezone>-8</timezone>
633 <name>Zach York</name>
634 <email>zyork@apache.org</email>
635 <timezone>-8</timezone>
640 <email>meiyi@apache.org</email>
641 <timezone>+8</timezone>
647 <groupId>kr.motd.maven</groupId>
648 <artifactId>os-maven-plugin</artifactId>
649 <version>${os.maven.version}</version>
652 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
653 For specific version use a property and define it in the parent pom.
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-remote-resources-plugin</artifactId>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-release-plugin</artifactId>
665 <!--You need this profile. It'll sign your artifacts.
666 I'm not sure if this config. actually works though.
667 I've been specifying -Papache-release on the command-line
669 <releaseProfiles>apache-release</releaseProfiles>
670 <!--This stops our running tests for each stage of maven release.
671 But it builds the test jar. From SUREFIRE-172.
673 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
674 <goals>${goals}</goals>
675 <pomFileName>pom.xml</pomFileName>
679 <groupId>org.apache.maven.plugins</groupId>
680 <artifactId>maven-compiler-plugin</artifactId>
681 <version>${maven.compiler.version}</version>
683 <source>${compileSource}</source>
684 <target>${compileSource}</target>
685 <showWarnings>true</showWarnings>
686 <showDeprecation>false</showDeprecation>
687 <useIncrementalCompilation>false</useIncrementalCompilation>
688 <compilerArgument>-Xlint:-options</compilerArgument>
691 <!-- Test oriented plugins -->
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-surefire-plugin</artifactId>
695 <version>${surefire.version}</version>
697 <!-- by default surefire selects dynamically the connector to the unit tests
698 tool. We want to use always the same as the different connectors can have different
699 bugs and behaviour. -->
701 <groupId>org.apache.maven.surefire</groupId>
702 <artifactId>${surefire.provider}</artifactId>
703 <version>${surefire.version}</version>
706 <!-- Generic testing configuration for all packages -->
708 <groups>${surefire.firstPartGroups}</groups>
709 <failIfNoTests>false</failIfNoTests>
710 <skip>${surefire.skipFirstPart}</skip>
711 <forkCount>${surefire.firstPartForkCount}</forkCount>
712 <reuseForks>false</reuseForks>
713 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
714 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
715 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
716 <systemPropertyVariables>
717 <test.build.classes>${test.build.classes}</test.build.classes>
718 </systemPropertyVariables>
720 <!-- users can add -D option to skip particular test classes
721 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
723 <exclude>${test.exclude.pattern}</exclude>
727 <name>listener</name>
728 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
734 <id>secondPartTestsExecution</id>
740 <skip>${surefire.skipSecondPart}</skip>
741 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
742 <reuseForks>false</reuseForks>
743 <forkCount>${surefire.secondPartForkCount}</forkCount>
744 <groups>${surefire.secondPartGroups}</groups>
745 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
751 <groupId>org.apache.maven.plugins</groupId>
752 <artifactId>maven-surefire-report-plugin</artifactId>
753 <version>${surefire.version}</version>
756 <groupId>org.codehaus.mojo</groupId>
757 <artifactId>buildnumber-maven-plugin</artifactId>
758 <version>${buildnumber.maven.version}</version>
761 <groupId>org.codehaus.mojo</groupId>
762 <artifactId>findbugs-maven-plugin</artifactId>
763 <version>${findbugs.maven.version}</version>
764 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
766 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
767 <findbugsXmlOutput>true</findbugsXmlOutput>
768 <xmlOutput>true</xmlOutput>
773 <groupId>org.codehaus.mojo</groupId>
774 <artifactId>build-helper-maven-plugin</artifactId>
775 <version>${build.helper.maven.version}</version>
778 <artifactId>maven-antrun-plugin</artifactId>
779 <version>${maven.antrun.version}</version>
782 <groupId>org.jamon</groupId>
783 <artifactId>jamon-maven-plugin</artifactId>
784 <version>${jamon.plugin.version}</version>
786 <!-- Make a jar and put the sources in the jar.
787 In the parent pom, so submodules will do the right thing. -->
789 <groupId>org.apache.maven.plugins</groupId>
790 <artifactId>maven-source-plugin</artifactId>
793 <id>attach-sources</id>
794 <phase>prepare-package</phase>
796 <goal>jar-no-fork</goal>
797 <goal>test-jar-no-fork</goal>
802 <!-- General configuration for submodules who want to build a test jar -->
804 <groupId>org.apache.maven.plugins</groupId>
805 <artifactId>maven-jar-plugin</artifactId>
808 <phase>prepare-package</phase>
810 <!--This goal will install a -test.jar when we do install
811 See https://maven.apache.org/guides/mini/guide-attached-tests.html
813 <goal>test-jar</goal>
818 <skipIfEmpty>true</skipIfEmpty>
820 <exclude>hbase-site.xml</exclude>
821 <exclude>hdfs-site.xml</exclude>
822 <exclude>log4j.properties</exclude>
823 <exclude>mapred-queues.xml</exclude>
824 <exclude>mapred-site.xml</exclude>
829 <!-- excludes are inherited -->
830 <groupId>org.apache.rat</groupId>
831 <artifactId>apache-rat-plugin</artifactId>
832 <version>${apache.rat.version}</version>
835 <exclude>**/*.versionsBackup</exclude>
836 <exclude>**/*.log</exclude>
837 <exclude>**/.*</exclude>
838 <exclude>**/*.tgz</exclude>
839 <exclude>**/*.orig</exclude>
840 <exclude>**/0000000000000016310</exclude>
841 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
842 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
843 <exclude>**/.idea/**</exclude>
844 <exclude>**/*.iml</exclude>
845 <exclude>**/CHANGES.txt</exclude>
846 <exclude>**/generated/**</exclude>
847 <exclude>**/gen-*/**</exclude>
848 <!-- No material contents -->
849 <exclude>conf/regionservers</exclude>
850 <exclude>**/*.avpr</exclude>
851 <exclude>**/*.svg</exclude>
852 <!-- non-standard notice file from jruby included by reference -->
853 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
854 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
855 <exclude>**/src/main/asciidoc/hbase.css</exclude>
856 <!-- MIT https://jquery.org/license -->
857 <exclude>**/jquery.min.js</exclude>
858 <exclude>**/jquery.tablesorter.min.js</exclude>
859 <!-- vector graphics -->
860 <exclude>**/*.vm</exclude>
861 <!-- apache doxia generated -->
862 <exclude>**/control</exclude>
863 <exclude>**/conffile</exclude>
864 <!-- auto-gen docs -->
865 <exclude>docs/*</exclude>
866 <exclude>logs/*</exclude>
867 <!-- exclude source control files -->
868 <exclude>.git/**</exclude>
869 <exclude>.svn/**</exclude>
870 <exclude>**/.settings/**</exclude>
871 <exclude>**/patchprocess/**</exclude>
872 <exclude>src/site/resources/repo/**</exclude>
873 <exclude>**/dependency-reduced-pom.xml</exclude>
874 <exclude>**/rat.txt</exclude>
875 <!-- exclude the shaded protobuf files -->
876 <exclude>**/shaded/com/google/protobuf/**</exclude>
877 <exclude>**/src/main/patches/**</exclude>
878 <exclude>**/vote.tmpl</exclude>
883 <artifactId>maven-assembly-plugin</artifactId>
885 <!--Defer to the hbase-assembly sub-module. It
887 <skipAssembly>true</skipAssembly>
891 <groupId>org.xolstice.maven.plugins</groupId>
892 <artifactId>protobuf-maven-plugin</artifactId>
893 <version>${protobuf.plugin.version}</version>
895 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
896 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
897 <clearOutputDirectory>false</clearOutputDirectory>
898 <checkStaleness>true</checkStaleness>
902 <!-- Approach followed here is roughly the same as mentioned here:
903 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
905 <groupId>org.apache.maven.plugins</groupId>
906 <artifactId>maven-checkstyle-plugin</artifactId>
907 <version>${maven.checkstyle.version}</version>
910 <groupId>org.apache.hbase</groupId>
911 <artifactId>hbase-checkstyle</artifactId>
912 <version>${project.version}</version>
915 <groupId>com.puppycrawl.tools</groupId>
916 <artifactId>checkstyle</artifactId>
917 <version>${checkstyle.version}</version>
921 <configLocation>hbase/checkstyle.xml</configLocation>
922 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
923 <includeTestSourceDirectory>true</includeTestSourceDirectory>
927 <groupId>net.revelc.code</groupId>
928 <artifactId>warbucks-maven-plugin</artifactId>
929 <version>${maven.warbucks.version}</version>
931 <ignoreRuleFailures>false</ignoreRuleFailures>
934 <!-- exclude the generated java files -->
935 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
936 <includeTestClasses>false</includeTestClasses>
937 <includePublicClasses>true</includePublicClasses>
938 <includePackagePrivateClasses>false</includePackagePrivateClasses>
939 <includeProtectedClasses>false</includeProtectedClasses>
940 <includePrivateClasses>false</includePrivateClasses>
941 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
947 <id>run-warbucks</id>
949 <goal>check</goal><!-- runs at process-test-classes phase -->
958 <groupId>org.codehaus.mojo</groupId>
959 <artifactId>build-helper-maven-plugin</artifactId>
962 <id>negate-license-bundles-property</id>
964 <goal>bsh-property</goal>
967 <source>skip.license.check = !${license.bundles.dependencies};</source>
969 <property>skip.license.check</property>
973 <!-- sets where to find the generated LICENSE files -->
975 <id>create-license-file-path-property</id>
977 <goal>regex-property</goal>
980 <name>license.aggregate.path</name>
981 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
983 <replacement>/</replacement>
984 <failIfNoMatch>false</failIfNoMatch>
990 <groupId>org.apache.maven.plugins</groupId>
991 <artifactId>maven-enforcer-plugin</artifactId>
992 <version>${enforcer.version}</version>
995 <groupId>org.codehaus.mojo</groupId>
996 <artifactId>extra-enforcer-rules</artifactId>
997 <version>${extra.enforcer.version}</version>
1000 <groupId>de.skuzzle.enforcer</groupId>
1001 <artifactId>restrict-imports-enforcer-rule</artifactId>
1002 <version>${restrict-imports.enforcer.version}</version>
1005 <!-- version set by parent -->
1008 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
1010 <goal>enforce</goal>
1014 <!-- Help people activate profiles correctly -->
1016 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
1017 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
1018 </evaluateBeanshell>
1019 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
1020 <requireMavenVersion>
1021 <version>[${maven.min.version},)</version>
1022 <message>Maven is out of date.
1023 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
1024 You appear to be using an older version. You can use either "mvn -version" or
1025 "mvn enforcer:display-info" to verify what version is active.
1026 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1028 </requireMavenVersion>
1029 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1030 <requireJavaVersion>
1031 <version>[${java.min.version},)</version>
1032 <message>Java is out of date.
1033 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1034 You appear to be using an older version. You can use either "mvn -version" or
1035 "mvn enforcer:display-info" to verify what version is active.
1036 See the reference guide on building for more information: https://hbase.apache.org/book.html#build
1038 </requireJavaVersion>
1039 <bannedDependencies>
1041 <exclude>xerces:xercesImpl</exclude>
1043 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1044 </bannedDependencies>
1049 <id>banned-jsr305</id>
1051 <goal>enforce</goal>
1055 <bannedDependencies>
1057 <exclude>com.google.code.findbugs:jsr305</exclude>
1059 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1060 </bannedDependencies>
1065 <id>banned-scala</id>
1067 <goal>enforce</goal>
1071 <bannedDependencies>
1073 <exclude>org.scala-lang:scala-library</exclude>
1075 <message>We don't allow Scala, see HBASE-13992.</message>
1076 </bannedDependencies>
1081 <id>check-aggregate-license</id>
1082 <!-- must check after LICENSE is built at 'generate-resources' -->
1083 <phase>process-resources</phase>
1085 <goal>enforce</goal>
1091 File license = new File("${license.aggregate.path}");
1093 // Beanshell does not support try-with-resources,
1094 // so we must close this scanner manually
1095 Scanner scanner = new Scanner(license);
1097 while (scanner.hasNextLine()) {
1098 if (scanner.nextLine().startsWith("ERROR:")) {
1107 License errors detected, for more detail find ERROR in
1108 ${license.aggregate.path}
1110 </evaluateBeanshell>
1112 <skip>${skip.license.check}</skip>
1116 <id>banned-illegal-imports</id>
1117 <phase>process-sources</phase>
1119 <goal>enforce</goal>
1123 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1124 <includeTestCode>true</includeTestCode>
1125 <commentLineBufferSize>512</commentLineBufferSize>
1126 <reason>Use SLF4j for logging</reason>
1128 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1129 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1132 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1133 <includeTestCode>true</includeTestCode>
1134 <commentLineBufferSize>512</commentLineBufferSize>
1135 <reason>Use shaded version in hbase-thirdparty</reason>
1137 <bannedImport>com.google.common.**</bannedImport>
1138 <bannedImport>io.netty.**</bannedImport>
1139 <bannedImport>org.apache.commons.cli.**</bannedImport>
1140 <bannedImport>org.apache.commons.collections.**</bannedImport>
1141 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1144 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1145 <includeTestCode>true</includeTestCode>
1146 <commentLineBufferSize>512</commentLineBufferSize>
1147 <reason>Do not use shaded classes from other dependencies</reason>
1149 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1150 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1153 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1154 <includeTestCode>true</includeTestCode>
1155 <commentLineBufferSize>512</commentLineBufferSize>
1156 <reason>Use shaded gson in hbase-thirdparty</reason>
1158 <bannedImport>org.codehaus.jackson.**</bannedImport>
1161 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1162 <includeTestCode>true</includeTestCode>
1163 <commentLineBufferSize>512</commentLineBufferSize>
1164 <reason>Use commons lang 3</reason>
1166 <bannedImport>org.apache.commons.lang.**</bannedImport>
1169 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1170 <includeTestCode>true</includeTestCode>
1171 <commentLineBufferSize>512</commentLineBufferSize>
1172 <reason>Use yetus IA and IS annotations</reason>
1174 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1177 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1178 <includeTestCode>true</includeTestCode>
1179 <commentLineBufferSize>512</commentLineBufferSize>
1180 <reason>Do not use htrace v3</reason>
1182 <bannedImport>org.htrace.**</bannedImport>
1190 <!-- parent-module only plugins -->
1192 <groupId>org.codehaus.mojo</groupId>
1193 <artifactId>xml-maven-plugin</artifactId>
1194 <version>${xml.maven.version}</version>
1195 <inherited>false</inherited>
1198 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1200 <goal>transform</goal>
1206 <transformationSets>
1207 <!-- For asciidoc -->
1209 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1210 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1212 <include>hbase-default.xml</include>
1214 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1216 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1217 <pattern>^(.*)\.xml$</pattern>
1218 <replacement>$1.adoc</replacement>
1221 <outputDir>${basedir}/target/asciidoc</outputDir>
1222 </transformationSet>
1223 </transformationSets>
1226 <!-- Special configuration for findbugs just in the parent so
1227 the filter file location can be more general (see definition in pluginManagement) -->
1229 <groupId>org.codehaus.mojo</groupId>
1230 <artifactId>findbugs-maven-plugin</artifactId>
1233 <inherited>false</inherited>
1235 <goal>findbugs</goal>
1238 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1244 <groupId>org.apache.maven.plugins</groupId>
1245 <artifactId>maven-checkstyle-plugin</artifactId>
1248 <groupId>org.apache.maven.plugins</groupId>
1249 <artifactId>maven-site-plugin</artifactId>
1252 <!-- add support for ssh/scp -->
1253 <groupId>org.apache.maven.wagon</groupId>
1254 <artifactId>wagon-ssh</artifactId>
1255 <version>${wagon.ssh.version}</version>
1259 <siteDirectory>${basedir}/src/site</siteDirectory>
1260 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1261 <inputEncoding>UTF-8</inputEncoding>
1262 <outputEncoding>UTF-8</outputEncoding>
1265 <!-- For AsciiDoc docs building -->
1267 <groupId>org.asciidoctor</groupId>
1268 <artifactId>asciidoctor-maven-plugin</artifactId>
1269 <version>${asciidoctor.plugin.version}</version>
1270 <inherited>false</inherited>
1273 <groupId>org.asciidoctor</groupId>
1274 <artifactId>asciidoctorj-pdf</artifactId>
1275 <version>${asciidoctorj.pdf.version}</version>
1278 <groupId>org.jruby</groupId>
1279 <artifactId>jruby-complete</artifactId>
1280 <version>${jruby.version}</version>
1284 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1285 <doctype>book</doctype>
1286 <imagesDir>images</imagesDir>
1287 <sourceHighlighter>coderay</sourceHighlighter>
1289 <docVersion>${project.version}</docVersion>
1294 <id>output-html</id>
1297 <goal>process-asciidoc</goal>
1301 <stylesheet>hbase.css</stylesheet>
1303 <backend>html5</backend>
1310 <goal>process-asciidoc</goal>
1313 <backend>pdf</backend>
1318 <idseparator>-</idseparator>
1325 <groupId>org.apache.maven.plugins</groupId>
1326 <artifactId>maven-resources-plugin</artifactId>
1327 <!--$NO-MVN-MAN-VER$ -->
1328 <inherited>false</inherited>
1331 <id>copy-htaccess</id>
1333 <goal>copy-resources</goal>
1337 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1340 <directory>${basedir}/src/site/resources/</directory>
1342 <include>.htaccess</include>
1348 <!-- needed to make the redirect above work -->
1350 <id>copy-empty-book-dir</id>
1352 <goal>copy-resources</goal>
1356 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1359 <directory>${basedir}/src/site/resources/</directory>
1361 <include>book/**</include>
1369 <escapeString>\</escapeString>
1373 <groupId>org.apache.maven.plugins</groupId>
1374 <artifactId>maven-antrun-plugin</artifactId>
1375 <version>${maven.antrun.version}</version>
1376 <inherited>false</inherited>
1377 <!-- Rename the book.pdf generated by asciidoctor -->
1383 <target name="rename file">
1384 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1394 <groupId>org.codehaus.mojo</groupId>
1395 <artifactId>buildnumber-maven-plugin</artifactId>
1398 <phase>validate</phase>
1400 <goal>create-timestamp</goal>
1405 <timestampFormat>yyyy</timestampFormat>
1406 <timestampPropertyName>build.year</timestampPropertyName>
1410 <groupId>org.apache.felix</groupId>
1411 <artifactId>maven-bundle-plugin</artifactId>
1412 <version>${maven.bundle.version}</version>
1413 <inherited>true</inherited>
1414 <extensions>true</extensions>
1419 <!-- override on command line to have generated LICENSE files include
1420 diagnostic info for verifying notice requirements -->
1421 <license.debug.print.included>false</license.debug.print.included>
1422 <!-- When a particular module bundles its depenendencies, should be true -->
1423 <license.bundles.dependencies>false</license.bundles.dependencies>
1424 <!-- modules that include a the logo in their source tree should set true -->
1425 <license.bundles.logo>false</license.bundles.logo>
1426 <!-- modules that include bootstrap in their source tree should set true -->
1427 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1428 <!-- modules that include jquery in their source tree should set true -->
1429 <license.bundles.jquery>false</license.bundles.jquery>
1430 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1431 <maven.build.timestamp.format>
1433 </maven.build.timestamp.format>
1434 <buildDate>${maven.build.timestamp}</buildDate>
1435 <compileSource>1.8</compileSource>
1436 <!-- Build dependencies -->
1437 <maven.min.version>3.0.4</maven.min.version>
1438 <java.min.version>${compileSource}</java.min.version>
1439 <!-- Dependencies -->
1440 <hadoop-two.version>2.8.5</hadoop-two.version>
1441 <hadoop-three.version>3.1.2</hadoop-three.version>
1442 <!-- These must be defined here for downstream build tools that don't look at profiles.
1443 They ought to match the values found in our default hadoop profile, which is
1444 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1445 <hadoop.version>${hadoop-two.version}</hadoop.version>
1446 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1447 <compat.module>hbase-hadoop2-compat</compat.module>
1448 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1449 <!--This property is for hadoops netty. HBase netty
1450 comes in via hbase-thirdparty hbase-shaded-netty-->
1451 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1452 <!-- end HBASE-15925 default hadoop compatibility values -->
1453 <audience-annotations.version>0.5.0</audience-annotations.version>
1454 <avro.version>1.7.7</avro.version>
1455 <caffeine.version>2.6.2</caffeine.version>
1456 <commons-codec.version>1.10</commons-codec.version>
1457 <commons-validator.version>1.6</commons-validator.version>
1458 <!-- pretty outdated -->
1459 <commons-io.version>2.5</commons-io.version>
1460 <commons-lang3.version>3.9</commons-lang3.version>
1461 <commons-math.version>3.6.1</commons-math.version>
1462 <disruptor.version>3.3.6</disruptor.version>
1463 <httpclient.version>4.5.3</httpclient.version>
1464 <httpcore.version>4.4.6</httpcore.version>
1465 <metrics-core.version>3.2.6</metrics-core.version>
1466 <jackson.version>2.9.9</jackson.version>
1467 <jackson.databind.version>2.9.9.2</jackson.databind.version>
1468 <jaxb-api.version>2.2.12</jaxb-api.version>
1469 <jetty.version>9.3.27.v20190418</jetty.version>
1470 <servlet.api.version>3.1.0</servlet.api.version>
1471 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1472 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1473 <jersey.version>2.25.1</jersey.version>
1474 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1475 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1476 <jruby.version>9.1.17.0</jruby.version>
1477 <junit.version>4.12</junit.version>
1478 <hamcrest.version>1.3</hamcrest.version>
1479 <htrace.version>4.2.0-incubating</htrace.version>
1480 <log4j.version>1.2.17</log4j.version>
1481 <mockito-core.version>2.1.0</mockito-core.version>
1482 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1483 <external.protobuf.version>2.5.0</external.protobuf.version>
1484 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1485 <thrift.path>thrift</thrift.path>
1486 <thrift.version>0.12.0</thrift.version>
1487 <zookeeper.version>3.4.10</zookeeper.version>
1488 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1489 <jline.version>0.9.94</jline.version>
1490 <slf4j.version>1.7.25</slf4j.version>
1491 <clover.version>4.0.3</clover.version>
1492 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1493 <jettison.version>1.3.8</jettison.version>
1494 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1495 <joni.version>2.1.11</joni.version>
1496 <jcodings.version>1.0.18</jcodings.version>
1497 <spy.version>2.12.2</spy.version>
1498 <bouncycastle.version>1.60</bouncycastle.version>
1499 <kerby.version>1.0.1</kerby.version>
1500 <commons-crypto.version>1.0.0</commons-crypto.version>
1501 <curator.version>4.0.0</curator.version>
1502 <!-- Plugin Dependencies -->
1503 <apache.rat.version>0.12</apache.rat.version>
1504 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1505 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1506 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1507 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1508 <checkstyle.version>8.11</checkstyle.version>
1509 <exec.maven.version>1.6.0</exec.maven.version>
1510 <error-prone.version>2.3.3</error-prone.version>
1511 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1512 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1513 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1514 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1515 <maven.antrun.version>1.8</maven.antrun.version>
1516 <maven.bundle.version>3.3.0</maven.bundle.version>
1517 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1518 <maven.compiler.version>3.8.0</maven.compiler.version>
1519 <maven.eclipse.version>2.10</maven.eclipse.version>
1520 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1521 <maven.project.info.report.version>2.9</maven.project.info.report.version>
1522 <os.maven.version>1.5.0.Final</os.maven.version>
1523 <spotbugs.version>3.1.11</spotbugs.version>
1524 <surefire.version>2.22.2</surefire.version>
1525 <wagon.ssh.version>2.12</wagon.ssh.version>
1526 <xml.maven.version>1.0.1</xml.maven.version>
1527 <hbase-thirdparty.version>2.2.1</hbase-thirdparty.version>
1528 <!-- Intraproject jar naming properties -->
1529 <!-- TODO this is pretty ugly, but works for the moment.
1530 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1531 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1532 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1533 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1534 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1535 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1536 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1537 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1538 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1539 <shell-executable>bash</shell-executable>
1540 <surefire.provider>surefire-junit47</surefire.provider>
1541 <!-- default: run small & medium, medium with 2 threads -->
1542 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1543 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1544 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1545 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1546 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1547 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1548 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1549 <test.output.tofile>true</test.output.tofile>
1550 <surefire.timeout>900</surefire.timeout>
1551 <test.exclude.pattern></test.exclude.pattern>
1552 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1553 <surefire.Xmx>2800m</surefire.Xmx>
1554 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1555 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1557 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1558 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1559 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1560 </hbase-surefire.argLine>
1561 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1562 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1563 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1564 </hbase-surefire.cygwin-argLine>
1565 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1566 <argLine>${hbase-surefire.argLine}</argLine>
1567 <jacoco.version>0.7.5.201505241946</jacoco.version>
1568 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1569 <enforcer.version>3.0.0-M2</enforcer.version>
1570 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1571 <!-- Location of test resources -->
1572 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1573 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1574 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1575 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1576 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1577 <build.id>${maven.build.timestamp}</build.id>
1578 <shell-executable>bash</shell-executable>
1579 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1580 property as of javadoc-plugin 3.0.0 -->
1581 <doclint>none</doclint>
1583 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1584 <dependencyManagement>
1587 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1588 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1589 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1590 implementation of the same, because Hadoop also uses this version
1591 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1592 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1594 <!-- Intra-module dependencies -->
1596 <groupId>org.apache.hbase</groupId>
1597 <artifactId>hbase-annotations</artifactId>
1598 <version>${project.version}</version>
1599 <type>test-jar</type>
1600 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1603 <artifactId>hbase-backup</artifactId>
1604 <groupId>org.apache.hbase</groupId>
1605 <version>${project.version}</version>
1608 <groupId>org.apache.hbase</groupId>
1609 <artifactId>hbase-common</artifactId>
1610 <version>${project.version}</version>
1613 <groupId>org.apache.hbase</groupId>
1614 <artifactId>hbase-common</artifactId>
1615 <version>${project.version}</version>
1616 <type>test-jar</type>
1620 <groupId>org.apache.hbase</groupId>
1621 <artifactId>hbase-protocol-shaded</artifactId>
1622 <version>${project.version}</version>
1625 <groupId>org.apache.hbase</groupId>
1626 <artifactId>hbase-protocol</artifactId>
1627 <version>${project.version}</version>
1630 <groupId>org.apache.hbase</groupId>
1631 <artifactId>hbase-procedure</artifactId>
1632 <version>${project.version}</version>
1635 <groupId>org.apache.hbase</groupId>
1636 <artifactId>hbase-procedure</artifactId>
1637 <version>${project.version}</version>
1638 <type>test-jar</type>
1641 <groupId>org.apache.hbase</groupId>
1642 <artifactId>hbase-hadoop-compat</artifactId>
1643 <version>${project.version}</version>
1646 <groupId>org.apache.hbase</groupId>
1647 <artifactId>hbase-hadoop-compat</artifactId>
1648 <version>${project.version}</version>
1649 <type>test-jar</type>
1653 <groupId>org.apache.hbase</groupId>
1654 <artifactId>${compat.module}</artifactId>
1655 <version>${project.version}</version>
1658 <groupId>org.apache.hbase</groupId>
1659 <artifactId>${compat.module}</artifactId>
1660 <version>${project.version}</version>
1661 <type>test-jar</type>
1665 <artifactId>hbase-rsgroup</artifactId>
1666 <groupId>org.apache.hbase</groupId>
1667 <version>${project.version}</version>
1670 <artifactId>hbase-rsgroup</artifactId>
1671 <groupId>org.apache.hbase</groupId>
1672 <version>${project.version}</version>
1673 <type>test-jar</type>
1677 <artifactId>hbase-replication</artifactId>
1678 <groupId>org.apache.hbase</groupId>
1679 <version>${project.version}</version>
1682 <artifactId>hbase-http</artifactId>
1683 <groupId>org.apache.hbase</groupId>
1684 <version>${project.version}</version>
1687 <artifactId>hbase-http</artifactId>
1688 <groupId>org.apache.hbase</groupId>
1689 <version>${project.version}</version>
1690 <type>test-jar</type>
1694 <artifactId>hbase-server</artifactId>
1695 <groupId>org.apache.hbase</groupId>
1696 <version>${project.version}</version>
1699 <artifactId>hbase-server</artifactId>
1700 <groupId>org.apache.hbase</groupId>
1701 <version>${project.version}</version>
1702 <type>test-jar</type>
1706 <artifactId>hbase-mapreduce</artifactId>
1707 <groupId>org.apache.hbase</groupId>
1708 <version>${project.version}</version>
1711 <artifactId>hbase-mapreduce</artifactId>
1712 <groupId>org.apache.hbase</groupId>
1713 <version>${project.version}</version>
1714 <type>test-jar</type>
1718 <artifactId>hbase-endpoint</artifactId>
1719 <groupId>org.apache.hbase</groupId>
1720 <version>${project.version}</version>
1723 <artifactId>hbase-shell</artifactId>
1724 <groupId>org.apache.hbase</groupId>
1725 <version>${project.version}</version>
1728 <artifactId>hbase-shell</artifactId>
1729 <groupId>org.apache.hbase</groupId>
1730 <version>${project.version}</version>
1731 <type>test-jar</type>
1735 <artifactId>hbase-thrift</artifactId>
1736 <groupId>org.apache.hbase</groupId>
1737 <version>${project.version}</version>
1740 <artifactId>hbase-thrift</artifactId>
1741 <groupId>org.apache.hbase</groupId>
1742 <version>${project.version}</version>
1743 <type>test-jar</type>
1747 <groupId>org.apache.hbase</groupId>
1748 <artifactId>hbase-testing-util</artifactId>
1749 <version>${project.version}</version>
1753 <artifactId>hbase-examples</artifactId>
1754 <groupId>org.apache.hbase</groupId>
1755 <version>${project.version}</version>
1758 <groupId>org.apache.hbase</groupId>
1759 <artifactId>hbase-external-blockcache</artifactId>
1760 <version>${project.version}</version>
1763 <artifactId>hbase-it</artifactId>
1764 <groupId>org.apache.hbase</groupId>
1765 <version>${project.version}</version>
1766 <type>test-jar</type>
1770 <artifactId>hbase-client</artifactId>
1771 <groupId>org.apache.hbase</groupId>
1772 <version>${project.version}</version>
1775 <artifactId>hbase-metrics-api</artifactId>
1776 <groupId>org.apache.hbase</groupId>
1777 <version>${project.version}</version>
1780 <artifactId>hbase-metrics-api</artifactId>
1781 <groupId>org.apache.hbase</groupId>
1782 <version>${project.version}</version>
1783 <type>test-jar</type>
1787 <artifactId>hbase-metrics</artifactId>
1788 <groupId>org.apache.hbase</groupId>
1789 <version>${project.version}</version>
1792 <artifactId>hbase-metrics</artifactId>
1793 <groupId>org.apache.hbase</groupId>
1794 <version>${project.version}</version>
1795 <type>test-jar</type>
1799 <artifactId>hbase-rest</artifactId>
1800 <groupId>org.apache.hbase</groupId>
1801 <version>${project.version}</version>
1804 <artifactId>hbase-resource-bundle</artifactId>
1805 <groupId>org.apache.hbase</groupId>
1806 <version>${project.version}</version>
1809 <artifactId>hbase-zookeeper</artifactId>
1810 <groupId>org.apache.hbase</groupId>
1811 <version>${project.version}</version>
1814 <artifactId>hbase-zookeeper</artifactId>
1815 <groupId>org.apache.hbase</groupId>
1816 <version>${project.version}</version>
1817 <type>test-jar</type>
1821 <groupId>org.apache.hbase</groupId>
1822 <artifactId>hbase-shaded-client</artifactId>
1823 <version>${project.version}</version>
1826 <groupId>org.apache.hbase</groupId>
1827 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1828 <version>${project.version}</version>
1831 <groupId>org.apache.hbase</groupId>
1832 <artifactId>hbase-shaded-mapreduce</artifactId>
1833 <version>${project.version}</version>
1835 <!-- General dependencies -->
1837 <groupId>com.github.stephenc.findbugs</groupId>
1838 <artifactId>findbugs-annotations</artifactId>
1839 <version>${findbugs-annotations}</version>
1841 <!-- General dependencies -->
1843 <groupId>org.codehaus.jettison</groupId>
1844 <artifactId>jettison</artifactId>
1845 <version>${jettison.version}</version>
1848 <groupId>org.slf4j</groupId>
1849 <artifactId>slf4j-log4j12</artifactId>
1850 <version>${slf4j.version}</version>
1853 <groupId>log4j</groupId>
1854 <artifactId>log4j</artifactId>
1855 <version>${log4j.version}</version>
1857 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1859 <groupId>org.apache.avro</groupId>
1860 <artifactId>avro</artifactId>
1861 <version>${avro.version}</version>
1863 <!--This is not used by hbase directly. Used by thrift,
1864 dropwizard and zk.-->
1866 <groupId>org.slf4j</groupId>
1867 <artifactId>slf4j-api</artifactId>
1868 <version>${slf4j.version}</version>
1871 <groupId>com.github.ben-manes.caffeine</groupId>
1872 <artifactId>caffeine</artifactId>
1873 <version>${caffeine.version}</version>
1876 <groupId>io.dropwizard.metrics</groupId>
1877 <artifactId>metrics-core</artifactId>
1878 <version>${metrics-core.version}</version>
1881 <groupId>org.apache.httpcomponents</groupId>
1882 <artifactId>httpclient</artifactId>
1883 <version>${httpclient.version}</version>
1886 <groupId>org.apache.httpcomponents</groupId>
1887 <artifactId>httpcore</artifactId>
1888 <version>${httpcore.version}</version>
1891 <groupId>commons-codec</groupId>
1892 <artifactId>commons-codec</artifactId>
1893 <version>${commons-codec.version}</version>
1896 <groupId>commons-validator</groupId>
1897 <artifactId>commons-validator</artifactId>
1898 <version>${commons-validator.version}</version>
1901 <groupId>commons-io</groupId>
1902 <artifactId>commons-io</artifactId>
1903 <version>${commons-io.version}</version>
1906 <groupId>org.apache.commons</groupId>
1907 <artifactId>commons-lang3</artifactId>
1908 <version>${commons-lang3.version}</version>
1911 <groupId>org.apache.commons</groupId>
1912 <artifactId>commons-math3</artifactId>
1913 <version>${commons-math.version}</version>
1916 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1919 <groupId>commons-logging</groupId>
1920 <artifactId>commons-logging</artifactId>
1921 <version>1.2</version>
1924 <groupId>org.apache.zookeeper</groupId>
1925 <artifactId>zookeeper</artifactId>
1926 <version>${zookeeper.version}</version>
1929 <groupId>jline</groupId>
1930 <artifactId>jline</artifactId>
1933 <groupId>com.sun.jmx</groupId>
1934 <artifactId>jmxri</artifactId>
1937 <groupId>com.sun.jdmk</groupId>
1938 <artifactId>jmxtools</artifactId>
1941 <groupId>javax.jms</groupId>
1942 <artifactId>jms</artifactId>
1945 <groupId>io.netty</groupId>
1946 <artifactId>netty</artifactId>
1951 <groupId>jline</groupId>
1952 <artifactId>jline</artifactId>
1953 <version>${jline.version}</version>
1956 <groupId>org.apache.thrift</groupId>
1957 <artifactId>libthrift</artifactId>
1958 <version>${thrift.version}</version>
1961 <groupId>org.slf4j</groupId>
1962 <artifactId>slf4j-simple</artifactId>
1967 <groupId>org.jruby</groupId>
1968 <artifactId>jruby-complete</artifactId>
1969 <version>${jruby.version}</version>
1972 <groupId>org.jruby.jcodings</groupId>
1973 <artifactId>jcodings</artifactId>
1974 <version>${jcodings.version}</version>
1977 <groupId>org.jruby.joni</groupId>
1978 <artifactId>joni</artifactId>
1979 <version>${joni.version}</version>
1982 <groupId>com.fasterxml.jackson.jaxrs</groupId>
1983 <artifactId>jackson-jaxrs-json-provider</artifactId>
1984 <version>${jackson.version}</version>
1987 <groupId>com.fasterxml.jackson.core</groupId>
1988 <artifactId>jackson-annotations</artifactId>
1989 <version>${jackson.version}</version>
1992 <groupId>com.fasterxml.jackson.core</groupId>
1993 <artifactId>jackson-core</artifactId>
1994 <version>${jackson.version}</version>
1997 <groupId>com.fasterxml.jackson.core</groupId>
1998 <artifactId>jackson-databind</artifactId>
1999 <version>${jackson.databind.version}</version>
2002 <groupId>org.jamon</groupId>
2003 <artifactId>jamon-runtime</artifactId>
2004 <version>${jamon-runtime.version}</version>
2006 <!-- REST dependencies -->
2008 <groupId>javax.servlet</groupId>
2009 <artifactId>javax.servlet-api</artifactId>
2010 <version>${servlet.api.version}</version>
2013 <groupId>javax.ws.rs</groupId>
2014 <artifactId>javax.ws.rs-api</artifactId>
2015 <version>${wx.rs.api.version}</version>
2018 <groupId>com.sun.activation</groupId>
2019 <artifactId>javax.activation</artifactId>
2020 <version>1.2.0</version>
2023 <groupId>javax.annotation</groupId>
2024 <artifactId>javax.annotation-api</artifactId>
2025 <version>1.2</version>
2028 <groupId>org.eclipse.jetty</groupId>
2029 <artifactId>jetty-server</artifactId>
2030 <version>${jetty.version}</version>
2033 <groupId>org.eclipse.jetty</groupId>
2034 <artifactId>jetty-servlet</artifactId>
2035 <version>${jetty.version}</version>
2038 <groupId>org.eclipse.jetty</groupId>
2039 <artifactId>servlet-api</artifactId>
2044 <groupId>org.eclipse.jetty</groupId>
2045 <artifactId>jetty-security</artifactId>
2046 <version>${jetty.version}</version>
2049 <groupId>org.eclipse.jetty</groupId>
2050 <artifactId>jetty-http</artifactId>
2051 <version>${jetty.version}</version>
2054 <groupId>org.eclipse.jetty</groupId>
2055 <artifactId>jetty-util</artifactId>
2056 <version>${jetty.version}</version>
2059 <groupId>org.eclipse.jetty</groupId>
2060 <artifactId>jetty-io</artifactId>
2061 <version>${jetty.version}</version>
2064 <groupId>org.eclipse.jetty</groupId>
2065 <artifactId>jetty-jmx</artifactId>
2066 <version>${jetty.version}</version>
2069 <groupId>org.eclipse.jetty</groupId>
2070 <artifactId>jetty-webapp</artifactId>
2071 <version>${jetty.version}</version>
2074 <groupId>org.eclipse.jetty</groupId>
2075 <artifactId>jetty-util-ajax</artifactId>
2076 <version>${jetty.version}</version>
2079 <groupId>com.google.protobuf</groupId>
2080 <artifactId>protobuf-java</artifactId>
2081 <version>${external.protobuf.version}</version>
2084 <groupId>org.glassfish.jersey.containers</groupId>
2085 <artifactId>jersey-container-servlet-core</artifactId>
2086 <version>${jersey.version}</version>
2089 <groupId>org.glassfish.jersey.core</groupId>
2090 <artifactId>jersey-client</artifactId>
2091 <version>${jersey.version}</version>
2094 <groupId>org.glassfish.jersey.core</groupId>
2095 <artifactId>jersey-server</artifactId>
2096 <version>${jersey.version}</version>
2099 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2100 <groupId>org.glassfish.web</groupId>
2101 <artifactId>javax.servlet.jsp</artifactId>
2102 <version>${glassfish.jsp.version}</version>
2105 <!-- this lib is used by the compiled Jsp from the above JspC -->
2106 <groupId>javax.servlet.jsp</groupId>
2107 <artifactId>javax.servlet.jsp-api</artifactId>
2108 <version>2.3.1</version>
2111 <groupId>org.glassfish</groupId>
2112 <artifactId>javax.el</artifactId>
2113 <version>${glassfish.el.version}</version>
2116 <groupId>javax.xml.bind</groupId>
2117 <artifactId>jaxb-api</artifactId>
2118 <version>${jaxb-api.version}</version>
2121 <groupId>javax.xml.stream</groupId>
2122 <artifactId>stax-api</artifactId>
2127 <groupId>junit</groupId>
2128 <artifactId>junit</artifactId>
2129 <version>${junit.version}</version>
2132 <groupId>org.hamcrest</groupId>
2133 <artifactId>hamcrest-core</artifactId>
2134 <version>${hamcrest.version}</version>
2138 <groupId>org.mockito</groupId>
2139 <artifactId>mockito-core</artifactId>
2140 <version>${mockito-core.version}</version>
2144 <groupId>org.apache.htrace</groupId>
2145 <artifactId>htrace-core4</artifactId>
2146 <version>${htrace.version}</version>
2149 <groupId>com.lmax</groupId>
2150 <artifactId>disruptor</artifactId>
2151 <version>${disruptor.version}</version>
2154 <groupId>net.spy</groupId>
2155 <artifactId>spymemcached</artifactId>
2156 <version>${spy.version}</version>
2157 <optional>true</optional>
2160 <groupId>org.bouncycastle</groupId>
2161 <artifactId>bcprov-jdk15on</artifactId>
2162 <version>${bouncycastle.version}</version>
2166 <groupId>org.apache.kerby</groupId>
2167 <artifactId>kerb-core</artifactId>
2168 <version>${kerby.version}</version>
2171 <groupId>org.apache.kerby</groupId>
2172 <artifactId>kerb-client</artifactId>
2173 <version>${kerby.version}</version>
2176 <groupId>org.apache.kerby</groupId>
2177 <artifactId>kerb-simplekdc</artifactId>
2178 <version>${kerby.version}</version>
2181 <groupId>org.apache.commons</groupId>
2182 <artifactId>commons-crypto</artifactId>
2183 <version>${commons-crypto.version}</version>
2186 <groupId>net.java.dev.jna</groupId>
2187 <artifactId>jna</artifactId>
2192 <groupId>org.apache.curator</groupId>
2193 <artifactId>curator-framework</artifactId>
2194 <version>${curator.version}</version>
2197 <groupId>org.apache.zookeeper</groupId>
2198 <artifactId>zookeeper</artifactId>
2203 <groupId>org.apache.curator</groupId>
2204 <artifactId>curator-client</artifactId>
2205 <version>${curator.version}</version>
2208 <groupId>com.google.guava</groupId>
2209 <artifactId>guava</artifactId>
2212 <groupId>org.apache.zookeeper</groupId>
2213 <artifactId>zookeeper</artifactId>
2218 <groupId>org.apache.curator</groupId>
2219 <artifactId>curator-recipes</artifactId>
2220 <version>${curator.version}</version>
2223 <groupId>com.google.guava</groupId>
2224 <artifactId>guava</artifactId>
2227 <groupId>org.apache.zookeeper</groupId>
2228 <artifactId>zookeeper</artifactId>
2233 <groupId>org.apache.yetus</groupId>
2234 <artifactId>audience-annotations</artifactId>
2235 <version>${audience-annotations.version}</version>
2238 <groupId>org.apache.hbase.thirdparty</groupId>
2239 <artifactId>hbase-shaded-miscellaneous</artifactId>
2240 <version>${hbase-thirdparty.version}</version>
2243 <groupId>org.apache.hbase.thirdparty</groupId>
2244 <artifactId>hbase-shaded-netty</artifactId>
2245 <version>${hbase-thirdparty.version}</version>
2248 <groupId>org.apache.hbase.thirdparty</groupId>
2249 <artifactId>hbase-shaded-protobuf</artifactId>
2250 <version>${hbase-thirdparty.version}</version>
2253 <groupId>com.sun.xml.ws</groupId>
2254 <artifactId>jaxws-ri</artifactId>
2255 <version>2.3.2</version>
2259 <groupId>javax.activation</groupId>
2260 <artifactId>javax.activation-api</artifactId>
2265 </dependencyManagement>
2267 <!--REMOVE THIS. HERE TEMPORARILY.
2268 Implication is that every module needs junit which is not so.
2269 Cannot undo though because build runs test on each module and
2270 it fails if no junit. TODO. -->
2272 <groupId>junit</groupId>
2273 <artifactId>junit</artifactId>
2279 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2284 <id>apache.releases.https</id>
2285 <username>hbase_committer</username>
2286 <password>********</password>
2290 <id>apache.snapshots.https</id>
2291 <username>hbase_committer</username>
2292 <password>********</password>
2300 $ mvn -s /my/path/settings.xml deploy
2308 <name>!skip-rsgroup</name>
2312 <module>hbase-rsgroup</module>
2316 <id>build-with-jdk8</id>
2324 <groupId>org.codehaus.mojo</groupId>
2325 <artifactId>findbugs-maven-plugin</artifactId>
2326 <version>${findbugs.maven.version}</version>
2327 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2329 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2330 <findbugsXmlOutput>true</findbugsXmlOutput>
2331 <xmlOutput>true</xmlOutput>
2332 <effort>Max</effort>
2336 <groupId>com.github.spotbugs</groupId>
2337 <artifactId>spotbugs</artifactId>
2338 <version>${spotbugs.version}</version>
2347 <id>build-with-jdk11</id>
2351 <dependencyManagement>
2354 </dependencyManagement>
2356 <!-- profile activated by the Jenkins patch testing job -->
2358 <id>jenkins.patch</id>
2360 <activeByDefault>false</activeByDefault>
2362 <name>HBasePatchProcess</name>
2366 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2371 <groupId>org.apache.maven.plugins</groupId>
2372 <artifactId>maven-antrun-plugin</artifactId>
2373 <inherited>false</inherited>
2376 <phase>validate</phase>
2382 <echo>Maven Execution Environment</echo>
2383 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2395 <activeByDefault>false</activeByDefault>
2400 <groupId>org.jacoco</groupId>
2401 <artifactId>jacoco-maven-plugin</artifactId>
2402 <version>${jacoco.version}</version>
2405 <id>prepare-agent</id>
2407 <goal>prepare-agent</goal>
2412 <phase>prepare-package</phase>
2419 <systemPropertyVariables>
2420 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2421 </systemPropertyVariables>
2423 <exclude>**/generated/**/*.class</exclude>
2433 <activeByDefault>false</activeByDefault>
2435 <family>Linux</family>
2439 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2446 <family>Mac</family>
2450 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2457 <family>Windows</family>
2461 <build.platform>cygwin</build.platform>
2462 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2465 <!-- this profile should be activated for release builds -->
2471 <groupId>org.apache.rat</groupId>
2472 <artifactId>apache-rat-plugin</artifactId>
2475 <phase>package</phase>
2483 <groupId>org.apache.maven.plugins</groupId>
2484 <artifactId>maven-enforcer-plugin</artifactId>
2485 <version>${enforcer.version}</version>
2488 <enforceBytecodeVersion>
2489 <maxJdkVersion>${compileSource}</maxJdkVersion>
2490 <message>HBase has unsupported dependencies.
2491 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2492 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2493 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2494 Non-release builds can temporarily build with a newer JDK version by setting the
2495 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2497 </enforceBytecodeVersion>
2504 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2505 <!-- Submodules that need hadoop dependencies should declare
2506 profiles with activation properties matching the profile here.
2507 Generally, it should be sufficient to copy the first
2508 few lines of the profile you want to match. -->
2509 <!-- profile for building against Hadoop 2.0.x
2510 This is the default.
2516 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2517 <!--h2--><name>!hadoop.profile</name>
2521 <module>hbase-hadoop2-compat</module>
2524 <hadoop.version>${hadoop-two.version}</hadoop.version>
2525 <compat.module>hbase-hadoop2-compat</compat.module>
2526 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2527 <!--This property is for hadoops netty. HBase netty
2528 comes in via hbase-thirdparty hbase-shaded-netty-->
2529 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2531 <dependencyManagement>
2534 <groupId>org.apache.hadoop</groupId>
2535 <artifactId>hadoop-mapreduce-client-core</artifactId>
2536 <version>${hadoop-two.version}</version>
2539 <groupId>com.sun.jersey</groupId>
2540 <artifactId>jersey-core</artifactId>
2543 <groupId>io.netty</groupId>
2544 <artifactId>netty</artifactId>
2547 <groupId>javax.servlet</groupId>
2548 <artifactId>servlet-api</artifactId>
2551 <groupId>javax.inject</groupId>
2552 <artifactId>javax.inject</artifactId>
2555 <groupId>org.codehaus.jackson</groupId>
2556 <artifactId>jackson-core-asl</artifactId>
2559 <groupId>org.codehaus.jackson</groupId>
2560 <artifactId>jackson-mapper-asl</artifactId>
2565 <groupId>org.apache.hadoop</groupId>
2566 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2567 <version>${hadoop-two.version}</version>
2570 <groupId>com.sun.jersey</groupId>
2571 <artifactId>jersey-core</artifactId>
2574 <groupId>io.netty</groupId>
2575 <artifactId>netty</artifactId>
2578 <groupId>javax.servlet</groupId>
2579 <artifactId>servlet-api</artifactId>
2584 <groupId>org.apache.hadoop</groupId>
2585 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2586 <version>${hadoop-two.version}</version>
2587 <type>test-jar</type>
2591 <groupId>com.sun.jersey</groupId>
2592 <artifactId>jersey-core</artifactId>
2595 <groupId>io.netty</groupId>
2596 <artifactId>netty</artifactId>
2599 <groupId>javax.servlet</groupId>
2600 <artifactId>servlet-api</artifactId>
2605 <groupId>org.apache.hadoop</groupId>
2606 <artifactId>hadoop-hdfs</artifactId>
2607 <version>${hadoop-two.version}</version>
2610 <groupId>com.sun.jersey</groupId>
2611 <artifactId>jersey-core</artifactId>
2614 <groupId>javax.servlet.jsp</groupId>
2615 <artifactId>jsp-api</artifactId>
2618 <groupId>javax.servlet</groupId>
2619 <artifactId>servlet-api</artifactId>
2622 <groupId>io.netty</groupId>
2623 <artifactId>netty</artifactId>
2626 <groupId>stax</groupId>
2627 <artifactId>stax-api</artifactId>
2630 <groupId>xerces</groupId>
2631 <artifactId>xercesImpl</artifactId>
2634 <groupId>org.codehaus.jackson</groupId>
2635 <artifactId>jackson-core-asl</artifactId>
2638 <groupId>org.codehaus.jackson</groupId>
2639 <artifactId>jackson-mapper-asl</artifactId>
2642 <groupId>com.google.guava</groupId>
2643 <artifactId>guava</artifactId>
2648 <groupId>org.apache.hadoop</groupId>
2649 <artifactId>hadoop-hdfs</artifactId>
2650 <version>${hadoop-two.version}</version>
2651 <type>test-jar</type>
2655 <groupId>javax.servlet.jsp</groupId>
2656 <artifactId>jsp-api</artifactId>
2659 <groupId>javax.servlet</groupId>
2660 <artifactId>servlet-api</artifactId>
2663 <groupId>io.netty</groupId>
2664 <artifactId>netty</artifactId>
2667 <groupId>stax</groupId>
2668 <artifactId>stax-api</artifactId>
2671 <groupId>xerces</groupId>
2672 <artifactId>xercesImpl</artifactId>
2675 <groupId>org.codehaus.jackson</groupId>
2676 <artifactId>jackson-core-asl</artifactId>
2679 <groupId>org.codehaus.jackson</groupId>
2680 <artifactId>jackson-mapper-asl</artifactId>
2683 <groupId>com.google.guava</groupId>
2684 <artifactId>guava</artifactId>
2687 <groupId>com.sun.jersey</groupId>
2688 <artifactId>jersey-core</artifactId>
2693 <groupId>org.apache.hadoop</groupId>
2694 <artifactId>hadoop-auth</artifactId>
2695 <version>${hadoop-two.version}</version>
2698 <groupId>com.google.guava</groupId>
2699 <artifactId>guava</artifactId>
2702 <groupId>net.minidev</groupId>
2703 <artifactId>json-smart</artifactId>
2708 <groupId>org.apache.hadoop</groupId>
2709 <artifactId>hadoop-common</artifactId>
2710 <version>${hadoop-two.version}</version>
2713 <groupId>com.sun.jersey</groupId>
2714 <artifactId>jersey-core</artifactId>
2717 <groupId>commons-beanutils</groupId>
2718 <artifactId>commons-beanutils</artifactId>
2721 <groupId>javax.servlet.jsp</groupId>
2722 <artifactId>jsp-api</artifactId>
2725 <groupId>javax.servlet</groupId>
2726 <artifactId>servlet-api</artifactId>
2729 <groupId>stax</groupId>
2730 <artifactId>stax-api</artifactId>
2733 <groupId>io.netty</groupId>
2734 <artifactId>netty</artifactId>
2737 <groupId>com.google.code.findbugs</groupId>
2738 <artifactId>jsr305</artifactId>
2741 <groupId>junit</groupId>
2742 <artifactId>junit</artifactId>
2745 <groupId>org.codehaus.jackson</groupId>
2746 <artifactId>jackson-core-asl</artifactId>
2749 <groupId>org.codehaus.jackson</groupId>
2750 <artifactId>jackson-mapper-asl</artifactId>
2755 <groupId>org.apache.hadoop</groupId>
2756 <artifactId>hadoop-common</artifactId>
2757 <version>${hadoop-two.version}</version>
2758 <type>test-jar</type>
2762 <groupId>com.sun.jersey</groupId>
2763 <artifactId>jersey-core</artifactId>
2766 <groupId>com.google.code.findbugs</groupId>
2767 <artifactId>jsr305</artifactId>
2772 <groupId>org.apache.hadoop</groupId>
2773 <artifactId>hadoop-client</artifactId>
2774 <version>${hadoop-two.version}</version>
2776 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2777 Where do we actually need it? -->
2779 <groupId>org.apache.hadoop</groupId>
2780 <artifactId>hadoop-minicluster</artifactId>
2781 <version>${hadoop-two.version}</version>
2783 <!--If we comment this in, a few tests in hbase-mapreduce
2784 fail. They depend on jersey-core somehow. But excluding
2785 jersey-core here messes up hbase-it because jersey-core
2786 implements a 1.x jaxrs Response Interface when we depend
2787 on the 2.x Interface... . Letting this jar come in
2788 transitively here but will exclude it down in hbase-it.
2791 <groupId>com.sun.jersey</groupId>
2792 <artifactId>jersey-core</artifactId>
2796 <groupId>commons-httpclient</groupId>
2797 <artifactId>commons-httpclient</artifactId>
2800 <groupId>javax.servlet.jsp</groupId>
2801 <artifactId>jsp-api</artifactId>
2804 <groupId>javax.servlet</groupId>
2805 <artifactId>servlet-api</artifactId>
2808 <groupId>stax</groupId>
2809 <artifactId>stax-api</artifactId>
2812 <groupId>io.netty</groupId>
2813 <artifactId>netty</artifactId>
2816 <groupId>com.google.code.findbugs</groupId>
2817 <artifactId>jsr305</artifactId>
2822 <groupId>org.apache.hadoop</groupId>
2823 <artifactId>hadoop-minikdc</artifactId>
2824 <version>${hadoop-two.version}</version>
2828 <groupId>org.apache.hadoop</groupId>
2829 <artifactId>hadoop-annotations</artifactId>
2830 <version>${hadoop-two.version}</version>
2833 </dependencyManagement>
2836 profile for building against Hadoop 3.0.0. Activate using:
2837 mvn -Dhadoop.profile=3.0
2843 <name>hadoop.profile</name>
2848 <!--For now, use hadoop2 compat module-->
2849 <module>hbase-hadoop2-compat</module>
2852 <hadoop.version>${hadoop-three.version}</hadoop.version>
2853 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2854 <compat.module>hbase-hadoop2-compat</compat.module>
2855 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2856 <!--This property is for hadoops netty. HBase netty
2857 comes in via hbase-thirdparty hbase-shaded-netty-->
2858 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2860 <dependencyManagement>
2863 <groupId>org.apache.hadoop</groupId>
2864 <artifactId>hadoop-mapreduce-client-core</artifactId>
2865 <version>${hadoop-three.version}</version>
2868 <groupId>com.sun.jersey</groupId>
2869 <artifactId>jersey-core</artifactId>
2872 <groupId>io.netty</groupId>
2873 <artifactId>netty</artifactId>
2876 <groupId>javax.inject</groupId>
2877 <artifactId>javax.inject</artifactId>
2880 <groupId>org.codehaus.jackson</groupId>
2881 <artifactId>jackson-core-asl</artifactId>
2884 <groupId>org.codehaus.jackson</groupId>
2885 <artifactId>jackson-mapper-asl</artifactId>
2888 <groupId>com.google.guava</groupId>
2889 <artifactId>guava</artifactId>
2894 <groupId>org.apache.hadoop</groupId>
2895 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2896 <version>${hadoop-three.version}</version>
2899 <groupId>com.sun.jersey</groupId>
2900 <artifactId>jersey-core</artifactId>
2903 <groupId>io.netty</groupId>
2904 <artifactId>netty</artifactId>
2909 <groupId>org.apache.hadoop</groupId>
2910 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2911 <version>${hadoop-three.version}</version>
2912 <type>test-jar</type>
2916 <groupId>com.sun.jersey</groupId>
2917 <artifactId>jersey-core</artifactId>
2920 <groupId>io.netty</groupId>
2921 <artifactId>netty</artifactId>
2926 <groupId>org.apache.hadoop</groupId>
2927 <artifactId>hadoop-hdfs</artifactId>
2928 <version>${hadoop-three.version}</version>
2931 <groupId>com.sun.jersey</groupId>
2932 <artifactId>jersey-core</artifactId>
2935 <groupId>com.sun.jersey</groupId>
2936 <artifactId>jersey-server</artifactId>
2939 <groupId>javax.servlet.jsp</groupId>
2940 <artifactId>jsp-api</artifactId>
2943 <groupId>javax.servlet</groupId>
2944 <artifactId>servlet-api</artifactId>
2947 <groupId>stax</groupId>
2948 <artifactId>stax-api</artifactId>
2951 <groupId>xerces</groupId>
2952 <artifactId>xercesImpl</artifactId>
2955 <groupId>org.codehaus.jackson</groupId>
2956 <artifactId>jackson-core-asl</artifactId>
2959 <groupId>org.codehaus.jackson</groupId>
2960 <artifactId>jackson-mapper-asl</artifactId>
2963 <groupId>com.google.guava</groupId>
2964 <artifactId>guava</artifactId>
2969 <groupId>org.apache.hadoop</groupId>
2970 <artifactId>hadoop-hdfs</artifactId>
2971 <version>${hadoop-three.version}</version>
2972 <type>test-jar</type>
2976 <groupId>javax.servlet.jsp</groupId>
2977 <artifactId>jsp-api</artifactId>
2980 <groupId>javax.servlet</groupId>
2981 <artifactId>servlet-api</artifactId>
2984 <groupId>stax</groupId>
2985 <artifactId>stax-api</artifactId>
2988 <groupId>xerces</groupId>
2989 <artifactId>xercesImpl</artifactId>
2992 <groupId>org.codehaus.jackson</groupId>
2993 <artifactId>jackson-core-asl</artifactId>
2996 <groupId>org.codehaus.jackson</groupId>
2997 <artifactId>jackson-mapper-asl</artifactId>
3000 <groupId>com.google.guava</groupId>
3001 <artifactId>guava</artifactId>
3004 <groupId>com.sun.jersey</groupId>
3005 <artifactId>jersey-core</artifactId>
3010 <groupId>org.apache.hadoop</groupId>
3011 <artifactId>hadoop-hdfs</artifactId>
3012 <version>${hadoop-three.version}</version>
3013 <type>test-jar</type>
3014 <classifier>tests</classifier>
3018 <groupId>com.sun.jersey</groupId>
3019 <artifactId>jersey-core</artifactId>
3024 <groupId>org.apache.hadoop</groupId>
3025 <artifactId>hadoop-auth</artifactId>
3026 <version>${hadoop-three.version}</version>
3029 <groupId>com.google.guava</groupId>
3030 <artifactId>guava</artifactId>
3033 <groupId>net.minidev</groupId>
3034 <artifactId>json-smart</artifactId>
3039 <groupId>org.apache.hadoop</groupId>
3040 <artifactId>hadoop-common</artifactId>
3041 <version>${hadoop-three.version}</version>
3044 <groupId>com.sun.jersey</groupId>
3045 <artifactId>jersey-core</artifactId>
3048 <groupId>com.sun.jersey</groupId>
3049 <artifactId>jersey-json</artifactId>
3052 <groupId>com.sun.jersey</groupId>
3053 <artifactId>jersey-servlet</artifactId>
3056 <groupId>com.sun.jersey</groupId>
3057 <artifactId>jersey-server</artifactId>
3060 <groupId>javax.servlet.jsp</groupId>
3061 <artifactId>jsp-api</artifactId>
3064 <groupId>javax.servlet</groupId>
3065 <artifactId>javax.servlet-api</artifactId>
3068 <groupId>stax</groupId>
3069 <artifactId>stax-api</artifactId>
3072 <groupId>io.netty</groupId>
3073 <artifactId>netty</artifactId>
3076 <groupId>com.google.code.findbugs</groupId>
3077 <artifactId>jsr305</artifactId>
3080 <groupId>junit</groupId>
3081 <artifactId>junit</artifactId>
3084 <groupId>org.codehause.jackson</groupId>
3085 <artifactId>jackson-core-asl</artifactId>
3088 <groupId>org.codehause.jackson</groupId>
3089 <artifactId>jackson-mapper-asl</artifactId>
3094 <groupId>org.apache.hadoop</groupId>
3095 <artifactId>hadoop-common</artifactId>
3096 <type>test-jar</type>
3097 <classifier>tests</classifier>
3098 <version>${hadoop-three.version}</version>
3101 <groupId>com.sun.jersey</groupId>
3102 <artifactId>jersey-core</artifactId>
3105 <groupId>com.google.code.findbugs</groupId>
3106 <artifactId>jsr305</artifactId>
3111 <groupId>org.apache.hadoop</groupId>
3112 <artifactId>hadoop-client</artifactId>
3113 <version>${hadoop-three.version}</version>
3116 <groupId>org.apache.hadoop</groupId>
3117 <artifactId>hadoop-annotations</artifactId>
3118 <version>${hadoop-three.version}</version>
3120 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3121 Where do we actually need it? -->
3123 <groupId>org.apache.hadoop</groupId>
3124 <artifactId>hadoop-minicluster</artifactId>
3125 <version>${hadoop-three.version}</version>
3127 <!--If we comment this in, a few tests in hbase-mapreduce
3128 fail. They depend on jersey-core somehow. But excluding
3129 jersey-core here messes up hbase-it because jersey-core
3130 implements a 1.x jaxrs Response Interface when we depend
3131 on the 2.x Interface... . Letting this jar come in
3132 transitively here but will exclude it down in hbase-it.
3135 <groupId>com.sun.jersey</groupId>
3136 <artifactId>jersey-core</artifactId>
3140 <groupId>commons-httpclient</groupId>
3141 <artifactId>commons-httpclient</artifactId>
3144 <groupId>javax.servlet.jsp</groupId>
3145 <artifactId>jsp-api</artifactId>
3148 <groupId>javax.servlet</groupId>
3149 <artifactId>servlet-api</artifactId>
3152 <groupId>stax</groupId>
3153 <artifactId>stax-api</artifactId>
3156 <groupId>io.netty</groupId>
3157 <artifactId>netty</artifactId>
3160 <groupId>com.google.code.findbugs</groupId>
3161 <artifactId>jsr305</artifactId>
3166 <groupId>org.apache.hadoop</groupId>
3167 <artifactId>hadoop-minikdc</artifactId>
3168 <version>${hadoop-three.version}</version>
3172 </dependencyManagement>
3175 <!-- profiles for the tests
3176 See as well the properties of the project for the values
3177 when no profile is active. -->
3179 <!-- Use it to launch all tests in the same JVM -->
3180 <id>singleJVMTests</id>
3182 <activeByDefault>false</activeByDefault>
3185 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3186 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3187 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3188 <surefire.firstPartGroups/>
3192 <!-- Use it to launch small tests only -->
3193 <id>runSmallTests</id>
3195 <activeByDefault>false</activeByDefault>
3198 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3199 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3200 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3201 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3202 <surefire.secondPartGroups/>
3206 <!-- Use it to launch medium tests only -->
3207 <id>runMediumTests</id>
3209 <activeByDefault>false</activeByDefault>
3212 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3213 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3214 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3215 <surefire.secondPartGroups/>
3219 <!-- Use it to launch large tests only -->
3220 <id>runLargeTests</id>
3222 <activeByDefault>false</activeByDefault>
3225 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3226 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3227 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3228 <surefire.secondPartGroups/>
3232 <!-- Use it to launch small & medium tests -->
3233 <id>runDevTests</id>
3235 <activeByDefault>false</activeByDefault>
3238 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3239 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3240 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3241 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3242 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3246 <!-- Use it to launch all tests -->
3247 <id>runAllTests</id>
3249 <activeByDefault>false</activeByDefault>
3252 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3253 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3254 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3255 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3256 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3257 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3261 <id>runMiscTests</id>
3263 <activeByDefault>false</activeByDefault>
3266 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3267 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3268 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3269 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3270 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3271 </surefire.firstPartGroups>
3272 <surefire.secondPartGroups></surefire.secondPartGroups>
3276 <id>runCoprocessorTests</id>
3278 <activeByDefault>false</activeByDefault>
3281 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3282 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3283 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3284 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3285 <surefire.firstPartGroups>
3286 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3287 </surefire.firstPartGroups>
3288 <surefire.secondPartGroups></surefire.secondPartGroups>
3292 <id>runClientTests</id>
3294 <activeByDefault>false</activeByDefault>
3297 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3298 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3299 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3300 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3301 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3302 </surefire.firstPartGroups>
3303 <surefire.secondPartGroups></surefire.secondPartGroups>
3307 <id>runMasterTests</id>
3309 <activeByDefault>false</activeByDefault>
3312 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3313 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3314 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3315 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3316 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3317 </surefire.firstPartGroups>
3318 <surefire.secondPartGroups></surefire.secondPartGroups>
3322 <id>runMapredTests</id>
3324 <activeByDefault>false</activeByDefault>
3327 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3328 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3329 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3330 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3331 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3332 </surefire.firstPartGroups>
3333 <surefire.secondPartGroups></surefire.secondPartGroups>
3337 <id>runMapreduceTests</id>
3339 <activeByDefault>false</activeByDefault>
3342 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3343 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3344 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3345 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3346 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapReduceTests
3347 </surefire.firstPartGroups>
3348 <surefire.secondPartGroups></surefire.secondPartGroups>
3352 <id>runRegionServerTests</id>
3354 <activeByDefault>false</activeByDefault>
3357 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3358 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3359 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3360 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3361 <surefire.firstPartGroups>
3362 org.apache.hadoop.hbase.testclassification.RegionServerTests
3363 </surefire.firstPartGroups>
3364 <surefire.secondPartGroups></surefire.secondPartGroups>
3368 <id>runVerySlowMapReduceTests</id>
3370 <activeByDefault>false</activeByDefault>
3373 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3374 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3375 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3376 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3377 <surefire.firstPartGroups>
3378 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3379 </surefire.firstPartGroups>
3380 <surefire.secondPartGroups></surefire.secondPartGroups>
3385 <id>runVerySlowRegionServerTests</id>
3387 <activeByDefault>false</activeByDefault>
3390 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3391 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3392 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3393 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3394 <surefire.firstPartGroups>
3395 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3396 </surefire.firstPartGroups>
3397 <surefire.secondPartGroups></surefire.secondPartGroups>
3402 <id>runFilterTests</id>
3404 <activeByDefault>false</activeByDefault>
3407 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3408 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3409 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3410 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3411 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3412 </surefire.firstPartGroups>
3413 <surefire.secondPartGroups></surefire.secondPartGroups>
3419 <activeByDefault>false</activeByDefault>
3422 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3423 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3424 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3425 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3426 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3427 </surefire.firstPartGroups>
3428 <surefire.secondPartGroups></surefire.secondPartGroups>
3432 <id>runRestTests</id>
3434 <activeByDefault>false</activeByDefault>
3437 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3438 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3439 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3440 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3441 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3442 </surefire.firstPartGroups>
3443 <surefire.secondPartGroups></surefire.secondPartGroups>
3447 <id>runRPCTests</id>
3449 <activeByDefault>false</activeByDefault>
3452 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3453 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3454 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3455 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3456 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RPCTests
3457 </surefire.firstPartGroups>
3458 <surefire.secondPartGroups></surefire.secondPartGroups>
3462 <id>runReplicationTests</id>
3464 <activeByDefault>false</activeByDefault>
3467 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3468 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3469 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3470 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3471 <surefire.firstPartGroups>
3472 org.apache.hadoop.hbase.testclassification.ReplicationTests
3473 </surefire.firstPartGroups>
3474 <surefire.secondPartGroups></surefire.secondPartGroups>
3478 <id>runSecurityTests</id>
3480 <activeByDefault>false</activeByDefault>
3483 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3484 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3485 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3486 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3487 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3488 </surefire.firstPartGroups>
3489 <surefire.secondPartGroups></surefire.secondPartGroups>
3493 <id>runFlakeyTests</id>
3495 <activeByDefault>false</activeByDefault>
3498 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3499 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3500 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3501 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3502 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3503 </surefire.firstPartGroups>
3504 <surefire.secondPartGroups></surefire.secondPartGroups>
3510 <activeByDefault>false</activeByDefault>
3513 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3514 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3515 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3516 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3517 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3518 </surefire.firstPartGroups>
3519 <surefire.secondPartGroups></surefire.secondPartGroups>
3524 <!-- Use it to launch tests locally-->
3532 <surefire.provider>surefire-junit4</surefire.provider>
3533 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3534 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3535 <surefire.firstPartGroups/>
3538 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3539 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3540 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3541 The report will be generated under target/site/clover/index.html when you run
3542 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3546 <activeByDefault>false</activeByDefault>
3552 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3556 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3557 our instrumented classes for the doclet will fail
3560 <groupId>org.apache.maven.plugins</groupId>
3561 <artifactId>maven-javadoc-plugin</artifactId>
3564 <groupId>com.atlassian.maven.plugins</groupId>
3565 <artifactId>maven-clover2-plugin</artifactId>
3566 <version>${clover.version}</version>
3571 <groupId>com.atlassian.maven.plugins</groupId>
3572 <artifactId>maven-clover2-plugin</artifactId>
3573 <version>${clover.version}</version>
3575 <includesAllSourceRoots>true</includesAllSourceRoots>
3576 <includesTestSourceRoots>true</includesTestSourceRoots>
3577 <targetPercentage>50%</targetPercentage>
3578 <generateHtml>true</generateHtml>
3579 <generateXml>true</generateXml>
3581 <exclude>**/generated/**</exclude>
3586 <id>clover-setup</id>
3587 <phase>process-sources</phase>
3605 <!-- Used by the website generation script on jenkins to
3606 do a local install of the jars we need to run a normal
3607 site build w/o forking.
3609 <id>site-install-step</id>
3611 <skipTests>true</skipTests>
3612 <maven.javadoc.skip>true</maven.javadoc.skip>
3613 <enforcer.skip>true</enforcer.skip>
3614 <checkstyle.skip>true</checkstyle.skip>
3615 <findbugs.skip>true</findbugs.skip>
3616 <warbucks.skip>true</warbucks.skip>
3620 <!-- Used by the website generation script on jenkins to
3621 mitigate the impact of unneeded build forks while building
3624 <id>site-build-step</id>
3626 <skipTests>true</skipTests>
3627 <enforcer.skip>true</enforcer.skip>
3628 <maven.main.skip>true</maven.main.skip>
3629 <maven.test.skip>true</maven.test.skip>
3630 <warbucks.skip>true</warbucks.skip>
3631 <protoc.skip>true</protoc.skip>
3632 <remoteresources.skip>true</remoteresources.skip>
3636 <id>eclipse-specific</id>
3639 <name>m2e.version</name>
3645 <!-- General config for eclipse classpath/settings -->
3647 <groupId>org.apache.maven.plugins</groupId>
3648 <artifactId>maven-eclipse-plugin</artifactId>
3649 <version>${maven.eclipse.version}</version>
3651 <!--This plugin's configuration is used to store Eclipse m2e settings
3652 only. It has no influence on the Maven build itself. m2e does not
3653 provide any safeguards against rogue maven plugins that leak
3654 classloaders, modify random files inside workspace or throw nasty
3655 exceptions to fail the build.
3656 Top level doesn't do any specific configuration currently - left
3657 to modules to decide what they want to bind, sans those plugins
3658 defined in this pom. -->
3660 <groupId>org.eclipse.m2e</groupId>
3661 <artifactId>lifecycle-mapping</artifactId>
3662 <version>${lifecycle.mapping.version}</version>
3664 <lifecycleMappingMetadata>
3667 <pluginExecutionFilter>
3668 <groupId>org.jacoco</groupId>
3669 <artifactId>jacoco-maven-plugin</artifactId>
3670 <versionRange>[0.6.2.201302030002,)</versionRange>
3672 <goal>prepare-agent</goal>
3674 </pluginExecutionFilter>
3680 <pluginExecutionFilter>
3681 <groupId>org.apache.maven.plugins</groupId>
3682 <artifactId>maven-enforcer-plugin</artifactId>
3683 <versionRange>${enforcer.version}</versionRange>
3685 <goal>enforce</goal>
3687 </pluginExecutionFilter>
3693 <pluginExecutionFilter>
3694 <groupId>org.apache.maven.plugins</groupId>
3695 <artifactId>maven-remote-resources-plugin</artifactId>
3696 <versionRange>[1.5,)</versionRange>
3698 <goal>process</goal>
3701 </pluginExecutionFilter>
3707 <pluginExecutionFilter>
3708 <groupId>org.codehaus.mojo</groupId>
3709 <artifactId>buildnumber-maven-plugin</artifactId>
3710 <versionRange>[1.3,)</versionRange>
3712 <goal>create-timestamp</goal>
3714 </pluginExecutionFilter>
3717 <runOnConfiguration>true</runOnConfiguration>
3718 <runOnIncremental>true</runOnIncremental>
3723 </lifecycleMappingMetadata>
3731 <!-- See https://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3735 <artifactId>maven-project-info-reports-plugin</artifactId>
3736 <version>${maven.project.info.report.version}</version>
3740 <report>dependencies</report>
3741 <report>dependency-convergence</report>
3742 <report>dependency-info</report>
3743 <report>dependency-management</report>
3744 <report>index</report>
3745 <report>issue-tracking</report>
3746 <report>mailing-list</report>
3747 <report>plugin-management</report>
3748 <report>plugins</report>
3749 <report>project-team</report>
3750 <report>scm</report>
3751 <report>summary</report>
3755 <!-- see src/site/site.xml for selected reports -->
3757 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3762 <groupId>org.apache.maven.plugins</groupId>
3763 <artifactId>maven-javadoc-plugin</artifactId>
3769 <report>aggregate</report>
3772 <destDir>devapidocs</destDir>
3773 <name>Developer API</name>
3774 <description>The full HBase API, including private and unstable APIs</description>
3775 <sourceFileExcludes>
3776 <exclude>**/generated/*</exclude>
3777 <exclude>**/protobuf/*</exclude>
3778 </sourceFileExcludes>
3779 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3780 <show>private</show> <!-- (shows all classes and members) -->
3782 <linksource>true</linksource>
3783 <sourcetab>2</sourcetab>
3784 <validateLinks>true</validateLinks>
3785 <fixClassComment>true</fixClassComment>
3786 <fixFieldComment>true</fixFieldComment>
3787 <fixMethodComment>true</fixMethodComment>
3788 <fixTags>all</fixTags>
3789 <notimestamp>true</notimestamp>
3790 <!-- Pass some options straight to the javadoc executable since it is easier -->
3791 <additionalJOption>-J-Xmx2G</additionalJOption>
3792 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3793 <additionalDependencies>
3794 <additionalDependency>
3795 <groupId>org.mockito</groupId>
3796 <artifactId>mockito-core</artifactId>
3797 <version>${mockito-core.version}</version>
3798 </additionalDependency>
3799 <additionalDependency>
3800 <groupId>org.hamcrest</groupId>
3801 <artifactId>hamcrest-core</artifactId>
3802 <version>${hamcrest.version}</version>
3803 </additionalDependency>
3804 </additionalDependencies>
3805 <inherited>false</inherited>
3811 <report>test-aggregate</report>
3814 <destDir>testdevapidocs</destDir>
3815 <name>Developer API</name>
3816 <description>The full HBase API test code, including private and unstable APIs</description>
3817 <sourceFileExcludes>
3818 <exclude>**/generated/*</exclude>
3819 <exclude>**/protobuf/*</exclude>
3820 </sourceFileExcludes>
3821 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3822 <show>private</show> <!-- (shows all classes and members) -->
3824 <linksource>true</linksource>
3825 <sourcetab>2</sourcetab>
3826 <validateLinks>true</validateLinks>
3827 <fixClassComment>true</fixClassComment>
3828 <fixFieldComment>true</fixFieldComment>
3829 <fixMethodComment>true</fixMethodComment>
3830 <fixTags>all</fixTags>
3831 <notimestamp>true</notimestamp>
3832 <!-- Pass some options straight to the javadoc executable since it is easier -->
3833 <additionalJOption>-J-Xmx2G</additionalJOption>
3834 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3835 <additionalDependencies>
3836 <additionalDependency>
3837 <groupId>org.mockito</groupId>
3838 <artifactId>mockito-core</artifactId>
3839 <version>${mockito-core.version}</version>
3840 </additionalDependency>
3841 <additionalDependency>
3842 <groupId>org.hamcrest</groupId>
3843 <artifactId>hamcrest-core</artifactId>
3844 <version>${hamcrest.version}</version>
3845 </additionalDependency>
3846 </additionalDependencies>
3847 <inherited>false</inherited>
3855 <report>aggregate</report>
3859 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3862 <groupId>org.apache.yetus</groupId>
3863 <artifactId>audience-annotations</artifactId>
3864 <version>${audience-annotations.version}</version>
3866 <useStandardDocletOptions>true</useStandardDocletOptions>
3867 <destDir>apidocs</destDir>
3868 <name>User API</name>
3869 <description>The HBase Application Programmer's API</description>
3870 <excludePackageNames>
3871 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*
3872 </excludePackageNames>
3873 <!-- switch on dependency-driven aggregation -->
3874 <includeDependencySources>false</includeDependencySources>
3875 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3876 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3878 <linksource>true</linksource>
3879 <sourcetab>2</sourcetab>
3880 <validateLinks>true</validateLinks>
3881 <fixClassComment>true</fixClassComment>
3882 <fixFieldComment>true</fixFieldComment>
3883 <fixMethodComment>true</fixMethodComment>
3884 <fixTags>all</fixTags>
3885 <notimestamp>true</notimestamp>
3886 <!-- Pass some options straight to the javadoc executable since it is easier -->
3887 <additionalJOption>-J-Xmx2G</additionalJOption>
3888 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3889 <additionalDependencies>
3890 <additionalDependency>
3891 <groupId>org.mockito</groupId>
3892 <artifactId>mockito-core</artifactId>
3893 <version>${mockito-core.version}</version>
3894 </additionalDependency>
3895 <additionalDependency>
3896 <groupId>org.hamcrest</groupId>
3897 <artifactId>hamcrest-core</artifactId>
3898 <version>${hamcrest.version}</version>
3899 </additionalDependency>
3900 </additionalDependencies>
3901 <inherited>false</inherited>
3904 <!-- User Test API -->
3906 <id>testuserapi</id>
3908 <report>test-aggregate</report>
3912 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3915 <groupId>org.apache.yetus</groupId>
3916 <artifactId>audience-annotations</artifactId>
3917 <version>${audience-annotations.version}</version>
3919 <useStandardDocletOptions>true</useStandardDocletOptions>
3920 <destDir>testapidocs</destDir>
3921 <name>User API</name>
3922 <description>The HBase Application Programmer's API</description>
3923 <excludePackageNames>
3924 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*
3925 </excludePackageNames>
3926 <!-- switch on dependency-driven aggregation -->
3927 <includeDependencySources>false</includeDependencySources>
3928 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3929 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3931 <linksource>true</linksource>
3932 <sourcetab>2</sourcetab>
3933 <validateLinks>true</validateLinks>
3934 <fixClassComment>true</fixClassComment>
3935 <fixFieldComment>true</fixFieldComment>
3936 <fixMethodComment>true</fixMethodComment>
3937 <fixTags>all</fixTags>
3938 <notimestamp>true</notimestamp>
3939 <!-- Pass some options straight to the javadoc executable since it is easier -->
3940 <additionalJOption>-J-Xmx2G</additionalJOption>
3941 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3942 <additionalDependencies>
3943 <additionalDependency>
3944 <groupId>org.mockito</groupId>
3945 <artifactId>mockito-core</artifactId>
3946 <version>${mockito-core.version}</version>
3947 </additionalDependency>
3948 <additionalDependency>
3949 <groupId>org.hamcrest</groupId>
3950 <artifactId>hamcrest-core</artifactId>
3951 <version>${hamcrest.version}</version>
3952 </additionalDependency>
3953 </additionalDependencies>
3954 <inherited>false</inherited>
3961 <groupId>org.apache.maven.plugins</groupId>
3962 <artifactId>maven-checkstyle-plugin</artifactId>
3963 <version>${maven.checkstyle.version}</version>
3965 <excludes>target/**</excludes>
3971 <distributionManagement>
3973 <id>hbase.apache.org</id>
3974 <name>HBase Website at hbase.apache.org</name>
3975 <!-- On why this is the tmp dir and not hbase.apache.org, see
3976 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3978 <url>file:///tmp</url>
3980 </distributionManagement>