You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Slawomir Jaranowski (Jira)" <ji...@apache.org> on 2022/12/07 08:49:00 UTC

[jira] [Updated] (MRELEASE-1111) release:prepare reformat empty tags

     [ https://issues.apache.org/jira/browse/MRELEASE-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Slawomir Jaranowski updated MRELEASE-1111:
------------------------------------------
    Description: 
When we have in pom empty tags like:
{code:java}
   <configuration>
    <java>
      <palantirJavaFormat/>
      <removeUnusedImports/>
    </java>
   <configuration>
{code}
code is changed to:
{code:java}
   <configuration>
    <java>
      <palantirJavaFormat />
      <removeUnusedImports />
    </java>
   <configuration>
{code}
one more space is adde for empty tags.

Not corresponding lines should not be changed at all.

  was:
When we have in pom empty tags like:

{code}
   <configuration>
    <java>
      <palantirJavaFormat/>
      <removeUnusedImports/>
    </java>
   <configuration>
{code}

code is changed to:

{code}
   <configuration>
    <java>
      <palantirJavaFormat />
      <removeUnusedImports />
    </java>
   <configuration>
{code}

one more space is adde for empty tags.

Not corresponding for lines should not be changed at all.



> release:prepare reformat empty tags
> -----------------------------------
>
>                 Key: MRELEASE-1111
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1111
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: prepare
>    Affects Versions: 3.0.0-M7
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>
> When we have in pom empty tags like:
> {code:java}
>    <configuration>
>     <java>
>       <palantirJavaFormat/>
>       <removeUnusedImports/>
>     </java>
>    <configuration>
> {code}
> code is changed to:
> {code:java}
>    <configuration>
>     <java>
>       <palantirJavaFormat />
>       <removeUnusedImports />
>     </java>
>    <configuration>
> {code}
> one more space is adde for empty tags.
> Not corresponding lines should not be changed at all.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)