Uploaded image for project: 'Yetus'
  1. Yetus
  2. YETUS-472

Exclude src/test/java from findbugs source folders by default

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Precommit
    • Labels:
      None

      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

        1. YETUS-472.01.patch
          1.0 kB
          Akira Ajisaka

          Issue Links

            Activity

              People

              • Assignee:
                aajisaka Akira Ajisaka
                Reporter:
                aajisaka Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: