You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2015/09/22 19:38:04 UTC

[jira] [Created] (FLINK-2739) Release script depends on the order of parent module information

Maximilian Michels created FLINK-2739:
-----------------------------------------

             Summary: Release script depends on the order of parent module information
                 Key: FLINK-2739
                 URL: https://issues.apache.org/jira/browse/FLINK-2739
             Project: Flink
          Issue Type: Bug
          Components: release
    Affects Versions: 0.9, 0.10
            Reporter: Maximilian Michels
            Priority: Minor
             Fix For: 0.10


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

{noformat}
<groupId>..</groupId><artifactId>..</artifactId><version>..</version>
{noformat}

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:

{noformat}
"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'."
{noformat}

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




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)