[
https://issues.apache.org/jira/browse/YETUS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176464#comment-16176464
]
Sean Busbey commented on YETUS-549:
-----------------------------------
Also an enforcer plugin that says "make sure all of my classes in this module
have one of these annotations"
> Provide a maven enforcer plugin example that limits a downstream project to
> particular Audience Annotations
> -----------------------------------------------------------------------------------------------------------
>
> Key: YETUS-549
> URL: https://issues.apache.org/jira/browse/YETUS-549
> Project: Yetus
> Issue Type: New Feature
> Components: Audience Annotations
> Affects Versions: 0.5.0
> Reporter: Sean Busbey
>
> It would be very nice for those that annotate their public API via the
> audience annotations if they could tell their downstream users "here's how
> you fail your build if you start using things outside of what we consider
> Public."
> It might be messy / not useful if folks mix and match Public / not Public in
> their api (for example, having an Public method that returns an Private
> object), but that's a horse of a different color (Apilyzer might help them
> clean that up)
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)