[ARIES-1626] Added "Provide-Capability" declaration in the pom to expose javax.persistence.spi.PersistenceProvider service
git-svn-id: https://svn.apache.org/repos/asf/aries/trunk/jpa@1764331 13f79535-47bb-0310-9956-ffa450edef68 Project: http://git-wip-us.apache.org/repos/asf/aries-jpa/repo Commit: http://git-wip-us.apache.org/repos/asf/aries-jpa/commit/6414efc4 Tree: http://git-wip-us.apache.org/repos/asf/aries-jpa/tree/6414efc4 Diff: http://git-wip-us.apache.org/repos/asf/aries-jpa/diff/6414efc4 Branch: refs/heads/master Commit: 6414efc4f7a9e70247b775b03fece87359fb3e56 Parents: 305581d Author: ggerla <ggerla@13f79535-47bb-0310-9956-ffa450edef68> Authored: Tue Oct 11 19:47:10 2016 +0000 Committer: ggerla <ggerla@13f79535-47bb-0310-9956-ffa450edef68> Committed: Tue Oct 11 19:47:10 2016 +0000 ---------------------------------------------------------------------- jpa-container-eclipselink-adapter/pom.xml | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6414efc4/jpa-container-eclipselink-adapter/pom.xml ---------------------------------------------------------------------- diff --git a/jpa-container-eclipselink-adapter/pom.xml b/jpa-container-eclipselink-adapter/pom.xml index a42d9b0..6fa0f47 100644 --- a/jpa-container-eclipselink-adapter/pom.xml +++ b/jpa-container-eclipselink-adapter/pom.xml @@ -56,8 +56,24 @@ <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>org.eclipse.persistence.jpa</artifactId> - <version>2.5.2</version> + <version>2.6.4</version> </dependency> </dependencies> - + + <build> + <plugins> + <plugin> + <groupId>org.apache.felix</groupId> + <artifactId>maven-bundle-plugin</artifactId> + <version>3.0.1</version> + <extensions>true</extensions> + <configuration> + <instructions> + <Provide-Capability>osgi.service; effective:=active; objectClass=javax.persistence.spi.PersistenceProvider</Provide-Capability> + </instructions> + </configuration> + </plugin> + </plugins> + </build> + </project>
