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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.openflowplugin</groupId>
6 <artifactId>openflowplugin-extension-parent</artifactId>
7 <version>0.1.0-SNAPSHOT</version>
8 <relativePath>../</relativePath>
10 <artifactId>features-openflowplugin-extension</artifactId>
12 <packaging>jar</packaging>
15 <features.file>features.xml</features.file>
16 <karaf.empty.distro.version>1.5.0-SNAPSHOT</karaf.empty.distro.version>
20 <!-- feature dependencies -->
22 <groupId>org.opendaylight.openflowplugin</groupId>
23 <artifactId>features-openflowplugin</artifactId>
24 <classifier>features</classifier>
28 <!-- bundle dependencies -->
30 <groupId>org.opendaylight.openflowplugin</groupId>
31 <artifactId>openflowplugin-extension-api</artifactId>
34 <!-- Nicira extensions -->
36 <groupId>org.opendaylight.openflowplugin</groupId>
37 <artifactId>openflowplugin-extension-nicira-config</artifactId>
39 <classifier>config</classifier>
42 <groupId>org.opendaylight.openflowplugin</groupId>
43 <artifactId>openflowplugin-extension-nicira</artifactId>
46 <groupId>org.opendaylight.openflowplugin</groupId>
47 <artifactId>openflowjava-extension-nicira-api</artifactId>
50 <groupId>org.opendaylight.openflowplugin</groupId>
51 <artifactId>openflowjava-extension-nicira</artifactId>
54 <!-- test the features.xml -->
56 <groupId>org.opendaylight.odlparent</groupId>
57 <artifactId>features-test</artifactId>
59 <!-- dependency for opendaylight-karaf-empty for use by testing -->
61 <groupId>org.opendaylight.controller</groupId>
62 <artifactId>opendaylight-karaf-empty</artifactId>
63 <version>${karaf.distro.empty.version}</version>
71 <filtering>true</filtering>
72 <directory>src/main/resources</directory>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-resources-plugin</artifactId>
83 <goal>resources</goal>
85 <phase>generate-resources</phase>
90 <groupId>org.codehaus.mojo</groupId>
91 <artifactId>build-helper-maven-plugin</artifactId>
94 <id>attach-artifacts</id>
96 <goal>attach-artifact</goal>
98 <phase>package</phase>
102 <file>${project.build.directory}/classes/${features.file}</file>
104 <classifier>features</classifier>
112 <groupId>org.apache.maven.plugins</groupId>
113 <artifactId>maven-surefire-plugin</artifactId>
114 <version>2.16</version>
116 <systemPropertyVariables>
117 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
118 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
119 <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
120 </systemPropertyVariables>
122 <dependency>org.opendaylight.odlparent:features-test</dependency>
123 </dependenciesToScan>