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/10/22 09:47:00 UTC
[jira] [Created] (MPOM-349) Enable spotless for autoformatting
Guillaume Nodet created MPOM-349:
------------------------------------
Summary: 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
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)