You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kengo Seki (JIRA)" <ji...@apache.org> on 2015/05/01 15:01:06 UTC

[jira] [Updated] (HADOOP-11884) test-patch.sh should pull the real findbugs version

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

Kengo Seki updated HADOOP-11884:
--------------------------------
    Attachment: HADOOP-11884.001.patch

Attaching a patch. It greps the generated file and determines findbugs' version.

We can also read pom.xml, but in some cases like the order of sibling elements is changed, it is difficult to parse an XML without some tools like xmllint.

> test-patch.sh should pull the real findbugs version
> ---------------------------------------------------
>
>                 Key: HADOOP-11884
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11884
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>            Reporter: Allen Wittenauer
>              Labels: newbie
>         Attachments: HADOOP-11884.001.patch
>
>
> test-patch.sh currently uses the CLI utilities for findbugs to discover the version.  This isn't really accurate since maven pulls down the jars as part of the pom.  It should be possible to either read the generated HTML file(s) or perhaps read the pom to discover the real version that was used.



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