From 4f2af7fd9845c66bf96b8da97a167961a98b75f4 Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Thu, 3 Jan 2019 11:21:43 -0800 Subject: Fixes feature install on latest ccsdk Updated rest adapter to resolve dependencies the same way that other appc features do. This fixed the karaf crash during install. Added necessary dependencies as embedded or karaf bundles to other appc features, as needed. Change-Id: Id04d08cd09c2ff0cae0db8ecbc61405da10882d7 Signed-off-by: Patrick Brady Issue-ID: APPC-1304 --- .../appc-ansible-adapter-bundle/pom.xml | 2 +- .../appc-iaas-adapter-bundle/pom.xml | 4 +- .../appc-rest-adapter-bundle/pom.xml | 3 +- .../onap-appc-rest-adapter/pom.xml | 52 +--------------------- 4 files changed, 6 insertions(+), 55 deletions(-) (limited to 'appc-adapters') diff --git a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/pom.xml b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/pom.xml index f5e9d6b29..dbc67cfc8 100644 --- a/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/pom.xml +++ b/appc-adapters/appc-ansible-adapter/appc-ansible-adapter-bundle/pom.xml @@ -101,7 +101,7 @@ org.glassfish.jersey.core jersey-common - 2.9.1 + 2.27 diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/pom.xml b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/pom.xml index c0511838b..7537c1d69 100644 --- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/pom.xml +++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/pom.xml @@ -250,10 +250,10 @@ appc-iaas-adapter org.onap.appc.adapter.iaas.AppcProviderAdapterActivator org.onap.appc.adapter.iaas,com.att.cdp.zones.model - javax.naming,javax.ws.rs.*,org.glassfish.jersey.*,org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,javax.net.ssl,org.xml.sax + javax.naming,javax.ws.rs.*,org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,javax.net.ssl,org.xml.sax - !javax.ws.rs-api,!jersey-client,!jersey-server,!jersey-common,*;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|jcl-over-slf4j| + !javax.ws.rs-api,*;scope=compile|runtime;artifactId=!org.eclipse.osgi|slf4j-api|jcl-over-slf4j| true diff --git a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/pom.xml b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/pom.xml index 647e81caf..d3184edb8 100644 --- a/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/pom.xml +++ b/appc-adapters/appc-rest-adapter/appc-rest-adapter-bundle/pom.xml @@ -213,7 +213,8 @@ appc-rest-adapter org.onap.appc.adapter.rest.RestActivator org.onap.appc.adapter.rest - * + org.onap.ccsdk.sli.core.sli.*,org.osgi.framework.*,org.slf4j.*,com.vmware.*,org.apache.xerces.*,javax.net.*,javax.net.ssl.*,org.xml.sax.*,javax.xml.bind.*,javax.naming.* + *;scope=compile|runtime;artifactId=!sli-common|org.eclipse.osgi|slf4j-api|jcl-over-slf4j|mariadb-java-client|xml-apis|jaxp-api true diff --git a/appc-adapters/appc-rest-adapter/appc-rest-adapter-features/onap-appc-rest-adapter/pom.xml b/appc-adapters/appc-rest-adapter/appc-rest-adapter-features/onap-appc-rest-adapter/pom.xml index 33fe957ac..36857dacd 100644 --- a/appc-adapters/appc-rest-adapter/appc-rest-adapter-features/onap-appc-rest-adapter/pom.xml +++ b/appc-adapters/appc-rest-adapter/appc-rest-adapter-features/onap-appc-rest-adapter/pom.xml @@ -61,56 +61,6 @@ limitations under the License. appc-rest-adapter-bundle ${project.version} - - org.glassfish.jersey.bundles.repackaged - jersey-guava - 2.25.1 - - - com.fasterxml.jackson.core - jackson-core - 2.8.6 - - - com.fasterxml.jackson.core - jackson-databind - 2.8.6 - - - com.fasterxml.jackson.core - jackson-annotations - 2.8.6 - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-base - 2.8.6 - - - com.fasterxml.jackson.jaxrs - jackson-jaxrs-json-provider - 2.8.6 - - - org.glassfish.jersey.core - jersey-server - 2.25.1 - - - com.ning - async-http-client - 1.9.39 - - - org.glassfish.grizzly - grizzly-http-servlet - 2.3.28 - - - org.glassfish.grizzly - grizzly-http - 2.3.28 - @@ -121,7 +71,7 @@ limitations under the License. karaf-maven-plugin true - true + false slf4j-api tomcat-jdbc -- cgit 1.2.3-korg