Add yangtools/mdsal experimental features 94/90194/3
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 1 Jun 2020 12:55:21 +0000 (14:55 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 24 Aug 2020 06:29:30 +0000 (06:29 +0000)
Both yangtools and mdsal provide a few features which are deemed
experimental. Make sure we package them.

Change-Id: I31c417a37bd826ebf139646ab6698d52e62f3fc6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit d9389f6b38ef1f81f5be8712476af528fc809226)

artifacts/upstream/artifacts/pom.xml
features/repos/index/pom.xml

index 08ded1de3b745ee2c1ff1f868c021cbb8c520719..d744fd1feb0376dd87b90a03d7d01cf77cedbb3b 100644 (file)
                 </dependencies>
             </dependencyManagement>
         </profile>
+        <profile>
+            <id>mdsal</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencyManagement>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.opendaylight.mdsal</groupId>
+                        <artifactId>mdsal-artifacts</artifactId>
+                        <version>${mdsal.version}</version>
+                        <type>pom</type>
+                        <scope>import</scope>
+                    </dependency>
+                </dependencies>
+            </dependencyManagement>
+        </profile>
         <profile>
             <id>netconf</id>
             <activation>
                 </dependencies>
             </dependencyManagement>
         </profile>
+        <profile>
+            <id>yangtools</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencyManagement>
+                <dependencies>
+                    <dependency>
+                        <groupId>org.opendaylight.yangtools</groupId>
+                        <artifactId>yangtools-artifacts</artifactId>
+                        <version>${yangtools.version}</version>
+                        <type>pom</type>
+                        <scope>import</scope>
+                    </dependency>
+                </dependencies>
+            </dependencyManagement>
+        </profile>
     </profiles>
 </project>
index 779a47375805a35fcec0173388c47f4ae88503d8..65e6b56cd9ca2f55b21d16b5c434a191d0074519 100644 (file)
                 </dependency>
             </dependencies>
         </profile>
-        <!-- FIXME: Add Mdsal -->
+        <!-- Mdsal -->
+        <profile>
+            <id>mdsal</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.opendaylight.mdsal</groupId>
+                    <artifactId>features-mdsal</artifactId>
+                    <classifier>features</classifier>
+                    <type>xml</type>
+                </dependency>
+                <dependency>
+                    <groupId>org.opendaylight.mdsal</groupId>
+                    <artifactId>features-mdsal-experimental</artifactId>
+                    <classifier>features</classifier>
+                    <type>xml</type>
+                </dependency>
+            </dependencies>
+        </profile>
         <!-- Netconf -->
         <profile>
             <id>netconf</id>
                 </dependency>
             </dependencies>
         </profile>
+        <!-- Yangtools -->
+        <profile>
+            <id>yangtools</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.opendaylight.yangtools</groupId>
+                    <artifactId>features-yangtools</artifactId>
+                    <classifier>features</classifier>
+                    <type>xml</type>
+                </dependency>
+                <dependency>
+                    <groupId>org.opendaylight.yangtools</groupId>
+                    <artifactId>features-yangtools-experimental</artifactId>
+                    <classifier>features</classifier>
+                    <type>xml</type>
+                </dependency>
+            </dependencies>
+        </profile>
     </profiles>
 </project>