6fb3dd7f06939d275a056e6f669ce34c3746fb94
[hibernate4-maven-plugin] / src / it / tutorials / osgi / unmanaged-native / 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>unmanaged-native</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         <dependency>
31             <groupId>org.hibernate</groupId>
32             <artifactId>hibernate-core</artifactId>
33             <version>4.3.0-SNAPSHOT</version>
34         </dependency>
35         <dependency>
36             <groupId>org.hibernate</groupId>
37             <artifactId>hibernate-envers</artifactId>
38             <version>4.3.0-SNAPSHOT</version>
39         </dependency>
40                 <dependency>
41                         <groupId>com.h2database</groupId>
42                         <artifactId>h2</artifactId>
43                         <version>1.3.170</version>
44                 </dependency>
45         
46         </dependencies>
47
48         <build>
49                 <plugins>
50                         <plugin>
51                                 <groupId>org.apache.felix</groupId>
52                                 <artifactId>maven-bundle-plugin</artifactId>
53                                 <extensions>true</extensions>
54                                 <configuration>
55                                         <instructions>
56                                                 <Bundle-SymbolicName>org.hibernate.osgi.unmanaged-native</Bundle-SymbolicName>
57                                                 <Bundle-Name>unmanaged-native</Bundle-Name>
58                                                 <Bundle-Version>1.0.0</Bundle-Version>
59                                                 <Export-Package>
60                                                     org.hibernate.osgitest,
61                                                         org.hibernate.osgitest.entity
62                                                 </Export-Package>
63                                                 <Import-Package>
64                                                     org.apache.felix.service.command,
65                             org.apache.felix.gogo.commands,
66                             org.apache.karaf.shell.console,
67                             org.apache.karaf.shell.commands,
68                             org.h2,
69                             org.hibernate,
70                             org.hibernate.cfg,
71                             org.hibernate.service,
72                             javax.persistence;version="[1.0.0,2.1.0]",
73                             <!-- Needed for proxying's Javassist enhancement during runtime -->
74                             org.hibernate.proxy,
75                             javassist.util.proxy,
76                             * 
77                                                 </Import-Package>
78                                         </instructions>
79                                 </configuration>
80                         </plugin>
81                 </plugins>
82         </build>
83 </project>