You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2021/06/30 06:20:00 UTC

[jira] [Closed] (FELIX-6437) osgicheck-maven-plugin: Using Consumer and Provider annotations in the same package should not lead to an error

     [ https://issues.apache.org/jira/browse/FELIX-6437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus closed FELIX-6437.
----------------------------------
    Resolution: Invalid

> osgicheck-maven-plugin: Using Consumer and Provider annotations in the same package should not lead to an error
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-6437
>                 URL: https://issues.apache.org/jira/browse/FELIX-6437
>             Project: Felix
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: osgicheck-maven-plugin 0.1.0
>            Reporter: Konrad Windszus
>            Priority: Major
>
> Currently using both {{@Consumer}} and {{@Provider}} annotations on different classes in the same package leads to an error in the ConsumerProviderTypeCheck (https://github.com/apache/felix-dev/blob/057bb85d7d496671755cd53cffc9e91a17c1d17c/tools/osgicheck-maven-plugin/src/main/java/org/apache/felix/maven/osgicheck/impl/checks/ConsumerProviderTypeCheck.java#L115). Following the discussion in https://lists.apache.org/thread.html/r041dc05de6b3618259e43292f939f5290ee321f67945fc171c99dc08%40%3Cdev.sling.apache.org%3E I think this should not lead to an error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)