Added tutorials of the hibernate-release 5.0.12.Final
[hibernate4-maven-plugin] / src / it / tutorials-5.0.12 / osgi / unmanaged-jpa / pom.xml
1 <!--
2   ~ Hibernate, Relational Persistence for Idiomatic Java
3   ~
4   ~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
5   ~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
6   -->
7 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9   <modelVersion>4.0.0</modelVersion>
10   <groupId>org.hibernate.osgi</groupId>
11   <artifactId>unmanaged-jpa</artifactId>
12   <version>1.0.0</version>
13   <packaging>bundle</packaging>
14
15   <dependencies>
16     <dependency>
17       <groupId>org.hibernate.javax.persistence</groupId>
18       <artifactId>hibernate-jpa-2.1-api</artifactId>
19       <version>1.0.0.Final</version>
20     </dependency>
21     <dependency>
22       <groupId>org.osgi</groupId>
23       <artifactId>org.osgi.core</artifactId>
24       <version>4.3.1</version>
25     </dependency>
26     <dependency>
27       <groupId>org.osgi</groupId>
28       <artifactId>org.osgi.enterprise</artifactId>
29       <version>4.2.0</version>
30     </dependency>
31     <dependency>
32       <groupId>org.apache.karaf.shell</groupId>
33       <artifactId>org.apache.karaf.shell.console</artifactId>
34       <version>2.3.0</version>
35     </dependency>
36     <dependency>
37       <groupId>org.hibernate</groupId>
38       <artifactId>hibernate-entitymanager</artifactId>
39       <version>5.0.12.Final</version>
40     </dependency>
41     <dependency>
42       <groupId>com.h2database</groupId>
43       <artifactId>h2</artifactId>
44       <version>1.3.170</version>
45     </dependency>
46
47   </dependencies>
48
49   <build>
50     <plugins>
51       <plugin>
52         <groupId>org.apache.felix</groupId>
53         <artifactId>maven-bundle-plugin</artifactId>
54         <extensions>true</extensions>
55         <configuration>
56           <instructions>
57             <Bundle-SymbolicName>org.hibernate.osgi.unmanaged-jpa</Bundle-SymbolicName>
58             <Bundle-Name>unmanaged-jpa</Bundle-Name>
59             <Bundle-Version>1.0.0</Bundle-Version>
60             <Export-Package>
61               org.hibernate.osgitest,
62               org.hibernate.osgitest.entity
63             </Export-Package>
64             <Import-Package>
65               org.apache.felix.service.command,
66               org.apache.felix.gogo.commands,
67               org.apache.karaf.shell.console,
68               org.apache.karaf.shell.commands,
69               org.h2,
70               javax.persistence;version="[1.0.0,2.1.0]",
71               <!-- Needed for proxying's Javassist enhancement during runtime -->
72               org.hibernate.proxy,
73               javassist.util.proxy,
74               *
75             </Import-Package>
76           </instructions>
77         </configuration>
78       </plugin>
79     </plugins>
80   </build>
81 </project>