Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
252 lines (228 sloc) 9.14 KB
<?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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>elasticsearch-river-kafka</groupId>
<artifactId>elasticsearch-river-kafka</artifactId>
<version>1.3.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Kafka River Plugin for ElasticSearch</name>
<description>Kafka River Plugin for ElasticSearch</description>
<url>https://github.com/mariamhakobyan/elasticsearch-river-kafka</url>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<connection>scm:git@github.com:mariamhakobyan/elasticsearch-river-kafka.git</connection>
<developerConnection>scm:git:git@github.com:mariamhakobyan/elasticsearch-river-kafka.git</developerConnection>
<url>git@github.com:mariamhakobyan/elasticsearch-river-kafka.git</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Mariam Hakobyan</name>
<email>mariam.hak@gmail.com</email>
<organizationUrl>http://www.mariam-hakobyan.com</organizationUrl>
</developer>
</developers>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>7</version>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skipSigning>true</skipSigning>
<!--Dependency versions-->
<version.elasticsearch>1.6.0</version.elasticsearch>
<version.kafka>0.8.2.1</version.kafka>
<version.scala>2.11.2</version.scala>
<version.slf4j>1.7.2</version.slf4j>
<version.yammer.metrics.core>2.2.0</version.yammer.metrics.core>
<version.yammer.metrics.graphite>2.2.0</version.yammer.metrics.graphite>
<version.json>20131018</version.json>
<!--Plugin versions-->
<version.maven.compiler.plugin>3.0</version.maven.compiler.plugin>
<version.maven.surefire.plugin>2.16</version.maven.surefire.plugin>
<version.maven.failsafe.plugin>2.14</version.maven.failsafe.plugin>
<version.maven.javadoc.plugin>2.9.1</version.maven.javadoc.plugin>
<version.maven.source.plugin>2.2.1</version.maven.source.plugin>
<version.maven.gpg.plugin>1.4</version.maven.gpg.plugin>
<version.maven.release.plugin>2.4.2</version.maven.release.plugin>
<version.maven.assembly.plugin>2.3</version.maven.assembly.plugin>
</properties>
<dependencies>
<!-- Elasticsearch dependencies -->
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>${version.elasticsearch}</version>
<scope>compile</scope>
</dependency>
<!-- Kafka dependencies -->
<dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_2.11</artifactId>
<version>${version.kafka}</version>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${version.scala}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>${version.slf4j}</version>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-core</artifactId>
<version>${version.yammer.metrics.core}</version>
</dependency>
<dependency>
<groupId>com.yammer.metrics</groupId>
<artifactId>metrics-graphite</artifactId>
<version>${version.yammer.metrics.graphite}</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>${version.json}</version>
</dependency>
<dependency>
<groupId>org.codehaus.jackson</groupId>
<artifactId>jackson-mapper-asl</artifactId>
<version>1.9.13</version>
</dependency>
<dependency>
<groupId>com.timgroup</groupId>
<artifactId>java-statsd-client</artifactId>
<version>3.0.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
<!-- The configuration of the plugin -->
<configuration>
<!-- Specifies the configuration file of the assembly plugin -->
<descriptors>
<descriptor>src/main/assembly/plugin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${version.maven.compiler.plugin}</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${version.maven.surefire.plugin}</version>
<configuration>
<excludes>
<exclude>**/*IT.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>${version.maven.failsafe.plugin}</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
<executions>
<execution>
<goals>
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Bundle sources -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${version.maven.source.plugin}</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Generating Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${version.maven.javadoc.plugin}</version>
<configuration>
<excludePackageNames>*.support</excludePackageNames>
</configuration>
</plugin>
<!-- GPG Signing during verify phase -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>${version.maven.gpg.plugin}</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<skip>${skipSigning}</skip>
</configuration>
</execution>
</executions>
</plugin>
<!-- Releasing -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>${version.maven.release.plugin}</version>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>develop</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
<profile>
<id>release</id>
<properties>
<skipSigning>false</skipSigning>
</properties>
</profile>
</profiles>
</project>