apache / apache/maven-release

[MRELEASE-995] prepare-with-pom doesn't copy comments like license header

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

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

The `GenerateReleasePomsPhase` uses the MavenXpp3Writer, which means all comments are removed. In general that should not be an issue, unless there's a license added to this file as comment.

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the GenerateReleasePomsPhase and reviewing how it uses MavenXpp3Writer during prepare-with-pom. Trace how comments are handled, then verify that generated release POMs retain license headers and other comments without losing existing behavior.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.