Skip to content

Commit 468fab1

Browse files
committed
Updated versions to latest releases
1 parent fba162f commit 468fab1

File tree

11 files changed

+27
-34
lines changed

11 files changed

+27
-34
lines changed

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,11 @@
110110
</modules>
111111

112112
<properties>
113-
<spring-cloud-stream.version>3.1.0.BUILD-SNAPSHOT</spring-cloud-stream.version>
114-
<spring-cloud-deployer.version>2.3.2.BUILD-SNAPSHOT</spring-cloud-deployer.version>
115-
<spring-cloud-deployer-local.version>2.3.2.BUILD-SNAPSHOT
113+
<spring-cloud-stream.version>3.1.0-SNAPSHOT</spring-cloud-stream.version>
114+
<spring-cloud-deployer.version>2.4.0-M1</spring-cloud-deployer.version>
115+
<spring-cloud-deployer-local.version>2.4.0-M1
116116
</spring-cloud-deployer-local.version>
117-
<spring-cloud-stream-binder-rabbit.version>3.1.0.BUILD-SNAPSHOT
117+
<spring-cloud-stream-binder-rabbit.version>3.1.0-SNAPSHOT
118118
</spring-cloud-stream-binder-rabbit.version>
119119
<commons-logging.version>1.1</commons-logging.version>
120120
<java-ee-api.version>8.0</java-ee-api.version>

spring-cloud-task-samples/batch-events/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>2.3.1.BUILD-SNAPSHOT</version>
16+
<version>2.4.0-SNAPSHOT</version>
1717
<relativePath />
1818
</parent>
1919

@@ -37,7 +37,7 @@
3737
<dependency>
3838
<groupId>org.springframework.cloud</groupId>
3939
<artifactId>spring-cloud-stream-dependencies</artifactId>
40-
<version>3.1.0.BUILD-SNAPSHOT</version>
40+
<version>3.1.0-SNAPSHOT</version>
4141
<type>pom</type>
4242
<scope>import</scope>
4343
</dependency>
@@ -67,7 +67,7 @@
6767
<dependency>
6868
<groupId>org.springframework.cloud</groupId>
6969
<artifactId>spring-cloud-stream-test-support-internal</artifactId>
70-
<version>3.1.0.BUILD-SNAPSHOT</version>
70+
<version>3.1.0-SNAPSHOT</version>
7171
<scope>test</scope>
7272
</dependency>
7373
<dependency>

spring-cloud-task-samples/batch-job/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>2.3.1.BUILD-SNAPSHOT</version>
16+
<version>2.4.0-SNAPSHOT</version>
1717
<relativePath />
1818
</parent>
1919

spring-cloud-task-samples/batch-job/src/test/java/io/spring/BatchJobApplicationTests.java

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
import org.springframework.boot.test.system.OutputCaptureExtension;
2828

2929

30-
import static junit.framework.TestCase.assertTrue;
31-
import static org.junit.Assert.assertEquals;
30+
import static org.assertj.core.api.Assertions.assertThat;
3231

3332
/**
3433
* Verifies that the Task Application outputs the correct task log entries.
@@ -50,24 +49,18 @@ public void testBatchJobApp(CapturedOutput capturedOutput) throws Exception {
5049
SpringApplication.run(BatchJobApplication.class);
5150

5251
String output = capturedOutput.toString();
53-
assertTrue("Unable to find the timestamp: " + output,
54-
output.contains(JOB_RUN_MESSAGE));
55-
assertTrue("Test results do not show create task message: " + output,
56-
output.contains(CREATE_TASK_MESSAGE));
57-
assertTrue("Test results do not show success message: " + output,
58-
output.contains(UPDATE_TASK_MESSAGE));
59-
assertTrue("Test results do not show success message: " + output,
60-
output.contains(EXIT_CODE_MESSAGE));
52+
assertThat(output).contains(JOB_RUN_MESSAGE);
53+
assertThat(output).contains(CREATE_TASK_MESSAGE);
54+
assertThat(output).contains(UPDATE_TASK_MESSAGE);
55+
assertThat(output).contains(EXIT_CODE_MESSAGE);
6156

6257
int i = output.indexOf(JOB_ASSOCIATION_MESSAGE);
6358

64-
assertTrue("Test results do not show the listener message: " + output,
65-
i > 0);
59+
assertThat(i).isGreaterThan(0);
6660

6761
int j = output.indexOf(JOB_ASSOCIATION_MESSAGE, i + 1);
6862

69-
assertTrue("Test results do not show the listener message: " + output,
70-
j > i);
63+
assertThat(j).isGreaterThan(i);
7164

7265

7366
String taskTitle = "Demo Batch Job Task";
@@ -78,7 +71,7 @@ public void testBatchJobApp(CapturedOutput capturedOutput) throws Exception {
7871
while (matcher.find()) {
7972
count++;
8073
}
81-
assertEquals("The number of task titles did not match expected: ", 1, count);
74+
assertThat(count).isEqualTo(1);
8275
}
8376

8477
}

spring-cloud-task-samples/jpa-sample/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>2.3.1.BUILD-SNAPSHOT</version>
16+
<version>2.4.0-SNAPSHOT</version>
1717
<relativePath />
1818
</parent>
1919

spring-cloud-task-samples/multiple-datasources/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>2.3.1.BUILD-SNAPSHOT</version>
17+
<version>2.4.0-SNAPSHOT</version>
1818
<relativePath />
1919
</parent>
2020

spring-cloud-task-samples/partitioned-batch-job/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<parent>
1313
<groupId>org.springframework.boot</groupId>
1414
<artifactId>spring-boot-starter-parent</artifactId>
15-
<version>2.3.1.BUILD-SNAPSHOT</version>
15+
<version>2.4.0-SNAPSHOT</version>
1616
<relativePath />
1717
</parent>
1818

@@ -52,7 +52,7 @@
5252
<dependency>
5353
<groupId>org.springframework.cloud</groupId>
5454
<artifactId>spring-cloud-deployer-local</artifactId>
55-
<version>2.3.2.BUILD-SNAPSHOT</version>
55+
<version>2.4.0-M1</version>
5656
</dependency>
5757

5858
<dependency>

spring-cloud-task-samples/task-events/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parent>
1414
<groupId>org.springframework.boot</groupId>
1515
<artifactId>spring-boot-starter-parent</artifactId>
16-
<version>2.3.1.BUILD-SNAPSHOT</version>
16+
<version>2.4.0-SNAPSHOT</version>
1717
<relativePath />
1818
</parent>
1919

@@ -34,7 +34,7 @@
3434
<dependency>
3535
<groupId>org.springframework.cloud</groupId>
3636
<artifactId>spring-cloud-stream-dependencies</artifactId>
37-
<version>3.1.0.BUILD-SNAPSHOT</version>
37+
<version>3.1.0-SNAPSHOT</version>
3838
<type>pom</type>
3939
<scope>import</scope>
4040
</dependency>

spring-cloud-task-samples/taskprocessor/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.springframework.boot</groupId>
1616
<artifactId>spring-boot-starter-parent</artifactId>
17-
<version>2.3.1.BUILD-SNAPSHOT</version>
17+
<version>2.4.0-SNAPSHOT</version>
1818
<relativePath />
1919
</parent>
2020

@@ -35,7 +35,7 @@
3535
<dependency>
3636
<groupId>org.springframework.cloud</groupId>
3737
<artifactId>spring-cloud-stream-dependencies</artifactId>
38-
<version>3.1.0.BUILD-SNAPSHOT</version>
38+
<version>3.1.0-SNAPSHOT</version>
3939
<type>pom</type>
4040
<scope>import</scope>
4141
</dependency>

spring-cloud-task-samples/tasksink/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<parent>
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
18-
<version>2.3.1.BUILD-SNAPSHOT</version>
18+
<version>2.4.0-SNAPSHOT</version>
1919
<relativePath />
2020
</parent>
2121

@@ -36,7 +36,7 @@
3636
<dependency>
3737
<groupId>org.springframework.cloud</groupId>
3838
<artifactId>spring-cloud-stream-dependencies</artifactId>
39-
<version>3.1.0.BUILD-SNAPSHOT</version>
39+
<version>3.1.0-SNAPSHOT</version>
4040
<type>pom</type>
4141
<scope>import</scope>
4242
</dependency>

0 commit comments

Comments
 (0)