apache / apache/maven-release

[MRELEASE-1111] release:prepare reformat empty tags

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

**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** opened **[MRELEASE-1111](https://issues.apache.org/jira/browse/MRELEASE-1111?redirect=false)** and commented

When we have in pom empty tags like:

```java




```

code is changed to:

```java




```

one more space is adde for empty tags.

Not corresponding lines should not be changed at all.

---

**Affects:** 3.0.0-M7

**Issue Links:**
- [MPOM-377](https://issues.apache.org/jira/browse/MPOM-377) Add space before close empty elements in poms

- [MRELEASE-850](https://issues.apache.org/jira/browse/MRELEASE-850) mvn release:prepare reformats pom.xml comments

1 votes, 2 watchers

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the release:prepare behavior with a pom.xml containing the empty tags shown in the issue, and inspect the release:prepare formatting path. Done means unrelated empty tags remain unchanged and the generated pom.xml no longer gains a space before their closing slash.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
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.