[
https://issues.apache.org/jira/browse/HBASE-21881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766127#comment-16766127
]
Sean Busbey commented on HBASE-21881:
-------------------------------------
if you add it to {{pluginManagement}} but not {{plugins}} then it won't be
invoked in a normal build cycle. Instead someone would have to call its goal
manually.
Then we can add a test to the yetus personality that calls that goal.
Personally, I'd prefer to start it in the filtered test plugin list, so that it
either votes +1 or -0 instead of -1. But that's only because I worry about
folks ignore the results if we get some false starts.
> Use Forbidden API Checker to prevent future usages of forbidden api's
> ---------------------------------------------------------------------
>
> Key: HBASE-21881
> URL: https://issues.apache.org/jira/browse/HBASE-21881
> Project: HBase
> Issue Type: Improvement
> Components: build
> Reporter: Nihal Jain
> Assignee: Nihal Jain
> Priority: Major
>
> [Policeman's Forbidden API
> Checker|https://github.com/policeman-tools/forbidden-apis] provides an
> elegant way to fail build if any "forbidden api" is used in the code base.
> Here we will add the plugin to our pom.xml.
> We will discuss which all api's to put in forbidden list. Or whether to use
> the one's bundled with the plugin.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)