Copy initial configuration file in Karaf 4 55/58955/5
authorTomas Slusny <tomas.slusny@pantheon.tech>
Wed, 14 Jun 2017 14:13:04 +0000 (16:13 +0200)
committerTomas Slusny <tomas.slusny@pantheon.tech>
Thu, 15 Jun 2017 08:17:53 +0000 (10:17 +0200)
Fix copying of initial configuration file in Karaf 4. Problem was
that karaf .xml file that was supposed to handle this was incorrectly
located at `src/main/features/features.xml` but was supposed to be at
`src/main/feature/feature.xml` to work properly in Karaf 4.

Resolves: bug 8692

Change-Id: I9923a2b2598e05e95bb68a01cde5a8894679e534
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.tech>
features/odl-openflowjava-protocol/pom.xml
features/odl-openflowjava-protocol/src/main/feature/feature.xml [moved from features/odl-openflowjava-protocol/src/main/features/features.xml with 100% similarity]

index 371d8552c518821c24d24aba2f961d22c4958e59..5779f1c9e3a8c3442cfcf7e1414ac2626cf0119f 100644 (file)
             <groupId>org.opendaylight.openflowjava</groupId>
             <artifactId>openflow-protocol-impl</artifactId>
         </dependency>
+        <dependency>
+            <groupId>org.opendaylight.openflowjava</groupId>
+            <artifactId>openflowjava-util</artifactId>
+        </dependency>
+        <!-- config files -->
+        <dependency>
+            <groupId>org.opendaylight.openflowjava</groupId>
+            <artifactId>openflowjava-config</artifactId>
+            <type>xml</type>
+            <classifier>configstats</classifier>
+        </dependency>
         <dependency>
             <groupId>org.opendaylight.openflowjava</groupId>
             <artifactId>openflowjava-blueprint-config</artifactId>
         </dependency>
         <dependency>
             <groupId>org.opendaylight.openflowjava</groupId>
-            <artifactId>openflowjava-util</artifactId>
+            <artifactId>openflowjava-blueprint-config</artifactId>
+            <type>xml</type>
+            <classifier>legacyConfig</classifier>
         </dependency>
     </dependencies>