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

Kevin Risden commented on KNOX-1442:
------------------------------------

The only reason I don't like splitting it up that way is that there is no way 
to guarantee each patch has no failures. Since forbiddenapis will complain 
about each of those failures.

Another option is to do it by module and have a property that is defaulted to 
false and then flipped to true for each module. Finally after all modules are 
patched, remove the extra properties and default the top level to true. It 
works but is tedious to implement.

> Enable forbiddenapis for static build checking
> ----------------------------------------------
>
>                 Key: KNOX-1442
>                 URL: https://issues.apache.org/jira/browse/KNOX-1442
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Build
>            Reporter: Kevin Risden
>            Assignee: Kevin Risden
>            Priority: Major
>             Fix For: 1.2.0
>
>         Attachments: KNOX-1442.patch, KNOX-1442.patch, KNOX-1442.patch
>
>
> Split out from KNOX-1284 specifically for forbiddenapis 
> (https://github.com/policeman-tools/forbidden-apis).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to