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>
17 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
21 <!-- feature dependencies -->
23 <groupId>org.opendaylight.openflowplugin</groupId>
24 <artifactId>features-openflowplugin</artifactId>
25 <version>${project.version}</version>
26 <classifier>features</classifier>
30 <!-- bundle dependencies -->
32 <groupId>org.opendaylight.openflowplugin</groupId>
33 <artifactId>openflowplugin-extension-api</artifactId>
34 <version>${project.version}</version>
37 <!-- Nicira extensions -->
39 <groupId>org.opendaylight.openflowplugin</groupId>
40 <artifactId>openflowplugin-extension-nicira-config</artifactId>
41 <version>${project.version}</version>
43 <classifier>config</classifier>
46 <groupId>org.opendaylight.openflowplugin</groupId>
47 <artifactId>openflowplugin-extension-nicira</artifactId>
48 <version>${project.version}</version>
51 <groupId>org.opendaylight.openflowplugin</groupId>
52 <artifactId>openflowjava-extension-nicira-api</artifactId>
53 <version>${project.version}</version>
56 <groupId>org.opendaylight.openflowplugin</groupId>
57 <artifactId>openflowjava-extension-nicira</artifactId>
58 <version>${project.version}</version>
61 <!-- test the features.xml -->
63 <groupId>org.opendaylight.yangtools</groupId>
64 <artifactId>features-test</artifactId>
65 <version>${yangtools.version}</version>
67 <!-- dependency for opendaylight-karaf-empty for use by testing -->
69 <groupId>org.opendaylight.controller</groupId>
70 <artifactId>opendaylight-karaf-empty</artifactId>
71 <version>${karaf.distro.empty.version}</version>
79 <filtering>true</filtering>
80 <directory>src/main/resources</directory>
85 <groupId>org.apache.maven.plugins</groupId>
86 <artifactId>maven-resources-plugin</artifactId>
91 <goal>resources</goal>
93 <phase>generate-resources</phase>
98 <groupId>org.codehaus.mojo</groupId>
99 <artifactId>build-helper-maven-plugin</artifactId>
102 <id>attach-artifacts</id>
104 <goal>attach-artifact</goal>
106 <phase>package</phase>
110 <file>${project.build.directory}/classes/${features.file}</file>
112 <classifier>features</classifier>
120 <groupId>org.apache.maven.plugins</groupId>
121 <artifactId>maven-surefire-plugin</artifactId>
122 <version>2.16</version>
124 <systemPropertyVariables>
125 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
126 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
127 <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
128 </systemPropertyVariables>
130 <dependency>org.opendaylight.yangtools:features-test</dependency>
131 </dependenciesToScan>