Skip to content

Commit 269e984

Browse files
committed
Upgrade dependencies to the latest milestones
1 parent a76bb24 commit 269e984

File tree

2 files changed

+28
-30
lines changed

2 files changed

+28
-30
lines changed

build.gradle

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,23 @@ ext {
4646
files(grgit.status().unstaged.modified).filter{ f -> f.name.endsWith('.java') || f.name.endsWith('.kt') }
4747

4848
activeMqVersion = '5.16.0'
49-
apacheSshdVersion = '2.5.0'
49+
apacheSshdVersion = '2.5.1'
5050
aspectjVersion = '1.9.6'
5151
assertjVersion = '3.16.1'
5252
assertkVersion = '0.22'
53-
avroVersion = '1.9.2'
53+
avroVersion = '1.10.0'
5454
awaitilityVersion = '4.0.3'
5555
commonsDbcp2Version = '2.7.0'
5656
commonsIoVersion = '2.7'
57-
commonsNetVersion = '3.6'
57+
commonsNetVersion = '3.7'
5858
curatorVersion = '4.3.0'
5959
derbyVersion = '10.14.2.0'
6060
ftpServerVersion = '1.1.1'
6161
googleJsr305Version = '3.0.2'
62-
groovyVersion = '3.0.4'
62+
groovyVersion = '3.0.5'
6363
hamcrestVersion = '2.2'
64-
hazelcastVersion = '4.0.1'
65-
hibernateVersion = '5.4.19.Final'
64+
hazelcastVersion = '4.0.2'
65+
hibernateVersion = '5.4.20.Final'
6666
hsqldbVersion = '2.5.1'
6767
h2Version = '1.4.200'
6868
jacksonVersion = '2.11.2'
@@ -74,39 +74,39 @@ ext {
7474
jmsApiVersion = '2.0.1'
7575
jpa21ApiVersion = '1.0.2.Final'
7676
jpaApiVersion = '2.2.1'
77-
jrubyVersion = '9.2.11.1'
77+
jrubyVersion = '9.2.13.0'
7878
jschVersion = '0.1.55'
7979
jsonpathVersion = '2.4.0'
8080
junit4Version = '4.13'
8181
junitJupiterVersion = '5.7.0-M1'
8282
jythonVersion = '2.7.2'
8383
kryoShadedVersion = '4.0.2'
84-
lettuceVersion = '5.3.2.RELEASE'
84+
lettuceVersion = '6.0.0.RC1'
8585
log4jVersion = '2.13.3'
8686
micrometerVersion = '1.5.3'
87-
mockitoVersion = '3.3.3'
87+
mockitoVersion = '3.4.6'
8888
mongoDriverVersion = '4.1.0'
8989
mysqlVersion = '8.0.21'
9090
pahoMqttClientVersion = '1.2.4'
9191
postgresVersion = '42.2.14'
92-
reactorVersion = '2020.0.0-SNAPSHOT'
92+
r2dbch2Version='0.8.4.RELEASE'
93+
reactorVersion = '2020.0.0-M2'
9394
resilience4jVersion = '1.5.0'
9495
romeToolsVersion = '1.12.2'
95-
rsocketVersion = '1.1.0-SNAPSHOT'
96+
rsocketVersion = '1.1.0-M1'
9697
saajVersion = '1.5.2'
9798
servletApiVersion = '4.0.1'
9899
smackVersion = '4.3.4'
99100
soapVersion = '1.4.0'
100101
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.3.0-SNAPSHOT'
101102
springDataVersion = project.hasProperty('springDataVersion') ? project.springDataVersion : '2020.0.0-SNAPSHOT'
102103
springKafkaVersion = '2.6.0-SNAPSHOT'
103-
springSecurityVersion = project.hasProperty('springSecurityVersion') ? project.springSecurityVersion : '5.4.0-SNAPSHOT'
104104
springRetryVersion = '1.3.0'
105-
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.3.0-SNAPSHOT'
105+
springSecurityVersion = project.hasProperty('springSecurityVersion') ? project.springSecurityVersion : '5.4.0-RC1'
106+
springVersion = project.hasProperty('springVersion') ? project.springVersion : '5.3.0-M2'
106107
springWsVersion = '3.0.9.RELEASE'
107108
tomcatVersion = "9.0.37"
108109
xstreamVersion = '1.4.12'
109-
r2dbch2Version='0.8.4.RELEASE'
110110

111111
javaProjects = subprojects - project(':spring-integration-bom')
112112
}

spring-integration-ws/src/test/java/org/springframework/integration/ws/MarshallingWebServiceIntegrationTests.java

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@
3030
import javax.xml.transform.stream.StreamResult;
3131
import javax.xml.transform.stream.StreamSource;
3232

33-
import org.junit.Before;
34-
import org.junit.Test;
35-
import org.junit.runner.RunWith;
33+
import org.junit.jupiter.api.BeforeEach;
34+
import org.junit.jupiter.api.Test;
3635
import org.mockito.Mock;
3736
import org.mockito.MockitoAnnotations;
3837

@@ -42,20 +41,19 @@
4241
import org.springframework.oxm.MarshallingFailureException;
4342
import org.springframework.oxm.Unmarshaller;
4443
import org.springframework.oxm.XmlMappingException;
45-
import org.springframework.test.context.ContextConfiguration;
46-
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
44+
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
4745
import org.springframework.ws.WebServiceMessage;
4846
import org.springframework.ws.context.MessageContext;
4947
import org.springframework.xml.transform.StringSource;
5048

5149
/**
5250
*
5351
* @author Iwein Fuld
52+
* @author Artem Bilan
5453
*
5554
*/
5655

57-
@RunWith(SpringJUnit4ClassRunner.class)
58-
@ContextConfiguration
56+
@SpringJUnitConfig
5957
public class MarshallingWebServiceIntegrationTests {
6058

6159
private static final String input = "<hello/>";
@@ -78,13 +76,13 @@ public class MarshallingWebServiceIntegrationTests {
7876

7977
private Result stringResult = new StreamResult(output);
8078

81-
@Before
79+
@BeforeEach
8280
public void setupMocks() {
83-
MockitoAnnotations.initMocks(this);
81+
MockitoAnnotations.openMocks(this);
8482
}
8583

8684
@Test
87-
public void configOk() throws Exception {
85+
public void configOk() {
8886
// just flag invalid config
8987
}
9088

@@ -100,23 +98,20 @@ public void sendString() throws Exception {
10098

10199
public static class StubMarshaller implements Marshaller, Unmarshaller {
102100

103-
public void marshal(Object graph, Result result)
104-
throws XmlMappingException, IOException {
101+
public void marshal(Object graph, Result result) throws XmlMappingException {
105102
Transformer transformer;
106103
try {
107104
transformer = TransformerFactory.newInstance().newTransformer();
108105
StringSource stringSource = new StringSource(graph.toString());
109106
transformer.transform(stringSource, result);
110107
}
111108
catch (Exception e) {
112-
throw new MarshallingFailureException("Stub failed to marshal",
113-
e);
109+
throw new MarshallingFailureException("Stub failed to marshal", e);
114110
}
115111
}
116112

117113

118-
@SuppressWarnings("rawtypes")
119-
public boolean supports(Class clazz) {
114+
public boolean supports(Class<?> clazz) {
120115
return true;
121116
}
122117

@@ -125,6 +120,7 @@ public Object unmarshal(Source source) throws XmlMappingException,
125120
//this is a hack, but we're not here to test marshalling
126121
return input;
127122
}
123+
128124
}
129125

130126
public static class StubEndpoint {
@@ -133,5 +129,7 @@ public static class StubEndpoint {
133129
public Object handle(Object o) {
134130
return o;
135131
}
132+
136133
}
134+
137135
}

0 commit comments

Comments
 (0)