版权声明:本文为博主原创文章,遵循CC 4.0 BY版权协议,转载请附上原文出处链接和本声明。

            </div>
<!--一个博主专栏付费入口-->
<!--一个博主专栏付费入口结束-->
<link rel="stylesheet" href="https://csdnimg.cn/release/phoenix/template/css/ck_htmledit_views-833878f763.css">
<div id="content_views" class="markdown_views prism-github-gist">
<!-- flowchart 箭头图标 勿删 -->
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;">
<path stroke-linecap="round" d="M5,0 0,2.5 5,5z" id="raphael-marker-block" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);"></path>
</svg>
<p></p><div class="toc"><h3>Springcloud的版本依赖问题version</h3><ul><ul><li><a href="#_1" rel="nofollow">写在前面</a></li><li><a href="#Greenwich__17" rel="nofollow">一、Greenwich 系列(按照从最新系列介绍)</a></li><ul><li><a href="#11GreenwichSR1_18" rel="nofollow">1.1、Greenwich.SR1</a></li><li><a href="#12GreenwichSR2_55" rel="nofollow">1.2、Greenwich.SR2</a></li><li><a href="#13GreenwichSR3_91" rel="nofollow">1.3、Greenwich.SR3</a></li><li><a href="#14GreenwichRELEASE_128" rel="nofollow">1.4、Greenwich.RELEASE</a></li></ul><li><a href="#Finchley__164" rel="nofollow">二、Finchley 系列</a></li><ul><li><a href="#21FinchleySR1_165" rel="nofollow">2.1、Finchley.SR1</a></li><li><a href="#22FinchleySR2_199" rel="nofollow">2.2、Finchley.SR2</a></li><li><a href="#23FinchleySR3_233" rel="nofollow">2.3、Finchley.SR3</a></li><li><a href="#24FinchleySR4_236" rel="nofollow">2.4、Finchley.SR4</a></li><li><a href="#25FinchleyRELEASE_238" rel="nofollow">2.5、Finchley.RELEASE</a></li></ul><li><a href="#Edgware__274" rel="nofollow">三、Edgware 系列</a></li><ul><li><a href="#31EdgwareSR1_275" rel="nofollow">3.1、Edgware.SR1</a></li><li><a href="#32EdgwareSR2_276" rel="nofollow">3.2、Edgware.SR2</a></li><li><a href="#33EdgwareSR3_277" rel="nofollow">3.3、Edgware.SR3</a></li><li><a href="#34EdgwareSR4_278" rel="nofollow">3.4、Edgware.SR4</a></li><li><a href="#35EdgwareSR5_279" rel="nofollow">3.5、Edgware.SR5</a></li><li><a href="#36EdgwareSR6_280" rel="nofollow">3.6、Edgware.SR6</a></li><li><a href="#37EdgwareRELEASE_281" rel="nofollow">3.7、Edgware.RELEASE</a></li></ul><li><a href="#Dalston__282" rel="nofollow">四、Dalston 系列</a></li><ul><li><a href="#41DalstonSR5_283" rel="nofollow">4.1、Dalston.SR5</a></li><li><a href="#42DalstonSR4_284" rel="nofollow">4.2、Dalston.SR4</a></li><li><a href="#43DalstonSR3_285" rel="nofollow">4.3、Dalston.SR3</a></li><li><a href="#44DalstonSR2_286" rel="nofollow">4.4、Dalston.SR2</a></li><li><a href="#45DalstonSR1_287" rel="nofollow">4.5、Dalston.SR1</a></li><li><a href="#46DalstonRELEASE_288" rel="nofollow">4.6、Dalston.RELEASE</a></li></ul><li><a href="#Camden__290" rel="nofollow">五、Camden 系列</a></li><ul><li><a href="#51CamdenSR7_291" rel="nofollow">5.1、Camden.SR7</a></li><li><a href="#52CamdenSR6_292" rel="nofollow">5.2、Camden.SR6</a></li><li><a href="#53CamdenSR5_293" rel="nofollow">5.3、Camden.SR5</a></li><li><a href="#54CamdenSR4_294" rel="nofollow">5.4、Camden.SR4</a></li><li><a href="#55CamdenSR3_295" rel="nofollow">5.5、Camden.SR3</a></li><li><a href="#56CamdenSR2_296" rel="nofollow">5.6、Camden.SR2</a></li><li><a href="#57CamdenSR1_297" rel="nofollow">5.7、Camden.SR1</a></li><li><a href="#58CamdenRELEASE_298" rel="nofollow">5.8、Camden.RELEASE</a></li></ul><li><a href="#Brixton__300" rel="nofollow">六、Brixton 系列</a></li><ul><li><a href="#61BrixtonSR7_301" rel="nofollow">6.1、Brixton.SR7</a></li><li><a href="#62BrixtonSR6_302" rel="nofollow">6.2、Brixton.SR6</a></li><li><a href="#63BrixtonSR5_303" rel="nofollow">6.3、Brixton.SR5</a></li><li><a href="#64BrixtonSR4_304" rel="nofollow">6.4、Brixton.SR4</a></li><li><a href="#65BrixtonSR3_305" rel="nofollow">6.5、Brixton.SR3</a></li><li><a href="#66BrixtonSR2_306" rel="nofollow">6.6、Brixton.SR2</a></li><li><a href="#67BrixtonSR1_307" rel="nofollow">6.7、Brixton.SR1</a></li><li><a href="#68BrixtonRELEASE_308" rel="nofollow">6.8、Brixton.RELEASE</a></li></ul><li><a href="#Angel__310" rel="nofollow">七、Angel 系列</a></li><ul><li><a href="#71AngelSR6_311" rel="nofollow">7.1、Angel.SR6</a></li><li><a href="#72AngelSR5_312" rel="nofollow">7.2、Angel.SR5</a></li></ul><li><a href="#_313" rel="nofollow">附图</a></li></ul></ul></div><p></p>

写在前面

当我们使用SpringCloud时候,需要引入依赖管理,如下图,以下内容就总结下 version的问题

<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

一、Greenwich 系列(按照从最新系列介绍)

1.1、Greenwich.SR1

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.1.3.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR1</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.1.1.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.1.1.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.1.1.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.1.1.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.1.1.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.1.1.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.1.1.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>2.0.1.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.1.1.RELEASE</spring-cloud-gateway.version>
<spring-cloud-gcp.version>1.1.1.RELEASE</spring-cloud-gcp.version>
<spring-cloud-kubernetes.version>1.0.1.RELEASE</spring-cloud-kubernetes.version>
<spring-cloud-netflix.version>2.1.1.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.1.1.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.1.2.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.1.1.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Fishtown.SR2</spring-cloud-stream.version>
<spring-cloud-task.version>2.1.1.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.1.1.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.1.1.RELEASE</spring-cloud-zookeeper.version>
</properties>

1.2、Greenwich.SR2

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.1.6.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR2</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.1.2.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.1.2.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.1.2.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.1.2.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.1.3.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.1.2.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.1.2.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>2.0.2.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.1.2.RELEASE</spring-cloud-gateway.version>
<spring-cloud-gcp.version>1.1.2.RELEASE</spring-cloud-gcp.version>
<spring-cloud-kubernetes.version>1.0.2.RELEASE</spring-cloud-kubernetes.version>
<spring-cloud-netflix.version>2.1.2.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.1.2.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.1.3.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.1.2.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Fishtown.SR3</spring-cloud-stream.version>
<spring-cloud-task.version>2.1.2.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.1.2.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.1.2.RELEASE</spring-cloud-zookeeper.version>
</properties>

1.3、Greenwich.SR3

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.1.7.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.SR3</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.1.3.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.1.3.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.1.3.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.1.3.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.1.4.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.1.3.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.1.3.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>2.0.2.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.1.3.RELEASE</spring-cloud-gateway.version>
<spring-cloud-gcp.version>1.1.3.RELEASE</spring-cloud-gcp.version>
<spring-cloud-kubernetes.version>1.0.3.RELEASE</spring-cloud-kubernetes.version>
<spring-cloud-netflix.version>2.1.3.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.1.3.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.1.4.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.1.3.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Fishtown.SR4</spring-cloud-stream.version>
<spring-cloud-task.version>2.1.3.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.1.3.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.1.3.RELEASE</spring-cloud-zookeeper.version>
</properties>

1.4、Greenwich.RELEASE

<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.1.2.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Greenwich.RELEASE</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.1.0.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.1.0.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.1.0.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.1.0.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.1.0.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.1.0.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.1.0.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>2.0.0.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.1.0.RELEASE</spring-cloud-gateway.version>
<spring-cloud-gcp.version>1.1.0.RELEASE</spring-cloud-gcp.version>
<spring-cloud-kubernetes.version>1.0.0.RELEASE</spring-cloud-kubernetes.version>
<spring-cloud-netflix.version>2.1.0.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.1.0.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.1.0.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.1.0.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Fishtown.RELEASE</spring-cloud-stream.version>
<spring-cloud-task.version>2.1.0.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.1.0.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.1.0.RELEASE</spring-cloud-zookeeper.version>
</properties>

二、Finchley 系列

2.1、Finchley.SR1

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.0.3.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR1</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.0.0.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.0.0.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.0.0.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.0.1.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.0.1.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.0.1.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.0.1.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>1.0.0.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.0.1.RELEASE</spring-cloud-gateway.version>
<spring-cloud-netflix.version>2.0.1.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.0.1.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.0.0.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.0.1.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Elmhurst.SR1</spring-cloud-stream.version>
<spring-cloud-task.version>2.0.0.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.0.1.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.0.0.RELEASE</spring-cloud-zookeeper.version>
</properties>

2.2、Finchley.SR2

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.0.4.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.SR2</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.0.1.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.0.0.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.0.1.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.0.2.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.0.2.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.0.1.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.0.2.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>1.0.0.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.0.2.RELEASE</spring-cloud-gateway.version>
<spring-cloud-netflix.version>2.0.2.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.0.2.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.0.1.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.0.2.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Elmhurst.SR1</spring-cloud-stream.version>
<spring-cloud-task.version>2.0.0.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.0.2.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.0.0.RELEASE</spring-cloud-zookeeper.version>
</properties>

2.3、Finchley.SR3

这个不知道为什么会找不到相关的依赖

2.4、Finchley.SR4

这个不知道为什么会找不到相关的依赖

2.5、Finchley.RELEASE

	<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies-parent</artifactId>
<version>2.0.2.RELEASE</version>
<relativePath/>
</parent>
<artifactId>spring-cloud-dependencies</artifactId>
<version>Finchley.RELEASE</version>
<name>spring-cloud-dependencies</name>
<description>Spring Cloud Dependencies</description>
<packaging>pom</packaging>
<properties>
<main.basedir>${basedir}/../..</main.basedir>
<spring-cloud-aws.version>2.0.0.RELEASE</spring-cloud-aws.version>
<spring-cloud-bus.version>2.0.0.RELEASE</spring-cloud-bus.version>
<spring-cloud-cloudfoundry.version>2.0.0.RELEASE</spring-cloud-cloudfoundry.version>
<spring-cloud-commons.version>2.0.0.RELEASE</spring-cloud-commons.version>
<spring-cloud-config.version>2.0.0.RELEASE</spring-cloud-config.version>
<spring-cloud-consul.version>2.0.0.RELEASE</spring-cloud-consul.version>
<spring-cloud-contract.version>2.0.0.RELEASE</spring-cloud-contract.version>
<spring-cloud-function.version>1.0.0.RELEASE</spring-cloud-function.version>
<spring-cloud-gateway.version>2.0.0.RELEASE</spring-cloud-gateway.version>
<spring-cloud-netflix.version>2.0.0.RELEASE</spring-cloud-netflix.version>
<spring-cloud-openfeign.version>2.0.0.RELEASE</spring-cloud-openfeign.version>
<spring-cloud-security.version>2.0.0.RELEASE</spring-cloud-security.version>
<spring-cloud-sleuth.version>2.0.0.RELEASE</spring-cloud-sleuth.version>
<spring-cloud-stream.version>Elmhurst.RELEASE</spring-cloud-stream.version>
<spring-cloud-task.version>2.0.0.RELEASE</spring-cloud-task.version>
<spring-cloud-vault.version>2.0.0.RELEASE</spring-cloud-vault.version>
<spring-cloud-zookeeper.version>2.0.0.RELEASE</spring-cloud-zookeeper.version>
</properties>

后面的版本都稍微有点低了,这里就不列出相关的基础依赖了

三、Edgware 系列

3.1、Edgware.SR1

3.2、Edgware.SR2

3.3、Edgware.SR3

3.4、Edgware.SR4

3.5、Edgware.SR5

3.6、Edgware.SR6

3.7、Edgware.RELEASE

四、Dalston 系列

4.1、Dalston.SR5

4.2、Dalston.SR4

4.3、Dalston.SR3

4.4、Dalston.SR2

4.5、Dalston.SR1

4.6、Dalston.RELEASE

五、Camden 系列

5.1、Camden.SR7

5.2、Camden.SR6

5.3、Camden.SR5

5.4、Camden.SR4

5.5、Camden.SR3

5.6、Camden.SR2

5.7、Camden.SR1

5.8、Camden.RELEASE

六、Brixton 系列

6.1、Brixton.SR7

6.2、Brixton.SR6

6.3、Brixton.SR5

6.4、Brixton.SR4

6.5、Brixton.SR3

6.6、Brixton.SR2

6.7、Brixton.SR1

6.8、Brixton.RELEASE

七、Angel 系列

7.1、Angel.SR6

7.2、Angel.SR5

附图

                                </div>
<link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-b6c3c6d139.css" rel="stylesheet">
</div>

原文地址:https://blog.csdn.net/qq_42105629/article/details/102798282