Bug 833451

Summary: [patch] add extra OSGI information to manifest
Product: [Fedora] Fedora Reporter: Gerard Ryan <fedora>
Component: hibernate-jpa-2.0-apiAssignee: Marek Goldmann <mgoldman>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: mgoldman
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-28 03:28:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Add OSGI info to MANIFEST.MF none

Description Gerard Ryan 2012-06-19 13:35:37 UTC
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 13:54:10 UTC
Thanks, the patch was pushed to F17 and Rawhide.

Comment 2 Fedora Update System 2012-06-19 14:27:55 UTC
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-20 00:32:26 UTC
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-28 03:28:43 UTC
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.