Skip to content

Commit c753b98

Browse files
committed
Update task to use Milestone build
Updated partitioned sample readme Updated samples base boot version Updated jpa sample to use jakarta
1 parent ff5d116 commit c753b98

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

spring-cloud-task-samples/batch-events/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>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0-M1</version>
1717
<relativePath />
1818
</parent>
1919

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>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0-M1</version>
1717
<relativePath />
1818
</parent>
1919

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>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0-M1</version>
1717
<relativePath />
1818
</parent>
1919

spring-cloud-task-samples/jpa-sample/src/main/java/io/spring/configuration/TaskRunOutput.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
package io.spring.configuration;
1818

19-
import javax.persistence.Entity;
20-
import javax.persistence.GeneratedValue;
21-
import javax.persistence.GenerationType;
22-
import javax.persistence.Id;
23-
import javax.persistence.Table;
19+
import jakarta.persistence.Entity;
20+
import jakarta.persistence.GeneratedValue;
21+
import jakarta.persistence.GenerationType;
22+
import jakarta.persistence.Id;
23+
import jakarta.persistence.Table;
2424

2525
/**
2626
* Entity for the id and output to be written to the data store.

spring-cloud-task-samples/jpa-sample/src/test/java/io/spring/JpaApplicationTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import org.h2.tools.Server;
2525
import org.junit.jupiter.api.AfterEach;
2626
import org.junit.jupiter.api.BeforeEach;
27-
// import org.junit.jupiter.api.Test;
27+
import org.junit.jupiter.api.Test;
2828
import org.junit.jupiter.api.extension.ExtendWith;
2929

3030

@@ -93,7 +93,7 @@ public void tearDown() {
9393
this.server.stop();
9494
}
9595

96-
// @Test
96+
@Test
9797
public void testBatchJobApp(CapturedOutput capturedOutput) {
9898
final String INSERT_MESSAGE = "Hibernate: insert into task_run_output (";
9999
this.context = SpringApplication

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>3.0.0-SNAPSHOT</version>
17+
<version>3.0.0-M1</version>
1818
<relativePath />
1919
</parent>
2020

spring-cloud-task-samples/partitioned-batch-job/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ $ ./mvnw clean install
1818

1919
[source,shell,indent=2]
2020
----
21-
$ export SPRING_APPLICATION_JSON='{"spring":{"datasource":{"url":"jdbc:mysql://localhost:3306/<your database>","username":"<your username>","password":"<your password>","driverClassName":"org.mariadb.jdbc.Driver"}}}'
22-
$ java -jar target/partitioned-batch-job-3.0.0.jar
21+
export SPRING_APPLICATION_JSON='{"spring.datasource.url":"jdbc:mariadb://localhost:3306/<your database>","spring.datasource.password":"<your password>","spring.datasource.username":"<your username>","spring.datasource.driverClassName":"org.mariadb.jdbc.Driver"}'
22+
java -jar target/partitioned-batch-job-3.0.0.jar
2323
----
2424

2525
NOTE: This example will use require a MySql RDBMS repository and currently uses the mariadb jdbc driver to connect.

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

Lines changed: 1 addition & 1 deletion
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>3.0.0-SNAPSHOT</version>
15+
<version>3.0.0-M1</version>
1616
<relativePath />
1717
</parent>
1818

spring-cloud-task-samples/single-step-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>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0-M1</version>
1717
<relativePath />
1818
</parent>
1919

spring-cloud-task-samples/task-events/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>3.0.0-SNAPSHOT</version>
16+
<version>3.0.0-M1</version>
1717
<relativePath />
1818
</parent>
1919

0 commit comments

Comments
 (0)