OpenEJB
  1. OpenEJB
  2. OPENEJB-963

Enhance the javaee-api with OSGi Bundle Information

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.1
    • Component/s: general
    • Labels:
      None

      Description

      The repacked jar javaee-api has no OSGi bundle information. To allow the usage in an OSGi environment the bundle information should be supplied to the MANIFEST.MF

      1. pom.xml
        12 kB
        Oliver Guenther

        Activity

        Hide
        David Blevins added a comment -

        Patch applied.

        $ svn ci deps
        Adding deps
        Deleting deps/commons-dbcp-all
        Sending deps/javaee-api/pom.xml
        Sending deps/pom.xml
        Transmitting file data ..
        Committed revision 737803.

        Still need to update the rest of the code to use this version of javaee-api. Happy to accept a patch for that if you have one.

        Show
        David Blevins added a comment - Patch applied. $ svn ci deps Adding deps Deleting deps/commons-dbcp-all Sending deps/javaee-api/pom.xml Sending deps/pom.xml Transmitting file data .. Committed revision 737803. Still need to update the rest of the code to use this version of javaee-api. Happy to accept a patch for that if you have one.
        Hide
        Oliver Guenther added a comment -

        I have used the MANIFEST transformer of the maven-shade-plugin to supply the bundle information. The maven-bundle-plugin doesn't recognize the packages included via the maven-shade-plugin for the Export-Package directive. Not very nice, but usefull

        Show
        Oliver Guenther added a comment - I have used the MANIFEST transformer of the maven-shade-plugin to supply the bundle information. The maven-bundle-plugin doesn't recognize the packages included via the maven-shade-plugin for the Export-Package directive. Not very nice, but usefull

          People

          • Assignee:
            David Blevins
            Reporter:
            Oliver Guenther
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 10m
              10m
              Remaining:
              Remaining Estimate - 10m
              10m
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development