Merge "Update pom.xml to use group maven repositories"
[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"
8 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
10 http://maven.apache.org/maven-v4_0_0.xsd">
11   <modelVersion>4.0.0</modelVersion>
12   <parent>
13     <groupId>org.opendaylight.integration</groupId>
14     <artifactId>distributions</artifactId>
15     <version>0.1.0-SNAPSHOT</version>
16     <relativePath>../</relativePath>
17   </parent>
18
19   <artifactId>distributions-serviceprovider</artifactId>
20   <packaging>pom</packaging>
21   <name>OpenDaylight Service Provider Edition</name>
22
23   <properties>
24     <bgpcep.bgp.version>0.3.0-SNAPSHOT</bgpcep.bgp.version>
25     <bgpcep.common.version>0.3.0-SNAPSHOT</bgpcep.common.version>
26     <bgpcep.pcep.version>0.3.0-SNAPSHOT</bgpcep.pcep.version>
27     <bgpcep.programming.version>0.3.0-SNAPSHOT</bgpcep.programming.version>
28     <bgpcep.rsvp.version>0.3.0-SNAPSHOT</bgpcep.rsvp.version>
29     <bgpcep.topology.version>0.3.0-SNAPSHOT</bgpcep.topology.version>
30
31     <ietf.topology.version>2013.10.21.0-SNAPSHOT</ietf.topology.version>
32   </properties>
33
34   <dependencies>
35     <dependency>
36       <groupId>org.opendaylight.integration</groupId>
37       <artifactId>distributions-base</artifactId>
38       <version>0.1.0-SNAPSHOT</version>
39       <type>zip</type>
40       <classifier>osgipackage</classifier>
41       <!-- Make sure this isn't included on any classpath-->
42       <scope>provided</scope>
43     </dependency>
44
45         <!--
46     <dependency>
47       <groupId>org.opendaylight.defense4all</groupId>
48       <artifactId>defense4all.core.impl</artifactId>
49       <version>0.0.1-SNAPSHOT</version>
50     </dependency>
51
52     <dependency>
53       <groupId>org.opendaylight.defense4all</groupId>
54       <artifactId>framework.core.impl</artifactId>
55       <version>0.0.1-SNAPSHOT</version>
56     </dependency>
57
58     <dependency>
59       <groupId>org.opendaylight.defense4all</groupId>
60       <artifactId>restservice</artifactId>
61       <version>0.0.1-SNAPSHOT</version>
62     </dependency>
63     -->
64
65     <!-- affinity -->
66     <dependency>
67       <groupId>org.opendaylight.affinity</groupId>
68       <artifactId>affinity</artifactId>
69       <version>0.4.1-SNAPSHOT</version>
70     </dependency>
71
72     <dependency>
73       <groupId>org.opendaylight.affinity</groupId>
74       <artifactId>affinity.implementation</artifactId>
75       <version>0.4.1-SNAPSHOT</version>
76     </dependency>
77
78     <dependency>
79       <groupId>org.opendaylight.affinity</groupId>
80       <artifactId>affinity.northbound</artifactId>
81       <version>0.4.1-SNAPSHOT</version>
82     </dependency>
83
84     <dependency>
85       <groupId>org.opendaylight.affinity</groupId>
86       <artifactId>flatl2</artifactId>
87       <version>0.4.1-SNAPSHOT</version>
88     </dependency>
89
90     <dependency>
91       <groupId>org.opendaylight.affinity</groupId>
92       <artifactId>l2agent</artifactId>
93       <version>0.4.1-SNAPSHOT</version>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.affinity</groupId>
98       <artifactId>analytics</artifactId>
99       <version>0.4.1-SNAPSHOT</version>
100     </dependency>
101
102     <dependency>
103       <groupId>org.opendaylight.affinity</groupId>
104       <artifactId>analytics.implementation</artifactId>
105       <version>0.4.1-SNAPSHOT</version>
106     </dependency>
107
108     <dependency>
109       <groupId>org.opendaylight.affinity</groupId>
110       <artifactId>analytics.northbound</artifactId>
111       <version>0.4.1-SNAPSHOT</version>
112     </dependency>
113
114
115     <!--
116          BGPCEP: required IETF models
117          -->
118     <dependency>
119       <groupId>org.opendaylight.yangtools.model</groupId>
120       <artifactId>ietf-ted</artifactId>
121       <version>${ietf.topology.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.yangtools.model</groupId>
125       <artifactId>ietf-topology</artifactId>
126       <version>${ietf.topology.version}</version>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.yangtools.model</groupId>
130       <artifactId>ietf-topology-isis</artifactId>
131       <version>${ietf.topology.version}</version>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.yangtools.model</groupId>
135       <artifactId>ietf-topology-l3-unicast-igp</artifactId>
136       <version>${ietf.topology.version}</version>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.yangtools.model</groupId>
140       <artifactId>ietf-topology-ospf</artifactId>
141       <version>${ietf.topology.version}</version>
142     </dependency>
143
144     <!--
145          BGPCEP: common artifacts
146          -->
147     <dependency>
148       <groupId>org.opendaylight.bgpcep</groupId>
149       <artifactId>concepts</artifactId>
150       <version>${bgpcep.common.version}</version>
151     </dependency>
152     <dependency>
153       <groupId>org.opendaylight.bgpcep</groupId>
154       <artifactId>util</artifactId>
155       <version>${bgpcep.common.version}</version>
156     </dependency>
157
158     <!--
159          BGPCEP: topology artifacts
160          -->
161     <dependency>
162       <groupId>org.opendaylight.bgpcep</groupId>
163       <artifactId>topology-api</artifactId>
164       <version>${bgpcep.topology.version}</version>
165     </dependency>
166     <dependency>
167       <groupId>org.opendaylight.bgpcep</groupId>
168       <artifactId>topology-api-config</artifactId>
169       <version>${bgpcep.topology.version}</version>
170     </dependency>
171     <dependency>
172       <groupId>org.opendaylight.bgpcep</groupId>
173       <artifactId>topology-tunnel-api</artifactId>
174       <version>${bgpcep.topology.version}</version>
175     </dependency>
176
177     <!--
178          BGPCEP: BGP artifacts
179          -->
180     <dependency>
181       <groupId>org.opendaylight.bgpcep</groupId>
182       <artifactId>bgp-concepts</artifactId>
183       <version>${bgpcep.bgp.version}</version>
184     </dependency>
185     <dependency>
186       <groupId>org.opendaylight.bgpcep</groupId>
187       <artifactId>bgp-linkstate</artifactId>
188       <version>${bgpcep.bgp.version}</version>
189     </dependency>
190     <dependency>
191       <groupId>org.opendaylight.bgpcep</groupId>
192       <artifactId>bgp-linkstate-config</artifactId>
193       <version>${bgpcep.bgp.version}</version>
194     </dependency>
195     <dependency>
196       <groupId>org.opendaylight.bgpcep</groupId>
197       <artifactId>bgp-parser-api</artifactId>
198       <version>${bgpcep.bgp.version}</version>
199     </dependency>
200     <dependency>
201       <groupId>org.opendaylight.bgpcep</groupId>
202       <artifactId>bgp-parser-impl</artifactId>
203       <version>${bgpcep.bgp.version}</version>
204     </dependency>
205     <dependency>
206       <groupId>org.opendaylight.bgpcep</groupId>
207       <artifactId>bgp-parser-spi-config</artifactId>
208       <version>${bgpcep.bgp.version}</version>
209     </dependency>
210     <dependency>
211       <groupId>org.opendaylight.bgpcep</groupId>
212       <artifactId>bgp-parser-spi</artifactId>
213       <version>${bgpcep.bgp.version}</version>
214     </dependency>
215     <dependency>
216       <groupId>org.opendaylight.bgpcep</groupId>
217       <artifactId>bgp-rib-api-config</artifactId>
218       <version>${bgpcep.bgp.version}</version>
219     </dependency>
220     <dependency>
221       <groupId>org.opendaylight.bgpcep</groupId>
222       <artifactId>bgp-rib-api</artifactId>
223       <version>${bgpcep.bgp.version}</version>
224     </dependency>
225     <dependency>
226       <groupId>org.opendaylight.bgpcep</groupId>
227       <artifactId>bgp-rib-impl-config</artifactId>
228       <version>${bgpcep.bgp.version}</version>
229     </dependency>
230     <dependency>
231       <groupId>org.opendaylight.bgpcep</groupId>
232       <artifactId>bgp-rib-impl</artifactId>
233       <version>${bgpcep.bgp.version}</version>
234     </dependency>
235     <dependency>
236       <groupId>org.opendaylight.bgpcep</groupId>
237       <artifactId>bgp-rib-spi</artifactId>
238       <version>${bgpcep.bgp.version}</version>
239     </dependency>
240     <dependency>
241       <groupId>org.opendaylight.bgpcep</groupId>
242       <artifactId>bgp-rib-spi-config</artifactId>
243       <version>${bgpcep.bgp.version}</version>
244     </dependency>
245     <dependency>
246       <groupId>org.opendaylight.bgpcep</groupId>
247       <artifactId>bgp-topology-provider</artifactId>
248       <version>${bgpcep.bgp.version}</version>
249     </dependency>
250     <dependency>
251       <groupId>org.opendaylight.bgpcep</groupId>
252       <artifactId>bgp-topology-provider-config</artifactId>
253       <version>${bgpcep.bgp.version}</version>
254     </dependency>
255     <dependency>
256       <groupId>org.opendaylight.bgpcep</groupId>
257       <artifactId>bgp-update-api-config</artifactId>
258       <version>${bgpcep.bgp.version}</version>
259     </dependency>
260     <dependency>
261       <groupId>org.opendaylight.bgpcep</groupId>
262       <artifactId>bgp-util</artifactId>
263       <version>${bgpcep.bgp.version}</version>
264     </dependency>
265     <dependency>
266       <groupId>org.opendaylight.bgpcep</groupId>
267       <artifactId>bgp-controller-config</artifactId>
268       <version>${bgpcep.bgp.version}</version>
269     </dependency>
270
271     <!--
272          BGPCEP: Programming artifacts
273          -->
274     <dependency>
275       <groupId>org.opendaylight.bgpcep</groupId>
276       <artifactId>programming-api</artifactId>
277       <version>${bgpcep.programming.version}</version>
278     </dependency>
279     <dependency>
280       <groupId>org.opendaylight.bgpcep</groupId>
281       <artifactId>programming-impl</artifactId>
282       <version>${bgpcep.programming.version}</version>
283     </dependency>
284     <dependency>
285       <groupId>org.opendaylight.bgpcep</groupId>
286       <artifactId>programming-impl-config</artifactId>
287       <version>${bgpcep.programming.version}</version>
288     </dependency>
289     <dependency>
290       <groupId>org.opendaylight.bgpcep</groupId>
291       <artifactId>programming-spi</artifactId>
292       <version>${bgpcep.programming.version}</version>
293     </dependency>
294     <dependency>
295       <groupId>org.opendaylight.bgpcep</groupId>
296       <artifactId>programming-spi-config</artifactId>
297       <version>${bgpcep.programming.version}</version>
298     </dependency>
299     <dependency>
300       <groupId>org.opendaylight.bgpcep</groupId>
301       <artifactId>programming-topology-api</artifactId>
302       <version>${bgpcep.programming.version}</version>
303     </dependency>
304     <dependency>
305       <groupId>org.opendaylight.bgpcep</groupId>
306       <artifactId>programming-tunnel-api</artifactId>
307       <version>${bgpcep.programming.version}</version>
308     </dependency>
309     <dependency>
310       <groupId>org.opendaylight.bgpcep</groupId>
311       <artifactId>programming-controller-config</artifactId>
312       <version>${bgpcep.programming.version}</version>
313     </dependency>
314
315     <!--
316          BGPCEP: Programming artifacts
317          -->
318     <dependency>
319       <groupId>org.opendaylight.bgpcep</groupId>
320       <artifactId>rsvp-api</artifactId>
321       <version>${bgpcep.rsvp.version}</version>
322     </dependency>
323
324     <!--
325          BGPCEP: PCEP artifacts
326          -->
327     <dependency>
328       <groupId>org.opendaylight.bgpcep</groupId>
329       <artifactId>pcep-api-config</artifactId>
330       <version>${bgpcep.pcep.version}</version>
331     </dependency>
332     <dependency>
333       <groupId>org.opendaylight.bgpcep</groupId>
334       <artifactId>pcep-api</artifactId>
335       <version>${bgpcep.pcep.version}</version>
336     </dependency>
337     <dependency>
338       <groupId>org.opendaylight.bgpcep</groupId>
339       <artifactId>pcep-ietf-stateful02</artifactId>
340       <version>${bgpcep.pcep.version}</version>
341     </dependency>
342     <dependency>
343       <groupId>org.opendaylight.bgpcep</groupId>
344       <artifactId>pcep-ietf-stateful07</artifactId>
345       <version>${bgpcep.pcep.version}</version>
346     </dependency>
347     <dependency>
348       <groupId>org.opendaylight.bgpcep</groupId>
349       <artifactId>pcep-impl-config</artifactId>
350       <version>${bgpcep.pcep.version}</version>
351     </dependency>
352     <dependency>
353       <groupId>org.opendaylight.bgpcep</groupId>
354       <artifactId>pcep-impl</artifactId>
355       <version>${bgpcep.pcep.version}</version>
356     </dependency>
357     <dependency>
358       <groupId>org.opendaylight.bgpcep</groupId>
359       <artifactId>pcep-spi</artifactId>
360       <version>${bgpcep.pcep.version}</version>
361     </dependency>
362     <dependency>
363       <groupId>org.opendaylight.bgpcep</groupId>
364       <artifactId>pcep-spi-config</artifactId>
365       <version>${bgpcep.pcep.version}</version>
366     </dependency>
367     <dependency>
368       <groupId>org.opendaylight.bgpcep</groupId>
369       <artifactId>pcep-testtool</artifactId>
370       <version>${bgpcep.pcep.version}</version>
371     </dependency>
372     <dependency>
373       <groupId>org.opendaylight.bgpcep</groupId>
374       <artifactId>pcep-topology-api</artifactId>
375       <version>${bgpcep.pcep.version}</version>
376     </dependency>
377     <dependency>
378       <groupId>org.opendaylight.bgpcep</groupId>
379       <artifactId>pcep-topology-provider</artifactId>
380       <version>${bgpcep.pcep.version}</version>
381     </dependency>
382     <dependency>
383       <groupId>org.opendaylight.bgpcep</groupId>
384       <artifactId>pcep-topology-provider-config</artifactId>
385       <version>${bgpcep.pcep.version}</version>
386     </dependency>
387     <dependency>
388       <groupId>org.opendaylight.bgpcep</groupId>
389       <artifactId>pcep-topology-spi</artifactId>
390       <version>${bgpcep.pcep.version}</version>
391     </dependency>
392     <dependency>
393       <groupId>org.opendaylight.bgpcep</groupId>
394       <artifactId>pcep-tunnel-api</artifactId>
395       <version>${bgpcep.pcep.version}</version>
396     </dependency>
397     <dependency>
398       <groupId>org.opendaylight.bgpcep</groupId>
399       <artifactId>pcep-tunnel-provider</artifactId>
400       <version>${bgpcep.pcep.version}</version>
401     </dependency>
402     <dependency>
403       <groupId>org.opendaylight.bgpcep</groupId>
404       <artifactId>pcep-tunnel-provider-config</artifactId>
405       <version>${bgpcep.pcep.version}</version>
406     </dependency>
407     <dependency>
408       <groupId>org.opendaylight.bgpcep</groupId>
409       <artifactId>pcep-controller-config</artifactId>
410       <version>${bgpcep.pcep.version}</version>
411     </dependency>
412
413     <!-- lispflowmapping -->
414         <dependency>
415       <groupId>org.opendaylight.lispflowmapping</groupId>
416       <artifactId>mappingservice.yangmodel</artifactId>
417       <version>1.0.0-SNAPSHOT</version>
418     </dependency>
419
420     <dependency>
421       <groupId>org.opendaylight.lispflowmapping</groupId>
422       <artifactId>mappingservice.api</artifactId>
423       <version>1.0.0-SNAPSHOT</version>
424     </dependency>
425     
426     <dependency>
427       <groupId>org.opendaylight.lispflowmapping</groupId>
428       <artifactId>mappingservice.config</artifactId>
429       <version>1.0.0-SNAPSHOT</version>
430     </dependency>
431
432     <dependency>
433       <groupId>org.opendaylight.lispflowmapping</groupId>
434       <artifactId>mappingservice.implementation</artifactId>
435       <version>1.0.0-SNAPSHOT</version>
436     </dependency>
437
438     <dependency>
439       <groupId>org.opendaylight.lispflowmapping</groupId>
440       <artifactId>mappingservice.northbound</artifactId>
441       <version>1.0.0-SNAPSHOT</version>
442     </dependency>
443
444     <dependency>
445       <groupId>org.opendaylight.lispflowmapping</groupId>
446       <artifactId>mappingservice.southbound</artifactId>
447       <version>1.0.0-SNAPSHOT</version>
448     </dependency>
449
450     <!--SNMP4SDN-->
451     <dependency>
452       <groupId>org.opendaylight.snmp4sdn</groupId>
453       <artifactId>snmp4sdn</artifactId>
454       <version>0.1.0-SNAPSHOT</version>
455     </dependency>
456
457   </dependencies>
458   <build>
459     <resources>
460       <resource>
461         <directory>${project.build.directory}/generated-resources</directory>
462         <filtering>true</filtering>
463       </resource>
464     </resources>
465     <plugins>
466       <plugin>
467         <groupId>org.apache.maven.plugins</groupId>
468         <artifactId>maven-resources-plugin</artifactId>
469         <version>2.6</version>
470       </plugin>
471       <plugin>
472         <groupId>org.apache.maven.plugins</groupId>
473         <artifactId>maven-dependency-plugin</artifactId>
474         <version>2.8</version>
475         <executions>
476           <execution>
477             <id>unpack-shared-resources</id>
478             <goals>
479               <goal>unpack-dependencies</goal>
480             </goals>
481             <phase>generate-resources</phase>
482             <configuration>
483               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
484               <includeArtifacIds>distributions-base</includeArtifacIds>
485               <includeGroupIds>org.opendaylight.integration</includeGroupIds>
486               <excludeTransitive>true</excludeTransitive>
487               <ignorePermissions>false</ignorePermissions>
488             </configuration>
489           </execution>
490
491           <execution>
492             <id>unpack-provided-configs</id>
493             <goals>
494               <goal>unpack-dependencies</goal>
495             </goals>
496             <phase>generate-resources</phase>
497             <configuration>
498               <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
499               <includeArtifactIds>
500                 bgp-controller-config,
501                 pcep-controller-config,
502                 programming-controller-config,
503               </includeArtifactIds>
504               <includeGroupIds>
505                 org.opendaylight.bgpcep,
506               </includeGroupIds>
507               <excludeTransitive>true</excludeTransitive>
508               <ignorePermissions>false</ignorePermissions>
509             </configuration>
510           </execution>
511         </executions>
512       </plugin>
513       <plugin>
514         <artifactId>maven-assembly-plugin</artifactId>
515         <executions>
516           <execution>
517             <id>distro-assembly</id>
518             <phase>package</phase>
519             <goals>
520               <goal>single</goal>
521             </goals>
522             <configuration>
523               <descriptors>
524                 <descriptor>src/assemble/bin.xml</descriptor>
525               </descriptors>
526             </configuration>
527           </execution>
528         </executions>
529       </plugin>
530     </plugins>
531   </build>
532 </project>