Skip to content

Commit ff9220e

Browse files
update spring and java version + restructure
1 parent db3bac1 commit ff9220e

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed

spring-batch-admin/spring-cloud-data-flow-server/pom.xml

+12-13
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
34
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
45
<modelVersion>4.0.0</modelVersion>
56

@@ -15,28 +16,26 @@
1516
<parent>
1617
<groupId>org.springframework.boot</groupId>
1718
<artifactId>spring-boot-starter-parent</artifactId>
18-
<version>1.5.17.RELEASE</version>
19+
<version>2.1.5.RELEASE</version>
1920
<relativePath /> <!-- lookup parent from repository -->
2021
</parent>
2122

2223
<properties>
23-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
24-
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
25-
<java.version>1.8</java.version>
26-
27-
<spring-cloud-dataflow.version>1.7.1.RELEASE</spring-cloud-dataflow.version>
28-
<hibernate.version>5.3.7.Final</hibernate.version>
24+
<java.version>11</java.version>
25+
<spring-cloud-starter-dataflow-server.version>2.1.0.RELEASE</spring-cloud-starter-dataflow-server.version>
26+
<h2.version>1.4.193</h2.version>
2927
</properties>
3028

3129
<dependencies>
3230
<dependency>
33-
<groupId>org.springframework.boot</groupId>
34-
<artifactId>spring-boot-starter</artifactId>
31+
<groupId>org.springframework.cloud</groupId>
32+
<artifactId>spring-cloud-starter-dataflow-server</artifactId>
33+
<version>${spring-cloud-starter-dataflow-server.version}</version>
3534
</dependency>
3635
<dependency>
37-
<groupId>org.springframework.cloud</groupId>
38-
<artifactId>spring-cloud-dataflow-server-local</artifactId>
39-
<version>${spring-cloud-dataflow.version}</version>
36+
<groupId>com.h2database</groupId>
37+
<artifactId>h2</artifactId>
38+
<version>${h2.version}</version>
4039
</dependency>
4140
</dependencies>
4241

Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
package com.codenotfound.batch;
1+
package com.codenotfound;
22

33
import org.springframework.boot.SpringApplication;
44
import org.springframework.boot.autoconfigure.SpringBootApplication;
55
import org.springframework.cloud.dataflow.server.EnableDataFlowServer;
6+
import org.springframework.cloud.deployer.spi.cloudfoundry.CloudFoundryDeployerAutoConfiguration;
67

78
@EnableDataFlowServer
8-
@SpringBootApplication
9+
@SpringBootApplication(
10+
exclude = {CloudFoundryDeployerAutoConfiguration.class})
911
public class SpringDataFlowServerApplication {
1012

1113
public static void main(String[] args) {
12-
SpringApplication.run(SpringDataFlowServerApplication.class, args);
14+
SpringApplication.run(SpringDataFlowServerApplication.class,
15+
args);
1316
}
1417
}

0 commit comments

Comments
 (0)