Fix SP Edition not building after lispflowmapping release
[integration/distribution.git] / distributions / serviceprovider / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
3 <!--
4 Adapted from David Erickson's Distribution pom.xml
5 see https://git.opendaylight.org/gerrit/#/c/390/
6 -->
7 <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/maven-v4_0_0.xsd">
8   <modelVersion>4.0.0</modelVersion>
9   <parent>
10     <groupId>org.opendaylight.integration</groupId>
11     <artifactId>distributions</artifactId>
12     <version>0.1.2-SNAPSHOT</version>
13     <relativePath>../</relativePath>
14   </parent>
15
16   <artifactId>distributions-serviceprovider</artifactId>
17   <packaging>pom</packaging>
18   <name>OpenDaylight Service Provider Edition</name>
19
20   <properties>
21     <bgpcep.version>0.3.1-SNAPSHOT</bgpcep.version>
22     <lispflowmapping.version>1.1.6</lispflowmapping.version>
23
24     <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
25   </properties>
26
27   <dependencies>
28     <dependency>
29       <groupId>org.opendaylight.integration</groupId>
30       <artifactId>distributions-base</artifactId>
31       <version>0.1.2-SNAPSHOT</version>
32       <type>zip</type>
33       <classifier>osgipackage</classifier>
34       <!-- Make sure this isn't included on any classpath-->
35       <scope>provided</scope>
36     </dependency>
37
38     <!-- affinity -->
39     <dependency>
40       <groupId>org.opendaylight.affinity</groupId>
41       <artifactId>affinity</artifactId>
42       <version>0.4.2-SNAPSHOT</version>
43     </dependency>
44
45     <dependency>
46       <groupId>org.opendaylight.affinity</groupId>
47       <artifactId>affinity.implementation</artifactId>
48       <version>0.4.2-SNAPSHOT</version>
49     </dependency>
50
51     <dependency>
52       <groupId>org.opendaylight.affinity</groupId>
53       <artifactId>affinity.northbound</artifactId>
54       <version>0.4.2-SNAPSHOT</version>
55     </dependency>
56
57     <dependency>
58       <groupId>org.opendaylight.affinity</groupId>
59       <artifactId>flatl2</artifactId>
60       <version>0.4.2-SNAPSHOT</version>
61     </dependency>
62
63     <dependency>
64       <groupId>org.opendaylight.affinity</groupId>
65       <artifactId>flatl2.northbound</artifactId>
66       <version>0.4.2-SNAPSHOT</version>
67     </dependency>
68
69     <dependency>
70       <groupId>org.opendaylight.affinity</groupId>
71       <artifactId>l2agent</artifactId>
72       <version>0.4.2-SNAPSHOT</version>
73     </dependency>
74
75     <dependency>
76       <groupId>org.opendaylight.affinity</groupId>
77       <artifactId>analytics</artifactId>
78       <version>0.4.2-SNAPSHOT</version>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.affinity</groupId>
83       <artifactId>analytics.implementation</artifactId>
84       <version>0.4.2-SNAPSHOT</version>
85     </dependency>
86
87     <dependency>
88       <groupId>org.opendaylight.affinity</groupId>
89       <artifactId>analytics.northbound</artifactId>
90       <version>0.4.2-SNAPSHOT</version>
91     </dependency>
92
93
94     <!--
95          BGPCEP: required IETF models
96          -->
97     <dependency>
98       <groupId>org.opendaylight.yangtools.model</groupId>
99       <artifactId>ietf-ted</artifactId>
100       <version>${ietf.topology.version}</version>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.yangtools.model</groupId>
104       <artifactId>ietf-topology</artifactId>
105       <version>${ietf.topology.version}</version>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.yangtools.model</groupId>
109       <artifactId>ietf-topology-isis</artifactId>
110       <version>${ietf.topology.version}</version>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.yangtools.model</groupId>
114       <artifactId>ietf-topology-l3-unicast-igp</artifactId>
115       <version>${ietf.topology.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.yangtools.model</groupId>
119       <artifactId>ietf-topology-ospf</artifactId>
120       <version>${ietf.topology.version}</version>
121     </dependency>
122
123     <!--
124          BGPCEP: common artifacts
125          -->
126     <dependency>
127       <groupId>org.opendaylight.bgpcep</groupId>
128       <artifactId>concepts</artifactId>
129       <version>${bgpcep.version}</version>
130     </dependency>
131     <dependency>
132       <groupId>org.opendaylight.bgpcep</groupId>
133       <artifactId>util</artifactId>
134       <version>${bgpcep.version}</version>
135     </dependency>
136
137     <!--
138          BGPCEP: TCP-MD5 artifacts
139          -->
140     <dependency>
141       <groupId>org.opendaylight.bgpcep</groupId>
142       <artifactId>tcpmd5-api</artifactId>
143       <version>${bgpcep.version}</version>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.bgpcep</groupId>
147       <artifactId>tcpmd5-api-cfg</artifactId>
148       <version>${bgpcep.version}</version>
149     </dependency>
150     <dependency>
151       <groupId>org.opendaylight.bgpcep</groupId>
152       <artifactId>tcpmd5-jni</artifactId>
153       <version>${bgpcep.version}</version>
154     </dependency>
155     <dependency>
156       <groupId>org.opendaylight.bgpcep</groupId>
157       <artifactId>tcpmd5-jni-cfg</artifactId>
158       <version>${bgpcep.version}</version>
159     </dependency>
160     <dependency>
161       <groupId>org.opendaylight.bgpcep</groupId>
162       <artifactId>tcpmd5-netty</artifactId>
163       <version>${bgpcep.version}</version>
164     </dependency>
165     <dependency>
166       <groupId>org.opendaylight.bgpcep</groupId>
167       <artifactId>tcpmd5-netty-cfg</artifactId>
168       <version>${bgpcep.version}</version>
169     </dependency>
170     <dependency>
171       <groupId>org.opendaylight.bgpcep</groupId>
172       <artifactId>tcpmd5-nio</artifactId>
173       <version>${bgpcep.version}</version>
174     </dependency>
175
176     <!--
177          BGPCEP: topology artifacts
178          -->
179     <dependency>
180       <groupId>org.opendaylight.bgpcep</groupId>
181       <artifactId>topology-api</artifactId>
182       <version>${bgpcep.version}</version>
183     </dependency>
184     <dependency>
185       <groupId>org.opendaylight.bgpcep</groupId>
186       <artifactId>topology-api-config</artifactId>
187       <version>${bgpcep.version}</version>
188     </dependency>
189     <dependency>
190       <groupId>org.opendaylight.bgpcep</groupId>
191       <artifactId>topology-tunnel-api</artifactId>
192       <version>${bgpcep.version}</version>
193     </dependency>
194
195     <!--
196          BGPCEP: BGP artifacts
197          -->
198     <dependency>
199       <groupId>org.opendaylight.bgpcep</groupId>
200       <artifactId>bgp-concepts</artifactId>
201       <version>${bgpcep.version}</version>
202     </dependency>
203     <dependency>
204       <groupId>org.opendaylight.bgpcep</groupId>
205       <artifactId>bgp-linkstate</artifactId>
206       <version>${bgpcep.version}</version>
207     </dependency>
208     <dependency>
209       <groupId>org.opendaylight.bgpcep</groupId>
210       <artifactId>bgp-linkstate-config</artifactId>
211       <version>${bgpcep.version}</version>
212     </dependency>
213     <dependency>
214       <groupId>org.opendaylight.bgpcep</groupId>
215       <artifactId>bgp-parser-api</artifactId>
216       <version>${bgpcep.version}</version>
217     </dependency>
218     <dependency>
219       <groupId>org.opendaylight.bgpcep</groupId>
220       <artifactId>bgp-parser-impl</artifactId>
221       <version>${bgpcep.version}</version>
222     </dependency>
223     <dependency>
224       <groupId>org.opendaylight.bgpcep</groupId>
225       <artifactId>bgp-parser-spi-config</artifactId>
226       <version>${bgpcep.version}</version>
227     </dependency>
228     <dependency>
229       <groupId>org.opendaylight.bgpcep</groupId>
230       <artifactId>bgp-parser-spi</artifactId>
231       <version>${bgpcep.version}</version>
232     </dependency>
233     <dependency>
234       <groupId>org.opendaylight.bgpcep</groupId>
235       <artifactId>bgp-rib-api-config</artifactId>
236       <version>${bgpcep.version}</version>
237     </dependency>
238     <dependency>
239       <groupId>org.opendaylight.bgpcep</groupId>
240       <artifactId>bgp-rib-api</artifactId>
241       <version>${bgpcep.version}</version>
242     </dependency>
243     <dependency>
244       <groupId>org.opendaylight.bgpcep</groupId>
245       <artifactId>bgp-rib-impl-config</artifactId>
246       <version>${bgpcep.version}</version>
247     </dependency>
248     <dependency>
249       <groupId>org.opendaylight.bgpcep</groupId>
250       <artifactId>bgp-rib-impl</artifactId>
251       <version>${bgpcep.version}</version>
252     </dependency>
253     <dependency>
254       <groupId>org.opendaylight.bgpcep</groupId>
255       <artifactId>bgp-rib-spi</artifactId>
256       <version>${bgpcep.version}</version>
257     </dependency>
258     <dependency>
259       <groupId>org.opendaylight.bgpcep</groupId>
260       <artifactId>bgp-rib-spi-config</artifactId>
261       <version>${bgpcep.version}</version>
262     </dependency>
263     <dependency>
264       <groupId>org.opendaylight.bgpcep</groupId>
265       <artifactId>bgp-topology-provider</artifactId>
266       <version>${bgpcep.version}</version>
267     </dependency>
268     <dependency>
269       <groupId>org.opendaylight.bgpcep</groupId>
270       <artifactId>bgp-topology-provider-config</artifactId>
271       <version>${bgpcep.version}</version>
272     </dependency>
273     <dependency>
274       <groupId>org.opendaylight.bgpcep</groupId>
275       <artifactId>bgp-util</artifactId>
276       <version>${bgpcep.version}</version>
277     </dependency>
278     <dependency>
279       <groupId>org.opendaylight.bgpcep</groupId>
280       <artifactId>bgp-controller-config</artifactId>
281       <version>${bgpcep.version}</version>
282     </dependency>
283
284     <!--
285          BGPCEP: Programming artifacts
286          -->
287     <dependency>
288       <groupId>org.opendaylight.bgpcep</groupId>
289       <artifactId>programming-api</artifactId>
290       <version>${bgpcep.version}</version>
291     </dependency>
292     <dependency>
293       <groupId>org.opendaylight.bgpcep</groupId>
294       <artifactId>programming-impl</artifactId>
295       <version>${bgpcep.version}</version>
296     </dependency>
297     <dependency>
298       <groupId>org.opendaylight.bgpcep</groupId>
299       <artifactId>programming-impl-config</artifactId>
300       <version>${bgpcep.version}</version>
301     </dependency>
302     <dependency>
303       <groupId>org.opendaylight.bgpcep</groupId>
304       <artifactId>programming-spi</artifactId>
305       <version>${bgpcep.version}</version>
306     </dependency>
307     <dependency>
308       <groupId>org.opendaylight.bgpcep</groupId>
309       <artifactId>programming-spi-config</artifactId>
310       <version>${bgpcep.version}</version>
311     </dependency>
312     <dependency>
313       <groupId>org.opendaylight.bgpcep</groupId>
314       <artifactId>programming-topology-api</artifactId>
315       <version>${bgpcep.version}</version>
316     </dependency>
317     <dependency>
318       <groupId>org.opendaylight.bgpcep</groupId>
319       <artifactId>programming-tunnel-api</artifactId>
320       <version>${bgpcep.version}</version>
321     </dependency>
322     <dependency>
323       <groupId>org.opendaylight.bgpcep</groupId>
324       <artifactId>programming-controller-config</artifactId>
325       <version>${bgpcep.version}</version>
326     </dependency>
327
328     <!--
329          BGPCEP: Programming artifacts
330          -->
331     <dependency>
332       <groupId>org.opendaylight.bgpcep</groupId>
333       <artifactId>rsvp-api</artifactId>
334       <version>${bgpcep.version}</version>
335     </dependency>
336
337     <!--
338          BGPCEP: PCEP artifacts
339          -->
340     <dependency>
341       <groupId>org.opendaylight.bgpcep</groupId>
342       <artifactId>pcep-api-config</artifactId>
343       <version>${bgpcep.version}</version>
344     </dependency>
345     <dependency>
346       <groupId>org.opendaylight.bgpcep</groupId>
347       <artifactId>pcep-api</artifactId>
348       <version>${bgpcep.version}</version>
349     </dependency>
350     <dependency>
351       <groupId>org.opendaylight.bgpcep</groupId>
352       <artifactId>pcep-ietf-stateful02</artifactId>
353       <version>${bgpcep.version}</version>
354     </dependency>
355     <dependency>
356       <groupId>org.opendaylight.bgpcep</groupId>
357       <artifactId>pcep-ietf-stateful07</artifactId>
358       <version>${bgpcep.version}</version>
359     </dependency>
360     <dependency>
361       <groupId>org.opendaylight.bgpcep</groupId>
362       <artifactId>pcep-impl-config</artifactId>
363       <version>${bgpcep.version}</version>
364     </dependency>
365     <dependency>
366       <groupId>org.opendaylight.bgpcep</groupId>
367       <artifactId>pcep-impl</artifactId>
368       <version>${bgpcep.version}</version>
369     </dependency>
370     <dependency>
371       <groupId>org.opendaylight.bgpcep</groupId>
372       <artifactId>pcep-spi</artifactId>
373       <version>${bgpcep.version}</version>
374     </dependency>
375     <dependency>
376       <groupId>org.opendaylight.bgpcep</groupId>
377       <artifactId>pcep-spi-config</artifactId>
378       <version>${bgpcep.version}</version>
379     </dependency>
380     <dependency>
381       <groupId>org.opendaylight.bgpcep</groupId>
382       <artifactId>pcep-testtool</artifactId>
383       <version>${bgpcep.version}</version>
384     </dependency>
385     <dependency>
386       <groupId>org.opendaylight.bgpcep</groupId>
387       <artifactId>pcep-topology-api</artifactId>
388       <version>${bgpcep.version}</version>
389     </dependency>
390     <dependency>
391       <groupId>org.opendaylight.bgpcep</groupId>
392       <artifactId>pcep-topology-provider</artifactId>
393       <version>${bgpcep.version}</version>
394     </dependency>
395     <dependency>
396       <groupId>org.opendaylight.bgpcep</groupId>
397       <artifactId>pcep-topology-provider-config</artifactId>
398       <version>${bgpcep.version}</version>
399     </dependency>
400     <dependency>
401       <groupId>org.opendaylight.bgpcep</groupId>
402       <artifactId>pcep-topology-spi</artifactId>
403       <version>${bgpcep.version}</version>
404     </dependency>
405     <dependency>
406       <groupId>org.opendaylight.bgpcep</groupId>
407       <artifactId>pcep-tunnel-api</artifactId>
408       <version>${bgpcep.version}</version>
409     </dependency>
410     <dependency>
411       <groupId>org.opendaylight.bgpcep</groupId>
412       <artifactId>pcep-tunnel-provider</artifactId>
413       <version>${bgpcep.version}</version>
414     </dependency>
415     <dependency>
416       <groupId>org.opendaylight.bgpcep</groupId>
417       <artifactId>pcep-tunnel-provider-config</artifactId>
418       <version>${bgpcep.version}</version>
419     </dependency>
420     <dependency>
421       <groupId>org.opendaylight.bgpcep</groupId>
422       <artifactId>pcep-controller-config</artifactId>
423       <version>${bgpcep.version}</version>
424     </dependency>
425
426     <!-- lispflowmapping -->
427         <dependency>
428       <groupId>org.opendaylight.lispflowmapping</groupId>
429       <artifactId>mappingservice.yangmodel</artifactId>
430       <version>${lispflowmapping.version}</version>
431     </dependency>
432
433     <dependency>
434       <groupId>org.opendaylight.lispflowmapping</groupId>
435       <artifactId>mappingservice.api</artifactId>
436       <version>${lispflowmapping.version}</version>
437     </dependency>
438     
439     <dependency>
440       <groupId>org.opendaylight.lispflowmapping</groupId>
441       <artifactId>mappingservice.config</artifactId>
442       <version>${lispflowmapping.version}</version>
443     </dependency>
444
445     <dependency>
446       <groupId>org.opendaylight.lispflowmapping</groupId>
447       <artifactId>mappingservice.implementation</artifactId>
448       <version>${lispflowmapping.version}</version>
449     </dependency>
450     
451     <dependency>
452       <groupId>org.opendaylight.lispflowmapping</groupId>
453       <artifactId>mappingservice.clusterdao</artifactId>
454       <version>${lispflowmapping.version}</version>
455     </dependency>
456
457     <dependency>
458       <groupId>org.opendaylight.lispflowmapping</groupId>
459       <artifactId>mappingservice.northbound</artifactId>
460       <version>${lispflowmapping.version}</version>
461     </dependency>
462
463     <dependency>
464       <groupId>org.opendaylight.lispflowmapping</groupId>
465       <artifactId>mappingservice.southbound</artifactId>
466       <version>${lispflowmapping.version}</version>
467     </dependency>
468
469     <!--SNMP4SDN-->
470     <dependency>
471       <groupId>org.opendaylight.snmp4sdn</groupId>
472       <artifactId>snmp4sdn</artifactId>
473       <version>0.1.2</version>
474     </dependency>
475
476   </dependencies>
477   <build>
478     <resources>
479       <resource>
480         <directory>${project.build.directory}/generated-resources</directory>
481         <filtering>true</filtering>
482       </resource>
483     </resources>
484     <plugins>
485       <plugin>
486         <groupId>org.apache.maven.plugins</groupId>
487         <artifactId>maven-resources-plugin</artifactId>
488         <version>2.6</version>
489       </plugin>
490       <plugin>
491         <groupId>org.apache.maven.plugins</groupId>
492         <artifactId>maven-dependency-plugin</artifactId>
493         <version>2.8</version>
494         <executions>
495           <execution>
496             <id>unpack-shared-resources</id>
497             <goals>
498               <goal>unpack-dependencies</goal>
499             </goals>
500             <phase>generate-resources</phase>
501             <configuration>
502               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
503               <includeArtifacIds>distributions-base</includeArtifacIds>
504               <includeGroupIds>org.opendaylight.integration</includeGroupIds>
505               <excludeTransitive>true</excludeTransitive>
506               <ignorePermissions>false</ignorePermissions>
507             </configuration>
508           </execution>
509
510           <execution>
511             <id>unpack-provided-configs</id>
512             <goals>
513               <goal>unpack-dependencies</goal>
514             </goals>
515             <phase>generate-resources</phase>
516             <configuration>
517               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
518               <includeArtifactIds>
519                 bgp-controller-config,
520                 pcep-controller-config,
521                 programming-controller-config,
522               </includeArtifactIds>
523               <includeGroupIds>
524                 org.opendaylight.bgpcep,
525               </includeGroupIds>
526               <excludeTransitive>true</excludeTransitive>
527               <ignorePermissions>false</ignorePermissions>
528             </configuration>
529           </execution>
530         </executions>
531       </plugin>
532       <plugin>
533         <artifactId>maven-assembly-plugin</artifactId>
534         <executions>
535           <execution>
536             <id>distro-assembly</id>
537             <phase>package</phase>
538             <goals>
539               <goal>single</goal>
540             </goals>
541             <configuration>
542               <descriptors>
543                 <descriptor>src/assemble/bin.xml</descriptor>
544               </descriptors>
545             </configuration>
546           </execution>
547         </executions>
548       </plugin>
549     </plugins>
550   </build>
551 </project>