Merge "ONF Bundles sample application"
[openflowplugin.git] / openflowplugin-blueprint-config / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7       <groupId>org.opendaylight.openflowplugin</groupId>
8       <artifactId>openflowplugin-parent</artifactId>
9       <version>0.5.0-SNAPSHOT</version>
10       <relativePath>../parent</relativePath>
11     </parent>
12
13     <artifactId>openflowplugin-blueprint-config</artifactId>
14     <description>Blueprint configuration for the openflowplugin</description>
15     <packaging>bundle</packaging>
16
17     <build>
18       <plugins>
19         <plugin>
20           <groupId>org.apache.felix</groupId>
21           <artifactId>maven-bundle-plugin</artifactId>
22           <extensions>true</extensions>
23           <configuration>
24             <instructions>
25               <DynamicImport-Package>*</DynamicImport-Package>
26            </instructions>
27          </configuration>
28        </plugin>
29        <plugin>
30            <groupId>org.codehaus.mojo</groupId>
31            <artifactId>build-helper-maven-plugin</artifactId>
32            <executions>
33                <execution>
34                    <id>attach-artifacts</id>
35                    <goals>
36                        <goal>attach-artifact</goal>
37                    </goals>
38                    <phase>package</phase>
39                    <configuration>
40                        <artifacts>
41                            <artifact>
42                                <file>${project.build.directory}/classes/initial/openflowplugin.cfg</file>
43                                <type>cfg</type>
44                                <classifier>config</classifier>
45                            </artifact>
46                        </artifacts>
47                    </configuration>
48                </execution>
49            </executions>
50        </plugin>
51      </plugins>
52    </build>
53 </project>