[ https://issues.apache.org/jira/browse/SLING-6723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15943131#comment-15943131 ]
Bertrand Delacretaz commented on SLING-6723: -------------------------------------------- I like the idea but we should make sure meaningful log messages are emitted if the optional packages are missing - I suppose ugly things might happen internally in this case, which might by default lead to mysterious errors. I'm happy to be proven wrong though...just want to make sure we're not introducing hard to troubleshoot failure modes. > Make dependency to javax.jcr, jcr.contentloader and jcr.api optional > -------------------------------------------------------------------- > > Key: SLING-6723 > URL: https://issues.apache.org/jira/browse/SLING-6723 > Project: Sling > Issue Type: Improvement > Components: Servlets > Reporter: Carsten Ziegeler > Assignee: Carsten Ziegeler > Fix For: Servlets Post 2.3.16 > > > In order to be able to run Sling in a very minimal version, the dependencies > to javax.jcr, jcr.api and jcr.contentloader should be optional. Otherwise a > whole set of modules needs to be dragged in just to make the servlets post > module provide the basic functionality (which is usually sufficient for most > applications) -- This message was sent by Atlassian JIRA (v6.3.15#6346)