Skip to content

Commit 0d478de

Browse files
authored
build(deps): Upgrade DynamoDBLocal to 2.6.0 (#1931)
* Upgrade DynamoDBLocal to 2.6.0 * Downgrade DynamoDBLocal to 2.2.0 to keep Java11 support
1 parent b7f70e6 commit 0d478de

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/utilities/idempotency.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@ To unit test your function with DynamoDB Local, you can refer to this guide to [
983983
<dependency>
984984
<groupId>com.amazonaws</groupId>
985985
<artifactId>DynamoDBLocal</artifactId>
986-
<version>[1.12,2.0)</version>
986+
<!-- Use newest version if you are on Java >11 -->
987+
<!-- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocalHistory.html -->
988+
<version>2.2.0</version>
987989
<scope>test</scope>
988990
</dependency>
989991
<!-- Needed when building locally on M1 Mac -->

powertools-idempotency/powertools-idempotency-dynamodb/pom.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
-->
1515

1616
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
17-
xmlns="http://maven.apache.org/POM/4.0.0"
18-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
17+
xmlns="http://maven.apache.org/POM/4.0.0"
18+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1919
<modelVersion>4.0.0</modelVersion>
2020

2121
<parent>
@@ -62,7 +62,9 @@
6262
<dependency>
6363
<groupId>com.amazonaws</groupId>
6464
<artifactId>DynamoDBLocal</artifactId>
65-
<version>[1.12,2.0)</version>
65+
<!-- >2.2.0 is not compatible with Java 11 anymore -->
66+
<!-- https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocalHistory.html -->
67+
<version>2.2.0</version>
6668
<scope>test</scope>
6769
</dependency>
6870
<!--Needed when building locally on M1 Mac-->
@@ -85,7 +87,7 @@
8587
<manifestEntries>
8688
<Automatic-Module-Name>software.amazon.awssdk.enhanced.dynamodb</Automatic-Module-Name>
8789
</manifestEntries>
88-
</archive>
90+
</archive>
8991
</configuration>
9092
</plugin>
9193
<plugin>
@@ -123,4 +125,4 @@
123125
</plugin>
124126
</plugins>
125127
</build>
126-
</project>
128+
</project>

0 commit comments

Comments
 (0)