[maven-release-plugin] prepare for next development iteration
[hibernate-maven-plugin] / src / it / tutorials / osgi / managed-jpa / 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>managed-jpa</artifactId>
6         <version>1.0.0</version>
7     <packaging>bundle</packaging>
8
9         <properties>
10                 <h4mp.version>@project.version@</h4mp.version>
11         </properties>
12
13         <dependencies>
14                 <dependency>
15                         <groupId>org.hibernate.javax.persistence</groupId>
16             <artifactId>hibernate-jpa-2.1-api</artifactId>
17             <version>1.0.0.Final</version>
18                 </dependency>
19         <dependency>
20             <groupId>org.osgi</groupId>
21             <artifactId>org.osgi.core</artifactId>
22             <version>4.3.1</version>
23         </dependency>
24         <dependency>
25             <groupId>org.osgi</groupId>
26             <artifactId>org.osgi.enterprise</artifactId>
27             <version>4.2.0</version>
28         </dependency>
29         <dependency>
30             <groupId>org.apache.karaf.shell</groupId>
31             <artifactId>org.apache.karaf.shell.console</artifactId>
32             <version>2.3.0</version>
33         </dependency>
34         <dependency>
35             <groupId>com.h2database</groupId>
36             <artifactId>h2</artifactId>
37             <version>1.4.187</version>
38         </dependency>
39         </dependencies>
40
41         <build>
42                 <plugins>
43                         <plugin>
44                                 <groupId>org.apache.felix</groupId>
45                                 <artifactId>maven-bundle-plugin</artifactId>
46                                 <extensions>true</extensions>
47                                 <configuration>
48                                         <instructions>
49                                                 <Bundle-SymbolicName>org.hibernate.osgi.managed-jpa</Bundle-SymbolicName>
50                                                 <Bundle-Name>managed-jpa</Bundle-Name>
51                                                 <Bundle-Version>1.0.0</Bundle-Version>
52                                                 <Export-Package>
53                                                     org.hibernate.osgitest,
54                                                         org.hibernate.osgitest.entity
55                                                 </Export-Package>
56                                                 <Import-Package>
57                                                     org.apache.felix.service.command,
58                             org.apache.felix.gogo.commands,
59                             org.apache.karaf.shell.console,
60                             org.apache.karaf.shell.commands,
61                             javax.persistence;version="[1.0.0,2.1.0]",
62                             <!-- Needed for proxying's Javassist enhancement during runtime -->
63                             org.hibernate.proxy,
64                             javassist.util.proxy,
65                             * 
66                                                 </Import-Package>
67                                                 <Meta-Persistence>META-INF/persistence.xml</Meta-Persistence>
68                                         </instructions>
69                                 </configuration>
70                         </plugin>
71                         <plugin>
72                                 <groupId>de.juplo</groupId>
73                                 <artifactId>hibernate4-maven-plugin</artifactId>
74                                 <version>${h4mp.version}</version>
75                                 <executions>
76                                         <execution>
77                                                 <goals>
78                                                         <goal>export</goal>
79                                                 </goals>
80                                         </execution>
81                                 </executions>
82                                 <configuration>
83                                         <url>jdbc:h2:mem:db1;MVCC=TRUE</url>
84                                 </configuration>
85                         </plugin>
86                 </plugins>
87         </build>
88 </project>