Add spring-cloud-function-dependencies and use it throughout

This commit is contained in:
Dave Syer
2017-09-15 08:43:34 +01:00
parent 55655d69ac
commit 61a902ce9a
21 changed files with 275 additions and 126 deletions

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,8 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

View File

@@ -20,30 +20,27 @@
<properties>
<java.version>1.8</java.version>
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<wrapper.version>1.0.5.RELEASE</wrapper.version>
<reactor.version>3.0.6.RELEASE</reactor.version>
<spring-cloud-stream.version>Chelsea.SR2</spring-cloud-stream.version>
<reactor.version>3.0.7.RELEASE</reactor.version>
<wrapper.version>1.0.7.RELEASE</wrapper.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-stream</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-stream-rabbit</artifactId>
<version>1.2.0.RELEASE</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-compiler</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -52,6 +49,25 @@
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-stream-dependencies</artifactId>
<version>${spring-cloud-stream.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,8 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

View File

@@ -28,15 +28,25 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-context</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,8 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

View File

@@ -20,15 +20,14 @@
<properties>
<java.version>1.8</java.version>
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<wrapper.version>1.0.5.RELEASE</wrapper.version>
<reactor.version>3.0.7.BUILD-SNAPSHOT</reactor.version>
<wrapper.version>1.0.7.RELEASE</wrapper.version>
<reactor.version>3.0.7.RELEASE</reactor.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -44,10 +43,17 @@
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Dalston.RELEASE</version>
<version>Dalston.SR3</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,9 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-task:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-context:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-task')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

View File

@@ -20,25 +20,22 @@
<properties>
<java.version>1.8</java.version>
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<wrapper.version>1.0.5.RELEASE</wrapper.version>
<reactor.version>3.0.6.RELEASE</reactor.version>
<wrapper.version>1.0.7.RELEASE</wrapper.version>
<reactor.version>3.0.7.RELEASE</reactor.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-task</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-context</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-compiler</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -47,6 +44,18 @@
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>

View File

@@ -1,7 +1,7 @@
buildscript {
ext {
springBootVersion = '1.5.2.RELEASE'
wrapperVersion = '1.0.6.RELEASE'
wrapperVersion = '1.0.7.RELEASE'
}
repositories {
mavenLocal()
@@ -41,8 +41,14 @@ ext['reactor.version'] = "3.0.7.RELEASE"
// TODO: remove this when pom.xml generator is fixed
jar.dependsOn = [thinProperties]
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-function-dependencies:${springCloudFunctionVersion}"
}
}
dependencies {
compile("org.springframework.cloud:spring-cloud-function-web:${springCloudFunctionVersion}")
compile("org.springframework.cloud:spring-cloud-function-compiler:${springCloudFunctionVersion}")
compile('org.springframework.cloud:spring-cloud-function-web')
compile('org.springframework.cloud:spring-cloud-function-compiler')
testCompile('org.springframework.boot:spring-boot-starter-test')
}

View File

@@ -20,25 +20,22 @@
<properties>
<java.version>1.8</java.version>
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
<wrapper.version>1.0.6.RELEASE</wrapper.version>
<reactor.version>3.0.7.BUILD-SNAPSHOT</reactor.version>
<reactor.version>3.0.7.RELEASE</reactor.version>
<wrapper.version>1.0.7.RELEASE</wrapper.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-web</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-context</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-compiler</artifactId>
<version>${spring-cloud-function.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -52,6 +49,18 @@
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-function-dependencies</artifactId>
<version>${spring-cloud-function.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>