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.openecomp.sdnc.northbound</groupId>
7 <version>1.0.0-SNAPSHOT</version>
9 <artifactId>vnfapi-features</artifactId>
11 <packaging>jar</packaging>
15 <groupId>org.openecomp.sdnc.northbound</groupId>
16 <artifactId>vnfapi-model</artifactId>
17 <version>${project.version}</version>
20 <groupId>org.openecomp.sdnc.northbound</groupId>
21 <artifactId>vnfapi-provider</artifactId>
22 <classifier>config</classifier>
26 <groupId>org.openecomp.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>
52 <!-- Required for launching the feature tests-->
53 <groupId>org.opendaylight.odlparent</groupId>
54 <artifactId>features-test</artifactId>
56 <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>
92 launches the feature test, which validates that your karaf feature can
93 be installed inside of a karaf container. It doesn't validate that your
94 functionality works correctly, just that you have all of the dependent
95 bundles defined correctly.
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>