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.2.0-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.10</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.2.0-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-jni</artifactId>
148 <version>${bgpcep.version}</version>
151 <groupId>org.opendaylight.bgpcep</groupId>
152 <artifactId>tcpmd5-netty</artifactId>
153 <version>${bgpcep.version}</version>
156 <groupId>org.opendaylight.bgpcep</groupId>
157 <artifactId>tcpmd5-nio</artifactId>
158 <version>${bgpcep.version}</version>
161 <groupId>org.opendaylight.bgpcep</groupId>
162 <artifactId>tcpmd5-controller-config</artifactId>
163 <version>${bgpcep.version}</version>
167 BGPCEP: topology artifacts
170 <groupId>org.opendaylight.bgpcep</groupId>
171 <artifactId>topology-api</artifactId>
172 <version>${bgpcep.version}</version>
175 <groupId>org.opendaylight.bgpcep</groupId>
176 <artifactId>topology-tunnel-api</artifactId>
177 <version>${bgpcep.version}</version>
181 BGPCEP: BGP artifacts
184 <groupId>org.opendaylight.bgpcep</groupId>
185 <artifactId>bgp-concepts</artifactId>
186 <version>${bgpcep.version}</version>
189 <groupId>org.opendaylight.bgpcep</groupId>
190 <artifactId>bgp-linkstate</artifactId>
191 <version>${bgpcep.version}</version>
194 <groupId>org.opendaylight.bgpcep</groupId>
195 <artifactId>bgp-parser-api</artifactId>
196 <version>${bgpcep.version}</version>
199 <groupId>org.opendaylight.bgpcep</groupId>
200 <artifactId>bgp-parser-impl</artifactId>
201 <version>${bgpcep.version}</version>
204 <groupId>org.opendaylight.bgpcep</groupId>
205 <artifactId>bgp-parser-spi</artifactId>
206 <version>${bgpcep.version}</version>
209 <groupId>org.opendaylight.bgpcep</groupId>
210 <artifactId>bgp-rib-api</artifactId>
211 <version>${bgpcep.version}</version>
214 <groupId>org.opendaylight.bgpcep</groupId>
215 <artifactId>bgp-rib-impl</artifactId>
216 <version>${bgpcep.version}</version>
219 <groupId>org.opendaylight.bgpcep</groupId>
220 <artifactId>bgp-rib-spi</artifactId>
221 <version>${bgpcep.version}</version>
224 <groupId>org.opendaylight.bgpcep</groupId>
225 <artifactId>bgp-topology-provider</artifactId>
226 <version>${bgpcep.version}</version>
229 <groupId>org.opendaylight.bgpcep</groupId>
230 <artifactId>bgp-util</artifactId>
231 <version>${bgpcep.version}</version>
234 <groupId>org.opendaylight.bgpcep</groupId>
235 <artifactId>bgp-controller-config</artifactId>
236 <version>${bgpcep.version}</version>
240 BGPCEP: Programming artifacts
243 <groupId>org.opendaylight.bgpcep</groupId>
244 <artifactId>programming-api</artifactId>
245 <version>${bgpcep.version}</version>
248 <groupId>org.opendaylight.bgpcep</groupId>
249 <artifactId>programming-impl</artifactId>
250 <version>${bgpcep.version}</version>
253 <groupId>org.opendaylight.bgpcep</groupId>
254 <artifactId>programming-spi</artifactId>
255 <version>${bgpcep.version}</version>
258 <groupId>org.opendaylight.bgpcep</groupId>
259 <artifactId>programming-topology-api</artifactId>
260 <version>${bgpcep.version}</version>
263 <groupId>org.opendaylight.bgpcep</groupId>
264 <artifactId>programming-tunnel-api</artifactId>
265 <version>${bgpcep.version}</version>
268 <groupId>org.opendaylight.bgpcep</groupId>
269 <artifactId>programming-controller-config</artifactId>
270 <version>${bgpcep.version}</version>
274 BGPCEP: Programming artifacts
277 <groupId>org.opendaylight.bgpcep</groupId>
278 <artifactId>rsvp-api</artifactId>
279 <version>${bgpcep.version}</version>
283 BGPCEP: PCEP artifacts
286 <groupId>org.opendaylight.bgpcep</groupId>
287 <artifactId>pcep-api</artifactId>
288 <version>${bgpcep.version}</version>
291 <groupId>org.opendaylight.bgpcep</groupId>
292 <artifactId>pcep-ietf-stateful02</artifactId>
293 <version>${bgpcep.version}</version>
296 <groupId>org.opendaylight.bgpcep</groupId>
297 <artifactId>pcep-ietf-stateful07</artifactId>
298 <version>${bgpcep.version}</version>
301 <groupId>org.opendaylight.bgpcep</groupId>
302 <artifactId>pcep-impl</artifactId>
303 <version>${bgpcep.version}</version>
306 <groupId>org.opendaylight.bgpcep</groupId>
307 <artifactId>pcep-spi</artifactId>
308 <version>${bgpcep.version}</version>
311 <groupId>org.opendaylight.bgpcep</groupId>
312 <artifactId>pcep-testtool</artifactId>
313 <version>${bgpcep.version}</version>
316 <groupId>org.opendaylight.bgpcep</groupId>
317 <artifactId>pcep-topology-api</artifactId>
318 <version>${bgpcep.version}</version>
321 <groupId>org.opendaylight.bgpcep</groupId>
322 <artifactId>pcep-topology-provider</artifactId>
323 <version>${bgpcep.version}</version>
326 <groupId>org.opendaylight.bgpcep</groupId>
327 <artifactId>pcep-topology-spi</artifactId>
328 <version>${bgpcep.version}</version>
331 <groupId>org.opendaylight.bgpcep</groupId>
332 <artifactId>pcep-tunnel-api</artifactId>
333 <version>${bgpcep.version}</version>
336 <groupId>org.opendaylight.bgpcep</groupId>
337 <artifactId>pcep-tunnel-provider</artifactId>
338 <version>${bgpcep.version}</version>
341 <groupId>org.opendaylight.bgpcep</groupId>
342 <artifactId>pcep-controller-config</artifactId>
343 <version>${bgpcep.version}</version>
346 <!-- lispflowmapping -->
348 <groupId>org.opendaylight.lispflowmapping</groupId>
349 <artifactId>mappingservice.yangmodel</artifactId>
350 <version>${lispflowmapping.version}</version>
354 <groupId>org.opendaylight.lispflowmapping</groupId>
355 <artifactId>mappingservice.api</artifactId>
356 <version>${lispflowmapping.version}</version>
360 <groupId>org.opendaylight.lispflowmapping</groupId>
361 <artifactId>mappingservice.config</artifactId>
362 <version>${lispflowmapping.version}</version>
366 <groupId>org.opendaylight.lispflowmapping</groupId>
367 <artifactId>mappingservice.implementation</artifactId>
368 <version>${lispflowmapping.version}</version>
372 <groupId>org.opendaylight.lispflowmapping</groupId>
373 <artifactId>mappingservice.clusterdao</artifactId>
374 <version>${lispflowmapping.version}</version>
378 <groupId>org.opendaylight.lispflowmapping</groupId>
379 <artifactId>mappingservice.northbound</artifactId>
380 <version>${lispflowmapping.version}</version>
384 <groupId>org.opendaylight.lispflowmapping</groupId>
385 <artifactId>mappingservice.southbound</artifactId>
386 <version>${lispflowmapping.version}</version>
391 <groupId>org.opendaylight.snmp4sdn</groupId>
392 <artifactId>snmp4sdn</artifactId>
393 <version>0.1.2</version>
400 <directory>${project.build.directory}/generated-resources</directory>
401 <filtering>true</filtering>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-resources-plugin</artifactId>
408 <version>2.6</version>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-dependency-plugin</artifactId>
413 <version>2.8</version>
416 <id>unpack-shared-resources</id>
418 <goal>unpack-dependencies</goal>
420 <phase>generate-resources</phase>
422 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
423 <includeArtifacIds>distributions-base</includeArtifacIds>
424 <includeGroupIds>org.opendaylight.integration</includeGroupIds>
425 <excludeTransitive>true</excludeTransitive>
426 <ignorePermissions>false</ignorePermissions>
431 <id>unpack-provided-configs</id>
433 <goal>unpack-dependencies</goal>
435 <phase>generate-resources</phase>
437 <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
439 bgp-controller-config,
440 pcep-controller-config,
441 programming-controller-config,
442 tcpmd5-controller-config,
443 </includeArtifactIds>
445 org.opendaylight.bgpcep,
447 <excludeTransitive>true</excludeTransitive>
448 <ignorePermissions>false</ignorePermissions>
454 <artifactId>maven-assembly-plugin</artifactId>
457 <id>distro-assembly</id>
458 <phase>package</phase>
464 <descriptor>src/assemble/bin.xml</descriptor>