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>sliapi</artifactId>
6 <groupId>org.openecomp.sdnc.core</groupId>
7 <version>1.1.1-SNAPSHOT</version>
9 <artifactId>sliapi-features</artifactId>
11 <packaging>jar</packaging>
15 <groupId>org.openecomp.sdnc.core</groupId>
16 <artifactId>sliapi-model</artifactId>
19 <groupId>org.openecomp.sdnc.core</groupId>
20 <artifactId>sliapi-provider</artifactId>
21 <classifier>config</classifier>
25 <groupId>org.openecomp.sdnc.core</groupId>
26 <artifactId>sliapi-provider</artifactId>
30 <groupId>org.opendaylight.mdsal</groupId>
31 <artifactId>features-mdsal</artifactId>
32 <version>${odl.mdsal.features.version}</version>
33 <classifier>features</classifier>
36 <scope>runtime</scope>
41 <!-- dependency for opendaylight-karaf-empty for use by testing -->
43 <groupId>org.opendaylight.controller</groupId>
44 <artifactId>opendaylight-karaf-empty</artifactId>
50 <!-- Required for launching the feature tests-->
51 <groupId>org.opendaylight.odlparent</groupId>
52 <artifactId>features-test</artifactId>
54 <version>${odl.commons.opendaylight.version}</version>
58 <groupId>org.opendaylight.yangtools</groupId>
59 <artifactId>features-yangtools</artifactId>
60 <version>${odl.yangtools.version}</version>
61 <classifier>features</classifier>
63 <scope>runtime</scope>
70 <filtering>true</filtering>
71 <directory>src/main/resources</directory>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-resources-plugin</artifactId>
82 <goal>resources</goal>
84 <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.
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-surefire-plugin</artifactId>
96 <version>2.16</version>
98 <systemPropertyVariables>
99 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
100 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
101 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
102 </systemPropertyVariables>
104 <dependency>org.opendaylight.yangtools:features-test</dependency>
105 </dependenciesToScan>
110 <groupId>org.codehaus.mojo</groupId>
111 <artifactId>build-helper-maven-plugin</artifactId>
114 <id>attach-artifacts</id>
116 <goal>attach-artifact</goal>
118 <phase>package</phase>
122 <file>${project.build.directory}/classes/${features.file}</file>
124 <classifier>features</classifier>