Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-20792

Allow shorthand invocation of spotless

    XMLWordPrintableJSON

    Details

      Description

      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.)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chesnay Chesnay Schepler
                Reporter:
                chesnay Chesnay Schepler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: