Skip to content

Commit 1ae51b9

Browse files
Upgrade to Spring Boot 4.0.0 and Spring Cloud 5.0.0. (#1413)
* Upgrade to Spring Boot 4.0.0 and Spring Cloud 5.0.0. Fixes #1412
1 parent 73890fb commit 1ae51b9

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.cloud</groupId>
88
<artifactId>spring-cloud-build</artifactId>
9-
<version>4.3.0</version>
9+
<version>5.0.0-SNAPSHOT</version>
1010
<relativePath/><!-- lookup parent from repository -->
1111
</parent>
1212

spring-cloud-aws-dependencies/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.cloud</groupId>
99
<artifactId>spring-cloud-dependencies-parent</artifactId>
10-
<version>4.3.0</version>
10+
<version>5.0.0-SNAPSHOT</version>
1111
<relativePath/>
1212
</parent>
1313
<scm>
@@ -28,10 +28,10 @@
2828
<amazon.dax.version>2.0.5</amazon.dax.version>
2929
<amazon.encryption.s3.version>3.3.5</amazon.encryption.s3.version>
3030
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
31-
<spring-cloud-commons.version>4.3.0</spring-cloud-commons.version>
31+
<spring-cloud-commons.version>5.0.0-SNAPSHOT</spring-cloud-commons.version>
3232
<jakarta.mail.version>2.1.3</jakarta.mail.version>
3333
<eclipse.jakarta.mail.version>2.0.3</eclipse.jakarta.mail.version>
34-
<spring-modulith.version>1.4.0</spring-modulith.version>
34+
<spring-modulith.version>2.0.0-SNAPSHOT</spring-modulith.version>
3535
<amazon.s3.accessgrants>2.3.0</amazon.s3.accessgrants>
3636
</properties>
3737

spring-cloud-aws-sns/src/test/java/io/awspring/cloud/sns/endpoint/SnsControllerMappingReflectiveProcessorTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void registerReflectiveHintsForMethodHandleSubscribe() throws NoSuchMethodExcept
4848
.isEqualTo(TypeReference.of(ComplexNotificationTestController.class)), typeHint -> {
4949
assertThat(typeHint.getType()).isEqualTo(TypeReference.of(NotificationStatus.class));
5050
assertThat(typeHint.getMemberCategories()).containsExactlyInAnyOrder(
51-
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.DECLARED_FIELDS);
51+
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.ACCESS_DECLARED_FIELDS);
5252
});
5353
}
5454

@@ -63,7 +63,7 @@ void registerReflectiveHintsForMethodHandleNotificationMessage() throws NoSuchMe
6363
}, typeHint -> {
6464
assertThat(typeHint.getType()).isEqualTo(TypeReference.of(Person.class));
6565
assertThat(typeHint.getMemberCategories()).containsExactlyInAnyOrder(
66-
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.DECLARED_FIELDS);
66+
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.ACCESS_DECLARED_FIELDS);
6767
assertThat(typeHint.methods()).satisfiesExactlyInAnyOrder(
6868
hint -> assertThat(hint.getName()).isEqualTo("getFirstName"),
6969
hint -> assertThat(hint.getName()).isEqualTo("setFirstName"),
@@ -81,7 +81,7 @@ void registerReflectiveHintsForMethodHandleUnsubscribe() throws NoSuchMethodExce
8181
.isEqualTo(TypeReference.of(ComplexNotificationTestController.class)), typeHint -> {
8282
assertThat(typeHint.getType()).isEqualTo(TypeReference.of(NotificationStatus.class));
8383
assertThat(typeHint.getMemberCategories()).containsExactlyInAnyOrder(
84-
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.DECLARED_FIELDS);
84+
MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.ACCESS_DECLARED_FIELDS);
8585
});
8686
}
8787

0 commit comments

Comments
 (0)