From 9f422347141d22ecb13c5eb8e9790f01a4d51d84 Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Sat, 27 Nov 2021 13:37:27 +0100 Subject: [PATCH 1/3] [xmppclient] Fix dependencies and update smack to 4.4.4 Signed-off-by: Fabian Wolter --- .../noEmbedDependencies.profile | 0 .../org.openhab.binding.xmppclient/pom.xml | 143 ++++++++++++++++-- .../src/main/feature/feature.xml | 30 ++-- 3 files changed, 149 insertions(+), 24 deletions(-) delete mode 100644 bundles/org.openhab.binding.xmppclient/noEmbedDependencies.profile diff --git a/bundles/org.openhab.binding.xmppclient/noEmbedDependencies.profile b/bundles/org.openhab.binding.xmppclient/noEmbedDependencies.profile deleted file mode 100644 index e69de29bb2d1d..0000000000000 diff --git a/bundles/org.openhab.binding.xmppclient/pom.xml b/bundles/org.openhab.binding.xmppclient/pom.xml index bfb83ed484a90..6416a41e1c3b7 100644 --- a/bundles/org.openhab.binding.xmppclient/pom.xml +++ b/bundles/org.openhab.binding.xmppclient/pom.xml @@ -15,45 +15,170 @@ openHAB Add-ons :: Bundles :: XMPPClient Binding - 4.3.3 + 4.4.4 + + !android.*,!sun.security.* + org.igniterealtime.smack - smack-java7 + smack-core ${smack.version} - provided + + org.igniterealtime.smack + smack-xmlparser + ${smack.version} + + + org.igniterealtime.smack + smack-xmlparser-xpp3 + ${smack.version} + + + xpp3 + xpp3_min + 1.1.4c + + + org.jxmpp + jxmpp-core + 1.0.3 + + + org.jxmpp + jxmpp-util-cache + 1.0.3 + + + org.jxmpp + jxmpp-jid + 1.0.3 + + + + org.igniterealtime.smack + smack-java8 + ${smack.version} + + + org.igniterealtime.smack + smack-sasl-javax + ${smack.version} + + + org.igniterealtime.smack + smack-resolver-javax + ${smack.version} + + org.igniterealtime.smack smack-extensions ${smack.version} - provided org.igniterealtime.smack smack-im ${smack.version} - provided + org.igniterealtime.smack smack-tcp ${smack.version} - provided + + org.igniterealtime.smack + smack-streammanagement + ${smack.version} + + org.igniterealtime.smack smack-experimental ${smack.version} - provided + + org.hsluv + hsluv + 0.2 + + + + org.igniterealtime.smack + smack-resolver-minidns + ${smack.version} + + org.minidns minidns-core - 0.3.3 - provided + 1.0.2 + + + org.minidns + minidns-dnssec + 1.0.2 + + + org.minidns + minidns-client + 1.0.2 + + + org.minidns + minidns-iterative-resolver + 1.0.2 + + + org.minidns + minidns-hla + 1.0.2 + + + + org.apache.aries.spifly + org.apache.aries.spifly.dynamic.framework.extension + 1.3.2 + + + org.apache.aries.spifly + org.apache.aries.spifly.dynamic.bundle + 1.3.2 + + + org.ow2.asm + asm + 9.0 + + + org.ow2.asm + asm-commons + 9.0 + + + org.ow2.asm + asm-tree + 9.0 + + + org.ow2.asm + asm-analysis + 9.0 + + + org.ow2.asm + asm-util + 9.0 + + + + org.apache.servicemix.bundles + org.apache.servicemix.bundles.xmlpull + 1.1.3.1_2 diff --git a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml index f9d20cc4d999e..f9c206fe8071c 100644 --- a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml @@ -4,22 +4,22 @@ openhab-runtime-base - - mvn:org.igniterealtime.smack/smack-extensions/4.3.3 - mvn:org.igniterealtime.smack/smack-experimental/4.3.3 - mvn:org.igniterealtime.smack/smack-im/4.3.3 - mvn:org.igniterealtime.smack/smack-tcp/4.3.3 - mvn:org.jxmpp/jxmpp-core/0.6.3 - mvn:org.jxmpp/jxmpp-jid/0.6.3 - mvn:org.jxmpp/jxmpp-util-cache/0.6.3 - mvn:org.minidns/minidns-core/0.3.3 mvn:org.bouncycastle/bcprov-jdk15on/1.69 - mvn:org.igniterealtime.smack/smack-core/4.3.3 - mvn:org.igniterealtime.smack/smack-sasl-javax/4.3.3 - mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xpp3/1.1.4c_7 - - mvn:org.igniterealtime.smack/smack-resolver-javax/4.3.3 - mvn:org.igniterealtime.smack/smack-java7/4.3.3 + mvn:org.minidns/minidns-core/1.0.2 + mvn:org.minidns/minidns-dnssec/1.0.2 + mvn:org.minidns/minidns-client/1.0.2 + mvn:org.minidns/minidns-iterative-resolver/1.0.2 + mvn:org.minidns/minidns-hla/1.0.2 + mvn:org.jxmpp/jxmpp-core/1.0.3 + mvn:org.jxmpp/jxmpp-jid/1.0.3 + mvn:org.jxmpp/jxmpp-util-cache/1.0.3 + mvn:org.igniterealtime.smack/smack-core/4.4.4 + mvn:org.igniterealtime.smack/smack-extensions/4.4.4 + + mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.2 + mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlpull/1.1.3.1_2 + mvn:org.igniterealtime.smack/smack-xmlparser-xpp3/4.4.4 + mvn:org.igniterealtime.smack/smack-xmlparser/4.4.4 mvn:org.openhab.addons.bundles/org.openhab.binding.xmppclient/${project.version} From e4c78f07d35dbd602844067fd4ce2280ca63edf9 Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Tue, 30 Nov 2021 12:41:31 +0100 Subject: [PATCH 2/3] Remove smack-resolver-minidns Signed-off-by: Fabian Wolter --- .../org.openhab.binding.xmppclient/pom.xml | 27 ------------------- .../src/main/feature/feature.xml | 5 ---- 2 files changed, 32 deletions(-) diff --git a/bundles/org.openhab.binding.xmppclient/pom.xml b/bundles/org.openhab.binding.xmppclient/pom.xml index 6416a41e1c3b7..220019e64e947 100644 --- a/bundles/org.openhab.binding.xmppclient/pom.xml +++ b/bundles/org.openhab.binding.xmppclient/pom.xml @@ -107,38 +107,11 @@ 0.2 - - org.igniterealtime.smack - smack-resolver-minidns - ${smack.version} - - org.minidns minidns-core 1.0.2 - - org.minidns - minidns-dnssec - 1.0.2 - - - org.minidns - minidns-client - 1.0.2 - - - org.minidns - minidns-iterative-resolver - 1.0.2 - - - org.minidns - minidns-hla - 1.0.2 - - org.apache.aries.spifly org.apache.aries.spifly.dynamic.framework.extension diff --git a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml index f9c206fe8071c..eef244c6861dc 100644 --- a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml @@ -5,11 +5,6 @@ openhab-runtime-base mvn:org.bouncycastle/bcprov-jdk15on/1.69 - mvn:org.minidns/minidns-core/1.0.2 - mvn:org.minidns/minidns-dnssec/1.0.2 - mvn:org.minidns/minidns-client/1.0.2 - mvn:org.minidns/minidns-iterative-resolver/1.0.2 - mvn:org.minidns/minidns-hla/1.0.2 mvn:org.jxmpp/jxmpp-core/1.0.3 mvn:org.jxmpp/jxmpp-jid/1.0.3 mvn:org.jxmpp/jxmpp-util-cache/1.0.3 From 1928773aaa15018c44469161628792e58efb05bb Mon Sep 17 00:00:00 2001 From: Fabian Wolter Date: Tue, 30 Nov 2021 19:53:54 +0100 Subject: [PATCH 3/3] Cleanup xmlpull dependencies; add missing dependencies to features.xml; wrap smack-core Signed-off-by: Fabian Wolter --- .../org.openhab.binding.xmppclient/pom.xml | 8 +------ .../src/main/feature/feature.xml | 24 +++++++++++++------ 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/bundles/org.openhab.binding.xmppclient/pom.xml b/bundles/org.openhab.binding.xmppclient/pom.xml index 220019e64e947..6483852b53b9a 100644 --- a/bundles/org.openhab.binding.xmppclient/pom.xml +++ b/bundles/org.openhab.binding.xmppclient/pom.xml @@ -39,7 +39,7 @@ xpp3 - xpp3_min + xpp3 1.1.4c @@ -147,12 +147,6 @@ asm-util 9.0 - - - org.apache.servicemix.bundles - org.apache.servicemix.bundles.xmlpull - 1.1.3.1_2 - diff --git a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml index eef244c6861dc..aca894ccc6451 100644 --- a/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.xmppclient/src/main/feature/feature.xml @@ -4,15 +4,25 @@ openhab-runtime-base - mvn:org.bouncycastle/bcprov-jdk15on/1.69 - mvn:org.jxmpp/jxmpp-core/1.0.3 - mvn:org.jxmpp/jxmpp-jid/1.0.3 - mvn:org.jxmpp/jxmpp-util-cache/1.0.3 - mvn:org.igniterealtime.smack/smack-core/4.4.4 - mvn:org.igniterealtime.smack/smack-extensions/4.4.4 + wrap + mvn:org.jxmpp/jxmpp-core/1.0.3 + mvn:org.jxmpp/jxmpp-jid/1.0.3 + mvn:org.jxmpp/jxmpp-util-cache/1.0.3 + mvn:org.minidns/minidns-core/1.0.2 + wrap:mvn:org.igniterealtime.smack/smack-core/4.4.4$Import-Package=!sun.security.pkcs11,org.jivesoftware.*&overwrite=merge + mvn:org.igniterealtime.smack/smack-extensions/4.4.4 + mvn:org.igniterealtime.smack/smack-experimental/4.4.4 + wrap:mvn:org.hsluv/hsluv/0.2 + mvn:org.igniterealtime.smack/smack-im/4.4.4 + mvn:org.igniterealtime.smack/smack-tcp/4.4.4 + mvn:org.igniterealtime.smack/smack-streammanagement/4.4.4 + mvn:org.igniterealtime.smack/smack-resolver-javax/4.4.4 + mvn:org.igniterealtime.smack/smack-sasl-javax/4.4.4 + mvn:org.igniterealtime.smack/smack-java8/4.4.4 mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.framework.extension/1.3.2 - mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.xmlpull/1.1.3.1_2 + mvn:org.apache.aries.spifly/org.apache.aries.spifly.dynamic.bundle/1.3.2 + wrap:mvn:xpp3/xpp3/1.1.4c mvn:org.igniterealtime.smack/smack-xmlparser-xpp3/4.4.4 mvn:org.igniterealtime.smack/smack-xmlparser/4.4.4 mvn:org.openhab.addons.bundles/org.openhab.binding.xmppclient/${project.version}