Olingo
  1. Olingo
  2. OLINGO-41

Export-Package header incorrect in olingo-odata2-core

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V2 1.0.0
    • Fix Version/s: V2 1.1.0
    • Component/s: odata2-core
    • Labels:
      None
    • Environment:
      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)

        Activity

          People

          • Assignee:
            Stephan Klevenz
            Reporter:
            Vassili Jakovlev
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development