From ce90e5e3784c8623a62d3e84b849841630269148 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Thu, 13 May 2021 13:56:41 +0200 Subject: [PATCH] Reduce project.version proliferation Rely on netconf-artifacts to propagate versions around the build reactor, so that we are always self-consistent. Change-Id: I1e680c649b97dad16a90d57d83b89502eadb4b6e Signed-off-by: Robert Varga --- .../features-netconf-connector/pom.xml | 18 ++++++++++++------ features/restconf/features-restconf/pom.xml | 17 ++++++++++++----- features/yanglib/features-yanglib/pom.xml | 13 ++++++++++++- netconf/netconf-topology-impl/pom.xml | 12 ------------ 4 files changed, 36 insertions(+), 24 deletions(-) diff --git a/features/netconf-connector/features-netconf-connector/pom.xml b/features/netconf-connector/features-netconf-connector/pom.xml index e2e8c96d3f..4ffe9df0b8 100644 --- a/features/netconf-connector/features-netconf-connector/pom.xml +++ b/features/netconf-connector/features-netconf-connector/pom.xml @@ -27,46 +27,52 @@ true + + + + ${project.groupId} + netconf-artifacts + ${project.version} + import + pom + + + + ${project.groupId} odl-netconf-clustered-topology - ${project.version} xml features ${project.groupId} odl-netconf-connector - ${project.version} xml features ${project.groupId} odl-netconf-connector-all - ${project.version} xml features ${project.groupId} odl-netconf-callhome-ssh - ${project.version} xml features ${project.groupId} odl-netconf-console - ${project.version} xml features ${project.groupId} odl-netconf-topology - ${project.version} xml features diff --git a/features/restconf/features-restconf/pom.xml b/features/restconf/features-restconf/pom.xml index 0c0ad8b1c7..97d8319d77 100644 --- a/features/restconf/features-restconf/pom.xml +++ b/features/restconf/features-restconf/pom.xml @@ -21,39 +21,46 @@ 2.0.0-SNAPSHOT feature + + + + ${project.groupId} + netconf-artifacts + ${project.version} + import + pom + + + + ${project.groupId} odl-mdsal-apidocs - ${project.version} xml features ${project.groupId} odl-restconf - ${project.version} xml features ${project.groupId} odl-restconf-all - ${project.version} xml features ${project.groupId} odl-restconf-nb-bierman02 - ${project.version} xml features ${project.groupId} odl-restconf-nb-rfc8040 - ${project.version} xml features diff --git a/features/yanglib/features-yanglib/pom.xml b/features/yanglib/features-yanglib/pom.xml index cfe5f4c7ee..a39d48076b 100644 --- a/features/yanglib/features-yanglib/pom.xml +++ b/features/yanglib/features-yanglib/pom.xml @@ -22,11 +22,22 @@ 2.0.0-SNAPSHOT feature + + + + ${project.groupId} + netconf-artifacts + ${project.version} + import + pom + + + + ${project.groupId} odl-yanglib - ${project.version} xml features diff --git a/netconf/netconf-topology-impl/pom.xml b/netconf/netconf-topology-impl/pom.xml index 0c9523e8cb..16a5d5f992 100644 --- a/netconf/netconf-topology-impl/pom.xml +++ b/netconf/netconf-topology-impl/pom.xml @@ -21,18 +21,6 @@ Simple NETCONF topology bundle - - - - org.opendaylight.netconf - netconf-artifacts - ${project.version} - pom - import - - - - ${project.groupId} -- 2.36.6