You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/12/05 13:27:00 UTC

[jira] [Commented] (MPOM-376) Spotless importOrder should be taken into consideration

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

Konrad Windszus commented on MPOM-376:
--------------------------------------

This is because palantir also defines an import order (https://google.github.io/styleguide/javaguide.html#s3.3.3-import-ordering-and-spacing) and as it is applied afterwards overwrites the one established by {{importOrder}}.

> Spotless importOrder should be taken into consideration
> -------------------------------------------------------
>
>                 Key: MPOM-376
>                 URL: https://issues.apache.org/jira/browse/MPOM-376
>             Project: Maven POMs
>          Issue Type: Bug
>          Components: maven
>    Affects Versions: MAVEN-38
>            Reporter: Slawomir Jaranowski
>            Priority: Major
>
> Configuration items in spotless should be in correct order.
> Currently  importOrder is not taken into consideration
> So  imports are sorted in wrong way, not corresponding to configuration.
> https://github.com/diffplug/spotless/issues/1417



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