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