From dea4e643266c7dc20d92ef032315ceaecfd734a4 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 17 Jun 2015 02:15:19 +0200 Subject: [PATCH] Convert features to features-parent Switches from hand-written features.xml, to a processed template, lowering the need for magic properties. Additional changes: - migrated application and extensions features - fixed legacy - removed duplicate specified dependency version - cleaned properties - removed outdated version for xml-apis dependency - included new extensions/feature-li (pom+features) (based on commit b4a79dbdfdc7dc00d3c1a477ad57d7c4192839fe) Change-Id: I7089c1ee27eca228d05ec8942812a0466f71c153 Signed-off-by: Robert Varga Signed-off-by: Michal Rehak --- applications/features/pom.xml | 137 +++++++------- .../main/{resources => features}/features.xml | 22 +-- applications/pom.xml | 1 + extension/features-li/pom.xml | 100 +++-------- .../main/{resources => features}/features.xml | 8 +- extension/features/pom.xml | 100 +++-------- .../main/{resources => features}/features.xml | 8 +- features-li/pom.xml | 167 ++++++++---------- .../main/{resources => features}/features.xml | 60 +++---- features/pom.xml | 159 ++++++++--------- .../main/{resources => features}/features.xml | 74 ++++---- parent/pom.xml | 18 -- 12 files changed, 338 insertions(+), 516 deletions(-) rename applications/features/src/main/{resources => features}/features.xml (73%) rename extension/features-li/src/main/{resources => features}/features.xml (82%) rename extension/features/src/main/{resources => features}/features.xml (82%) rename features-li/src/main/{resources => features}/features.xml (81%) rename features/src/main/{resources => features}/features.xml (79%) diff --git a/applications/features/pom.xml b/applications/features/pom.xml index 23913d6662..a15ed37a55 100644 --- a/applications/features/pom.xml +++ b/applications/features/pom.xml @@ -2,24 +2,79 @@ 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-parent - 0.2.0-SNAPSHOT - ../../ + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + - features-flow + org.opendaylight.openflowplugin + 0.2.0-SNAPSHOT + features-flow jar - features.xml + 0.8.0-SNAPSHOT + 0.4.0-SNAPSHOT + 1.3.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.10.0-SNAPSHOT + + etc/opendaylight/karaf + 30-statistics-manager.xml + + + + + org.opendaylight.openflowplugin + openflowplugin-artifacts + ${project.version} + import + pom + + + + + org.opendaylight.yangtools + yangtools-artifacts + ${yangtools.version} + import + pom + + + + + org.opendaylight.controller + config-artifacts + ${config.version} + import + pom + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + import + pom + + + + + org.opendaylight.openflowjava + openflowjava-artifacts + ${openflowjava.version} + import + pom + + + + org.opendaylight.controller features-mdsal - ${mdsal.version} features xml @@ -46,12 +101,10 @@ org.opendaylight.controller.model model-inventory - ${mdsal.version} org.opendaylight.controller.model model-topology - ${mdsal.version} org.opendaylight.openflowplugin.applications @@ -77,73 +130,13 @@ org.opendaylight.openflowplugin openflowplugin-common - - org.opendaylight.odlparent - features-test - 1.6.0-SNAPSHOT + org.opendaylight.controller + liblldp + ${lldp.version} - - - - true - src/main/resources - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - org.opendaylight.controller - opendaylight-karaf-empty - ${commons.opendaylight.version} - - - org.opendaylight.odlparent:features-test - - - - - scm:git:ssh://git.opendaylight.org:29418/controller.git scm:git:ssh://git.opendaylight.org:29418/controller.git diff --git a/applications/features/src/main/resources/features.xml b/applications/features/src/main/features/features.xml similarity index 73% rename from applications/features/src/main/resources/features.xml rename to applications/features/src/main/features/features.xml index f8d9813dc7..e784c77341 100644 --- a/applications/features/src/main/resources/features.xml +++ b/applications/features/src/main/features/features.xml @@ -6,23 +6,23 @@ mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features odl-mdsal-models - mvn:org.opendaylight.openflowplugin.model/model-flow-base/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-service/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/${project.version} + mvn:org.opendaylight.openflowplugin.model/model-flow-base/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-service/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/{{VERSION}} mvn:org.opendaylight.controller.model/model-inventory/${mdsal.version} mvn:org.opendaylight.controller.model/model-topology/${mdsal.version} odl-mdsal-broker odl-flow-model - mvn:org.opendaylight.openflowplugin/openflowplugin-common/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version} - mvn:org.opendaylight.openflowplugin.applications/statistics-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/inventory-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/${project.version} - mvn:org.opendaylight.controller/liblldp/${mdsal.version} - mvn:org.opendaylight.controller.md/statistics-manager-config/${mdsal.version}/xml/config + mvn:org.opendaylight.openflowplugin/openflowplugin-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/statistics-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/inventory-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/{{VERSION}} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/statistics-manager-config/{{VERSION}}/xml/config diff --git a/applications/pom.xml b/applications/pom.xml index d32a4b0660..d95aaaa3be 100644 --- a/applications/pom.xml +++ b/applications/pom.xml @@ -95,6 +95,7 @@ forwardingrules-manager forwardingrules-manager-config topology-lldp-discovery + bulk-o-matic diff --git a/extension/features-li/pom.xml b/extension/features-li/pom.xml index 3434b3b84b..f3e7700821 100644 --- a/extension/features-li/pom.xml +++ b/extension/features-li/pom.xml @@ -2,20 +2,34 @@ 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-extension-parent - 0.2.0-SNAPSHOT - ../ + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + + org.opendaylight.openflowplugin + 0.2.0-SNAPSHOT features-openflowplugin-extension-li jar - features.xml - 1.6.0-SNAPSHOT + 0.2.0-SNAPSHOT + + + + + org.opendaylight.openflowplugin + openflowplugin-artifacts + ${project.version} + import + pom + + + + @@ -50,80 +64,6 @@ org.opendaylight.openflowplugin openflowjava-extension-nicira - - - - org.opendaylight.odlparent - features-test - - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.distro.empty.version} - zip - - - - - true - src/main/resources - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.distro.version} - - - org.opendaylight.odlparent:features-test - - - - - - diff --git a/extension/features-li/src/main/resources/features.xml b/extension/features-li/src/main/features/features.xml similarity index 82% rename from extension/features-li/src/main/resources/features.xml rename to extension/features-li/src/main/features/features.xml index f256d057f1..f0434f0b4b 100644 --- a/extension/features-li/src/main/resources/features.xml +++ b/extension/features-li/src/main/features/features.xml @@ -7,10 +7,10 @@ odl-openflowplugin-southbound-li - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira-config/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira-api/${project.version} - mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira/${project.version} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira-config/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira-api/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira/{{VERSION}} diff --git a/extension/features/pom.xml b/extension/features/pom.xml index f8c219bc76..4eb66140f4 100644 --- a/extension/features/pom.xml +++ b/extension/features/pom.xml @@ -2,20 +2,34 @@ 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-extension-parent - 0.2.0-SNAPSHOT - ../ + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + + org.opendaylight.openflowplugin + 0.2.0-SNAPSHOT features-openflowplugin-extension jar - features.xml - 1.6.0-SNAPSHOT + 0.2.0-SNAPSHOT + + + + + org.opendaylight.openflowplugin + openflowplugin-artifacts + ${project.version} + import + pom + + + + @@ -50,80 +64,6 @@ org.opendaylight.openflowplugin openflowjava-extension-nicira - - - - org.opendaylight.odlparent - features-test - - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.distro.empty.version} - zip - - - - - true - src/main/resources - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.distro.version} - - - org.opendaylight.odlparent:features-test - - - - - - diff --git a/extension/features/src/main/resources/features.xml b/extension/features/src/main/features/features.xml similarity index 82% rename from extension/features/src/main/resources/features.xml rename to extension/features/src/main/features/features.xml index 54deacf456..ddf53d7ee1 100644 --- a/extension/features/src/main/resources/features.xml +++ b/extension/features/src/main/features/features.xml @@ -7,10 +7,10 @@ odl-openflowplugin-southbound - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira-config/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira-api/${project.version} - mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira/${project.version} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira-config/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira-api/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowjava-extension-nicira/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-nicira/{{VERSION}} diff --git a/features-li/pom.xml b/features-li/pom.xml index 346de3d1a8..e4c864cd90 100644 --- a/features-li/pom.xml +++ b/features-li/pom.xml @@ -3,24 +3,89 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-parent - 0.2.0-SNAPSHOT - ../parent + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + - features-openflowplugin-li + org.opendaylight.openflowplugin + features-openflowplugin-li jar + 0.2.0-SNAPSHOT - 1.6.0-SNAPSHOT + 0.8.0-SNAPSHOT + 0.4.0-SNAPSHOT + 1.3.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.2.0-SNAPSHOT + 0.3.0-SNAPSHOT + 0.10.0-SNAPSHOT + etc/opendaylight/karaf 30-statistics-manager.xml - 1.3.0-SNAPSHOT 1.3.0-SNAPSHOT 0.8.0-SNAPSHOT + + + + + org.opendaylight.openflowplugin + openflowplugin-artifacts + ${project.version} + import + pom + + + + + org.opendaylight.yangtools + yangtools-artifacts + ${yangtools.version} + import + pom + + + + + org.opendaylight.controller + config-artifacts + ${config.version} + import + pom + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + import + pom + + + + + org.opendaylight.netconf + restconf-artifacts + ${restconf.version} + import + pom + + + + + + org.opendaylight.openflowjava + openflowjava-artifacts + ${openflowjava.version} + import + pom + + + + @@ -34,7 +99,6 @@ org.opendaylight.controller features-mdsal - ${mdsal.version} features xml @@ -42,20 +106,17 @@ org.opendaylight.yangtools features-yangtools features - ${yangtools.version} xml org.opendaylight.netconf features-restconf - ${restconf.version} features xml org.opendaylight.openflowjava features-openflowjava - ${openflowjava.version} features xml @@ -216,7 +277,7 @@ org.opendaylight.controller liblldp - ${sal.api.version} + ${lldp.version} org.opendaylight.openflowplugin @@ -232,87 +293,5 @@ xml config - - - - - org.opendaylight.odlparent - features-test - - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.distro.empty.version} - zip - - - - - - true - src/main/resources - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.outputDirectory}/features.xml - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.distro.version} - - - org.opendaylight.odlparent:features-test - - - - - - - scm:git:ssh://git.opendaylight.org:29418/controller.git - scm:git:ssh://git.opendaylight.org:29418/controller.git - HEAD - https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL - diff --git a/features-li/src/main/resources/features.xml b/features-li/src/main/features/features.xml similarity index 81% rename from features-li/src/main/resources/features.xml rename to features-li/src/main/features/features.xml index 80d54d1ab9..9b2615676b 100644 --- a/features-li/src/main/resources/features.xml +++ b/features-li/src/main/features/features.xml @@ -30,14 +30,14 @@ odl-mdsal-broker odl-openflowplugin-nsf-services-li odl-openflowjava-protocol - mvn:org.opendaylight.openflowplugin/openflowplugin-common/${project.version} + mvn:org.opendaylight.openflowplugin/openflowplugin-common/{{VERSION}} - mvn:org.opendaylight.openflowplugin/openflowplugin/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-impl/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-api/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-api/${project.version} - mvn:org.opendaylight.controller/liblldp/${sal.api.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/${project.version}/xml/config-Li + mvn:org.opendaylight.openflowplugin/openflowplugin/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-impl/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-api/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-api/{{VERSION}} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/{{VERSION}}/xml/config-Li @@ -52,26 +52,26 @@ description="OpenDaylight :: OpenflowPlugin :: NSF :: Services"> odl-mdsal-broker odl-openflowplugin-nsf-model-li - mvn:org.opendaylight.openflowplugin/openflowplugin-common/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version} - mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/${project.version} - mvn:org.opendaylight.controller/liblldp/${sal.api.version} - mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager-config/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin/openflowplugin-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/{{VERSION}} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager-config/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-manager/{{VERSION}}/xml/config odl-mdsal-models - mvn:org.opendaylight.controller.model/model-inventory/${controller.model.version} - mvn:org.opendaylight.controller.model/model-topology/${controller.model.version} + mvn:org.opendaylight.controller.model/model-inventory/{{VERSION}} + mvn:org.opendaylight.controller.model/model-topology/{{VERSION}} - mvn:org.opendaylight.openflowplugin.model/model-flow-base/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-service/${project.version} + mvn:org.opendaylight.openflowplugin.model/model-flow-base/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-service/{{VERSION}} @@ -88,28 +88,28 @@ odl-openflowplugin-flow-services-li - mvn:org.opendaylight.openflowplugin/test-common/${project.version} - mvn:org.opendaylight.openflowplugin/drop-test-karaf/${project.version} - mvn:org.opendaylight.openflowplugin/drop-test-karaf/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin/test-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin/drop-test-karaf/{{VERSION}} + mvn:org.opendaylight.openflowplugin/drop-test-karaf/{{VERSION}}/xml/config odl-openflowplugin-southbound-li - mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version} - mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/{{VERSION}}/xml/config odl-openflowplugin-southbound-li - mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/${project.version} - mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/{{VERSION}}/xml/config odl-openflowplugin-southbound-li - mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/${project.version} - mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}}/xml/config diff --git a/features/pom.xml b/features/pom.xml index 0f073b4d1a..ec9c83585a 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -3,25 +3,90 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - org.opendaylight.openflowplugin - openflowplugin-parent - 0.2.0-SNAPSHOT - ../parent + org.opendaylight.odlparent + features-parent + 1.6.0-SNAPSHOT + - features-openflowplugin + org.opendaylight.openflowplugin + features-openflowplugin jar + 0.2.0-SNAPSHOT - 1.6.0-SNAPSHOT + 0.8.0-SNAPSHOT + 0.4.0-SNAPSHOT + 1.3.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.2.0-SNAPSHOT + 0.3.0-SNAPSHOT + 0.10.0-SNAPSHOT + etc/opendaylight/karaf 30-statistics-manager.xml 40-inventory-manager.xml - 1.3.0-SNAPSHOT 1.3.0-SNAPSHOT 0.8.0-SNAPSHOT + + + + + org.opendaylight.openflowplugin + openflowplugin-artifacts + ${project.version} + import + pom + + + + + org.opendaylight.yangtools + yangtools-artifacts + ${yangtools.version} + import + pom + + + + + org.opendaylight.controller + config-artifacts + ${config.version} + import + pom + + + org.opendaylight.controller + mdsal-artifacts + ${mdsal.version} + import + pom + + + + + org.opendaylight.netconf + restconf-artifacts + ${restconf.version} + import + pom + + + + + + org.opendaylight.openflowjava + openflowjava-artifacts + ${openflowjava.version} + import + pom + + + + @@ -36,7 +101,6 @@ org.opendaylight.controller features-mdsal - ${mdsal.version} features xml @@ -44,20 +108,17 @@ org.opendaylight.yangtools features-yangtools features - ${yangtools.version} xml org.opendaylight.netconf features-restconf - ${restconf.version} features xml org.opendaylight.openflowjava features-openflowjava - ${openflowjava.version} features xml @@ -223,7 +284,7 @@ org.opendaylight.controller liblldp - ${sal.api.version} + ${lldp.version} org.opendaylight.openflowplugin @@ -239,82 +300,8 @@ xml config - - - - org.opendaylight.odlparent - features-test - - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.distro.empty.version} - zip - - - - - true - src/main/resources - - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.outputDirectory}/features.xml - xml - features - - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.16 - - - org.opendaylight.controller - opendaylight-karaf-empty - ${karaf.empty.distro.version} - - - org.opendaylight.odlparent:features-test - - - - - scm:git:ssh://git.opendaylight.org:29418/controller.git scm:git:ssh://git.opendaylight.org:29418/controller.git diff --git a/features/src/main/resources/features.xml b/features/src/main/features/features.xml similarity index 79% rename from features/src/main/resources/features.xml rename to features/src/main/features/features.xml index 984fd82752..d15955b0d9 100644 --- a/features/src/main/resources/features.xml +++ b/features/src/main/features/features.xml @@ -29,17 +29,17 @@ odl-mdsal-broker odl-openflowplugin-nsf-model odl-openflowjava-protocol - mvn:org.opendaylight.openflowplugin/openflowplugin-common/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-api/${project.version} - mvn:org.opendaylight.openflowplugin/openflowplugin-extension-api/${project.version} - mvn:org.opendaylight.controller/liblldp/${sal.api.version} - mvn:org.opendaylight.openflowplugin.applications/inventory-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/statistics-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/statistics-manager-config/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/inventory-manager/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/${project.version}/xml/config-He - mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/${project.version}/xml/configmsgspy + mvn:org.opendaylight.openflowplugin/openflowplugin-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-api/{{VERSION}} + mvn:org.opendaylight.openflowplugin/openflowplugin-extension-api/{{VERSION}} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/inventory-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/statistics-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/statistics-manager-config/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/inventory-manager/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/{{VERSION}}/xml/config-He + mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/{{VERSION}}/xml/configmsgspy @@ -53,26 +53,26 @@ description="OpenDaylight :: OpenflowPlugin :: NSF :: Services"> odl-mdsal-broker odl-openflowplugin-nsf-model - mvn:org.opendaylight.openflowplugin/openflowplugin-common/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version} - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version} - mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/${project.version} - mvn:org.opendaylight.controller/liblldp/${sal.api.version} - mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager-config/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-manager/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin/openflowplugin-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-manager/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/{{VERSION}} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager-config/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-manager/{{VERSION}}/xml/config odl-mdsal-models - mvn:org.opendaylight.controller.model/model-inventory/${controller.model.version} - mvn:org.opendaylight.controller.model/model-topology/${controller.model.version} + mvn:org.opendaylight.controller.model/model-inventory/{{VERSION}} + mvn:org.opendaylight.controller.model/model-topology/{{VERSION}} - mvn:org.opendaylight.openflowplugin.model/model-flow-base/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/${project.version} - mvn:org.opendaylight.openflowplugin.model/model-flow-service/${project.version} + mvn:org.opendaylight.openflowplugin.model/model-flow-base/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-statistics/{{VERSION}} + mvn:org.opendaylight.openflowplugin.model/model-flow-service/{{VERSION}} @@ -89,35 +89,35 @@ odl-openflowplugin-flow-services - mvn:org.opendaylight.openflowplugin/test-common/${project.version} - mvn:org.opendaylight.openflowplugin/drop-test-karaf/${project.version} - mvn:org.opendaylight.openflowplugin/drop-test-karaf/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin/test-common/{{VERSION}} + mvn:org.opendaylight.openflowplugin/drop-test-karaf/{{VERSION}} + mvn:org.opendaylight.openflowplugin/drop-test-karaf/{{VERSION}}/xml/config odl-openflowplugin-southbound - mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version} - mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/{{VERSION}}/xml/config odl-openflowplugin-southbound - mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/${project.version} - mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/of-switch-config-pusher/{{VERSION}}/xml/config odl-openflowplugin-southbound - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version} - mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/${project.version} - mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/${project.version}/xml/config - mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/lldp-speaker/{{VERSION}}/xml/config + mvn:org.opendaylight.openflowplugin.applications/topology-lldp-discovery/{{VERSION}}/xml/config odl-openflowplugin-southbound - mvn:org.opendaylight.openflowplugin.applications/bulk-o-matic/${project.version} - mvn:org.opendaylight.openflowplugin.applications/bulk-o-matic/${project.version}/xml/config + mvn:org.opendaylight.openflowplugin.applications/bulk-o-matic/{{VERSION}} + mvn:org.opendaylight.openflowplugin.applications/bulk-o-matic/{{VERSION}}/xml/config diff --git a/parent/pom.xml b/parent/pom.xml index 02d8e55494..dfb208125a 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -35,12 +35,10 @@ 0.7.0-SNAPSHOT 0.2.0-SNAPSHOT 0.10.0-SNAPSHOT - 1.8 src/main/yang-gen-config src/main/yang-gen-sal 0000.0002.0053.0 0.3.0-SNAPSHOT - 1.6.0-SNAPSHOT 2.4 @@ -52,10 +50,6 @@ 0.4.0-SNAPSHOT 1.3.0-SNAPSHOT 0.8.0-SNAPSHOT - - 1.6.0-SNAPSHOT - 1.6.0-SNAPSHOT - 0.3.0-SNAPSHOT @@ -110,12 +104,6 @@ import pom - - org.opendaylight.odlparent - features-test - ${features.test.version} - test - org.opendaylight.controller @@ -134,11 +122,6 @@ nagasena-rta ${exi.nagasena.version} - - xml-apis - xml-apis - 1.4.01 - @@ -227,7 +210,6 @@ org.codehaus.mojo build-helper-maven-plugin - ${build.helper.version} add-source -- 2.36.6