Skip to content

Commit 9e1a785

Browse files
committed
Use karaf-maven-plugin 4.2.6 to create an apache karaf feature for jackson-datatype-jsr353 (#12)
1 parent fdef377 commit 9e1a785

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ working with JSR-353 (JDK Json-processing API) node types via data-binding
3737
<dependency>
3838
<groupId>com.fasterxml.jackson.core</groupId>
3939
<artifactId>jackson-core</artifactId>
40+
<scope>provided</scope>
4041
</dependency>
4142
<dependency>
4243
<groupId>com.fasterxml.jackson.core</groupId>
4344
<artifactId>jackson-databind</artifactId>
45+
<scope>provided</scope>
4446
</dependency>
4547

4648
<!-- We definitely need at least API -->
@@ -73,6 +75,10 @@ working with JSR-353 (JDK Json-processing API) node types via data-binding
7375
<groupId>org.moditect</groupId>
7476
<artifactId>moditect-maven-plugin</artifactId>
7577
</plugin>
78+
<plugin>
79+
<groupId>org.apache.karaf.tooling</groupId>
80+
<artifactId>karaf-maven-plugin</artifactId>
81+
</plugin>
7682
</plugins>
7783
</build>
7884

src/main/feature/feature.xml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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>
7+
</features>

0 commit comments

Comments
 (0)