awslabs / amazon-dynamodb-local-samples

This is a sample Java project that demonstrates how to use DynamoDB Local for local development and testing
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
MIT No Attribution
15 stars 9 forks source link

DynamoDBLocal 1.24.0 will not download #6

Closed bcmyguest1 closed 1 year ago

bcmyguest1 commented 1 year ago

Trying to build a java project with 1.24.0 which was published to Maven on October 25, 2023 does not work, but all previous versions did

Could not transfer artifact com.amazonaws:DynamoDBLocal:jar:1.24.0 from/to dynamodb-local-oregon (https://s3-us-west-2.amazonaws.com/dynamodb-local/release): authorization failed for https://s3-us-west-2.amazonaws.com/dynamodb-local/release/com/amazonaws/DynamoDBLocal/1.24.0/DynamoDBLocal-1.24.0.jar, status: 403 Forbidden
shetsa-amzn commented 1 year ago

Thanks for reaching out.

Can you please switch to consuming for Maven Central?

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html

Sample (Without S3 repository reference):

<dependencies>
   <dependency>
      <groupId>com.amazonaws</groupId>
      <artifactId>DynamoDBLocal</artifactId>
      <version>1.24.0</version>
   </dependency>
</dependencies>
bcmyguest1 commented 1 year ago

@shetsa-amzn you're right, apologies for my oversight. Not sure why we are using s3 in the first place