BUG-1680: default table-miss-entry feature 04/11804/2
authorMichal Rehak <mirehak@cisco.com>
Tue, 7 Oct 2014 14:53:44 +0000 (16:53 +0200)
committermichal rehak <mirehak@cisco.com>
Mon, 13 Oct 2014 11:15:03 +0000 (11:15 +0000)
- added table-miss-entry-enforcer to features in order to have
  it accessible in karaf

Change-Id: I5d58aad04d991d0a110cef0cd9b436ba9933d9d8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
applications/table-miss-enforcer/pom.xml
features/pom.xml
features/src/main/resources/features.xml

index dad06bdbae7cf96d0055f347a61eceff0a566b7e..b7e90cb94001cc301ede992326d541839840a05a 100644 (file)
              <groupId>org.apache.felix</groupId>
              <artifactId>maven-bundle-plugin</artifactId>
          </plugin>
+         
+          <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>build-helper-maven-plugin</artifactId>
+          <executions>
+            <execution>
+              <id>attach-artifacts</id>
+              <goals>
+                <goal>attach-artifact</goal>
+              </goals>
+              <phase>package</phase>
+              <configuration>
+                <artifacts>
+                  <artifact>
+                    <file>${project.build.directory}/classes/initial/69-table-miss-enforcer.xml</file>
+                    <type>xml</type>
+                    <classifier>config</classifier>
+                  </artifact>
+                </artifacts>
+              </configuration>
+            </execution>
+          </executions>
+        </plugin>
      </plugins>
     </build>
 </project>
index 179d94c27daf1ea37fa1432263bc2698c72ea2d9..309281c2ee3652ae22c8bd1e85390661993c7116 100644 (file)
       <artifactId>openflowplugin</artifactId>
       <version>${project.version}</version>
     </dependency>
+    <dependency>
+      <groupId>org.opendaylight.openflowplugin.applications</groupId>
+      <artifactId>table-miss-enforcer</artifactId>
+      <version>${project.version}</version>
+    </dependency>
     <dependency>
       <groupId>org.opendaylight.openflowplugin</groupId>
       <artifactId>drop-test-karaf</artifactId>
index 999d8a75dbc324e8a886920843c57997286b812c..9453cc7af0f32fd1df1a9141a0c990dfbfe6138f 100644 (file)
@@ -45,4 +45,9 @@
         <bundle>mvn:org.opendaylight.openflowplugin/test-common/${project.version}</bundle>
         <bundle>mvn:org.opendaylight.openflowplugin/drop-test-karaf/${project.version}</bundle>
     </feature>
+    <feature name='odl-openflowplugin-apps' description="OpenDaylight :: Openflow Plugin :: Applications" version='${project.version}'>
+        <feature version="${project.version}">odl-openflowplugin-flow-services</feature>
+        <bundle>mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version}</bundle>
+        <configfile finalname="etc/opendaylight/karaf/69-table-miss-enforcer.xml">mvn:org.opendaylight.openflowplugin.applications/table-miss-enforcer/${project.version}/xml/config</configfile>
+    </feature>
 </features>