[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2024-02-04 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on ARCHETYPE-584:
--

newur commented on PR #35:
URL: https://github.com/apache/maven-archetype/pull/35#issuecomment-1925768656

   I think so too and would love to try it out. Unfortunately 
maven-archetype-plugin version 3.3.0 is not released, yet.
   
   Any estimated time when the release will happen? Or any way to test this, 
besides building the plugin locally?




> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: bugflux
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2024-01-30 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on ARCHETYPE-584:
--

kwin commented on PR #35:
URL: https://github.com/apache/maven-archetype/pull/35#issuecomment-191892

   I think this is superseded by #128 




> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: bugflux
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2023-07-24 Thread Filip Stachowiak (Jira)


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

Filip Stachowiak commented on ARCHETYPE-584:


Maybe this will help you chase the bubble? 
[https://issues.apache.org/jira/projects/ARCHETYPE/issues/ARCHETYPE-647|https://issues.apache.org/jira/projects/ARCHETYPE/issues/ARCHETYPE-647?]

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: bugflux
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2023-04-23 Thread Elliotte Rusty Harold (Jira)


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

Elliotte Rusty Harold commented on ARCHETYPE-584:
-

The Stack Overflow threads are interesting. That smells like a JDK bug to me, 
though I do think it's one worth working around. I'm still open to a PR here, 
though as with any other PR though as with any other PR it needs to have tests 
and not break the CI. So far no one, me included, has managed to do all of 
this. It's like we're chasing a bubble under a rug and wherever we push it 
down, it pops back up again in another part of the carpet. :-(

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: bugflux
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-08-02 Thread Ruwen Reddig (Jira)


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

Ruwen Reddig commented on ARCHETYPE-584:


I committed a new solution attempt. For reasons that are unclear for me, I 
cannot see the maven CI pipeline anymore at 
[https://ci-builds.apache.org/job/Maven/job/maven-box/]

I assume that the change will break some other random part/test, but without 
seeing the result it is hard to tell.

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-08-02 Thread Avi Youkhananov (Jira)


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

Avi Youkhananov commented on ARCHETYPE-584:
---

Happens also with JDK 14 and 16 .
Its really annoying.

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-07-04 Thread Ruwen Reddig (Jira)


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

Ruwen Reddig commented on ARCHETYPE-584:


[~elharo] googled the problem a bit and [this stackoverflow 
answer|https://stackoverflow.com/a/58481951] provides an explanation that makes 
sense and also fits the expected timeline (change introduced in JDK 9).

 

The change in `ToStream.java` that is mentioned on SO, can be found here: 
https://github.com/openjdk/jdk/commit/1619ba484211c6f1b93fb13e22b507faa5e9d41b

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-07-03 Thread Elliotte Rusty Harold (Jira)


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

Elliotte Rusty Harold commented on ARCHETYPE-584:
-

I wonder is there's some change in the JDK XML classes between 8 and 11 that 
could explain this? 

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-07-03 Thread Ruwen Reddig (Jira)


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

Ruwen Reddig commented on ARCHETYPE-584:


[~elharo] this depends on your definition of 'only occur with JDK 11'. I tested 
it with Java 11 and 16, and both show the described problem. In contrast to JDK 
8, which does not show any problems.

 

But don't take my word for it. I posted example here in the comments. So you 
can do further checks easily.

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-07-03 Thread Elliotte Rusty Harold (Jira)


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

Elliotte Rusty Harold commented on ARCHETYPE-584:
-

I suspect JDK11 is a red herring, or does this really only occur with JDK 11?

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2021-03-30 Thread Diego Gazzola (Jira)


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

Diego Gazzola commented on ARCHETYPE-584:
-

Hello, any chance to get this fixed?

Thanks

 
 

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2020-06-08 Thread Herve Boutemy (Jira)


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

Herve Boutemy commented on ARCHETYPE-584:
-

tested the PR: there are 4 ITs failing

can you check why, please?

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has additional newlines with JDK11

2020-05-11 Thread Ruwen Reddig (Jira)


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

Ruwen Reddig commented on ARCHETYPE-584:


Hello, since this issue just passed its 6 month, I give it a little bump.
Hope we can get this fixed soon. 

> Resulting root pom.xml from archetype generation has additional newlines with 
> JDK11
> ---
>
> Key: ARCHETYPE-584
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-584
> Project: Maven Archetype
>  Issue Type: Bug
>  Components: Archetypes
>Affects Versions: 3.1.1, 3.1.2
>Reporter: Andre Prata
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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:
> {code:java}
> 
> 11
> Greenwich.RELEASE
> 
> {code}
> 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)
> {code:java}
> 
>   
>   
>   11
>   
>   
>   Greenwich.RELEASE
>   
> 
>   
> {code}
> This issue does *not* occur in in child module pom.xml files.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)