From 80d8069f8056b3dea27ce20b01b51ff8797ef16c Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Tue, 25 Apr 2017 15:54:09 +0200 Subject: [PATCH] fixing ordmodels/pom.xml old dependencies Following jar packages have been removed recently from repositories related to org.opendaylight.mdsal.model in nexus : iana-afn-safi:jar:2013.07.04.9.3-SNAPSHOT iana-if-type-2014-05-08:jar:2014.05.08.9.3-SNAPSHOT ietf-interfaces:jar:2014.05.08.9.3-SNAPSHOT But the current ordmodels/pom.xml explicitly depends on them. As a result, the old pom no more compiles on brand new installations. For users who still have those dependencies in their maven cache, the old pom still compiles. You can check the following folders: .m2/repository/org/opendaylight/mdsal/model/iana-afn-safi/ .m2/repository/org/opendaylight/mdsal/model/iana-if-type-2014-05-08/ .m2/repository/org/opendaylight/mdsal/model/ietf-interfaces/ Newer versions have been explicitly added in this fix. But removing the version tag also work. Maybe this solution should be reconsidered in the future to avoid too many code updates. Note: the following commands allows to compile only ordmodels mvn clean install -DskipTests -rf :transportpce-ordmodels Change-Id: I872001f72fc0ed3d2af69ec2a28f08f2b14c8fdd Signed-off-by: guillaume --- ordmodels/pom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ordmodels/pom.xml b/ordmodels/pom.xml index a63a34278..08e498835 100644 --- a/ordmodels/pom.xml +++ b/ordmodels/pom.xml @@ -29,7 +29,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.mdsal.model iana-afn-safi - 2013.07.04.9.3-SNAPSHOT + 2013.07.04.9.4-SNAPSHOT org.opendaylight.mdsal.model @@ -38,7 +38,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.mdsal.model iana-if-type-2014-05-08 - 2014.05.08.9.3-SNAPSHOT + 2014.05.08.9.4-SNAPSHOT org.opendaylight.mdsal.model @@ -47,11 +47,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.mdsal.model ietf-interfaces - 2014.05.08.9.3-SNAPSHOT + 2014.05.08.9.4-SNAPSHOT org.opendaylight.mdsal.model ietf-packet-fields - \ No newline at end of file + -- 2.36.6