blob: 774d9e5294c58fce94c5de7b306bb415fb96a4ec [file] [log] [blame]
Dan Timoneyea5bf0a2017-07-18 20:32:15 -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 <modelVersion>4.0.0</modelVersion>
4 <parent>
5 <artifactId>asdcApi</artifactId>
6 <groupId>org.onap.ccsdk.sli.northbound</groupId>
7 <version>0.0.1-SNAPSHOT</version>
8 </parent>
9 <artifactId>asdcApi-features</artifactId>
10
11 <packaging>jar</packaging>
12
13 <dependencies>
14 <dependency>
15 <groupId>org.onap.ccsdk.sli.northbound</groupId>
16 <artifactId>asdcApi-model</artifactId>
17 <version>${project.version}</version>
18 </dependency>
19 <dependency>
20 <groupId>org.onap.ccsdk.sli.northbound</groupId>
21 <artifactId>asdcApi-provider</artifactId>
22 <version>${project.version}</version>
23 <classifier>config</classifier>
24 <type>xml</type>
25 </dependency>
26 <dependency>
27 <groupId>org.onap.ccsdk.sli.northbound</groupId>
28 <artifactId>asdcApi-provider</artifactId>
29 <version>${project.version}</version>
30 </dependency>
31
32 <dependency>
33 <groupId>org.opendaylight.mdsal</groupId>
34 <artifactId>features-mdsal</artifactId>
35 <version>${odl.mdsal.features.version}</version>
36 <classifier>features</classifier>
37 <type>xml</type>
38
39
40 <scope>runtime</scope>
41 </dependency>
42
43
44
45 <!-- dependency for opendaylight-karaf-empty for use by testing -->
46 <dependency>
47 <groupId>org.opendaylight.controller</groupId>
48 <artifactId>opendaylight-karaf-empty</artifactId>
49 <version>${odl.karaf.empty.distro.version}</version>
50 <type>zip</type>
51 </dependency>
52
53
54 <dependency>
55 <!-- Required for launching the feature tests-->
56 <groupId>org.opendaylight.odlparent</groupId>
57 <artifactId>features-test</artifactId>
58 <scope>test</scope>
59 <version>${odl.commons.opendaylight.version}</version>
60 </dependency>
61
62 <dependency>
63 <groupId>org.opendaylight.yangtools</groupId>
64 <artifactId>features-yangtools</artifactId>
65 <version>${odl.yangtools.version}</version>
66 <classifier>features</classifier>
67 <type>xml</type>
68 <scope>runtime</scope>
69 </dependency>
70 </dependencies>
71
72 <build>
73 <resources>
74 <resource>
75 <filtering>true</filtering>
76 <directory>src/main/resources</directory>
77 </resource>
78 </resources>
79 <plugins>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-resources-plugin</artifactId>
83 <executions>
84 <execution>
85 <id>filter</id>
86 <goals>
87 <goal>resources</goal>
88 </goals>
89 <phase>generate-resources</phase>
90 </execution>
91 </executions>
92 </plugin>
93 <!-- launches the feature test, which validates that your karaf feature can
94 be installed inside of a karaf container. It doesn't validate that your
95 functionality works correctly, just that you have all of the dependent
96 bundles defined correctly.
97 <plugin>
98
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-surefire-plugin</artifactId>
101 <version>2.16</version>
102 <configuration>
103 <systemPropertyVariables>
104 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
105 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
106 <karaf.distro.version>${odl.karaf.empty.distro.version}</karaf.distro.version>
107 </systemPropertyVariables>
108 <dependenciesToScan>
109 <dependency>org.opendaylight.yangtools:features-test</dependency>
110 </dependenciesToScan>
111 </configuration>
112 </plugin>
113 -->
114 <plugin>
115 <groupId>org.codehaus.mojo</groupId>
116 <artifactId>build-helper-maven-plugin</artifactId>
117 <executions>
118 <execution>
119 <id>attach-artifacts</id>
120 <goals>
121 <goal>attach-artifact</goal>
122 </goals>
123 <phase>package</phase>
124 <configuration>
125 <artifacts>
126 <artifact>
127 <file>${project.build.directory}/classes/${features.file}</file>
128 <type>xml</type>
129 <classifier>features</classifier>
130 </artifact>
131 </artifacts>
132 </configuration>
133 </execution>
134 </executions>
135 </plugin>
136 </plugins>
137 </build>
138</project>