Skip to content

pom.xml: remove unneeded blank lines#2587

Closed
jbampton wants to merge 1 commit intoapache:mainfrom
jbampton:remove-blank-lines-pom
Closed

pom.xml: remove unneeded blank lines#2587
jbampton wants to merge 1 commit intoapache:mainfrom
jbampton:remove-blank-lines-pom

Conversation

@jbampton
Copy link
Member

A quick hack one liner for now. Maybe in future can be enforced with a test or formatter.

find . -name "pom.xml" -exec sed -i '/^[[:space:]]*$/d' {} +

@github-actions github-actions bot added the xml label Feb 28, 2026
@lprimak
Copy link
Contributor

lprimak commented Feb 28, 2026

-1

These blank lines separate semantic sections in the file

@lprimak
Copy link
Contributor

lprimak commented Feb 28, 2026

Im going to close this one... sorry :)

@lprimak lprimak closed this Feb 28, 2026
@jbampton jbampton deleted the remove-blank-lines-pom branch February 28, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants