tree: 3994bd1c39c5de97ed0e46bb9bbb847de345be96 [path history] [tgz]
  1. 2_0/
  2. 2_1/
  3. README.md
  4. pom.xml
javax-persistence/README.md

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: *

or

-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.