Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.1.1, 3.1.2
-
None
-
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
- duplicates
-
ARCHETYPE-637 PomUtils.addNewModule Pretty-Printing has issue on java 9+
-
- Closed
-
- is caused by
-
ARCHETYPE-568 Remove dom4j library
-
- Closed
-
- relates to
-
ARCHETYPE-584 Resulting root pom.xml from archetype generation has additional newlines with JDK11
-
- Resolved
-