Il giorno mar 4 feb 2020 alle ore 16:17 Eric Lilja <mindcoo...@gmail.com> ha scritto: > > I didn't say the generated xml was invalid. It's a nuisance for us since > the formatting conflicts with our corporate settings, so we are seeing > unwelcome noise git diffs after releases.
I see. I am not aware of any such feature. If you have some tool that pretty prints XML according to your comporate rules you could invoke it in completionGoals [1] Enrico [1] http://maven.apache.org/maven-release/maven-release-plugin/prepare-mojo.html#completionGoals > > - Eric L > > On Tue, Feb 4, 2020 at 4:08 PM Enrico Olivelli <eolive...@gmail.com> wrote: > > > Eric > > What's your use case? > > As far as it creates a valid XML with the same meaning this should not be a > > problem > > > > Enrico > > > > Il Mar 4 Feb 2020, 15:22 Eric Lilja <mindcoo...@gmail.com> ha scritto: > > > > > 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 > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org