You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/09/16 15:22:00 UTC

[jira] [Assigned] (FELIX-5925) osgicheck-maven-plugin: Add check for packages with versions but without explicit provider/consumer type information

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

Carsten Ziegeler reassigned FELIX-5925:
---------------------------------------

    Assignee: Carsten Ziegeler

> osgicheck-maven-plugin: Add check for packages with versions but without explicit provider/consumer type information
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-5925
>                 URL: https://issues.apache.org/jira/browse/FELIX-5925
>             Project: Felix
>          Issue Type: Improvement
>          Components: Utils
>            Reporter: Konrad Windszus
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: osgicheck-maven-plugin 1.0.0
>
>
> It would be nice to also have a check in https://github.com/apache/felix/tree/trunk/tools/osgicheck-maven-plugin for packages with a dedicated version which do not explicitly state, whether they are provider or consumer type. Although there is a default (ConsumerType) as specified in https://osgi.org/javadoc/osgi.annotation/7.0.0/org/osgi/annotation/versioning/ProviderType.html it is reasonable to enforce a conscious decision (i.e. an explicit annotation) for the following reasons:
> - people tend to forget to think about this for new API/SPI
> - the default used to be different with the same-named bnd annotation in the past therefore relying on the default is very error prone



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