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.8</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: TCP-MD5 artifacts
141 <groupId>org.opendaylight.bgpcep</groupId>
142 <artifactId>tcpmd5-api</artifactId>
143 <version>${bgpcep.version}</version>
146 <groupId>org.opendaylight.bgpcep</groupId>
147 <artifactId>tcpmd5-api-cfg</artifactId>
148 <version>${bgpcep.version}</version>
151 <groupId>org.opendaylight.bgpcep</groupId>
152 <artifactId>tcpmd5-jni</artifactId>
153 <version>${bgpcep.version}</version>
156 <groupId>org.opendaylight.bgpcep</groupId>
157 <artifactId>tcpmd5-jni-cfg</artifactId>
158 <version>${bgpcep.version}</version>
161 <groupId>org.opendaylight.bgpcep</groupId>
162 <artifactId>tcpmd5-netty</artifactId>
163 <version>${bgpcep.version}</version>
166 <groupId>org.opendaylight.bgpcep</groupId>
167 <artifactId>tcpmd5-netty-cfg</artifactId>
168 <version>${bgpcep.version}</version>
171 <groupId>org.opendaylight.bgpcep</groupId>
172 <artifactId>tcpmd5-nio</artifactId>
173 <version>${bgpcep.version}</version>
177 BGPCEP: topology artifacts
180 <groupId>org.opendaylight.bgpcep</groupId>
181 <artifactId>topology-api</artifactId>
182 <version>${bgpcep.version}</version>
185 <groupId>org.opendaylight.bgpcep</groupId>
186 <artifactId>topology-api-config</artifactId>
187 <version>${bgpcep.version}</version>
190 <groupId>org.opendaylight.bgpcep</groupId>
191 <artifactId>topology-tunnel-api</artifactId>
192 <version>${bgpcep.version}</version>
196 BGPCEP: BGP artifacts
199 <groupId>org.opendaylight.bgpcep</groupId>
200 <artifactId>bgp-concepts</artifactId>
201 <version>${bgpcep.version}</version>
204 <groupId>org.opendaylight.bgpcep</groupId>
205 <artifactId>bgp-linkstate</artifactId>
206 <version>${bgpcep.version}</version>
209 <groupId>org.opendaylight.bgpcep</groupId>
210 <artifactId>bgp-linkstate-config</artifactId>
211 <version>${bgpcep.version}</version>
214 <groupId>org.opendaylight.bgpcep</groupId>
215 <artifactId>bgp-parser-api</artifactId>
216 <version>${bgpcep.version}</version>
219 <groupId>org.opendaylight.bgpcep</groupId>
220 <artifactId>bgp-parser-impl</artifactId>
221 <version>${bgpcep.version}</version>
224 <groupId>org.opendaylight.bgpcep</groupId>
225 <artifactId>bgp-parser-spi-config</artifactId>
226 <version>${bgpcep.version}</version>
229 <groupId>org.opendaylight.bgpcep</groupId>
230 <artifactId>bgp-parser-spi</artifactId>
231 <version>${bgpcep.version}</version>
234 <groupId>org.opendaylight.bgpcep</groupId>
235 <artifactId>bgp-rib-api-config</artifactId>
236 <version>${bgpcep.version}</version>
239 <groupId>org.opendaylight.bgpcep</groupId>
240 <artifactId>bgp-rib-api</artifactId>
241 <version>${bgpcep.version}</version>
244 <groupId>org.opendaylight.bgpcep</groupId>
245 <artifactId>bgp-rib-impl-config</artifactId>
246 <version>${bgpcep.version}</version>
249 <groupId>org.opendaylight.bgpcep</groupId>
250 <artifactId>bgp-rib-impl</artifactId>
251 <version>${bgpcep.version}</version>
254 <groupId>org.opendaylight.bgpcep</groupId>
255 <artifactId>bgp-rib-spi</artifactId>
256 <version>${bgpcep.version}</version>
259 <groupId>org.opendaylight.bgpcep</groupId>
260 <artifactId>bgp-rib-spi-config</artifactId>
261 <version>${bgpcep.version}</version>
264 <groupId>org.opendaylight.bgpcep</groupId>
265 <artifactId>bgp-topology-provider</artifactId>
266 <version>${bgpcep.version}</version>
269 <groupId>org.opendaylight.bgpcep</groupId>
270 <artifactId>bgp-topology-provider-config</artifactId>
271 <version>${bgpcep.version}</version>
274 <groupId>org.opendaylight.bgpcep</groupId>
275 <artifactId>bgp-util</artifactId>
276 <version>${bgpcep.version}</version>
279 <groupId>org.opendaylight.bgpcep</groupId>
280 <artifactId>bgp-controller-config</artifactId>
281 <version>${bgpcep.version}</version>
285 BGPCEP: Programming artifacts
288 <groupId>org.opendaylight.bgpcep</groupId>
289 <artifactId>programming-api</artifactId>
290 <version>${bgpcep.version}</version>
293 <groupId>org.opendaylight.bgpcep</groupId>
294 <artifactId>programming-impl</artifactId>
295 <version>${bgpcep.version}</version>
298 <groupId>org.opendaylight.bgpcep</groupId>
299 <artifactId>programming-impl-config</artifactId>
300 <version>${bgpcep.version}</version>
303 <groupId>org.opendaylight.bgpcep</groupId>
304 <artifactId>programming-spi</artifactId>
305 <version>${bgpcep.version}</version>
308 <groupId>org.opendaylight.bgpcep</groupId>
309 <artifactId>programming-spi-config</artifactId>
310 <version>${bgpcep.version}</version>
313 <groupId>org.opendaylight.bgpcep</groupId>
314 <artifactId>programming-topology-api</artifactId>
315 <version>${bgpcep.version}</version>
318 <groupId>org.opendaylight.bgpcep</groupId>
319 <artifactId>programming-tunnel-api</artifactId>
320 <version>${bgpcep.version}</version>
323 <groupId>org.opendaylight.bgpcep</groupId>
324 <artifactId>programming-controller-config</artifactId>
325 <version>${bgpcep.version}</version>
329 BGPCEP: Programming artifacts
332 <groupId>org.opendaylight.bgpcep</groupId>
333 <artifactId>rsvp-api</artifactId>
334 <version>${bgpcep.version}</version>
338 BGPCEP: PCEP artifacts
341 <groupId>org.opendaylight.bgpcep</groupId>
342 <artifactId>pcep-api-config</artifactId>
343 <version>${bgpcep.version}</version>
346 <groupId>org.opendaylight.bgpcep</groupId>
347 <artifactId>pcep-api</artifactId>
348 <version>${bgpcep.version}</version>
351 <groupId>org.opendaylight.bgpcep</groupId>
352 <artifactId>pcep-ietf-stateful02</artifactId>
353 <version>${bgpcep.version}</version>
356 <groupId>org.opendaylight.bgpcep</groupId>
357 <artifactId>pcep-ietf-stateful07</artifactId>
358 <version>${bgpcep.version}</version>
361 <groupId>org.opendaylight.bgpcep</groupId>
362 <artifactId>pcep-impl-config</artifactId>
363 <version>${bgpcep.version}</version>
366 <groupId>org.opendaylight.bgpcep</groupId>
367 <artifactId>pcep-impl</artifactId>
368 <version>${bgpcep.version}</version>
371 <groupId>org.opendaylight.bgpcep</groupId>
372 <artifactId>pcep-spi</artifactId>
373 <version>${bgpcep.version}</version>
376 <groupId>org.opendaylight.bgpcep</groupId>
377 <artifactId>pcep-spi-config</artifactId>
378 <version>${bgpcep.version}</version>
381 <groupId>org.opendaylight.bgpcep</groupId>
382 <artifactId>pcep-testtool</artifactId>
383 <version>${bgpcep.version}</version>
386 <groupId>org.opendaylight.bgpcep</groupId>
387 <artifactId>pcep-topology-api</artifactId>
388 <version>${bgpcep.version}</version>
391 <groupId>org.opendaylight.bgpcep</groupId>
392 <artifactId>pcep-topology-provider</artifactId>
393 <version>${bgpcep.version}</version>
396 <groupId>org.opendaylight.bgpcep</groupId>
397 <artifactId>pcep-topology-provider-config</artifactId>
398 <version>${bgpcep.version}</version>
401 <groupId>org.opendaylight.bgpcep</groupId>
402 <artifactId>pcep-topology-spi</artifactId>
403 <version>${bgpcep.version}</version>
406 <groupId>org.opendaylight.bgpcep</groupId>
407 <artifactId>pcep-tunnel-api</artifactId>
408 <version>${bgpcep.version}</version>
411 <groupId>org.opendaylight.bgpcep</groupId>
412 <artifactId>pcep-tunnel-provider</artifactId>
413 <version>${bgpcep.version}</version>
416 <groupId>org.opendaylight.bgpcep</groupId>
417 <artifactId>pcep-tunnel-provider-config</artifactId>
418 <version>${bgpcep.version}</version>
421 <groupId>org.opendaylight.bgpcep</groupId>
422 <artifactId>pcep-controller-config</artifactId>
423 <version>${bgpcep.version}</version>
426 <!-- lispflowmapping -->
428 <groupId>org.opendaylight.lispflowmapping</groupId>
429 <artifactId>mappingservice.yangmodel</artifactId>
430 <version>${lispflowmapping.version}</version>
434 <groupId>org.opendaylight.lispflowmapping</groupId>
435 <artifactId>mappingservice.api</artifactId>
436 <version>${lispflowmapping.version}</version>
440 <groupId>org.opendaylight.lispflowmapping</groupId>
441 <artifactId>mappingservice.config</artifactId>
442 <version>${lispflowmapping.version}</version>
446 <groupId>org.opendaylight.lispflowmapping</groupId>
447 <artifactId>mappingservice.implementation</artifactId>
448 <version>${lispflowmapping.version}</version>
452 <groupId>org.opendaylight.lispflowmapping</groupId>
453 <artifactId>mappingservice.clusterdao</artifactId>
454 <version>${lispflowmapping.version}</version>
458 <groupId>org.opendaylight.lispflowmapping</groupId>
459 <artifactId>mappingservice.northbound</artifactId>
460 <version>${lispflowmapping.version}</version>
464 <groupId>org.opendaylight.lispflowmapping</groupId>
465 <artifactId>mappingservice.southbound</artifactId>
466 <version>${lispflowmapping.version}</version>
471 <groupId>org.opendaylight.snmp4sdn</groupId>
472 <artifactId>snmp4sdn</artifactId>
473 <version>0.1.2</version>
480 <directory>${project.build.directory}/generated-resources</directory>
481 <filtering>true</filtering>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-resources-plugin</artifactId>
488 <version>2.6</version>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-dependency-plugin</artifactId>
493 <version>2.8</version>
496 <id>unpack-shared-resources</id>
498 <goal>unpack-dependencies</goal>
500 <phase>generate-resources</phase>
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>
511 <id>unpack-provided-configs</id>
513 <goal>unpack-dependencies</goal>
515 <phase>generate-resources</phase>
517 <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
519 bgp-controller-config,
520 pcep-controller-config,
521 programming-controller-config,
522 </includeArtifactIds>
524 org.opendaylight.bgpcep,
526 <excludeTransitive>true</excludeTransitive>
527 <ignorePermissions>false</ignorePermissions>
533 <artifactId>maven-assembly-plugin</artifactId>
536 <id>distro-assembly</id>
537 <phase>package</phase>
543 <descriptor>src/assemble/bin.xml</descriptor>