Bumped version of Maven YANG tools to 0.5.1-SNAPSHOT 97/397/5
authorTony Tkacik <ttkacik@cisco.com>
Tue, 28 May 2013 14:44:41 +0000 (16:44 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Wed, 29 May 2013 16:18:48 +0000 (18:18 +0200)
 - Removed unnecessary dependencies from YANG Maven Tools integration tests.
 - Added Attach Sources and Javadoc to deploy phase

Change-Id: I456c06538c944ae53d4f12827be4a64726b8233b
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
36 files changed:
opendaylight/sal/yang-prototype/code-generator/binding-generator-api/pom.xml
opendaylight/sal/yang-prototype/code-generator/binding-generator-impl/pom.xml
opendaylight/sal/yang-prototype/code-generator/binding-generator-spi/pom.xml
opendaylight/sal/yang-prototype/code-generator/binding-generator-util/pom.xml
opendaylight/sal/yang-prototype/code-generator/binding-java-api-generator/pom.xml
opendaylight/sal/yang-prototype/code-generator/binding-model-api/pom.xml
opendaylight/sal/yang-prototype/code-generator/code-generator-demo/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-sal-api-gen-plugin/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/Correct/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/Correct_resources/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest1/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/GenerateTest2/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/Generator/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/NoGenerators/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/NoGenerators_resources/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/NoOutputDir/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/NoYangFiles/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/UnknownGenerator/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/UnknownGenerator_resources/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin-it/src/test/resources/YangRootNotExist/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang-plugin/pom.xml
opendaylight/sal/yang-prototype/code-generator/maven-yang/pom.xml
opendaylight/sal/yang-prototype/code-generator/pom.xml
opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/pom.xml
opendaylight/sal/yang-prototype/code-generator/samples/maven-code-gen-sample/src/main/java/Example.java
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-api/pom.xml
opendaylight/sal/yang-prototype/code-generator/yang-model-parser-impl/pom.xml
opendaylight/sal/yang-prototype/pom.xml
opendaylight/sal/yang-prototype/yang/pom.xml
opendaylight/sal/yang-prototype/yang/yang-binding/pom.xml
opendaylight/sal/yang-prototype/yang/yang-common/pom.xml
opendaylight/sal/yang-prototype/yang/yang-data-api/pom.xml
opendaylight/sal/yang-prototype/yang/yang-data-util/pom.xml
opendaylight/sal/yang-prototype/yang/yang-model-api/pom.xml
opendaylight/sal/yang-prototype/yang/yang-model-util/pom.xml

index 51771e5..efb655f 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>binding-generator</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>binding-generator-api</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.opendaylight.controller</groupId>\r
index d9509e8..9ba6166 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>binding-generator</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>binding-generator-impl</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.opendaylight.controller</groupId>\r
index ebaecde..2ec8845 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>binding-generator</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>binding-generator-spi</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.opendaylight.controller</groupId>\r
index 44a3bc8..3fa8f33 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>binding-generator</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>binding-generator-util</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.opendaylight.controller</groupId>\r
index a7d5649..1eb30d3 100644 (file)
@@ -4,10 +4,9 @@
        <parent>\r
                <groupId>org.opendaylight.controller</groupId>\r
                <artifactId>binding-generator</artifactId>\r
-               <version>0.5-SNAPSHOT</version>\r
+               <version>0.5.1-SNAPSHOT</version>\r
        </parent>\r
        <artifactId>binding-java-api-generator</artifactId>\r
-    <version>${release.version}</version>\r
        <dependencies>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
index de5e35a..b00739d 100644 (file)
@@ -3,8 +3,7 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>binding-generator</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>binding-model-api</artifactId>\r
-  <version>${release.version}</version>\r
 </project>
\ No newline at end of file
index 93c6a12..d4c5b05 100644 (file)
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>binding-generator-impl</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>binding-java-api-generator</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
        </dependencies>\r
 \r
index 8ee48aa..207ed96 100644 (file)
@@ -4,10 +4,9 @@
     <parent>
         <artifactId>binding-generator</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
     </parent>
     <artifactId>maven-sal-api-gen-plugin</artifactId>
-    <version>${release.version}</version>
 
     <dependencies>
         <dependency>
index 81ff631..896827e 100644 (file)
@@ -4,11 +4,10 @@
     <parent>
         <artifactId>yang</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
         <relativePath>../../yang/pom.xml</relativePath>
     </parent>
     <artifactId>yang-maven-plugin-it</artifactId>
-    <version>${release.version}</version>
 
     <dependencies>
         <dependency>
index 1b10c64..353416d 100644 (file)
@@ -1,18 +1,16 @@
 <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>
-               <artifactId>binding-generator</artifactId>
-               <groupId>org.opendaylight.controller</groupId>
-               <version>0.5-SNAPSHOT</version>
-       </parent>
+
+        <groupId>org.opendaylight.controller</groupId>
+               <version>0.5.1-SNAPSHOT</version>
        <artifactId>test</artifactId>
 
        <dependencies>
                <dependency>
                        <groupId>org.opendaylight.controller</groupId>
                        <artifactId>yang-maven-plugin-spi</artifactId>
-                       <version>0.5-SNAPSHOT</version>
+                       <version>0.5.1-SNAPSHOT</version>
                </dependency>
        </dependencies>
 
@@ -21,7 +19,7 @@
                        <plugin>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>yang-maven-plugin</artifactId>
-                               <version>0.5-SNAPSHOT</version>
+                               <version>0.5.1-SNAPSHOT</version>
                                <executions>
                                        <execution>
                                                <goals>
@@ -54,7 +52,7 @@
                                        <dependency>
                                                <groupId>org.opendaylight.controller</groupId>
                                                <artifactId>yang-maven-plugin-spi</artifactId>
-                                               <version>0.5-SNAPSHOT</version>
+                                               <version>0.5.1-SNAPSHOT</version>
                                                <type>test-jar</type>
                                        </dependency>
                                </dependencies>
index 5f51935..356f1c6 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -39,7 +38,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index df21358..fdef8ad 100644 (file)
@@ -4,14 +4,14 @@
 
        <groupId>org.opendaylight.controller</groupId>
        <artifactId>generator-test1</artifactId>
-       <version>0.5-SNAPSHOT</version>
+       <version>0.5.1-SNAPSHOT</version>
 
        <build>
                <plugins>
                        <plugin>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>yang-maven-plugin</artifactId>
-                               <version>0.5-SNAPSHOT</version>
+                               <version>0.5.1-SNAPSHOT</version>
                                <executions>
                                        <execution>
                                                <goals>
@@ -41,7 +41,7 @@
                                        <dependency>
                                                <groupId>org.opendaylight.controller</groupId>
                                                <artifactId>yang-maven-plugin-spi</artifactId>
-                                               <version>0.5-SNAPSHOT</version>
+                                               <version>0.5.1-SNAPSHOT</version>
                                                <type>test-jar</type>
                                        </dependency>
                                </dependencies>
index 7948efc..2fcbd62 100644 (file)
@@ -3,16 +3,17 @@
        <modelVersion>4.0.0</modelVersion>
 
        <groupId>org.opendaylight.controller</groupId>
+       <version>0.5.1-SNAPSHOT</version>
        <artifactId>generator-test2</artifactId>
-       <version>0.5-SNAPSHOT</version>
+       
 
        <dependencies>
                <dependency>
                        <groupId>org.opendaylight.controller</groupId>
                        <artifactId>generator-test1</artifactId>
-                       <version>0.5-SNAPSHOT</version>
+                       <version>0.5.1-SNAPSHOT</version>
                        <scope>system</scope>
-                       <systemPath>${project.basedir}/../GenerateTest1/target/generator-test1-0.5-SNAPSHOT.jar</systemPath>
+                       <systemPath>${project.basedir}/../GenerateTest1/target/generator-test1-0.5.1-SNAPSHOT.jar</systemPath>
                </dependency>
        </dependencies>
 
@@ -21,7 +22,7 @@
                        <plugin>
                                <groupId>org.opendaylight.controller</groupId>
                                <artifactId>yang-maven-plugin</artifactId>
-                               <version>0.5-SNAPSHOT</version>
+                               <version>0.5.1-SNAPSHOT</version>
                                <executions>
                                        <execution>
                                                <goals>
@@ -57,7 +58,7 @@
                                        <dependency>
                                                <groupId>org.opendaylight.controller</groupId>
                                                <artifactId>yang-maven-plugin-spi</artifactId>
-                                               <version>0.5-SNAPSHOT</version>
+                                               <version>0.5.1-SNAPSHOT</version>
                                                <type>test-jar</type>
                                        </dependency>
                                </dependencies>
index ab60092..5581882 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>binding-generator</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
     </parent>
     <artifactId>test</artifactId>
 
@@ -13,7 +13,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -49,7 +49,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 87844cd..7d3291a 100644 (file)
@@ -1,11 +1,9 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +11,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -40,7 +38,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 0d56c03..90220ba 100644 (file)
@@ -1,11 +1,11 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +13,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -40,7 +40,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index de5f8cf..00ddbdd 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -43,7 +42,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 70aa82a..1fc7ab3 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -49,7 +48,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index ec5c606..15f4322 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -57,7 +56,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index defae7e..438ef94 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -57,7 +56,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>yang-maven-plugin-spi</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>test-jar</type>
                     </dependency>
                 </dependencies>
index 6208231..9986438 100644 (file)
@@ -1,11 +1,10 @@
 <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>
-        <artifactId>binding-generator</artifactId>
+
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
-    </parent>
+        <version>0.5.1-SNAPSHOT</version>
+
     <artifactId>test</artifactId>
 
     <build>
@@ -13,7 +12,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
index 188fb92..5afd588 100644 (file)
@@ -4,12 +4,11 @@
     <parent>
         <artifactId>yang</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
         <relativePath>../../yang/pom.xml</relativePath>
     </parent>
 
     <artifactId>yang-maven-plugin</artifactId>
-    <version>${release.version}</version>
     <packaging>maven-plugin</packaging>
     <description>
         This plugin is a wrapper for "yang to source code" generation.
@@ -61,7 +60,7 @@
         <dependency>
             <groupId>${project.groupId}</groupId>
             <artifactId>yang-maven-plugin-spi</artifactId>
-            <version>${release.version}</version>
+            <version>${project.version}</version>
             <type>test-jar</type>
             <scope>test</scope>
         </dependency>
index 628e743..ca7a320 100644 (file)
@@ -4,11 +4,10 @@
     <parent>
         <artifactId>yang</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
         <relativePath>../../yang/pom.xml</relativePath>
     </parent>
     <artifactId>yang-maven-plugin-spi</artifactId>
-    <version>${release.version}</version>
     <dependencies>
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
index a1962e5..9edca3c 100644 (file)
@@ -8,6 +8,7 @@
         <artifactId>yang-prototype</artifactId>
         <version>0.5-SNAPSHOT</version>
     </parent>
+    <version>0.5.1-SNAPSHOT</version>
 
     <artifactId>binding-generator</artifactId>
     <packaging>pom</packaging>
@@ -16,9 +17,7 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <!-- version of YANG tools dependencies -->
-        <yang.version>0.5-SNAPSHOT</yang.version>
-        <!-- Version of all child artifacts -->
-        <release.version>0.5-SNAPSHOT</release.version>
+        <yang.version>0.5.1-SNAPSHOT</yang.version>
     </properties>
 
     <modules>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-model-api</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-generator-api</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-generator-spi</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-generator-util</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-generator-impl</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>binding-java-api-generator</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>maven-sal-api-gen-plugin</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
index 8ee1bf0..03a2e85 100644 (file)
@@ -4,7 +4,7 @@
     <parent>
         <artifactId>binding-generator</artifactId>
         <groupId>org.opendaylight.controller</groupId>
-        <version>0.5-SNAPSHOT</version>
+        <version>0.5.1-SNAPSHOT</version>
     </parent>
     <artifactId>maven-code-gen-sample</artifactId>
 
@@ -13,7 +13,7 @@
             <plugin>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>0.5-SNAPSHOT</version>
+                <version>0.5.1-SNAPSHOT</version>
                 <executions>
                     <execution>
                         <goals>
@@ -41,7 +41,7 @@
                     <dependency>
                         <groupId>org.opendaylight.controller</groupId>
                         <artifactId>maven-sal-api-gen-plugin</artifactId>
-                        <version>0.5-SNAPSHOT</version>
+                        <version>0.5.1-SNAPSHOT</version>
                         <type>jar</type>
                     </dependency>
                 </dependencies>
     <dependency>
     <groupId>org.opendaylight.controller</groupId>
     <artifactId>yang-binding</artifactId>
-    <version>0.5-SNAPSHOT</version>
+    <version>0.5.1-SNAPSHOT</version>
     </dependency>
     </dependencies>
 </project>
\ No newline at end of file
index cc26564..b15c0e5 100644 (file)
@@ -1,3 +1,11 @@
+import java.util.List;
+
+import org.opendaylight.yang.gen.v1.urn.opendaylight.controller.network.rev2013520.ControllerNetworkData;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.controller.network.rev2013520.Network;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.controller.network.rev2013520.network.topologies.Topology;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.controller.network.rev2013520.network.topologies.topology.nodes.Node;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.controller.openflow.rev2013520.Node1;
+
 /*
  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
  *
@@ -9,4 +17,18 @@
 public class Example {
     
 
+    
+    void udpateTopology(ControllerNetworkData network) {
+        List<Topology> topologies = network.getNetwork().getTopologies().getTopology();
+        for (Topology topology : topologies) {
+            List<Node> nodes = topology.getNodes().getNode();
+            for (Node node : nodes) {
+                
+                
+                Node1 ofNode = node.getAugmentation(Node1.class);
+                ofNode.getDatapathId();
+            }
+        }
+        
+    }
 }
index 48ebb51..547d83a 100644 (file)
@@ -3,16 +3,14 @@
   <parent>
     <groupId>org.opendaylight.controller</groupId>
     <artifactId>yang</artifactId>
-    <version>0.5-SNAPSHOT</version>
+    <version>0.5.1-SNAPSHOT</version>
     <relativePath>../../yang/pom.xml</relativePath>
   </parent>
   <artifactId>yang-model-parser-api</artifactId>
-  
   <dependencies>
       <dependency>
           <groupId>org.opendaylight.controller</groupId>
           <artifactId>yang-model-api</artifactId>
-          <version>0.5-SNAPSHOT</version>
       </dependency>
   </dependencies>
 </project>
\ No newline at end of file
index 27ef15e..16a7469 100644 (file)
@@ -4,36 +4,26 @@
        <parent>\r
                <groupId>org.opendaylight.controller</groupId>\r
                <artifactId>yang</artifactId>\r
-               <version>0.5-SNAPSHOT</version>\r
+               <version>0.5.1-SNAPSHOT</version>\r
                <relativePath>../../yang/pom.xml</relativePath>\r
        </parent>\r
        <artifactId>yang-model-parser-impl</artifactId>\r
-\r
        <dependencies>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>yang-common</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>yang-model-api</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>yang-model-parser-api</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
                <dependency>\r
                        <groupId>org.opendaylight.controller</groupId>\r
                        <artifactId>yang-model-util</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
-               </dependency>\r
-               <dependency>\r
-                       <groupId>org.opendaylight.controller</groupId>\r
-                       <artifactId>binding-model-api</artifactId>\r
-                       <version>0.5-SNAPSHOT</version>\r
                </dependency>\r
 \r
                <dependency>\r
index 1ba93ea..cf931cb 100644 (file)
 <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>
-       <groupId>org.opendaylight.controller</groupId>
-       <artifactId>yang-prototype</artifactId>
-       <version>0.5-SNAPSHOT</version>
-       <packaging>pom</packaging>
-       <modules>
-               <module>yang</module>
-               <module>code-generator</module>
-       </modules>
+    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>
+    <groupId>org.opendaylight.controller</groupId>
+    <artifactId>yang-prototype</artifactId>
+    <version>0.5-SNAPSHOT</version>
+    <packaging>pom</packaging>
+    <modules>
+        <module>yang</module>
+        <module>code-generator</module>
+    </modules>
 
-       <properties>
-               <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
-               <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
-               <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
-               <siteplugin>3.2</siteplugin>
-               <projectinfo>2.6</projectinfo>
-               <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-               <compiler.version>2.3.2</compiler.version>
-               <surefire.version>2.13</surefire.version>
-               <exam.version>3.0.0</exam.version>
-               <url.version>1.5.0</url.version>
-               <enunciate.version>1.26.2</enunciate.version>
-               <sonar.branch>${user.name}-private-view</sonar.branch>
-               <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
-               <logback.version>1.0.9</logback.version>
-               <slf4j.version>1.7.2</slf4j.version>
-       </properties>
+    <properties>
+        <sonar.host.url>https://sonar.opendaylight.org/</sonar.host.url>
+        <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
+        <sitedeploy>dav:http://nexus.opendaylight.org/content/sites/site</sitedeploy>
+        <siteplugin>3.2</siteplugin>
+        <projectinfo>2.6</projectinfo>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <compiler.version>2.3.2</compiler.version>
+        <surefire.version>2.13</surefire.version>
+        <exam.version>3.0.0</exam.version>
+        <url.version>1.5.0</url.version>
+        <enunciate.version>1.26.2</enunciate.version>
+        <sonar.branch>${user.name}-private-view</sonar.branch>
+        <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2</sonar.skippedModules>
+        <logback.version>1.0.9</logback.version>
+        <slf4j.version>1.7.2</slf4j.version>
+    </properties>
 
-       <pluginRepositories>
-               <pluginRepository>
-                       <id>central2</id>
-                       <name>central2</name>
-                       <url>${nexusproxy}/repositories/central2/</url>
-               </pluginRepository>
-       </pluginRepositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <id>central2</id>
+            <name>central2</name>
+            <url>${nexusproxy}/repositories/central2/</url>
+        </pluginRepository>
+    </pluginRepositories>
 
 
-       <repositories>
-               <!-- EBR release -->
-               <!-- http://repository.springsource.com/maven/bundles/release -->
-               <repository>
-                       <id>ebr-bundles-release</id>
-                       <name>ebr-bundles-release</name>
-                       <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
-               </repository>
-               <!-- EBR external -->
-               <!-- http://repository.springsource.com/maven/bundles/external -->
-               <repository>
-                       <id>ebr-bundles-external</id>
-                       <name>ebr-bundles-external</name>
-                       <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
-               </repository>
-               <!-- Maven repo2 mirror -->
-               <!-- http://repo2.maven.org/maven2 -->
-               <repository>
-                       <id>central2</id>
-                       <name>central2</name>
-                       <url>${nexusproxy}/repositories/central2/</url>
-               </repository>
-               <!-- Maven repo1 mirror -->
-               <!-- http://repo1.maven.org/maven2 -->
-               <repository>
-                       <id>central</id>
-                       <name>central</name>
-                       <url>${nexusproxy}/repositories/central/</url>
-               </repository>
-               <!-- Pax mirror -->
-               <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
-               <repository>
-                       <id>ops4j-releases</id>
-                       <name>ops4j-releases</name>
-                       <url>${nexusproxy}/repositories/ops4j-releases/</url>
-               </repository>
-               <!-- Third Packages hosted in local maven because not available in other 
-                       places -->
-               <repository>
-                       <id>thirdparty</id>
-                       <name>thirdparty</name>
-                       <url>${nexusproxy}/repositories/thirdparty/</url>
-               </repository>
-               <!-- Jboss mirror -->
-               <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
-               <repository>
-                       <id>jboss.releases</id>
-                       <name>jboss.releases</name>
-                       <url>${nexusproxy}/repositories/jboss.releases/</url>
-               </repository>
-               <!-- OpenDayLight Released artifact -->
-               <repository>
-                       <id>opendaylight-release</id>
-                       <name>opendaylight-release</name>
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>
-               </repository>
-               <!-- OpenDayLight Snapshot artifact -->
-               <repository>
-                       <id>opendaylight-snapshot</id>
-                       <name>opendaylight-snapshot</name>
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-               </repository>
-       </repositories>
-       <distributionManagement>
-               <!-- OpenDayLight Released artifact -->
-               <repository>
-                       <id>opendaylight-release</id>
-                       <url>${nexusproxy}/repositories/opendaylight.release/</url>
-               </repository>
-               <!-- OpenDayLight Snapshot artifact -->
-               <snapshotRepository>
-                       <id>opendaylight-snapshot</id>
-                       <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
-               </snapshotRepository>
-               <!-- Site deployment -->
-               <!-- site>
-                       <id>website</id>
-                       <url>${sitedeploy}</url>
-               </site -->
-       </distributionManagement>
+    <repositories>
+        <!-- EBR release -->
+        <!-- http://repository.springsource.com/maven/bundles/release -->
+        <repository>
+            <id>ebr-bundles-release</id>
+            <name>ebr-bundles-release</name>
+            <url>${nexusproxy}/repositories/ebr-bundles-release/</url>
+        </repository>
+        <!-- EBR external -->
+        <!-- http://repository.springsource.com/maven/bundles/external -->
+        <repository>
+            <id>ebr-bundles-external</id>
+            <name>ebr-bundles-external</name>
+            <url>${nexusproxy}/repositories/ebr-bundles-external/</url>
+        </repository>
+        <!-- Maven repo2 mirror -->
+        <!-- http://repo2.maven.org/maven2 -->
+        <repository>
+            <id>central2</id>
+            <name>central2</name>
+            <url>${nexusproxy}/repositories/central2/</url>
+        </repository>
+        <!-- Maven repo1 mirror -->
+        <!-- http://repo1.maven.org/maven2 -->
+        <repository>
+            <id>central</id>
+            <name>central</name>
+            <url>${nexusproxy}/repositories/central/</url>
+        </repository>
+        <!-- Pax mirror -->
+        <!-- https://oss.sonatype.org/content/repositories/ops4j-releases -->
+        <repository>
+            <id>ops4j-releases</id>
+            <name>ops4j-releases</name>
+            <url>${nexusproxy}/repositories/ops4j-releases/</url>
+        </repository>
+        <!-- Third Packages hosted in local maven because not available in other 
+            places -->
+        <repository>
+            <id>thirdparty</id>
+            <name>thirdparty</name>
+            <url>${nexusproxy}/repositories/thirdparty/</url>
+        </repository>
+        <!-- Jboss mirror -->
+        <!-- https://repository.jboss.org/nexus/content/repositories/releases -->
+        <repository>
+            <id>jboss.releases</id>
+            <name>jboss.releases</name>
+            <url>${nexusproxy}/repositories/jboss.releases/</url>
+        </repository>
+        <!-- OpenDayLight Released artifact -->
+        <repository>
+            <id>opendaylight-release</id>
+            <name>opendaylight-release</name>
+            <url>${nexusproxy}/repositories/opendaylight.release/</url>
+        </repository>
+        <!-- OpenDayLight Snapshot artifact -->
+        <repository>
+            <id>opendaylight-snapshot</id>
+            <name>opendaylight-snapshot</name>
+            <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+        </repository>
+    </repositories>
+    <distributionManagement>
+        <!-- OpenDayLight Released artifact -->
+        <repository>
+            <id>opendaylight-release</id>
+            <url>${nexusproxy}/repositories/opendaylight.release/</url>
+        </repository>
+        <!-- OpenDayLight Snapshot artifact -->
+        <snapshotRepository>
+            <id>opendaylight-snapshot</id>
+            <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
+        </snapshotRepository>
+        <!-- Site deployment -->
+        <!-- site>
+            <id>website</id>
+            <url>${sitedeploy}</url>
+        </site -->
+    </distributionManagement>
 
 
-       <dependencyManagement>
-               <dependencies>
-                       <dependency>
-                               <groupId>junit</groupId>
-                               <artifactId>junit</artifactId>
-                               <version>4.10</version>
-                               <scope>test</scope>
-                               <optional>true</optional>
-                       </dependency>
-                       <dependency>
-                               <groupId>org.slf4j</groupId>
-                               <artifactId>slf4j-api</artifactId>
-                               <version>1.7.2</version>
-                       </dependency>
-               </dependencies>
-       </dependencyManagement>
-       <build>
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-compiler-plugin</artifactId>
-                               <version>${compiler.version}</version>
-                               <inherited>true</inherited>
-                               <configuration>
-                                       <source>1.7</source>
-                                       <target>1.7</target>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-javadoc-plugin</artifactId>
-                               <version>2.8.1</version>
-                               <configuration>
-                                       <stylesheet>maven</stylesheet>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <goals>
-                                                       <goal>aggregate</goal>
-                                               </goals>
-                                               <phase>site</phase>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
-       </build>
-       <reporting>
-               <plugins>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>findbugs-maven-plugin</artifactId>
-                               <version>2.4.0</version>
-                               <configuration>
-                                       <effort>Max</effort>
-                                       <threshold>Low</threshold>
-                                       <goal>site</goal>
-                               </configuration>
-                       </plugin>
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>jdepend-maven-plugin</artifactId>
-                               <version>2.0-beta-2</version>
-                       </plugin>
-               </plugins>
-       </reporting>
-       <profiles>
-               <profile>
-                       <id>viewbuild</id>
-                       <activation>
-                               <activeByDefault>true</activeByDefault>
-                       </activation>
-                       <properties>
-                               <build.suffix>${project.version}</build.suffix>
-                       </properties>
-               </profile>
-               <profile>
-                       <id>jenkins</id>
-                       <activation>
-                               <property>
-                                       <name>BUILDSUFFIX</name>
-                               </property>
-                       </activation>
-                       <properties>
-                               <build.suffix>${BUILDSUFFIX}</build.suffix>
-                       </properties>
-               </profile>
-       </profiles>
+    <dependencyManagement>
+        <dependencies>
+            <dependency>
+                <groupId>junit</groupId>
+                <artifactId>junit</artifactId>
+                <version>4.10</version>
+                <scope>test</scope>
+                <optional>true</optional>
+            </dependency>
+            <dependency>
+                <groupId>org.slf4j</groupId>
+                <artifactId>slf4j-api</artifactId>
+                <version>1.7.2</version>
+            </dependency>
+        </dependencies>
+    </dependencyManagement>
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>${compiler.version}</version>
+                <inherited>true</inherited>
+                <configuration>
+                    <source>1.7</source>
+                    <target>1.7</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.8.1</version>
+                <configuration>
+                    <stylesheet>maven</stylesheet>
+                </configuration>
+                <executions>
+                    <execution>
+                        <goals>
+                            <goal>aggregate</goal>
+                        </goals>
+                        <phase>site</phase>
+                    </execution> 
+                    <execution> 
+                          <id>attach-javadocs</id>
+                          <phase>deploy</phase>
+                          <goals><goal>jar</goal></goals> 
+                    </execution> 
+                </executions> 
+            </plugin>
+            <plugin>
+            <artifactId>maven-source-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>deploy</phase>
+                        <goals><goal>jar-no-fork</goal></goals> 
+                    </execution>
+                 </executions>
+            </plugin>
+            <plugin> 
+                <!-- explicitly define maven-deploy-plugin after other to force exec order -->
+                <artifactId>maven-deploy-plugin</artifactId> 
+                <executions> 
+                    <execution> 
+                        <id>deploy</id>
+                        <phase>deploy</phase>
+                        <goals><goal>deploy</goal></goals> 
+                    </execution> 
+                </executions> 
+            </plugin> 
+        </plugins>
+    </build>
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>findbugs-maven-plugin</artifactId>
+                <version>2.4.0</version>
+                <configuration>
+                    <effort>Max</effort>
+                    <threshold>Low</threshold>
+                    <goal>site</goal>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>jdepend-maven-plugin</artifactId>
+                <version>2.0-beta-2</version>
+            </plugin>
+        </plugins>
+    </reporting>
+    <profiles>
+        <profile>
+            <id>viewbuild</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <properties>
+                <build.suffix>${project.version}</build.suffix>
+            </properties>
+        </profile>
+        <profile>
+            <id>jenkins</id>
+            <activation>
+                <property>
+                    <name>BUILDSUFFIX</name>
+                </property>
+            </activation>
+            <properties>
+                <build.suffix>${BUILDSUFFIX}</build.suffix>
+            </properties>
+        </profile>
+    </profiles>
 </project>
index 19d3599..e79e700 100644 (file)
@@ -6,14 +6,13 @@
                <artifactId>yang-prototype</artifactId>
                <version>0.5-SNAPSHOT</version>
        </parent>
-
+       <version>0.5.1-SNAPSHOT</version>
        <artifactId>yang</artifactId>
        <packaging>pom</packaging>
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <!-- Version of all child artifacts -->
-        <release.version>0.5-SNAPSHOT</release.version>
     </properties>
 
        <modules>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-common</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-data-api</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-data-util</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-model-api</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-model-util</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-binding</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-model-parser-api</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-model-parser-impl
                 </artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
             <dependency>
                 <groupId>org.opendaylight.controller</groupId>
                 <artifactId>yang-maven-plugin-spi</artifactId>
-                <version>${release.version}</version>
+                <version>${project.version}</version>
             </dependency>
         </dependencies>
     </dependencyManagement>
index 0836f74..f7df24f 100644 (file)
@@ -3,8 +3,7 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-binding</artifactId>\r
-  <version>${release.version}</version>\r
 </project>
\ No newline at end of file
index fc3e21b..987b9b1 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-common</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.slf4j</groupId>\r
index 2677e66..749c9c6 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-data-api</artifactId>\r
-  <version>${release.version}</version>\r
   \r
   <dependencies>\r
        <dependency>\r
index 44c0ffb..15b391f 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-data-util</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
        <dependency>\r
                <groupId>org.opendaylight.controller</groupId>\r
index 1798d5e..3eabd7f 100644 (file)
@@ -3,10 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-model-api</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
        <dependency>\r
                <groupId>org.opendaylight.controller</groupId>\r
index ec4a9fa..3390837 100644 (file)
@@ -3,11 +3,9 @@
   <parent>\r
     <groupId>org.opendaylight.controller</groupId>\r
     <artifactId>yang</artifactId>\r
-    <version>0.5-SNAPSHOT</version>\r
-    <relativePath>../../yang/pom.xml</relativePath>\r
+    <version>0.5.1-SNAPSHOT</version>\r
   </parent>\r
   <artifactId>yang-model-util</artifactId>\r
-  <version>${release.version}</version>\r
   <dependencies>\r
       <dependency>\r
           <groupId>org.opendaylight.controller</groupId>\r