Skip to content

specifying version from a property does not work anymore #371

@mach-wkl

Description

@mach-wkl

We have a project with a parent pom specifying its version via a revision property and and some submodules specifying their version via that same property. This works up to maven-git-versioning-extension 5.2.1, but not anymore with 6.0.0 up to 9.10.2. We would like this to work again.

relevant parts of parent pom:

<version>${revision}</version>
<properties>
    <revision>1.2.3</revision>
</properties>

relevant parts of module poms:

  <parent>
    <version>${revision}</version>
    <relativePath>../pom.xml</relativePath>
  </parent>

"works" means the poms generated and installed contain <version>1.2.3</version>.

"does not work" means the poms generated and installed contain <version>${revision}</version> instead.

If necessary, I can provide minimal reproducers with either maven-git-versioning-extension.xml format.

(Also, I think this is something entirely different from #313.)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions