| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <!-- |
| /** |
| * Licensed to the Apache Software Foundation (ASF) under one |
| * or more contributor license agreements. See the NOTICE file |
| * distributed with this work for additional information |
| * regarding copyright ownership. The ASF licenses this file |
| * to you under the Apache License, Version 2.0 (the |
| * "License"); you may not use this file except in compliance |
| * with the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| |
| ON MVN COMPILE NOT WORKING |
| |
| If you wondering why 'mvn compile' does not work building HBase |
| (in particular, if you are doing it for the first time), instead do |
| 'mvn package'. If you are interested in the full story, see |
| https://issues.apache.org/jira/browse/HBASE-6795. |
| |
| --> |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache</groupId> |
| <artifactId>apache</artifactId> |
| <version>12</version> |
| <relativePath /> |
| <!-- no parent resolution --> |
| </parent> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase</artifactId> |
| <packaging>pom</packaging> |
| <version>0.95.0</version> |
| <name>HBase</name> |
| <description> |
| Apache HBase™ is the Hadoop database. Use it when you need |
| random, realtime read/write access to your Big Data. |
| This project's goal is the hosting of very large tables -- billions of rows X millions of columns -- atop clusters |
| of commodity hardware. |
| </description> |
| <url>http://hbase.apache.org</url> |
| <modules> |
| <module>hbase-server</module> |
| <module>hbase-protocol</module> |
| <module>hbase-client</module> |
| <module>hbase-hadoop-compat</module> |
| <module>hbase-common</module> |
| <module>hbase-it</module> |
| <module>hbase-examples</module> |
| <module>hbase-prefix-tree</module> |
| <module>hbase-assembly</module> |
| </modules> |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/hbase/tags/0.95.0mvnrelease</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/hbase/tags/0.95.0mvnrelease</developerConnection> |
| <url>http://svn.apache.org/viewvc/hbase/tags/0.95.0mvnrelease</url> |
| </scm> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://issues.apache.org/jira/browse/HBASE</url> |
| </issueManagement> |
| <ciManagement> |
| <system>hudson</system> |
| <url>http://hudson.zones.apache.org/hudson/view/HBase/job/HBase-TRUNK/</url> |
| </ciManagement> |
| <mailingLists> |
| <mailingList> |
| <name>User List</name> |
| <subscribe>user-subscribe@hbase.apache.org</subscribe> |
| <unsubscribe>user-unsubscribe@hbase.apache.org</unsubscribe> |
| <post>user@hbase.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/hbase-user/</archive> |
| <otherArchives> |
| <otherArchive>http://hbase.apache.org/mail/user/</otherArchive> |
| <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.user</otherArchive> |
| <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive> |
| </otherArchives> |
| </mailingList> |
| <mailingList> |
| <name>Developer List</name> |
| <subscribe>dev-subscribe@hbase.apache.org</subscribe> |
| <unsubscribe>dev-unsubscribe@hbase.apache.org</unsubscribe> |
| <post>dev@hbase.apache.org</post> |
| <archive>http://mail-archives.apache.org/mod_mbox/hbase-dev/</archive> |
| <otherArchives> |
| <otherArchive>http://hbase.apache.org/mail/dev/</otherArchive> |
| <otherArchive>http://dir.gmane.org/gmane.comp.java.hadoop.hbase.devel</otherArchive> |
| <otherArchive>http://search-hadoop.com/?q=&fc_project=HBase</otherArchive> |
| </otherArchives> |
| </mailingList> |
| <mailingList> |
| <name>Commits List</name> |
| <subscribe>commits-subscribe@hbase.apache.org</subscribe> |
| <unsubscribe>commits-unsubscribe@hbase.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/hbase-commits/</archive> |
| <otherArchives> |
| <otherArchive>http://hbase.apache.org/mail/commits/</otherArchive> |
| </otherArchives> |
| </mailingList> |
| <mailingList> |
| <name>Issues List</name> |
| <subscribe>issues-subscribe@hbase.apache.org</subscribe> |
| <unsubscribe>issues-unsubscribe@hbase.apache.org</unsubscribe> |
| <archive>http://mail-archives.apache.org/mod_mbox/hbase-issues/</archive> |
| <otherArchives> |
| <otherArchive>http://hbase.apache.org/mail/issues/</otherArchive> |
| </otherArchives> |
| </mailingList> |
| </mailingLists> |
| <developers> |
| <developer> |
| <id>apurtell</id> |
| <name>Andrew Purtell</name> |
| <email>apurtell@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Intel</organization> |
| <organizationUrl>http://www.intel.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>ddas</id> |
| <name>Devaraj Das</name> |
| <email>ddas@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Hortonworks</organization> |
| <organizationUrl>http://www.hortonworks.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>dmeil</id> |
| <name>Doug Meil</name> |
| <email>dmeil@apache.org</email> |
| <timezone>-5</timezone> |
| <organization>Explorys</organization> |
| <organizationUrl>http://www.explorys.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>enis</id> |
| <name>Enis Soztutar</name> |
| <email>enis@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Hortonworks</organization> |
| <organizationUrl>http://www.hortonworks.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>garyh</id> |
| <name>Gary Helmling</name> |
| <email>garyh@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Twitter</organization> |
| <organizationUrl>http://www.twitter.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>gchanan</id> |
| <name>Gregory Chanan</name> |
| <email>gchanan@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>jdcryans</id> |
| <name>Jean-Daniel Cryans</name> |
| <email>jdcryans@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>jyates</id> |
| <name>Jesse Yates</name> |
| <email>jyates@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Salesforce.com</organization> |
| <organizationUrl>http://www.salesforce.com/</organizationUrl> |
| </developer> |
| <developer> |
| <id>jgray</id> |
| <name>Jonathan Gray</name> |
| <email>jgray@fb.com</email> |
| <timezone>-8</timezone> |
| <organization>Continuuity</organization> |
| <organizationUrl>http://www.continuuity.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>jmhsieh</id> |
| <name>Jonathan Hsieh</name> |
| <email>jmhsieh@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>jxiang</id> |
| <name>Jimmy Xiang</name> |
| <email>jxiang@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>kannan</id> |
| <name>Kannan Muthukkaruppan</name> |
| <email>kannan@fb.com</email> |
| <timezone>-8</timezone> |
| <organization>Facebook</organization> |
| <organizationUrl>http://www.facebook.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>karthik</id> |
| <name>Karthik Ranganathan</name> |
| <email>kranganathan@fb.com</email> |
| <timezone>-8</timezone> |
| <organization>Facebook</organization> |
| <organizationUrl>http://www.facebook.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>larsgeorge</id> |
| <name>Lars George</name> |
| <email>larsgeorge@apache.org</email> |
| <timezone>+1</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com/</organizationUrl> |
| </developer> |
| <developer> |
| <id>larsh</id> |
| <name>Lars Hofhansl</name> |
| <email>larsh@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Salesforce.com</organization> |
| <organizationUrl>http://www.salesforce.com/</organizationUrl> |
| </developer> |
| <developer> |
| <id>mbautin</id> |
| <name>Mikhail Bautin</name> |
| <email>mbautin@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Facebook</organization> |
| <organizationUrl>http://www.facebook.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>nspiegelberg</id> |
| <name>Nicolas Spiegelberg</name> |
| <email>nspiegelberg@fb.com</email> |
| <timezone>-8</timezone> |
| <organization>Facebook</organization> |
| <organizationUrl>http://www.facebook.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>rawson</id> |
| <name>Ryan Rawson</name> |
| <email>rawson@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>DrawnToScale</organization> |
| <organizationUrl>http://drawntoscale.com/</organizationUrl> |
| </developer> |
| <developer> |
| <id>sershe</id> |
| <name>Sergey Shelukhin</name> |
| <email>sershe@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Hortonworks</organization> |
| <organizationUrl>http://www.hortonworks.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>stack</id> |
| <name>Michael Stack</name> |
| <email>stack@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com/</organizationUrl> |
| </developer> |
| <developer> |
| <id>tedyu</id> |
| <name>Ted Yu</name> |
| <email>yuzhihong@gmail.com</email> |
| <timezone>-8</timezone> |
| <organization>Hortonworks</organization> |
| <organizationUrl>http://www.hortonworks.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>todd</id> |
| <name>Todd Lipcon</name> |
| <email>todd@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>ramkrishna</id> |
| <name>Ramkrishna S Vasudevan</name> |
| <email>ramkrishna@apache.org</email> |
| <timezone>+5</timezone> |
| <organization>Intel</organization> |
| <organizationUrl>http://www.intel.in</organizationUrl> |
| </developer> |
| <developer> |
| <id>liyin</id> |
| <name>Liyin Tang</name> |
| <email>liyin.tang@fb.com</email> |
| <timezone>-8</timezone> |
| <organization>Facebook</organization> |
| <organizationUrl>http://www.facebook.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>nkeywal</id> |
| <name>Nicolas Liochon</name> |
| <email>nkeywal@apache.org</email> |
| <timezone>+1</timezone> |
| <organization>Scaled Risk</organization> |
| <organizationUrl>http://www.scaledrisk.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>eclark</id> |
| <name>Elliott Clark</name> |
| <email>eclark@apache.org</email> |
| <timezone>-8</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>mbertozzi</id> |
| <name>Matteo Bertozzi</name> |
| <email>mbertozzi@apache.org</email> |
| <timezone>0</timezone> |
| <organization>Cloudera</organization> |
| <organizationUrl>http://www.cloudera.com</organizationUrl> |
| </developer> |
| <developer> |
| <id>zjushch</id> |
| <name>Chunhui Shen</name> |
| <email>zjushch@apache.org</email> |
| <timezone>+8</timezone> |
| <organization>Taobao</organization> |
| <organizationUrl>http://www.taobao.com</organizationUrl> |
| </developer> |
| </developers> |
| <repositories> |
| <repository> |
| <id>cloudbees netty</id> |
| <url>http://repository-netty.forge.cloudbees.com/snapshot/</url> |
| </repository> |
| <repository> |
| <id>apache release</id> |
| <url>https://repository.apache.org/content/repositories/releases/</url> |
| </repository> |
| <repository> |
| <id>java.net</id> |
| <name>Java.Net</name> |
| <url>http://download.java.net/maven/2/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>codehaus</id> |
| <name>Codehaus Public</name> |
| <url>http://repository.codehaus.org/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| <repository> |
| <id>repository.jboss.org</id> |
| <url>http://repository.jboss.org/nexus/content/groups/public-jboss/</url> |
| <snapshots> |
| <enabled>false</enabled> |
| </snapshots> |
| </repository> |
| <repository> |
| <id>ghelmling.testing</id> |
| <name>Gary Helmling test repo</name> |
| <url>http://people.apache.org/~garyh/mvn/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </repository> |
| </repositories> |
| <pluginRepositories> |
| <pluginRepository> |
| <id>ghelmling.testing</id> |
| <name>Gary Helmling test repo</name> |
| <url>http://people.apache.org/~garyh/mvn/</url> |
| <snapshots> |
| <enabled>true</enabled> |
| </snapshots> |
| <releases> |
| <enabled>true</enabled> |
| </releases> |
| </pluginRepository> |
| </pluginRepositories> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <!--Intentionally, this is not bound to a phase because it is an |
| 'aggregating' plugin; it expects to be run from the top-level only; see |
| http://www.sonatype.com/books/mvnref-book/reference/assemblies-sect-basics.html. |
| To get javadoc into your site, you must precede site build by invocation of javadoc:aggregate expplicitly. |
| --> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>${javadoc.version}</version> |
| <executions> |
| <execution> |
| <id>javadoc</id> |
| <goals> |
| <goal>aggregate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <!--Pass -DskipJavadoc=true or -DskipJavadoc on command-line to skip javadoc building--> |
| <skip>${skipJavadoc}</skip> |
| <docfilessubdirs>true</docfilessubdirs> |
| <excludePackageNames>org.junit.*:org.apache.hadoop.metrics2.*:org.apache.hadoop.hbase.protobuf.generated.*:org.apache.hadoop.hbase.thrift.generated:org.apache.hadoop.hbase.rest.generated</excludePackageNames> |
| <debug>true</debug> |
| <maxmemory>2g</maxmemory> |
| <verbose>true</verbose> |
| <reportOutputDirectory>target/apidocs</reportOutputDirectory> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-release-plugin</artifactId> |
| <!--Making a release I've been using mvn 3.0 and specifying the apache-release |
| profile on the command line as follows: |
| |
| $ ~/bin/mvn/bin/mvn -Papache-release release:perform |
| |
| I've also been kiling the release:prepare step mid-way to check the |
| release.properties it generates at the top-level. Sometimes it refers |
| to HEAD rather than to the svn branch. |
| --> |
| <configuration> |
| <!--You need this profile. It'll sign your artifacts. |
| I'm not sure if this config. actually works though. |
| I've been specifying -Papache-release on the command-line |
| --> |
| <releaseProfiles>apache-release</releaseProfiles> |
| <!--This stops our running tests for each stage of maven release. |
| But it builds the test jar. From SUREFIRE-172. |
| --> |
| <arguments>-Dmaven.test.skip.exec</arguments> |
| </configuration> |
| </plugin> |
| <plugin> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.5.1</version> |
| <configuration> |
| <source>${compileSource}</source> |
| <target>${compileSource}</target> |
| <showWarnings>true</showWarnings> |
| <showDeprecation>false</showDeprecation> |
| <compilerArgument>-Xlint:-options</compilerArgument> |
| </configuration> |
| </plugin> |
| <!-- Test oriented plugins --> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <version>${surefire.version}</version> |
| <dependencies> |
| <!-- by default surefire selects dynamically the connector to the unit tests |
| tool. We want to use always the same as the different connectors can have different |
| bugs and behaviour. --> |
| <dependency> |
| <groupId>org.apache.maven.surefire</groupId> |
| <artifactId>${surefire.provider}</artifactId> |
| <version>${surefire.version}</version> |
| </dependency> |
| </dependencies> |
| <!-- Generic testing configuration for all packages --> |
| <configuration> |
| <failIfNoTests>false</failIfNoTests> |
| <skip>${surefire.skipFirstPart}</skip> |
| <forkMode>${surefire.firstPartForkMode}</forkMode> |
| <parallel>${surefire.firstPartParallel}</parallel> |
| <perCoreThreadCount>false</perCoreThreadCount> |
| <threadCount>${surefire.firstPartThreadCount}</threadCount> |
| <parallel>classes</parallel> |
| <!-- surefire hack, if not we're |
| using method parallelization class ! --> |
| <testFailureIgnore>false</testFailureIgnore> |
| <forkedProcessTimeoutInSeconds>${surefire.timeout}</forkedProcessTimeoutInSeconds> |
| <argLine>-enableassertions -Xmx1900m |
| -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true</argLine> |
| <redirectTestOutputToFile>${test.output.tofile}</redirectTestOutputToFile> |
| </configuration> |
| <executions> |
| <execution> |
| <id>secondPartTestsExecution</id> |
| <phase>test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <skip>${surefire.skipSecondPart}</skip> |
| <testFailureIgnore>false</testFailureIgnore> |
| <forkMode>perThread</forkMode> |
| <perCoreThreadCount>false</perCoreThreadCount> |
| <threadCount>${surefire.secondPartThreadCount}</threadCount> |
| <parallel>classes</parallel> |
| <!-- surefire hack, if not we're using method |
| parallelisation class ! --> |
| <groups>${surefire.secondPartGroups}</groups> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-surefire-report-plugin</artifactId> |
| <version>${surefire.version}</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <!--dfs tests have build dir hardcoded. Clean it as part of |
| clean target--> |
| <directory>build</directory> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <version>${findbugs-maven-plugin.version}</version> |
| <configuration> |
| <excludeFilterFile>${project.basedir}/../dev-support/findbugs-exclude.xml</excludeFilterFile> |
| <findbugsXmlOutput>true</findbugsXmlOutput> |
| <xmlOutput>true</xmlOutput> |
| <effort>Max</effort> |
| </configuration> |
| </plugin> |
| <!-- Build plugins --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.5</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${maven.antrun.version}</version> |
| </plugin> |
| <plugin> |
| <groupId>org.jamon</groupId> |
| <artifactId>jamon-maven-plugin</artifactId> |
| <version>${jamon.plugin.version}</version> |
| </plugin> |
| <!-- Make a jar and put the sources in the jar. |
| In the parent pom, so submodules will do the right thing. --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>jar-no-fork</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- General configuration for submodules who want to build a test jar --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>prepare-package</phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <excludes> |
| <exclude>hbase-site.xml</exclude> |
| <exclude>log4j.properties</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <!-- General config for eclipse classpath/settings --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-eclipse-plugin</artifactId> |
| <version>2.8</version> |
| </plugin> |
| <!--This plugin's configuration is used to store Eclipse m2e settings only. It |
| has no influence on the Maven build itself. m2e does not provide any safeguards against |
| rogue maven plugins that leak classloaders, modify random files inside workspace |
| or throw nasty exceptions to fail the build --> |
| <!-- Top level doesn't do any specific configuration currently - left to modules |
| to decide what they want to bind --> |
| <plugin> |
| <groupId>org.eclipse.m2e</groupId> |
| <artifactId>lifecycle-mapping</artifactId> |
| <version>1.0.0</version> |
| </plugin> |
| <plugin> |
| <!-- excludes are inherited --> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <version>0.8</version> |
| <configuration> |
| <excludes> |
| <exclude>**/*.versionsBackup</exclude> |
| <exclude>**/*.log</exclude> |
| <exclude>**/.*</exclude> |
| <exclude>**/*.tgz</exclude> |
| <exclude>**/*.orig</exclude> |
| <exclude>**/test/**</exclude> |
| <exclude>**/8e8ab58dcf39412da19833fcd8f687ac</exclude> |
| <exclude>**/.git/**</exclude> |
| <exclude>**/.idea/**</exclude> |
| <exclude>**/*.iml</exclude> |
| <exclude>**/target/**</exclude> |
| <exclude>**/CHANGES.txt</exclude> |
| <exclude>**/generated/**</exclude> |
| <exclude>**/gen-*/**</exclude> |
| <exclude>**/conf/*</exclude> |
| <exclude>**/*.avpr</exclude> |
| <exclude>**/*.svg</exclude> |
| <exclude>**/META-INF/services/**</exclude> |
| <!-- MIT: http://code.google.com/p/html5shiv/ --> |
| <exclude>**/html5shiv.js</exclude> |
| <!-- MIT http://jquery.org/license --> |
| <exclude>**/jquery.min.js</exclude> |
| <!-- vector graphics --> |
| <exclude>**/*.vm</exclude> |
| <!-- apache doxia generated --> |
| <exclude>**/control</exclude> |
| <exclude>**/conffile</exclude> |
| <exclude>docs/*</exclude> |
| <!-- auto-gen docs --> |
| <!--It don't like freebsd license--> |
| <exclude>**/src/site/resources/css/freebsd_docbook.css</exclude> |
| <!-- exclude source control files --> |
| <exclude>.git/**</exclude> |
| <exclude>.svn/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| <!-- Website/Reference Guide building --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>xml-maven-plugin</artifactId> |
| <version>1.0-beta-3</version> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| <plugins> |
| <!-- hbase parent only plugins --> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <version>${maven.assembly.version}</version> |
| <configuration> |
| <!--Defer to the hbase-assembly sub-module. It |
| does all assembly--> |
| <skipAssembly>true</skipAssembly> |
| <!--Do not attach assembly to project.--> |
| <attach>false</attach> |
| </configuration> |
| </plugin> |
| <!-- Special configuration for findbugs just in the parent so |
| the filter file location can be more general (see definition in pluginManagement) --> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>findbugs-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <inherited>false</inherited> |
| <goals> |
| <goal>findbugs</goal> |
| </goals> |
| <configuration> |
| <excludeFilterFile>${project.basedir}/dev-support/findbugs-exclude.xml</excludeFilterFile> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- Plugins inherited by all modules --> |
| <!-- All submodules build their javadocs --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| <properties> |
| <tar.name>${project.build.finalName}.tar.gz</tar.name> |
| <maven.build.timestamp.format> |
| yyyy-MM-dd'T'HH:mm |
| </maven.build.timestamp.format> |
| <buildDate>${maven.build.timestamp}</buildDate> |
| <compileSource>1.6</compileSource> |
| <!-- Dependencies --> |
| <hadoop-two.version>2.0.2-alpha</hadoop-two.version> |
| <hadoop-one.version>1.1.2</hadoop-one.version> |
| <commons-cli.version>1.2</commons-cli.version> |
| <commons-codec.version>1.7</commons-codec.version> |
| <!-- pretty outdated --> |
| <commons-io.version>2.4</commons-io.version> |
| <commons-lang.version>2.6</commons-lang.version> |
| <commons-logging.version>1.1.1</commons-logging.version> |
| <commons-math.version>2.1</commons-math.version> |
| <metrics-core.version>2.1.2</metrics-core.version> |
| <guava.version>12.0.1</guava.version> |
| <jackson.version>1.8.8</jackson.version> |
| <jasper.version>5.5.23</jasper.version> |
| <jaxb-api.version>2.1</jaxb-api.version> |
| <jetty.version>6.1.26</jetty.version> |
| <jetty.jspapi.version>6.1.14</jetty.jspapi.version> |
| <jersey.version>1.8</jersey.version> |
| <jruby.version>1.6.8</jruby.version> |
| <junit.version>4.11</junit.version> |
| <htrace.version>1.50</htrace.version> |
| <slf4j.version>1.4.3</slf4j.version> |
| <log4j.version>1.2.17</log4j.version> |
| <mockito-all.version>1.9.0</mockito-all.version> |
| <protobuf.version>2.4.1</protobuf.version> |
| <stax-api.version>1.0.1</stax-api.version> |
| <thrift.version>0.9.0</thrift.version> |
| <zookeeper.version>3.4.5</zookeeper.version> |
| <hadoop-snappy.version>0.0.1-SNAPSHOT</hadoop-snappy.version> |
| <clover.version>2.6.3</clover.version> |
| <jamon-runtime.version>2.3.1</jamon-runtime.version> |
| <jettison.version>1.3.1</jettison.version> |
| <netty.version>3.5.9.Final</netty.version> |
| <!-- Plugin Dependencies --> |
| <maven.assembly.version>2.4</maven.assembly.version> |
| <maven.antrun.version>1.6</maven.antrun.version> |
| <jamon.plugin.version>2.3.4</jamon.plugin.version> |
| <findbugs-maven-plugin.version>2.5.2</findbugs-maven-plugin.version> |
| <findbugs-annotations>1.3.9-1</findbugs-annotations> |
| <maven.site.version>3.2</maven.site.version> |
| <javadoc.version>2.9</javadoc.version> |
| <maven.resources.plugin.version>2.6</maven.resources.plugin.version> |
| <!-- General Packaging --> |
| <package.prefix>/usr</package.prefix> |
| <package.conf.dir>/etc/hbase</package.conf.dir> |
| <package.log.dir>/var/log/hbase</package.log.dir> |
| <package.pid.dir>/var/run/hbase</package.pid.dir> |
| <package.release>1</package.release> |
| <final.name>${project.artifactId}-${project.version}</final.name> |
| <!-- Intraproject jar naming properties --> |
| <!-- TODO this is pretty ugly, but works for the moment. |
| Modules are pretty heavy-weight things, so doing this work isn't too bad. --> |
| <server.test.jar>hbase-server-${project.version}-tests.jar</server.test.jar> |
| <common.test.jar>hbase-common-${project.version}-tests.jar</common.test.jar> |
| <it.test.jar>hbase-it-${project.version}-tests.jar</it.test.jar> |
| <surefire.version>2.12-TRUNK-HBASE-2</surefire.version> |
| <surefire.provider>surefire-junit47</surefire.provider> |
| <!-- default: run small & medium, medium with 2 threads --> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>false</surefire.skipSecondPart> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>classes</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| <surefire.secondPartThreadCount>2</surefire.secondPartThreadCount> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.SmallTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups>org.apache.hadoop.hbase.MediumTests</surefire.secondPartGroups> |
| <test.output.tofile>true</test.output.tofile> |
| <surefire.timeout>900</surefire.timeout> |
| </properties> |
| <!-- Sorted by groups of dependencies then groupId and artifactId --> |
| <dependencyManagement> |
| <dependencies> |
| <!-- |
| Note: There are a few exclusions to prevent duplicate code in different jars to be included: |
| * org.mortbay.jetty:servlet-api, javax.servlet:servlet-api: These are excluded because they are |
| the same implementations. I chose org.mortbay.jetty:servlet-api-2.5 instead, which is a third |
| implementation of the same, because Hadoop also uses this version |
| * javax.servlet:jsp-api in favour of org.mortbay.jetty:jsp-api-2.1 |
| * javax.xml.stream:stax-api in favour of stax:stax-api |
| --> |
| <!-- Intra-module dependencies --> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-common</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-protocol</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop-compat</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-hadoop-compat</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>${compat.module}</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>${compat.module}</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <artifactId>hbase-server</artifactId> |
| <groupId>org.apache.hbase</groupId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <artifactId>hbase-server</artifactId> |
| <groupId>org.apache.hbase</groupId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hbase</groupId> |
| <artifactId>hbase-prefix-tree</artifactId> |
| <version>${project.version}</version> |
| <!-- unfortunately, runtime scope causes Eclipse to give compile time access which isn't |
| needed, however it is apparently needed to run things within Eclipse --> |
| <scope>runtime</scope> |
| </dependency> |
| <dependency> |
| <artifactId>hbase-examples</artifactId> |
| <groupId>org.apache.hbase</groupId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <artifactId>hbase-it</artifactId> |
| <groupId>org.apache.hbase</groupId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <artifactId>hbase-client</artifactId> |
| <groupId>org.apache.hbase</groupId> |
| <version>${project.version}</version> |
| </dependency> |
| <!-- General dependencies --> |
| <dependency> |
| <groupId>io.netty</groupId> |
| <artifactId>netty</artifactId> |
| <version>${netty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jettison</groupId> |
| <artifactId>jettison</artifactId> |
| <version>${jettison.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.yammer.metrics</groupId> |
| <artifactId>metrics-core</artifactId> |
| <version>${metrics-core.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-cli</groupId> |
| <artifactId>commons-cli</artifactId> |
| <version>${commons-cli.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.github.stephenc.high-scale-lib</groupId> |
| <artifactId>high-scale-lib</artifactId> |
| <version>1.1.1</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-codec</groupId> |
| <artifactId>commons-codec</artifactId> |
| <version>${commons-codec.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-io</groupId> |
| <artifactId>commons-io</artifactId> |
| <version>${commons-io.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-lang</groupId> |
| <artifactId>commons-lang</artifactId> |
| <version>${commons-lang.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| <version>${commons-logging.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-math</artifactId> |
| <version>${commons-math.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| <version>${log4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.zookeeper</groupId> |
| <artifactId>zookeeper</artifactId> |
| <version>${zookeeper.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>jline</groupId> |
| <artifactId>jline</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.jboss.netty</groupId> |
| <artifactId>netty</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.thrift</groupId> |
| <artifactId>libthrift</artifactId> |
| <version>${thrift.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-simple</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jruby</groupId> |
| <artifactId>jruby-complete</artifactId> |
| <version>${jruby.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty</artifactId> |
| <version>${jetty.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jetty-util</artifactId> |
| <version>${jetty.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jsp-2.1</artifactId> |
| <version>${jetty.jspapi.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>jsp-api-2.1</artifactId> |
| <version>${jetty.jspapi.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mortbay.jetty</groupId> |
| <artifactId>servlet-api-2.5</artifactId> |
| <version>${jetty.jspapi.version}</version> |
| </dependency> |
| <!-- While jackson is also a dependency of jersey it |
| can bring in jars from different, incompatible versions. We force |
| the same version with these dependencies --> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-core-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-mapper-asl</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-jaxrs</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.jackson</groupId> |
| <artifactId>jackson-xc</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| <dependency> |
| <!--If this is not in the runtime lib, we get odd |
| "2009-02-27 11:38:39.504::WARN: failed jsp |
| java.lang.NoSuchFieldError: IS_SECURITY_ENABLED" |
| exceptions out of jetty deploying webapps. |
| St.Ack Thu May 20 01:04:41 PDT 2010 |
| --> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-compiler</artifactId> |
| <version>${jasper.version}</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>jsp-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>ant</groupId> |
| <artifactId>ant</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>tomcat</groupId> |
| <artifactId>jasper-runtime</artifactId> |
| <version>${jasper.version}</version> |
| <scope>runtime</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.servlet</groupId> |
| <artifactId>servlet-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.jamon</groupId> |
| <artifactId>jamon-runtime</artifactId> |
| <version>${jamon-runtime.version}</version> |
| </dependency> |
| <!-- REST dependencies --> |
| <dependency> |
| <groupId>com.google.protobuf</groupId> |
| <artifactId>protobuf-java</artifactId> |
| <version>${protobuf.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-core</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-json</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>com.sun.jersey</groupId> |
| <artifactId>jersey-server</artifactId> |
| <version>${jersey.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>javax.xml.bind</groupId> |
| <artifactId>jaxb-api</artifactId> |
| <version>${jaxb-api.version}</version> |
| <exclusions> |
| <exclusion> |
| <groupId>javax.xml.stream</groupId> |
| <artifactId>stax-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>stax</groupId> |
| <artifactId>stax-api</artifactId> |
| <version>${stax-api.version}</version> |
| </dependency> |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.cloudera.htrace</groupId> |
| <artifactId>htrace</artifactId> |
| <version>${htrace.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| <version>${mockito-all.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| <!-- Dependencies needed by subprojects --> |
| <dependencies> |
| |
| <dependency> |
| <groupId>com.github.stephenc.findbugs</groupId> |
| <artifactId>findbugs-annotations</artifactId> |
| <version>${findbugs-annotations}</version> |
| <scope>compile</scope> |
| </dependency> |
| |
| <!-- Test dependencies --> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-all</artifactId> |
| </dependency> |
| </dependencies> |
| <!-- |
| To publish, use the following settings.xml file ( placed in ~/.m2/settings.xml ) |
| |
| <settings> |
| <servers> |
| <server> |
| <id>apache.releases.https</id> |
| <username>hbase_committer</username> |
| <password>********</password> |
| </server> |
| |
| <server> |
| <id>apache.snapshots.https</id> |
| <username>hbase_committer</username> |
| <password>********</password> |
| </server> |
| |
| </servers> |
| </settings> |
| |
| $ mvn deploy |
| (or) |
| $ mvn -s /my/path/settings.xml deploy |
| |
| --> |
| <profiles> |
| <profile> |
| <id>os.linux</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <os> |
| <family>Linux</family> |
| </os> |
| </activation> |
| <properties> |
| <build.platform>${os.name}-${os.arch}-${sun.arch.data.model}</build.platform> |
| </properties> |
| </profile> |
| <profile> |
| <id>os.mac</id> |
| <activation> |
| <os> |
| <family>Mac</family> |
| </os> |
| </activation> |
| <properties> |
| <build.platform>Mac_OS_X-${sun.arch.data.model}</build.platform> |
| </properties> |
| </profile> |
| <profile> |
| <id>os.windows</id> |
| <activation> |
| <os> |
| <family>Windows</family> |
| </os> |
| </activation> |
| <properties> |
| <build.platform>cygwin</build.platform> |
| </properties> |
| <build> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <argLine>-enableassertions -Xmx1900m -Djava.security.egd=file:/dev/./urandom -Djava.net.preferIPv4Stack=true</argLine> |
| <systemProperties> |
| <property> |
| <name>java.net.preferIPv4Stack</name> |
| <value>true</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| </profile> |
| |
| <!-- this profile should be activated for release builds --> |
| <profile> |
| <id>release</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>package</phase> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| <!-- Dependency management profiles for submodules when building against specific hadoop branches.--> |
| <!-- Submodules that need hadoop dependencies should declare |
| profiles with activation properties matching the profile here. |
| Generally, it should be sufficient to copy the first |
| few lines of the profile you want to match. --> |
| <!-- profile against Hadoop 1.0.x: This is the default. --> |
| <profile> |
| <id>hadoop-1.0</id> |
| <activation> |
| <property> |
| <name>!hadoop.profile</name> |
| </property> |
| </activation> |
| <modules> |
| <module>hbase-hadoop1-compat</module> |
| </modules> |
| <properties> |
| <hadoop.version>${hadoop-one.version}</hadoop.version> |
| <slf4j.version>1.4.3</slf4j.version> |
| <compat.module>hbase-hadoop1-compat</compat.module> |
| <assembly.file>src/assembly/hadoop-one-compat.xml</assembly.file> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-core</artifactId> |
| <version>${hadoop.version}</version> |
| <optional>true</optional> |
| <exclusions> |
| <exclusion> |
| <groupId>hsqldb</groupId> |
| <artifactId>hsqldb</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.sf.kosmosfs</groupId> |
| <artifactId>kfs</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.eclipse.jdt</groupId> |
| <artifactId>core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>net.java.dev.jets3t</groupId> |
| <artifactId>jets3t</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>oro</groupId> |
| <artifactId>oro</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-test</artifactId> |
| <version>${hadoop.version}</version> |
| <optional>true</optional> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </profile> |
| <!-- profile for building against Hadoop 2.0.x |
| Activate using: mvn -Dhadoop.profile=2.0 --> |
| <profile> |
| <id>hadoop-2.0</id> |
| <activation> |
| <property> |
| <name>hadoop.profile</name> |
| <value>2.0</value> |
| </property> |
| </activation> |
| <modules> |
| <module>hbase-hadoop2-compat</module> |
| </modules> |
| <properties> |
| <hadoop.version>${hadoop-two.version}</hadoop.version> |
| <slf4j.version>1.6.1</slf4j.version> |
| <compat.module>hbase-hadoop2-compat</compat.module> |
| <assembly.file>src/assembly/hadoop-two-compat.xml</assembly.file> |
| </properties> |
| <dependencyManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-client</artifactId> |
| <version>${hadoop-two.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| <version>${hadoop-two.version}</version> |
| </dependency> |
| <!-- This was marked as test dep in earlier pom, but was scoped compile. |
| Where do we actually need it? --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop-two.version}</version> |
| </dependency> |
| </dependencies> |
| </dependencyManagement> |
| </profile> |
| <!-- |
| profile for building against Hadoop 3.0.0. Activate using: |
| mvn -Dhadoop.profile=3.0 |
| --> |
| <profile> |
| <id>hadoop-3.0</id> |
| <activation> |
| <property> |
| <name>hadoop.profile</name> |
| <value>3.0</value> |
| </property> |
| </activation> |
| <properties> |
| <slf4j.version>1.6.1</slf4j.version> |
| <hadoop.version>3.0.0-SNAPSHOT</hadoop.version> |
| </properties> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-common</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-annotations</artifactId> |
| <version>${hadoop.version}</version> |
| </dependency> |
| <!-- test deps for hadoop-0.24 profile --> |
| <!-- Says test, but scoped for compile. Which is correct? --> |
| <dependency> |
| <groupId>org.apache.hadoop</groupId> |
| <artifactId>hadoop-minicluster</artifactId> |
| <version>${hadoop.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| <!-- profiles for the tests |
| See as well the properties of the project for the values |
| when no profile is active. --> |
| <profile> |
| <!-- Use it to launch the tests without parallelisation --> |
| <id>nonParallelTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>always</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>none</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch the tests in parallel in the same JVM --> |
| <id>parallelTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>classes</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch the tests in the same JVM --> |
| <id>singleJVMTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>none</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| <surefire.firstPartGroups /> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch small tests only --> |
| <id>runSmallTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>none</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.SmallTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups /> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch medium tests only --> |
| <id>runMediumTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>always</surefire.firstPartForkMode> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.MediumTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups /> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch large tests only --> |
| <id>runLargeTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>always</surefire.firstPartForkMode> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.LargeTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups /> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch small & medium tests --> |
| <id>runDevTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>none</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>false</surefire.skipSecondPart> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.SmallTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups>org.apache.hadoop.hbase.MediumTests</surefire.secondPartGroups> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch all tests --> |
| <id>runAllTests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <surefire.firstPartForkMode>once</surefire.firstPartForkMode> |
| <surefire.firstPartParallel>none</surefire.firstPartParallel> |
| <surefire.firstPartThreadCount>1</surefire.firstPartThreadCount> |
| <surefire.secondPartThreadCount>5</surefire.secondPartThreadCount> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>false</surefire.skipSecondPart> |
| <surefire.firstPartGroups>org.apache.hadoop.hbase.SmallTests</surefire.firstPartGroups> |
| <surefire.secondPartGroups>org.apache.hadoop.hbase.MediumTests,org.apache.hadoop.hbase.LargeTests</surefire.secondPartGroups> |
| </properties> |
| </profile> |
| <profile> |
| <!-- Use it to launch tests locally--> |
| <id>localTests</id> |
| <activation> |
| <property> |
| <name>test</name> |
| </property> |
| </activation> |
| <properties> |
| <surefire.provider>surefire-junit4</surefire.provider> |
| <surefire.firstPartForkMode>always</surefire.firstPartForkMode> |
| <surefire.skipFirstPart>false</surefire.skipFirstPart> |
| <surefire.skipSecondPart>true</surefire.skipSecondPart> |
| <surefire.firstPartGroups /> |
| </properties> |
| </profile> |
| <!-- Profile for running clover. You need to have a clover license under ~/.clover.license for ${clover.version} |
| or you can provide the license with -Dmaven.clover.licenseLocation=/path/to/license. Committers can find |
| the license under https://svn.apache.org/repos/private/committers/donated-licenses/clover/ |
| Note that clover 2.6.3 does not run with maven 3, so you have to use maven2. The report will be generated |
| under target/site/clover/index.html when you run |
| MAVEN_OPTS=-Xmx2048m mvn clean test -Pclover site --> |
| <profile> |
| <id>clover</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| <property> |
| <name>clover</name> |
| </property> |
| </activation> |
| <properties> |
| <maven.clover.licenseLocation>${user.home}/.clover.license</maven.clover.licenseLocation> |
| <clover.version>2.6.3</clover.version> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.atlassian.maven.plugins</groupId> |
| <artifactId>maven-clover2-plugin</artifactId> |
| <version>${clover.version}</version> |
| <configuration> |
| <includesAllSourceRoots>true</includesAllSourceRoots> |
| <includesTestSourceRoots>true</includesTestSourceRoots> |
| <targetPercentage>50%</targetPercentage> |
| <generateHtml>true</generateHtml> |
| <generateXml>true</generateXml> |
| <excludes> |
| <exclude>**/generated/**</exclude> |
| </excludes> |
| </configuration> |
| <executions> |
| <execution> |
| <id>clover-setup</id> |
| <phase>process-sources</phase> |
| <goals> |
| <goal>setup</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>clover</id> |
| <phase>site</phase> |
| <goals> |
| <goal>clover</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <!-- See http://jira.codehaus.org/browse/MSITE-443 why the settings need to be here and not in pluginManagement. --> |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.6</version> |
| <reportSets> |
| <reportSet> |
| <reports> |
| <report>project-team</report> |
| <report>mailing-list</report> |
| <report>cim</report> |
| <report>issue-tracking</report> |
| <report>license</report> |
| <report>scm</report> |
| <report>index</report> |
| </reports> |
| </reportSet> |
| </reportSets> |
| <configuration> |
| <dependencyLocationsEnabled>false</dependencyLocationsEnabled> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jxr-plugin</artifactId> |
| <version>2.3</version> |
| <configuration> |
| <aggregate>true</aggregate> |
| <linkJavadoc>true</linkJavadoc> |
| <javadocDir>hbase-assembly/target/site/apidocs</javadocDir> |
| <reportOutputDirectory>hbase-assembly/target/site/xref</reportOutputDirectory> |
| <destDir>hbase-assembly/target/site/xref</destDir> |
| <excludes> |
| <exclude>**/generated/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </reporting> |
| <distributionManagement> |
| <site> |
| <id>hbase.apache.org</id> |
| <name>HBase Website at hbase.apache.org</name> |
| <!-- On why this is the tmp dir and not hbase.apache.org, see |
| https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866 |
| --> |
| <url>file:///tmp</url> |
| </site> |
| </distributionManagement> |
| </project> |