Upgrade Jackson to 2.12.2 (#10288)

* Adds a jackson.version property to simplify managing the version
* Make sure the specified version is used as add-on dependency by excluding Jackson from transitive dependencies
* Use openhab.tp-jackson feature with dynamodb
* Remove jackson-dataformat-cbor dependency from features which is now also provided by the openhab.tp-jackson feature

Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
Wouter Born
2021-03-07 10:19:32 +01:00
committed by GitHub
parent f2eea9ea0f
commit 051c764789
7 changed files with 36 additions and 8 deletions

View File

@@ -16,7 +16,6 @@
<properties>
<dep.noembedding>jackson-core,jackson-annotations,jackson-databind</dep.noembedding>
<jackson.version>2.9.10</jackson.version>
</properties>
<dependencies>
@@ -25,6 +24,12 @@
<artifactId>api-v2</artifactId>
<version>0.11.3</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>