You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Akira Ajisaka (JIRA)" <ji...@apache.org> on 2016/12/09 01:40:58 UTC

[jira] [Created] (YETUS-472) Exclude src/main/test from findbugs source folders by default

Akira Ajisaka created YETUS-472:
-----------------------------------

             Summary: Exclude src/main/test from findbugs source folders by default
                 Key: YETUS-472
                 URL: https://issues.apache.org/jira/browse/YETUS-472
             Project: Yetus
          Issue Type: Bug
          Components: Test Patch
            Reporter: Akira Ajisaka


Now I'm seeing the following failure in hadoop-yarn-server-tests module. https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/249/console
bq. branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests no findbugs output file (hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/target/findbugsXml.xml)

This issue occurs because findbugs plugin runs only on src/main/java directory by default and there is no src/main/java directory in hadoop-yarn-server-tests module (i.e. the module has test code only). That way the plugin does not output findbugsXml.xml and findbugs_runner set -1 to the module. To fix this issue, I'd like to make the findbugs source folders to src/main/java only by default.



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