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 <artifactId>fabric-discovery-plugin</artifactId>
6 <groupId>org.onap.ccsdk.sli.plugins</groupId>
7 <version>0.1.0-SNAPSHOT</version>
9 <groupId>org.onap.ccsdk.sli.plugins</groupId>
10 <version>0.1.0-SNAPSHOT</version>
11 <artifactId>fabric-discovery-plugin-features</artifactId>
12 <name>Fabric Discovery Plugin - Features</name>
14 <packaging>jar</packaging>
19 <groupId>org.onap.ccsdk.sli.plugins</groupId>
20 <artifactId>fabric-discovery-plugin-provider</artifactId>
21 <version>${project.version}</version>
25 <groupId>commons-lang</groupId>
26 <artifactId>commons-lang</artifactId>
27 <version>2.6</version>
28 <scope>compile</scope>
32 <groupId>org.opendaylight.mdsal</groupId>
33 <artifactId>features-mdsal</artifactId>
34 <version>${odl.mdsal.features.version}</version>
35 <classifier>features</classifier>
38 <scope>runtime</scope>
42 <!-- dependency for opendaylight-karaf-empty for use by testing -->
44 <groupId>org.opendaylight.controller</groupId>
45 <artifactId>opendaylight-karaf-empty</artifactId>
46 <version>${odl.karaf.empty.distro.version}</version>
52 <!-- Required for launching the feature tests -->
53 <groupId>org.opendaylight.odlparent</groupId>
54 <artifactId>features-test</artifactId>
55 <version>${odl.commons.opendaylight.version}</version>
60 <groupId>org.opendaylight.yangtools</groupId>
61 <artifactId>features-yangtools</artifactId>
62 <version>${odl.yangtools.version}</version>
63 <classifier>features</classifier>
65 <scope>runtime</scope>
72 <filtering>true</filtering>
73 <directory>src/main/resources</directory>
78 <groupId>org.apache.maven.plugins</groupId>
79 <artifactId>maven-resources-plugin</artifactId>
84 <goal>resources</goal>
86 <phase>generate-resources</phase>
90 <!-- launches the feature test, which validates that your karaf feature
91 can be installed inside of a karaf container. It doesn't validate that your
92 functionality works correctly, just that you have all of the dependent bundles
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-surefire-plugin</artifactId>
98 <version>2.16</version>
100 <systemPropertyVariables>
101 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
102 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
103 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
104 </systemPropertyVariables>
106 <dependency>org.opendaylight.yangtools:features-test</dependency>
107 </dependenciesToScan>
112 <groupId>org.codehaus.mojo</groupId>
113 <artifactId>build-helper-maven-plugin</artifactId>
116 <id>attach-artifacts</id>
118 <goal>attach-artifact</goal>
120 <phase>package</phase>
124 <file>${project.build.directory}/classes/${features.file}</file>
126 <classifier>features</classifier>