Configured the 5.0.12-tutorials as integration-test for the plugin
[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   <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-entitymanager</artifactId>
43       <version>5.0.12.Final</version>
44     </dependency>
45     <dependency>
46       <groupId>com.h2database</groupId>
47       <artifactId>h2</artifactId>
48       <version>1.3.170</version>
49     </dependency>
50
51   </dependencies>
52
53   <build>
54     <plugins>
55       <plugin>
56         <groupId>org.apache.felix</groupId>
57         <artifactId>maven-bundle-plugin</artifactId>
58         <extensions>true</extensions>
59         <configuration>
60           <instructions>
61             <Bundle-SymbolicName>org.hibernate.osgi.unmanaged-jpa</Bundle-SymbolicName>
62             <Bundle-Name>unmanaged-jpa</Bundle-Name>
63             <Bundle-Version>1.0.0</Bundle-Version>
64             <Export-Package>
65               org.hibernate.osgitest,
66               org.hibernate.osgitest.entity
67             </Export-Package>
68             <Import-Package>
69               org.apache.felix.service.command,
70               org.apache.felix.gogo.commands,
71               org.apache.karaf.shell.console,
72               org.apache.karaf.shell.commands,
73               org.h2,
74               javax.persistence;version="[1.0.0,2.1.0]",
75               <!-- Needed for proxying's Javassist enhancement during runtime -->
76               org.hibernate.proxy,
77               javassist.util.proxy,
78               *
79             </Import-Package>
80           </instructions>
81         </configuration>
82       </plugin>
83       <plugin>
84         <groupId>de.juplo</groupId>
85         <artifactId>hibernate-maven-plugin</artifactId>
86         <version>${hibernate-maven-plugin.version}</version>
87         <configuration>
88           <format>true</format>
89         </configuration>
90         <executions>
91           <execution>
92             <goals>
93               <goal>create</goal>
94             </goals>
95           </execution>
96         </executions>
97       </plugin>
98     </plugins>
99   </build>
100 </project>