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

Carsten Ziegeler commented on SLING-11408:
------------------------------------------

[~kwin] I have the same in target/appassembler, but the resulting zip and 
tar.gz have this content:
{noformat}
cziegeler@cziegele-WX-2:~/workspaces/apache/sling-aggregator/org-apache-sling-feature-launcher$
 jar tf target/org.apache.sling.feature.launcher-1.2.1-SNAPSHOT.zip
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/bin/
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/README.md
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/LICENSE
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/NOTICE
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/bin/launcher
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/bin/launcher.bat
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/slf4j-simple-1.7.25.jar
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/biz.aQute.bnd.annotation-6.3.1.jar
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/org.osgi.resource-1.0.0.jar
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/org.osgi.service.serviceloader-1.0.0.jar
org.apache.sling.feature.launcher-1.2.1-SNAPSHOT/lib/org.apache.sling.feature.launcher-1.2.1-SNAPSHOT.jar
{noformat}

> 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)

Reply via email to