[
https://issues.apache.org/jira/browse/SLING-12186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17803803#comment-17803803
]
Konrad Windszus commented on SLING-12186:
-----------------------------------------
I added a wiki page with hints what to consider with the update to Parent 60:
https://cwiki.apache.org/confluence/x/SI75E
> Automatic code formatting with spotless-maven-plugin
> ----------------------------------------------------
>
> Key: SLING-12186
> URL: https://issues.apache.org/jira/browse/SLING-12186
> Project: Sling
> Issue Type: Improvement
> Components: General
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Parent 60 (Java 11)
>
>
> As discussed in
> https://lists.apache.org/thread/t32o425mttoftfr622wkvp4s5br4wzt1 we should
> introduce
> [spotless-maven-plugin|https://github.com/diffplug/spotless/tree/main/plugin-maven]
> to enforce a common code formatting similar to what was done for Maven in
> https://issues.apache.org/jira/browse/MPOM-349.
> With each reformatting a {{.git-blame-ignore-revs}} should be added/enriched
> which is considered by git blame in GitHub
> (https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view)
> and optionally with Git CLI
> (https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt).
>
> I propose to reuse the following configuration files from Apache Maven Shared
> Resources
> *
> https://github.com/apache/maven-shared-resources/blob/master/src/main/resources/config/maven-eclipse-importorder.txt
> *
> https://github.com/apache/maven-shared-resources/blob/master/src/main/resources/config/maven-header-plain.txt
--
This message was sent by Atlassian Jira
(v8.20.10#820010)