Skip to content

Commit

Permalink
Use karaf-maven-plugin 4.2.6 to create an apache karaf feature for ja…
Browse files Browse the repository at this point in the history
…ckson-datatype-json-org (FasterXML#16)
  • Loading branch information
steinarb committed Oct 17, 2019
1 parent 47d7416 commit 8e6245c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ mainly to make it easier to upgrade code to Jackson, using automated conversions
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<scope>provided</scope>
</dependency>

<dependency>
Expand Down Expand Up @@ -75,6 +77,10 @@ mainly to make it easier to upgrade code to Jackson, using automated conversions
<groupId>org.moditect</groupId>
<artifactId>moditect-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

Expand Down
7 changes: 7 additions & 0 deletions src/main/feature/feature.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<features xmlns="http://karaf.apache.org/xmlns/features/v1.6.0" name="${project.artifactId}">
<repository>mvn:com.fasterxml.jackson.core/jackson-databind/${jackson.version.databind}/xml/features</repository>
<feature name="${project.artifactId}">
<feature>jackson-databind</feature>
</feature>
</features>

0 comments on commit 8e6245c

Please sign in to comment.