Add mdsal-model-artifacts to binding-parent 78/26778/2
authorFlorin Coras <fcoras@cisco.com>
Thu, 10 Sep 2015 16:33:44 +0000 (18:33 +0200)
committerFlorin Coras <fcoras@cisco.com>
Thu, 10 Sep 2015 17:26:45 +0000 (19:26 +0200)
Given the migration to use the MD-SAL project, dependencies like
ietf-inet-types and ietf-yang-types are now imported via
org.opendaylight.mdsal.model instead of org.opendaylight.yangtools.model
groupId. However, the dependency management section of the
binding-parent does not include mdsal-model-artifacts, where the
previously mentioned artifacts are declared. This breaks imports in
bundles inheriting from binding-parent.

Change-Id: Id19c36862f8ab8bbfa70f8a538619070cf8814d7
Signed-off-by: Florin Coras <fcoras@cisco.com>
binding/binding-parent/pom.xml

index 8757287c9e9bf988e74921914e2910fe1962f752..e34ca06c7622bc8d4133aa7a4373c3a86e0a6df0 100644 (file)
@@ -25,6 +25,7 @@
     <properties>
         <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
         <mdsal.version>2.0.0-SNAPSHOT</mdsal.version>
+        <mdsalmodel.version>0.8.0-SNAPSHOT</mdsalmodel.version>
         <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
     </properties>
 
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
+            <dependency>
+              <groupId>org.opendaylight.mdsal.model</groupId>
+              <artifactId>mdsal-model-artifacts</artifactId>
+              <version>${mdsalmodel.version}</version>
+              <type>pom</type>
+              <scope>import</scope>
+            </dependency>
         </dependencies>
     </dependencyManagement>