Skip to content

1.5.0的seata-all的pom中用了createDependencyReducedPom和flatten,编译后生成的.pom文件的parent的version没替换成1.5.0,项目使用1.5.0后再编译会报错 #4618

@sixlei

Description

@sixlei
  • I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description

1.5.0的seata-all的pom中用了createDependencyReducedPom和flatten,编译后生成的.pom文件的parent的version没替换成1.5.0,项目使用1.5.0后再编译会报错
seata-all:
`
io.seata
seata-build
${revision}
../build/pom.xml

4.0.0

<artifactId>seata-all</artifactId>

<name>Seata All-in-one ${project.version}</name>
<description>Seata is an easy-to-use, high-performance, java based, open source distributed transaction solution.</description>

<properties>
    <revision>1.5.0</revision>
</properties>
org.apache.maven.plugins maven-shade-plugin package shade true false false true`

打包后生成的seata-all-1.5.0.pom:

<parent> <artifactId>seata-build</artifactId> <groupId>io.seata</groupId> <version>${revision}</version> <relativePath>../build/pom.xml</relativePath> </parent>

其他项目引用seata-all:1.5.0后编译报错信息:
`Could not transfer artifact io.seata:seata-build:pom:${revision} from/to aliyun-central-repos (http://maven.aliyun.com/nexus/content/groups/public): TransferFailedException

Ⅲ. Describe what you expected to happen

seata-all的rversion应该改成直接改成1.5.0吧

  • JDK version : 1.8
  • Seata version: 1.5.0
  • OS :
  • Others:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions