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

Konrad Windszus updated SLING-12186:
------------------------------------
    Description: 
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#bypassing-git-blame-ignore-revs-in-the-blame-view)
 and optionally with Git CLI 
(https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt).
 

  was:
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#bypassing-git-blame-ignore-revs-in-the-blame-view)
 and optionally with Git CLI 
(https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt).
 


> Automatic code formatting with spotless-maven-pllugin
> -----------------------------------------------------
>
>                 Key: SLING-12186
>                 URL: https://issues.apache.org/jira/browse/SLING-12186
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>            Reporter: Konrad Windszus
>            Priority: Major
>
> 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#bypassing-git-blame-ignore-revs-in-the-blame-view)
>  and optionally with Git CLI 
> (https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt).
>  



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

Reply via email to