Description
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
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.
Attachments
Attachments
Issue Links
- relates to
-
YETUS-271 findbugs.sh will -1 if there are no java source code in the module.
- Resolved