1 <?xml version="1.0" encoding="UTF-8"?>
3 <modelVersion>4.0.0</modelVersion>
5 <groupId>org.opendaylight.controller</groupId>
6 <artifactId>commons.opendaylight</artifactId>
7 <version>1.4.2-SNAPSHOT</version>
8 <relativePath>../../opendaylight/commons/opendaylight</relativePath>
10 <artifactId>features-nsf</artifactId>
11 <version>${nsf.version}</version>
12 <packaging>jar</packaging>
13 <name>OpenDaylight :: Features :: Network Service Functions</name>
14 <description>Feature for Network Service Functions</description>
16 <features.file>features.xml</features.file>
19 <!-- test to validate features.xml -->
21 <groupId>org.opendaylight.yangtools</groupId>
22 <artifactId>features-test</artifactId>
24 <!-- dependency for opendaylight-karaf-empty for use by testing -->
26 <groupId>org.opendaylight.controller</groupId>
27 <artifactId>opendaylight-karaf-empty</artifactId>
28 <version>1.4.2-SNAPSHOT</version>
35 <filtering>true</filtering>
36 <directory>src/main/resources</directory>
41 <groupId>org.apache.maven.plugins</groupId>
42 <artifactId>maven-resources-plugin</artifactId>
47 <goal>resources</goal>
49 <phase>generate-resources</phase>
54 <groupId>org.codehaus.mojo</groupId>
55 <artifactId>build-helper-maven-plugin</artifactId>
58 <id>attach-artifacts</id>
60 <goal>attach-artifact</goal>
62 <phase>package</phase>
66 <file>${project.build.directory}/classes/${features.file}</file>
68 <classifier>features</classifier>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-surefire-plugin</artifactId>
79 <systemPropertyVariables>
80 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
81 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
82 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
83 </systemPropertyVariables>
85 <dependency>org.opendaylight.yangtools:features-test</dependency>