Promote yang-xpath to stable features 19/80919/8
authorRobert Varga <robert.varga@pantheon.tech>
Sat, 16 Mar 2019 00:26:22 +0000 (01:26 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Sat, 16 Mar 2019 11:53:17 +0000 (12:53 +0100)
yang-xpath-* is ready to be promoted, this patch integrates
it into odl-yangtools-xpath and defined odl-yangtools-xpath-api

JIRA: YANGTOOLS-966
Change-Id: Iefc0343bbdd52892769422900465b7c6565fca47
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
artifacts/pom.xml
features/features-yangtools-experimental/pom.xml
features/features-yangtools/pom.xml
features/odl-yangtools-exp-xpath-impl/pom.xml [deleted file]
features/odl-yangtools-exp-xpath-impl/src/main/feature/feature.xml [deleted file]
features/odl-yangtools-xpath-api/pom.xml [moved from features/odl-yangtools-exp-xpath-api/pom.xml with 94% similarity]
features/odl-yangtools-xpath/pom.xml
features/pom.xml
yang/yang-xpath-api/pom.xml
yang/yang-xpath-impl/pom.xml

index 9b5176f51391a8e9ba491fcaee1cb28ca30e9c00..caf2f3ca4ef5cf4b950993990c19a1907d4ae623 100644 (file)
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-xpath-api</artifactId>
-                <version>0.3.0-SNAPSHOT</version>
+                <version>1.0.0-SNAPSHOT</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
                 <artifactId>yang-xpath-impl</artifactId>
-                <version>0.3.0-SNAPSHOT</version>
+                <version>1.0.0-SNAPSHOT</version>
             </dependency>
 
             <dependency>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
-                <artifactId>odl-yangtools-xpath</artifactId>
-                <version>3.0.0-SNAPSHOT</version>
+                <artifactId>odl-yangtools-xpath-api</artifactId>
+                <version>1.0.0-SNAPSHOT</version>
                 <type>xml</type>
                 <classifier>features</classifier>
             </dependency>
-
-            <!-- Experimental features -->
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
-                <artifactId>odl-yangtools-exp-xpath-api</artifactId>
-                <version>0.3.0-SNAPSHOT</version>
-                <type>xml</type>
-                <classifier>features</classifier>
-            </dependency>
-            <dependency>
-                <groupId>org.opendaylight.yangtools</groupId>
-                <artifactId>odl-yangtools-exp-xpath-impl</artifactId>
-                <version>0.3.0-SNAPSHOT</version>
+                <artifactId>odl-yangtools-xpath</artifactId>
+                <version>3.0.0-SNAPSHOT</version>
                 <type>xml</type>
                 <classifier>features</classifier>
             </dependency>
 
+            <!-- Experimental features -->
+
             <!-- Documentation -->
             <dependency>
                 <groupId>org.opendaylight.yangtools</groupId>
index b2ee4f9cf55c9eae35574471cebcd4d53da14e76..4b61bcd79de8206a44fc06da320f1d10608dd022 100644 (file)
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>odl-yangtools-exp-xpath-api</artifactId>
-            <classifier>features</classifier>
-            <type>xml</type>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>odl-yangtools-exp-xpath-impl</artifactId>
-            <classifier>features</classifier>
-            <type>xml</type>
-        </dependency>
     </dependencies>
 </project>
index 5f5fd8c28c31cd335c79df1cd8d9d0c89e26831d..3d75dcc8af613fe960383962847b1bc9d2adbca6 100644 (file)
             <classifier>features</classifier>
             <type>xml</type>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>odl-yangtools-xpath-api</artifactId>
+            <classifier>features</classifier>
+            <type>xml</type>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>odl-yangtools-xpath</artifactId>
diff --git a/features/odl-yangtools-exp-xpath-impl/pom.xml b/features/odl-yangtools-exp-xpath-impl/pom.xml
deleted file mode 100644 (file)
index 80624b6..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Copyright © 2016 Red Hat, Inc. 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
- -->
-<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>
-
-    <parent>
-        <groupId>org.opendaylight.odlparent</groupId>
-        <artifactId>single-feature-parent</artifactId>
-        <version>4.0.9</version>
-        <relativePath/>
-    </parent>
-
-    <groupId>org.opendaylight.yangtools</groupId>
-    <artifactId>odl-yangtools-exp-xpath-impl</artifactId>
-    <version>0.3.0-SNAPSHOT</version>
-    <packaging>feature</packaging>
-    <name>OpenDaylight :: Yangtools :: Experimental :: XPath API implementation</name>
-
-    <dependencyManagement>
-        <dependencies>
-            <dependency>
-                <groupId>org.opendaylight.yangtools</groupId>
-                <artifactId>yangtools-artifacts</artifactId>
-                <version>3.0.0-SNAPSHOT</version>
-                <scope>import</scope>
-                <type>pom</type>
-            </dependency>
-        </dependencies>
-    </dependencyManagement>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.opendaylight.odlparent</groupId>
-            <artifactId>odl-antlr4</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>odl-yangtools-exp-xpath-api</artifactId>
-            <type>xml</type>
-            <classifier>features</classifier>
-        </dependency>
-        <dependency>
-            <groupId>org.opendaylight.yangtools</groupId>
-            <artifactId>yang-xpath-impl</artifactId>
-        </dependency>
-    </dependencies>
-</project>
diff --git a/features/odl-yangtools-exp-xpath-impl/src/main/feature/feature.xml b/features/odl-yangtools-exp-xpath-impl/src/main/feature/feature.xml
deleted file mode 100644 (file)
index b99ab09..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<features xmlns="http://karaf.apache.org/xmlns/features/v1.4.0" name="odl-yangtools-exp-xpath-impl">
-    <feature name="odl-yangtools-exp-xpath-impl">
-        <feature version="[4.0.8,5)">odl-antlr4</feature>
-    </feature>
-</features>
similarity index 94%
rename from features/odl-yangtools-exp-xpath-api/pom.xml
rename to features/odl-yangtools-xpath-api/pom.xml
index 9e489eda06bdd5c52e55352fe3fdc0de8aa62ca7..2ccdcf1bd3e38ffc0424a906ff4338182325f2ff 100644 (file)
@@ -17,8 +17,8 @@
     </parent>
 
     <groupId>org.opendaylight.yangtools</groupId>
-    <artifactId>odl-yangtools-exp-xpath-api</artifactId>
-    <version>0.3.0-SNAPSHOT</version>
+    <artifactId>odl-yangtools-xpath-api</artifactId>
+    <version>1.0.0-SNAPSHOT</version>
     <packaging>feature</packaging>
     <name>OpenDaylight :: Yangtools :: Experimental :: XPath API</name>
 
index 67cef873141e7bd44db60b7c26dafb86d42ab75c..00659e5f3554fa05b5c114fa7946c79027c33dfa 100644 (file)
     </dependencyManagement>
 
     <dependencies>
+        <dependency>
+            <groupId>org.opendaylight.odlparent</groupId>
+            <artifactId>odl-antlr4</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>odl-yangtools-data-api</artifactId>
             <type>xml</type>
             <classifier>features</classifier>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>odl-yangtools-xpath-api</artifactId>
+            <type>xml</type>
+            <classifier>features</classifier>
+        </dependency>
+        <dependency>
+            <groupId>org.opendaylight.yangtools</groupId>
+            <artifactId>yang-xpath-impl</artifactId>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.yangtools</groupId>
             <artifactId>yang-data-jaxen</artifactId>
index a1dbcac7053e3c678c793471d5d4aec4f3fccff5..5087a96cd2eac8659fb35c1dc50fc9a92407599e 100644 (file)
         <module>odl-yangtools-parser-api</module>
         <module>odl-yangtools-parser</module>
         <module>odl-yangtools-util</module>
+        <module>odl-yangtools-xpath-api</module>
         <module>odl-yangtools-xpath</module>
 
         <!-- Stable feature repository -->
         <module>features-yangtools</module>
 
         <!-- Experimental features -->
-        <module>odl-yangtools-exp-xpath-api</module>
-        <module>odl-yangtools-exp-xpath-impl</module>
 
         <!-- Experimental feature repostitory -->
         <module>features-yangtools-experimental</module>
index 03b1528f874f8c0ac3654d9ddf4108d2bc9becd4..0935a1dcefcb93f1f1d98e4601b3a9780dbded60 100644 (file)
@@ -17,7 +17,7 @@
     </parent>
 
     <artifactId>yang-xpath-api</artifactId>
-    <version>0.3.0-SNAPSHOT</version>
+    <version>1.0.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>${project.artifactId}</name>
     <description>YANG XPath ${project.artifactId}</description>
index e9aded9ba4d82d0e22eeb86441793f63b57b0169..bad31c7f8d592c484eca5603a48231ce76716dee 100644 (file)
@@ -17,7 +17,7 @@
     </parent>
 
     <artifactId>yang-xpath-impl</artifactId>
-    <version>0.3.0-SNAPSHOT</version>
+    <version>1.0.0-SNAPSHOT</version>
     <packaging>bundle</packaging>
     <name>${project.artifactId}</name>
     <description>YANG XPath parser</description>