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.2.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>
20 <groupId>org.onap.sdnc.northbound</groupId>
21 <artifactId>vnfapi-provider</artifactId>
22 <classifier>config</classifier>
26 <groupId>org.onap.sdnc.northbound</groupId>
27 <artifactId>vnfapi-provider</artifactId>
28 <version>${project.version}</version>
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>
43 <!-- dependency for opendaylight-karaf-empty for use by testing -->
45 <groupId>org.opendaylight.controller</groupId>
46 <artifactId>opendaylight-karaf-empty</artifactId>
47 <version>${odl.karaf.empty.distro.version}</version>
53 <!-- Required for launching the feature tests-->
54 <groupId>org.opendaylight.odlparent</groupId>
55 <artifactId>features-test</artifactId>
57 <version>${odl.commons.opendaylight.version}</version>
61 <groupId>org.opendaylight.yangtools</groupId>
62 <artifactId>features-yangtools</artifactId>
63 <version>${odl.yangtools.version}</version>
64 <classifier>features</classifier>
66 <scope>runtime</scope>
73 <filtering>true</filtering>
74 <directory>src/main/resources</directory>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-resources-plugin</artifactId>
85 <goal>resources</goal>
87 <phase>generate-resources</phase>
93 launches the feature test, which validates that your karaf feature can
94 be installed inside of a karaf container. It doesn't validate that your
95 functionality works correctly, just that you have all of the dependent
96 bundles defined correctly.
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-surefire-plugin</artifactId>
99 <version>2.16</version>
101 <systemPropertyVariables>
102 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
103 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
104 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
105 </systemPropertyVariables>
107 <dependency>org.opendaylight.yangtools:features-test</dependency>
108 </dependenciesToScan>
113 <groupId>org.codehaus.mojo</groupId>
114 <artifactId>build-helper-maven-plugin</artifactId>
117 <id>attach-artifacts</id>
119 <goal>attach-artifact</goal>
121 <phase>package</phase>
125 <file>${project.build.directory}/classes/${features.file}</file>
127 <classifier>features</classifier>