title: Custom Maven Archetype bad xml formatting with Java 11
body: <p>I'm facing a problem with custom Maven archetypes using Java 11. <br />
  I defined a custom archetype and when I run the <code>mvn archetype:generate</code> the tool generates a correct application but with a formatting glitch in the file pom.xml.</p>
  <p>This is a snipped from the original pom.xml file packed inside the archetype:</p>
  <pre><code>    &lt;groupId&gt;$thegroupId&lt;/groupId&gt;
      &lt;artifactId&gt;$theArtifactId&lt;/artifactId&gt;
      &lt;version&gt;$theVersion&lt;/version&gt;
      &lt;description&gt;Archetype standard&lt;/description&gt;
  </code></pre>
  <p>This is the pom.xml of the generated Java application</p>
  <pre><code> &lt;groupId&gt;com.aruba.test&lt;/groupId&gt;
              
    
    
    
    &lt;artifactId&gt;test-no-db&lt;/artifactId&gt;
              
    
    
    
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
              
    
    
    
    &lt;description&gt;Archetype standard&lt;/description&gt;
  </code></pre>
  <p>Other files (.java and others xml files) are formatted without any glitch. The only trouble is related with the pom.xml file.</p>
  <p>I did several tests and the only solution is to downgrade to java 8. Using this JDK version, the pom.xml is formatted as expected.</p>
  <p>Is this situation familiar for any?</p>
  <p>Thanks</p>