Re-added config.version to config-module-archetype. 45/8245/1
authorTomas Olvecky <tolvecky@cisco.com>
Mon, 23 Jun 2014 12:34:12 +0000 (14:34 +0200)
committerTomas Olvecky <tolvecky@cisco.com>
Mon, 23 Jun 2014 12:34:12 +0000 (14:34 +0200)
Fix broken archetype that failed to generate valid poms.
Since the archetype's generated pom can live in hierarchy
different from ODL, the template must specify version
of config-api same as it does for plugins.

Change-Id: I88bb7db303395c82f389af90c668efe563cb3bdb
Signed-off-by: Tomas Olvecky <tolvecky@cisco.com>
opendaylight/config/config-module-archetype/src/main/resources/archetype-resources/pom.xml
opendaylight/config/config-module-archetype/src/main/resources/archetype-resources/src/main/yang/__module-name__-impl.yang
opendaylight/config/config-module-archetype/src/main/resources/archetype-resources/src/main/yang/__module-name__.yang
opendaylight/config/pom.xml

index 6ddb1306c559633193b2d6e897ad09d9499ee7f1..ae041f45852fd484e2f3a51cf80059211bc36294 100644 (file)
@@ -20,6 +20,7 @@
         <dependency>
             <groupId>org.opendaylight.controller</groupId>
             <artifactId>config-api</artifactId>
+            <version>${config.version}</version>
         </dependency>
     </dependencies>
 
index 5f34a9aa82d0ab35780b04862882710b7ae47fe8..4660091fcc217c53dc8a8279dc37cd002de5ba79 100644 (file)
@@ -1,5 +1,4 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- 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">
   <modelVersion>4.0.0</modelVersion>
 
       </modules>
     </profile>
   </profiles>
-</project>
+</project>
\ No newline at end of file