From b290cd9fcd9f6d0bc3cf8868e406d2420a9ac021 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Mon, 27 Nov 2017 17:25:18 +0100 Subject: [PATCH] CONTROLLER-1764: avoid refreshes odl-mdsal-trace can no longer be installed with Karaf 4, because of a number of bundle refreshes which result in the datastore restarting while changing classloaders, resulting in chaos. This patch enforces a number of optional dependencies, avoiding the refreshes. Change-Id: I8f5c75c454c40a19f9a4996571f6f8505de00fb0 Signed-off-by: Stephen Kitt --- .../pom.xml | 24 +++++++++++++++++++ .../md-sal/sal-clustering-commons/pom.xml | 5 ++++ 2 files changed, 29 insertions(+) diff --git a/opendaylight/config/config-persister-directory-xml-adapter/pom.xml b/opendaylight/config/config-persister-directory-xml-adapter/pom.xml index 29c539a733..143aa1052e 100644 --- a/opendaylight/config/config-persister-directory-xml-adapter/pom.xml +++ b/opendaylight/config/config-persister-directory-xml-adapter/pom.xml @@ -29,15 +29,39 @@ javax.validation validation-api + org.eclipse.persistence org.eclipse.persistence.core + + + org.apache.geronimo.specs + geronimo-jta_1.1_spec + + 1.1.1 + + + javax.mail + mail + + 1.4.4 + + + org.eclipse.persistence + org.eclipse.persistence.antlr + org.eclipse.persistence org.eclipse.persistence.moxy + + + com.sun.jersey + jersey-core + + org.opendaylight.controller config-persister-file-xml-adapter diff --git a/opendaylight/md-sal/sal-clustering-commons/pom.xml b/opendaylight/md-sal/sal-clustering-commons/pom.xml index e8dcede8d2..b75bff3521 100644 --- a/opendaylight/md-sal/sal-clustering-commons/pom.xml +++ b/opendaylight/md-sal/sal-clustering-commons/pom.xml @@ -72,6 +72,11 @@ com.typesafe.akka akka-remote_2.12 + + + javax.servlet + javax.servlet-api + com.typesafe.akka akka-slf4j_2.12 -- 2.36.6