You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/08/04 10:11:00 UTC

[jira] [Reopened] (SLING-11408) Make sure that feature launcher contains only necessary runtime dependencies

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

Carsten Ziegeler reopened SLING-11408:
--------------------------------------

I can't launch the launcher anymore, my lib folder only has these:
{noformat}
biz.aQute.bnd.annotation-6.3.1.jar  
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT.jar
org.osgi.resource-1.0.0.jar  
org.osgi.service.serviceloader-1.0.0.jar
slf4j-simple-1.7.25.jar
{noformat}

For example the cli parsing lib is missing, but I guess others are, too

> 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.10#820010)