blob: c90cfc260b0c7505c0ac81ffe27c3ac8e918fa1c [file] [log] [blame]
Dan Timoney2a93b9d2017-07-18 19:40:01 -04001<?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
4 <artifactId>sliPluginUtils-features</artifactId>
5 <packaging>jar</packaging>
6 <modelVersion>4.0.0</modelVersion>
7
8 <parent>
9 <artifactId>sliPluginUtils</artifactId>
Dan Timoneyc95543b2017-07-21 10:45:06 -040010 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040011 <version>0.0.1-SNAPSHOT</version>
12 </parent>
13
14 <name>SliPluginUtils Plugin - Features</name>
15
16 <dependencies>
17 <dependency>
Dan Timoneyc95543b2017-07-21 10:45:06 -040018 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoney2a93b9d2017-07-18 19:40:01 -040019 <artifactId>sliPluginUtils-provider</artifactId>
20 <version>${project.version}</version>
21 </dependency>
22 <dependency>
23 <groupId>commons-lang</groupId>
24 <artifactId>commons-lang</artifactId>
25 <version>2.6</version>
26 <scope>compile</scope>
27 </dependency>
28 <dependency>
29 <groupId>org.opendaylight.mdsal</groupId>
30 <artifactId>features-mdsal</artifactId>
31 <version>${odl.mdsal.features.version}</version>
32 <classifier>features</classifier>
33 <type>xml</type>
34 <scope>runtime</scope>
35 </dependency>
36 <!-- dependency for opendaylight-karaf-empty for use by testing -->
37 <dependency>
38 <groupId>org.opendaylight.odlparent</groupId>
39 <artifactId>opendaylight-karaf-empty</artifactId>
40 <version>${odl.karaf.empty.distro.version}</version>
41 <type>zip</type>
42 </dependency>
43 <dependency>
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>
48 <scope>test</scope>
49 </dependency>
50 <dependency>
51 <groupId>org.opendaylight.yangtools</groupId>
52 <artifactId>features-yangtools</artifactId>
53 <version>${odl.yangtools.version}</version>
54 <classifier>features</classifier>
55 <type>xml</type>
56 <scope>runtime</scope>
57 </dependency>
58 </dependencies>
59
60 <build>
61 <resources>
62 <resource>
63 <filtering>true</filtering>
64 <directory>src/main/resources</directory>
65 </resource>
66 </resources>
67 <plugins>
68 <plugin>
69 <groupId>org.apache.maven.plugins</groupId>
70 <artifactId>maven-resources-plugin</artifactId>
71 <executions>
72 <execution>
73 <id>filter</id>
74 <goals>
75 <goal>resources</goal>
76 </goals>
77 <phase>generate-resources</phase>
78 </execution>
79 </executions>
80 </plugin>
81
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
85 defined correctly.
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-surefire-plugin</artifactId>
89 <version>2.16</version>
90 <configuration>
91 <systemPropertyVariables>
92 <karaf.distro.groupId>org.opendaylight.odlparent</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>
96 <dependenciesToScan>
97 <dependency>org.opendaylight.yangtools:features-test</dependency>
98 </dependenciesToScan>
99 </configuration>
100 </plugin>
101 -->
102
103 <plugin>
104 <groupId>org.codehaus.mojo</groupId>
105 <artifactId>build-helper-maven-plugin</artifactId>
106 <executions>
107 <execution>
108 <id>attach-artifacts</id>
109 <goals>
110 <goal>attach-artifact</goal>
111 </goals>
112 <phase>package</phase>
113 <configuration>
114 <artifacts>
115 <artifact>
116 <file>${project.build.directory}/classes/${features.file}</file>
117 <type>xml</type>
118 <classifier>features</classifier>
119 </artifact>
120 </artifacts>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 </plugins>
126 </build>
127</project>