MDSAL Binding2 Features - Carbon only 53/59153/7
authorMartin Ciglan <martin.ciglan@pantheon.tech>
Mon, 19 Jun 2017 10:24:56 +0000 (12:24 +0200)
committerMartin Ciglan <martin.ciglan@pantheon.tech>
Fri, 23 Jun 2017 10:36:44 +0000 (10:36 +0000)
Change-Id: Ib2c3b85fe14eaa675d294f01ad6b2ae85655afeb
Signed-off-by: Martin Ciglan <martin.ciglan@pantheon.tech>
Signed-off-by: Jakub Toth <jakub.toth@pantheon.tech>
binding2/mdsal-binding2-dom-codec/pom.xml
common/artifacts/pom.xml
common/features/features-mdsal/pom.xml
common/features/features-mdsal/src/main/features/features.xml
model-binding2/pom.xml
model-binding2/yang-ext/pom.xml [new file with mode: 0644]

index dc762ad1c0c8e5c33590a6de30afafeb9538c364..677320baa8885c936e45b5eae67c1b7731131d3c 100644 (file)
                     <instructions>
                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
                         <Export-Package>
-                            org.opendaylight.mdsal.binding2.dom.codec.*,
-                            org.opendaylight.yangtools.binding.data.codec.*,
-                            org.opendaylight.yangtools.binding.data.codec.gen.impl.*,
-                            org.opendaylight.yangtools.binding.data.codec.impl.*,
+                            org.opendaylight.mdsal.binding2.dom.codec.*
                         </Export-Package>
                     </instructions>
                 </configuration>
index d092ca72d615e61a6a01936c3c13ddf41ef36d30..e4a4e07129ca21914d07fa9ad252f76b7e35ad92 100644 (file)
                 <artifactId>mdsal-binding2-util</artifactId>
                 <version>0.10.1-SNAPSHOT</version>
             </dependency>
+            <dependency>
+                <groupId>org.opendaylight.mdsal.model.binding2</groupId>
+                <artifactId>yang-ext</artifactId>
+                <version>2013.09.07.10.1-SNAPSHOT</version>
+            </dependency>
             <dependency>
                 <groupId>org.opendaylight.mdsal</groupId>
                 <artifactId>mdsal-eos-common-api</artifactId>
index 0bf027e35d33ed8a6e18894ae72a4bd454fda709..617dda66c35cbabf3fe66c42e8994b1346aef028 100644 (file)
         </dependency>
 
         <!-- Binding specification version 2-->
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-binding2-runtime</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.mdsal</groupId>
             <artifactId>mdsal-binding2-generator-api</artifactId>
             <groupId>org.opendaylight.mdsal</groupId>
             <artifactId>mdsal-binding2-util</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-binding2-api</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-binding2-dom-codec</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal</groupId>
+            <artifactId>mdsal-binding2-dom-adapter</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.mdsal.model.binding2</groupId>
+            <artifactId>yang-ext</artifactId>
+        </dependency>
     </dependencies>
 
   <!--
index d41e7fd1e56cfe91934a5c077719ce4cb438b3ef..007259aeeaa569786fa2d496651e50561bd1d790 100644 (file)
@@ -20,9 +20,7 @@
     </feature>
 
     <feature name='odl-mdsal-binding2' version='${project.version}' description='OpenDaylight :: MD-SAL :: Binding 2'>
-        <feature version='${project.version}' dependency="true">odl-mdsal-binding2-runtime</feature>
-        <feature version='${project.version}' dependency="true">odl-mdsal-binding2-api</feature>
-        <feature version='${project.version}' dependency="true">odl-mdsal-dom-api</feature>
+        <feature version='${project.version}'>odl-mdsal-binding2-dom-adapter</feature>
         <feature version='${project.version}'>odl-mdsal-dom</feature>
     </feature>
 
 
     <feature name='odl-mdsal-binding2-base' version='${project.version}'
              description='OpenDaylight :: MD-SAL :: Binding2 Base Concepts'>
-        <feature version="${yangtools.version}" dependency="true">odl-yangtools-yang-parser</feature>
         <feature version='${yangtools.version}' dependency="true">odl-yangtools-common</feature>
+        <feature version='${yangtools.version}' dependency="true">odl-yangtools-yang-parser</feature>
         <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-spec/{{VERSION}}</bundle>
-        <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-util/{{VERSION}}</bundle>
+        <bundle>mvn:org.opendaylight.mdsal.model.binding2/yang-ext/{{VERSION}}</bundle>
     </feature>
 
     <feature name='odl-mdsal-binding-runtime' version='${project.version}' description='OpenDaylight :: MD-SAL :: Binding Generator'>
     <feature name='odl-mdsal-binding2-runtime' version='${project.version}'
              description='OpenDaylight :: MD-SAL :: Binding2 Generator'>
         <feature version='${yangtools.version}' dependency="true">odl-yangtools-yang-data</feature>
-        <feature version='${project.version}'>odl-mdsal-binding2-base</feature>
+        <feature version='${project.version}'  dependency="true">odl-mdsal-binding2-api</feature>
         <bundle dependency="true">mvn:org.javassist/javassist/{{VERSION}}</bundle>
         <bundle dependency="true">mvn:org.apache.commons/commons-lang3/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-generator-api/{{VERSION}}</bundle>
         <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-generator-util/{{VERSION}}</bundle>
-        <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-generator-impl/{{VERSION}}</bundle>
+        <bundle dependency="true">mvn:org.opendaylight.mdsal/mdsal-binding2-dom-codec/{{VERSION}}</bundle>
     </feature>
 
     <feature name='odl-mdsal-binding-api' version='${project.version}' description='OpenDaylight :: MD-SAL :: Binding Base Concepts'>
@@ -99,6 +97,9 @@
              description='OpenDaylight :: MD-SAL :: Binding2 Base Concepts'>
         <feature version='${project.version}' dependency="true">odl-mdsal-common</feature>
         <feature version='${project.version}' dependency="true">odl-mdsal-binding2-base</feature>
+        <feature version='${project.version}' dependency="true">odl-mdsal-dom-api</feature>
+        <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-api/{{VERSION}}</bundle>
+        <bundle>mvn:org.opendaylight.mdsal/mdsal-binding2-util/{{VERSION}}</bundle>
     </feature>
 
     <feature name='odl-mdsal-binding-dom-adapter' version='${project.version}' description='OpenDaylight :: MD-SAL :: Binding Generator'>
         <bundle>mvn:org.opendaylight.mdsal/mdsal-binding-dom-adapter/{{VERSION}}</bundle>
     </feature>
 
+    <feature name='odl-mdsal-binding2-dom-adapter' version='${project.version}'
+             description='OpenDaylight :: MD-SAL :: Binding2 Generator'>
+        <feature version='${project.version}' dependency="true">odl-mdsal-binding2-runtime</feature>
+        <bundle dependency="true">mvn:org.opendaylight.mdsal/mdsal-binding2-dom-adapter/{{VERSION}}</bundle>
+    </feature>
+
     <feature name='odl-mdsal-eos-common' version='${project.version}' description='OpenDaylight :: MD-SAL :: EOS :: Common'>
         <feature version='${yangtools.version}' dependency="true">odl-yangtools-common</feature>
         <feature version='${yangtools.version}' dependency="true">odl-yangtools-yang-data</feature>
index a7dacbd63850d076e06c8822f2346c56280ae6b0..d32bddf76330a65ea1b01d7730596e6d1450c8e3 100644 (file)
     <name>${project.artifactId}</name>
     <description>${project.artifactId}</description>
 
+    <modules>
+        <module>yang-ext</module>
+    </modules>
+
   <!--
       Maven Site Configuration
 
diff --git a/model-binding2/yang-ext/pom.xml b/model-binding2/yang-ext/pom.xml
new file mode 100644 (file)
index 0000000..3bf5780
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Copyright (c) 2017 Pantheon Technologies s.r.o. and others.  All rights reserved.
+  ~
+  ~ This program and the accompanying materials are made available under the
+  ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
+  ~ and is available at http://www.eclipse.org/legal/epl-v10.html
+  -->
+
+<!-- vi: set et smarttab sw=4 tabstop=4: -->
+
+<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">
+
+    <parent>
+        <groupId>org.opendaylight.mdsal</groupId>
+        <artifactId>mdsal-model-binding2-parent</artifactId>
+        <version>0.10.1-SNAPSHOT</version>
+        <relativePath>../../binding2/mdsal-model-binding2-parent</relativePath>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>org.opendaylight.mdsal.model.binding2</groupId>
+    <artifactId>yang-ext</artifactId>
+    <version>2013.09.07.10.1-SNAPSHOT</version>
+    <name>${project.artifactId}</name>
+    <description>${project.artifactId}</description>
+    <packaging>bundle</packaging>
+
+     <!--
+      Maven Site Configuration
+
+      The following configuration is necessary for maven-site-plugin to
+      correctly identify the correct deployment path for OpenDaylight Maven
+      sites.
+  -->
+  <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
+
+  <distributionManagement>
+    <site>
+      <id>opendaylight-site</id>
+      <url>${nexus.site.url}/${project.artifactId}/</url>
+    </site>
+  </distributionManagement>
+
+</project>