seata 下载2.0分支项目编译部署后,业务项目引用报错

gt0wga4j  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(18)
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

项目不能导入自行打包的seata2.0项目

Ⅱ. Describe what happened

1.下载seata2.0 项目,
2.往build.pom中添加 distributionManagement 节点
3.使用 ./mvnw clean deploy -DskipTests=true 部署到nexus
4.业务项目引用

<dependency>
           <groupId>io.seata</groupId>
           <artifactId>seata-spring-boot-starter</artifactId>
           <version>1.5.0-SNAPSHOT</version>
       </dependency>

5.对业务项目执行 mvn clean package -DskipTests=true
执行报错:

项目配置基本没动,是我哪个步骤有问题吗?

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

  1. xxx
  2. xxx
  3. xxx

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • JDK version :1.8
  • Seata version: 1.5.SNAPSHOT
  • OS : windows
  • Others:
k2arahey

k2arahey1#

1.5之后编译和打包有些变化,其实可以简单暴力一点,把${revision}全局替换成你想要的版本在发布就行了。

相关问题