Migration to use MD-SAL Project
[openflowplugin.git] / features-li / pom.xml
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"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.openflowplugin</groupId>
7         <artifactId>openflowplugin-parent</artifactId>
8         <version>0.2.0-SNAPSHOT</version>
9         <relativePath>../parent</relativePath>
10     </parent>
11     <artifactId>features-openflowplugin-li</artifactId>
12
13     <packaging>jar</packaging>
14
15     <properties>
16         <karaf.empty.distro.version>1.6.0-SNAPSHOT</karaf.empty.distro.version>
17         <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
18         <config.statistics.manager.configfile>30-statistics-manager.xml</config.statistics.manager.configfile>
19         <controller.model.version>1.3.0-SNAPSHOT</controller.model.version>
20         <restconf.version>1.3.0-SNAPSHOT</restconf.version>
21         <mdsal.model.version>0.8.0-SNAPSHOT</mdsal.model.version>
22     </properties>
23
24     <dependencies>
25         <!-- feature dependencies -->
26         <dependency>
27             <groupId>org.opendaylight.mdsal.model</groupId>
28             <artifactId>features-mdsal-model</artifactId>
29             <version>${mdsal.model.version}</version>
30             <classifier>features</classifier>
31             <type>xml</type>
32             <scope>runtime</scope>
33         </dependency>
34         <dependency>
35             <groupId>org.opendaylight.controller</groupId>
36             <artifactId>features-mdsal</artifactId>
37             <version>${mdsal.version}</version>
38             <classifier>features</classifier>
39             <type>xml</type>
40         </dependency>
41         <dependency>
42             <groupId>org.opendaylight.yangtools</groupId>
43             <artifactId>features-yangtools</artifactId>
44             <classifier>features</classifier>
45             <version>${yangtools.version}</version>
46             <type>xml</type>
47         </dependency>
48         <dependency>
49             <groupId>org.opendaylight.netconf</groupId>
50             <artifactId>features-restconf</artifactId>
51             <version>${restconf.version}</version>
52             <classifier>features</classifier>
53             <type>xml</type>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.openflowjava</groupId>
57             <artifactId>features-openflowjava</artifactId>
58             <version>${openflowjava.version}</version>
59             <classifier>features</classifier>
60             <type>xml</type>
61         </dependency>
62
63         <!-- bundle dependencies -->
64         <dependency>
65             <groupId>org.opendaylight.openflowplugin.model</groupId>
66             <artifactId>model-flow-base</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.openflowplugin.model</groupId>
70             <artifactId>model-flow-service</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.opendaylight.openflowplugin.model</groupId>
74             <artifactId>model-flow-statistics</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>org.opendaylight.controller.model</groupId>
78             <artifactId>model-inventory</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.controller.model</groupId>
82             <artifactId>model-topology</artifactId>
83         </dependency>
84
85         <dependency>
86             <groupId>org.opendaylight.openflowplugin.applications</groupId>
87             <artifactId>forwardingrules-manager</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>org.opendaylight.openflowplugin.applications</groupId>
91             <artifactId>forwardingrules-manager-config</artifactId>
92             <classifier>config</classifier>
93             <type>xml</type>
94         </dependency>
95         <dependency>
96             <groupId>org.opendaylight.openflowplugin.applications</groupId>
97             <artifactId>inventory-manager</artifactId>
98         </dependency>
99         <dependency>
100             <groupId>org.opendaylight.openflowplugin.applications</groupId>
101             <artifactId>lldp-speaker</artifactId>
102         </dependency>
103         <dependency>
104             <groupId>org.opendaylight.openflowplugin.applications</groupId>
105             <artifactId>statistics-manager</artifactId>
106         </dependency>
107         <dependency>
108             <groupId>org.opendaylight.openflowplugin.applications</groupId>
109             <artifactId>statistics-manager-config</artifactId>
110             <classifier>config</classifier>
111             <type>xml</type>
112         </dependency>
113
114         <dependency>
115             <groupId>org.opendaylight.dlux</groupId>
116             <artifactId>features-dlux</artifactId>
117             <version>${dlux.version}</version>
118             <classifier>features</classifier>
119             <type>xml</type>
120         </dependency>
121
122         <!-- bundle dependencies -->
123         <dependency>
124             <groupId>org.opendaylight.openflowplugin</groupId>
125             <artifactId>openflowplugin-api</artifactId>
126         </dependency>
127         <dependency>
128             <groupId>org.opendaylight.openflowplugin</groupId>
129             <artifactId>openflowplugin-extension-api</artifactId>
130         </dependency>
131         <dependency>
132             <groupId>org.opendaylight.openflowplugin</groupId>
133             <artifactId>openflowplugin</artifactId>
134         </dependency>
135         <dependency>
136             <groupId>org.opendaylight.openflowplugin</groupId>
137             <artifactId>openflowplugin-impl</artifactId>
138         </dependency>
139         <dependency>
140             <groupId>org.opendaylight.openflowplugin.applications</groupId>
141             <artifactId>table-miss-enforcer</artifactId>
142         </dependency>
143         <dependency>
144             <groupId>org.opendaylight.openflowplugin.applications</groupId>
145             <artifactId>table-miss-enforcer</artifactId>
146             <type>xml</type>
147             <classifier>config</classifier>
148         </dependency>
149
150         <dependency>
151             <groupId>org.opendaylight.openflowplugin.applications</groupId>
152             <artifactId>topology-lldp-discovery</artifactId>
153         </dependency>
154         <dependency>
155             <groupId>org.opendaylight.openflowplugin.applications</groupId>
156             <artifactId>topology-lldp-discovery</artifactId>
157             <type>xml</type>
158             <classifier>config</classifier>
159         </dependency>
160
161         <dependency>
162             <groupId>org.opendaylight.openflowplugin.applications</groupId>
163             <artifactId>topology-manager</artifactId>
164         </dependency>
165         <dependency>
166             <groupId>org.opendaylight.openflowplugin.applications</groupId>
167             <artifactId>topology-manager</artifactId>
168             <type>xml</type>
169             <classifier>config</classifier>
170         </dependency>
171
172         <dependency>
173             <groupId>org.opendaylight.openflowplugin.applications</groupId>
174             <artifactId>of-switch-config-pusher</artifactId>
175         </dependency>
176         <dependency>
177             <groupId>org.opendaylight.openflowplugin.applications</groupId>
178             <artifactId>of-switch-config-pusher</artifactId>
179             <type>xml</type>
180             <classifier>config</classifier>
181         </dependency>
182
183         <dependency>
184             <groupId>org.opendaylight.openflowplugin.applications</groupId>
185             <artifactId>lldp-speaker</artifactId>
186             <type>xml</type>
187             <classifier>config</classifier>
188         </dependency>
189
190         <dependency>
191             <groupId>org.opendaylight.openflowplugin</groupId>
192             <artifactId>drop-test-karaf</artifactId>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.openflowplugin</groupId>
196             <artifactId>drop-test-karaf</artifactId>
197             <classifier>config</classifier>
198             <type>xml</type>
199         </dependency>
200         <dependency>
201             <groupId>org.opendaylight.openflowplugin</groupId>
202             <artifactId>test-common</artifactId>
203         </dependency>
204         <dependency>
205             <groupId>org.opendaylight.openflowplugin</groupId>
206             <artifactId>openflowplugin-controller-config</artifactId>
207             <type>xml</type>
208             <classifier>config-Li</classifier>
209         </dependency>
210         <dependency>
211             <groupId>org.opendaylight.openflowplugin</groupId>
212             <artifactId>openflowplugin-controller-config</artifactId>
213             <type>xml</type>
214             <classifier>configmsgspy</classifier>
215         </dependency>
216         <dependency>
217             <groupId>org.opendaylight.controller</groupId>
218             <artifactId>liblldp</artifactId>
219             <version>${sal.api.version}</version>
220         </dependency>
221         <dependency>
222             <groupId>org.opendaylight.openflowplugin</groupId>
223             <artifactId>openflowplugin-common</artifactId>
224         </dependency>
225         <dependency>
226             <groupId>org.opendaylight.openflowplugin.applications</groupId>
227             <artifactId>bulk-o-matic</artifactId>
228         </dependency>
229         <dependency>
230             <groupId>org.opendaylight.openflowplugin.applications</groupId>
231             <artifactId>bulk-o-matic</artifactId>
232             <type>xml</type>
233             <classifier>config</classifier>
234         </dependency>
235
236
237         <!-- test the features.xml -->
238         <dependency>
239             <groupId>org.opendaylight.odlparent</groupId>
240             <artifactId>features-test</artifactId>
241         </dependency>
242         <!-- dependency for opendaylight-karaf-empty for use by testing -->
243         <dependency>
244             <groupId>org.opendaylight.controller</groupId>
245             <artifactId>opendaylight-karaf-empty</artifactId>
246             <version>${karaf.distro.empty.version}</version>
247             <type>zip</type>
248         </dependency>
249     </dependencies>
250
251     <build>
252         <resources>
253             <resource>
254                 <filtering>true</filtering>
255                 <directory>src/main/resources</directory>
256             </resource>
257         </resources>
258
259         <plugins>
260             <plugin>
261                 <groupId>org.apache.maven.plugins</groupId>
262                 <artifactId>maven-resources-plugin</artifactId>
263                 <executions>
264                     <execution>
265                         <id>filter</id>
266                         <goals>
267                             <goal>resources</goal>
268                         </goals>
269                         <phase>generate-resources</phase>
270                     </execution>
271                 </executions>
272             </plugin>
273             <plugin>
274                 <groupId>org.codehaus.mojo</groupId>
275                 <artifactId>build-helper-maven-plugin</artifactId>
276                 <executions>
277                     <execution>
278                         <id>attach-artifacts</id>
279                         <goals>
280                             <goal>attach-artifact</goal>
281                         </goals>
282                         <phase>package</phase>
283                         <configuration>
284                             <artifacts>
285                                 <artifact>
286                                     <file>${project.build.outputDirectory}/features.xml</file>
287                                     <type>xml</type>
288                                     <classifier>features</classifier>
289                                 </artifact>
290                             </artifacts>
291                         </configuration>
292                     </execution>
293                 </executions>
294             </plugin>
295             <plugin>
296                 <groupId>org.apache.maven.plugins</groupId>
297                 <artifactId>maven-surefire-plugin</artifactId>
298                 <version>2.16</version>
299                 <configuration>
300                     <systemPropertyVariables>
301                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
302                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
303                         <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
304                     </systemPropertyVariables>
305                     <dependenciesToScan>
306                         <dependency>org.opendaylight.odlparent:features-test</dependency>
307                     </dependenciesToScan>
308                 </configuration>
309             </plugin>
310         </plugins>
311     </build>
312     <scm>
313         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
314         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
315         <tag>HEAD</tag>
316         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
317     </scm>
318 </project>