Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2221

Add FindBugs to the build process

    Details

    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      FindBugs is a standard tool to perform static analysis on your code in order to detect common problems.

      There is a plugin that allows it to be run as part of Maven, and fail the build if the tests don't pass.

      From initial testing, there are a number of issues in DSpace, which we won't be able to fix immediately.

      Proposal (and pull request) is to add a profile to the build which can be run by adding -Pfindbugs to the build. Ultimately as issues are resolved and/or annotated (annotation dependencies are included), then we can consider enabling as part of the continuous integration process.

      Pull Request:
      https://github.com/DSpace/DSpace/pull/710

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                grahamtriggs Graham Triggs
                Reporter:
                grahamtriggs Graham Triggs
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: