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

Release script depends on the order of parent module information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.9, 0.10.0
    • None
    • Build System
    • None

    Description

      tools/generate_specific_pom.sh expects the parent module information of poms to match the order

      <groupId>..</groupId><artifactId>..</artifactId><version>..</version>
      

      However, Maven doesn't enforce any order on these xml tags.

      If the order does not match, the script fails to change the version information of the parent module which can lead to compilation and checkstyle errors:

      "Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.12.1:check (validate) on project flink-language-binding-generic: Failed during checkstyle execution: Unable to find suppressions file at location: /tools/maven/suppressions.xml: Could not find resource '/tools/maven/suppressions.xml'."
      

      Fixes like 7984acc are necessary to compensate for the script's behavior.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mxm Maximilian Michels
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: