[
https://issues.apache.org/jira/browse/SLING-11408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17557892#comment-17557892
]
Konrad Windszus edited comment on SLING-11408 at 6/23/22 9:00 AM:
------------------------------------------------------------------
The
[PR|https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/39]
reduced the libs folder to
# commons-cli-1.4.jar
# commons-lang3-3.12.0.jar
# commons-text-1.9.jar
# org.apache.felix.cm.json-1.0.6.jar
# org.apache.sling.commons.johnzon-1.2.14.jar
# org.apache.sling.feature-1.2.30.jar
# org.apache.sling.feature.launcher-1.2.1-SNAPSHOT.jar
# org.osgi.service.configurator-1.0.0.jar
# org.osgi.util.converter-1.0.9.jar
# org.osgi.util.function-1.0.0.jar
# osgi.core-8.0.0.jar
# slf4j-api-1.7.25.jar
was (Author: kwin):
The
[PR](https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/39)
reduced the libs folder to
# commons-cli-1.4.jar
# commons-lang3-3.12.0.jar
# commons-text-1.9.jar
# org.apache.felix.cm.json-1.0.6.jar
# org.apache.sling.commons.johnzon-1.2.14.jar
# org.apache.sling.feature-1.2.30.jar
# org.apache.sling.feature.launcher-1.2.1-SNAPSHOT.jar
# org.osgi.service.configurator-1.0.0.jar
# org.osgi.util.converter-1.0.9.jar
# org.osgi.util.function-1.0.0.jar
# osgi.core-8.0.0.jar
# slf4j-api-1.7.25.jar
> Make sure that feature launcher contains only necessary runtime dependencies
> ----------------------------------------------------------------------------
>
> Key: SLING-11408
> URL: https://issues.apache.org/jira/browse/SLING-11408
> Project: Sling
> Issue Type: Improvement
> Components: Feature Model
> Affects Versions: Feature Model Launcher 1.2.0
> Reporter: Konrad Windszus
> Assignee: Konrad Windszus
> Priority: Major
> Fix For: Feature Model Launcher 1.2.2
>
>
> Feature Launcher uses {{appassembler-maven-plugin}} for packaging all runtime
> dependencies into the classpath. As a lot of required dependencies have scope
> "provided" (due to primary usage within OSGi) it is hard to come up with a
> correct runtime classpath. The enforcer rule from SLING-11369 should be
> leveraged to automatically enforce a complete runtime classpath.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)