From f00b005ab9061d552325b450bfd92b883562d31f Mon Sep 17 00:00:00 2001 From: Markus Rathgeb Date: Wed, 13 Mar 2019 23:23:37 +0100 Subject: [PATCH] bump Gson to 2.8.2 (#648) As long as we depend on the internal Gson packages, we need to use the Gson bundle provided by Eclipse Orbit instead of the official one. Related to: https://github.com/openhab/openhab-core/pull/641 Signed-off-by: Markus Rathgeb --- bom/compile/pom.xml | 6 +++--- bom/runtime/pom.xml | 8 +------- demo/app/app.bndrun | 4 ++-- .../karaf/openhab-core/src/main/feature/feature.xml | 3 ++- features/karaf/openhab-tp/src/main/feature/feature.xml | 10 ++++++---- itests/org.openhab.core.audio.tests/itest.bndrun | 4 ++-- .../itest.bndrun | 4 ++-- itests/org.openhab.core.automation.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.binding.xml.tests/itest.bndrun | 3 +-- itests/org.openhab.core.compat1x.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.config.core.tests/itest.bndrun | 4 ++-- .../itest.bndrun | 3 +-- .../itest.bndrun | 9 +++++++-- itests/org.openhab.core.io.net.tests/itest.bndrun | 4 ++-- .../org.openhab.core.io.rest.core.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.model.thing.tests/itest.bndrun | 5 ++--- .../org.openhab.core.storage.json.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.thing.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.thing.xml.tests/itest.bndrun | 3 +-- itests/org.openhab.core.transform.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.ui.icon.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.ui.tests/itest.bndrun | 4 ++-- itests/org.openhab.core.voice.tests/itest.bndrun | 3 +-- 24 files changed, 53 insertions(+), 56 deletions(-) diff --git a/bom/compile/pom.xml b/bom/compile/pom.xml index d78ba43d4..8cd3815ac 100644 --- a/bom/compile/pom.xml +++ b/bom/compile/pom.xml @@ -99,9 +99,9 @@ - com.google.code.gson - gson - 2.3.1 + org.eclipse.orbit.bundles + com.google.gson + 2.8.2.v20180104-1110 compile diff --git a/bom/runtime/pom.xml b/bom/runtime/pom.xml index 154afc2a4..a4f699c0c 100644 --- a/bom/runtime/pom.xml +++ b/bom/runtime/pom.xml @@ -377,16 +377,10 @@ - - com.google.code.gson - gson - 2.3.1 - compile - org.eclipse.orbit.bundles com.google.gson - 2.7.0.v20170129-0911 + 2.8.2.v20180104-1110 compile diff --git a/demo/app/app.bndrun b/demo/app/app.bndrun index 742ed2756..c1287734c 100644 --- a/demo/app/app.bndrun +++ b/demo/app/app.bndrun @@ -140,7 +140,6 @@ feature.openhab-model-runtime-all: \ org.osgi.service.metatype;version='[1.4.0,1.4.1)',\ tec.uom.lib.uom-lib-common;version='[1.0.2,1.0.3)',\ tec.uom.se;version='[1.0.8,1.0.9)',\ - com.google.gson;version='[2.7.0,2.7.1)',\ org.openhab.core;version='[2.5.0,2.5.1)',\ org.openhab.core.audio;version='[2.5.0,2.5.1)',\ org.openhab.core.binding.xml;version='[2.5.0,2.5.1)',\ @@ -181,4 +180,5 @@ feature.openhab-model-runtime-all: \ org.openhab.core.voice;version='[2.5.0,2.5.1)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ - slf4j.api;version='[1.7.25,1.7.26)' + slf4j.api;version='[1.7.25,1.7.26)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/features/karaf/openhab-core/src/main/feature/feature.xml b/features/karaf/openhab-core/src/main/feature/feature.xml index 34f81624b..db87691d1 100644 --- a/features/karaf/openhab-core/src/main/feature/feature.xml +++ b/features/karaf/openhab-core/src/main/feature/feature.xml @@ -23,6 +23,8 @@ openhab.tp;filter:="(feature=base)" openhab.tp-base + openhab.tp-gson + openhab.tp;filter:="(&(feature=xtext)(version>=2.14.0)(!(version>=2.15.0)))" openhab.tp-xtext @@ -515,7 +517,6 @@ - mvn:p2.osgi.bundle/com.google.gson/2.8.2.v20180104-1110 mvn:com.google.guava/guava/18.0 openhab.tp;filter:="(feature=commons-net)" openhab.tp-commons-net diff --git a/features/karaf/openhab-tp/src/main/feature/feature.xml b/features/karaf/openhab-tp/src/main/feature/feature.xml index 234e0e20e..371251cbc 100644 --- a/features/karaf/openhab-tp/src/main/feature/feature.xml +++ b/features/karaf/openhab-tp/src/main/feature/feature.xml @@ -30,9 +30,6 @@ mvn:commons-lang/commons-lang/2.6 - - mvn:com.google.code.gson/gson/2.3.1 - mvn:javax.measure/unit-api/1.0 mvn:tec.uom/uom-se/1.0.8 @@ -55,6 +52,11 @@ mvn:commons-net/commons-net/3.3 + + openhab.tp;feature=gson;version=2.8.2.v20180104-1110 + mvn:org.eclipse.orbit.bundles/com.google.gson/2.8.2.v20180104-1110 + + openhab.tp;feature=httpclient;version=${jetty.version} mvn:javax.servlet/javax.servlet-api/3.1.0 @@ -126,8 +128,8 @@ mvn:org.eclipse.lsp4j/org.eclipse.lsp4j/0.4.1 mvn:org.eclipse.lsp4j/org.eclipse.lsp4j.jsonrpc/0.4.1 + openhab.tp-gson openhab.tp-xtext - mvn:org.eclipse.orbit.bundles/com.google.gson/2.7.0.v20170129-0911 diff --git a/itests/org.openhab.core.audio.tests/itest.bndrun b/itests/org.openhab.core.audio.tests/itest.bndrun index 2feb0eda2..71359c02a 100644 --- a/itests/org.openhab.core.audio.tests/itest.bndrun +++ b/itests/org.openhab.core.audio.tests/itest.bndrun @@ -14,7 +14,6 @@ Fragment-Host: org.openhab.core.audio # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -57,4 +56,5 @@ Fragment-Host: org.openhab.core.audio slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.auth.oauth2client.tests/itest.bndrun b/itests/org.openhab.core.auth.oauth2client.tests/itest.bndrun index 7abf2c894..3e4fb157e 100644 --- a/itests/org.openhab.core.auth.oauth2client.tests/itest.bndrun +++ b/itests/org.openhab.core.auth.oauth2client.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.auth.oauth2client # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.exec;version='[1.1.0,1.1.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -43,4 +42,5 @@ Fragment-Host: org.openhab.core.auth.oauth2client slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.automation.tests/itest.bndrun b/itests/org.openhab.core.automation.tests/itest.bndrun index f5f955d3c..8d281ab65 100644 --- a/itests/org.openhab.core.automation.tests/itest.bndrun +++ b/itests/org.openhab.core.automation.tests/itest.bndrun @@ -14,7 +14,6 @@ Fragment-Host: org.openhab.core.automation # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -42,4 +41,5 @@ Fragment-Host: org.openhab.core.automation tec.uom.se;version='[1.0.8,1.0.9)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ - ch.qos.logback.classic;version='[1.2.3,1.2.4)' \ No newline at end of file + ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ + com.google.gson;version='[2.8.2,2.8.3)' \ No newline at end of file diff --git a/itests/org.openhab.core.binding.xml.tests/itest.bndrun b/itests/org.openhab.core.binding.xml.tests/itest.bndrun index 208397546..c9c77b3ea 100644 --- a/itests/org.openhab.core.binding.xml.tests/itest.bndrun +++ b/itests/org.openhab.core.binding.xml.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.binding.xml # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -38,4 +37,4 @@ Fragment-Host: org.openhab.core.binding.xml ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ - org.openhab.core.storage.json;version='[2.5.0,2.5.1)' + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.compat1x.tests/itest.bndrun b/itests/org.openhab.core.compat1x.tests/itest.bndrun index eb49aa765..47043ab7e 100644 --- a/itests/org.openhab.core.compat1x.tests/itest.bndrun +++ b/itests/org.openhab.core.compat1x.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.compat1x # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ com.google.guava;version='[15.0.0,15.0.1)',\ com.google.inject;version='[3.0.0,3.0.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ @@ -92,4 +91,5 @@ Fragment-Host: org.openhab.core.compat1x ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ - org.openhab.core.model.persistence.runtime;version='[2.5.0,2.5.1)' + com.google.gson;version='[2.8.2,2.8.3)',\ + org.openhab.core.model.rule.runtime;version='[2.5.0,2.5.1)' diff --git a/itests/org.openhab.core.config.core.tests/itest.bndrun b/itests/org.openhab.core.config.core.tests/itest.bndrun index 33205405b..38b05ac7d 100644 --- a/itests/org.openhab.core.config.core.tests/itest.bndrun +++ b/itests/org.openhab.core.config.core.tests/itest.bndrun @@ -15,7 +15,6 @@ Fragment-Host: org.openhab.core.config.core # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -43,4 +42,5 @@ Fragment-Host: org.openhab.core.config.core slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.config.discovery.mdns.tests/itest.bndrun b/itests/org.openhab.core.config.discovery.mdns.tests/itest.bndrun index 4cfb01c6e..0dde1b8cb 100644 --- a/itests/org.openhab.core.config.discovery.mdns.tests/itest.bndrun +++ b/itests/org.openhab.core.config.discovery.mdns.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.config.discovery.mdns # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -42,4 +41,4 @@ Fragment-Host: org.openhab.core.config.discovery.mdns ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ - org.openhab.core.storage.json;version='[2.5.0,2.5.1)' + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.config.discovery.tests/itest.bndrun b/itests/org.openhab.core.config.discovery.tests/itest.bndrun index 762fcb221..8fae80824 100644 --- a/itests/org.openhab.core.config.discovery.tests/itest.bndrun +++ b/itests/org.openhab.core.config.discovery.tests/itest.bndrun @@ -7,11 +7,15 @@ Fragment-Host: org.openhab.core.config.discovery bnd.identity;id='org.openhab.core.config.discovery.tests',\ bnd.identity;id='org.openhab.core.thing.xml' +# If we would like to use a storage at all, we will use the "volatile" storage. +-runblacklist: \ + bnd.identity;id='org.openhab.core.storage.json',\ + bnd.identity;id='org.openhab.core.storage.mapdb' + # # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -47,4 +51,5 @@ Fragment-Host: org.openhab.core.config.discovery slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' \ No newline at end of file + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.io.net.tests/itest.bndrun b/itests/org.openhab.core.io.net.tests/itest.bndrun index 0ccfb7df1..d66ea4aa8 100644 --- a/itests/org.openhab.core.io.net.tests/itest.bndrun +++ b/itests/org.openhab.core.io.net.tests/itest.bndrun @@ -10,7 +10,6 @@ Fragment-Host: org.openhab.core.io.net # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.exec;version='[1.1.0,1.1.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -41,4 +40,5 @@ Fragment-Host: org.openhab.core.io.net slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.io.rest.core.tests/itest.bndrun b/itests/org.openhab.core.io.rest.core.tests/itest.bndrun index fc5600117..d5e8ef573 100644 --- a/itests/org.openhab.core.io.rest.core.tests/itest.bndrun +++ b/itests/org.openhab.core.io.rest.core.tests/itest.bndrun @@ -17,7 +17,6 @@ Fragment-Host: org.openhab.core.io.rest.core # -runbundles: \ com.eclipsesource.jaxrs.jersey-all;version='[2.22.2,2.22.3)',\ - com.google.gson;version='[2.7.0,2.7.1)',\ com.jayway.jsonpath.json-path;version='[2.4.0,2.4.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ net.minidev.accessors-smart;version='[1.2.0,1.2.1)',\ @@ -58,4 +57,5 @@ Fragment-Host: org.openhab.core.io.rest.core slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.model.thing.tests/itest.bndrun b/itests/org.openhab.core.model.thing.tests/itest.bndrun index ee5811865..adec0a2d8 100644 --- a/itests/org.openhab.core.model.thing.tests/itest.bndrun +++ b/itests/org.openhab.core.model.thing.tests/itest.bndrun @@ -13,7 +13,6 @@ Fragment-Host: org.openhab.core.model.thing # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ com.google.guava;version='[15.0.0,15.0.1)',\ com.google.inject;version='[3.0.0,3.0.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ @@ -101,5 +100,5 @@ Fragment-Host: org.openhab.core.model.thing slf4j.api;version='[1.7.25,1.7.26)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ - org.openhab.core.model.persistence.runtime;version='[2.5.0,2.5.1)',\ - org.openhab.core.storage.json;version='[2.5.0,2.5.1)' + com.google.gson;version='[2.8.2,2.8.3)',\ + org.openhab.core.model.rule.runtime;version='[2.5.0,2.5.1)' diff --git a/itests/org.openhab.core.storage.json.tests/itest.bndrun b/itests/org.openhab.core.storage.json.tests/itest.bndrun index bc477a7db..920622ff4 100644 --- a/itests/org.openhab.core.storage.json.tests/itest.bndrun +++ b/itests/org.openhab.core.storage.json.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.storage.json # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -34,4 +33,5 @@ Fragment-Host: org.openhab.core.storage.json tec.uom.se;version='[1.0.8,1.0.9)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ - slf4j.api;version='[1.7.25,1.7.26)' \ No newline at end of file + slf4j.api;version='[1.7.25,1.7.26)',\ + com.google.gson;version='[2.8.2,2.8.3)' \ No newline at end of file diff --git a/itests/org.openhab.core.tests/itest.bndrun b/itests/org.openhab.core.tests/itest.bndrun index 51e1ca555..ed35035c4 100644 --- a/itests/org.openhab.core.tests/itest.bndrun +++ b/itests/org.openhab.core.tests/itest.bndrun @@ -14,7 +14,6 @@ Fragment-Host: org.openhab.core # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -42,4 +41,5 @@ Fragment-Host: org.openhab.core slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.thing.tests/itest.bndrun b/itests/org.openhab.core.thing.tests/itest.bndrun index b1549451a..fdd063c53 100644 --- a/itests/org.openhab.core.thing.tests/itest.bndrun +++ b/itests/org.openhab.core.thing.tests/itest.bndrun @@ -17,7 +17,6 @@ Fragment-Host: org.openhab.core.thing # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -52,4 +51,5 @@ Fragment-Host: org.openhab.core.thing slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.thing.xml.tests/itest.bndrun b/itests/org.openhab.core.thing.xml.tests/itest.bndrun index 427c29018..dde8c5d2a 100644 --- a/itests/org.openhab.core.thing.xml.tests/itest.bndrun +++ b/itests/org.openhab.core.thing.xml.tests/itest.bndrun @@ -11,7 +11,6 @@ Fragment-Host: org.openhab.core.thing.xml # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -43,4 +42,4 @@ Fragment-Host: org.openhab.core.thing.xml ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ - org.openhab.core.storage.json;version='[2.5.0,2.5.1)' \ No newline at end of file + com.google.gson;version='[2.8.2,2.8.3)' \ No newline at end of file diff --git a/itests/org.openhab.core.transform.tests/itest.bndrun b/itests/org.openhab.core.transform.tests/itest.bndrun index 2bbde61a9..41289b95c 100644 --- a/itests/org.openhab.core.transform.tests/itest.bndrun +++ b/itests/org.openhab.core.transform.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.transform # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ org.apache.commons.lang;version='[2.6.0,2.6.1)',\ @@ -27,4 +26,5 @@ Fragment-Host: org.openhab.core.transform org.openhab.core.storage.json;version='[2.5.0,2.5.1)',\ ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ - slf4j.simple;version='[1.7.21,1.7.22)' \ No newline at end of file + ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ + com.google.gson;version='[2.8.2,2.8.3)' \ No newline at end of file diff --git a/itests/org.openhab.core.ui.icon.tests/itest.bndrun b/itests/org.openhab.core.ui.icon.tests/itest.bndrun index d21f899de..52692b16a 100644 --- a/itests/org.openhab.core.ui.icon.tests/itest.bndrun +++ b/itests/org.openhab.core.ui.icon.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.ui.icon # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.aries.javax.jax.rs-api;version='[1.0.0,1.0.1)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -53,4 +52,5 @@ Fragment-Host: org.openhab.core.ui.icon slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ - net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)' + net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ + com.google.gson;version='[2.8.2,2.8.3)' diff --git a/itests/org.openhab.core.ui.tests/itest.bndrun b/itests/org.openhab.core.ui.tests/itest.bndrun index c1fdf82e3..d89e97463 100644 --- a/itests/org.openhab.core.ui.tests/itest.bndrun +++ b/itests/org.openhab.core.ui.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.ui # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ com.google.guava;version='[15.0.0,15.0.1)',\ com.google.inject;version='[3.0.0,3.0.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ @@ -93,4 +92,5 @@ Fragment-Host: org.openhab.core.ui slf4j.api;version='[1.7.25,1.7.26)',\ net.bytebuddy.byte-buddy;version='[1.9.7,1.9.8)',\ net.bytebuddy.byte-buddy-agent;version='[1.9.7,1.9.8)',\ - org.openhab.core.model.persistence.runtime;version='[2.5.0,2.5.1)' + com.google.gson;version='[2.8.2,2.8.3)',\ + org.openhab.core.model.rule.runtime;version='[2.5.0,2.5.1)' diff --git a/itests/org.openhab.core.voice.tests/itest.bndrun b/itests/org.openhab.core.voice.tests/itest.bndrun index 711e6a72a..abce75e74 100644 --- a/itests/org.openhab.core.voice.tests/itest.bndrun +++ b/itests/org.openhab.core.voice.tests/itest.bndrun @@ -9,7 +9,6 @@ Fragment-Host: org.openhab.core.voice # done # -runbundles: \ - com.google.gson;version='[2.7.0,2.7.1)',\ javax.measure.unit-api;version='[1.0.0,1.0.1)',\ org.apache.commons.collections;version='[3.2.1,3.2.2)',\ org.apache.commons.io;version='[2.2.0,2.2.1)',\ @@ -52,4 +51,4 @@ Fragment-Host: org.openhab.core.voice ch.qos.logback.core;version='[1.2.3,1.2.4)',\ slf4j.api;version='[1.7.25,1.7.26)',\ ch.qos.logback.classic;version='[1.2.3,1.2.4)',\ - org.openhab.core.storage.json;version='[2.5.0,2.5.1)' \ No newline at end of file + com.google.gson;version='[2.8.2,2.8.3)' \ No newline at end of file