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