Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.1.1, 3.1.2
-
None
-
None
Description
This issue does not apply to version 3.1.0, it was introduced in version 3.1.1.
In our project, we have the default configuration of the root pom.xml that contains lines such as this:
<properties> <java.version>11</java.version> <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version> </properties>
These lines are still in good shape when added to the jar artifact. However, upon generating the project from the archetype, we get the following (note also the whitespace on the blank lines hinting at some indentation attempts, not just the unexpected line breaks)
<properties> <java.version>11</java.version> <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version> </properties>
This issue does not occur in in child module pom.xml files.
Attachments
Issue Links
- blocks
-
SLING-10596 Root project pom has lots of extra empty lines
- Open
- duplicates
-
ARCHETYPE-637 PomUtils.addNewModule Pretty-Printing has issue on java 9+
- Closed
- is broken by
-
ARCHETYPE-568 Remove dom4j library
- Closed
- is related to
-
ARCHETYPE-587 Multi-modules Archetypes' Root POM file contains empty lines in Java 11
- Closed
- links to