From c09c20cca725c530c3ff8ef08ad319184a0d7be2 Mon Sep 17 00:00:00 2001 From: "Jan N. Klug" Date: Sun, 1 Sep 2024 14:57:48 +0200 Subject: [PATCH] [transform.jinja] Properly use jinjava OSGi Depends on https://github.com/openhab/openhab-osgiify/pull/49 Signed-off-by: Jan N. Klug --- bundles/org.openhab.transform.jinja/pom.xml | 16 ++++++++++------ .../src/main/feature/feature.xml | 3 ++- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/bundles/org.openhab.transform.jinja/pom.xml b/bundles/org.openhab.transform.jinja/pom.xml index acf4a15b95ef8..247694d4c539c 100644 --- a/bundles/org.openhab.transform.jinja/pom.xml +++ b/bundles/org.openhab.transform.jinja/pom.xml @@ -15,9 +15,7 @@ openHAB Add-ons :: Bundles :: Transformation Service :: Jinja - - javax.annotation.*;resolution:=optional,com.googlecode.ipv6.*;resolution:=optional,ch.obermuhlner.math.big.*;resolution:=optional,com.google.common.*;resolution:=optional,com.fasterxml.jackson.*;resolution:=optional,org.jsoup.*;resolution:=optional,org.apache.commons.*;resolution:=optional,org.apache.commons.net.*;resolution:=optional - + com.googlecode.ipv6.* jackson-annotations,jackson-databind,jackson-core,jackson-dataformat-yaml,commons-lang3,commons-net @@ -26,14 +24,20 @@ org.openhab.osgiify com.hubspot.jinjava.jinjava 2.7.2 - compile + provided org.openhab.osgiify com.google.re2j.re2j 1.2 - compile + provided + com.google.guava guava @@ -80,7 +84,7 @@ commons-net commons-net ${commons.net.version} - compile + provided 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 9181d56bff287..0798e8de3ef9b 100644 --- a/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml +++ b/bundles/org.openhab.transform.jinja/src/main/feature/feature.xml @@ -5,7 +5,8 @@ openhab-runtime-base openhab.tp-commons-net - mvn:org.apache.commons/commons-lang3/3.4 + mvn:org.openhab.osgiify/com.hubspot.jinjava.jinjava/2.7.2 + mvn:org.openhab.osgiify/com.google.re2j.re2j/1.2 mvn:org.openhab.addons.bundles/org.openhab.transform.jinja/${project.version}