You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andre Prata (Jira)" <ji...@apache.org> on 2019/12/11 13:42:00 UTC

[jira] [Updated] (ARCHETYPE-584) Resulting root pom.xml from archetype generation has bad indentation

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

Andre Prata updated ARCHETYPE-584:
----------------------------------
    Description: 
This issue does not apply to version 3.1.0, it was introduced in version 3.1.0.

 

In our project, we have the default configuration of the root pom.xml that contains lines such as this:
{code:java}
<properties>
    <java.version>11</java.version>
    <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
</properties>
{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}
<properties>
              
  
  <java.version>11</java.version>
              
  
  <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
          

</properties>
      

{code}
This issue does *not* occur in in child module pom.xml files.

  was:
This issue does not apply to version 3.1.0, it was introduced in version 3.1.0.

 

In our project, we have the default configuration of the root pom.xml that contains lines such as this:
{code:java}
<properties>
    <java.version>11</java.version>
    <sso-client.version>1.0.15</sso-client.version>
    <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
</properties>
{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}
<properties>
              
  
  <java.version>11</java.version>
              
  
  <sso-client.version>1.0.15</sso-client.version>
              
  
  <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
          

</properties>
      

{code}
This issue does *not* occur in in child module pom.xml files.


> Resulting root pom.xml from archetype generation has bad indentation
> --------------------------------------------------------------------
>
>                 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
>
> This issue does not apply to version 3.1.0, it was introduced in version 3.1.0.
>  
> In our project, we have the default configuration of the root pom.xml that contains lines such as this:
> {code:java}
> <properties>
>     <java.version>11</java.version>
>     <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
> </properties>
> {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}
> <properties>
>               
>   
>   <java.version>11</java.version>
>               
>   
>   <spring-cloud.version>Greenwich.RELEASE</spring-cloud.version>
>           
> </properties>
>       
> {code}
> This issue does *not* occur in in child module pom.xml files.



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