[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.
3 files changed
tree: dd7a64f616c71451bbc10058ac7ece4d3742c589
  1. src/
  2. .gitignore
  3. Jenkinsfile
  4. pom.xml