apache / apache/maven-release

[MRELEASE-1047] Creating a release version already released corrupts the source pom files if the tag name is already in SCM.

Open
#1,229 0 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

**[Peter Grape](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=peter.grape)** opened **[MRELEASE-1047](https://issues.apache.org/jira/browse/MRELEASE-1047?redirect=false)** and commented

**Problem:**

If you create a release with the same version that has already been released, causes the release process to be halted due to a SCM Tag name conflict in Git and most likely other SCMs as well and the POM files will enter a invalid state since the released versions are checked in.

**Suggested solution:**

A verification step needs to be added to make sure the generated tag name is not already set. and stop the process there.

 

---

**Affects:** 2.5.3, 3.0.0-M1

1 votes, 1 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files or tests are named. Trace the release process that generates and checks the SCM tag, then inspect existing release tests; done means an already-existing tag stops the process before source POM files are changed and leaves them valid.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.