You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/09/21 19:03:00 UTC
[jira] [Closed] (KNOX-1284) Enable spotbugs, errorprone, and
forbiddenapis
[ https://issues.apache.org/jira/browse/KNOX-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kevin Risden closed KNOX-1284.
------------------------------
> Enable spotbugs, errorprone, and forbiddenapis
> ----------------------------------------------
>
> Key: KNOX-1284
> URL: https://issues.apache.org/jira/browse/KNOX-1284
> Project: Apache Knox
> Issue Type: Improvement
> Components: Build
> Reporter: Kevin Risden
> Assignee: Kevin Risden
> Priority: Major
> Attachments: KNOX-1284.patch
>
>
> Static build tools can help find bugs before they become a problem. These 3 static tools can start finding issues.
> * spotbugs (previously findbugs) - [https://spotbugs.github.io/]
> * errorprone - [http://errorprone.info/]
> * forbiddenapis - https://github.com/policeman-tools/forbidden-apis
> 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
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)