332 lines
10 KiB
XML
332 lines
10 KiB
XML
<!--
|
|
~ Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
~
|
|
~ Licensed under the Amazon Software License (the "License").
|
|
~ You may not use this file except in compliance with the License.
|
|
~ A copy of the License is located at
|
|
~
|
|
~ http://aws.amazon.com/asl/
|
|
~
|
|
~ or in the "license" file accompanying this file. This file 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 https://maven.apache.org/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
<groupId>software.amazon.kinesis</groupId>
|
|
<artifactId>amazon-kinesis-client-pom</artifactId>
|
|
<version>2.0.3-experimental</version>
|
|
</parent>
|
|
|
|
<artifactId>amazon-kinesis-client</artifactId>
|
|
<packaging>jar</packaging>
|
|
<name>Amazon Kinesis Client Library for Java</name>
|
|
|
|
<description>The Amazon Kinesis Client Library for Java enables Java developers to easily consume and process data
|
|
from Amazon Kinesis.
|
|
</description>
|
|
<url>https://aws.amazon.com/kinesis</url>
|
|
|
|
<scm>
|
|
<url>https://github.com/awslabs/amazon-kinesis-client.git</url>
|
|
</scm>
|
|
|
|
<licenses>
|
|
<license>
|
|
<name>Amazon Software License</name>
|
|
<url>https://aws.amazon.com/asl</url>
|
|
<distribution>repo</distribution>
|
|
</license>
|
|
</licenses>
|
|
|
|
<properties>
|
|
<aws-java-sdk.version>1.11.272</aws-java-sdk.version>
|
|
<awssdk.version>2.0.1</awssdk.version>
|
|
<sqlite4java.version>1.0.392</sqlite4java.version>
|
|
<sqlite4java.native>libsqlite4java</sqlite4java.native>
|
|
<sqlite4java.libpath>${project.build.directory}/test-lib</sqlite4java.libpath>
|
|
<slf4j.version>1.7.25</slf4j.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>kinesis</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>dynamodb</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>cloudwatch</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>software.amazon.awssdk</groupId>
|
|
<artifactId>netty-nio-client</artifactId>
|
|
<version>${awssdk.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.guava</groupId>
|
|
<artifactId>guava</artifactId>
|
|
<version>26.0-jre</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.google.protobuf</groupId>
|
|
<artifactId>protobuf-java</artifactId>
|
|
<version>2.6.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.apache.commons</groupId>
|
|
<artifactId>commons-lang3</artifactId>
|
|
<version>3.7</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j.version}</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>io.reactivex.rxjava2</groupId>
|
|
<artifactId>rxjava</artifactId>
|
|
<version>2.1.14</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>1.16.20</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<!-- Test -->
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-all</artifactId>
|
|
<version>1.10.19</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-all</artifactId>
|
|
<version>1.3</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
<!--<dependency>-->
|
|
<!--<groupId>com.amazonaws</groupId>-->
|
|
<!--<artifactId>DynamoDBLocal</artifactId>-->
|
|
<!--<version>1.11.86</version>-->
|
|
<!--<scope>test</scope>-->
|
|
<!--</dependency>-->
|
|
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>1.1.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
</dependencies>
|
|
|
|
<!--<repositories>-->
|
|
<!--<repository>-->
|
|
<!--<id>dynamodblocal</id>-->
|
|
<!--<name>AWS DynamoDB Local Release Repository</name>-->
|
|
<!--<url>https://s3-us-west-2.amazonaws.com/dynamodb-local/release</url>-->
|
|
<!--</repository>-->
|
|
<!--</repositories>-->
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>amazonwebservices</id>
|
|
<organization>Amazon Web Services</organization>
|
|
<organizationUrl>https://aws.amazon.com</organizationUrl>
|
|
<roles>
|
|
<role>developer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.2</version>
|
|
<configuration>
|
|
<source>1.8</source>
|
|
<target>1.8</target>
|
|
<encoding>UTF-8</encoding>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.19.1</version>
|
|
<configuration>
|
|
<excludes>
|
|
<exclude>**/*IntegrationTest.java</exclude>
|
|
</excludes>
|
|
<systemProperties>
|
|
<property>
|
|
<name>sqlite4java.library.path</name>
|
|
<value>${sqlite4java.libpath}</value>
|
|
</property>
|
|
</systemProperties>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
|
<version>2.19.1</version>
|
|
<configuration>
|
|
<includes>
|
|
<include>**/*IntegrationTest.java</include>
|
|
</includes>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>integration-test</goal>
|
|
<goal>verify</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-dependency-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>copy</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>copy</goal>
|
|
</goals>
|
|
<configuration>
|
|
<artifactItems>
|
|
<!-- Mac OS X -->
|
|
<artifactItem>
|
|
<groupId>com.almworks.sqlite4java</groupId>
|
|
<artifactId>${sqlite4java.native}-osx</artifactId>
|
|
<version>${sqlite4java.version}</version>
|
|
<type>dylib</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${sqlite4java.libpath}</outputDirectory>
|
|
</artifactItem>
|
|
|
|
<!-- Linux -->
|
|
<!-- i386 -->
|
|
<artifactItem>
|
|
<groupId>com.almworks.sqlite4java</groupId>
|
|
<artifactId>${sqlite4java.native}-linux-i386</artifactId>
|
|
<version>${sqlite4java.version}</version>
|
|
<type>so</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${sqlite4java.libpath}</outputDirectory>
|
|
</artifactItem>
|
|
|
|
<!-- amd64 -->
|
|
<artifactItem>
|
|
<groupId>com.almworks.sqlite4java</groupId>
|
|
<artifactId>${sqlite4java.native}-linux-amd64</artifactId>
|
|
<version>${sqlite4java.version}</version>
|
|
<type>so</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${sqlite4java.libpath}</outputDirectory>
|
|
</artifactItem>
|
|
|
|
<!-- Windows -->
|
|
<!-- x86 -->
|
|
<artifactItem>
|
|
<groupId>com.almworks.sqlite4java</groupId>
|
|
<artifactId>sqlite4java-win32-x86</artifactId>
|
|
<version>${sqlite4java.version}</version>
|
|
<type>dll</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${sqlite4java.libpath}</outputDirectory>
|
|
</artifactItem>
|
|
|
|
<!-- x64 -->
|
|
<artifactItem>
|
|
<groupId>com.almworks.sqlite4java</groupId>
|
|
<artifactId>sqlite4java-win32-x64</artifactId>
|
|
<version>${sqlite4java.version}</version>
|
|
<type>dll</type>
|
|
<overWrite>true</overWrite>
|
|
<outputDirectory>${sqlite4java.libpath}</outputDirectory>
|
|
</artifactItem>
|
|
</artifactItems>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<version>2.10.3</version>
|
|
<configuration>
|
|
<excludePackageNames>com.amazonaws.services.kinesis.producer.protobuf</excludePackageNames>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-javadocs</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<version>3.0.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals>
|
|
<goal>jar</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>disable-java8-doclint</id>
|
|
<activation>
|
|
<jdk>[1.8,)</jdk>
|
|
</activation>
|
|
<properties>
|
|
<additionalparam>-Xdoclint:none</additionalparam>
|
|
</properties>
|
|
</profile>
|
|
</profiles>
|
|
|
|
</project>
|