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.bgp.version>0.3.1-SNAPSHOT</bgpcep.bgp.version>
22 <bgpcep.common.version>0.3.1-SNAPSHOT</bgpcep.common.version>
23 <bgpcep.pcep.version>0.3.1-SNAPSHOT</bgpcep.pcep.version>
24 <bgpcep.programming.version>0.3.1-SNAPSHOT</bgpcep.programming.version>
25 <bgpcep.rsvp.version>0.3.1-SNAPSHOT</bgpcep.rsvp.version>
26 <bgpcep.topology.version>0.3.1-SNAPSHOT</bgpcep.topology.version>
27 <lispflowmapping.version>1.1.6-SNAPSHOT</lispflowmapping.version>
29 <ietf.topology.version>2013.10.21.2-SNAPSHOT</ietf.topology.version>
34 <groupId>org.opendaylight.integration</groupId>
35 <artifactId>distributions-base</artifactId>
36 <version>0.1.2-SNAPSHOT</version>
38 <classifier>osgipackage</classifier>
39 <!-- Make sure this isn't included on any classpath-->
40 <scope>provided</scope>
45 <groupId>org.opendaylight.affinity</groupId>
46 <artifactId>affinity</artifactId>
47 <version>0.4.2-SNAPSHOT</version>
51 <groupId>org.opendaylight.affinity</groupId>
52 <artifactId>affinity.implementation</artifactId>
53 <version>0.4.2-SNAPSHOT</version>
57 <groupId>org.opendaylight.affinity</groupId>
58 <artifactId>affinity.northbound</artifactId>
59 <version>0.4.2-SNAPSHOT</version>
63 <groupId>org.opendaylight.affinity</groupId>
64 <artifactId>flatl2</artifactId>
65 <version>0.4.2-SNAPSHOT</version>
69 <groupId>org.opendaylight.affinity</groupId>
70 <artifactId>flatl2.northbound</artifactId>
71 <version>0.4.2-SNAPSHOT</version>
75 <groupId>org.opendaylight.affinity</groupId>
76 <artifactId>l2agent</artifactId>
77 <version>0.4.2-SNAPSHOT</version>
81 <groupId>org.opendaylight.affinity</groupId>
82 <artifactId>analytics</artifactId>
83 <version>0.4.2-SNAPSHOT</version>
87 <groupId>org.opendaylight.affinity</groupId>
88 <artifactId>analytics.implementation</artifactId>
89 <version>0.4.2-SNAPSHOT</version>
93 <groupId>org.opendaylight.affinity</groupId>
94 <artifactId>analytics.northbound</artifactId>
95 <version>0.4.2-SNAPSHOT</version>
100 BGPCEP: required IETF models
103 <groupId>org.opendaylight.yangtools.model</groupId>
104 <artifactId>ietf-ted</artifactId>
105 <version>${ietf.topology.version}</version>
108 <groupId>org.opendaylight.yangtools.model</groupId>
109 <artifactId>ietf-topology</artifactId>
110 <version>${ietf.topology.version}</version>
113 <groupId>org.opendaylight.yangtools.model</groupId>
114 <artifactId>ietf-topology-isis</artifactId>
115 <version>${ietf.topology.version}</version>
118 <groupId>org.opendaylight.yangtools.model</groupId>
119 <artifactId>ietf-topology-l3-unicast-igp</artifactId>
120 <version>${ietf.topology.version}</version>
123 <groupId>org.opendaylight.yangtools.model</groupId>
124 <artifactId>ietf-topology-ospf</artifactId>
125 <version>${ietf.topology.version}</version>
129 BGPCEP: common artifacts
132 <groupId>org.opendaylight.bgpcep</groupId>
133 <artifactId>concepts</artifactId>
134 <version>${bgpcep.common.version}</version>
137 <groupId>org.opendaylight.bgpcep</groupId>
138 <artifactId>util</artifactId>
139 <version>${bgpcep.common.version}</version>
143 BGPCEP: topology artifacts
146 <groupId>org.opendaylight.bgpcep</groupId>
147 <artifactId>topology-api</artifactId>
148 <version>${bgpcep.topology.version}</version>
151 <groupId>org.opendaylight.bgpcep</groupId>
152 <artifactId>topology-api-config</artifactId>
153 <version>${bgpcep.topology.version}</version>
156 <groupId>org.opendaylight.bgpcep</groupId>
157 <artifactId>topology-tunnel-api</artifactId>
158 <version>${bgpcep.topology.version}</version>
162 BGPCEP: BGP artifacts
165 <groupId>org.opendaylight.bgpcep</groupId>
166 <artifactId>bgp-concepts</artifactId>
167 <version>${bgpcep.bgp.version}</version>
170 <groupId>org.opendaylight.bgpcep</groupId>
171 <artifactId>bgp-linkstate</artifactId>
172 <version>${bgpcep.bgp.version}</version>
175 <groupId>org.opendaylight.bgpcep</groupId>
176 <artifactId>bgp-linkstate-config</artifactId>
177 <version>${bgpcep.bgp.version}</version>
180 <groupId>org.opendaylight.bgpcep</groupId>
181 <artifactId>bgp-parser-api</artifactId>
182 <version>${bgpcep.bgp.version}</version>
185 <groupId>org.opendaylight.bgpcep</groupId>
186 <artifactId>bgp-parser-impl</artifactId>
187 <version>${bgpcep.bgp.version}</version>
190 <groupId>org.opendaylight.bgpcep</groupId>
191 <artifactId>bgp-parser-spi-config</artifactId>
192 <version>${bgpcep.bgp.version}</version>
195 <groupId>org.opendaylight.bgpcep</groupId>
196 <artifactId>bgp-parser-spi</artifactId>
197 <version>${bgpcep.bgp.version}</version>
200 <groupId>org.opendaylight.bgpcep</groupId>
201 <artifactId>bgp-rib-api-config</artifactId>
202 <version>${bgpcep.bgp.version}</version>
205 <groupId>org.opendaylight.bgpcep</groupId>
206 <artifactId>bgp-rib-api</artifactId>
207 <version>${bgpcep.bgp.version}</version>
210 <groupId>org.opendaylight.bgpcep</groupId>
211 <artifactId>bgp-rib-impl-config</artifactId>
212 <version>${bgpcep.bgp.version}</version>
215 <groupId>org.opendaylight.bgpcep</groupId>
216 <artifactId>bgp-rib-impl</artifactId>
217 <version>${bgpcep.bgp.version}</version>
220 <groupId>org.opendaylight.bgpcep</groupId>
221 <artifactId>bgp-rib-spi</artifactId>
222 <version>${bgpcep.bgp.version}</version>
225 <groupId>org.opendaylight.bgpcep</groupId>
226 <artifactId>bgp-rib-spi-config</artifactId>
227 <version>${bgpcep.bgp.version}</version>
230 <groupId>org.opendaylight.bgpcep</groupId>
231 <artifactId>bgp-topology-provider</artifactId>
232 <version>${bgpcep.bgp.version}</version>
235 <groupId>org.opendaylight.bgpcep</groupId>
236 <artifactId>bgp-topology-provider-config</artifactId>
237 <version>${bgpcep.bgp.version}</version>
240 <groupId>org.opendaylight.bgpcep</groupId>
241 <artifactId>bgp-util</artifactId>
242 <version>${bgpcep.bgp.version}</version>
245 <groupId>org.opendaylight.bgpcep</groupId>
246 <artifactId>bgp-controller-config</artifactId>
247 <version>${bgpcep.bgp.version}</version>
251 BGPCEP: Programming artifacts
254 <groupId>org.opendaylight.bgpcep</groupId>
255 <artifactId>programming-api</artifactId>
256 <version>${bgpcep.programming.version}</version>
259 <groupId>org.opendaylight.bgpcep</groupId>
260 <artifactId>programming-impl</artifactId>
261 <version>${bgpcep.programming.version}</version>
264 <groupId>org.opendaylight.bgpcep</groupId>
265 <artifactId>programming-impl-config</artifactId>
266 <version>${bgpcep.programming.version}</version>
269 <groupId>org.opendaylight.bgpcep</groupId>
270 <artifactId>programming-spi</artifactId>
271 <version>${bgpcep.programming.version}</version>
274 <groupId>org.opendaylight.bgpcep</groupId>
275 <artifactId>programming-spi-config</artifactId>
276 <version>${bgpcep.programming.version}</version>
279 <groupId>org.opendaylight.bgpcep</groupId>
280 <artifactId>programming-topology-api</artifactId>
281 <version>${bgpcep.programming.version}</version>
284 <groupId>org.opendaylight.bgpcep</groupId>
285 <artifactId>programming-tunnel-api</artifactId>
286 <version>${bgpcep.programming.version}</version>
289 <groupId>org.opendaylight.bgpcep</groupId>
290 <artifactId>programming-controller-config</artifactId>
291 <version>${bgpcep.programming.version}</version>
295 BGPCEP: Programming artifacts
298 <groupId>org.opendaylight.bgpcep</groupId>
299 <artifactId>rsvp-api</artifactId>
300 <version>${bgpcep.rsvp.version}</version>
304 BGPCEP: PCEP artifacts
307 <groupId>org.opendaylight.bgpcep</groupId>
308 <artifactId>pcep-api-config</artifactId>
309 <version>${bgpcep.pcep.version}</version>
312 <groupId>org.opendaylight.bgpcep</groupId>
313 <artifactId>pcep-api</artifactId>
314 <version>${bgpcep.pcep.version}</version>
317 <groupId>org.opendaylight.bgpcep</groupId>
318 <artifactId>pcep-ietf-stateful02</artifactId>
319 <version>${bgpcep.pcep.version}</version>
322 <groupId>org.opendaylight.bgpcep</groupId>
323 <artifactId>pcep-ietf-stateful07</artifactId>
324 <version>${bgpcep.pcep.version}</version>
327 <groupId>org.opendaylight.bgpcep</groupId>
328 <artifactId>pcep-impl-config</artifactId>
329 <version>${bgpcep.pcep.version}</version>
332 <groupId>org.opendaylight.bgpcep</groupId>
333 <artifactId>pcep-impl</artifactId>
334 <version>${bgpcep.pcep.version}</version>
337 <groupId>org.opendaylight.bgpcep</groupId>
338 <artifactId>pcep-spi</artifactId>
339 <version>${bgpcep.pcep.version}</version>
342 <groupId>org.opendaylight.bgpcep</groupId>
343 <artifactId>pcep-spi-config</artifactId>
344 <version>${bgpcep.pcep.version}</version>
347 <groupId>org.opendaylight.bgpcep</groupId>
348 <artifactId>pcep-testtool</artifactId>
349 <version>${bgpcep.pcep.version}</version>
352 <groupId>org.opendaylight.bgpcep</groupId>
353 <artifactId>pcep-topology-api</artifactId>
354 <version>${bgpcep.pcep.version}</version>
357 <groupId>org.opendaylight.bgpcep</groupId>
358 <artifactId>pcep-topology-provider</artifactId>
359 <version>${bgpcep.pcep.version}</version>
362 <groupId>org.opendaylight.bgpcep</groupId>
363 <artifactId>pcep-topology-provider-config</artifactId>
364 <version>${bgpcep.pcep.version}</version>
367 <groupId>org.opendaylight.bgpcep</groupId>
368 <artifactId>pcep-topology-spi</artifactId>
369 <version>${bgpcep.pcep.version}</version>
372 <groupId>org.opendaylight.bgpcep</groupId>
373 <artifactId>pcep-tunnel-api</artifactId>
374 <version>${bgpcep.pcep.version}</version>
377 <groupId>org.opendaylight.bgpcep</groupId>
378 <artifactId>pcep-tunnel-provider</artifactId>
379 <version>${bgpcep.pcep.version}</version>
382 <groupId>org.opendaylight.bgpcep</groupId>
383 <artifactId>pcep-tunnel-provider-config</artifactId>
384 <version>${bgpcep.pcep.version}</version>
387 <groupId>org.opendaylight.bgpcep</groupId>
388 <artifactId>pcep-controller-config</artifactId>
389 <version>${bgpcep.pcep.version}</version>
392 <!-- lispflowmapping -->
394 <groupId>org.opendaylight.lispflowmapping</groupId>
395 <artifactId>mappingservice.yangmodel</artifactId>
396 <version>${lispflowmapping.version}</version>
400 <groupId>org.opendaylight.lispflowmapping</groupId>
401 <artifactId>mappingservice.api</artifactId>
402 <version>${lispflowmapping.version}</version>
406 <groupId>org.opendaylight.lispflowmapping</groupId>
407 <artifactId>mappingservice.config</artifactId>
408 <version>${lispflowmapping.version}</version>
412 <groupId>org.opendaylight.lispflowmapping</groupId>
413 <artifactId>mappingservice.implementation</artifactId>
414 <version>${lispflowmapping.version}</version>
418 <groupId>org.opendaylight.lispflowmapping</groupId>
419 <artifactId>mappingservice.clusterdao</artifactId>
420 <version>${lispflowmapping.version}</version>
424 <groupId>org.opendaylight.lispflowmapping</groupId>
425 <artifactId>mappingservice.northbound</artifactId>
426 <version>${lispflowmapping.version}</version>
430 <groupId>org.opendaylight.lispflowmapping</groupId>
431 <artifactId>mappingservice.southbound</artifactId>
432 <version>${lispflowmapping.version}</version>
437 <groupId>org.opendaylight.snmp4sdn</groupId>
438 <artifactId>snmp4sdn</artifactId>
439 <version>0.1.2</version>
446 <directory>${project.build.directory}/generated-resources</directory>
447 <filtering>true</filtering>
452 <groupId>org.apache.maven.plugins</groupId>
453 <artifactId>maven-resources-plugin</artifactId>
454 <version>2.6</version>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-dependency-plugin</artifactId>
459 <version>2.8</version>
462 <id>unpack-shared-resources</id>
464 <goal>unpack-dependencies</goal>
466 <phase>generate-resources</phase>
468 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
469 <includeArtifacIds>distributions-base</includeArtifacIds>
470 <includeGroupIds>org.opendaylight.integration</includeGroupIds>
471 <excludeTransitive>true</excludeTransitive>
472 <ignorePermissions>false</ignorePermissions>
477 <id>unpack-provided-configs</id>
479 <goal>unpack-dependencies</goal>
481 <phase>generate-resources</phase>
483 <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
485 bgp-controller-config,
486 pcep-controller-config,
487 programming-controller-config,
488 </includeArtifactIds>
490 org.opendaylight.bgpcep,
492 <excludeTransitive>true</excludeTransitive>
493 <ignorePermissions>false</ignorePermissions>
499 <artifactId>maven-assembly-plugin</artifactId>
502 <id>distro-assembly</id>
503 <phase>package</phase>
509 <descriptor>src/assemble/bin.xml</descriptor>