awslabs / dynamodb-streams-kinesis-adapter

The Amazon DynamoDB Streams Adapter implements the Amazon Kinesis interface so that your application can use KCL to consume and process data from a DynamoDB stream.
Apache License 2.0
97 stars 37 forks source link

Issues copying the project dependencies through maven due to DynamoDBLocal's last release being published in a repository other than the specified in the POM #56

Open pablocostass opened 10 months ago

pablocostass commented 10 months ago

dynamodb-streams-kinesis-adapter has included as a test-only dependency in its POM DynamoDBLocal. I have noticed at work, as we use this project, that a system of ours could not be built any longer because the version constraint the kinesis adapter has for the test dependency is that of [1.12,2.0), and the latest valid 1.XX.X release (1.24.0, as per the Release history for DynamoDB local site says) has not been uploaded to the repository specified in the POM for the dependency:

https://github.com/awslabs/dynamodb-streams-kinesis-adapter/blob/4fc3d79a0a0ea51b05175510b4cbd7daaa286587/pom.xml#L227-L236

This can be replicated running the following snippet:

$ mkdir /tmp/jars
$ curl -L -o /tmp/jars/dynamodb-streams-kinesis-adapter-1.5.3.pom http://search.maven.org/remotecontent?filepath=com/amazonaws/dynamodb-streams-kinesis-adapter/1.5.3/dynamodb-streams-kinesis-adapter-1.5.3.pom
$ mvn -B -f /tmp/jars/dynamodb-streams-kinesis-adapter-1.5.3.pom dependency:copy-dependencies -DoutputDirectory=/tmp/jars -DincludeScope=runtime

The issue is still present with the latest release of the kinesis adapter.

shetsa-amzn commented 10 months ago

This should fix it: https://github.com/awslabs/dynamodb-streams-kinesis-adapter/pull/58

pablocostass commented 9 months ago

Thanks!