Skip to content

[MRELEASE-1109] update-versions removes the CI-friendly ${revisions} #1275

@jira-importer

Description

@jira-importer

Marcel Stör opened MRELEASE-1109 and commented

Given: a project using CI-friendly versions as per https://maven.apache.org/maven-ci-friendly.html

  <version>${revision}</version>
  ...
  <properties>
    <revision>1.0.0-SNAPSHOT</revision>
  </properties>

If I run mvn release:update-versions (with or without {}-DautoVersionSubmodules=true{}) I expect the release plugin to change the $revision property. Instead it blindly replaces <version>${revision}</version> with the hard-coded version set on the CLI.


Affects: 2.5.3, 3.0.0-M7

Issue Links:

Remote Links:

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpriority:majorMajor loss of function

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions