簡體   English   中英

Spring Cloud / Stream / Spring Boot的依賴關系管理和發布培訓

[英]Dependency Mgmt and Release Train for Spring Cloud / Stream / Spring Boot

這可能是一個非常基本的問題,但是我正在努力查看Spring Boot 2 Mx,Spring Cloud Finchley.x和Spring Cloud Stream Elmhurst.x之間的關系。 是否有任何文檔/自述文件解釋所有這些版本如何鏈接在一起?

我有一個需要以下dependencyManagement的項目:

  <!-- Spring Boot / Cloud / Stream dependencies -->
  <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-dependencies</artifactId>
    <version>${spring.boot.version}</version>
    <type>pom</type>
    <scope>import</scope>
  </dependency>
  <dependency>
    <groupId>org.springframework.cloud</groupId>
    <artifactId>spring-cloud-dependencies</artifactId>
    <version>${spring.cloud.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>

直到昨天,一切都運轉良好,我開始得到:原因:java.lang.AbstractMethodError:org.springframework.cloud.stream.binder.AbstractMessageChannelBinder.createProducerMessageHandler(Lorg / springframework / cloud / stream / provisioning / ProducerDestination; Lorg / springframework / cloud / stream / binder / ProducerProperties; Lorg / springframework / messaging / MessageChannel;)Lorg / springframework / messaging / MessageHandler;

這使我認為這些項目之間存在一些依賴問題。

總而言之,如果我想為這些“依賴項”使用的版本是:1)依賴於最新的快照2)依賴於最新的里程碑

在哪里可以看到這些關系? (在其中的pom.xml文件中)

目前,活頁夾的快照已斷開。 我們已經更改了2.0行上的核心項目,並且仍在固定活頁夾以適應新的API。 您可以覆蓋SCSt版本以基於M1,這是一個穩定的版本

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM