1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=2 tabstop=2: -->
4 Adapted from David Erickson's Distribution pom.xml
5 see https://git.opendaylight.org/gerrit/#/c/390/
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>
10 <groupId>org.opendaylight.integration</groupId>
11 <artifactId>distributions</artifactId>
12 <version>0.1.2-SNAPSHOT</version>
13 <relativePath>../</relativePath>
16 <artifactId>distributions-serviceprovider</artifactId>
17 <packaging>pom</packaging>
18 <name>OpenDaylight Service Provider Edition</name>
21 <bgpcep.version>0.3.1-SNAPSHOT</bgpcep.version>
22 <lispflowmapping.version>1.1.6-SNAPSHOT</lispflowmapping.version>
24 <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
29 <groupId>org.opendaylight.integration</groupId>
30 <artifactId>distributions-base</artifactId>
31 <version>0.1.2-SNAPSHOT</version>
33 <classifier>osgipackage</classifier>
34 <!-- Make sure this isn't included on any classpath-->
35 <scope>provided</scope>
40 <groupId>org.opendaylight.affinity</groupId>
41 <artifactId>affinity</artifactId>
42 <version>0.4.2-SNAPSHOT</version>
46 <groupId>org.opendaylight.affinity</groupId>
47 <artifactId>affinity.implementation</artifactId>
48 <version>0.4.2-SNAPSHOT</version>
52 <groupId>org.opendaylight.affinity</groupId>
53 <artifactId>affinity.northbound</artifactId>
54 <version>0.4.2-SNAPSHOT</version>
58 <groupId>org.opendaylight.affinity</groupId>
59 <artifactId>flatl2</artifactId>
60 <version>0.4.2-SNAPSHOT</version>
64 <groupId>org.opendaylight.affinity</groupId>
65 <artifactId>flatl2.northbound</artifactId>
66 <version>0.4.2-SNAPSHOT</version>
70 <groupId>org.opendaylight.affinity</groupId>
71 <artifactId>l2agent</artifactId>
72 <version>0.4.2-SNAPSHOT</version>
76 <groupId>org.opendaylight.affinity</groupId>
77 <artifactId>analytics</artifactId>
78 <version>0.4.2-SNAPSHOT</version>
82 <groupId>org.opendaylight.affinity</groupId>
83 <artifactId>analytics.implementation</artifactId>
84 <version>0.4.2-SNAPSHOT</version>
88 <groupId>org.opendaylight.affinity</groupId>
89 <artifactId>analytics.northbound</artifactId>
90 <version>0.4.2-SNAPSHOT</version>
95 BGPCEP: required IETF models
98 <groupId>org.opendaylight.yangtools.model</groupId>
99 <artifactId>ietf-ted</artifactId>
100 <version>${ietf.topology.version}</version>
103 <groupId>org.opendaylight.yangtools.model</groupId>
104 <artifactId>ietf-topology</artifactId>
105 <version>${ietf.topology.version}</version>
108 <groupId>org.opendaylight.yangtools.model</groupId>
109 <artifactId>ietf-topology-isis</artifactId>
110 <version>${ietf.topology.version}</version>
113 <groupId>org.opendaylight.yangtools.model</groupId>
114 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
115 <version>${ietf.topology.version}</version>
118 <groupId>org.opendaylight.yangtools.model</groupId>
119 <artifactId>ietf-topology-ospf</artifactId>
120 <version>${ietf.topology.version}</version>
124 BGPCEP: common artifacts
127 <groupId>org.opendaylight.bgpcep</groupId>
128 <artifactId>concepts</artifactId>
129 <version>${bgpcep.version}</version>
132 <groupId>org.opendaylight.bgpcep</groupId>
133 <artifactId>util</artifactId>
134 <version>${bgpcep.version}</version>
138 BGPCEP: topology artifacts
141 <groupId>org.opendaylight.bgpcep</groupId>
142 <artifactId>topology-api</artifactId>
143 <version>${bgpcep.version}</version>
146 <groupId>org.opendaylight.bgpcep</groupId>
147 <artifactId>topology-api-config</artifactId>
148 <version>${bgpcep.version}</version>
151 <groupId>org.opendaylight.bgpcep</groupId>
152 <artifactId>topology-tunnel-api</artifactId>
153 <version>${bgpcep.version}</version>
157 BGPCEP: BGP artifacts
160 <groupId>org.opendaylight.bgpcep</groupId>
161 <artifactId>bgp-concepts</artifactId>
162 <version>${bgpcep.version}</version>
165 <groupId>org.opendaylight.bgpcep</groupId>
166 <artifactId>bgp-linkstate</artifactId>
167 <version>${bgpcep.version}</version>
170 <groupId>org.opendaylight.bgpcep</groupId>
171 <artifactId>bgp-linkstate-config</artifactId>
172 <version>${bgpcep.version}</version>
175 <groupId>org.opendaylight.bgpcep</groupId>
176 <artifactId>bgp-parser-api</artifactId>
177 <version>${bgpcep.version}</version>
180 <groupId>org.opendaylight.bgpcep</groupId>
181 <artifactId>bgp-parser-impl</artifactId>
182 <version>${bgpcep.version}</version>
185 <groupId>org.opendaylight.bgpcep</groupId>
186 <artifactId>bgp-parser-spi-config</artifactId>
187 <version>${bgpcep.version}</version>
190 <groupId>org.opendaylight.bgpcep</groupId>
191 <artifactId>bgp-parser-spi</artifactId>
192 <version>${bgpcep.version}</version>
195 <groupId>org.opendaylight.bgpcep</groupId>
196 <artifactId>bgp-rib-api-config</artifactId>
197 <version>${bgpcep.version}</version>
200 <groupId>org.opendaylight.bgpcep</groupId>
201 <artifactId>bgp-rib-api</artifactId>
202 <version>${bgpcep.version}</version>
205 <groupId>org.opendaylight.bgpcep</groupId>
206 <artifactId>bgp-rib-impl-config</artifactId>
207 <version>${bgpcep.version}</version>
210 <groupId>org.opendaylight.bgpcep</groupId>
211 <artifactId>bgp-rib-impl</artifactId>
212 <version>${bgpcep.version}</version>
215 <groupId>org.opendaylight.bgpcep</groupId>
216 <artifactId>bgp-rib-spi</artifactId>
217 <version>${bgpcep.version}</version>
220 <groupId>org.opendaylight.bgpcep</groupId>
221 <artifactId>bgp-rib-spi-config</artifactId>
222 <version>${bgpcep.version}</version>
225 <groupId>org.opendaylight.bgpcep</groupId>
226 <artifactId>bgp-topology-provider</artifactId>
227 <version>${bgpcep.version}</version>
230 <groupId>org.opendaylight.bgpcep</groupId>
231 <artifactId>bgp-topology-provider-config</artifactId>
232 <version>${bgpcep.version}</version>
235 <groupId>org.opendaylight.bgpcep</groupId>
236 <artifactId>bgp-util</artifactId>
237 <version>${bgpcep.version}</version>
240 <groupId>org.opendaylight.bgpcep</groupId>
241 <artifactId>bgp-controller-config</artifactId>
242 <version>${bgpcep.version}</version>
246 BGPCEP: Programming artifacts
249 <groupId>org.opendaylight.bgpcep</groupId>
250 <artifactId>programming-api</artifactId>
251 <version>${bgpcep.version}</version>
254 <groupId>org.opendaylight.bgpcep</groupId>
255 <artifactId>programming-impl</artifactId>
256 <version>${bgpcep.version}</version>
259 <groupId>org.opendaylight.bgpcep</groupId>
260 <artifactId>programming-impl-config</artifactId>
261 <version>${bgpcep.version}</version>
264 <groupId>org.opendaylight.bgpcep</groupId>
265 <artifactId>programming-spi</artifactId>
266 <version>${bgpcep.version}</version>
269 <groupId>org.opendaylight.bgpcep</groupId>
270 <artifactId>programming-spi-config</artifactId>
271 <version>${bgpcep.version}</version>
274 <groupId>org.opendaylight.bgpcep</groupId>
275 <artifactId>programming-topology-api</artifactId>
276 <version>${bgpcep.version}</version>
279 <groupId>org.opendaylight.bgpcep</groupId>
280 <artifactId>programming-tunnel-api</artifactId>
281 <version>${bgpcep.version}</version>
284 <groupId>org.opendaylight.bgpcep</groupId>
285 <artifactId>programming-controller-config</artifactId>
286 <version>${bgpcep.version}</version>
290 BGPCEP: Programming artifacts
293 <groupId>org.opendaylight.bgpcep</groupId>
294 <artifactId>rsvp-api</artifactId>
295 <version>${bgpcep.version}</version>
299 BGPCEP: PCEP artifacts
302 <groupId>org.opendaylight.bgpcep</groupId>
303 <artifactId>pcep-api-config</artifactId>
304 <version>${bgpcep.version}</version>
307 <groupId>org.opendaylight.bgpcep</groupId>
308 <artifactId>pcep-api</artifactId>
309 <version>${bgpcep.version}</version>
312 <groupId>org.opendaylight.bgpcep</groupId>
313 <artifactId>pcep-ietf-stateful02</artifactId>
314 <version>${bgpcep.version}</version>
317 <groupId>org.opendaylight.bgpcep</groupId>
318 <artifactId>pcep-ietf-stateful07</artifactId>
319 <version>${bgpcep.version}</version>
322 <groupId>org.opendaylight.bgpcep</groupId>
323 <artifactId>pcep-impl-config</artifactId>
324 <version>${bgpcep.version}</version>
327 <groupId>org.opendaylight.bgpcep</groupId>
328 <artifactId>pcep-impl</artifactId>
329 <version>${bgpcep.version}</version>
332 <groupId>org.opendaylight.bgpcep</groupId>
333 <artifactId>pcep-spi</artifactId>
334 <version>${bgpcep.version}</version>
337 <groupId>org.opendaylight.bgpcep</groupId>
338 <artifactId>pcep-spi-config</artifactId>
339 <version>${bgpcep.version}</version>
342 <groupId>org.opendaylight.bgpcep</groupId>
343 <artifactId>pcep-testtool</artifactId>
344 <version>${bgpcep.version}</version>
347 <groupId>org.opendaylight.bgpcep</groupId>
348 <artifactId>pcep-topology-api</artifactId>
349 <version>${bgpcep.version}</version>
352 <groupId>org.opendaylight.bgpcep</groupId>
353 <artifactId>pcep-topology-provider</artifactId>
354 <version>${bgpcep.version}</version>
357 <groupId>org.opendaylight.bgpcep</groupId>
358 <artifactId>pcep-topology-provider-config</artifactId>
359 <version>${bgpcep.version}</version>
362 <groupId>org.opendaylight.bgpcep</groupId>
363 <artifactId>pcep-topology-spi</artifactId>
364 <version>${bgpcep.version}</version>
367 <groupId>org.opendaylight.bgpcep</groupId>
368 <artifactId>pcep-tunnel-api</artifactId>
369 <version>${bgpcep.version}</version>
372 <groupId>org.opendaylight.bgpcep</groupId>
373 <artifactId>pcep-tunnel-provider</artifactId>
374 <version>${bgpcep.version}</version>
377 <groupId>org.opendaylight.bgpcep</groupId>
378 <artifactId>pcep-tunnel-provider-config</artifactId>
379 <version>${bgpcep.version}</version>
382 <groupId>org.opendaylight.bgpcep</groupId>
383 <artifactId>pcep-controller-config</artifactId>
384 <version>${bgpcep.version}</version>
387 <!-- lispflowmapping -->
389 <groupId>org.opendaylight.lispflowmapping</groupId>
390 <artifactId>mappingservice.yangmodel</artifactId>
391 <version>${lispflowmapping.version}</version>
395 <groupId>org.opendaylight.lispflowmapping</groupId>
396 <artifactId>mappingservice.api</artifactId>
397 <version>${lispflowmapping.version}</version>
401 <groupId>org.opendaylight.lispflowmapping</groupId>
402 <artifactId>mappingservice.config</artifactId>
403 <version>${lispflowmapping.version}</version>
407 <groupId>org.opendaylight.lispflowmapping</groupId>
408 <artifactId>mappingservice.implementation</artifactId>
409 <version>${lispflowmapping.version}</version>
413 <groupId>org.opendaylight.lispflowmapping</groupId>
414 <artifactId>mappingservice.clusterdao</artifactId>
415 <version>${lispflowmapping.version}</version>
419 <groupId>org.opendaylight.lispflowmapping</groupId>
420 <artifactId>mappingservice.northbound</artifactId>
421 <version>${lispflowmapping.version}</version>
425 <groupId>org.opendaylight.lispflowmapping</groupId>
426 <artifactId>mappingservice.southbound</artifactId>
427 <version>${lispflowmapping.version}</version>
432 <groupId>org.opendaylight.snmp4sdn</groupId>
433 <artifactId>snmp4sdn</artifactId>
434 <version>0.1.2</version>
441 <directory>${project.build.directory}/generated-resources</directory>
442 <filtering>true</filtering>
447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-resources-plugin</artifactId>
449 <version>2.6</version>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-dependency-plugin</artifactId>
454 <version>2.8</version>
457 <id>unpack-shared-resources</id>
459 <goal>unpack-dependencies</goal>
461 <phase>generate-resources</phase>
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>
472 <id>unpack-provided-configs</id>
474 <goal>unpack-dependencies</goal>
476 <phase>generate-resources</phase>
478 <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
480 bgp-controller-config,
481 pcep-controller-config,
482 programming-controller-config,
483 </includeArtifactIds>
485 org.opendaylight.bgpcep,
487 <excludeTransitive>true</excludeTransitive>
488 <ignorePermissions>false</ignorePermissions>
494 <artifactId>maven-assembly-plugin</artifactId>
497 <id>distro-assembly</id>
498 <phase>package</phase>
504 <descriptor>src/assemble/bin.xml</descriptor>