[
https://issues.apache.org/jira/browse/SLING-13240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated SLING-13240:
------------------------------------
Fix Version/s: Parent 67
> 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)