feature poms include the dependencies the feature uses
and tidy versions and exclusions for maven/osgi consistency
diff --git a/java/pom.xml b/java/pom.xml
index bb08eda..9b35bd5 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -68,6 +68,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</exclusion>
+ <exclusion>
+ <!-- use newer version, below -->
+ <groupId>com.github.fge</groupId>
+ <artifactId>json-patch</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -95,6 +100,36 @@
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
</dependency>
+
+ <!-- resteasy uses 1.3; but here bump to 1.4 which is Apache licensed -->
+ <dependency>
+ <groupId>com.github.fge</groupId>
+ <artifactId>json-patch</artifactId>
+ <version>1.4</version>
+ </dependency>
+
+ <!-- ensure use of the right jackson version -->
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-databind</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.core</groupId>
+ <artifactId>jackson-annotations</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.jaxrs</groupId>
+ <artifactId>jackson-jaxrs-json-provider</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>com.fasterxml.jackson.module</groupId>
+ <artifactId>jackson-module-jaxb-annotations</artifactId>
+ </dependency>
+
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>