glassfish
  1. glassfish
  2. GLASSFISH-16838

[OSGi] jersey-*** does export packages with default version ("0.0.0")

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.1
    • Fix Version/s: 4.0_b67_ms7
    • Component/s: jax-rs, OSGi
    • Labels:
      None

      Description

      Currently, all jersey-*** bundles export their packages (including "javax.ws.rs") without a version, which means exporting with the OSGi default version "0.0.0".

      Now I tried to use Apache CXF (the minimal bundle), which requires the following:

      javax.ws.rs;resolution:=optional;version="[1.1,2)",
      javax.ws.rs.core;resolution:=optional;version="[1.1,2)",
      javax.ws.rs.ext;resolution:=optional;version="[1.1,2)",
      

        Issue Links

          Activity

          Hide
          ancoron added a comment -

          This issue is still valid even for 3.1.2 and 4.0 currently.

          I could help out if you're short on resources to work on a patch for this.

          Show
          ancoron added a comment - This issue is still valid even for 3.1.2 and 4.0 currently. I could help out if you're short on resources to work on a patch for this.
          Hide
          ancoron added a comment -

          Please have a look at the patch provided in JERSEY-752 for inclusion.

          Show
          ancoron added a comment - Please have a look at the patch provided in JERSEY-752 for inclusion.
          Hide
          Joe Di Pol added a comment -

          Too late for 3.1.2

          Show
          Joe Di Pol added a comment - Too late for 3.1.2
          Hide
          Jakub Podlesak added a comment -

          The OSGi headers were fixed for Jersey 1.12. You should be able to get this version installed to GF, once Jersey 1.12
          gets released and appropriate GF UC module is published.

          Show
          Jakub Podlesak added a comment - The OSGi headers were fixed for Jersey 1.12. You should be able to get this version installed to GF, once Jersey 1.12 gets released and appropriate GF UC module is published.
          Hide
          ancoron added a comment -

          Thanx for fixing this!

          Show
          ancoron added a comment - Thanx for fixing this!
          Hide
          Jakub Podlesak added a comment -

          Too early
          Please see JERSEY-752 for details.

          Show
          Jakub Podlesak added a comment - Too early Please see JERSEY-752 for details.
          Hide
          Jakub Podlesak added a comment -

          All Jersey exported packages should have a non-default, correct, version specified.

          Show
          Jakub Podlesak added a comment - All Jersey exported packages should have a non-default, correct, version specified.

            People

            • Assignee:
              Jakub Podlesak
              Reporter:
              ancoron
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: