JAVA-936: Migrate spring-cloud-task to parent-boot-2

This commit is contained in:
sampadawagde 2020-06-08 18:22:26 +05:30
parent 694261868d
commit facf0c3929
3 changed files with 13 additions and 5 deletions

View File

@ -10,9 +10,9 @@
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-1</artifactId>
<artifactId>parent-boot-2</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-1</relativePath>
<relativePath>../../parent-boot-2</relativePath>
</parent>
<modules>
@ -40,8 +40,8 @@
</dependencyManagement>
<properties>
<spring-cloud-dependencies.version>Brixton.SR7</spring-cloud-dependencies.version>
<spring-cloud-task.version>1.2.2.RELEASE</spring-cloud-task.version>
<spring-cloud-dependencies.version>Hoxton.SR4</spring-cloud-dependencies.version>
<spring-cloud-task.version>2.2.3.RELEASE</spring-cloud-task.version>
</properties>
</project>

View File

@ -45,6 +45,13 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-task-batch</artifactId>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy-dep</artifactId>
<version>${bytebuddy.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
@ -63,6 +70,7 @@
<properties>
<start-class>com.baeldung.TaskDemo</start-class>
<bytebuddy.version>1.10.10</bytebuddy.version>
</properties>
</project>

View File

@ -1,6 +1,6 @@
spring:
datasource:
url: jdbc:h2:mem:springcloud
url: jdbc:h2:mem:springcloud;DB_CLOSE_ON_EXIT=FALSE
username: sa
password:
jpa: