blob: 23b296ea5b3df3981214a1d3c7d1ce2f82882a49 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
-->
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>17</version>
</parent>
<groupId>org.apache.tephra</groupId>
<artifactId>tephra</artifactId>
<version>0.14.0-incubating</version>
<packaging>pom</packaging>
<name>Apache Tephra</name>
<description>
Apache Tephra provides globally-consistent transactions on Apache HBase and other storage engines
</description>
<url>http://tephra.incubator.apache.org</url>
<organization>
<name>The Apache Software Foundation</name>
<url>http://www.apache.org</url>
</organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
<comments>A business-friendly OSS license</comments>
</license>
</licenses>
<developers>
<developer>
<id>jamestaylor</id>
<name>James Taylor</name>
<email>jamestaylor@apache.org</email>
<roles>
<role>Mentor</role>
</roles>
</developer>
<developer>
<id>larsh</id>
<name>Lars Hofhansl</name>
<email>larsh@apache.org</email>
<roles>
<role>Mentor</role>
</roles>
</developer>
<developer>
<id>apurtell</id>
<name>Andrew Purtell</name>
<email>apurtell@apache.org</email>
<roles>
<role>Mentor</role>
</roles>
</developer>
<developer>
<id>gates</id>
<name>Alan Gates</name>
<email>gates@apache.org</email>
<roles>
<role>Mentor</role>
</roles>
</developer>
<developer>
<id>hsaputra</id>
<name>Henry Saputra</name>
<email>hsaputra@apache.org</email>
<roles>
<role>Mentor</role>
</roles>
</developer>
<developer>
<id>anew</id>
<name>Andreas Neumann</name>
<email>anew@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>chtyim</id>
<name>Terence Yim</name>
<email>chtyim@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>poorna</id>
<name>Poorna Chandra</name>
<email>poorna@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>gokul</id>
<name>Gokul Gunasekaran</name>
<email>gokul@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>jamestaylor</id>
<name>James Taylor</name>
<email>jamestaylor@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>tdsilva</id>
<name>Thomas D'Silva</name>
<email>tdsilva@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>garyh</id>
<name>Gary Helmling</name>
<email>garyh@apache.org</email>
<roles>
<role>Committer</role>
</roles>
</developer>
</developers>
<modules>
<module>tephra-api</module>
<module>tephra-core</module>
<module>tephra-hbase-compat-0.96</module>
<module>tephra-hbase-compat-0.98</module>
<module>tephra-hbase-compat-1.0</module>
<module>tephra-hbase-compat-1.0-cdh</module>
<module>tephra-hbase-compat-1.1-base</module>
<module>tephra-hbase-compat-1.3</module>
<module>tephra-hbase-compat-1.4</module>
<module>tephra-hbase-compat-2.0</module>
<module>tephra-examples</module>
<module>tephra-distribution</module>
</modules>
<scm>
<connection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-tephra.git</connection>
<url>https://git-wip-us.apache.org/repos/asf?p=incubator-tephra.git;a=summary</url>
<developerConnection>scm:git:https://git-wip-us.apache.org/repos/asf/incubator-tephra.git</developerConnection>
<tag>v0.14.0-incubating</tag>
</scm>
<issueManagement>
<url>https://issues.apache.org/jira/browse/TEPHRA</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>Development</name>
<post>dev@tephra.incubator.apache.org</post>
<subscribe>dev-subscribe@tephra.incubator.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@tephra.incubator.apache.org</unsubscribe>
<archive>https://mail-archives.apache.org/mod_mbox/tephra-dev/</archive>
<otherArchives>
<otherArchive>http://tephra-dev.markmail.org</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Commits</name>
<post>commits@tephra.incubator.apache.org</post>
<subscribe>commits-subscribe@tephra.incubator.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@tephra.incubator.apache.org</unsubscribe>
<archive>https://mail-archives.apache.org/mod_mbox/tephra-commits/</archive>
<otherArchives>
<otherArchive>http://tephra-commits.markmail.org</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<surefire.redirectTestOutputToFile>true</surefire.redirectTestOutputToFile>
<!-- Dependencies versions -->
<fastutil.version>6.5.6</fastutil.version>
<findbugs.jsr305.version>2.0.1</findbugs.jsr305.version>
<gson.version>2.2.4</gson.version>
<guava.version>13.0.1</guava.version>
<guice.version>3.0</guice.version>
<logback.version>1.0.9</logback.version>
<hadoop.version>2.2.0</hadoop.version>
<hbase96.version>0.96.2-hadoop2</hbase96.version>
<hbase98.version>0.98.11-hadoop2</hbase98.version>
<hbase10.version>1.0.1.1</hbase10.version>
<hbase10cdh.version>1.0.0-cdh5.4.2</hbase10cdh.version>
<hbase11.version>1.1.1</hbase11.version>
<hbase12cdh.version>1.2.0-cdh5.7.0</hbase12cdh.version>
<hbase12.version>1.2.0</hbase12.version>
<hbase13.version>1.3.1</hbase13.version>
<hbase14.version>1.4.0</hbase14.version>
<hbase20.version>2.0.0</hbase20.version>
<junit.version>4.11</junit.version>
<slf4j.version>1.7.5</slf4j.version>
<thrift.version>0.9.0</thrift.version>
<twill.version>0.8.0</twill.version>
<dropwizard.metrics.version>3.1.0</dropwizard.metrics.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>${findbugs.jsr305.version}</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>${gson.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>com.google.inject</groupId>
<artifactId>guice</artifactId>
<version>${guice.version}</version>
</dependency>
<dependency>
<groupId>com.google.inject.extensions</groupId>
<artifactId>guice-assistedinject</artifactId>
<version>${guice.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>it.unimi.dsi</groupId>
<artifactId>fastutil</artifactId>
<version>${fastutil.version}</version>
</dependency>
<dependency>
<groupId>org.apache.thrift</groupId>
<artifactId>libthrift</artifactId>
<version>${thrift.version}</version>
</dependency>
<dependency>
<groupId>org.apache.twill</groupId>
<artifactId>twill-common</artifactId>
<version>${twill.version}</version>
</dependency>
<dependency>
<groupId>org.apache.twill</groupId>
<artifactId>twill-core</artifactId>
<version>${twill.version}</version>
<exclusions>
<exclusion>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.10</artifactId>
</exclusion>
<exclusion>
<groupId>io.netty</groupId>
<artifactId>netty</artifactId>
</exclusion>
<exclusion>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.twill</groupId>
<artifactId>twill-discovery-api</artifactId>
<version>${twill.version}</version>
</dependency>
<dependency>
<groupId>org.apache.twill</groupId>
<artifactId>twill-discovery-core</artifactId>
<version>${twill.version}</version>
</dependency>
<dependency>
<groupId>org.apache.twill</groupId>
<artifactId>twill-zookeeper</artifactId>
<version>${twill.version}</version>
</dependency>
<dependency>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${dropwizard.metrics.version}</version>
</dependency>
<!-- Hadoop dependencies -->
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-common</artifactId>
<version>${hadoop.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-hdfs</artifactId>
<version>${hadoop.version}</version>
<scope>provided</scope>
</dependency>
<!-- Tests dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-minicluster</artifactId>
<version>${hadoop.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>log4j-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<pluginManagement>
<plugins>
<!-- Compiler -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<!-- Surefire for unit test -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<configuration>
<argLine>-Xmx4096m -Djava.awt.headless=true -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true</argLine>
<redirectTestOutputToFile>${surefire.redirectTestOutputToFile}</redirectTestOutputToFile>
<reuseForks>false</reuseForks>
<reportFormat>plain</reportFormat>
<systemPropertyVariables>
<java.io.tmpdir>${project.build.directory}</java.io.tmpdir>
</systemPropertyVariables>
<includes>
<include>**/*TestsSuite.java</include>
<include>**/Test*.java</include>
<include>**/*Test.java</include>
<include>**/*TestCase.java</include>
</includes>
<excludes>
<exclude>**/*TestRun.java</exclude>
<exclude>${testExcludes}</exclude>
</excludes>
</configuration>
</plugin>
<!-- License check -->
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
<executions>
<execution>
<id>rat-check</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
<configuration>
<excludes>
<exclude>build-number.txt</exclude>
<exclude>README.rst</exclude>
<exclude>RELEASING.rst</exclude>
<exclude>**/target/**</exclude>
<exclude>**/.git/**</exclude>
<exclude>.gitignore</exclude>
<exclude>**/.idea/**</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/.project</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.settings/**</exclude>
<exclude>licenses/**</exclude>
<exclude>**/NOTICE_BINARY</exclude>
</excludes>
</configuration>
</execution>
</executions>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-core</artifactId>
<version>1.6</version>
<exclusions>
<!-- Exclude xerces to remove XML parsing warnings (RAT-158) -->
<exclusion>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
<!-- Checkstyle for code style -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12.1</version>
<executions>
<execution>
<id>validate</id>
<phase>process-test-classes</phase>
<configuration>
<configLocation>checkstyle.xml</configLocation>
<suppressionsLocation>suppressions.xml</suppressionsLocation>
<encoding>UTF-8</encoding>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
</configuration>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Release plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5</version>
<configuration>
<tagNameFormat>v@{project.version}</tagNameFormat>
<allowTimestampedSnapshots>true</allowTimestampedSnapshots>
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<!-- Checksum plugin -->
<plugin>
<inherited>false</inherited>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<version>1.3</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<!-- Profile for generating coverage report -->
<profile>
<id>coverage</id>
<properties>
<jacoco.version>0.7.1.201405082137</jacoco.version>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.14.1</version>
<configuration>
<argLine>${argLine} -Xmx4096m -Djava.awt.headless=true -XX:MaxPermSize=256m</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<excludes>
<exclude>**/thrift/*</exclude>
</excludes>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>prepare-package</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.version}</version>
</plugin>
</plugins>
</build>
</profile>
<!-- Profile to generate apache release -->
<profile>
<id>apache-release</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<finalName>apache-tephra-${project.version}</finalName>
<formats>
<format>tar.gz</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<configuration>
<!-- Disable this plugin so that it won't generate a DEPENDENCIES file in the source tar -->
<skip>true</skip>
</configuration>
</plugin>
<!-- Compute checksum of release artifact -->
<plugin>
<inherited>false</inherited>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>checksum-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>files</goal>
</goals>
</execution>
</executions>
<configuration>
<algorithms>
<algorithm>MD5</algorithm>
<algorithm>SHA-512</algorithm>
</algorithms>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<includes>
<include>apache-tephra-${project.version}-${sourceReleaseAssemblyDescriptor}.tar.gz</include>
</includes>
</fileSet>
</fileSets>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>