| <?xml version="1.0" encoding="UTF-8"?> |
| <!--~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| ~ Copyright (C) 2016 Google Inc. |
| ~ |
| ~ Licensed 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> |
| |
| <packaging>jar</packaging> |
| |
| <groupId>com.google.cloud.dataflow</groupId> |
| <artifactId>google-cloud-dataflow-java-contrib-kafka</artifactId> |
| <name>Google Cloud Dataflow Kafka IO Library</name> |
| <description>Library to read Kafka topics.</description> |
| <version>0.1.0-SNAPSHOT</version> |
| |
| <properties> |
| <dataflow.version>[1.6.0, 1.99)</dataflow.version> |
| <kafka.version>0.9.0.1</kafka.version> |
| |
| <guava.version>19.0</guava.version> |
| <hamcrest.version>1.3</hamcrest.version> |
| <jackson.version>2.7.0</jackson.version> |
| <joda.version>2.4</joda.version> |
| <junit.version>4.11</junit.version> |
| <slf4j.version>1.7.14</slf4j.version> |
| </properties> |
| |
| <build> |
| <plugins> |
| <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> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>2.17</version> |
| <dependencies> |
| <dependency> |
| <groupId>com.puppycrawl.tools</groupId> |
| <artifactId>checkstyle</artifactId> |
| <version>6.19</version> |
| </dependency> |
| </dependencies> |
| <configuration> |
| <configLocation>../../checkstyle.xml</configLocation> |
| <suppressionsLocation>../../suppressions.xml</suppressionsLocation> |
| <consoleOutput>true</consoleOutput> |
| <failOnViolation>true</failOnViolation> |
| <includeTestSourceDirectory>true</includeTestSourceDirectory> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>check</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-javadoc-plugin</artifactId> |
| <version>2.10.3</version> |
| <configuration> |
| <quiet>true</quiet> |
| </configuration> |
| </plugin> |
| |
| <!-- Source plugin for generating source and test-source JARs. --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-source-plugin</artifactId> |
| <version>2.4</version> |
| <executions> |
| <execution> |
| <id>attach-sources</id> |
| <phase>compile</phase> |
| <goals> |
| <goal>jar</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>attach-test-sources</id> |
| <phase>test-compile</phase> |
| <goals> |
| <goal>test-jar</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.cloud.dataflow</groupId> |
| <artifactId>google-cloud-dataflow-java-sdk-all</artifactId> |
| <version>${dataflow.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.kafka</groupId> |
| <artifactId>kafka-clients</artifactId> |
| <version>${kafka.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| <version>${slf4j.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| <version>${joda.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| <version>${jackson.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>${guava.version}</version> |
| </dependency> |
| |
| <!-- test dependencies--> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-all</artifactId> |
| <scope>test</scope> |
| <version>${hamcrest.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| <version>${junit.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-jdk14</artifactId> |
| <scope>test</scope> |
| <version>${slf4j.version}</version> |
| </dependency> |
| </dependencies> |
| </project> |