Bug 833451 - [patch] add extra OSGI information to manifest
[patch] add extra OSGI information to manifest
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: hibernate-jpa-2.0-api (Show other bugs)
17
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Marek Goldmann
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-19 09:35 EDT by Gerard Ryan
Modified: 2012-06-27 23:28 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-27 23:28:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Add OSGI info to MANIFEST.MF (3.42 KB, patch)
2012-06-19 09:35 EDT, Gerard Ryan
no flags Details | Diff

  None (edit)
Description Gerard Ryan 2012-06-19 09:35:37 EDT
Created attachment 592948 [details]
Add OSGI info to MANIFEST.MF

Description of problem:
I'm building eclipse-wtp-jpa, and it needs javax.persistence to be exported. geronimo-jpa exports it, but doesn't have the necessary classes.

Description of patch:
Add OSGI info to MANIFEST.MF
    
    Eclipse plugins, such as eclipse-wtp-jpa, need it to be exported in the
    MANIFEST.MF. This change adds some of this information to that file, by
    adding the relevant lines to the pom.xml file, where the manifest is
    generated from.
    
    Currently being exported are javax.persistence and javax.persistence.spi.
    I don't know if javax.persistence.metamodel or javax.persistence.criteria
    should be exported also, but they don't seem to be needed by anything so
    I've left them out. javax.persistence.spi isn't necessarily needed either,
    but geronimo-jpa exports it, so I just went by that.
Comment 1 Marek Goldmann 2012-06-19 09:54:10 EDT
Thanks, the patch was pushed to F17 and Rawhide.
Comment 2 Fedora Update System 2012-06-19 10:27:55 EDT
hibernate-jpa-2.0-api-1.0.1-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/hibernate-jpa-2.0-api-1.0.1-6.fc17
Comment 3 Fedora Update System 2012-06-19 20:32:26 EDT
Package hibernate-jpa-2.0-api-1.0.1-6.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hibernate-jpa-2.0-api-1.0.1-6.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9689/hibernate-jpa-2.0-api-1.0.1-6.fc17
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2012-06-27 23:28:43 EDT
hibernate-jpa-2.0-api-1.0.1-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.