From 0fbc20b5c5c39d31c2a594881bf8514198d31780 Mon Sep 17 00:00:00 2001 From: "Jan N. Klug" Date: Fri, 30 Aug 2019 11:34:07 +0200 Subject: [PATCH] proof-of-concept part #2 Signed-off-by: Jan N. Klug --- bundles/org.openhab.binding.mail/pom.xml | 8 ++++-- .../src/main/feature/feature.xml | 2 -- bundles/org.openhab.binding.snmp/pom.xml | 2 +- .../src/main/feature/feature.xml | 1 - pom.xml | 28 +++++++++++++++++-- 5 files changed, 33 insertions(+), 8 deletions(-) diff --git a/bundles/org.openhab.binding.mail/pom.xml b/bundles/org.openhab.binding.mail/pom.xml index 3358fc31422f7..d362ec3edd1cc 100644 --- a/bundles/org.openhab.binding.mail/pom.xml +++ b/bundles/org.openhab.binding.mail/pom.xml @@ -17,14 +17,18 @@ org.apache.commons commons-email 1.5 - provided + compile com.sun.mail javax.mail 1.6.2 - provided + compile + + sun.security.util;resolution:=optional + + diff --git a/bundles/org.openhab.binding.mail/src/main/feature/feature.xml b/bundles/org.openhab.binding.mail/src/main/feature/feature.xml index 880a90a78a0f4..c6f76579d1354 100644 --- a/bundles/org.openhab.binding.mail/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.mail/src/main/feature/feature.xml @@ -4,8 +4,6 @@ openhab-runtime-base - mvn:com.sun.mail/javax.mail/1.6.2 - mvn:org.apache.commons/commons-email/1.5 mvn:org.openhab.addons.bundles/org.openhab.binding.mail/${project.version} diff --git a/bundles/org.openhab.binding.snmp/pom.xml b/bundles/org.openhab.binding.snmp/pom.xml index 11ce56732c63d..ee16215f97d3f 100644 --- a/bundles/org.openhab.binding.snmp/pom.xml +++ b/bundles/org.openhab.binding.snmp/pom.xml @@ -18,7 +18,7 @@ org.apache.servicemix.bundles org.apache.servicemix.bundles.snmp4j 2.6.3_1 - provided + compile diff --git a/bundles/org.openhab.binding.snmp/src/main/feature/feature.xml b/bundles/org.openhab.binding.snmp/src/main/feature/feature.xml index 87b956e0d3415..9d565777b2d9c 100644 --- a/bundles/org.openhab.binding.snmp/src/main/feature/feature.xml +++ b/bundles/org.openhab.binding.snmp/src/main/feature/feature.xml @@ -4,7 +4,6 @@ openhab-runtime-base - mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.snmp4j/2.6.3_1 mvn:org.openhab.addons.bundles/org.openhab.binding.snmp/${project.version} diff --git a/pom.xml b/pom.xml index 233098c8d9e43..81da22ece39de 100644 --- a/pom.xml +++ b/pom.xml @@ -499,6 +499,7 @@ Import-Package: \\ + org.openhab.tools.sat sat-plugin @@ -545,6 +546,7 @@ Import-Package: \\ + org.apache.maven.plugins maven-enforcer-plugin @@ -564,6 +566,28 @@ Import-Package: \\ + + + + org.apache.maven.plugins + maven-dependency-plugin + + + dependencies + + unpack-dependencies + + + runtime + jar + javax.activation,org.apache.karaf.features + ${project.build.directory}/classes + true + true + + + + @@ -620,7 +644,7 @@ Import-Package: \\ - -${.}/../../NOTICE, -${.}/../../*.xsd, ${.}/../../lib/; filter:=*.jar; lib:=true + -${.}/../../NOTICE, -${.}/../../*.xsd, ${.}/../../lib/;filter:=*.jar;lib:=true ../../src/main/feature/feature.xml @@ -663,7 +687,7 @@ Import-Package: \\ - -${.}/NOTICE, -${.}/*.xsd, ${.}/lib/; filter:=*.jar; lib:=true + -${.}/NOTICE, -${.}/*.xsd, ${.}/lib/;filter:=*.jar;lib:=true