You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/12/29 10:32:00 UTC

[jira] [Closed] (FLINK-20792) Allow shorthand invocation of spotless

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

Chesnay Schepler closed FLINK-20792.
------------------------------------
    Resolution: Fixed

master: bf72938a5b67b3cd88a16b1458f10fc4f37b6d41
1.12: e3ffad2eb3eaaf88c0d71d8665ceb723d8704648
1.11: df2a94eb901ba3023cfe49b594e67bfafb346a02

> Allow shorthand invocation of spotless
> --------------------------------------
>
>                 Key: FLINK-20792
>                 URL: https://issues.apache.org/jira/browse/FLINK-20792
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.13.0, 1.11.4, 1.12.1
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0, 1.11.4, 1.12.1
>
>
> It is currently not possible to just run {{mvn spotless:check}}, but instead one needs to use the fully qualified name of the plugin, i.e., {{mvn com.diffplug.spotless:spotless-maven-plugin:check}}.
> This is due to {{force-shading}}; this module is declared as a child of the flink-parent pom (i.e., the root pom of the project), but is not actually declaring that very module as it's parent.
> This seems to throw of maven, which fails to retrieve the plugin information from the parent.
> (Essentially, flink-parent tells maven "run this plugin for each of my children", maven asks child "so what should we actually do", child says "duh ask my parent", but that parent is just some random dude that doesn't know anything and maven doesn't know what to do.)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)