[ 
https://issues.apache.org/jira/browse/SLING-13240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18089918#comment-18089918
 ] 

Konrad Windszus commented on SLING-13240:
-----------------------------------------

Even if bound to the {{{verify}}} phase it is still executed in M2: 
https://github.com/eclipse-m2e/m2e-core/issues/2193

> Parent: Move spotless formatting/checking to verify phase
> ---------------------------------------------------------
>
>                 Key: SLING-13240
>                 URL: https://issues.apache.org/jira/browse/SLING-13240
>             Project: Sling
>          Issue Type: Improvement
>          Components: General
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>            Priority: Major
>             Fix For: Parent 67
>
>
> Currently spotless check/format runs at a very early ([phase: 
> process-sources|https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#default-lifecycle])
> That sometimes leads to unexpected issues/interrupting work unnecessarily.
> Also with SLING-13125 introducing auto-formatting it leads to formatting 
> sources also in Eclipse with m2e (as incremental build automatically executes 
> plugins up to phase {{{compile}}}).
> Therefore execution should be moved to a later phase like `verify` which is 
> skipped in IDEs and can be easily skipped with CLI invocations.
> This was discussed in 
> https://lists.apache.org/thread/zq8h1f3wkgnjrbv23lwxvq0qzmvw0o28



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

Reply via email to