[ 
https://issues.apache.org/jira/browse/ARCHETYPE-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17075852#comment-17075852
 ] 

Herve Boutemy commented on ARCHETYPE-587:
-----------------------------------------

Analysis:
using JDK 11, I can reproduce these strange newline
{noformat}mvn org.apache.maven.plugins:maven-archetype-plugin:3.1.1:generate 
-DarchetypeGroupId=org.apache.sling 
-DarchetypeArtifactId=sling-project-archetype -DarchetypeVersion=1.0.2{noformat}
same issue with maven-archetype-plugin:3.1.2, but no issue with 3.1.0
and as you say, no issue with JDK 8, strange
seems caused by ARCHETYPE-582

> 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.3.4#803005)

Reply via email to