Bump to odlparent 3.1.0 and yangtools 2.0.3
[packetcable.git] / pom.xml
diff --git a/pom.xml b/pom.xml
index b14e5e14bf27d7d82c8f685c09a267cde6a0064b..d1a45ef42f89671132d19b468dc4b180358cff55 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -1,19 +1,21 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
+    <!-- FIXME: Do not use sal-parent, use odlparent:odlparent or mdsal:binding-parent intstead. -->
     <parent>
-        <groupId>org.opendaylight.controller</groupId>
-        <artifactId>sal-parent</artifactId>
-        <version>1.3.0-SNAPSHOT</version>
-        <relativePath />
+        <groupId>org.opendaylight.odlparent</groupId>
+        <artifactId>odlparent</artifactId>
+        <version>3.1.0</version>
+        <relativePath/>
     </parent>
     <groupId>org.opendaylight.packetcable</groupId>
     <artifactId>packetcable</artifactId>
+    <version>1.8.0-SNAPSHOT</version>
     <name>packetcable</name> <!-- Used by Sonar to set project name -->
     <packaging>pom</packaging>
     <properties>
-        <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
+        <openflowplugin.version>0.7.0-SNAPSHOT</openflowplugin.version>
+        <controller.model.version>1.8.0-SNAPSHOT</controller.model.version>
     </properties>
     <distributionManagement>
         <!-- OpenDayLight Released artifact -->
             <url>${nexusproxy}/repositories/opendaylight.snapshot</url>
         </snapshotRepository>
     </distributionManagement>
+
+    <dependencyManagement>
+      <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-artifacts</artifactId>
+            <version>2.5.0-SNAPSHOT</version>
+            <type>pom</type>
+            <scope>import</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal.model</groupId>
+            <artifactId>mdsal-model-artifacts</artifactId>
+            <version>0.13.0-SNAPSHOT</version>
+            <type>pom</type>
+            <scope>import</scope>
+        </dependency>
+      </dependencies>
+    </dependencyManagement>
+
     <modules>
         <module>packetcable-driver</module>
         <!-- New modules for the new Arris API -->
             <artifactId>model-flow-service</artifactId>
             <version>${openflowplugin.version}</version>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools.model</groupId>
-            <artifactId>ietf-inet-types</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools.model</groupId>
-            <artifactId>ietf-yang-types</artifactId>
-        </dependency>
         <dependency>
             <groupId>org.opendaylight.controller.model</groupId>
             <artifactId>model-inventory</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools.model</groupId>
-            <artifactId>opendaylight-l2-types</artifactId>
+            <version>${controller.model.version}</version>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.openflowplugin.model</groupId>
             <version>${openflowplugin.version}</version>
         </dependency>
     </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-checkstyle-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
 </project>