apache / apache/maven-release

[MRELEASE-1028] OddEven release policy does not support numeric qualifiers in versions

Open
#1,189 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
128
Forks
145
Avg merge
7h 7m
Merged PRs (30d)
3

Description

**[Robert Munteanu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=rombert)** opened **[MRELEASE-1028](https://issues.apache.org/jira/browse/MRELEASE-1028?redirect=false)** and commented

We are using `maven-release-oddeven-policy:2.5.3` in our projects to automate the way our versioning process works.

We sometimes use project versions which contain two versions, e.g. when tracking the version of an API specification or relevant external dependency. For instance, Foo Wrapper 1.1.0-1.0.5 is a bundle that wraps Foo version 1.0.5 and is itself at version 1.1.0 .

Assuming a Foo version of 1.0.5, at development time, the bundle version would be 1.1.1-1.0.5-SNAPSHOT and at release time 1.1.2-1.0.5 .

However, the odd/even release policy would propose a release version of 1.1.1-2.0.5 at release time. IIUC the change is not in line with how Maven defines versios ( 1.0.5 is just a qualifier ) and the release policy should be corrected.

---
No further details from [MRELEASE-1028](https://issues.apache.org/jira/browse/MRELEASE-1028?redirect=false)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.