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-databind (FasterXML#2434)
  • Loading branch information
steinarb committed Sep 18, 2019
1 parent 66f59d5 commit c94c99b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@
it is dependent on transitively
-->
<version>${jackson.version.annotations}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version.core}</version>
<scope>provided</scope>
</dependency>

<!-- and for testing we need a few libraries
Expand Down Expand Up @@ -184,6 +186,10 @@
<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
9 changes: 9 additions & 0 deletions src/main/feature/feature.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?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-annotations/${jackson.version.core}/xml/features</repository>
<repository>mvn:com.fasterxml.jackson.core/jackson-core/${jackson.version.core}/xml/features</repository>
<feature name="${project.artifactId}">
<feature>jackson-annotations</feature>
<feature>jackson-core</feature>
</feature>
</features>

0 comments on commit c94c99b

Please sign in to comment.