You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julio J. Gomez Diaz (Jira)" <ji...@apache.org> on 2021/11/04 20:46:00 UTC

[jira] [Comment Edited] (MRELEASE-1008) Changed formatting of pom file for multiline attributes during version bump

    [ https://issues.apache.org/jira/browse/MRELEASE-1008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17438804#comment-17438804 ] 

Julio J. Gomez Diaz edited comment on MRELEASE-1008 at 11/4/21, 8:45 PM:
-------------------------------------------------------------------------

[~elharo] This is *not* a cosmetic bug at all. It provokes unintended changes in the POM's during the release process. It should be reviewed deeply. Maven release plugin should change POM's only where it needs to manage the release process, not in other unrelated places.

This issue should *not* be closed (mark as resolved status) until it is solved. Maybe somebody comes with an idea or PR to make it work right.


was (Author: juliojgd):
[~johnlinp]This is not a cosmetic bug at all. It provokes unintended changes in the POM's during the release process. It should be reviewed deeply. Maven release plugin should change POM's only where it needs to manage the release process, not in other places.

This issue should *not* be closed until is solved. Maybe somebody comes with an idea or PR to make it work right.

> Changed formatting of pom file for multiline attributes during version bump
> ---------------------------------------------------------------------------
>
>                 Key: MRELEASE-1008
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1008
>             Project: Maven Release Plugin
>          Issue Type: Bug
>            Reporter: Roman Ivanov
>            Priority: Major
>
> during release, plugin create commit for version bump.
> BUT in addition to this it change formatting of some tags - https://github.com/checkstyle/checkstyle/commit/29a635421d9292673bbaaf0c0693d2191dfb5f18
> Plugin changes multiline attributes formatting to single-line.
> In Checkstyle project we control length of lines in files to ease code review in web. This allow us to avoid vertical scrolls, ...... .
> Such unexpected change triggered build problem right after release and make it impossible to keep user-defined formatting . 
> Also reported at: https://stackoverflow.com/questions/49085502/maven-release-plugin-changes-pom-formatting



--
This message was sent by Atlassian Jira
(v8.3.4#803005)