Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3842

Adjust package export declarations

    XMLWordPrintableJSON

Details

    Description

      We need to adjust the package export declarations such that they become manageable with our branch / release model.

      See http://markmail.org/thread/5g3viq5pwtdryapr for discussion.

      I propose to remove package export declarations from all packages that we don't consider public API / SPI beyond Oak itself. This would allow us to evolve Oak internal stuff (e.g. things used across Oak modules) freely without having to worry about merges to branches messing up semantic versioning. OTOH it would force us to keep externally facing public API / SPI reasonably stable also across the branches. Furthermore such an approach would send the right signal to Oak API / SPI consumers regarding the stability assumptions they can make.

      An external API / SPI having a (transitive) dependency on internals might be troublesome. In doubt I would remove the export version here until we can make reasonable guarantees (either through decoupling the code or stabilising the dependencies).

      I would start digging through the export version and prepare an initial proposal for further discussion.

      /cc frm, chetanm, mmarth

      Attachments

        1. OAK-3842.patch
          87 kB
          Michael Dürig
        2. OAK-3842-2.patch
          87 kB
          Michael Dürig

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              mduerig Michael Dürig
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: