[ https://issues.apache.org/jira/browse/YETUS-472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15733990#comment-15733990 ]
Akira Ajisaka commented on YETUS-472: ------------------------------------- Attached a patch to skip running findbugs on the modules which have only test code. > Exclude src/test/java 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 > Assignee: Akira Ajisaka > Attachments: YETUS-472.01.patch > > > 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)