From 7903c81fa269f325a9cb1cd8f66fc04ba3b1a629 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 4 Jan 2016 22:33:29 +0100 Subject: [PATCH] Cleanup features a bit Use artifacts imports in pom.xmls (partial conversion) and use odl-netty feature. Change-Id: Id50719e7e1b84fcd7b9048d3fb7d6476793b12ce Signed-off-by: Robert Varga --- features/netconf/pom.xml | 63 +++++----------- .../netconf/src/main/features/features.xml | 7 +- features/restconf/pom.xml | 75 ++++++++----------- .../restconf/src/main/features/features.xml | 10 +-- 4 files changed, 57 insertions(+), 98 deletions(-) diff --git a/features/netconf/pom.xml b/features/netconf/pom.xml index b79e70badd..ac9f87ce67 100644 --- a/features/netconf/pom.xml +++ b/features/netconf/pom.xml @@ -24,7 +24,6 @@ 1.0.0-SNAPSHOT 0.7.0-SNAPSHOT 0.8.0-SNAPSHOT - 2.15 0.14.0 features.xml @@ -35,6 +34,20 @@ + + org.opendaylight.aaa + aaa-artifacts + ${aaa.version} + pom + import + + + org.opendaylight.odlparent + odlparent-artifacts + 1.6.0-SNAPSHOT + pom + import + org.opendaylight.controller config-artifacts @@ -74,10 +87,15 @@ + + org.opendaylight.odlparent + features-odlparent + features + xml + org.opendaylight.aaa features-aaa-shiro - ${aaa.version} features xml @@ -92,7 +110,6 @@ org.opendaylight.aaa features-aaa - ${aaa.version} features xml @@ -144,18 +161,6 @@ ${project.groupId} ietf-netconf-notifications - - org.opendaylight.mdsal.model - ietf-inet-types - - - org.opendaylight.mdsal.model - ietf-yang-types - - - org.opendaylight.yangtools - yang-model-api - ${project.groupId} netconf-mapping-api @@ -194,26 +199,6 @@ nagasena ${exi.nagasena.version} - - io.netty - netty-codec - - - io.netty - netty-handler - - - io.netty - netty-common - - - io.netty - netty-buffer - - - io.netty - netty-transport - org.bouncycastle bcpkix-jdk15on @@ -258,14 +243,6 @@ config xml - - - org.opendaylight.controller - opendaylight-karaf-empty - ${commons.opendaylight.version} - test - zip - diff --git a/features/netconf/src/main/features/features.xml b/features/netconf/src/main/features/features.xml index 65d89fe431..f9ef87e1cb 100644 --- a/features/netconf/src/main/features/features.xml +++ b/features/netconf/src/main/features/features.xml @@ -3,6 +3,7 @@ + mvn:org.opendaylight.odlparent/features-odlparent/{{VERSION}}/xml/features mvn:org.opendaylight.controller/features-protocol-framework/{{VERSION}}/xml/features mvn:org.opendaylight.controller/features-config/{{VERSION}}/xml/features mvn:org.opendaylight.controller/features-config-persister/{{VERSION}}/xml/features @@ -80,16 +81,12 @@ odl-netconf-api odl-netconf-mapping-api odl-netconf-util + odl-netty mvn:org.opendaylight.netconf/netconf-netty-util/{{VERSION}} mvn:org.bouncycastle/bcpkix-jdk15on/{{VERSION}} mvn:org.bouncycastle/bcprov-jdk15on/{{VERSION}} mvn:org.apache.sshd/sshd-core/{{VERSION}} mvn:openexi/nagasena/{{VERSION}} - mvn:io.netty/netty-codec/{{VERSION}} - mvn:io.netty/netty-handler/{{VERSION}} - mvn:io.netty/netty-common/{{VERSION}} - mvn:io.netty/netty-buffer/{{VERSION}} - mvn:io.netty/netty-transport/{{VERSION}} diff --git a/features/restconf/pom.xml b/features/restconf/pom.xml index df2201cc2e..e241e6532e 100644 --- a/features/restconf/pom.xml +++ b/features/restconf/pom.xml @@ -36,11 +36,42 @@ 10-restconf-service.xml + + + + org.opendaylight.odlparent + odlparent-artifacts + 1.6.0-SNAPSHOT + pom + import + + + org.opendaylight.aaa + aaa-artifacts + ${aaa.version} + pom + import + + + org.opendaylight.yangtools + yangtools-artifacts + ${yangtools.version} + pom + import + + + + + + org.opendaylight.odlparent + features-odlparent + features + xml + org.opendaylight.yangtools features-yangtools - ${yangtools.version} features xml @@ -61,7 +92,6 @@ org.opendaylight.aaa features-aaa-shiro - ${aaa.version} features xml @@ -94,30 +124,6 @@ com.sun.jersey jersey-servlet - - io.netty - netty-buffer - - - io.netty - netty-codec - - - io.netty - netty-codec-http - - - io.netty - netty-common - - - io.netty - netty-handler - - - io.netty - netty-transport - org.opendaylight.netconf @@ -171,7 +177,6 @@ org.opendaylight.yangtools yang-data-codec-gson - ${yangtools.version} @@ -180,22 +185,6 @@ ${restconf.version} - - - org.opendaylight.controller - opendaylight-karaf-empty - ${commons.opendaylight.version} - test - zip - - - scm:git:http://git.opendaylight.org/gerrit/controller.git diff --git a/features/restconf/src/main/features/features.xml b/features/restconf/src/main/features/features.xml index 2ede2bc45a..77366b825e 100644 --- a/features/restconf/src/main/features/features.xml +++ b/features/restconf/src/main/features/features.xml @@ -11,7 +11,8 @@ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0"> - mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features + mvn:org.opendaylight.odlparent/features-odlparent/{{VERSION}}/xml/features + mvn:org.opendaylight.mdsal/features-mdsal/{{VERSION}}/xml/features mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features mvn:org.opendaylight.aaa/features-aaa-shiro/{{VERSION}}/xml/features @@ -27,6 +28,7 @@ odl-aaa-shiro odl-mdsal-broker + odl-netty war @@ -38,12 +40,6 @@ mvn:com.sun.jersey/jersey-core/{{VERSION}} mvn:com.sun.jersey/jersey-server/{{VERSION}} mvn:com.sun.jersey/jersey-servlet/{{VERSION}} - mvn:io.netty/netty-buffer/{{VERSION}} - mvn:io.netty/netty-codec/{{VERSION}} - mvn:io.netty/netty-codec-http/{{VERSION}} - mvn:io.netty/netty-common/{{VERSION}} - mvn:io.netty/netty-handler/{{VERSION}} - mvn:io.netty/netty-transport/{{VERSION}} mvn:org.opendaylight.netconf/sal-rest-connector-config/{{VERSION}}/xml/config mvn:org.opendaylight.netconf/sal-rest-connector-config/{{VERSION}}/xml/configrestconfservice -- 2.36.6