Uploaded image for project: 'Olingo'
  1. Olingo
  2. OLINGO-41

Export-Package header incorrect in olingo-odata2-core

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • V2 1.0.0
    • V2 1.1.0
    • odata2-core
    • None
    • Apache Karaf 2.3.3

    Description

      "Export-Package" header in olingo-odata2-core's MANIFEST.MF file misses the package "org.apache.olingo.odata2.core.rest", but includes "org.apache.olingo.odata2.core.rest.app". In my opinion both packages should be included in "Export-Package" header and corresponding section in pom.xml should look like this:

      <Export-Package>
      org.apache.olingo.odata2.core.rest;version=${project.version},
      org.apache.olingo.odata2.core.rest.app;version=${project.version},
      org.apache.olingo.odata2.core.rt;version=${project.version},
      </Export-Package>

      PS. I need this package because it was required to create custom ODataRootLocator since default ODataRootLocator accepts only fully qualified factory class name, what causes problems in OSGi environment (my factory class in not visible to olingo-odata2-core bundle)

      Attachments

        Activity

          People

            klevenzs Stephan Klevenz
            basileus Vassili Jakovlev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: