Added tutorials of the hibernate-release 4.3.9.Final as integration-tests
[hibernate4-maven-plugin] / src / it / tutorials / osgi / managed-jpa / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>org.hibernate.osgi</groupId>
5         <artifactId>managed-jpa</artifactId>
6         <version>1.0.0</version>
7     <packaging>bundle</packaging>
8
9         <dependencies>
10                 <dependency>
11                         <groupId>org.hibernate.javax.persistence</groupId>
12             <artifactId>hibernate-jpa-2.1-api</artifactId>
13             <version>1.0.0.Final</version>
14                 </dependency>
15         <dependency>
16             <groupId>org.osgi</groupId>
17             <artifactId>org.osgi.core</artifactId>
18             <version>4.3.1</version>
19         </dependency>
20         <dependency>
21             <groupId>org.osgi</groupId>
22             <artifactId>org.osgi.enterprise</artifactId>
23             <version>4.2.0</version>
24         </dependency>
25         <dependency>
26             <groupId>org.apache.karaf.shell</groupId>
27             <artifactId>org.apache.karaf.shell.console</artifactId>
28             <version>2.3.0</version>
29         </dependency>
30         </dependencies>
31
32         <build>
33                 <plugins>
34                         <plugin>
35                                 <groupId>org.apache.felix</groupId>
36                                 <artifactId>maven-bundle-plugin</artifactId>
37                                 <extensions>true</extensions>
38                                 <configuration>
39                                         <instructions>
40                                                 <Bundle-SymbolicName>org.hibernate.osgi.managed-jpa</Bundle-SymbolicName>
41                                                 <Bundle-Name>managed-jpa</Bundle-Name>
42                                                 <Bundle-Version>1.0.0</Bundle-Version>
43                                                 <Export-Package>
44                                                     org.hibernate.osgitest,
45                                                         org.hibernate.osgitest.entity
46                                                 </Export-Package>
47                                                 <Import-Package>
48                                                     org.apache.felix.service.command,
49                             org.apache.felix.gogo.commands,
50                             org.apache.karaf.shell.console,
51                             org.apache.karaf.shell.commands,
52                             javax.persistence;version="[1.0.0,2.1.0]",
53                             <!-- Needed for proxying's Javassist enhancement during runtime -->
54                             org.hibernate.proxy,
55                             javassist.util.proxy,
56                             * 
57                                                 </Import-Package>
58                                                 <Meta-Persistence>META-INF/persistence.xml</Meta-Persistence>
59                                         </instructions>
60                                 </configuration>
61                         </plugin>
62                 </plugins>
63         </build>
64 </project>