Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-587

Multi-modules Archetypes' Root POM file contains empty lines in Java 11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.1, 3.1.2
    • None
    • Archetypes
    • None
    • Java 11.0.6 on Mac OS X Mojave (10.14.6), Maven 3.6.3

    Description

      Building a project from an multi-modules archetype like Sling Project Archetype (https://github.com/apache/sling-project-archetype) will yield a parent POM that contains multiple empty lines between each line inside the POM.

      This is an issue in Java 11 but not in Java 8.

      This seems to be related to issue 584 but its in this case this is only an issue in Java 11 and the fix proposed in 584 does not seem to fix it. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andysch Andreas Schaefer
              Votes:
              6 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: