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">
4 <artifactId>sliPluginUtils-features</artifactId>
5 <packaging>jar</packaging>
6 <modelVersion>4.0.0</modelVersion>
9 <artifactId>sliPluginUtils</artifactId>
10 <groupId>org.openecomp.sdnc.core</groupId>
11 <version>1.0.0</version>
14 <name>SliPluginUtils Plugin - Features</name>
18 <groupId>org.openecomp.sdnc.core</groupId>
19 <artifactId>sliPluginUtils-provider</artifactId>
20 <version>${project.version}</version>
23 <groupId>commons-lang</groupId>
24 <artifactId>commons-lang</artifactId>
25 <version>2.6</version>
26 <scope>compile</scope>
29 <groupId>org.opendaylight.mdsal</groupId>
30 <artifactId>features-mdsal</artifactId>
31 <version>${odl.mdsal.features.version}</version>
32 <classifier>features</classifier>
34 <scope>runtime</scope>
36 <!-- dependency for opendaylight-karaf-empty for use by testing -->
38 <groupId>org.opendaylight.controller</groupId>
39 <artifactId>opendaylight-karaf-empty</artifactId>
40 <version>${odl.karaf.empty.distro.version}</version>
44 <!-- Required for launching the feature tests -->
45 <groupId>org.opendaylight.odlparent</groupId>
46 <artifactId>features-test</artifactId>
47 <version>${odl.commons.opendaylight.version}</version>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>features-yangtools</artifactId>
53 <version>${odl.yangtools.version}</version>
54 <classifier>features</classifier>
56 <scope>runtime</scope>
63 <filtering>true</filtering>
64 <directory>src/main/resources</directory>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-resources-plugin</artifactId>
75 <goal>resources</goal>
77 <phase>generate-resources</phase>
82 <!-- launches the feature test, which validates that your karaf feature
83 can be installed inside of a karaf container. It doesn't validate that your
84 functionality works correctly, just that you have all of the dependent bundles
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-surefire-plugin</artifactId>
89 <version>2.16</version>
91 <systemPropertyVariables>
92 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
93 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
94 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
95 </systemPropertyVariables>
97 <dependency>org.opendaylight.yangtools:features-test</dependency>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>build-helper-maven-plugin</artifactId>
108 <id>attach-artifacts</id>
110 <goal>attach-artifact</goal>
112 <phase>package</phase>
116 <file>${project.build.directory}/classes/${features.file}</file>
118 <classifier>features</classifier>