[ https://issues.apache.org/jira/browse/SLING-12599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17939570#comment-17939570 ]
Carsten Ziegeler commented on SLING-12599: ------------------------------------------ And require configuration as the HC with an empty bundle list does not make that much sense https://github.com/apache/sling-org-apache-sling-servlets-resolver/commit/a4746506528aa8a7411d675c17d684e67ff6d36a > Make dependency to Apache Felix HC optional > ------------------------------------------- > > Key: SLING-12599 > URL: https://issues.apache.org/jira/browse/SLING-12599 > Project: Sling > Issue Type: Improvement > Components: Servlets > Affects Versions: Servlets Resolver 2.11.8 > Reporter: Carsten Ziegeler > Assignee: Joerg Hoh > Priority: Major > Fix For: Servlets Resolver 3.0.0 > > > SLING-12417 introduced a mandatory dependency to Apache Felix HC API. However > in scenarios where HCs are not used, this now requires to install > dependencies which are not needed at runtime. > We should make this optional > The BundledScriptTracker is also unnecessarily registered as a (useless) > HealthCheck and then registers a real HC in activate - registering in > activate is an anti pattern which should be avoided -- This message was sent by Atlassian Jira (v8.20.10#820010)