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>vnfapi</artifactId>
6 <groupId>org.onap.sdnc.northbound</groupId>
7 <version>1.3.0-SNAPSHOT</version>
9 <artifactId>vnfapi-features</artifactId>
11 <packaging>jar</packaging>
15 <groupId>org.onap.sdnc.northbound</groupId>
16 <artifactId>vnfapi-model</artifactId>
17 <version>${project.version}</version>
21 <groupId>org.onap.sdnc.northbound</groupId>
22 <artifactId>vnfapi-provider</artifactId>
23 <version>${project.version}</version>
27 <groupId>org.opendaylight.mdsal</groupId>
28 <artifactId>features-mdsal</artifactId>
29 <version>${odl.mdsal.features.version}</version>
30 <classifier>features</classifier>
33 <scope>runtime</scope>
38 <!-- dependency for opendaylight-karaf-empty for use by testing -->
40 <groupId>org.opendaylight.controller</groupId>
41 <artifactId>opendaylight-karaf-empty</artifactId>
42 <version>${odl.karaf.empty.distro.version}</version>
48 <!-- Required for launching the feature tests-->
49 <groupId>org.opendaylight.odlparent</groupId>
50 <artifactId>features-test</artifactId>
52 <version>${odl.commons.opendaylight.version}</version>
56 <groupId>org.opendaylight.yangtools</groupId>
57 <artifactId>features-yangtools</artifactId>
58 <version>${odl.yangtools.version}</version>
59 <classifier>features</classifier>
61 <scope>runtime</scope>
68 <filtering>true</filtering>
69 <directory>src/main/resources</directory>
74 <groupId>org.apache.maven.plugins</groupId>
75 <artifactId>maven-resources-plugin</artifactId>
80 <goal>resources</goal>
82 <phase>generate-resources</phase>
88 launches the feature test, which validates that your karaf feature can
89 be installed inside of a karaf container. It doesn't validate that your
90 functionality works correctly, just that you have all of the dependent
91 bundles defined correctly.
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-surefire-plugin</artifactId>
94 <version>2.16</version>
96 <systemPropertyVariables>
97 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
98 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
99 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
100 </systemPropertyVariables>
102 <dependency>org.opendaylight.yangtools:features-test</dependency>
103 </dependenciesToScan>
108 <groupId>org.codehaus.mojo</groupId>
109 <artifactId>build-helper-maven-plugin</artifactId>
112 <id>attach-artifacts</id>
114 <goal>attach-artifact</goal>
116 <phase>package</phase>
120 <file>${project.build.directory}/classes/${features.file}</file>
122 <classifier>features</classifier>