Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-6723

Make dependency to javax.jcr, jcr.contentloader and jcr.api optional

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Post 2.3.16
    • Servlets
    • None

    Description

      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)

      It seems with minimizing the dependency to JCR we can also clean up the code as it is quiet of often adapting to JCR objects for no real reason and in some cases mixing resource and node handling, where just sticking with one or the other would do less operations

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: