Skip to content

Commit 4be99de

Browse files
committed
Upgrade dependencies; prepare for release
* Fix mail tests for the latest Greenmail changes
1 parent 0565930 commit 4be99de

File tree

3 files changed

+28
-27
lines changed

3 files changed

+28
-27
lines changed

build.gradle

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ buildscript {
1616

1717
plugins {
1818
id 'org.sonarqube' version '2.8'
19-
id 'io.spring.nohttp' version '0.0.10' apply false
19+
id 'io.spring.nohttp' version '0.0.11' apply false
2020
id 'org.ajoberstar.grgit' version '4.1.1'
2121
id 'io.spring.dependency-management' version '1.1.0'
22-
id 'com.jfrog.artifactory' version '4.29.3' apply false
22+
id 'com.jfrog.artifactory' version '4.31.0' apply false
2323
id 'org.jetbrains.dokka' version '1.7.20'
2424
id 'org.asciidoctor.jvm.pdf' version '3.3.2'
2525
id 'org.asciidoctor.jvm.gems' version '3.3.2'
@@ -50,8 +50,8 @@ ext {
5050

5151
apacheSshdVersion = '2.9.2'
5252
artemisVersion = '2.27.1'
53-
aspectjVersion = '1.9.9.1'
54-
assertjVersion = '3.23.1'
53+
aspectjVersion = '1.9.19'
54+
assertjVersion = '3.24.2'
5555
assertkVersion = '0.25'
5656
avroVersion = '1.11.1'
5757
awaitilityVersion = '4.2.0'
@@ -64,8 +64,8 @@ ext {
6464
findbugsVersion = '3.0.1'
6565
ftpServerVersion = '1.2.0'
6666
graalvmVersion = '22.3.0'
67-
greenmailVersion = '2.0.0-alpha-2'
68-
groovyVersion = '4.0.6'
67+
greenmailVersion = '2.0.0-alpha-3'
68+
groovyVersion = '4.0.7'
6969
hamcrestVersion = '2.2'
7070
hazelcastVersion = '5.2.1'
7171
hibernateVersion = '6.1.6.Final'
@@ -80,39 +80,39 @@ ext {
8080
jrubyVersion = '9.3.9.0'
8181
jsonpathVersion = '2.7.0'
8282
junit4Version = '4.13.2'
83-
junitJupiterVersion = '5.9.1'
83+
junitJupiterVersion = '5.9.2'
8484
jythonVersion = '2.7.3'
8585
kotlinCoroutinesVersion = '1.6.4'
8686
kryoVersion = '5.3.0'
8787
lettuceVersion = '6.2.2.RELEASE'
8888
log4jVersion = '2.19.0'
8989
mailVersion = '1.0.0'
90-
micrometerVersion = '1.10.2'
91-
micrometerTracingVersion = '1.0.0'
90+
micrometerVersion = '1.10.3'
91+
micrometerTracingVersion = '1.0.1'
9292
mockitoVersion = '4.10.0'
93-
mongoDriverVersion = '4.8.1'
93+
mongoDriverVersion = '4.8.2'
9494
mysqlVersion = '8.0.31'
9595
pahoMqttClientVersion = '1.2.5'
9696
postgresVersion = '42.5.1'
9797
r2dbch2Version = '1.0.0.RELEASE'
98-
reactorVersion = '2022.0.1'
98+
reactorVersion = '2022.0.2'
9999
resilience4jVersion = '1.7.1'
100100
romeToolsVersion = '1.18.0'
101101
rsocketVersion = '1.1.3'
102102
servletApiVersion = '6.0.0'
103103
smackVersion = '4.4.6'
104-
springAmqpVersion = '3.0.0'
105-
springDataVersion = '2022.0.0'
104+
springAmqpVersion = '3.0.1'
105+
springDataVersion = '2022.0.1'
106106
springGraphqlVersion = '1.1.1'
107-
springKafkaVersion = '3.0.1'
107+
springKafkaVersion = '3.0.2'
108108
springRetryVersion = '2.0.0'
109109
springSecurityVersion = '6.0.1'
110-
springVersion = '6.0.3'
111-
springWsVersion = '4.0.0'
110+
springVersion = '6.0.4'
111+
springWsVersion = '4.0.1'
112112
testcontainersVersion = '1.17.6'
113-
tomcatVersion = '10.1.4'
114-
xmlUnitVersion = '2.9.0'
115-
xstreamVersion = '1.4.19'
113+
tomcatVersion = '10.1.5'
114+
xmlUnitVersion = '2.9.1'
115+
xstreamVersion = '1.4.20'
116116

117117
javaProjects = subprojects - project(':spring-integration-bom')
118118
}
@@ -171,6 +171,7 @@ allprojects {
171171
mavenBom "org.springframework.kafka:spring-kafka-bom:$springKafkaVersion"
172172
mavenBom "org.springframework.data:spring-data-bom:$springDataVersion"
173173
mavenBom "org.springframework:spring-framework-bom:$springVersion"
174+
mavenBom "org.springframework.ws:spring-ws-bom:$springWsVersion"
174175
}
175176

176177
}
@@ -1023,14 +1024,14 @@ project('spring-integration-ws') {
10231024
api project(':spring-integration-core')
10241025
api 'org.springframework:spring-oxm'
10251026
api 'org.springframework:spring-webmvc'
1026-
api("org.springframework.ws:spring-ws-core:$springWsVersion") {
1027+
api('org.springframework.ws:spring-ws-core') {
10271028
exclude group: 'org.springframework'
10281029
}
10291030

10301031
providedImplementation "com.sun.xml.bind:jaxb-impl:$jaxbVersion"
10311032

10321033
testImplementation "com.thoughtworks.xstream:xstream:$xstreamVersion"
1033-
testImplementation("org.springframework.ws:spring-ws-support:$springWsVersion") {
1034+
testImplementation('org.springframework.ws:spring-ws-support') {
10341035
exclude group: 'org.springframework'
10351036
}
10361037
testImplementation 'org.springframework:spring-jms'
@@ -1046,10 +1047,10 @@ project('spring-integration-xml') {
10461047
dependencies {
10471048
api project(':spring-integration-core')
10481049
api 'org.springframework:spring-oxm'
1049-
api("org.springframework.ws:spring-xml:$springWsVersion") {
1050+
api('org.springframework.ws:spring-xml') {
10501051
exclude group: 'org.springframework'
10511052
}
1052-
optionalApi("org.springframework.ws:spring-ws-core:$springWsVersion") {
1053+
optionalApi('org.springframework.ws:spring-ws-core') {
10531054
exclude group: 'org.springframework'
10541055
}
10551056

spring-integration-mail/src/test/java/org/springframework/integration/mail/config/SmtpTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -81,7 +81,7 @@ public void testSmtp() throws Exception {
8181
assertThat(message.getFrom()).containsOnly(new InternetAddress("foo@bar"));
8282
assertThat(message.getRecipients(RecipientType.TO)).containsOnly(new InternetAddress("bar@baz"));
8383
assertThat(message.getSubject()).isEqualTo("foo");
84-
assertThat(message.getContent()).asString().isEqualTo("foo\r\n");
84+
assertThat(message.getContent()).asString().isEqualTo("foo");
8585
}
8686

8787
}

spring-integration-mail/src/test/java/org/springframework/integration/mail/dsl/MailTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2022 the original author or authors.
2+
* Copyright 2014-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -129,7 +129,7 @@ public void testSmtp() throws Exception {
129129
assertThat(message.getFrom()).containsOnly(new InternetAddress("foo@bar"));
130130
assertThat(message.getRecipients(RecipientType.TO)).containsOnly(new InternetAddress("bar@baz"));
131131
assertThat(message.getSubject()).isEqualTo("foo");
132-
assertThat(message.getContent()).asString().isEqualTo("foo\r\n");
132+
assertThat(message.getContent()).asString().isEqualTo("foo");
133133

134134
}
135135

0 commit comments

Comments
 (0)