+++ /dev/null
-<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>
- <groupId>org.hibernate.osgi</groupId>
- <artifactId>managed-jpa</artifactId>
- <version>1.0.0</version>
- <packaging>bundle</packaging>
-
- <properties>
- <h4mp.version>@project.version@</h4mp.version>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.hibernate.javax.persistence</groupId>
- <artifactId>hibernate-jpa-2.1-api</artifactId>
- <version>1.0.0.Final</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.core</artifactId>
- <version>4.3.1</version>
- </dependency>
- <dependency>
- <groupId>org.osgi</groupId>
- <artifactId>org.osgi.enterprise</artifactId>
- <version>4.2.0</version>
- </dependency>
- <dependency>
- <groupId>org.apache.karaf.shell</groupId>
- <artifactId>org.apache.karaf.shell.console</artifactId>
- <version>2.3.0</version>
- </dependency>
- <dependency>
- <groupId>com.h2database</groupId>
- <artifactId>h2</artifactId>
- <version>1.4.187</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <extensions>true</extensions>
- <configuration>
- <instructions>
- <Bundle-SymbolicName>org.hibernate.osgi.managed-jpa</Bundle-SymbolicName>
- <Bundle-Name>managed-jpa</Bundle-Name>
- <Bundle-Version>1.0.0</Bundle-Version>
- <Export-Package>
- org.hibernate.osgitest,
- org.hibernate.osgitest.entity
- </Export-Package>
- <Import-Package>
- org.apache.felix.service.command,
- org.apache.felix.gogo.commands,
- org.apache.karaf.shell.console,
- org.apache.karaf.shell.commands,
- javax.persistence;version="[1.0.0,2.1.0]",
- <!-- Needed for proxying's Javassist enhancement during runtime -->
- org.hibernate.proxy,
- javassist.util.proxy,
- *
- </Import-Package>
- <Meta-Persistence>META-INF/persistence.xml</Meta-Persistence>
- </instructions>
- </configuration>
- </plugin>
- <plugin>
- <groupId>de.juplo</groupId>
- <artifactId>hibernate-maven-plugin</artifactId>
- <version>${h4mp.version}</version>
- <executions>
- <execution>
- <goals>
- <goal>create</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <url>jdbc:h2:mem:db_managed_jpa;MVCC=TRUE</url>
- <format>true</format>
- <execute>false</execute>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>