Skip to content

版本更新pom文件优化,统一使用revision变量管理版本号 #750

@a568277043

Description

@a568277043

更新版本需要修改每个子模块的pom文件,可以使用父pom的增加<properties> <revision>2.3.5-SNAPSHOT</revision> </properties>,所有version都可以使用<version>${revision}</version>方式进行优化,这样每次更新版本只需要改父pom的revision就可以实现版本更新,解决以下问题:

  • 将所有模块的版本号替换为${revision}占位符
  • 在根pom.xml中定义revision属性值为版本号
  • 确保所有子模块继承并使用统一的版本管理方式
    -便于后续版本发布和维护管理
  • 避免版本号不一致导致的构建问题

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