Carsten Ziegeler created SLING-9909:
---------------------------------------

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

Reply via email to