[
https://issues.apache.org/jira/browse/ARCHETYPE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17558073#comment-17558073
]
Danny Barnhoorn commented on ARCHETYPE-587:
-------------------------------------------
Same with java 17. Looks like we get one extra empty line per maven module for
every end of line in the original parent pom. Not sure if that helps finding
the issue..
> Multi-modules Archetypes' Root POM file contains empty lines in Java 11
> -----------------------------------------------------------------------
>
> Key: ARCHETYPE-587
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-587
> Project: Maven Archetype
> Issue Type: Bug
> Components: Archetypes
> Affects Versions: 3.1.1, 3.1.2
> Environment: Java 11.0.6 on Mac OS X Mojave (10.14.6), Maven 3.6.3
> Reporter: Andreas Schaefer
> Priority: Major
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)