Configured the 5.0.12-tutorials as integration-test for the plugin
[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   <properties>
16     <hibernate-maven-plugin.version>@project.version@</hibernate-maven-plugin.version>
17   </properties>
18
19   <dependencies>
20     <dependency>
21       <groupId>org.hibernate.javax.persistence</groupId>
22       <artifactId>hibernate-jpa-2.1-api</artifactId>
23       <version>1.0.0.Final</version>
24     </dependency>
25     <dependency>
26       <groupId>org.osgi</groupId>
27       <artifactId>org.osgi.core</artifactId>
28       <version>4.3.1</version>
29     </dependency>
30     <dependency>
31       <groupId>org.osgi</groupId>
32       <artifactId>org.osgi.enterprise</artifactId>
33       <version>4.2.0</version>
34     </dependency>
35     <dependency>
36       <groupId>org.apache.karaf.shell</groupId>
37       <artifactId>org.apache.karaf.shell.console</artifactId>
38       <version>2.3.0</version>
39     </dependency>
40     <dependency>
41       <groupId>org.hibernate</groupId>
42       <artifactId>hibernate-core</artifactId>
43       <version>5.0.12.Final</version>
44     </dependency>
45     <dependency>
46       <groupId>org.hibernate</groupId>
47       <artifactId>hibernate-envers</artifactId>
48       <version>5.0.12.Final</version>
49     </dependency>
50     <dependency>
51       <groupId>com.h2database</groupId>
52       <artifactId>h2</artifactId>
53       <version>1.3.170</version>
54     </dependency>
55
56   </dependencies>
57
58   <build>
59     <plugins>
60       <plugin>
61         <groupId>org.apache.felix</groupId>
62         <artifactId>maven-bundle-plugin</artifactId>
63         <extensions>true</extensions>
64         <configuration>
65           <instructions>
66             <Bundle-SymbolicName>org.hibernate.osgi.unmanaged-native</Bundle-SymbolicName>
67             <Bundle-Name>unmanaged-native</Bundle-Name>
68             <Bundle-Version>1.0.0</Bundle-Version>
69             <Export-Package>
70               org.hibernate.osgitest,
71               org.hibernate.osgitest.entity
72             </Export-Package>
73             <Import-Package>
74               org.apache.felix.service.command,
75               org.apache.felix.gogo.commands,
76               org.apache.karaf.shell.console,
77               org.apache.karaf.shell.commands,
78               org.h2,
79               org.hibernate,
80               org.hibernate.cfg,
81               org.hibernate.service,
82               javax.persistence;version="[1.0.0,2.1.0]",
83               <!-- Needed for proxying's Javassist enhancement during runtime -->
84               org.hibernate.proxy,
85               javassist.util.proxy,
86               *
87             </Import-Package>
88           </instructions>
89         </configuration>
90       </plugin>
91       <plugin>
92         <groupId>de.juplo</groupId>
93         <artifactId>hibernate-maven-plugin</artifactId>
94         <version>${hibernate-maven-plugin.version}</version>
95         <configuration>
96           <format>true</format>
97         </configuration>
98         <executions>
99           <execution>
100             <goals>
101               <goal>create</goal>
102             </goals>
103           </execution>
104         </executions>
105       </plugin>
106     </plugins>
107   </build>
108 </project>