You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jesko Jochum (JIRA)" <ji...@apache.org> on 2017/02/21 15:45:44 UTC

[jira] [Created] (MNG-6175) Regression from version 3.0.4: Whitespaces get deleted in "pom.xml".

Jesko Jochum created MNG-6175:
---------------------------------

             Summary: Regression from version 3.0.4: Whitespaces get deleted in "pom.xml".
                 Key: MNG-6175
                 URL: https://issues.apache.org/jira/browse/MNG-6175
             Project: Maven
          Issue Type: Sub-task
          Components: Plugin API
    Affects Versions: 3.3.9
            Reporter: Jesko Jochum
            Priority: Minor
             Fix For: 3.0.4


Leading and trailing whitespaces in the "pom.xml" get deleted.

Exemplary excerpt of a "pom.xml" file:
...
<properties>
<batch.sortId xml:space="preserve"> 1 </batch.sortId>
</properties>
...

Checking the "effective pom" results in:
...
<properties>
...
<batch.sortId>1</batch.sortId>
...
</properties>
...

So the leading and trailing whitespaces have been deleted. [MNG-5380] states this to be resolved since version 3.0.4.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)