Statistics loadable / installable in Karaf
[openflowjava.git] / openflowjava-config / pom.xml
diff --git a/openflowjava-config/pom.xml b/openflowjava-config/pom.xml
new file mode 100644 (file)
index 0000000..6064765
--- /dev/null
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved. \r
+    This program and the accompanying materials are made available under the \r
+    terms of the Eclipse Public License v1.0 which accompanies this distribution, \r
+    and is available at http://www.eclipse.org/legal/epl-v10.html -->
+<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">\r
+\r
+    <modelVersion>4.0.0</modelVersion>\r
+\r
+    <parent>\r
+        <groupId>org.opendaylight.openflowjava</groupId>\r
+        <artifactId>openflow-protocol-parent</artifactId>\r
+        <version>0.6.0-SNAPSHOT</version>\r
+    </parent>\r
+    <artifactId>openflowjava-config</artifactId>\r
+    <description>Configuration files for openflowjava statistics</description>\r
+    <packaging>jar</packaging>\r
+    <name>Openflow Protocol Library - CONFIG</name>\r
+    <scm>\r
+        <url>https://wiki.opendaylight.org/view/Openflow_Protocol_Library:Main</url>\r
+        <tag>HEAD</tag>\r
+    </scm>\r
+    <properties>\r
+        <configfile>45-openflowjava-stats.xml</configfile>\r
+    </properties>\r
+    <build>\r
+        <plugins>\r
+            <plugin>\r
+                <groupId>org.codehaus.mojo</groupId>\r
+                <artifactId>build-helper-maven-plugin</artifactId>\r
+                <executions>\r
+                    <execution>\r
+                        <id>attach-artifacts</id>\r
+                        <goals>\r
+                            <goal>attach-artifact</goal>\r
+                        </goals>\r
+                        <phase>package</phase>\r
+                        <configuration>\r
+                            <artifacts>\r
+                                <artifact>\r
+                                    <file>${project.build.directory}/classes/${configfile}</file>\r
+                                    <type>xml</type>\r
+                                    <classifier>configstats</classifier>\r
+                                </artifact>\r
+                            </artifacts>\r
+                        </configuration>\r
+                    </execution>\r
+                </executions>\r
+            </plugin>\r
+        </plugins>\r
+    </build>\r
+</project>\r