commit | 9ba28c9f2378e9a0e93e7e424bd3090e5a97a5b8 | [log] [tgz] |
---|---|---|
author | Michael Osipov <michaelo@apache.org> | Mon Mar 19 00:07:11 2018 +0100 |
committer | Michael Osipov <michaelo@apache.org> | Mon Mar 19 00:07:11 2018 +0100 |
tree | dd7a64f616c71451bbc10058ac7ece4d3742c589 | |
parent | 9f6e0e637cb4199ee9dab7291b8ff0fa6a8dccd7 [diff] |
[MPH-140] Multiple XML declarations written After MPH-138 the XML declaration is written multiple times. This is because AbstractEffectiveMojo#addMavenNamespace() did out.output(document.getRootElement()) which implicitly omitted the declaration. Now, it is always present by the Xpp3Writer and cannot be disabled. Unfortunately, we ar doing pretty-printing several times. A better solution would be highly appreciated.