You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by David Jencks <da...@gmail.com> on 2016/10/11 19:58:05 UTC
Re: svn commit: r1764331 -
/aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml
I don’t think this is valid syntax, it’s supposed to be objectClass:List<String>
I think the effective:=active goes on the Require-Capability, not the Provide-Capability.
This commit is unlikely to result in a recognized header.
david jencks
> On Oct 11, 2016, at 12:47 PM, ggerla@apache.org wrote:
>
> Author: ggerla
> Date: Tue Oct 11 19:47:10 2016
> New Revision: 1764331
>
> URL: http://svn.apache.org/viewvc?rev=1764331&view=rev
> Log:
> [ARIES-1626] Added "Provide-Capability" declaration in the pom to expose javax.persistence.spi.PersistenceProvider service
>
> Modified:
> aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml
>
> Modified: aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml
> URL: http://svn.apache.org/viewvc/aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml?rev=1764331&r1=1764330&r2=1764331&view=diff
> ==============================================================================
> --- aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml (original)
> +++ aries/trunk/jpa/jpa-container-eclipselink-adapter/pom.xml Tue Oct 11 19:47:10 2016
> @@ -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>
>
>