From 82c01356694588b465df07a97fcad39cb86f89c4 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Fri, 1 Mar 2019 11:50:28 -0500 Subject: [PATCH] GH-116: Document optional dependencies Fixes https://github.com/spring-projects/spring-integration-aws/issues/116 --- README.md | 13 +++++++++++++ build.gradle | 2 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6700835..714279c 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,19 @@ where the topic is an *SQS* Queue. [Pull requests][] are welcome. Please see the [contributor guidelines][] for details. Additionally, if you are contributing, we recommend following the process for Spring Integration as outlined in the [administrator guidelines][]. +# Dependency Management + +These dependencies are optional in the project: + +* `org.springframework.cloud:spring-cloud-aws-messaging` - for SQS and SNS channel adapters +* `org.springframework.integration:spring-integration-file` - for S3 channel adapters +* `org.springframework.integration:spring-integration-http` - for SNS inbound channel adapter +* `compile('com.amazonaws:aws-java-sdk-kinesis` - for Kinesis channel adapters +* `com.amazonaws:aws-java-sdk-dynamodb` - for `DynamoDbMetadataStore` and `DynamoDbLockRegistry` +* `com.amazonaws:dynamodb-lock-client` - for `DynamoDbLockRegistry` + +Consider to include an appropriate dependency into your project when you use particular component from this project. + # Adapters ## Amazon Simple Storage Service (Amazon S3) diff --git a/build.gradle b/build.gradle index 53332fb..df03abd 100644 --- a/build.gradle +++ b/build.gradle @@ -89,8 +89,6 @@ dependencies { compile 'org.springframework.integration:spring-integration-core' compile 'org.springframework.cloud:spring-cloud-aws-core' - compile("com.fasterxml.jackson.core:jackson-databind:$jacksonVersion", optional) - compile('org.springframework.cloud:spring-cloud-aws-messaging', optional) compile('org.springframework.integration:spring-integration-file', optional) compile('org.springframework.integration:spring-integration-http', optional)