Done
https://osgi.org/bugzilla/show_bug.cgi?id=189

Christian

On 08.07.2016 14:49, Raymond Auge wrote:
Christian could you file a bug on the public OSGi bugzilla so we don't forget to fix this?

I wonder if the spec bundle should refer to javax.persistence via Portable Java Contract rather then by package version. We have a similar issue with the org.osgi.service.http bundle which I believe should also refer to a PJC for javax.servlet.

https://osgi.org/bugzilla/buglist.cgi

- Ray

On Fri, Jul 8, 2016 at 6:04 AM, Christian Schneider <[email protected] <mailto:[email protected]>> wrote:

    I am using the jpa spec bundle from
    |<||dependency||>|
    |||<||groupId||>org.osgi</||groupId||>|
    |||<||artifactId||>org.osgi.service.jpa</||artifactId||>|
    |||<||version||>1.0.0</||version||>|
    |</||dependency||>|


    Unfortunately it does not work with jpa 2.1. The error is:
    missing requirement [org.osgi.service.jpa/1.0.0.201505202024]
    osgi.wiring.package;
    
filter:="(&(osgi.wiring.package=javax.persistence)(version>=1.1.0)(!(version>=2.0.0)))"]]]]]]]]

    Will this be fixed in a new version soon?

    This prevents the usage of the jpa spec with any modern jpa provider.

    Christian

-- Christian Schneider
    http://www.liquid-reality.de

    Open Source Architect
    http://www.talend.com


    _______________________________________________
    OSGi Developer Mail List
    [email protected] <mailto:[email protected]>
    https://mail.osgi.org/mailman/listinfo/osgi-dev




--
*Raymond Augé* <http://www.liferay.com/web/raymond.auge/profile> (@rotty3000) Senior Software Architect *Liferay, Inc.* <http://www.liferay.com> (@Liferay) Board Member & EEG Co-Chair, OSGi Alliance <http://osgi.org> (@OSGiAlliance)


_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev


--
Christian Schneider
http://www.liquid-reality.de

Open Source Architect
http://www.talend.com

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to