apache / apache/maven-release

[MRELEASE-1158] Add property to include version in development commit comment

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

Description

**[Mathias Legrand](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER307182)** opened **[MRELEASE-1158](https://issues.apache.org/jira/browse/MRELEASE-1158?redirect=false)** and commented

Currently, only the following variables are interpolated to customize the commit comment for the next development version:
- @{prefix}
- @{groupId}
- @{artifactId}
- @{releaseLabel}

I would like to have a commit comment with the version. For example, `{}Next development version 2.0.0-SNAPSHOT{`}.

It would be great to have a new property (e.g. `{}@{version{`}}) to include the current project version.

---

**Affects:** 3.1.1

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named in the issue. Start by locating the code that interpolates @{prefix}, @{groupId}, @{artifactId}, and @{releaseLabel} in the Maven release plugin, then inspect nearby tests if present. Done means the development commit comment can interpolate the current project version, such as 2.0.0-SNAPSHOT.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.