1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
23 ON MVN COMPILE NOT WORKING
25 If you wondering why 'mvn compile' does not work building HBase
26 (in particular, if you are doing it for the first time), instead do
27 'mvn package'. If you are interested in the full story, see
28 https://issues.apache.org/jira/browse/HBASE-6795.
31 <modelVersion>4.0.0</modelVersion>
33 <groupId>org.apache</groupId>
34 <artifactId>apache</artifactId>
37 <!-- no parent resolution -->
39 <groupId>org.apache.hbase</groupId>
40 <artifactId>hbase</artifactId>
41 <packaging>pom</packaging>
42 <version>3.0.0-SNAPSHOT</version>
43 <name>Apache HBase</name>
45 Apache HBase™ is the Hadoop database. Use it when you need
46 random, realtime read/write access to your Big Data.
47 This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters
48 of commodity hardware.
50 <url>http://hbase.apache.org</url>
51 <inceptionYear>2007</inceptionYear>
52 <!-- Set here so we can consistently use the correct name, even on branches with
53 an ASF parent pom older than v15. Also uses the url from v18.
57 <name>Apache License, Version 2.0</name>
58 <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
59 <distribution>repo</distribution>
64 <module>hbase-build-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>http://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>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive>
112 <otherArchive>http://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>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive>
123 <otherArchive>http://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>Sergey Shelukhin</name>
515 <email>sershe@apache.org</email>
516 <timezone>-8</timezone>
520 <name>Srikanth Srungarapu</name>
521 <email>ssrungarapu@apache.org</email>
522 <timezone>-8</timezone>
526 <name>Michael Stack</name>
527 <email>stack@apache.org</email>
528 <timezone>-8</timezone>
532 <name>Stephen Yuan Jiang</name>
533 <email>syuanjiang@apache.org</email>
534 <timezone>-8</timezone>
539 <email>yuzhihong@gmail.com</email>
540 <timezone>-8</timezone>
544 <email>tianjy@apache.org</email>
545 <timezone>+8</timezone>
549 <name>Todd Lipcon</name>
550 <email>todd@apache.org</email>
551 <timezone>-8</timezone>
555 <name>Francis Liu</name>
556 <email>toffer@apache.org</email>
557 <timezone>-8</timezone>
561 <name>Vikas Vishwakarma</name>
562 <email>vikasv@apache.org</email>
563 <timezone>+5</timezone>
567 <name>Virag Kothari</name>
568 <email>virag@yahoo-inc.com</email>
569 <timezone>-8</timezone>
574 <email>xucang@apache.org</email>
575 <timezone>-8</timezone>
579 <name>Phil Yang</name>
580 <email>yangzhe1991@apache.org</email>
581 <timezone>+8</timezone>
585 <name>Guanghao Zhang</name>
586 <email>zghao@apache.org</email>
587 <timezone>+8</timezone>
591 <name>Duo Zhang</name>
592 <email>zhangduo@apache.org</email>
593 <timezone>+8</timezone>
597 <name>Chunhui Shen</name>
598 <email>zjushch@apache.org</email>
599 <timezone>+8</timezone>
603 <name>Rahul Gidwani</name>
604 <email>churro@apache.org</email>
605 <timezone>-8</timezone>
609 <name>Yi Liang</name>
610 <email>yiliang@apache.org</email>
611 <timezone>-8</timezone>
615 <name>Zach York</name>
616 <email>zyork@apache.org</email>
617 <timezone>-8</timezone>
623 <groupId>kr.motd.maven</groupId>
624 <artifactId>os-maven-plugin</artifactId>
625 <version>${os.maven.version}</version>
628 <!-- Plugin versions are inherited from ASF parent pom: https://maven.apache.org/pom/asf/
629 For specific version use a property and define it in the parent pom.
634 <groupId>org.apache.maven.plugins</groupId>
635 <artifactId>maven-remote-resources-plugin</artifactId>
638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-release-plugin</artifactId>
641 <!--You need this profile. It'll sign your artifacts.
642 I'm not sure if this config. actually works though.
643 I've been specifying -Papache-release on the command-line
645 <releaseProfiles>apache-release</releaseProfiles>
646 <!--This stops our running tests for each stage of maven release.
647 But it builds the test jar. From SUREFIRE-172.
649 <arguments>-Dmaven.test.skip.exec ${arguments}</arguments>
650 <goals>${goals}</goals>
651 <pomFileName>pom.xml</pomFileName>
655 <groupId>org.apache.maven.plugins</groupId>
656 <artifactId>maven-compiler-plugin</artifactId>
657 <version>${maven.compiler.version}</version>
659 <source>${compileSource}</source>
660 <target>${compileSource}</target>
661 <showWarnings>true</showWarnings>
662 <showDeprecation>false</showDeprecation>
663 <useIncrementalCompilation>false</useIncrementalCompilation>
664 <compilerArgument>-Xlint:-options</compilerArgument>
667 <!-- Test oriented plugins -->
669 <groupId>org.apache.maven.plugins</groupId>
670 <artifactId>maven-surefire-plugin</artifactId>
671 <version>${surefire.version}</version>
673 <!-- by default surefire selects dynamically the connector to the unit tests
674 tool. We want to use always the same as the different connectors can have different
675 bugs and behaviour. -->
677 <groupId>org.apache.maven.surefire</groupId>
678 <artifactId>${surefire.provider}</artifactId>
679 <version>${surefire.version}</version>
682 <!-- Generic testing configuration for all packages -->
684 <groups>${surefire.firstPartGroups}</groups>
685 <failIfNoTests>false</failIfNoTests>
686 <skip>${surefire.skipFirstPart}</skip>
687 <forkCount>${surefire.firstPartForkCount}</forkCount>
688 <reuseForks>false</reuseForks>
689 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
690 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
691 <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile>
692 <systemPropertyVariables>
693 <test.build.classes>${test.build.classes}</test.build.classes>
694 </systemPropertyVariables>
696 <!-- users can add -D option to skip particular test classes
697 ex: mvn test -Dtest.exclude.pattern=**/TestFoo.java,**/TestBar.java
699 <exclude>${test.exclude.pattern}</exclude>
703 <name>listener</name>
704 <value>org.apache.hadoop.hbase.TimedOutTestsListener,org.apache.hadoop.hbase.HBaseClassTestRuleChecker,org.apache.hadoop.hbase.ResourceCheckerJUnitListener</value>
710 <id>secondPartTestsExecution</id>
716 <skip>${surefire.skipSecondPart}</skip>
717 <testFailureIgnore>${surefire.testFailureIgnore}</testFailureIgnore>
718 <reuseForks>false</reuseForks>
719 <forkCount>${surefire.secondPartForkCount}</forkCount>
720 <groups>${surefire.secondPartGroups}</groups>
721 <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-surefire-report-plugin</artifactId>
729 <version>${surefire.version}</version>
732 <groupId>org.codehaus.mojo</groupId>
733 <artifactId>buildnumber-maven-plugin</artifactId>
734 <version>${buildnumber.maven.version}</version>
737 <groupId>org.codehaus.mojo</groupId>
738 <artifactId>findbugs-maven-plugin</artifactId>
739 <version>${findbugs.maven.version}</version>
740 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
742 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
743 <findbugsXmlOutput>true</findbugsXmlOutput>
744 <xmlOutput>true</xmlOutput>
749 <groupId>org.codehaus.mojo</groupId>
750 <artifactId>build-helper-maven-plugin</artifactId>
751 <version>${build.helper.maven.version}</version>
754 <artifactId>maven-antrun-plugin</artifactId>
755 <version>${maven.antrun.version}</version>
758 <groupId>org.jamon</groupId>
759 <artifactId>jamon-maven-plugin</artifactId>
760 <version>${jamon.plugin.version}</version>
762 <!-- Make a jar and put the sources in the jar.
763 In the parent pom, so submodules will do the right thing. -->
765 <groupId>org.apache.maven.plugins</groupId>
766 <artifactId>maven-source-plugin</artifactId>
769 <id>attach-sources</id>
770 <phase>prepare-package</phase>
772 <goal>jar-no-fork</goal>
773 <goal>test-jar-no-fork</goal>
778 <!-- General configuration for submodules who want to build a test jar -->
780 <groupId>org.apache.maven.plugins</groupId>
781 <artifactId>maven-jar-plugin</artifactId>
784 <phase>prepare-package</phase>
786 <!--This goal will install a -test.jar when we do install
787 See http://maven.apache.org/guides/mini/guide-attached-tests.html
789 <goal>test-jar</goal>
794 <skipIfEmpty>true</skipIfEmpty>
796 <exclude>hbase-site.xml</exclude>
797 <exclude>hdfs-site.xml</exclude>
798 <exclude>log4j.properties</exclude>
799 <exclude>mapred-queues.xml</exclude>
800 <exclude>mapred-site.xml</exclude>
805 <!-- excludes are inherited -->
806 <groupId>org.apache.rat</groupId>
807 <artifactId>apache-rat-plugin</artifactId>
808 <version>${apache.rat.version}</version>
811 <exclude>**/*.versionsBackup</exclude>
812 <exclude>**/*.log</exclude>
813 <exclude>**/.*</exclude>
814 <exclude>**/*.tgz</exclude>
815 <exclude>**/*.orig</exclude>
816 <exclude>**/0000000000000016310</exclude>
817 <exclude>**/a6a6562b777440fd9c34885428f5cb61.21e75333ada3d5bafb34bb918f29576c</exclude>
818 <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude>
819 <exclude>**/.idea/**</exclude>
820 <exclude>**/*.iml</exclude>
821 <exclude>**/CHANGES.txt</exclude>
822 <exclude>**/generated/**</exclude>
823 <exclude>**/gen-*/**</exclude>
824 <!-- No material contents -->
825 <exclude>conf/regionservers</exclude>
826 <exclude>**/*.avpr</exclude>
827 <exclude>**/*.svg</exclude>
828 <!-- non-standard notice file from jruby included by reference -->
829 <exclude>**/src/main/resources/META-INF/LEGAL</exclude>
830 <!-- MIT: https://github.com/asciidoctor/asciidoctor/blob/master/LICENSE.adoc -->
831 <exclude>**/src/main/asciidoc/hbase.css</exclude>
832 <!-- MIT http://jquery.org/license -->
833 <exclude>**/jquery.min.js</exclude>
834 <exclude>**/jquery.tablesorter.min.js</exclude>
835 <!-- vector graphics -->
836 <exclude>**/*.vm</exclude>
837 <!-- apache doxia generated -->
838 <exclude>**/control</exclude>
839 <exclude>**/conffile</exclude>
840 <!-- auto-gen docs -->
841 <exclude>docs/*</exclude>
842 <exclude>logs/*</exclude>
843 <!-- exclude source control files -->
844 <exclude>.git/**</exclude>
845 <exclude>.svn/**</exclude>
846 <exclude>**/.settings/**</exclude>
847 <exclude>**/patchprocess/**</exclude>
848 <exclude>src/site/resources/repo/**</exclude>
849 <exclude>**/dependency-reduced-pom.xml</exclude>
850 <exclude>**/rat.txt</exclude>
851 <!-- exclude the shaded protobuf files -->
852 <exclude>**/shaded/com/google/protobuf/**</exclude>
853 <exclude>**/src/main/patches/**</exclude>
858 <artifactId>maven-assembly-plugin</artifactId>
860 <!--Defer to the hbase-assembly sub-module. It
862 <skipAssembly>true</skipAssembly>
866 <groupId>org.xolstice.maven.plugins</groupId>
867 <artifactId>protobuf-maven-plugin</artifactId>
868 <version>${protobuf.plugin.version}</version>
870 <protocArtifact>com.google.protobuf:protoc:${external.protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
871 <protoSourceRoot>${basedir}/src/main/protobuf/</protoSourceRoot>
872 <clearOutputDirectory>false</clearOutputDirectory>
873 <checkStaleness>true</checkStaleness>
877 <!-- Approach followed here is roughly the same as mentioned here:
878 https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html
880 <groupId>org.apache.maven.plugins</groupId>
881 <artifactId>maven-checkstyle-plugin</artifactId>
882 <version>${maven.checkstyle.version}</version>
885 <groupId>org.apache.hbase</groupId>
886 <artifactId>hbase-checkstyle</artifactId>
887 <version>${project.version}</version>
890 <groupId>com.puppycrawl.tools</groupId>
891 <artifactId>checkstyle</artifactId>
892 <version>${checkstyle.version}</version>
896 <configLocation>hbase/checkstyle.xml</configLocation>
897 <suppressionsLocation>hbase/checkstyle-suppressions.xml</suppressionsLocation>
898 <includeTestSourceDirectory>true</includeTestSourceDirectory>
902 <groupId>net.revelc.code</groupId>
903 <artifactId>warbucks-maven-plugin</artifactId>
904 <version>${maven.warbucks.version}</version>
906 <ignoreRuleFailures>false</ignoreRuleFailures>
909 <!-- exclude the generated java files -->
910 <classPattern>(?!.*(.generated.|.tmpl.|\$)).*</classPattern>
911 <includeTestClasses>false</includeTestClasses>
912 <includePublicClasses>true</includePublicClasses>
913 <includePackagePrivateClasses>false</includePackagePrivateClasses>
914 <includeProtectedClasses>false</includeProtectedClasses>
915 <includePrivateClasses>false</includePrivateClasses>
916 <classAnnotationPattern>org[.]apache[.]yetus[.]audience[.]InterfaceAudience.*</classAnnotationPattern>
922 <id>run-warbucks</id>
924 <goal>check</goal><!-- runs at process-test-classes phase -->
933 <groupId>org.codehaus.mojo</groupId>
934 <artifactId>build-helper-maven-plugin</artifactId>
937 <id>negate-license-bundles-property</id>
939 <goal>bsh-property</goal>
942 <source>skip.license.check = !${license.bundles.dependencies};</source>
944 <property>skip.license.check</property>
948 <!-- sets where to find the generated LICENSE files -->
950 <id>create-license-file-path-property</id>
952 <goal>regex-property</goal>
955 <name>license.aggregate.path</name>
956 <value>${project.build.directory}/maven-shared-archive-resources/META-INF/LICENSE</value>
958 <replacement>/</replacement>
959 <failIfNoMatch>false</failIfNoMatch>
965 <groupId>org.apache.maven.plugins</groupId>
966 <artifactId>maven-enforcer-plugin</artifactId>
967 <version>${enforcer.version}</version>
970 <groupId>org.codehaus.mojo</groupId>
971 <artifactId>extra-enforcer-rules</artifactId>
972 <version>${extra.enforcer.version}</version>
975 <groupId>de.skuzzle.enforcer</groupId>
976 <artifactId>restrict-imports-enforcer-rule</artifactId>
977 <version>${restrict-imports.enforcer.version}</version>
980 <!-- version set by parent -->
983 <id>hadoop-profile-min-maven-min-java-banned-xerces</id>
989 <!-- Help people activate profiles correctly -->
991 <condition>System.getProperty("hadoop-profile", "").isEmpty()</condition>
992 <message>The hadoop-profile property is unused, did you mean to set hadoop.profile instead?</message>
994 <!-- The earliest maven version we verify builds for via ASF Jenkins -->
995 <requireMavenVersion>
996 <version>[${maven.min.version},)</version>
997 <message>Maven is out of date.
998 HBase requires at least version ${maven.min.version} of Maven to properly build from source.
999 You appear to be using an older version. You can use either "mvn -version" or
1000 "mvn enforcer:display-info" to verify what version is active.
1001 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1003 </requireMavenVersion>
1004 <!-- The earliest JVM version we verify builds for via ASF Jenkins -->
1005 <requireJavaVersion>
1006 <version>[${java.min.version},)</version>
1007 <message>Java is out of date.
1008 HBase requires at least version ${java.min.version} of the JDK to properly build from source.
1009 You appear to be using an older version. You can use either "mvn -version" or
1010 "mvn enforcer:display-info" to verify what version is active.
1011 See the reference guide on building for more information: http://hbase.apache.org/book.html#build
1013 </requireJavaVersion>
1014 <bannedDependencies>
1016 <exclude>xerces:xercesImpl</exclude>
1018 <message>We avoid adding our own Xerces jars to the classpath, see HBASE-16340.</message>
1019 </bannedDependencies>
1024 <id>banned-jsr305</id>
1026 <goal>enforce</goal>
1030 <bannedDependencies>
1032 <exclude>com.google.code.findbugs:jsr305</exclude>
1034 <message>We don't allow the JSR305 jar from the Findbugs project, see HBASE-16321.</message>
1035 </bannedDependencies>
1040 <id>banned-scala</id>
1042 <goal>enforce</goal>
1046 <bannedDependencies>
1048 <exclude>org.scala-lang:scala-library</exclude>
1050 <message>We don't allow Scala, see HBASE-13992.</message>
1051 </bannedDependencies>
1056 <id>check-aggregate-license</id>
1057 <!-- must check after LICENSE is built at 'generate-resources' -->
1058 <phase>process-resources</phase>
1060 <goal>enforce</goal>
1066 File license = new File("${license.aggregate.path}");
1068 // Beanshell does not support try-with-resources,
1069 // so we must close this scanner manually
1070 Scanner scanner = new Scanner(license);
1072 while (scanner.hasNextLine()) {
1073 if (scanner.nextLine().startsWith("ERROR:")) {
1082 License errors detected, for more detail find ERROR in
1083 ${license.aggregate.path}
1085 </evaluateBeanshell>
1087 <skip>${skip.license.check}</skip>
1091 <id>banned-illegal-imports</id>
1092 <phase>process-sources</phase>
1094 <goal>enforce</goal>
1098 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1099 <includeTestCode>true</includeTestCode>
1100 <commentLineBufferSize>512</commentLineBufferSize>
1101 <reason>Use SLF4j for logging</reason>
1103 <bannedImport>org.apache.commons.logging.Log</bannedImport>
1104 <bannedImport>org.apache.commons.logging.LogFactory</bannedImport>
1107 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1108 <includeTestCode>true</includeTestCode>
1109 <commentLineBufferSize>512</commentLineBufferSize>
1110 <reason>Use shaded version in hbase-thirdparty</reason>
1112 <bannedImport>com.google.common.**</bannedImport>
1113 <bannedImport>io.netty.**</bannedImport>
1114 <bannedImport>org.apache.commons.cli.**</bannedImport>
1115 <bannedImport>org.apache.commons.collections.**</bannedImport>
1116 <bannedImport>org.apache.commons.collections4.**</bannedImport>
1119 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1120 <includeTestCode>true</includeTestCode>
1121 <commentLineBufferSize>512</commentLineBufferSize>
1122 <reason>Do not use shaded classes from other dependencies</reason>
1124 <bannedImport>org.apache.curator.shaded.**</bannedImport>
1125 <bannedImport>org.apache.htrace.shaded.**</bannedImport>
1128 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1129 <includeTestCode>true</includeTestCode>
1130 <commentLineBufferSize>512</commentLineBufferSize>
1131 <reason>Use shaded gson in hbase-thirdparty</reason>
1133 <bannedImport>org.codehaus.jackson.**</bannedImport>
1136 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1137 <includeTestCode>true</includeTestCode>
1138 <commentLineBufferSize>512</commentLineBufferSize>
1139 <reason>Use commons lang 3</reason>
1141 <bannedImport>org.apache.commons.lang.**</bannedImport>
1144 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1145 <includeTestCode>true</includeTestCode>
1146 <commentLineBufferSize>512</commentLineBufferSize>
1147 <reason>Use yetus IA and IS annotations</reason>
1149 <bannedImport>org.apache.hadoop.classificatio.**</bannedImport>
1152 <restrictImports implementation="de.skuzzle.enforcer.restrictimports.rule.RestrictImports">
1153 <includeTestCode>true</includeTestCode>
1154 <commentLineBufferSize>512</commentLineBufferSize>
1155 <reason>Do not use htrace v3</reason>
1157 <bannedImport>org.htrace.**</bannedImport>
1165 <!-- parent-module only plugins -->
1167 <groupId>org.codehaus.mojo</groupId>
1168 <artifactId>xml-maven-plugin</artifactId>
1169 <version>${xml.maven.version}</version>
1170 <inherited>false</inherited>
1173 <!-- Run the hbase-default.xml through a stylesheet so can show it in doc-->
1175 <goal>transform</goal>
1181 <transformationSets>
1182 <!-- For asciidoc -->
1184 <!--Reaching up and over into common sub-module for hbase-default.xml-->
1185 <dir>${basedir}/hbase-common/src/main/resources/</dir>
1187 <include>hbase-default.xml</include>
1189 <stylesheet>${basedir}/src/main/xslt/configuration_to_asciidoc_chapter.xsl</stylesheet>
1191 <fileMapper implementation="org.codehaus.plexus.components.io.filemappers.RegExpFileMapper">
1192 <pattern>^(.*)\.xml$</pattern>
1193 <replacement>$1.adoc</replacement>
1196 <outputDir>${basedir}/target/asciidoc</outputDir>
1197 </transformationSet>
1198 </transformationSets>
1201 <!-- Special configuration for findbugs just in the parent so
1202 the filter file location can be more general (see definition in pluginManagement) -->
1204 <groupId>org.codehaus.mojo</groupId>
1205 <artifactId>findbugs-maven-plugin</artifactId>
1208 <inherited>false</inherited>
1210 <goal>findbugs</goal>
1213 <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile>
1219 <groupId>org.apache.maven.plugins</groupId>
1220 <artifactId>maven-checkstyle-plugin</artifactId>
1223 <groupId>org.apache.maven.plugins</groupId>
1224 <artifactId>maven-site-plugin</artifactId>
1227 <!-- add support for ssh/scp -->
1228 <groupId>org.apache.maven.wagon</groupId>
1229 <artifactId>wagon-ssh</artifactId>
1230 <version>${wagon.ssh.version}</version>
1234 <siteDirectory>${basedir}/src/site</siteDirectory>
1235 <customBundle>${basedir}/src/site/custom/project-info-report.properties</customBundle>
1236 <inputEncoding>UTF-8</inputEncoding>
1237 <outputEncoding>UTF-8</outputEncoding>
1240 <!-- For AsciiDoc docs building -->
1242 <groupId>org.asciidoctor</groupId>
1243 <artifactId>asciidoctor-maven-plugin</artifactId>
1244 <version>${asciidoctor.plugin.version}</version>
1245 <inherited>false</inherited>
1248 <groupId>org.asciidoctor</groupId>
1249 <artifactId>asciidoctorj-pdf</artifactId>
1250 <version>${asciidoctorj.pdf.version}</version>
1253 <groupId>org.jruby</groupId>
1254 <artifactId>jruby-complete</artifactId>
1255 <version>${jruby.version}</version>
1259 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1260 <doctype>book</doctype>
1261 <imagesDir>images</imagesDir>
1262 <sourceHighlighter>coderay</sourceHighlighter>
1264 <docVersion>${project.version}</docVersion>
1269 <id>output-html</id>
1272 <goal>process-asciidoc</goal>
1276 <stylesheet>hbase.css</stylesheet>
1278 <backend>html5</backend>
1285 <goal>process-asciidoc</goal>
1288 <backend>pdf</backend>
1293 <idseparator>-</idseparator>
1300 <groupId>org.apache.maven.plugins</groupId>
1301 <artifactId>maven-resources-plugin</artifactId>
1302 <!--$NO-MVN-MAN-VER$ -->
1303 <inherited>false</inherited>
1306 <id>copy-htaccess</id>
1308 <goal>copy-resources</goal>
1312 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1315 <directory>${basedir}/src/site/resources/</directory>
1317 <include>.htaccess</include>
1323 <!-- needed to make the redirect above work -->
1325 <id>copy-empty-book-dir</id>
1327 <goal>copy-resources</goal>
1331 <outputDirectory>${project.reporting.outputDirectory}/</outputDirectory>
1334 <directory>${basedir}/src/site/resources/</directory>
1336 <include>book/**</include>
1344 <escapeString>\</escapeString>
1348 <groupId>org.apache.maven.plugins</groupId>
1349 <artifactId>maven-antrun-plugin</artifactId>
1350 <version>${maven.antrun.version}</version>
1351 <inherited>false</inherited>
1352 <!-- Rename the book.pdf generated by asciidoctor -->
1358 <target name="rename file">
1359 <move file="${project.reporting.outputDirectory}/book.pdf" tofile="${project.reporting.outputDirectory}/apache_hbase_reference_guide.pdf" />
1369 <groupId>org.codehaus.mojo</groupId>
1370 <artifactId>buildnumber-maven-plugin</artifactId>
1373 <phase>validate</phase>
1375 <goal>create-timestamp</goal>
1380 <timestampFormat>yyyy</timestampFormat>
1381 <timestampPropertyName>build.year</timestampPropertyName>
1385 <groupId>org.apache.felix</groupId>
1386 <artifactId>maven-bundle-plugin</artifactId>
1387 <version>${maven.bundle.version}</version>
1388 <inherited>true</inherited>
1389 <extensions>true</extensions>
1394 <!-- override on command line to have generated LICENSE files include
1395 diagnostic info for verifying notice requirements -->
1396 <license.debug.print.included>false</license.debug.print.included>
1397 <!-- When a particular module bundles its depenendencies, should be true -->
1398 <license.bundles.dependencies>false</license.bundles.dependencies>
1399 <!-- modules that include a the logo in their source tree should set true -->
1400 <license.bundles.logo>false</license.bundles.logo>
1401 <!-- modules that include bootstrap in their source tree should set true -->
1402 <license.bundles.bootstrap>false</license.bundles.bootstrap>
1403 <!-- modules that include jquery in their source tree should set true -->
1404 <license.bundles.jquery>false</license.bundles.jquery>
1405 <tar.name>${project.build.finalName}.tar.gz</tar.name>
1406 <maven.build.timestamp.format>
1408 </maven.build.timestamp.format>
1409 <buildDate>${maven.build.timestamp}</buildDate>
1410 <compileSource>1.8</compileSource>
1411 <!-- Build dependencies -->
1412 <maven.min.version>3.0.4</maven.min.version>
1413 <java.min.version>${compileSource}</java.min.version>
1414 <!-- Dependencies -->
1415 <hadoop-two.version>2.7.7</hadoop-two.version>
1416 <hadoop-three.version>3.0.3</hadoop-three.version>
1417 <!-- These must be defined here for downstream build tools that don't look at profiles.
1418 They ought to match the values found in our default hadoop profile, which is
1419 currently "hadoop-2.0". See HBASE-15925 for more info. -->
1420 <hadoop.version>${hadoop-two.version}</hadoop.version>
1421 <hadoop.guava.version>11.0.2</hadoop.guava.version>
1422 <compat.module>hbase-hadoop2-compat</compat.module>
1423 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
1424 <!--This property is for hadoops netty. HBase netty
1425 comes in via hbase-thirdparty hbase-shaded-netty-->
1426 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
1427 <!-- end HBASE-15925 default hadoop compatibility values -->
1428 <audience-annotations.version>0.5.0</audience-annotations.version>
1429 <avro.version>1.7.7</avro.version>
1430 <caffeine.version>2.6.2</caffeine.version>
1431 <commons-codec.version>1.10</commons-codec.version>
1432 <commons-validator.version>1.6</commons-validator.version>
1433 <!-- pretty outdated -->
1434 <commons-io.version>2.5</commons-io.version>
1435 <commons-lang3.version>3.6</commons-lang3.version>
1436 <commons-math.version>3.6.1</commons-math.version>
1437 <disruptor.version>3.3.6</disruptor.version>
1438 <httpclient.version>4.5.3</httpclient.version>
1439 <httpcore.version>4.4.6</httpcore.version>
1440 <metrics-core.version>3.2.1</metrics-core.version>
1441 <jackson.version>2.9.2</jackson.version>
1442 <jaxb-api.version>2.2.12</jaxb-api.version>
1443 <jetty.version>9.3.25.v20180904</jetty.version>
1444 <servlet.api.version>3.1.0</servlet.api.version>
1445 <wx.rs.api.version>2.0.1</wx.rs.api.version>
1446 <!-- Jersey 2.26 requires jetty 9.4 which breaks hadoop. Tread lightly. -->
1447 <jersey.version>2.25.1</jersey.version>
1448 <glassfish.jsp.version>2.3.2</glassfish.jsp.version>
1449 <glassfish.el.version>3.0.1-b08</glassfish.el.version>
1450 <jruby.version>9.1.17.0</jruby.version>
1451 <junit.version>4.12</junit.version>
1452 <hamcrest.version>1.3</hamcrest.version>
1453 <htrace.version>4.2.0-incubating</htrace.version>
1454 <log4j.version>1.2.17</log4j.version>
1455 <mockito-core.version>2.1.0</mockito-core.version>
1456 <!--Internally we use a different version of protobuf. See hbase-protocol-shaded-->
1457 <external.protobuf.version>2.5.0</external.protobuf.version>
1458 <protobuf.plugin.version>0.5.0</protobuf.plugin.version>
1459 <thrift.path>thrift</thrift.path>
1460 <thrift.version>0.12.0</thrift.version>
1461 <zookeeper.version>3.4.10</zookeeper.version>
1462 <!-- What ZooKeeper 3.4.x depends on and nothing more -->
1463 <jline.version>0.9.94</jline.version>
1464 <slf4j.version>1.7.25</slf4j.version>
1465 <clover.version>4.0.3</clover.version>
1466 <jamon-runtime.version>2.4.1</jamon-runtime.version>
1467 <jettison.version>1.3.8</jettison.version>
1468 <!--Make sure these joni/jcodings are compatible with the versions used by jruby-->
1469 <joni.version>2.1.11</joni.version>
1470 <jcodings.version>1.0.18</jcodings.version>
1471 <spy.version>2.12.2</spy.version>
1472 <bouncycastle.version>1.60</bouncycastle.version>
1473 <kerby.version>1.0.1</kerby.version>
1474 <commons-crypto.version>1.0.0</commons-crypto.version>
1475 <curator.version>4.0.0</curator.version>
1476 <!-- Plugin Dependencies -->
1477 <apache.rat.version>0.12</apache.rat.version>
1478 <asciidoctor.plugin.version>1.5.5</asciidoctor.plugin.version>
1479 <asciidoctorj.pdf.version>1.5.0-alpha.15</asciidoctorj.pdf.version>
1480 <build.helper.maven.version>3.0.0</build.helper.maven.version>
1481 <buildnumber.maven.version>1.4</buildnumber.maven.version>
1482 <checkstyle.version>8.11</checkstyle.version>
1483 <exec.maven.version>1.6.0</exec.maven.version>
1484 <error-prone.version>2.3.3</error-prone.version>
1485 <findbugs-annotations>1.3.9-1</findbugs-annotations>
1486 <findbugs.maven.version>3.0.4</findbugs.maven.version>
1487 <jamon.plugin.version>2.4.2</jamon.plugin.version>
1488 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
1489 <maven.antrun.version>1.8</maven.antrun.version>
1490 <maven.bundle.version>3.3.0</maven.bundle.version>
1491 <maven.checkstyle.version>3.0.0</maven.checkstyle.version>
1492 <maven.compiler.version>3.8.0</maven.compiler.version>
1493 <maven.eclipse.version>2.10</maven.eclipse.version>
1494 <maven.warbucks.version>1.1.0</maven.warbucks.version>
1495 <os.maven.version>1.5.0.Final</os.maven.version>
1496 <spotbugs.version>3.1.11</spotbugs.version>
1497 <wagon.ssh.version>2.12</wagon.ssh.version>
1498 <xml.maven.version>1.0.1</xml.maven.version>
1499 <hbase-thirdparty.version>2.2.1</hbase-thirdparty.version>
1500 <!-- Intraproject jar naming properties -->
1501 <!-- TODO this is pretty ugly, but works for the moment.
1502 Modules are pretty heavy-weight things, so doing this work isn't too bad. -->
1503 <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar>
1504 <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar>
1505 <procedure.test.jar>hbase-procedure-${project.version}-tests.jar</procedure.test.jar>
1506 <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar>
1507 <annotations.test.jar>hbase-annotations-${project.version}-tests.jar</annotations.test.jar>
1508 <rsgroup.test.jar>hbase-rsgroup-${project.version}-tests.jar</rsgroup.test.jar>
1509 <mapreduce.test.jar>hbase-mapreduce-${project.version}-tests.jar</mapreduce.test.jar>
1510 <zookeeper.test.jar>hbase-zookeeper-${project.version}-tests.jar</zookeeper.test.jar>
1511 <shell-executable>bash</shell-executable>
1512 <surefire.provider>surefire-junit47</surefire.provider>
1513 <!-- default: run small & medium, medium with 2 threads -->
1514 <surefire.skipFirstPart>false</surefire.skipFirstPart>
1515 <surefire.skipSecondPart>false</surefire.skipSecondPart>
1516 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
1517 <surefire.secondPartForkCount>2</surefire.secondPartForkCount>
1518 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
1519 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
1520 <surefire.testFailureIgnore>false</surefire.testFailureIgnore>
1521 <test.output.tofile>true</test.output.tofile>
1522 <surefire.timeout>900</surefire.timeout>
1523 <test.exclude.pattern></test.exclude.pattern>
1524 <!-- default Xmx value is 2800m. Use -Dsurefire.Xmx=xxg to run tests with different JVM Xmx value -->
1525 <surefire.Xmx>2800m</surefire.Xmx>
1526 <surefire.cygwinXmx>2800m</surefire.cygwinXmx>
1527 <!--Mark our test runs with '-Dhbase.build.id' so we can identify a surefire test as ours in a process listing
1529 <hbase-surefire.argLine>-enableassertions -Dhbase.build.id=${build.id} -Xmx${surefire.Xmx}
1530 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1531 -Djava.awt.headless=true -Djdk.net.URLClassPath.disableClassPathURLCheck=true
1532 </hbase-surefire.argLine>
1533 <hbase-surefire.cygwin-argLine>-enableassertions -Xmx${surefire.cygwinXmx}
1534 -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true
1535 "-Djava.library.path=${hadoop.library.path};${java.library.path}"
1536 </hbase-surefire.cygwin-argLine>
1537 <!-- Surefire argLine defaults to Linux, cygwin argLine is used in the os.windows profile -->
1538 <argLine>${hbase-surefire.argLine}</argLine>
1539 <jacoco.version>0.7.5.201505241946</jacoco.version>
1540 <extra.enforcer.version>1.0-beta-9</extra.enforcer.version>
1541 <enforcer.version>3.0.0-M2</enforcer.version>
1542 <restrict-imports.enforcer.version>0.14.0</restrict-imports.enforcer.version>
1543 <!-- Location of test resources -->
1544 <test.build.classes>${project.build.directory}/test-classes</test.build.classes>
1545 <maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
1546 <!--This build.id we'll add as flag so can identify which forked processes belong to our build.
1547 Default is the build start timestamp. Up on jenkins pass in the jenkins build id by setting
1548 this parameter by invoking mvn with -Dbuild.id=$BUILD_ID-->
1549 <build.id>${maven.build.timestamp}</build.id>
1550 <shell-executable>bash</shell-executable>
1551 <!-- TODO HBASE-15041 clean up our javadocs so jdk8 linter can be used.
1552 property as of javadoc-plugin 3.0.0 -->
1553 <doclint>none</doclint>
1555 <!-- Sorted by groups of dependencies then groupId and artifactId -->
1556 <dependencyManagement>
1559 Note: There are a few exclusions to prevent duplicate code in different jars to be included:
1560 org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are
1561 the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third
1562 implementation of the same, because Hadoop also uses this version
1563 javax.servlet:jsp-api in favour of javax.servlet.jsp:javax.servlet.jsp-api:2.3.1 since it
1564 is what glassfish's jspC jar uses and that's where we get our own need for a jsp-api.
1566 <!-- Intra-module dependencies -->
1568 <groupId>org.apache.hbase</groupId>
1569 <artifactId>hbase-annotations</artifactId>
1570 <version>${project.version}</version>
1571 <type>test-jar</type>
1572 <!--Was test scope only but if we want to run hbase-it tests, need the annotations test jar-->
1575 <artifactId>hbase-backup</artifactId>
1576 <groupId>org.apache.hbase</groupId>
1577 <version>${project.version}</version>
1580 <groupId>org.apache.hbase</groupId>
1581 <artifactId>hbase-common</artifactId>
1582 <version>${project.version}</version>
1585 <groupId>org.apache.hbase</groupId>
1586 <artifactId>hbase-common</artifactId>
1587 <version>${project.version}</version>
1588 <type>test-jar</type>
1592 <groupId>org.apache.hbase</groupId>
1593 <artifactId>hbase-protocol-shaded</artifactId>
1594 <version>${project.version}</version>
1597 <groupId>org.apache.hbase</groupId>
1598 <artifactId>hbase-protocol</artifactId>
1599 <version>${project.version}</version>
1602 <groupId>org.apache.hbase</groupId>
1603 <artifactId>hbase-procedure</artifactId>
1604 <version>${project.version}</version>
1607 <groupId>org.apache.hbase</groupId>
1608 <artifactId>hbase-procedure</artifactId>
1609 <version>${project.version}</version>
1610 <type>test-jar</type>
1613 <groupId>org.apache.hbase</groupId>
1614 <artifactId>hbase-hadoop-compat</artifactId>
1615 <version>${project.version}</version>
1618 <groupId>org.apache.hbase</groupId>
1619 <artifactId>hbase-hadoop-compat</artifactId>
1620 <version>${project.version}</version>
1621 <type>test-jar</type>
1625 <groupId>org.apache.hbase</groupId>
1626 <artifactId>${compat.module}</artifactId>
1627 <version>${project.version}</version>
1630 <groupId>org.apache.hbase</groupId>
1631 <artifactId>${compat.module}</artifactId>
1632 <version>${project.version}</version>
1633 <type>test-jar</type>
1637 <artifactId>hbase-rsgroup</artifactId>
1638 <groupId>org.apache.hbase</groupId>
1639 <version>${project.version}</version>
1642 <artifactId>hbase-rsgroup</artifactId>
1643 <groupId>org.apache.hbase</groupId>
1644 <version>${project.version}</version>
1645 <type>test-jar</type>
1649 <artifactId>hbase-replication</artifactId>
1650 <groupId>org.apache.hbase</groupId>
1651 <version>${project.version}</version>
1654 <artifactId>hbase-http</artifactId>
1655 <groupId>org.apache.hbase</groupId>
1656 <version>${project.version}</version>
1659 <artifactId>hbase-http</artifactId>
1660 <groupId>org.apache.hbase</groupId>
1661 <version>${project.version}</version>
1662 <type>test-jar</type>
1666 <artifactId>hbase-server</artifactId>
1667 <groupId>org.apache.hbase</groupId>
1668 <version>${project.version}</version>
1671 <artifactId>hbase-server</artifactId>
1672 <groupId>org.apache.hbase</groupId>
1673 <version>${project.version}</version>
1674 <type>test-jar</type>
1678 <artifactId>hbase-mapreduce</artifactId>
1679 <groupId>org.apache.hbase</groupId>
1680 <version>${project.version}</version>
1683 <artifactId>hbase-mapreduce</artifactId>
1684 <groupId>org.apache.hbase</groupId>
1685 <version>${project.version}</version>
1686 <type>test-jar</type>
1690 <artifactId>hbase-endpoint</artifactId>
1691 <groupId>org.apache.hbase</groupId>
1692 <version>${project.version}</version>
1695 <artifactId>hbase-shell</artifactId>
1696 <groupId>org.apache.hbase</groupId>
1697 <version>${project.version}</version>
1700 <artifactId>hbase-shell</artifactId>
1701 <groupId>org.apache.hbase</groupId>
1702 <version>${project.version}</version>
1703 <type>test-jar</type>
1707 <artifactId>hbase-thrift</artifactId>
1708 <groupId>org.apache.hbase</groupId>
1709 <version>${project.version}</version>
1712 <artifactId>hbase-thrift</artifactId>
1713 <groupId>org.apache.hbase</groupId>
1714 <version>${project.version}</version>
1715 <type>test-jar</type>
1719 <groupId>org.apache.hbase</groupId>
1720 <artifactId>hbase-testing-util</artifactId>
1721 <version>${project.version}</version>
1725 <artifactId>hbase-examples</artifactId>
1726 <groupId>org.apache.hbase</groupId>
1727 <version>${project.version}</version>
1730 <groupId>org.apache.hbase</groupId>
1731 <artifactId>hbase-external-blockcache</artifactId>
1732 <version>${project.version}</version>
1735 <artifactId>hbase-it</artifactId>
1736 <groupId>org.apache.hbase</groupId>
1737 <version>${project.version}</version>
1738 <type>test-jar</type>
1742 <artifactId>hbase-client</artifactId>
1743 <groupId>org.apache.hbase</groupId>
1744 <version>${project.version}</version>
1747 <artifactId>hbase-metrics-api</artifactId>
1748 <groupId>org.apache.hbase</groupId>
1749 <version>${project.version}</version>
1752 <artifactId>hbase-metrics-api</artifactId>
1753 <groupId>org.apache.hbase</groupId>
1754 <version>${project.version}</version>
1755 <type>test-jar</type>
1759 <artifactId>hbase-metrics</artifactId>
1760 <groupId>org.apache.hbase</groupId>
1761 <version>${project.version}</version>
1764 <artifactId>hbase-metrics</artifactId>
1765 <groupId>org.apache.hbase</groupId>
1766 <version>${project.version}</version>
1767 <type>test-jar</type>
1771 <artifactId>hbase-rest</artifactId>
1772 <groupId>org.apache.hbase</groupId>
1773 <version>${project.version}</version>
1776 <artifactId>hbase-resource-bundle</artifactId>
1777 <groupId>org.apache.hbase</groupId>
1778 <version>${project.version}</version>
1781 <artifactId>hbase-zookeeper</artifactId>
1782 <groupId>org.apache.hbase</groupId>
1783 <version>${project.version}</version>
1786 <artifactId>hbase-zookeeper</artifactId>
1787 <groupId>org.apache.hbase</groupId>
1788 <version>${project.version}</version>
1789 <type>test-jar</type>
1793 <groupId>org.apache.hbase</groupId>
1794 <artifactId>hbase-shaded-client</artifactId>
1795 <version>${project.version}</version>
1798 <groupId>org.apache.hbase</groupId>
1799 <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
1800 <version>${project.version}</version>
1803 <groupId>org.apache.hbase</groupId>
1804 <artifactId>hbase-shaded-mapreduce</artifactId>
1805 <version>${project.version}</version>
1807 <!-- General dependencies -->
1809 <groupId>com.github.stephenc.findbugs</groupId>
1810 <artifactId>findbugs-annotations</artifactId>
1811 <version>${findbugs-annotations}</version>
1813 <!-- General dependencies -->
1815 <groupId>org.codehaus.jettison</groupId>
1816 <artifactId>jettison</artifactId>
1817 <version>${jettison.version}</version>
1820 <groupId>org.slf4j</groupId>
1821 <artifactId>slf4j-log4j12</artifactId>
1822 <version>${slf4j.version}</version>
1825 <groupId>log4j</groupId>
1826 <artifactId>log4j</artifactId>
1827 <version>${log4j.version}</version>
1829 <!-- Avro dependencies we mostly get transitively, manual version coallescing -->
1831 <groupId>org.apache.avro</groupId>
1832 <artifactId>avro</artifactId>
1833 <version>${avro.version}</version>
1835 <!--This is not used by hbase directly. Used by thrift,
1836 dropwizard and zk.-->
1838 <groupId>org.slf4j</groupId>
1839 <artifactId>slf4j-api</artifactId>
1840 <version>${slf4j.version}</version>
1843 <groupId>com.github.ben-manes.caffeine</groupId>
1844 <artifactId>caffeine</artifactId>
1845 <version>${caffeine.version}</version>
1848 <groupId>io.dropwizard.metrics</groupId>
1849 <artifactId>metrics-core</artifactId>
1850 <version>${metrics-core.version}</version>
1853 <groupId>org.apache.httpcomponents</groupId>
1854 <artifactId>httpclient</artifactId>
1855 <version>${httpclient.version}</version>
1858 <groupId>org.apache.httpcomponents</groupId>
1859 <artifactId>httpcore</artifactId>
1860 <version>${httpcore.version}</version>
1863 <groupId>commons-codec</groupId>
1864 <artifactId>commons-codec</artifactId>
1865 <version>${commons-codec.version}</version>
1868 <groupId>commons-validator</groupId>
1869 <artifactId>commons-validator</artifactId>
1870 <version>${commons-validator.version}</version>
1873 <groupId>commons-io</groupId>
1874 <artifactId>commons-io</artifactId>
1875 <version>${commons-io.version}</version>
1878 <groupId>org.apache.commons</groupId>
1879 <artifactId>commons-lang3</artifactId>
1880 <version>${commons-lang3.version}</version>
1883 <groupId>org.apache.commons</groupId>
1884 <artifactId>commons-math3</artifactId>
1885 <version>${commons-math.version}</version>
1888 <!-- commons-logging is only used by hbase-http's HttpRequestLog and hbase-server's
1891 <groupId>commons-logging</groupId>
1892 <artifactId>commons-logging</artifactId>
1893 <version>1.2</version>
1896 <groupId>org.apache.zookeeper</groupId>
1897 <artifactId>zookeeper</artifactId>
1898 <version>${zookeeper.version}</version>
1901 <groupId>jline</groupId>
1902 <artifactId>jline</artifactId>
1905 <groupId>com.sun.jmx</groupId>
1906 <artifactId>jmxri</artifactId>
1909 <groupId>com.sun.jdmk</groupId>
1910 <artifactId>jmxtools</artifactId>
1913 <groupId>javax.jms</groupId>
1914 <artifactId>jms</artifactId>
1917 <groupId>io.netty</groupId>
1918 <artifactId>netty</artifactId>
1923 <groupId>jline</groupId>
1924 <artifactId>jline</artifactId>
1925 <version>${jline.version}</version>
1928 <groupId>org.apache.thrift</groupId>
1929 <artifactId>libthrift</artifactId>
1930 <version>${thrift.version}</version>
1933 <groupId>org.slf4j</groupId>
1934 <artifactId>slf4j-simple</artifactId>
1939 <groupId>org.jruby</groupId>
1940 <artifactId>jruby-complete</artifactId>
1941 <version>${jruby.version}</version>
1944 <groupId>org.jruby.jcodings</groupId>
1945 <artifactId>jcodings</artifactId>
1946 <version>${jcodings.version}</version>
1949 <groupId>org.jruby.joni</groupId>
1950 <artifactId>joni</artifactId>
1951 <version>${joni.version}</version>
1954 <groupId>com.fasterxml.jackson.jaxrs</groupId>
1955 <artifactId>jackson-jaxrs-json-provider</artifactId>
1956 <version>${jackson.version}</version>
1959 <groupId>com.fasterxml.jackson.core</groupId>
1960 <artifactId>jackson-annotations</artifactId>
1961 <version>${jackson.version}</version>
1964 <groupId>com.fasterxml.jackson.core</groupId>
1965 <artifactId>jackson-core</artifactId>
1966 <version>${jackson.version}</version>
1969 <groupId>com.fasterxml.jackson.core</groupId>
1970 <artifactId>jackson-databind</artifactId>
1971 <version>${jackson.version}</version>
1974 <groupId>org.jamon</groupId>
1975 <artifactId>jamon-runtime</artifactId>
1976 <version>${jamon-runtime.version}</version>
1978 <!-- REST dependencies -->
1980 <groupId>javax.servlet</groupId>
1981 <artifactId>javax.servlet-api</artifactId>
1982 <version>${servlet.api.version}</version>
1985 <groupId>javax.ws.rs</groupId>
1986 <artifactId>javax.ws.rs-api</artifactId>
1987 <version>${wx.rs.api.version}</version>
1990 <groupId>com.sun.activation</groupId>
1991 <artifactId>javax.activation</artifactId>
1992 <version>1.2.0</version>
1995 <groupId>org.eclipse.jetty</groupId>
1996 <artifactId>jetty-server</artifactId>
1997 <version>${jetty.version}</version>
2000 <groupId>org.eclipse.jetty</groupId>
2001 <artifactId>jetty-servlet</artifactId>
2002 <version>${jetty.version}</version>
2005 <groupId>org.eclipse.jetty</groupId>
2006 <artifactId>servlet-api</artifactId>
2011 <groupId>org.eclipse.jetty</groupId>
2012 <artifactId>jetty-security</artifactId>
2013 <version>${jetty.version}</version>
2016 <groupId>org.eclipse.jetty</groupId>
2017 <artifactId>jetty-http</artifactId>
2018 <version>${jetty.version}</version>
2021 <groupId>org.eclipse.jetty</groupId>
2022 <artifactId>jetty-util</artifactId>
2023 <version>${jetty.version}</version>
2026 <groupId>org.eclipse.jetty</groupId>
2027 <artifactId>jetty-io</artifactId>
2028 <version>${jetty.version}</version>
2031 <groupId>org.eclipse.jetty</groupId>
2032 <artifactId>jetty-jmx</artifactId>
2033 <version>${jetty.version}</version>
2036 <groupId>org.eclipse.jetty</groupId>
2037 <artifactId>jetty-webapp</artifactId>
2038 <version>${jetty.version}</version>
2041 <groupId>org.eclipse.jetty</groupId>
2042 <artifactId>jetty-util-ajax</artifactId>
2043 <version>${jetty.version}</version>
2046 <groupId>com.google.protobuf</groupId>
2047 <artifactId>protobuf-java</artifactId>
2048 <version>${external.protobuf.version}</version>
2051 <groupId>org.glassfish.jersey.containers</groupId>
2052 <artifactId>jersey-container-servlet-core</artifactId>
2053 <version>${jersey.version}</version>
2056 <groupId>org.glassfish.jersey.core</groupId>
2057 <artifactId>jersey-client</artifactId>
2058 <version>${jersey.version}</version>
2061 <groupId>org.glassfish.jersey.core</groupId>
2062 <artifactId>jersey-server</artifactId>
2063 <version>${jersey.version}</version>
2066 <!--This lib has JspC in it. Needed precompiling jsps in hbase-rest, etc.-->
2067 <groupId>org.glassfish.web</groupId>
2068 <artifactId>javax.servlet.jsp</artifactId>
2069 <version>${glassfish.jsp.version}</version>
2072 <!-- this lib is used by the compiled Jsp from the above JspC -->
2073 <groupId>javax.servlet.jsp</groupId>
2074 <artifactId>javax.servlet.jsp-api</artifactId>
2075 <version>2.3.1</version>
2078 <groupId>org.glassfish</groupId>
2079 <artifactId>javax.el</artifactId>
2080 <version>${glassfish.el.version}</version>
2083 <groupId>javax.xml.bind</groupId>
2084 <artifactId>jaxb-api</artifactId>
2085 <version>${jaxb-api.version}</version>
2088 <groupId>javax.xml.stream</groupId>
2089 <artifactId>stax-api</artifactId>
2094 <groupId>junit</groupId>
2095 <artifactId>junit</artifactId>
2096 <version>${junit.version}</version>
2099 <groupId>org.hamcrest</groupId>
2100 <artifactId>hamcrest-core</artifactId>
2101 <version>${hamcrest.version}</version>
2105 <groupId>org.mockito</groupId>
2106 <artifactId>mockito-core</artifactId>
2107 <version>${mockito-core.version}</version>
2111 <groupId>org.apache.htrace</groupId>
2112 <artifactId>htrace-core4</artifactId>
2113 <version>${htrace.version}</version>
2116 <groupId>com.lmax</groupId>
2117 <artifactId>disruptor</artifactId>
2118 <version>${disruptor.version}</version>
2121 <groupId>net.spy</groupId>
2122 <artifactId>spymemcached</artifactId>
2123 <version>${spy.version}</version>
2124 <optional>true</optional>
2127 <groupId>org.bouncycastle</groupId>
2128 <artifactId>bcprov-jdk15on</artifactId>
2129 <version>${bouncycastle.version}</version>
2133 <groupId>org.apache.kerby</groupId>
2134 <artifactId>kerb-core</artifactId>
2135 <version>${kerby.version}</version>
2138 <groupId>org.apache.kerby</groupId>
2139 <artifactId>kerb-client</artifactId>
2140 <version>${kerby.version}</version>
2143 <groupId>org.apache.kerby</groupId>
2144 <artifactId>kerb-simplekdc</artifactId>
2145 <version>${kerby.version}</version>
2148 <groupId>org.apache.commons</groupId>
2149 <artifactId>commons-crypto</artifactId>
2150 <version>${commons-crypto.version}</version>
2153 <groupId>net.java.dev.jna</groupId>
2154 <artifactId>jna</artifactId>
2159 <groupId>org.apache.curator</groupId>
2160 <artifactId>curator-framework</artifactId>
2161 <version>${curator.version}</version>
2164 <groupId>org.apache.zookeeper</groupId>
2165 <artifactId>zookeeper</artifactId>
2170 <groupId>org.apache.curator</groupId>
2171 <artifactId>curator-client</artifactId>
2172 <version>${curator.version}</version>
2175 <groupId>com.google.guava</groupId>
2176 <artifactId>guava</artifactId>
2179 <groupId>org.apache.zookeeper</groupId>
2180 <artifactId>zookeeper</artifactId>
2185 <groupId>org.apache.curator</groupId>
2186 <artifactId>curator-recipes</artifactId>
2187 <version>${curator.version}</version>
2190 <groupId>com.google.guava</groupId>
2191 <artifactId>guava</artifactId>
2194 <groupId>org.apache.zookeeper</groupId>
2195 <artifactId>zookeeper</artifactId>
2200 <groupId>org.apache.yetus</groupId>
2201 <artifactId>audience-annotations</artifactId>
2202 <version>${audience-annotations.version}</version>
2205 <groupId>org.apache.hbase.thirdparty</groupId>
2206 <artifactId>hbase-shaded-miscellaneous</artifactId>
2207 <version>${hbase-thirdparty.version}</version>
2210 <groupId>org.apache.hbase.thirdparty</groupId>
2211 <artifactId>hbase-shaded-netty</artifactId>
2212 <version>${hbase-thirdparty.version}</version>
2215 <groupId>org.apache.hbase.thirdparty</groupId>
2216 <artifactId>hbase-shaded-protobuf</artifactId>
2217 <version>${hbase-thirdparty.version}</version>
2220 </dependencyManagement>
2222 <!--REMOVE THIS. HERE TEMPORARILY.
2223 Implication is that every module needs junit which is not so.
2224 Cannot undo though because build runs test on each module and
2225 it fails if no junit. TODO. -->
2227 <groupId>junit</groupId>
2228 <artifactId>junit</artifactId>
2233 To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml )
2238 <id>apache.releases.https</id>
2239 <username>hbase_committer</username>
2240 <password>********</password>
2244 <id>apache.snapshots.https</id>
2245 <username>hbase_committer</username>
2246 <password>********</password>
2254 $ mvn -s /my/path/settings.xml deploy
2262 <name>!skip-rsgroup</name>
2266 <module>hbase-rsgroup</module>
2270 <id>build-with-jdk8</id>
2278 <groupId>org.codehaus.mojo</groupId>
2279 <artifactId>findbugs-maven-plugin</artifactId>
2280 <version>${findbugs.maven.version}</version>
2281 <!--NOTE: Findbugs 3.0.0 requires jdk7-->
2283 <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile>
2284 <findbugsXmlOutput>true</findbugsXmlOutput>
2285 <xmlOutput>true</xmlOutput>
2286 <effort>Max</effort>
2290 <groupId>com.github.spotbugs</groupId>
2291 <artifactId>spotbugs</artifactId>
2292 <version>${spotbugs.version}</version>
2301 <id>build-with-jdk11</id>
2305 <dependencyManagement>
2308 <groupId>javax.annotation</groupId>
2309 <artifactId>javax.annotation-api</artifactId>
2310 <version>1.3.2</version>
2313 <groupId>com.sun.xml.ws</groupId>
2314 <artifactId>jaxws-ri</artifactId>
2315 <version>2.3.1</version>
2319 </dependencyManagement>
2321 <!-- profile activated by the Jenkins patch testing job -->
2323 <id>jenkins.patch</id>
2325 <activeByDefault>false</activeByDefault>
2327 <name>HBasePatchProcess</name>
2331 <surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
2336 <groupId>org.apache.maven.plugins</groupId>
2337 <artifactId>maven-antrun-plugin</artifactId>
2338 <inherited>false</inherited>
2341 <phase>validate</phase>
2347 <echo>Maven Execution Environment</echo>
2348 <echo>MAVEN_OPTS="${env.MAVEN_OPTS}"</echo>
2360 <activeByDefault>false</activeByDefault>
2365 <groupId>org.jacoco</groupId>
2366 <artifactId>jacoco-maven-plugin</artifactId>
2367 <version>${jacoco.version}</version>
2370 <id>prepare-agent</id>
2372 <goal>prepare-agent</goal>
2377 <phase>prepare-package</phase>
2384 <systemPropertyVariables>
2385 <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
2386 </systemPropertyVariables>
2388 <exclude>**/generated/**/*.class</exclude>
2398 <activeByDefault>false</activeByDefault>
2400 <family>Linux</family>
2404 <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform>
2411 <family>Mac</family>
2415 <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform>
2422 <family>Windows</family>
2426 <build.platform>cygwin</build.platform>
2427 <argLine>${hbase-surefire.cygwin-argLine}</argLine>
2430 <!-- this profile should be activated for release builds -->
2436 <groupId>org.apache.rat</groupId>
2437 <artifactId>apache-rat-plugin</artifactId>
2440 <phase>package</phase>
2448 <groupId>org.apache.maven.plugins</groupId>
2449 <artifactId>maven-enforcer-plugin</artifactId>
2450 <version>${enforcer.version}</version>
2453 <enforceBytecodeVersion>
2454 <maxJdkVersion>${compileSource}</maxJdkVersion>
2455 <message>HBase has unsupported dependencies.
2456 HBase requires that all dependencies be compiled with version ${compileSource} or earlier
2457 of the JDK to properly build from source. You appear to be using a newer dependency. You can use
2458 either "mvn -version" or "mvn enforcer:display-info" to verify what version is active.
2459 Non-release builds can temporarily build with a newer JDK version by setting the
2460 'compileSource' property (eg. mvn -DcompileSource=1.8 clean package).
2462 </enforceBytecodeVersion>
2469 <!-- Dependency management profiles for submodules when building against specific hadoop branches.-->
2470 <!-- Submodules that need hadoop dependencies should declare
2471 profiles with activation properties matching the profile here.
2472 Generally, it should be sufficient to copy the first
2473 few lines of the profile you want to match. -->
2474 <!-- profile for building against Hadoop 2.0.x
2475 This is the default.
2481 <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
2482 <!--h2--><name>!hadoop.profile</name>
2486 <module>hbase-hadoop2-compat</module>
2489 <hadoop.version>${hadoop-two.version}</hadoop.version>
2490 <compat.module>hbase-hadoop2-compat</compat.module>
2491 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2492 <!--This property is for hadoops netty. HBase netty
2493 comes in via hbase-thirdparty hbase-shaded-netty-->
2494 <netty.hadoop.version>3.6.2.Final</netty.hadoop.version>
2496 <dependencyManagement>
2499 <groupId>org.apache.hadoop</groupId>
2500 <artifactId>hadoop-mapreduce-client-core</artifactId>
2501 <version>${hadoop-two.version}</version>
2504 <groupId>com.sun.jersey</groupId>
2505 <artifactId>jersey-core</artifactId>
2508 <groupId>io.netty</groupId>
2509 <artifactId>netty</artifactId>
2512 <groupId>javax.servlet</groupId>
2513 <artifactId>servlet-api</artifactId>
2516 <groupId>javax.inject</groupId>
2517 <artifactId>javax.inject</artifactId>
2520 <groupId>org.codehaus.jackson</groupId>
2521 <artifactId>jackson-core-asl</artifactId>
2524 <groupId>org.codehaus.jackson</groupId>
2525 <artifactId>jackson-mapper-asl</artifactId>
2530 <groupId>org.apache.hadoop</groupId>
2531 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2532 <version>${hadoop-two.version}</version>
2535 <groupId>com.sun.jersey</groupId>
2536 <artifactId>jersey-core</artifactId>
2539 <groupId>io.netty</groupId>
2540 <artifactId>netty</artifactId>
2543 <groupId>javax.servlet</groupId>
2544 <artifactId>servlet-api</artifactId>
2549 <groupId>org.apache.hadoop</groupId>
2550 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2551 <version>${hadoop-two.version}</version>
2552 <type>test-jar</type>
2556 <groupId>com.sun.jersey</groupId>
2557 <artifactId>jersey-core</artifactId>
2560 <groupId>io.netty</groupId>
2561 <artifactId>netty</artifactId>
2564 <groupId>javax.servlet</groupId>
2565 <artifactId>servlet-api</artifactId>
2570 <groupId>org.apache.hadoop</groupId>
2571 <artifactId>hadoop-hdfs</artifactId>
2572 <version>${hadoop-two.version}</version>
2575 <groupId>com.sun.jersey</groupId>
2576 <artifactId>jersey-core</artifactId>
2579 <groupId>javax.servlet.jsp</groupId>
2580 <artifactId>jsp-api</artifactId>
2583 <groupId>javax.servlet</groupId>
2584 <artifactId>servlet-api</artifactId>
2587 <groupId>io.netty</groupId>
2588 <artifactId>netty</artifactId>
2591 <groupId>stax</groupId>
2592 <artifactId>stax-api</artifactId>
2595 <groupId>xerces</groupId>
2596 <artifactId>xercesImpl</artifactId>
2599 <groupId>org.codehaus.jackson</groupId>
2600 <artifactId>jackson-core-asl</artifactId>
2603 <groupId>org.codehaus.jackson</groupId>
2604 <artifactId>jackson-mapper-asl</artifactId>
2607 <groupId>com.google.guava</groupId>
2608 <artifactId>guava</artifactId>
2613 <groupId>org.apache.hadoop</groupId>
2614 <artifactId>hadoop-hdfs</artifactId>
2615 <version>${hadoop-two.version}</version>
2616 <type>test-jar</type>
2620 <groupId>javax.servlet.jsp</groupId>
2621 <artifactId>jsp-api</artifactId>
2624 <groupId>javax.servlet</groupId>
2625 <artifactId>servlet-api</artifactId>
2628 <groupId>io.netty</groupId>
2629 <artifactId>netty</artifactId>
2632 <groupId>stax</groupId>
2633 <artifactId>stax-api</artifactId>
2636 <groupId>xerces</groupId>
2637 <artifactId>xercesImpl</artifactId>
2640 <groupId>org.codehaus.jackson</groupId>
2641 <artifactId>jackson-core-asl</artifactId>
2644 <groupId>org.codehaus.jackson</groupId>
2645 <artifactId>jackson-mapper-asl</artifactId>
2648 <groupId>com.google.guava</groupId>
2649 <artifactId>guava</artifactId>
2652 <groupId>com.sun.jersey</groupId>
2653 <artifactId>jersey-core</artifactId>
2658 <groupId>org.apache.hadoop</groupId>
2659 <artifactId>hadoop-auth</artifactId>
2660 <version>${hadoop-two.version}</version>
2663 <groupId>org.apache.hadoop</groupId>
2664 <artifactId>hadoop-common</artifactId>
2665 <version>${hadoop-two.version}</version>
2668 <groupId>com.sun.jersey</groupId>
2669 <artifactId>jersey-core</artifactId>
2672 <groupId>commons-beanutils</groupId>
2673 <artifactId>commons-beanutils</artifactId>
2676 <groupId>javax.servlet.jsp</groupId>
2677 <artifactId>jsp-api</artifactId>
2680 <groupId>javax.servlet</groupId>
2681 <artifactId>servlet-api</artifactId>
2684 <groupId>stax</groupId>
2685 <artifactId>stax-api</artifactId>
2688 <groupId>io.netty</groupId>
2689 <artifactId>netty</artifactId>
2692 <groupId>com.google.code.findbugs</groupId>
2693 <artifactId>jsr305</artifactId>
2696 <groupId>junit</groupId>
2697 <artifactId>junit</artifactId>
2700 <groupId>org.codehaus.jackson</groupId>
2701 <artifactId>jackson-core-asl</artifactId>
2704 <groupId>org.codehaus.jackson</groupId>
2705 <artifactId>jackson-mapper-asl</artifactId>
2710 <groupId>org.apache.hadoop</groupId>
2711 <artifactId>hadoop-common</artifactId>
2712 <version>${hadoop-two.version}</version>
2713 <type>test-jar</type>
2717 <groupId>com.sun.jersey</groupId>
2718 <artifactId>jersey-core</artifactId>
2721 <groupId>com.google.code.findbugs</groupId>
2722 <artifactId>jsr305</artifactId>
2727 <groupId>org.apache.hadoop</groupId>
2728 <artifactId>hadoop-client</artifactId>
2729 <version>${hadoop-two.version}</version>
2731 <!-- This was marked as test dep in earlier pom, but was scoped compile.
2732 Where do we actually need it? -->
2734 <groupId>org.apache.hadoop</groupId>
2735 <artifactId>hadoop-minicluster</artifactId>
2736 <version>${hadoop-two.version}</version>
2738 <!--If we comment this in, a few tests in hbase-mapreduce
2739 fail. They depend on jersey-core somehow. But excluding
2740 jersey-core here messes up hbase-it because jersey-core
2741 implements a 1.x jaxrs Response Interface when we depend
2742 on the 2.x Interface... . Letting this jar come in
2743 transitively here but will exclude it down in hbase-it.
2746 <groupId>com.sun.jersey</groupId>
2747 <artifactId>jersey-core</artifactId>
2751 <groupId>commons-httpclient</groupId>
2752 <artifactId>commons-httpclient</artifactId>
2755 <groupId>javax.servlet.jsp</groupId>
2756 <artifactId>jsp-api</artifactId>
2759 <groupId>javax.servlet</groupId>
2760 <artifactId>servlet-api</artifactId>
2763 <groupId>stax</groupId>
2764 <artifactId>stax-api</artifactId>
2767 <groupId>io.netty</groupId>
2768 <artifactId>netty</artifactId>
2771 <groupId>com.google.code.findbugs</groupId>
2772 <artifactId>jsr305</artifactId>
2777 <groupId>org.apache.hadoop</groupId>
2778 <artifactId>hadoop-minikdc</artifactId>
2779 <version>${hadoop-two.version}</version>
2783 <groupId>org.apache.hadoop</groupId>
2784 <artifactId>hadoop-annotations</artifactId>
2785 <version>${hadoop-two.version}</version>
2788 </dependencyManagement>
2791 profile for building against Hadoop 3.0.0. Activate using:
2792 mvn -Dhadoop.profile=3.0
2798 <name>hadoop.profile</name>
2803 <!--For now, use hadoop2 compat module-->
2804 <module>hbase-hadoop2-compat</module>
2807 <hadoop.version>${hadoop-three.version}</hadoop.version>
2808 <!--Use this compat module for now. TODO: Make h3 one if we need one-->
2809 <compat.module>hbase-hadoop2-compat</compat.module>
2810 <assembly.file>src/main/assembly/hadoop-two-compat.xml</assembly.file>
2811 <!--This property is for hadoops netty. HBase netty
2812 comes in via hbase-thirdparty hbase-shaded-netty-->
2813 <netty.hadoop.version>3.10.5.Final</netty.hadoop.version>
2815 <dependencyManagement>
2818 <groupId>org.apache.hadoop</groupId>
2819 <artifactId>hadoop-mapreduce-client-core</artifactId>
2820 <version>${hadoop-three.version}</version>
2823 <groupId>com.sun.jersey</groupId>
2824 <artifactId>jersey-core</artifactId>
2827 <groupId>io.netty</groupId>
2828 <artifactId>netty</artifactId>
2831 <groupId>javax.inject</groupId>
2832 <artifactId>javax.inject</artifactId>
2835 <groupId>org.codehaus.jackson</groupId>
2836 <artifactId>jackson-core-asl</artifactId>
2839 <groupId>org.codehaus.jackson</groupId>
2840 <artifactId>jackson-mapper-asl</artifactId>
2843 <groupId>com.google.guava</groupId>
2844 <artifactId>guava</artifactId>
2849 <groupId>org.apache.hadoop</groupId>
2850 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2851 <version>${hadoop-three.version}</version>
2854 <groupId>com.sun.jersey</groupId>
2855 <artifactId>jersey-core</artifactId>
2858 <groupId>io.netty</groupId>
2859 <artifactId>netty</artifactId>
2864 <groupId>org.apache.hadoop</groupId>
2865 <artifactId>hadoop-mapreduce-client-jobclient</artifactId>
2866 <version>${hadoop-three.version}</version>
2867 <type>test-jar</type>
2871 <groupId>com.sun.jersey</groupId>
2872 <artifactId>jersey-core</artifactId>
2875 <groupId>io.netty</groupId>
2876 <artifactId>netty</artifactId>
2881 <groupId>org.apache.hadoop</groupId>
2882 <artifactId>hadoop-hdfs</artifactId>
2883 <version>${hadoop-three.version}</version>
2886 <groupId>com.sun.jersey</groupId>
2887 <artifactId>jersey-core</artifactId>
2890 <groupId>com.sun.jersey</groupId>
2891 <artifactId>jersey-server</artifactId>
2894 <groupId>javax.servlet.jsp</groupId>
2895 <artifactId>jsp-api</artifactId>
2898 <groupId>javax.servlet</groupId>
2899 <artifactId>servlet-api</artifactId>
2902 <groupId>stax</groupId>
2903 <artifactId>stax-api</artifactId>
2906 <groupId>xerces</groupId>
2907 <artifactId>xercesImpl</artifactId>
2910 <groupId>org.codehaus.jackson</groupId>
2911 <artifactId>jackson-core-asl</artifactId>
2914 <groupId>org.codehaus.jackson</groupId>
2915 <artifactId>jackson-mapper-asl</artifactId>
2918 <groupId>com.google.guava</groupId>
2919 <artifactId>guava</artifactId>
2924 <groupId>org.apache.hadoop</groupId>
2925 <artifactId>hadoop-hdfs</artifactId>
2926 <version>${hadoop-three.version}</version>
2927 <type>test-jar</type>
2931 <groupId>javax.servlet.jsp</groupId>
2932 <artifactId>jsp-api</artifactId>
2935 <groupId>javax.servlet</groupId>
2936 <artifactId>servlet-api</artifactId>
2939 <groupId>stax</groupId>
2940 <artifactId>stax-api</artifactId>
2943 <groupId>xerces</groupId>
2944 <artifactId>xercesImpl</artifactId>
2947 <groupId>org.codehaus.jackson</groupId>
2948 <artifactId>jackson-core-asl</artifactId>
2951 <groupId>org.codehaus.jackson</groupId>
2952 <artifactId>jackson-mapper-asl</artifactId>
2955 <groupId>com.google.guava</groupId>
2956 <artifactId>guava</artifactId>
2959 <groupId>com.sun.jersey</groupId>
2960 <artifactId>jersey-core</artifactId>
2965 <groupId>org.apache.hadoop</groupId>
2966 <artifactId>hadoop-hdfs</artifactId>
2967 <version>${hadoop-three.version}</version>
2968 <type>test-jar</type>
2969 <classifier>tests</classifier>
2973 <groupId>com.sun.jersey</groupId>
2974 <artifactId>jersey-core</artifactId>
2979 <groupId>org.apache.hadoop</groupId>
2980 <artifactId>hadoop-auth</artifactId>
2981 <version>${hadoop-three.version}</version>
2984 <groupId>com.google.guava</groupId>
2985 <artifactId>guava</artifactId>
2988 <groupId>net.minidev</groupId>
2989 <artifactId>json-smart</artifactId>
2994 <groupId>org.apache.hadoop</groupId>
2995 <artifactId>hadoop-common</artifactId>
2996 <version>${hadoop-three.version}</version>
2999 <groupId>com.sun.jersey</groupId>
3000 <artifactId>jersey-core</artifactId>
3003 <groupId>com.sun.jersey</groupId>
3004 <artifactId>jersey-json</artifactId>
3007 <groupId>com.sun.jersey</groupId>
3008 <artifactId>jersey-servlet</artifactId>
3011 <groupId>com.sun.jersey</groupId>
3012 <artifactId>jersey-server</artifactId>
3015 <groupId>javax.servlet.jsp</groupId>
3016 <artifactId>jsp-api</artifactId>
3019 <groupId>javax.servlet</groupId>
3020 <artifactId>javax.servlet-api</artifactId>
3023 <groupId>stax</groupId>
3024 <artifactId>stax-api</artifactId>
3027 <groupId>io.netty</groupId>
3028 <artifactId>netty</artifactId>
3031 <groupId>com.google.code.findbugs</groupId>
3032 <artifactId>jsr305</artifactId>
3035 <groupId>junit</groupId>
3036 <artifactId>junit</artifactId>
3039 <groupId>org.codehause.jackson</groupId>
3040 <artifactId>jackson-core-asl</artifactId>
3043 <groupId>org.codehause.jackson</groupId>
3044 <artifactId>jackson-mapper-asl</artifactId>
3049 <groupId>org.apache.hadoop</groupId>
3050 <artifactId>hadoop-common</artifactId>
3051 <type>test-jar</type>
3052 <classifier>tests</classifier>
3053 <version>${hadoop-three.version}</version>
3056 <groupId>com.sun.jersey</groupId>
3057 <artifactId>jersey-core</artifactId>
3060 <groupId>com.google.code.findbugs</groupId>
3061 <artifactId>jsr305</artifactId>
3066 <groupId>org.apache.hadoop</groupId>
3067 <artifactId>hadoop-client</artifactId>
3068 <version>${hadoop-three.version}</version>
3071 <groupId>org.apache.hadoop</groupId>
3072 <artifactId>hadoop-annotations</artifactId>
3073 <version>${hadoop-three.version}</version>
3075 <!-- This was marked as test dep in earlier pom, but was scoped compile.
3076 Where do we actually need it? -->
3078 <groupId>org.apache.hadoop</groupId>
3079 <artifactId>hadoop-minicluster</artifactId>
3080 <version>${hadoop-three.version}</version>
3082 <!--If we comment this in, a few tests in hbase-mapreduce
3083 fail. They depend on jersey-core somehow. But excluding
3084 jersey-core here messes up hbase-it because jersey-core
3085 implements a 1.x jaxrs Response Interface when we depend
3086 on the 2.x Interface... . Letting this jar come in
3087 transitively here but will exclude it down in hbase-it.
3090 <groupId>com.sun.jersey</groupId>
3091 <artifactId>jersey-core</artifactId>
3095 <groupId>commons-httpclient</groupId>
3096 <artifactId>commons-httpclient</artifactId>
3099 <groupId>javax.servlet.jsp</groupId>
3100 <artifactId>jsp-api</artifactId>
3103 <groupId>javax.servlet</groupId>
3104 <artifactId>servlet-api</artifactId>
3107 <groupId>stax</groupId>
3108 <artifactId>stax-api</artifactId>
3111 <groupId>io.netty</groupId>
3112 <artifactId>netty</artifactId>
3115 <groupId>com.google.code.findbugs</groupId>
3116 <artifactId>jsr305</artifactId>
3121 <groupId>org.apache.hadoop</groupId>
3122 <artifactId>hadoop-minikdc</artifactId>
3123 <version>${hadoop-three.version}</version>
3127 </dependencyManagement>
3130 <!-- profiles for the tests
3131 See as well the properties of the project for the values
3132 when no profile is active. -->
3134 <!-- Use it to launch all tests in the same JVM -->
3135 <id>singleJVMTests</id>
3137 <activeByDefault>false</activeByDefault>
3140 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3141 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3142 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3143 <surefire.firstPartGroups/>
3147 <!-- Use it to launch small tests only -->
3148 <id>runSmallTests</id>
3150 <activeByDefault>false</activeByDefault>
3153 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3154 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3155 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3156 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3157 <surefire.secondPartGroups/>
3161 <!-- Use it to launch medium tests only -->
3162 <id>runMediumTests</id>
3164 <activeByDefault>false</activeByDefault>
3167 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3168 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3169 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.firstPartGroups>
3170 <surefire.secondPartGroups/>
3174 <!-- Use it to launch large tests only -->
3175 <id>runLargeTests</id>
3177 <activeByDefault>false</activeByDefault>
3180 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3181 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3182 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.LargeTests</surefire.firstPartGroups>
3183 <surefire.secondPartGroups/>
3187 <!-- Use it to launch small & medium tests -->
3188 <id>runDevTests</id>
3190 <activeByDefault>false</activeByDefault>
3193 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3194 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3195 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3196 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3197 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests</surefire.secondPartGroups>
3201 <!-- Use it to launch all tests -->
3202 <id>runAllTests</id>
3204 <activeByDefault>false</activeByDefault>
3207 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3208 <surefire.secondPartForkCount>5</surefire.secondPartForkCount>
3209 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3210 <surefire.skipSecondPart>false</surefire.skipSecondPart>
3211 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SmallTests</surefire.firstPartGroups>
3212 <surefire.secondPartGroups>org.apache.hadoop.hbase.testclassification.MediumTests,org.apache.hadoop.hbase.testclassification.LargeTests</surefire.secondPartGroups>
3216 <id>runMiscTests</id>
3218 <activeByDefault>false</activeByDefault>
3221 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3222 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3223 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3224 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3225 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MiscTests
3226 </surefire.firstPartGroups>
3227 <surefire.secondPartGroups></surefire.secondPartGroups>
3231 <id>runCoprocessorTests</id>
3233 <activeByDefault>false</activeByDefault>
3236 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3237 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3238 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3239 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3240 <surefire.firstPartGroups>
3241 org.apache.hadoop.hbase.testclassification.CoprocessorTests
3242 </surefire.firstPartGroups>
3243 <surefire.secondPartGroups></surefire.secondPartGroups>
3247 <id>runClientTests</id>
3249 <activeByDefault>false</activeByDefault>
3252 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3253 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3254 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3255 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3256 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ClientTests
3257 </surefire.firstPartGroups>
3258 <surefire.secondPartGroups></surefire.secondPartGroups>
3262 <id>runMasterTests</id>
3264 <activeByDefault>false</activeByDefault>
3267 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3268 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3269 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3270 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3271 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MasterTests
3272 </surefire.firstPartGroups>
3273 <surefire.secondPartGroups></surefire.secondPartGroups>
3277 <id>runMapredTests</id>
3279 <activeByDefault>false</activeByDefault>
3282 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3283 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3284 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3285 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3286 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.MapredTests
3287 </surefire.firstPartGroups>
3288 <surefire.secondPartGroups></surefire.secondPartGroups>
3292 <id>runMapreduceTests</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.MapReduceTests
3302 </surefire.firstPartGroups>
3303 <surefire.secondPartGroups></surefire.secondPartGroups>
3307 <id>runRegionServerTests</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>
3317 org.apache.hadoop.hbase.testclassification.RegionServerTests
3318 </surefire.firstPartGroups>
3319 <surefire.secondPartGroups></surefire.secondPartGroups>
3323 <id>runVerySlowMapReduceTests</id>
3325 <activeByDefault>false</activeByDefault>
3328 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3329 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3330 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3331 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3332 <surefire.firstPartGroups>
3333 org.apache.hadoop.hbase.testclassification.VerySlowMapReduceTests
3334 </surefire.firstPartGroups>
3335 <surefire.secondPartGroups></surefire.secondPartGroups>
3340 <id>runVerySlowRegionServerTests</id>
3342 <activeByDefault>false</activeByDefault>
3345 <surefire.firstPartForkCount>2</surefire.firstPartForkCount>
3346 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3347 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3348 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3349 <surefire.firstPartGroups>
3350 org.apache.hadoop.hbase.testclassification.VerySlowRegionServerTests
3351 </surefire.firstPartGroups>
3352 <surefire.secondPartGroups></surefire.secondPartGroups>
3357 <id>runFilterTests</id>
3359 <activeByDefault>false</activeByDefault>
3362 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3363 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3364 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3365 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3366 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FilterTests
3367 </surefire.firstPartGroups>
3368 <surefire.secondPartGroups></surefire.secondPartGroups>
3374 <activeByDefault>false</activeByDefault>
3377 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3378 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3379 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3380 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3381 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.IOTests
3382 </surefire.firstPartGroups>
3383 <surefire.secondPartGroups></surefire.secondPartGroups>
3387 <id>runRestTests</id>
3389 <activeByDefault>false</activeByDefault>
3392 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3393 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3394 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3395 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3396 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.RestTests
3397 </surefire.firstPartGroups>
3398 <surefire.secondPartGroups></surefire.secondPartGroups>
3402 <id>runRPCTests</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.RPCTests
3412 </surefire.firstPartGroups>
3413 <surefire.secondPartGroups></surefire.secondPartGroups>
3417 <id>runReplicationTests</id>
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>
3427 org.apache.hadoop.hbase.testclassification.ReplicationTests
3428 </surefire.firstPartGroups>
3429 <surefire.secondPartGroups></surefire.secondPartGroups>
3433 <id>runSecurityTests</id>
3435 <activeByDefault>false</activeByDefault>
3438 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3439 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3440 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3441 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3442 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.SecurityTests
3443 </surefire.firstPartGroups>
3444 <surefire.secondPartGroups></surefire.secondPartGroups>
3448 <id>runFlakeyTests</id>
3450 <activeByDefault>false</activeByDefault>
3453 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3454 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3455 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3456 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3457 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.FlakeyTests
3458 </surefire.firstPartGroups>
3459 <surefire.secondPartGroups></surefire.secondPartGroups>
3465 <activeByDefault>false</activeByDefault>
3468 <surefire.firstPartForkCount>1</surefire.firstPartForkCount>
3469 <surefire.secondPartForkCount>1</surefire.secondPartForkCount>
3470 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3471 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3472 <surefire.firstPartGroups>org.apache.hadoop.hbase.testclassification.ZKTests
3473 </surefire.firstPartGroups>
3474 <surefire.secondPartGroups></surefire.secondPartGroups>
3479 <!-- Use it to launch tests locally-->
3487 <surefire.provider>surefire-junit4</surefire.provider>
3488 <surefire.skipFirstPart>false</surefire.skipFirstPart>
3489 <surefire.skipSecondPart>true</surefire.skipSecondPart>
3490 <surefire.firstPartGroups/>
3493 <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version}
3494 or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find
3495 the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/
3496 The report will be generated under target/site/clover/index.html when you run
3497 MAVEN_OPTS="-Xmx2048m" mvn clean package -Pclover site -->
3501 <activeByDefault>false</activeByDefault>
3507 <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation>
3511 <!-- When Clover is active, we need to add it as a dependency for the javadoc plugin, or
3512 our instrumented classes for the doclet will fail
3515 <groupId>org.apache.maven.plugins</groupId>
3516 <artifactId>maven-javadoc-plugin</artifactId>
3519 <groupId>com.atlassian.maven.plugins</groupId>
3520 <artifactId>maven-clover2-plugin</artifactId>
3521 <version>${clover.version}</version>
3526 <groupId>com.atlassian.maven.plugins</groupId>
3527 <artifactId>maven-clover2-plugin</artifactId>
3528 <version>${clover.version}</version>
3530 <includesAllSourceRoots>true</includesAllSourceRoots>
3531 <includesTestSourceRoots>true</includesTestSourceRoots>
3532 <targetPercentage>50%</targetPercentage>
3533 <generateHtml>true</generateHtml>
3534 <generateXml>true</generateXml>
3536 <exclude>**/generated/**</exclude>
3541 <id>clover-setup</id>
3542 <phase>process-sources</phase>
3560 <!-- Used by the website generation script on jenkins to
3561 do a local install of the jars we need to run a normal
3562 site build w/o forking.
3564 <id>site-install-step</id>
3566 <skipTests>true</skipTests>
3567 <maven.javadoc.skip>true</maven.javadoc.skip>
3568 <enforcer.skip>true</enforcer.skip>
3569 <checkstyle.skip>true</checkstyle.skip>
3570 <findbugs.skip>true</findbugs.skip>
3571 <warbucks.skip>true</warbucks.skip>
3575 <!-- Used by the website generation script on jenkins to
3576 mitigate the impact of unneeded build forks while building
3579 <id>site-build-step</id>
3581 <skipTests>true</skipTests>
3582 <enforcer.skip>true</enforcer.skip>
3583 <maven.main.skip>true</maven.main.skip>
3584 <maven.test.skip>true</maven.test.skip>
3585 <warbucks.skip>true</warbucks.skip>
3586 <protoc.skip>true</protoc.skip>
3587 <remoteresources.skip>true</remoteresources.skip>
3591 <id>eclipse-specific</id>
3594 <name>m2e.version</name>
3600 <!-- General config for eclipse classpath/settings -->
3602 <groupId>org.apache.maven.plugins</groupId>
3603 <artifactId>maven-eclipse-plugin</artifactId>
3604 <version>${maven.eclipse.version}</version>
3606 <!--This plugin's configuration is used to store Eclipse m2e settings
3607 only. It has no influence on the Maven build itself. m2e does not
3608 provide any safeguards against rogue maven plugins that leak
3609 classloaders, modify random files inside workspace or throw nasty
3610 exceptions to fail the build.
3611 Top level doesn't do any specific configuration currently - left
3612 to modules to decide what they want to bind, sans those plugins
3613 defined in this pom. -->
3615 <groupId>org.eclipse.m2e</groupId>
3616 <artifactId>lifecycle-mapping</artifactId>
3617 <version>${lifecycle.mapping.version}</version>
3619 <lifecycleMappingMetadata>
3622 <pluginExecutionFilter>
3623 <groupId>org.jacoco</groupId>
3624 <artifactId>jacoco-maven-plugin</artifactId>
3625 <versionRange>[0.6.2.201302030002,)</versionRange>
3627 <goal>prepare-agent</goal>
3629 </pluginExecutionFilter>
3635 <pluginExecutionFilter>
3636 <groupId>org.apache.maven.plugins</groupId>
3637 <artifactId>maven-enforcer-plugin</artifactId>
3638 <versionRange>${enforcer.version}</versionRange>
3640 <goal>enforce</goal>
3642 </pluginExecutionFilter>
3648 <pluginExecutionFilter>
3649 <groupId>org.apache.maven.plugins</groupId>
3650 <artifactId>maven-remote-resources-plugin</artifactId>
3651 <versionRange>[1.5,)</versionRange>
3653 <goal>process</goal>
3656 </pluginExecutionFilter>
3662 <pluginExecutionFilter>
3663 <groupId>org.codehaus.mojo</groupId>
3664 <artifactId>buildnumber-maven-plugin</artifactId>
3665 <versionRange>[1.3,)</versionRange>
3667 <goal>create-timestamp</goal>
3669 </pluginExecutionFilter>
3672 <runOnConfiguration>true</runOnConfiguration>
3673 <runOnIncremental>true</runOnIncremental>
3678 </lifecycleMappingMetadata>
3686 <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. -->
3690 <artifactId>maven-project-info-reports-plugin</artifactId>
3694 <report>dependencies</report>
3695 <report>dependency-convergence</report>
3696 <report>dependency-info</report>
3697 <report>dependency-management</report>
3698 <report>index</report>
3699 <report>issue-management</report>
3700 <report>licenses</report>
3701 <report>mailing-lists</report>
3702 <report>plugin-management</report>
3703 <report>plugins</report>
3704 <report>team</report>
3705 <report>scm</report>
3706 <report>summary</report>
3710 <!-- see src/site/site.xml for selected reports -->
3712 <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
3717 <groupId>org.apache.maven.plugins</groupId>
3718 <artifactId>maven-javadoc-plugin</artifactId>
3724 <report>aggregate</report>
3727 <destDir>devapidocs</destDir>
3728 <name>Developer API</name>
3729 <description>The full HBase API, including private and unstable APIs</description>
3730 <sourceFileExcludes>
3731 <exclude>**/generated/*</exclude>
3732 <exclude>**/protobuf/*</exclude>
3733 </sourceFileExcludes>
3734 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3735 <show>private</show> <!-- (shows all classes and members) -->
3737 <linksource>true</linksource>
3738 <sourcetab>2</sourcetab>
3739 <validateLinks>true</validateLinks>
3740 <fixClassComment>true</fixClassComment>
3741 <fixFieldComment>true</fixFieldComment>
3742 <fixMethodComment>true</fixMethodComment>
3743 <fixTags>all</fixTags>
3744 <notimestamp>true</notimestamp>
3745 <!-- Pass some options straight to the javadoc executable since it is easier -->
3746 <additionalJOption>-J-Xmx2G</additionalJOption>
3747 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3748 <additionalDependencies>
3749 <additionalDependency>
3750 <groupId>org.mockito</groupId>
3751 <artifactId>mockito-core</artifactId>
3752 <version>${mockito-core.version}</version>
3753 </additionalDependency>
3754 <additionalDependency>
3755 <groupId>org.hamcrest</groupId>
3756 <artifactId>hamcrest-core</artifactId>
3757 <version>${hamcrest.version}</version>
3758 </additionalDependency>
3759 </additionalDependencies>
3760 <inherited>false</inherited>
3766 <report>test-aggregate</report>
3769 <destDir>testdevapidocs</destDir>
3770 <name>Developer API</name>
3771 <description>The full HBase API test code, including private and unstable APIs</description>
3772 <sourceFileExcludes>
3773 <exclude>**/generated/*</exclude>
3774 <exclude>**/protobuf/*</exclude>
3775 </sourceFileExcludes>
3776 <excludePackageNames>org.apache.hadoop.hbase.tmpl.common:com.google.protobuf:org.apache.hadoop.hbase.generated*</excludePackageNames>
3777 <show>private</show> <!-- (shows all classes and members) -->
3779 <linksource>true</linksource>
3780 <sourcetab>2</sourcetab>
3781 <validateLinks>true</validateLinks>
3782 <fixClassComment>true</fixClassComment>
3783 <fixFieldComment>true</fixFieldComment>
3784 <fixMethodComment>true</fixMethodComment>
3785 <fixTags>all</fixTags>
3786 <notimestamp>true</notimestamp>
3787 <!-- Pass some options straight to the javadoc executable since it is easier -->
3788 <additionalJOption>-J-Xmx2G</additionalJOption>
3789 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3790 <additionalDependencies>
3791 <additionalDependency>
3792 <groupId>org.mockito</groupId>
3793 <artifactId>mockito-core</artifactId>
3794 <version>${mockito-core.version}</version>
3795 </additionalDependency>
3796 <additionalDependency>
3797 <groupId>org.hamcrest</groupId>
3798 <artifactId>hamcrest-core</artifactId>
3799 <version>${hamcrest.version}</version>
3800 </additionalDependency>
3801 </additionalDependencies>
3802 <inherited>false</inherited>
3810 <report>aggregate</report>
3814 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3817 <groupId>org.apache.yetus</groupId>
3818 <artifactId>audience-annotations</artifactId>
3819 <version>${audience-annotations.version}</version>
3821 <useStandardDocletOptions>true</useStandardDocletOptions>
3822 <destDir>apidocs</destDir>
3823 <name>User API</name>
3824 <description>The HBase Application Programmer's API</description>
3825 <excludePackageNames>
3826 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*
3827 </excludePackageNames>
3828 <!-- switch on dependency-driven aggregation -->
3829 <includeDependencySources>false</includeDependencySources>
3830 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3831 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3833 <linksource>true</linksource>
3834 <sourcetab>2</sourcetab>
3835 <validateLinks>true</validateLinks>
3836 <fixClassComment>true</fixClassComment>
3837 <fixFieldComment>true</fixFieldComment>
3838 <fixMethodComment>true</fixMethodComment>
3839 <fixTags>all</fixTags>
3840 <notimestamp>true</notimestamp>
3841 <!-- Pass some options straight to the javadoc executable since it is easier -->
3842 <additionalJOption>-J-Xmx2G</additionalJOption>
3843 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3844 <additionalDependencies>
3845 <additionalDependency>
3846 <groupId>org.mockito</groupId>
3847 <artifactId>mockito-core</artifactId>
3848 <version>${mockito-core.version}</version>
3849 </additionalDependency>
3850 <additionalDependency>
3851 <groupId>org.hamcrest</groupId>
3852 <artifactId>hamcrest-core</artifactId>
3853 <version>${hamcrest.version}</version>
3854 </additionalDependency>
3855 </additionalDependencies>
3856 <inherited>false</inherited>
3859 <!-- User Test API -->
3861 <id>testuserapi</id>
3863 <report>test-aggregate</report>
3867 org.apache.yetus.audience.tools.IncludePublicAnnotationsStandardDoclet
3870 <groupId>org.apache.yetus</groupId>
3871 <artifactId>audience-annotations</artifactId>
3872 <version>${audience-annotations.version}</version>
3874 <useStandardDocletOptions>true</useStandardDocletOptions>
3875 <destDir>testapidocs</destDir>
3876 <name>User API</name>
3877 <description>The HBase Application Programmer's API</description>
3878 <excludePackageNames>
3879 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*
3880 </excludePackageNames>
3881 <!-- switch on dependency-driven aggregation -->
3882 <includeDependencySources>false</includeDependencySources>
3883 <sourceFilesExclude>**/generated/*</sourceFilesExclude>
3884 <show>protected</show> <!-- (shows only public and protected classes and members) -->
3886 <linksource>true</linksource>
3887 <sourcetab>2</sourcetab>
3888 <validateLinks>true</validateLinks>
3889 <fixClassComment>true</fixClassComment>
3890 <fixFieldComment>true</fixFieldComment>
3891 <fixMethodComment>true</fixMethodComment>
3892 <fixTags>all</fixTags>
3893 <notimestamp>true</notimestamp>
3894 <!-- Pass some options straight to the javadoc executable since it is easier -->
3895 <additionalJOption>-J-Xmx2G</additionalJOption>
3896 <!-- JDK8 javadoc requires test scope transitive dependencies due to our custom doclet -->
3897 <additionalDependencies>
3898 <additionalDependency>
3899 <groupId>org.mockito</groupId>
3900 <artifactId>mockito-core</artifactId>
3901 <version>${mockito-core.version}</version>
3902 </additionalDependency>
3903 <additionalDependency>
3904 <groupId>org.hamcrest</groupId>
3905 <artifactId>hamcrest-core</artifactId>
3906 <version>${hamcrest.version}</version>
3907 </additionalDependency>
3908 </additionalDependencies>
3909 <inherited>false</inherited>
3916 <groupId>org.apache.maven.plugins</groupId>
3917 <artifactId>maven-checkstyle-plugin</artifactId>
3918 <version>${maven.checkstyle.version}</version>
3920 <excludes>target/**</excludes>
3926 <distributionManagement>
3928 <id>hbase.apache.org</id>
3929 <name>HBase Website at hbase.apache.org</name>
3930 <!-- On why this is the tmp dir and not hbase.apache.org, see
3931 https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
3933 <url>file:///tmp</url>
3935 </distributionManagement>