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.
Thanks, the patch was pushed to F17 and Rawhide.
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
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).
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.