Bug 1823 : Added karaf bundle for 43-openflowjava-nx-api-config.xml
[netvirt.git] / of-extension / openflowjava-nx-api-config / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5   <parent>
6     <artifactId>commons</artifactId>
7     <groupId>org.opendaylight.ovsdb</groupId>
8     <version>1.2.0-SNAPSHOT</version>
9     <relativePath>../../commons/parent</relativePath>
10   </parent>
11   <modelVersion>4.0.0</modelVersion>
12   <artifactId>of-extension.openflowjava-nx-api-config</artifactId>
13   <version>${ovsdb.ofextension.version}</version>
14   <packaging>jar</packaging>
15
16   <properties>
17     <configfile>43-openflowjava-nx-api-config.xml</configfile>
18   </properties>
19   <build>
20     <plugins>
21       <plugin>
22         <groupId>org.codehaus.mojo</groupId>
23         <artifactId>build-helper-maven-plugin</artifactId>
24         <executions>
25             <execution>
26                 <id>attach-artifacts</id>
27                 <goals>
28                     <goal>attach-artifact</goal>
29                 </goals>
30                 <phase>package</phase>
31                 <configuration>
32                     <artifacts>
33                         <artifact>
34                             <file>${project.build.directory}/classes/${configfile}</file>
35                             <type>xml</type>
36                             <classifier>config</classifier>
37                         </artifact>
38                     </artifacts>
39                 </configuration>
40             </execution>
41         </executions>
42       </plugin>
43     </plugins>
44   </build>
45 </project>