apache / apache/maven-release

[MRELEASE-649] release:prepare - ignores SNAPSHOT version in pluginManagement section

Open
#884 8 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

**[Marcus Linke](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mlinke)** opened **[MRELEASE-649](https://issues.apache.org/jira/browse/MRELEASE-649?redirect=false)** and commented

When release prepare a project with a pom.xml that defines a SNAPSHOT version in its \ section, the plugin should detect that and ask the user for the release version as is does it for dependencies versions already. This is especially needed if the project to be released is of package type 'pom' and acts as a parent pom for other projects. Otherwise this raises an error later when try to release one of these child projects.

---

**Affects:** 2.1

8 votes, 10 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing release:prepare with a pom.xml whose pluginManagement section contains a SNAPSHOT version, especially for a project with package type 'pom'. Compare this handling with the existing dependency-version prompt; done means the plugin detects the pluginManagement SNAPSHOT and asks for its release version before child-project release errors occur.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.