azure-maven-plugins icon indicating copy to clipboard operation
azure-maven-plugins copied to clipboard

The configuration command removes all new lines from the pom

Open JasonFreeberg opened this issue 2 years ago • 2 comments

Plugin name and version

<groupId>com.microsoft.azure</groupId>
<artifactId>azure-webapp-maven-plugin</artifactId>
<version>2.5.0</version>

Actual behavior

I ran the :config command and completed the form. The configuration was saved to my pom, but it also removed every blank line on my pom, so I had to go and put these all back manually

image

I don't think it's good for the plugin to change with the pom file this much:

image

Expected behavior

Don't remove blank lines from the pom. People use them to help readability in large pom files.

Steps to reproduce the problem

JasonFreeberg avatar Apr 04 '22 18:04 JasonFreeberg

@JasonFreeberg Thanks for your report, we will investigate this issue soon.

Flanker32 avatar Apr 07 '22 14:04 Flanker32

this issue should be fixed by commit https://github.com/microsoft/azure-maven-plugins/commit/a93f2d47b9a323ff3351472cf3c7d50b1777a0c0

wangmingliang-ms avatar Sep 20 '22 08:09 wangmingliang-ms