Skip to content

Commit 8e6245c

Browse files
committed
Use karaf-maven-plugin 4.2.6 to create an apache karaf feature for jackson-datatype-json-org (FasterXML#16)
1 parent 47d7416 commit 8e6245c

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
@@ -36,10 +36,12 @@ mainly to make it easier to upgrade code to Jackson, using automated conversions
3636
<dependency>
3737
<groupId>com.fasterxml.jackson.core</groupId>
3838
<artifactId>jackson-core</artifactId>
39+
<scope>provided</scope>
3940
</dependency>
4041
<dependency>
4142
<groupId>com.fasterxml.jackson.core</groupId>
4243
<artifactId>jackson-databind</artifactId>
44+
<scope>provided</scope>
4345
</dependency>
4446

4547
<dependency>
@@ -75,6 +77,10 @@ mainly to make it easier to upgrade code to Jackson, using automated conversions
7577
<groupId>org.moditect</groupId>
7678
<artifactId>moditect-maven-plugin</artifactId>
7779
</plugin>
80+
<plugin>
81+
<groupId>org.apache.karaf.tooling</groupId>
82+
<artifactId>karaf-maven-plugin</artifactId>
83+
</plugin>
7884
</plugins>
7985
</build>
8086

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)