From e4274da96100138fe3a3373861559b6dd9502d35 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Mon, 23 Jan 2017 18:30:33 +0100 Subject: [PATCH] Add Karaf 4 features This needs https://git.opendaylight.org/gerrit/50847 otherwise the features depend on jcl-over-slf4j and fail to load. Bug: 7616 Change-Id: I42e3a15b15328beaa4fac8abcda8497cf10ea222 Signed-off-by: Stephen Kitt --- features/features-dlux/pom.xml | 121 ++++++++++++++ .../src/main/features/features.xml | 0 features/features4-dlux/pom.xml | 71 +++++++++ features/odl-dlux-all/pom.xml | 59 +++++++ features/odl-dlux-core/pom.xml | 92 +++++++++++ .../src/main/feature/feature.xml | 14 ++ features/odl-dlux-node/pom.xml | 43 +++++ features/odl-dlux-yangman/pom.xml | 60 +++++++ features/odl-dlux-yangui/pom.xml | 60 +++++++ features/odl-dlux-yangvisualizer/pom.xml | 53 +++++++ features/pom.xml | 148 ++++-------------- 11 files changed, 604 insertions(+), 117 deletions(-) create mode 100644 features/features-dlux/pom.xml rename features/{ => features-dlux}/src/main/features/features.xml (100%) create mode 100644 features/features4-dlux/pom.xml create mode 100644 features/odl-dlux-all/pom.xml create mode 100644 features/odl-dlux-core/pom.xml create mode 100644 features/odl-dlux-core/src/main/feature/feature.xml create mode 100644 features/odl-dlux-node/pom.xml create mode 100644 features/odl-dlux-yangman/pom.xml create mode 100644 features/odl-dlux-yangui/pom.xml create mode 100644 features/odl-dlux-yangvisualizer/pom.xml diff --git a/features/features-dlux/pom.xml b/features/features-dlux/pom.xml new file mode 100644 index 00000000..de76f488 --- /dev/null +++ b/features/features-dlux/pom.xml @@ -0,0 +1,121 @@ + + + 4.0.0 + + org.opendaylight.odlparent + features-parent + 1.8.0-SNAPSHOT + + + org.opendaylight.dlux + features-dlux + 0.5.0-SNAPSHOT + DLUX - Features + jar + + + features.xml + 1.5.0-SNAPSHOT + + + + + org.opendaylight.odlparent + features-test + 1.8.0-SNAPSHOT + + + org.opendaylight.controller + opendaylight-karaf-empty + 1.8.0-SNAPSHOT + zip + + + org.opendaylight.dlux + loader + ${project.version} + + + org.opendaylight.dlux + loader.implementation + ${project.version} + + + org.opendaylight.dlux + dlux.core + ${project.version} + + + org.opendaylight.dlux + dlux.common.layout + ${project.version} + + + org.opendaylight.dlux + dlux.common.login + ${project.version} + + + org.opendaylight.dlux + dlux.common.authentication + ${project.version} + + + org.opendaylight.dlux + dlux.common.navigation + ${project.version} + + + org.opendaylight.dlux + dlux.common.topbar + ${project.version} + + + org.opendaylight.dlux + dlux.common.general + ${project.version} + + + org.opendaylight.dlux + dlux.node + ${project.version} + + + org.opendaylight.dlux + dlux.topology + ${project.version} + + + org.opendaylight.dlux + dlux.yangui + ${project.version} + + + org.opendaylight.dlux + dlux.yangman + ${project.version} + + + org.opendaylight.dlux + dlux.common.yangutils + ${project.version} + + + org.opendaylight.dlux + dlux.common.sigmatopology + ${project.version} + + + org.opendaylight.dlux + dlux.yangvisualizer + ${project.version} + + + org.opendaylight.netconf + features-restconf + ${restconf.version} + features + xml + + + diff --git a/features/src/main/features/features.xml b/features/features-dlux/src/main/features/features.xml similarity index 100% rename from features/src/main/features/features.xml rename to features/features-dlux/src/main/features/features.xml diff --git a/features/features4-dlux/pom.xml b/features/features4-dlux/pom.xml new file mode 100644 index 00000000..da5821c7 --- /dev/null +++ b/features/features4-dlux/pom.xml @@ -0,0 +1,71 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + feature-repo-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + features4-dlux + 0.5.0-SNAPSHOT + feature + + + + ${project.groupId} + odl-dlux-all + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-node + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-yangman + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-yangui + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-yangvisualizer + ${project.version} + xml + features + + + + \ No newline at end of file diff --git a/features/odl-dlux-all/pom.xml b/features/odl-dlux-all/pom.xml new file mode 100644 index 00000000..d935c736 --- /dev/null +++ b/features/odl-dlux-all/pom.xml @@ -0,0 +1,59 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-all + 0.5.0-SNAPSHOT + feature + + Opendaylight dlux all features + + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-node + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-yangui + ${project.version} + xml + features + + + ${project.groupId} + odl-dlux-yangvisualizer + ${project.version} + xml + features + + + + \ No newline at end of file diff --git a/features/odl-dlux-core/pom.xml b/features/odl-dlux-core/pom.xml new file mode 100644 index 00000000..2f4f0e60 --- /dev/null +++ b/features/odl-dlux-core/pom.xml @@ -0,0 +1,92 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-core + 0.5.0-SNAPSHOT + feature + + Opendaylight dlux minimal feature + + + + + org.opendaylight.netconf + odl-restconf + 1.5.0-SNAPSHOT + xml + features + + + ${project.groupId} + loader + ${project.version} + + + ${project.groupId} + loader.implementation + ${project.version} + + + ${project.groupId} + dlux.core + ${project.version} + + + ${project.groupId} + dlux.common.login + ${project.version} + + + ${project.groupId} + dlux.common.authentication + ${project.version} + + + ${project.groupId} + dlux.common.navigation + ${project.version} + + + ${project.groupId} + dlux.common.topbar + ${project.version} + + + ${project.groupId} + dlux.common.general + ${project.version} + + + + ${project.groupId} + dlux.common.layout + ${project.version} + + + ${project.groupId} + dlux.topology + ${project.version} + + + + \ No newline at end of file diff --git a/features/odl-dlux-core/src/main/feature/feature.xml b/features/odl-dlux-core/src/main/feature/feature.xml new file mode 100644 index 00000000..50fb7316 --- /dev/null +++ b/features/odl-dlux-core/src/main/feature/feature.xml @@ -0,0 +1,14 @@ + + + + + http + mvn:org.opendaylight.dlux/dlux.common.layout/${project.version} + + diff --git a/features/odl-dlux-node/pom.xml b/features/odl-dlux-node/pom.xml new file mode 100644 index 00000000..ea298990 --- /dev/null +++ b/features/odl-dlux-node/pom.xml @@ -0,0 +1,43 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-node + 0.5.0-SNAPSHOT + feature + + Enable nodes in Opendaylight dlux + + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + ${project.groupId} + dlux.node + ${project.version} + + + + \ No newline at end of file diff --git a/features/odl-dlux-yangman/pom.xml b/features/odl-dlux-yangman/pom.xml new file mode 100644 index 00000000..a03f34ed --- /dev/null +++ b/features/odl-dlux-yangman/pom.xml @@ -0,0 +1,60 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-yangman + 0.5.0-SNAPSHOT + feature + + Enable Yangman in Opendaylight dlux + + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + org.opendaylight.netconf + odl-mdsal-apidocs + 1.5.0-SNAPSHOT + xml + features + + + ${project.groupId} + dlux.yangman + ${project.version} + + + ${project.groupId} + dlux.common.yangutils + ${project.version} + + + ${project.groupId} + dlux.common.sigmatopology + ${project.version} + + + + \ No newline at end of file diff --git a/features/odl-dlux-yangui/pom.xml b/features/odl-dlux-yangui/pom.xml new file mode 100644 index 00000000..2464d02f --- /dev/null +++ b/features/odl-dlux-yangui/pom.xml @@ -0,0 +1,60 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-yangui + 0.5.0-SNAPSHOT + feature + + Enable Yang UI in Opendaylight dlux + + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + org.opendaylight.netconf + odl-mdsal-apidocs + 1.5.0-SNAPSHOT + xml + features + + + ${project.groupId} + dlux.yangui + ${project.version} + + + ${project.groupId} + dlux.common.yangutils + ${project.version} + + + ${project.groupId} + dlux.common.sigmatopology + ${project.version} + + + + \ No newline at end of file diff --git a/features/odl-dlux-yangvisualizer/pom.xml b/features/odl-dlux-yangvisualizer/pom.xml new file mode 100644 index 00000000..69f0c210 --- /dev/null +++ b/features/odl-dlux-yangvisualizer/pom.xml @@ -0,0 +1,53 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 1.8.0-SNAPSHOT + + + + org.opendaylight.dlux + odl-dlux-yangvisualizer + 0.5.0-SNAPSHOT + feature + + Enable Yang visualizer in Opendaylight dlux + + + + ${project.groupId} + odl-dlux-core + ${project.version} + xml + features + + + ${project.groupId} + dlux.yangvisualizer + ${project.version} + + + ${project.groupId} + dlux.common.yangutils + ${project.version} + + + ${project.groupId} + dlux.common.sigmatopology + ${project.version} + + + + \ No newline at end of file diff --git a/features/pom.xml b/features/pom.xml index de76f488..0c6fbcea 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -1,121 +1,35 @@ - - 4.0.0 - - org.opendaylight.odlparent - features-parent - 1.8.0-SNAPSHOT - - - org.opendaylight.dlux - features-dlux - 0.5.0-SNAPSHOT - DLUX - Features - jar + + + 4.0.0 + + org.opendaylight.odlparent + odlparent-lite + 1.8.0-SNAPSHOT + + + org.opendaylight.dlux + features-dlux-aggregator + 0.5.0-SNAPSHOT + DLUX - Features aggregator + pom + + + features-dlux + features4-dlux + odl-dlux-all + odl-dlux-core + odl-dlux-node + odl-dlux-yangui + odl-dlux-yangman + odl-dlux-yangvisualizer + - - - org.opendaylight.odlparent - features-test - 1.8.0-SNAPSHOT - - - org.opendaylight.controller - opendaylight-karaf-empty - 1.8.0-SNAPSHOT - zip - - - org.opendaylight.dlux - loader - ${project.version} - - - org.opendaylight.dlux - loader.implementation - ${project.version} - - - org.opendaylight.dlux - dlux.core - ${project.version} - - - org.opendaylight.dlux - dlux.common.layout - ${project.version} - - - org.opendaylight.dlux - dlux.common.login - ${project.version} - - - org.opendaylight.dlux - dlux.common.authentication - ${project.version} - - - org.opendaylight.dlux - dlux.common.navigation - ${project.version} - - - org.opendaylight.dlux - dlux.common.topbar - ${project.version} - - - org.opendaylight.dlux - dlux.common.general - ${project.version} - - - org.opendaylight.dlux - dlux.node - ${project.version} - - - org.opendaylight.dlux - dlux.topology - ${project.version} - - - org.opendaylight.dlux - dlux.yangui - ${project.version} - - - org.opendaylight.dlux - dlux.yangman - ${project.version} - - - org.opendaylight.dlux - dlux.common.yangutils - ${project.version} - - - org.opendaylight.dlux - dlux.common.sigmatopology - ${project.version} - - - org.opendaylight.dlux - dlux.yangvisualizer - ${project.version} - - - org.opendaylight.netconf - features-restconf - ${restconf.version} - features - xml - - -- 2.36.6