blob: 263413f9f6feacaabb83391f232168fd86ce524e [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</groupId>
<artifactId>parent</artifactId>
<version>2.0.1</version>
<relativePath>../../parent/pom.xml</relativePath>
</parent>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control-provider-jpa-xa</artifactId>
<packaging>bundle</packaging>
<name>OSGi Transaction Control JPA Resource Provider - XA Transactions</name>
<version>0.0.1-SNAPSHOT</version>
<description>
This bundle contains a JPA resource provider for use with the OSGi Transaction Control Service that supports XA transactions.
</description>
<scm>
<connection>
scm:svn:http://svn.apache.org/repos/asf/aries/trunk/tx-control/tx-control-provider-jpa-xa
</connection>
<developerConnection>
scm:svn:https://svn.apache.org/repos/asf/aries/trunk/tx-control/tx-control-provider-jpa-xa
</developerConnection>
<url>
http://svn.apache.org/viewvc/aries/trunk/tx-control/tx-control-provider-jpa-xa
</url>
</scm>
<properties>
<aries.osgi.activator>
org.apache.aries.tx.control.jpa.xa.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.jdbc.common.impl,
org.apache.aries.tx.control.jdbc.xa.connection.impl,
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.*,
!javax.transaction,
!org.apache.geronimo.osgi.registry.api,
!org.hibernate.*,
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;version="[0.0.1,0.0.2)",
org.osgi.service.transaction.control.jpa;version="[0.0.1,0.0.2)",
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-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.persistence</groupId>
<artifactId>org.eclipse.persistence.core</artifactId>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.0.0.Final</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control-provider-jdbc-common</artifactId>
<version>0.0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.aries.tx-control</groupId>
<artifactId>tx-control-provider-jdbc-xa</artifactId>
<version>0.0.1-SNAPSHOT</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"</Provide-Capability>
<Require-Capability>osgi.contract;filter:="(&amp;(osgi.contract=JavaJPA)(version=2.1))"</Require-Capability>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>