Kevin Risden created KNOX-1284:
----------------------------------
Summary: 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
Fix For: 1.1.0
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)