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.onap.ccsdk.sli.core</groupId>
7 <version>0.2.0-SNAPSHOT</version>
9 <artifactId>sliapi-features</artifactId>
11 <packaging>jar</packaging>
15 <groupId>org.onap.ccsdk.sli.core</groupId>
16 <artifactId>sliapi-model</artifactId>
19 <groupId>org.onap.ccsdk.sli.core</groupId>
20 <artifactId>sliapi-provider</artifactId>
21 <classifier>config</classifier>
25 <groupId>org.onap.ccsdk.sli.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.odlparent</groupId>
44 <artifactId>opendaylight-karaf-empty</artifactId>
45 <version>${odl.karaf.empty.distro.version}</version>
51 <!-- Required for launching the feature tests-->
52 <groupId>org.opendaylight.odlparent</groupId>
53 <artifactId>features-test</artifactId>
55 <version>${odl.commons.opendaylight.version}</version>
59 <groupId>org.opendaylight.yangtools</groupId>
60 <artifactId>features-yangtools</artifactId>
61 <version>${odl.yangtools.version}</version>
62 <classifier>features</classifier>
64 <scope>runtime</scope>
71 <filtering>true</filtering>
72 <directory>src/main/resources</directory>
77 <groupId>org.apache.maven.plugins</groupId>
78 <artifactId>maven-resources-plugin</artifactId>
83 <goal>resources</goal>
85 <phase>generate-resources</phase>
89 <!-- launches the feature test, which validates that your karaf feature can
90 be installed inside of a karaf container. It doesn't validate that your
91 functionality works correctly, just that you have all of the dependent
92 bundles defined correctly.
95 <groupId>org.apache.maven.plugins</groupId>
96 <artifactId>maven-surefire-plugin</artifactId>
97 <version>2.16</version>
99 <systemPropertyVariables>
100 <karaf.distro.groupId>org.opendaylight.odlparent</karaf.distro.groupId>
101 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
102 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
103 </systemPropertyVariables>
105 <dependency>org.opendaylight.yangtools:features-test</dependency>
106 </dependenciesToScan>
111 <groupId>org.codehaus.mojo</groupId>
112 <artifactId>build-helper-maven-plugin</artifactId>
115 <id>attach-artifacts</id>
117 <goal>attach-artifact</goal>
119 <phase>package</phase>
123 <file>${project.build.directory}/classes/${features.file}</file>
125 <classifier>features</classifier>