fixing ordmodels/pom.xml old dependencies 01/56001/1
authorguillaume.lambert <guillaume.lambert@orange.com>
Tue, 25 Apr 2017 13:54:09 +0000 (15:54 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Tue, 25 Apr 2017 13:55:28 +0000 (15:55 +0200)
commit80d8069f8056b3dea27ce20b01b51ff8797ef16c
tree8b9a06b1b165bc9a39f2714f4d44b4cb7d97b59f
parentfffd6e021f300f4dfa48d838d0ab2892b0cd9e65
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 <guillaume@orange.com>
ordmodels/pom.xml