Re: Prevent maven-release-plugin from reformatting attributes on project element

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Prevent maven-release-plugin from reformatting attributes on project element

Bernd Eckenfels
It is quite likely that it was fixed/changed and we never fixed the broken indentions in existing poms, that's why I am still reminded of it :) I will test later.


--
http://bernd.eckenfels.net
________________________________
Von: Eric Lilja <[hidden email]>
Gesendet: Tuesday, February 4, 2020 8:41:03 PM
An: Maven Developers List <[hidden email]>
Betreff: Re: Prevent maven-release-plugin from reformatting attributes on project element

Ah, yes, I do remember the changed indentation of the tag element in the
past, put I don't recall seeing that lately. Have to check tomorrow when I
get to the office.

Bernd: Which version of the maven-release-plugin did you use?

- Eric L

On Tue, Feb 4, 2020 at 8:30 PM Bernd Eckenfels <[hidden email]>
wrote:

> Hm, for me it keeps the line breaks, it does however change the intention
> for the tag element. I thought this was configurable, but can't find it at
> the moment.
>
> Anyway this is an open (and rejected) issue:
> https://issues.apache.org/jira/browse/MRELEASE-1008
>
> Gruss
> Bernd
> --
> http://bernd.eckenfels.net
> ________________________________
> Von: Eric Lilja <[hidden email]>
> Gesendet: Tuesday, February 4, 2020 3:21:51 PM
> An: Maven Developers List <[hidden email]>
> Betreff: Prevent maven-release-plugin from reformatting attributes on
> project element
>
> Hi, we noticed that maven-release-plugin changes formatting of the project
> element, it writes the element as a single line, removing existing line
> breaks on attributes. Is it possible to make it preserve original
> formatting?
>
> We're using maven-release-plugin version 3.0.0-M1
>
> - Eric L
>