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 2021/01/05 08:58:00 UTC

[jira] [Resolved] (SLING-9909) Check/minimize embedded/shaded classes

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

Carsten Ziegeler resolved SLING-9909.
-------------------------------------
    Resolution: Fixed

> Check/minimize embedded/shaded classes
> --------------------------------------
>
>                 Key: SLING-9909
>                 URL: https://issues.apache.org/jira/browse/SLING-9909
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>    Affects Versions: Feature Model Content Extension 1.0.8
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: Feature Model Content Extension 1.0.10
>
>
> The content extension is currently embedded a lot of dependencies, where some are probably not needed - at the same time it is also shading them, which for some of them does not make sense.
> For example, commons-cli is not needed at all, osgi packages are provided by the runtime, shading jcr api should be avoided, slf-api is provided by the runtime as well
> The embedded jackrabbit vault dependencies needs these packages (which might need more):
> {noformat}
> org.apache.jackrabbit.api,
> org.apache.jackrabbit.api.security,
> org.apache.jackrabbit.api.security.authorization,
> org.apache.jackrabbit.api.security.principal,
> org.apache.jackrabbit.api.security.user,
> org.apache.jackrabbit.commons,
> org.apache.jackrabbit.commons.cnd,
> org.apache.jackrabbit.commons.jackrabbit,
> org.apache.jackrabbit.spi,
> org.apache.jackrabbit.spi.commons.conversion,
> org.apache.jackrabbit.spi.commons.name,
> org.apache.jackrabbit.spi.commons.namespace,
> org.apache.jackrabbit.spi.commons.nodetype,
> org.apache.jackrabbit.spi.commons.nodetype.compact,
> org.apache.jackrabbit.spi.commons.privilege,
> org.apache.jackrabbit.util,
> org.apache.jackrabbit.value,
> javax.jcr
> org.apache.commons.collections.map;version="[3.2.2,4)",
> org.apache.commons.io;version="[1.4.9999,2)",
> org.apache.commons.io.input;version="[1.4.9999,2)",
> org.apache.commons.io.output;version="[1.4.9999,2)",
> org.osgi.framework;version="[1.6.0,2)",
> org.slf4j;version="[1.7.6,2)"
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)