Small fixes to feature files. 80/10080/5
authorEd Warnicke <eaw@cisco.com>
Tue, 19 Aug 2014 23:43:54 +0000 (18:43 -0500)
committerEd Warnicke <eaw@cisco.com>
Thu, 21 Aug 2014 00:38:32 +0000 (19:38 -0500)
As it turns out... the default artifact type
for config files is jar from commons/opendaylight/pom.xml

This is not corrected there because jar *is* the thing that
is used by the legacy distributions...

But if we don't correct it here, if you try to test a feature
against an empty .m2... the test will fail.

(Yes, this is how I spend my evenings, emtpying out my .m2
directory :( )

Change-Id: Icd24a7a2437f999da3f0c10618fead203b726c62
Signed-off-by: Ed Warnicke <eaw@cisco.com>
features/config-netty/pom.xml
features/config/pom.xml
features/mdsal/pom.xml

index 5fbc463df32f798c757a293da391fc0bc77f76bb..bf036979cfa1a8394517a710b0af1c9212d34995 100644 (file)
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>config-netty-config</artifactId>
+      <!--
+        note, the reason the type and classifier
+        are here instead of in opendaylight/commons/opendaylight/pom.xml
+        is because they are used as jars in distribution.
+      -->
+      <version>${config.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
     </dependency>
     <!-- test to validate features.xml -->
     <dependency>
index 8c061c27361946cd3bfc62edde9252d2dd069b9b..20feceb3601bff99936858b994ea073e60576609 100644 (file)
   </properties>
 
   <dependencies>
+    <!-- dependency for opendaylight-karaf-empty for use by testing -->
+    <dependency>
+      <groupId>org.opendaylight.controller</groupId>
+      <artifactId>opendaylight-karaf-empty</artifactId>
+      <version>1.4.2-SNAPSHOT</version>
+      <type>zip</type>
+    </dependency>
     <dependency>
       <groupId>org.opendaylight.yangtools</groupId>
       <artifactId>features-yangtools</artifactId>
index e7b825c48b1173b783291e3e2a1797c4cea64ebc..ac6b82b26fb355036ba92f4b2f26bc49df21e0c9 100644 (file)
@@ -83,6 +83,9 @@
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>md-sal-config</artifactId>
+      <version>${mdsal.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>netconf-connector-config</artifactId>
+      <version>${netconf.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
     <dependency>
       <groupId>org.opendaylight.controller</groupId>
       <artifactId>sal-rest-connector-config</artifactId>
+      <version>${mdsal.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
     </dependency>
     <dependency>
       <groupId>org.opendaylight.controller.samples</groupId>
     <dependency>
       <groupId>org.opendaylight.controller.samples</groupId>
       <artifactId>toaster-config</artifactId>
+      <version>${mdsal.version}</version>
+      <type>xml</type>
+      <classifier>config</classifier>
     </dependency>
     <!-- test to validate features.xml -->
     <dependency>