-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
由于distribution模块不依赖ext/apm-seata-skywalking-plugin模块,导致distribution先于ext/apm-seata-skywalking-plugin构建。
这导致release-seata.xml中

的打包动作在首次构建时不会生效。
这将进一步导致Dockerfile中的这一行
ADD ext/ /seata-server/ext
在构建镜像时会报错。
这一bug在第二次构建时会消失,因为apm-seata-skywalking-plugin在上一次构建时已经打包完成了。
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!


可以看到apm-seata-skywalking-plugin晚于distribution

Ⅲ. Describe what you expected to happen
预期是先构建apm-seata-skywalking-plugin再构建distribution
Ⅳ. How to reproduce it (as minimally and precisely as possible)
- 下载1.6.1源码包。
- 运行 mvn -Prelease-seata -Dmaven.test.skip=true clean install -U
- 观察distribution/target/seata-server-1.6.1/seata,其中没有ext子目录
Ⅴ. Anything else we need to know?
建议distribution模块依赖apm-seata-skywalking-plugin模块
Ⅵ. Environment:
- JDK version : 1.8.0_272
- Seata version: 1.6.1
- OS : Windows10
- Others: maven 3.6.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels