From 948cc8428f13c0929c190ed6d0abac2eab3f6ae3 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Mon, 22 Feb 2016 18:13:00 +0100 Subject: [PATCH] Use {{VERSION}} in features and drop unneeded properties {{VERSION}} can replace many properties in features.xml (the versions are then taken from the POM). commons-net is provided in odlparent's dependency management, the commons.net.version property can be safely dropped. With the upgrade of Mockito in odlparent, PowerMock needs to be upgraded to 1.6.4; we simply rely on odlparent to provide the correct version. Change-Id: Iddd2fcc429e95d7ffd81f314fe183d138dedeefd Signed-off-by: Stephen Kitt --- features/pom.xml | 1 - features/src/main/features/features.xml | 112 ++++++++++++------------ mdsalutil/mdsalutil-impl/pom.xml | 2 - vpnintent/impl/pom.xml | 3 - 4 files changed, 56 insertions(+), 62 deletions(-) diff --git a/features/pom.xml b/features/pom.xml index 2508f3ce..8ca0dc3f 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -384,7 +384,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL commons-net commons-net - ${commons.net.version} ${project.groupId} diff --git a/features/src/main/features/features.xml b/features/src/main/features/features.xml index 9ed04926..abd03419 100644 --- a/features/src/main/features/features.xml +++ b/features/src/main/features/features.xml @@ -10,14 +10,14 @@ and is available at http://www.eclipse.org/legal/epl-v10.html - mvn:org.opendaylight.yangtools/features-yangtools/${yangtools.version}/xml/features - mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features - mvn:org.opendaylight.mdsal.model/features-mdsal-model/${mdsal.model.version}/xml/features - mvn:org.opendaylight.openflowplugin/features-openflowplugin/${openflowplugin.version}/xml/features - mvn:org.opendaylight.openflowplugin/features-openflowplugin-extension/${openflowplugin.version}/xml/features - mvn:org.opendaylight.netconf/features-restconf/${restconf.version}/xml/features - mvn:org.opendaylight.ovsdb/features-ovsdb/${ovsdb.version}/xml/features - mvn:org.opendaylight.neutron/features-neutron/${neutron.version}/xml/features + mvn:org.opendaylight.yangtools/features-yangtools/{{VERSION}}/xml/features + mvn:org.opendaylight.controller/features-mdsal/{{VERSION}}/xml/features + mvn:org.opendaylight.mdsal.model/features-mdsal-model/{{VERSION}}/xml/features + mvn:org.opendaylight.openflowplugin/features-openflowplugin/{{VERSION}}/xml/features + mvn:org.opendaylight.openflowplugin/features-openflowplugin-extension/{{VERSION}}/xml/features + mvn:org.opendaylight.netconf/features-restconf/{{VERSION}}/xml/features + mvn:org.opendaylight.ovsdb/features-ovsdb/{{VERSION}}/xml/features + mvn:org.opendaylight.neutron/features-neutron/{{VERSION}}/xml/features mvn:org.opendaylight.nic/features-nic/{{VERSION}}/xml/features odl-mdsal-broker @@ -25,20 +25,20 @@ and is available at http://www.eclipse.org/legal/epl-v10.html odl-openflowplugin-nsf-model odl-openflowplugin-nxm-extensions odl-ovsdb-southbound-impl-rest - mvn:org.opendaylight.controller/liblldp/${liblldp.version} - mvn:org.opendaylight.neutron/model/${neutron.version} + mvn:org.opendaylight.controller/liblldp/{{VERSION}} + mvn:org.opendaylight.neutron/model/{{VERSION}} mvn:org.opendaylight.vpnservice/model-bgp/{{VERSION}} - mvn:org.opendaylight.vpnservice/lockmanager-api/${lockmanager.version} - mvn:org.opendaylight.vpnservice/idmanager-api/${idmanager.version} - mvn:org.opendaylight.vpnservice/mdsalutil-api/${vpnservices.version} - mvn:org.opendaylight.vpnservice/arputil-api/${arputil.version} - mvn:org.opendaylight.vpnservice/alivenessmonitor-api/${vpnservices.version} - mvn:org.opendaylight.vpnservice/interfacemgr-api/${interfacemgr.version} - mvn:org.opendaylight.vpnservice/vpnmanager-api/${vpnmanager.version} - mvn:org.opendaylight.vpnservice/fibmanager-api/${fibmanager.version} - mvn:org.opendaylight.vpnservice/itm-api/${itm.version} - mvn:org.opendaylight.vpnservice/neutronvpn-api/${neutronvpn.version} - mvn:org.opendaylight.vpnservice/dhcpservice-api/${vpnservices.version} + mvn:org.opendaylight.vpnservice/lockmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/idmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/mdsalutil-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/arputil-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/alivenessmonitor-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/interfacemgr-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/vpnmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/fibmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/itm-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/neutronvpn-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/dhcpservice-api/{{VERSION}} odl-mdsal-broker @@ -46,43 +46,43 @@ and is available at http://www.eclipse.org/legal/epl-v10.html odl-vpnservice-api odl-openflowplugin-southbound odl-openflowplugin-flow-services - mvn:commons-net/commons-net/${commons.net.version} - mvn:org.opendaylight.vpnservice/lockmanager-impl/${lockmanager.version} - mvn:org.opendaylight.vpnservice/idmanager-impl/${idmanager.version} - mvn:org.opendaylight.vpnservice/bgpmanager-api/${vpnservices.version} - mvn:org.opendaylight.vpnservice/bgpmanager-impl/${vpnservices.version} - mvn:org.opendaylight.vpnservice/mdsalutil-api/${vpnservices.version} - mvn:org.opendaylight.vpnservice/arputil-impl/${arputil.version} - mvn:org.opendaylight.vpnservice/alivenessmonitor-impl/${vpnservices.version} - mvn:org.opendaylight.vpnservice/mdsalutil-impl/${vpnservices.version} - mvn:org.opendaylight.vpnservice/interfacemgr-api/${interfacemgr.version} - mvn:org.opendaylight.vpnservice/interfacemgr-impl/${interfacemgr.version} - mvn:org.opendaylight.vpnservice/vpnmanager-impl/${vpnmanager.version} - mvn:org.opendaylight.vpnservice/fibmanager-impl/${fibmanager.version} - mvn:org.opendaylight.vpnservice/itm-impl/${itm.version} - mvn:org.opendaylight.vpnservice/neutronvpn-impl/${neutronvpn.version} - mvn:org.opendaylight.vpnservice/neutronvpn-shell/${neutronvpn.version} - mvn:org.opendaylight.vpnservice/dhcpservice-impl/${vpnservices.version} - mvn:org.opendaylight.vpnservice/elanmanager-api/${elanmgr.version} - mvn:org.opendaylight.vpnservice/elanmanager-impl/${elanmgr.version} + mvn:commons-net/commons-net/{{VERSION}} + mvn:org.opendaylight.vpnservice/lockmanager-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/idmanager-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/bgpmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/bgpmanager-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/mdsalutil-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/arputil-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/alivenessmonitor-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/mdsalutil-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/interfacemgr-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/interfacemgr-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/vpnmanager-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/fibmanager-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/itm-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/neutronvpn-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/neutronvpn-shell/{{VERSION}} + mvn:org.opendaylight.vpnservice/dhcpservice-impl/{{VERSION}} + mvn:org.opendaylight.vpnservice/elanmanager-api/{{VERSION}} + mvn:org.opendaylight.vpnservice/elanmanager-impl/{{VERSION}} wrap:mvn:org.apache.thrift/libthrift/0.9.1$overwrite=merge&Bundle-Version=0.9.1&Export-Package=*;-noimport:=true;version="0.9.1" - mvn:org.opendaylight.vpnservice/lockmanager-impl/${lockmanager.version}/xml/config - mvn:org.opendaylight.vpnservice/idmanager-impl/${idmanager.version}/xml/config - mvn:org.opendaylight.vpnservice/idmanager-impl/${idmanager.version}/xml/config - mvn:org.opendaylight.vpnservice/bgpmanager-impl/${vpnservices.version}/xml/config - mvn:org.opendaylight.vpnservice/mdsalutil-impl/${vpnservices.version}/xml/config - mvn:org.opendaylight.vpnservice/interfacemgr-impl/${interfacemgr.version}/xml/config - mvn:org.opendaylight.vpnservice/arputil-impl/${arputil.version}/xml/config - mvn:org.opendaylight.vpnservice/alivenessmonitor-impl/${vpnservices.version}/xml/config - mvn:org.opendaylight.vpnservice/vpnmanager-impl/${vpnmanager.version}/xml/config - mvn:org.opendaylight.vpnservice/fibmanager-impl/${fibmanager.version}/xml/config - mvn:org.opendaylight.vpnservice/itm-impl/${itm.version}/xml/config - mvn:org.opendaylight.vpnservice/neutronvpn-impl/${neutronvpn.version}/xml/config - mvn:org.opendaylight.vpnservice/dhcpservice-impl/${vpnservices.version}/xml/config - mvn:org.opendaylight.vpnservice/elanmanager-impl/${elanmgr.version}/xml/config + mvn:org.opendaylight.vpnservice/lockmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/idmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/idmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/bgpmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/mdsalutil-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/interfacemgr-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/arputil-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/alivenessmonitor-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/vpnmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/fibmanager-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/itm-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/neutronvpn-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/dhcpservice-impl/{{VERSION}}/xml/config + mvn:org.opendaylight.vpnservice/elanmanager-impl/{{VERSION}}/xml/config @@ -96,12 +96,12 @@ and is available at http://www.eclipse.org/legal/epl-v10.html odl-neutron-service - mvn:org.opendaylight.neutron/dummyprovider/${neutron.version} + mvn:org.opendaylight.neutron/dummyprovider/{{VERSION}} odl-vpnservice-impl-ui odl-neutron-service - mvn:org.opendaylight.neutron/dummyprovider/${neutron.version} + mvn:org.opendaylight.neutron/dummyprovider/{{VERSION}} odl-vpnservice-impl-rest diff --git a/mdsalutil/mdsalutil-impl/pom.xml b/mdsalutil/mdsalutil-impl/pom.xml index 577c97a7..7743f1ba 100644 --- a/mdsalutil/mdsalutil-impl/pom.xml +++ b/mdsalutil/mdsalutil-impl/pom.xml @@ -38,13 +38,11 @@ org.powermock powermock-module-junit4 - 1.5.2 test org.powermock powermock-api-mockito - 1.5.2 test diff --git a/vpnintent/impl/pom.xml b/vpnintent/impl/pom.xml index f69f9c82..7a3b3050 100644 --- a/vpnintent/impl/pom.xml +++ b/vpnintent/impl/pom.xml @@ -21,7 +21,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL 1.2.0-SNAPSHOT - 1.5.2 @@ -63,13 +62,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL org.powermock powermock-api-mockito - ${powermock.version} test org.powermock powermock-module-junit4 - ${powermock.version} test -- 2.36.6