350ac01274e5562ff06566b9041cc1d2fc879ceb
[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.8</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     <dependency>
176       <groupId>org.opendaylight.bgpcep</groupId>
177       <artifactId>tcpmd5-controller-config</artifactId>
178       <version>${bgpcep.version}</version>
179     </dependency>
180
181     <!--
182          BGPCEP: topology artifacts
183          -->
184     <dependency>
185       <groupId>org.opendaylight.bgpcep</groupId>
186       <artifactId>topology-api</artifactId>
187       <version>${bgpcep.version}</version>
188     </dependency>
189     <dependency>
190       <groupId>org.opendaylight.bgpcep</groupId>
191       <artifactId>topology-api-config</artifactId>
192       <version>${bgpcep.version}</version>
193     </dependency>
194     <dependency>
195       <groupId>org.opendaylight.bgpcep</groupId>
196       <artifactId>topology-tunnel-api</artifactId>
197       <version>${bgpcep.version}</version>
198     </dependency>
199
200     <!--
201          BGPCEP: BGP artifacts
202          -->
203     <dependency>
204       <groupId>org.opendaylight.bgpcep</groupId>
205       <artifactId>bgp-concepts</artifactId>
206       <version>${bgpcep.version}</version>
207     </dependency>
208     <dependency>
209       <groupId>org.opendaylight.bgpcep</groupId>
210       <artifactId>bgp-linkstate</artifactId>
211       <version>${bgpcep.version}</version>
212     </dependency>
213     <dependency>
214       <groupId>org.opendaylight.bgpcep</groupId>
215       <artifactId>bgp-linkstate-config</artifactId>
216       <version>${bgpcep.version}</version>
217     </dependency>
218     <dependency>
219       <groupId>org.opendaylight.bgpcep</groupId>
220       <artifactId>bgp-parser-api</artifactId>
221       <version>${bgpcep.version}</version>
222     </dependency>
223     <dependency>
224       <groupId>org.opendaylight.bgpcep</groupId>
225       <artifactId>bgp-parser-impl</artifactId>
226       <version>${bgpcep.version}</version>
227     </dependency>
228     <dependency>
229       <groupId>org.opendaylight.bgpcep</groupId>
230       <artifactId>bgp-parser-spi-config</artifactId>
231       <version>${bgpcep.version}</version>
232     </dependency>
233     <dependency>
234       <groupId>org.opendaylight.bgpcep</groupId>
235       <artifactId>bgp-parser-spi</artifactId>
236       <version>${bgpcep.version}</version>
237     </dependency>
238     <dependency>
239       <groupId>org.opendaylight.bgpcep</groupId>
240       <artifactId>bgp-rib-api-config</artifactId>
241       <version>${bgpcep.version}</version>
242     </dependency>
243     <dependency>
244       <groupId>org.opendaylight.bgpcep</groupId>
245       <artifactId>bgp-rib-api</artifactId>
246       <version>${bgpcep.version}</version>
247     </dependency>
248     <dependency>
249       <groupId>org.opendaylight.bgpcep</groupId>
250       <artifactId>bgp-rib-impl-config</artifactId>
251       <version>${bgpcep.version}</version>
252     </dependency>
253     <dependency>
254       <groupId>org.opendaylight.bgpcep</groupId>
255       <artifactId>bgp-rib-impl</artifactId>
256       <version>${bgpcep.version}</version>
257     </dependency>
258     <dependency>
259       <groupId>org.opendaylight.bgpcep</groupId>
260       <artifactId>bgp-rib-spi</artifactId>
261       <version>${bgpcep.version}</version>
262     </dependency>
263     <dependency>
264       <groupId>org.opendaylight.bgpcep</groupId>
265       <artifactId>bgp-rib-spi-config</artifactId>
266       <version>${bgpcep.version}</version>
267     </dependency>
268     <dependency>
269       <groupId>org.opendaylight.bgpcep</groupId>
270       <artifactId>bgp-topology-provider</artifactId>
271       <version>${bgpcep.version}</version>
272     </dependency>
273     <dependency>
274       <groupId>org.opendaylight.bgpcep</groupId>
275       <artifactId>bgp-topology-provider-config</artifactId>
276       <version>${bgpcep.version}</version>
277     </dependency>
278     <dependency>
279       <groupId>org.opendaylight.bgpcep</groupId>
280       <artifactId>bgp-util</artifactId>
281       <version>${bgpcep.version}</version>
282     </dependency>
283     <dependency>
284       <groupId>org.opendaylight.bgpcep</groupId>
285       <artifactId>bgp-controller-config</artifactId>
286       <version>${bgpcep.version}</version>
287     </dependency>
288
289     <!--
290          BGPCEP: Programming artifacts
291          -->
292     <dependency>
293       <groupId>org.opendaylight.bgpcep</groupId>
294       <artifactId>programming-api</artifactId>
295       <version>${bgpcep.version}</version>
296     </dependency>
297     <dependency>
298       <groupId>org.opendaylight.bgpcep</groupId>
299       <artifactId>programming-impl</artifactId>
300       <version>${bgpcep.version}</version>
301     </dependency>
302     <dependency>
303       <groupId>org.opendaylight.bgpcep</groupId>
304       <artifactId>programming-impl-config</artifactId>
305       <version>${bgpcep.version}</version>
306     </dependency>
307     <dependency>
308       <groupId>org.opendaylight.bgpcep</groupId>
309       <artifactId>programming-spi</artifactId>
310       <version>${bgpcep.version}</version>
311     </dependency>
312     <dependency>
313       <groupId>org.opendaylight.bgpcep</groupId>
314       <artifactId>programming-spi-config</artifactId>
315       <version>${bgpcep.version}</version>
316     </dependency>
317     <dependency>
318       <groupId>org.opendaylight.bgpcep</groupId>
319       <artifactId>programming-topology-api</artifactId>
320       <version>${bgpcep.version}</version>
321     </dependency>
322     <dependency>
323       <groupId>org.opendaylight.bgpcep</groupId>
324       <artifactId>programming-tunnel-api</artifactId>
325       <version>${bgpcep.version}</version>
326     </dependency>
327     <dependency>
328       <groupId>org.opendaylight.bgpcep</groupId>
329       <artifactId>programming-controller-config</artifactId>
330       <version>${bgpcep.version}</version>
331     </dependency>
332
333     <!--
334          BGPCEP: Programming artifacts
335          -->
336     <dependency>
337       <groupId>org.opendaylight.bgpcep</groupId>
338       <artifactId>rsvp-api</artifactId>
339       <version>${bgpcep.version}</version>
340     </dependency>
341
342     <!--
343          BGPCEP: PCEP artifacts
344          -->
345     <dependency>
346       <groupId>org.opendaylight.bgpcep</groupId>
347       <artifactId>pcep-api-config</artifactId>
348       <version>${bgpcep.version}</version>
349     </dependency>
350     <dependency>
351       <groupId>org.opendaylight.bgpcep</groupId>
352       <artifactId>pcep-api</artifactId>
353       <version>${bgpcep.version}</version>
354     </dependency>
355     <dependency>
356       <groupId>org.opendaylight.bgpcep</groupId>
357       <artifactId>pcep-ietf-stateful02</artifactId>
358       <version>${bgpcep.version}</version>
359     </dependency>
360     <dependency>
361       <groupId>org.opendaylight.bgpcep</groupId>
362       <artifactId>pcep-ietf-stateful07</artifactId>
363       <version>${bgpcep.version}</version>
364     </dependency>
365     <dependency>
366       <groupId>org.opendaylight.bgpcep</groupId>
367       <artifactId>pcep-impl-config</artifactId>
368       <version>${bgpcep.version}</version>
369     </dependency>
370     <dependency>
371       <groupId>org.opendaylight.bgpcep</groupId>
372       <artifactId>pcep-impl</artifactId>
373       <version>${bgpcep.version}</version>
374     </dependency>
375     <dependency>
376       <groupId>org.opendaylight.bgpcep</groupId>
377       <artifactId>pcep-spi</artifactId>
378       <version>${bgpcep.version}</version>
379     </dependency>
380     <dependency>
381       <groupId>org.opendaylight.bgpcep</groupId>
382       <artifactId>pcep-spi-config</artifactId>
383       <version>${bgpcep.version}</version>
384     </dependency>
385     <dependency>
386       <groupId>org.opendaylight.bgpcep</groupId>
387       <artifactId>pcep-testtool</artifactId>
388       <version>${bgpcep.version}</version>
389     </dependency>
390     <dependency>
391       <groupId>org.opendaylight.bgpcep</groupId>
392       <artifactId>pcep-topology-api</artifactId>
393       <version>${bgpcep.version}</version>
394     </dependency>
395     <dependency>
396       <groupId>org.opendaylight.bgpcep</groupId>
397       <artifactId>pcep-topology-provider</artifactId>
398       <version>${bgpcep.version}</version>
399     </dependency>
400     <dependency>
401       <groupId>org.opendaylight.bgpcep</groupId>
402       <artifactId>pcep-topology-provider-config</artifactId>
403       <version>${bgpcep.version}</version>
404     </dependency>
405     <dependency>
406       <groupId>org.opendaylight.bgpcep</groupId>
407       <artifactId>pcep-topology-spi</artifactId>
408       <version>${bgpcep.version}</version>
409     </dependency>
410     <dependency>
411       <groupId>org.opendaylight.bgpcep</groupId>
412       <artifactId>pcep-tunnel-api</artifactId>
413       <version>${bgpcep.version}</version>
414     </dependency>
415     <dependency>
416       <groupId>org.opendaylight.bgpcep</groupId>
417       <artifactId>pcep-tunnel-provider</artifactId>
418       <version>${bgpcep.version}</version>
419     </dependency>
420     <dependency>
421       <groupId>org.opendaylight.bgpcep</groupId>
422       <artifactId>pcep-tunnel-provider-config</artifactId>
423       <version>${bgpcep.version}</version>
424     </dependency>
425     <dependency>
426       <groupId>org.opendaylight.bgpcep</groupId>
427       <artifactId>pcep-controller-config</artifactId>
428       <version>${bgpcep.version}</version>
429     </dependency>
430
431     <!-- lispflowmapping -->
432         <dependency>
433       <groupId>org.opendaylight.lispflowmapping</groupId>
434       <artifactId>mappingservice.yangmodel</artifactId>
435       <version>${lispflowmapping.version}</version>
436     </dependency>
437
438     <dependency>
439       <groupId>org.opendaylight.lispflowmapping</groupId>
440       <artifactId>mappingservice.api</artifactId>
441       <version>${lispflowmapping.version}</version>
442     </dependency>
443     
444     <dependency>
445       <groupId>org.opendaylight.lispflowmapping</groupId>
446       <artifactId>mappingservice.config</artifactId>
447       <version>${lispflowmapping.version}</version>
448     </dependency>
449
450     <dependency>
451       <groupId>org.opendaylight.lispflowmapping</groupId>
452       <artifactId>mappingservice.implementation</artifactId>
453       <version>${lispflowmapping.version}</version>
454     </dependency>
455     
456     <dependency>
457       <groupId>org.opendaylight.lispflowmapping</groupId>
458       <artifactId>mappingservice.clusterdao</artifactId>
459       <version>${lispflowmapping.version}</version>
460     </dependency>
461
462     <dependency>
463       <groupId>org.opendaylight.lispflowmapping</groupId>
464       <artifactId>mappingservice.northbound</artifactId>
465       <version>${lispflowmapping.version}</version>
466     </dependency>
467
468     <dependency>
469       <groupId>org.opendaylight.lispflowmapping</groupId>
470       <artifactId>mappingservice.southbound</artifactId>
471       <version>${lispflowmapping.version}</version>
472     </dependency>
473
474     <!--SNMP4SDN-->
475     <dependency>
476       <groupId>org.opendaylight.snmp4sdn</groupId>
477       <artifactId>snmp4sdn</artifactId>
478       <version>0.1.2</version>
479     </dependency>
480
481   </dependencies>
482   <build>
483     <resources>
484       <resource>
485         <directory>${project.build.directory}/generated-resources</directory>
486         <filtering>true</filtering>
487       </resource>
488     </resources>
489     <plugins>
490       <plugin>
491         <groupId>org.apache.maven.plugins</groupId>
492         <artifactId>maven-resources-plugin</artifactId>
493         <version>2.6</version>
494       </plugin>
495       <plugin>
496         <groupId>org.apache.maven.plugins</groupId>
497         <artifactId>maven-dependency-plugin</artifactId>
498         <version>2.8</version>
499         <executions>
500           <execution>
501             <id>unpack-shared-resources</id>
502             <goals>
503               <goal>unpack-dependencies</goal>
504             </goals>
505             <phase>generate-resources</phase>
506             <configuration>
507               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
508               <includeArtifacIds>distributions-base</includeArtifacIds>
509               <includeGroupIds>org.opendaylight.integration</includeGroupIds>
510               <excludeTransitive>true</excludeTransitive>
511               <ignorePermissions>false</ignorePermissions>
512             </configuration>
513           </execution>
514
515           <execution>
516             <id>unpack-provided-configs</id>
517             <goals>
518               <goal>unpack-dependencies</goal>
519             </goals>
520             <phase>generate-resources</phase>
521             <configuration>
522               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
523               <includeArtifactIds>
524                 bgp-controller-config,
525                 pcep-controller-config,
526                 programming-controller-config,
527               </includeArtifactIds>
528               <includeGroupIds>
529                 org.opendaylight.bgpcep,
530               </includeGroupIds>
531               <excludeTransitive>true</excludeTransitive>
532               <ignorePermissions>false</ignorePermissions>
533             </configuration>
534           </execution>
535         </executions>
536       </plugin>
537       <plugin>
538         <artifactId>maven-assembly-plugin</artifactId>
539         <executions>
540           <execution>
541             <id>distro-assembly</id>
542             <phase>package</phase>
543             <goals>
544               <goal>single</goal>
545             </goals>
546             <configuration>
547               <descriptors>
548                 <descriptor>src/assemble/bin.xml</descriptor>
549               </descriptors>
550             </configuration>
551           </execution>
552         </executions>
553       </plugin>
554     </plugins>
555   </build>
556 </project>