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)

Reply via email to