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-adsal</artifactId>
11 <version>${sal.version}</version>
12 <packaging>jar</packaging>
13 <name>Features :: AD-SAL Features</name>
14 <description>AD-SAL Features POM</description>
16 <features.file>features.xml</features.file>
20 <groupId>org.opendaylight.controller</groupId>
21 <artifactId>features-base</artifactId>
22 <classifier>features</classifier>
25 <!-- test to validate features.xml -->
27 <groupId>org.opendaylight.yangtools</groupId>
28 <artifactId>features-test</artifactId>
30 <!-- dependency for opendaylight-karaf-empty for use by testing -->
32 <groupId>org.opendaylight.controller</groupId>
33 <artifactId>opendaylight-karaf-empty</artifactId>
34 <version>1.4.2-SNAPSHOT</version>
41 <filtering>true</filtering>
42 <directory>src/main/resources</directory>
47 <groupId>org.apache.maven.plugins</groupId>
48 <artifactId>maven-resources-plugin</artifactId>
53 <goal>resources</goal>
55 <phase>generate-resources</phase>
60 <groupId>org.codehaus.mojo</groupId>
61 <artifactId>build-helper-maven-plugin</artifactId>
64 <id>attach-artifacts</id>
66 <goal>attach-artifact</goal>
68 <phase>package</phase>
72 <file>${project.build.directory}/classes/${features.file}</file>
74 <classifier>features</classifier>
82 <groupId>org.apache.maven.plugins</groupId>
83 <artifactId>maven-surefire-plugin</artifactId>
85 <systemPropertyVariables>
86 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
87 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
88 <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
89 </systemPropertyVariables>
91 <dependency>org.opendaylight.yangtools:features-test</dependency>