You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Larry McCay (JIRA)" <ji...@apache.org> on 2018/05/09 18:13:00 UTC

[jira] [Commented] (KNOX-1284) Enable spotbugs, errorprone, and forbiddenapis

    [ https://issues.apache.org/jira/browse/KNOX-1284?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16469231#comment-16469231 ] 

Larry McCay commented on KNOX-1284:
-----------------------------------

[~risdenk] - what is the status of this patch - are you waiting on a review?

 

> 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
>             Fix For: 1.1.0
>
>         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)