You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2022/02/12 23:17:00 UTC

[jira] [Commented] (SLING-11141) Make compatible with org.apache.felix.healthcheck.generalchecks version 3.x

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

Eric Norman commented on SLING-11141:
-------------------------------------

After updating the dependency to the 3.0.0 version, I discovered that the org.apache.felix.healthcheck.generalchecks version 3.0.0 no longer exports the org.apache.felix.hc.generalchecks.util package anymore.

Also, after the changes from [~henzlerg] for SLING-9859 it looks like we now have an inlined copy of the org.apache.felix.hc.generalchecks.util package in the o.a..sling.hc.support bundle.  But that inlined package isn't exported anymore either.

So I suppose, we just exclude the package from the Import-Package instruction since we have a local copy of that package within our bundle?  That seems kind of messy, so if anyone has a better idea then speak up.

> Make compatible with org.apache.felix.healthcheck.generalchecks version 3.x
> ---------------------------------------------------------------------------
>
>                 Key: SLING-11141
>                 URL: https://issues.apache.org/jira/browse/SLING-11141
>             Project: Sling
>          Issue Type: Bug
>            Reporter: Eric Norman
>            Priority: Major
>             Fix For: Health Check Support 1.0.8
>
>
> After updating to the org.apache.felix.healthcheck.generalchecks version 3.0.0 release, the org.apache.sling.hc.support bundle fails during the feature analyzer with this error:
> {noformat}
> [ERROR] [bundle-packages] org.apache.sling:org.apache.sling.hc.support:1.0.6:  is importing package(s) org.apache.felix.hc.generalchecks.util in start level 20 but no bundle is exporting these for that start level.
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)