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