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)
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

index a63a342780aff72d1185c76b8c6e92cce048abbf..08e498835957c8a6d7e680b256617134e0bde2bd 100644 (file)
@@ -29,7 +29,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
       <artifactId>iana-afn-safi</artifactId>
-      <version>2013.07.04.9.3-SNAPSHOT</version>
+      <version>2013.07.04.9.4-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
@@ -38,7 +38,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
       <artifactId>iana-if-type-2014-05-08</artifactId>
-      <version>2014.05.08.9.3-SNAPSHOT</version>
+      <version>2014.05.08.9.4-SNAPSHOT</version>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.mdsal.model</groupId>
@@ -47,11 +47,11 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <dependency>
     <groupId>org.opendaylight.mdsal.model</groupId>
     <artifactId>ietf-interfaces</artifactId>
-    <version>2014.05.08.9.3-SNAPSHOT</version>
+      <version>2014.05.08.9.4-SNAPSHOT</version>
     </dependency>
     <dependency>
     <groupId>org.opendaylight.mdsal.model</groupId>
     <artifactId>ietf-packet-fields</artifactId>
     </dependency>
   </dependencies>
-</project>
\ No newline at end of file
+</project>