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

Carsten Ziegeler resolved SLING-9166.
-------------------------------------
    Resolution: Fixed

I replaced using PropertiesUtil with the Converter (which we already use, so no 
new dependency) and copied the code from the SortingServiceTracker into this 
project. 
No dependency on commons.osgi anymore, and we can use generics for the service 
tracker as a minor additional benefit

Fixed in 
https://github.com/apache/sling-org-apache-sling-installer-core/commit/5b7963a43a3d0cc785e5a66044df4dc43803bc9b

> Installer core must not depend on  org.osgi.service.event
> ---------------------------------------------------------
>
>                 Key: SLING-9166
>                 URL: https://issues.apache.org/jira/browse/SLING-9166
>             Project: Sling
>          Issue Type: Bug
>          Components: Installer
>    Affects Versions: Installer Core 3.10.0, Installer Core 3.10.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Blocker
>             Fix For: Installer Core 3.10.4
>
>
> The latest installer core release depends on   org.osgi.service.event 
> (without any version range). Eventing must not be required for the installer 
> to work
> This is introduced by the Conditional-Package statement for 
> org.apache.sling.commons.osgi
> Previously only the required classes where included:
> org.apache.sling.commons.osgi;inline="org/apache/sling/commons/osgi/ManifestHeader*.*|org/apache/sling/commons/osgi/PropertiesUtil.*|org/apache/sling/commons/osgi/SortingServiceTracker.*"
> Now the whole package org.apache.sling.commons.osgi ins included - which is 
> wrong



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

Reply via email to