tree: 39d97ac52ac875c4ce7b9c57e145811832ff7da7 [path history] [tgz]
  1. 2_0/
  2. 2_1/
  3. pom.xml

Aries JPA Specification Jars

These projects contain the JPA API at various versions, providing proper OSGi packaging and contracts so that they can be used easily in OSGi.

##Using the JPA API with your OSGi bundles

If you are using a bnd based plugin (e.g. the bnd-maven-plugin or the maven-bundle-plugin) then you should make sure to set the following:

-contract: *


-contract: JavaJPA

in your bnd configuration. This will ensure that your bundle is built depending on the JPA contract, and therefore that it will not need to be repackaged to use future, backward compatible versions of the JPA specification.