Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-1284

Enable spotbugs, errorprone, and forbiddenapis

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Build
    • None

    Description

      Static build tools can help find bugs before they become a problem. These 3 static tools can start finding issues.

      Planning to enable these static build tools in warn only mode and then start fixing the warnings in follow on issues module by module. There will be a property that determines if the build fails. After warnings are fixed then can start failing the build for new failures.

       

      Discussion from knox-dev mailing list:

      http://mail-archives.apache.org/mod_mbox/knox-dev/201804.mbox/%3CCAJU9nmhjiOgfSws-XoHO_9DMK08JttAz%2B9BbGWSPgukJ0RyWag%40mail.gmail.com%3E

      Attachments

        1. KNOX-1284.patch
          16 kB
          Kevin Risden

        Issue Links

          Activity

            People

              krisden Kevin Risden
              krisden Kevin Risden
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: