From c0f70749d9fd63dda096fec7667c05a28ef3badb Mon Sep 17 00:00:00 2001 From: antroids <36043354+antroids@users.noreply.github.com> Date: Sun, 25 Apr 2021 23:03:12 +0300 Subject: [PATCH] [Jinja] Update JinJava version and embed dependencies #10496 (#10578) Signed-off-by: Anton Kharuzhy --- .../noEmbedDependencies.profile | 0 bundles/org.openhab.transform.jinja/pom.xml | 68 ++++++++++++++----- .../src/main/feature/feature.xml | 8 +-- 3 files changed, 51 insertions(+), 25 deletions(-) delete mode 100644 bundles/org.openhab.transform.jinja/noEmbedDependencies.profile diff --git a/bundles/org.openhab.transform.jinja/noEmbedDependencies.profile b/bundles/org.openhab.transform.jinja/noEmbedDependencies.profile deleted file mode 100644 index e69de29bb..000000000 diff --git a/bundles/org.openhab.transform.jinja/pom.xml b/bundles/org.openhab.transform.jinja/pom.xml index 2c1832976..e5187bca5 100644 --- a/bundles/org.openhab.transform.jinja/pom.xml +++ b/bundles/org.openhab.transform.jinja/pom.xml @@ -14,7 +14,45 @@ openHAB Add-ons :: Bundles :: Transformation Service :: Jinja + + + javax.annotation;resolution:=optional + + jackson-annotations,jackson-databind,jackson-core,jackson-dataformat-yaml,commons-lang3,commons-net,jsoup + + + + com.hubspot.jinjava + jinjava + 2.5.7 + compile + + + com.google.re2j + re2j + 1.2 + compile + + + ch.obermuhlner + big-math + 2.0.0 + compile + + + com.googlecode.java-ipv6 + java-ipv6 + 0.17 + compile + + + + com.fasterxml.jackson.core + jackson-annotations + ${jackson.version} + compile + com.fasterxml.jackson.core jackson-databind @@ -22,15 +60,15 @@ compile - org.javassist - javassist - 3.22.0-GA + com.fasterxml.jackson.core + jackson-core + ${jackson.version} compile - org.openhab.osgiify - com.hubspot.jinjava.jinjava - 2.5.0 + com.fasterxml.jackson.dataformat + jackson-dataformat-yaml + ${jackson.version} compile @@ -39,24 +77,18 @@ 1.8.3 compile - - com.google.guava - guava - 21.0 - compile - - - org.openhab.osgiify - com.google.re2j.re2j - 1.2 - compile - org.apache.commons commons-lang3 3.4 compile + + commons-net + commons-net + 3.3 + compile + diff --git a/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml b/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml index 3072b94c7..1a33c8df1 100644 --- a/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml +++ b/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml @@ -5,15 +5,9 @@ openhab-runtime-base openhab.tp-jackson - mvn:com.google.guava/guava/21.0 - mvn:ch.obermuhlner/big-math/2.1.0 mvn:org.jsoup/jsoup/1.8.3 - mvn:org.openhab.osgiify/com.google.re2j.re2j/1.2 - mvn:de.odysseus.juel/juel-api/2.2.7 - mvn:de.odysseus.juel/juel-impl/2.2.7 mvn:org.apache.commons/commons-lang3/3.4 - mvn:org.javassist/javassist/3.22.0-GA - mvn:org.openhab.osgiify/com.hubspot.jinjava.jinjava/2.5.0 + mvn:commons-net/commons-net/3.6 mvn:org.openhab.addons.bundles/org.openhab.transform.jinja/${project.version}