Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3500

Make more packages optional in the CXF JAX-RS OSGI bundle to reduce runtime dependencies

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.4, 2.3.4
    • 2.4.1, 2.3.5
    • Build system, JAX-RS, OSGi
    • None
    • JDK 1.6
      Eclipse Equinox 3.6.2

    • Novice

    Description

      The Import-Package line in the CXF JAX-RS bundle has packages which are required but are actually optional.

      Here's a list of packages that should be optional in the 2.3.x stream:

      org.apache.neethi;resolution:=optional,
      org.apache.ws.commons.schema*;resolution:=optional,
      org.apache.xml.resolver*;resolution:=optional,
      org.objectweb.asm;resolution:=optional,
      javax.mail*;version="[0.0,2)";resolution:=optional,

      Here's a list of packages that should be optional in the trunk (2.4.x) stream:

      org.apache.ws.commons.schema*;resolution:=optional,
      org.apache.xml.resolver*;resolution:=optional,
      org.objectweb.asm;resolution:=optional,
      org.osgi.service.blueprint*;resolution:=optional,
      javax.mail*;version="[0.0,2)";resolution:=optional,
      javax.wsdl*;resolution:=optional,

      Proposed patches to both streams attached.

      Attachments

        1. cxf-jaxrs-bundle-pom-23.diff
          2 kB
          Ka-Lok Fung
        2. cxf-jaxrs-bundle-pom-24.diff
          2 kB
          Ka-Lok Fung

        Activity

          People

            dkulp Daniel Kulp
            kfung Ka-Lok Fung
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: