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

Carsten Ziegeler commented on SLING-7384:
-----------------------------------------

All artifacts under the group id org.osgi should be official artifacts. The 
alliance changed the naming scheme some time ago. Starting with R6, every spec 
api is delivered as a separate artifact. These have osgi.org as the group id 
and the full bsn (or primary package) as the artifact id. For example 
{{org.osgi:org.osgi.annotation.versioning:1.0.0}} is one of those, 
o{{rg.osgi:org.osgi.service.component.annotations}} is another one.

In general it is advisable to use these artifacts as they allow to select the 
exact apis you want to use (or annotations in this case). Artifacts like 
org.osgi:osgi-annotations are combining different artifacts into a single one 
for easier consumption. As in this case we want to use all of the provided 
annotations from that jar, it's fine. But again, in general its better to use 
the above mentioned single purpose artifacts

> Revise dependencies
> -------------------
>
>                 Key: SLING-7384
>                 URL: https://issues.apache.org/jira/browse/SLING-7384
>             Project: Sling
>          Issue Type: Improvement
>          Components: Best practices, General
>            Reporter: Oliver Lietz
>            Assignee: Oliver Lietz
>            Priority: Major
>             Fix For: Parent 33
>
>
> * use new OSGi dependencies
> * remove all dependencies (manage dependencies only)
> * update slf4j to 1.7.25



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

Reply via email to