blob: f5a4f45fbceb756b3c5676e584ef68cbf702d9fc [file] [log] [blame]
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control</artifactId>
<version>0.0.1</version>
<relativePath>../pom.xml</relativePath>
</parent>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control-provider-jpa-local</artifactId>
<packaging>bundle</packaging>
<name>OSGi Transaction Control JPA Resource Provider - Local Transactions</name>
<version>0.0.1</version>
<description>
This bundle contains a JPA resource provider for use with the OSGi Transaction Control Service that supports local transactions.
</description>
<scm>
<connection>
scm:svn:http://svn.apache.org/repos/asf/aries/tags/tx-control-0.0.1/tx-control-provider-jpa-local
</connection>
<developerConnection>
scm:svn:https://svn.apache.org/repos/asf/aries/tags/tx-control-0.0.1/tx-control-provider-jpa-local
</developerConnection>
<url>
http://svn.apache.org/viewvc/aries/tags/tx-control-0.0.1/tx-control-provider-jpa-local
</url>
</scm>
<properties>
<aries.osgi.activator>
org.apache.aries.tx.control.jpa.local.impl.Activator
</aries.osgi.activator>
<!-- We keep the versioning from Geronimo as it makes most things work,
even though everything should use the JavaJPA contract -->
<aries.osgi.export.pkg>
org.osgi.service.transaction.control.jpa,
org.osgi.service.cm,
org.osgi.service.jdbc,
org.osgi.service.jpa,
javax.persistence;version=1.2;jpa=2.1,
javax.persistence.criteria;version=1.2;jpa=2.1,
javax.persistence.metamodel;version=1.2;jpa=2.1,
javax.persistence.spi;version=1.2;jpa=2.1,
javax.persistence;version=2.1,
javax.persistence.criteria;version=2.1,
javax.persistence.metamodel;version=2.1,
javax.persistence.spi;version=2.1
</aries.osgi.export.pkg>
<aries.osgi.private.pkg>
org.apache.aries.tx.control.jpa.*,
org.apache.geronimo.osgi.locator,
org.apache.geronimo.specs.jpa,
com.zaxxer.hikari,
com.zaxxer.hikari.metrics,
com.zaxxer.hikari.pool,
com.zaxxer.hikari.util
</aries.osgi.private.pkg>
<aries.osgi.import.pkg>
!com.codahale.*,
!com.zaxxer.hikari.metrics.dropwizard,
!javassist.*,
!org.apache.geronimo.osgi.registry.api,
javax.persistence;version="0.0.0",
javax.persistence.criteria;version="0.0.0",
javax.persistence.metamodel;version="0.0.0",
javax.persistence.spi;version="0.0.0",
org.osgi.service.transaction.control,
org.osgi.service.transaction.control.jpa,
org.osgi.service.cm,
org.osgi.service.jdbc,
org.osgi.service.jpa,
*
</aries.osgi.import.pkg>
<lastReleaseVersion>0.0.1-SNAPSHOT</lastReleaseVersion>
</properties>
<dependencies>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control-api</artifactId>
<version>0.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.jdbc</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-jpa_2.1_spec</artifactId>
<version>1.0-alpha-1</version>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.jpa</artifactId>
<version>1.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.service.cm</artifactId>
<version>1.5.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.util.tracker</artifactId>
<version>1.5.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.zaxxer</groupId>
<artifactId>HikariCP</artifactId>
<version>2.4.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.aries.versioning</groupId>
<artifactId>org.apache.aries.versioning.plugin</artifactId>
<executions>
<execution>
<id>default-verify</id>
<phase>verify</phase>
<goals>
<goal>version-check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<!-- We have to use a newer bnd due to a bug in its handling of
provided contract version lists -->
<version>3.0.1</version>
<configuration>
<instructions>
<Provide-Capability>osgi.contract;osgi.contract="JavaJPA";version:List&lt;Version&gt;="1.0,2.0,2.1";uses:="javax.persistence,javax.persistence.criteria,javax.persistence.metamodel,javax.persistence.spi",osgi.service;objectClass="org.osgi.service.transaction.control.jpa.JPAEntityManagerProvider";osgi.local.enabled="true";uses:="org.osgi.service.transaction.control.jpa",osgi.service;objectClass="org.osgi.service.transaction.control.jpa.JPAEntityManagerProviderFactory";osgi.local.enabled="true";uses:="org.osgi.service.transaction.control.jpa"</Provide-Capability>
<Require-Capability>osgi.contract;filter:="(&amp;(osgi.contract=JavaJPA)(version=2.1))",osgi.service;filter:="(objectClass=org.osgi.service.jdbc.DataSourceFactory)";resolution:="optional";effective:="active",osgi.service;filter:="(objectClass=org.osgi.service.jpa.EntityManagerFactoryBuilder)";resolution:="optional";effective:="active"</Require-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>