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

[jira] [Closed] (MPOM-349) Enable spotless for autoformatting

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

Guillaume Nodet closed MPOM-349.
--------------------------------
    Resolution: Fixed

> Enable spotless for autoformatting
> ----------------------------------
>
>                 Key: MPOM-349
>                 URL: https://issues.apache.org/jira/browse/MPOM-349
>             Project: Maven POMs
>          Issue Type: Task
>          Components: maven
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: MAVEN-38
>
>
> Discussed on 
>  * https://lists.apache.org/thread/ok9qdl1w92f9fhdkz3tmc5f65ytpppqp
>  * https://lists.apache.org/thread/md6do2dllt9cv4s311y3ky6245xmvd0w
> The proposal is to
>  * add spotless with palantir formatter (120 column, 4 spaces indent) + pom formatter (2 spaces indent + pom ordering)
>  * disable checkstyle rules enforced by the formatter
>  * enable formatter check (code style validation) by default
>  * provide a {{format}} profile (activated with the {{format}} property) to apply formatting rules automatically



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