Skip to content

Commit 8fa1e16

Browse files
committed
Use karaf-maven-plugin 4.2.6 to create an apache karaf feature for jackson-datatype-hibernate5 (FasterXML#132)
1 parent c4184ad commit 8fa1e16

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

hibernate5/pom.xml

+5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Hibernate (http://hibernate.org) version 5.x data types.
3030
<groupId>javax.transaction</groupId>
3131
<artifactId>javax.transaction-api</artifactId>
3232
<version>1.3</version>
33+
<scope>provided</scope>
3334
</dependency>
3435

3536
<!-- what would be the best scope to use here? -->
@@ -112,6 +113,10 @@ Hibernate (http://hibernate.org) version 5.x data types.
112113
</execution>
113114
</executions>
114115
</plugin>
116+
<plugin>
117+
<groupId>org.apache.karaf.tooling</groupId>
118+
<artifactId>karaf-maven-plugin</artifactId>
119+
</plugin>
115120
</plugins>
116121
</build>
117122
</project>
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="${project.artifactId}">
3+
<repository>mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version.databind}/xml/features</repository>
4+
<feature name="${project.artifactId}">
5+
<feature>jackson-databind</feature>
6+
<feature>hibernate</feature>
7+
</feature>
8+
</features>

0 commit comments

Comments
 (0)