udate task-apps pom versions
This commit is contained in:
@@ -10,17 +10,17 @@ Otherwise follow the instructions below to build your own `monitorable` Task fro
|
||||
|
||||
Bootstrap by follow the [Task development instructions](https://docs.spring.io/spring-cloud-task/docs/2.0.0.RELEASE/reference/htmlsingle/#getting-started-developing-first-task) and then:
|
||||
|
||||
* Set the parent POM version of Boot to 2.2.0.M6 or latest
|
||||
* Set the parent POM version of Boot to 2.2.1.RELEASE or latest
|
||||
|
||||
```xml
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.0.M6</version>
|
||||
<version>2.2.1.RELEASE</version>
|
||||
<relativePath/>
|
||||
</parent>
|
||||
```
|
||||
* Make sure that `spring-cloud-dependencies` version `Hoxton.M2` or newer are imported:
|
||||
* Make sure that `spring-cloud-dependencies` version `Hoxton.RC1` or newer are imported:
|
||||
|
||||
```xml
|
||||
<dependencyManagement>
|
||||
@@ -28,7 +28,7 @@ Bootstrap by follow the [Task development instructions](https://docs.spring.io/s
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-dependencies</artifactId>
|
||||
<version>Hoxton.M2</version>
|
||||
<version>Hoxton.RC1</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
@@ -36,31 +36,31 @@ Bootstrap by follow the [Task development instructions](https://docs.spring.io/s
|
||||
```
|
||||
|
||||
* Add dependencies to enable the `Spring Cloud Task` (and optionally `Spring Task Batch`) functionality and to configure the jdbc dependencies for the task repository.
|
||||
Use version `2.2.0.M2` or newer!
|
||||
Use version `2.2.0.RC1` or newer!
|
||||
|
||||
```xml
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-starter-task</artifactId>
|
||||
<version>2.2.0.M2</version>
|
||||
<version>2.2.0.RC1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-core</artifactId>
|
||||
<version>2.2.0.M2</version>
|
||||
<version>2.2.0.RC1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Required when Spring Batch is used -->
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-batch</artifactId>
|
||||
<version>2.2.0.M2</version>
|
||||
<version>2.2.0.RC1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-stream</artifactId>
|
||||
<version>2.2.0.M2</version>
|
||||
<version>2.2.0.RC1</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
@@ -69,7 +69,7 @@ Use version `2.2.0.M2` or newer!
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-task-dependencies</artifactId>
|
||||
<version>2.2.0.M2</version>
|
||||
<version>2.2.0.RC1</version>
|
||||
<type>pom</type>
|
||||
<scope>import</scope>
|
||||
</dependency>
|
||||
@@ -107,15 +107,15 @@ To enable Prometheus metrics collection add:
|
||||
<dependency>
|
||||
<groupId>io.micrometer.prometheus</groupId>
|
||||
<artifactId>prometheus-rsocket-spring</artifactId>
|
||||
<version>0.8.0</version>
|
||||
<version>0.9.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.micrometer.prometheus</groupId>
|
||||
<artifactId>prometheus-rsocket-client</artifactId>
|
||||
<version>0.8.0</version>
|
||||
<version>0.9.0</version>
|
||||
</dependency>
|
||||
```
|
||||
Note that the version must be `0.8.0` or newer.
|
||||
Note that the version must be `0.9.0` or newer.
|
||||
|
||||
## Build
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-parent</artifactId>
|
||||
<version>2.2.0.M6</version>
|
||||
<version>2.2.1.RELEASE</version>
|
||||
<relativePath/> <!-- lookup parent from repository -->
|
||||
</parent>
|
||||
<groupId>com.example.task</groupId>
|
||||
@@ -16,8 +16,8 @@
|
||||
|
||||
<properties>
|
||||
<java.version>1.8</java.version>
|
||||
<spring-cloud.version>Hoxton.M2</spring-cloud.version>
|
||||
<spring-cloud-task.version>2.2.0.M2</spring-cloud-task.version>
|
||||
<spring-cloud.version>Hoxton.RC1</spring-cloud.version>
|
||||
<spring-cloud-task.version>2.2.0.RC1</spring-cloud-task.version>
|
||||
<prometheus-rsocket-spring.version>0.9.0</prometheus-rsocket-spring.version>
|
||||
</properties>
|
||||
|
||||
@@ -80,6 +80,10 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||
<!-- <artifactId>spring-boot-actuator-autoconfigure</artifactId>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<!-- Enable Prometheus metrics collection (via Prometheus RSocket Proxy) -->
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user