Karaf Feature support for OVS based Openstack Network Virtualization
[ovsdb.git] / commons / parent / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4
5   <parent>
6     <groupId>org.opendaylight.odlparent</groupId>
7     <artifactId>odlparent</artifactId>
8     <version>1.4.2-SNAPSHOT</version>
9     <relativePath></relativePath>
10   </parent>
11
12   <groupId>org.opendaylight.ovsdb</groupId>
13   <artifactId>commons</artifactId>
14   <name>OVSDB Parent POM</name>
15   <version>1.2.0-SNAPSHOT</version>
16   <packaging>pom</packaging>
17   <prerequisites>
18     <maven>3.0</maven>
19   </prerequisites>
20
21   <properties>
22     <!-- ODL repository / plugin repository -->
23     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
24     <!-- Surefire/Failsafe Arguments -->
25     <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
26     <!-- OVSB Component Versions -->
27     <ovsdb.library.version>1.0.0-SNAPSHOT</ovsdb.library.version>
28     <ovsdb.plugin.version>1.0.0-SNAPSHOT</ovsdb.plugin.version>
29     <plugin.shell.version>1.0.0-SNAPSHOT</plugin.shell.version>
30     <openstack.netvirt.version>1.0.0-SNAPSHOT</openstack.netvirt.version>
31     <openstack.netvirt.providers.version>1.0.0-SNAPSHOT</openstack.netvirt.providers.version>
32     <ovsdb.northbound.version>0.6.0-SNAPSHOT</ovsdb.northbound.version>
33     <schema.openvswitch.version>1.0.0-SNAPSHOT</schema.openvswitch.version>
34     <schema.hardwarevtep.version>1.0.0-SNAPSHOT</schema.hardwarevtep.version>
35     <ovsdb.ofextension.version>1.0.0-SNAPSHOT</ovsdb.ofextension.version>
36     <utils.mdsal.openflow>1.0.0-SNAPSHOT</utils.mdsal.openflow>
37     <!-- Skip Coverage and IT by default -->
38     <skip.coverage>true</skip.coverage>
39     <skip.integrationtest>true</skip.integrationtest>
40     <skip.distribution>false</skip.distribution>
41     <!-- The directory where maven was executed -->
42     <root.directory>${env.PWD}</root.directory>
43     <!-- UT reports are per-module -->
44     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
45     <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
46     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
47     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
48     <!-- Override the JaCoCo version in ODL Parent -->
49     <jacoco.version>0.6.4.201312101107</jacoco.version>
50     <!-- ODL Dependency Versions -->
51     <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
52     <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
53     <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
54     <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
55     <sal.version>0.8.1-SNAPSHOT</sal.version>
56     <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
57     <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
58     <mdsal.version>1.1-SNAPSHOT</mdsal.version>
59     <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
60     <openflowplugin-nicira.version>0.0.3-SNAPSHOT</openflowplugin-nicira.version>
61     <openflowplugin-extension.version>0.0.3-SNAPSHOT</openflowplugin-extension.version>
62     <openflowjava-nicira.version>0.0.3-SNAPSHOT</openflowjava-nicira.version>
63     <openflowjava-extension.version>0.0.3-SNAPSHOT</openflowjava-extension.version>
64     <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
65     <controller.config.version>0.2.5-SNAPSHOT</controller.config.version>
66     <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
67     <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
68     <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
69     <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
70     <!-- 3rd Pary Dependency Versions -->
71     <commons.collection.version>1.0</commons.collection.version>
72     <portlet.version>2.0</portlet.version>
73     <powermock.version>1.5.2</powermock.version>
74     <httpcomponents.version>4.2.1</httpcomponents.version>
75     <karaf.shell.version>3.0.0</karaf.shell.version>
76     <odl.karaf.base.version>1.4.2-SNAPSHOT</odl.karaf.base.version>
77     <nsf.version>0.4.2-SNAPSHOT</nsf.version>
78   </properties>
79
80   <dependencyManagement>
81     <dependencies>
82       <dependency>
83         <groupId>commons-collections</groupId>
84         <artifactId>commons-collections</artifactId>
85         <version>${commons.collection.version}</version>
86       </dependency>
87       <dependency>
88         <groupId>io.netty</groupId>
89         <artifactId>netty-all</artifactId>
90         <version>${netty.version}</version>
91       </dependency>
92       <dependency>
93         <groupId>javax.portlet</groupId>
94         <artifactId>portlet-api</artifactId>
95         <version>${portlet.version}</version>
96       </dependency>
97       <dependency>
98         <groupId>org.apache.httpcomponents</groupId>
99         <artifactId>httpcore-nio</artifactId>
100         <version>${httpcomponents.version}</version>
101       </dependency>
102       <dependency>
103         <groupId>org.powermock</groupId>
104         <artifactId>powermock-module-junit4</artifactId>
105         <version>${powermock.version}</version>
106       </dependency>
107       <dependency>
108         <groupId>org.powermock</groupId>
109         <artifactId>powermock-api-mockito</artifactId>
110         <version>${powermock.version}</version>
111       </dependency>
112       <dependency>
113         <groupId>org.opendaylight.controller</groupId>
114         <artifactId>clustering.services</artifactId>
115         <version>${clustering.services.version}</version>
116       </dependency>
117       <dependency>
118         <groupId>org.opendaylight.controller</groupId>
119         <artifactId>sal</artifactId>
120         <version>${sal.version}</version>
121       </dependency>
122       <dependency>
123         <groupId>org.opendaylight.controller</groupId>
124         <artifactId>sal.connection</artifactId>
125         <version>${sal.connection.version}</version>
126       </dependency>
127       <dependency>
128         <groupId>org.opendaylight.controller</groupId>
129         <artifactId>sal.networkconfiguration</artifactId>
130         <version>${sal.networkconfiguration.version}</version>
131       </dependency>
132       <dependency>
133         <groupId>org.opendaylight.controller</groupId>
134         <artifactId>containermanager</artifactId>
135         <version>${containermanager.version}</version>
136       </dependency>
137       <dependency>
138         <groupId>org.opendaylight.controller</groupId>
139         <artifactId>forwardingrulesmanager</artifactId>
140         <version>${forwardingrulesmanager.version}</version>
141       </dependency>
142       <dependency>
143         <groupId>org.opendaylight.controller</groupId>
144         <artifactId>networkconfig.neutron</artifactId>
145         <version>${networkconfig.neutron.version}</version>
146       </dependency>
147       <dependency>
148         <groupId>org.opendaylight.controller</groupId>
149         <artifactId>sal-binding-api</artifactId>
150         <version>${mdsal.version}</version>
151       </dependency>
152       <dependency>
153         <groupId>org.opendaylight.controller</groupId>
154         <artifactId>sal-common-util</artifactId>
155         <version>${mdsal.version}</version>
156       </dependency>
157       <dependency>
158         <groupId>org.opendaylight.controller</groupId>
159         <artifactId>switchmanager</artifactId>
160         <version>${switchmanager.api.version}</version>
161       </dependency>
162       <dependency>
163         <groupId>org.opendaylight.controller.model</groupId>
164         <artifactId>model-flow-base</artifactId>
165         <version>${mdsal.version}</version>
166       </dependency>
167       <dependency>
168         <groupId>org.opendaylight.controller.model</groupId>
169         <artifactId>model-flow-statistics</artifactId>
170         <version>${mdsal.version}</version>
171       </dependency>
172       <dependency>
173         <groupId>org.opendaylight.controller.model</groupId>
174         <artifactId>model-flow-service</artifactId>
175         <version>${mdsal.version}</version>
176       </dependency>
177       <dependency>
178         <groupId>org.opendaylight.controller.model</groupId>
179         <artifactId>model-inventory</artifactId>
180         <version>${mdsal.version}</version>
181       </dependency>
182       <dependency>
183         <groupId>org.opendaylight.yangtools</groupId>
184         <artifactId>yang-binding</artifactId>
185         <version>${yangtools.version}</version>
186       </dependency>
187       <dependency>
188         <groupId>org.opendaylight.yangtools</groupId>
189         <artifactId>features-test</artifactId>
190         <version>${yangtools.version}</version>
191         <scope>test</scope>
192       </dependency>
193       <dependency>
194         <groupId>org.opendaylight.controller</groupId>
195         <artifactId>opendaylight-karaf-empty</artifactId>
196         <version>1.4.2-SNAPSHOT</version>
197         <type>zip</type>
198       </dependency>
199       <dependency>
200         <groupId>org.opendaylight.controller</groupId>
201         <artifactId>commons.northbound</artifactId>
202         <version>${northbound.commons.version}</version>
203       </dependency>
204       <dependency>
205           <groupId>org.opendaylight.controller</groupId>
206           <artifactId>config-api</artifactId>
207           <version>${controller.config.version}</version>
208       </dependency>
209       <dependency>
210           <groupId>org.opendaylight.openflowjava</groupId>
211           <artifactId>openflow-protocol-api</artifactId>
212           <version>${openflowjava.version}</version>
213       </dependency>
214       <dependency>
215           <groupId>org.opendaylight.openflowjava</groupId>
216           <artifactId>openflow-protocol-spi</artifactId>
217           <version>${openflowjava.version}</version>
218       </dependency>
219         <dependency>
220             <groupId>org.opendaylight.openflowjava</groupId>
221             <artifactId>openflow-protocol-impl</artifactId>
222             <version>${openflowjava.version}</version>
223         </dependency>
224       <dependency>
225           <groupId>org.opendaylight.openflowjava</groupId>
226           <artifactId>util</artifactId>
227           <version>${openflowjava.version}</version>
228       </dependency>
229       <dependency>
230           <groupId>org.opendaylight.openflowplugin</groupId>
231           <artifactId>openflowjava-extension-nicira-api</artifactId>
232           <version>${openflowjava-nicira.version}</version>
233       </dependency>
234       <dependency>
235           <groupId>org.opendaylight.openflowplugin</groupId>
236           <artifactId>openflowjava-extension-nicira</artifactId>
237           <version>${openflowjava-nicira.version}</version>
238       </dependency>
239       <dependency>
240           <groupId>org.opendaylight.openflowplugin</groupId>
241           <artifactId>openflowplugin-extension-api</artifactId>
242           <version>${openflowplugin-extension.version}</version>
243       </dependency>
244       <dependency>
245           <groupId>org.opendaylight.openflowplugin</groupId>
246           <artifactId>openflowplugin-extension-nicira</artifactId>
247           <version>${openflowplugin-nicira.version}</version>
248       </dependency>
249       <dependency>
250           <groupId>org.opendaylight.openflowplugin</groupId>
251           <artifactId>openflowplugin</artifactId>
252           <version>${openflowplugin.version}</version>
253       </dependency>
254       <dependency>
255         <groupId>org.opendaylight.ovsdb</groupId>
256         <artifactId>library</artifactId>
257         <version>${ovsdb.library.version}</version>
258       </dependency>
259       <dependency>
260         <groupId>org.opendaylight.ovsdb</groupId>
261         <artifactId>plugin</artifactId>
262         <version>${ovsdb.plugin.version}</version>
263       </dependency>
264       <dependency>
265         <groupId>org.opendaylight.ovsdb</groupId>
266         <artifactId>plugin-shell</artifactId>
267         <version>${plugin.shell.version}</version>
268       </dependency>
269       <dependency>
270         <groupId>org.opendaylight.ovsdb</groupId>
271         <artifactId>openstack.net-virt</artifactId>
272         <version>${openstack.netvirt.version}</version>
273       </dependency>
274       <dependency>
275         <groupId>org.opendaylight.ovsdb</groupId>
276         <artifactId>openstack.net-virt-providers</artifactId>
277         <version>${openstack.netvirt.providers.version}</version>
278       </dependency>
279       <dependency>
280         <groupId>org.opendaylight.ovsdb</groupId>
281         <artifactId>northbound</artifactId>
282         <version>${ovsdb.northbound.version}</version>
283       </dependency>
284       <dependency>
285         <groupId>org.opendaylight.ovsdb</groupId>
286         <artifactId>schema.hardwarevtep</artifactId>
287         <version>${schema.hardwarevtep.version}</version>
288       </dependency>
289       <dependency>
290         <groupId>org.opendaylight.ovsdb</groupId>
291         <artifactId>schema.openvswitch</artifactId>
292         <version>${schema.openvswitch.version}</version>
293       </dependency>
294       <dependency>
295         <groupId>org.opendaylight.ovsdb</groupId>
296         <artifactId>plugin-mdsal-adapter</artifactId>
297         <version>${ovsdb.plugin.version}</version>
298       </dependency>
299       <dependency>
300         <groupId>org.opendaylight.ovsdb</groupId>
301         <artifactId>of-extension.nx-ofjava</artifactId>
302         <version>${ovsdb.ofextension.version}</version>
303       </dependency>
304       <dependency>
305         <groupId>org.opendaylight.ovsdb</groupId>
306         <artifactId>of-extension.nx-sal</artifactId>
307         <version>${ovsdb.ofextension.version}</version>
308       </dependency>
309     </dependencies>
310   </dependencyManagement>
311
312   <build>
313     <pluginManagement>
314       <plugins>
315         <plugin>
316           <groupId>org.apache.maven.plugins</groupId>
317           <artifactId>maven-compiler-plugin</artifactId>
318           <configuration>
319             <source>${java.version.source}</source>
320             <target>${java.version.target}</target>
321             <testSource>${java.version.source}</testSource>
322             <testTarget>${java.version.target}</testTarget>
323           </configuration>
324         </plugin>
325         <!-- This configuration should move to ODL-Parent -->
326         <plugin>
327           <groupId>org.apache.maven.plugins</groupId>
328           <artifactId>maven-checkstyle-plugin</artifactId>
329           <version>${checkstyle.version}</version>
330           <configuration>
331             <failsOnError>true</failsOnError>
332             <configLocation>controller/checkstyle.xml</configLocation>
333             <consoleOutput>true</consoleOutput>
334             <includeTestSourceDirectory>true</includeTestSourceDirectory>
335             <sourceDirectory>${project.basedir}</sourceDirectory>
336             <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
337             <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
338           </configuration>
339           <dependencies>
340             <dependency>
341               <groupId>org.opendaylight.controller</groupId>
342               <artifactId>checkstyle</artifactId>
343               <version>0.0.3-SNAPSHOT</version>
344             </dependency>
345           </dependencies>
346           <executions>
347             <execution>
348               <id>check</id>
349               <goals>
350                 <goal>check</goal>
351               </goals>
352               <phase>process-sources</phase>
353             </execution>
354           </executions>
355         </plugin>
356         <plugin>
357           <groupId>org.jacoco</groupId>
358           <artifactId>jacoco-maven-plugin</artifactId>
359           <version>${jacoco.version}</version>
360           <configuration>
361             <skip>${skip.coverage}</skip>
362           </configuration>
363           <executions>
364             <execution>
365               <id>pre-unit-test</id>
366               <goals>
367                 <goal>prepare-agent</goal>
368               </goals>
369               <configuration>
370                 <destFile>${sonar.jacoco.reportPath}</destFile>
371               </configuration>
372             </execution>
373             <execution>
374               <id>pre-integration-test</id>
375               <goals>
376                 <goal>prepare-agent-integration</goal>
377               </goals>
378               <configuration>
379                 <destFile>${sonar.jacoco.itReportPath}</destFile>
380                 <append>true</append>
381                 <skip>${skip.integrationtest}</skip>
382               </configuration>
383             </execution>
384             <execution>
385               <id>post-unit-test</id>
386               <goals>
387                 <goal>report</goal>
388               </goals>
389               <configuration>
390                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
391               </configuration>
392             </execution>
393             <execution>
394               <id>post-integration-test</id>
395               <goals>
396                 <goal>report-integration</goal>
397               </goals>
398               <configuration>
399                 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
400                 <skip>${skip.integrationtest}</skip>
401               </configuration>
402             </execution>
403           </executions>
404         </plugin>
405         <plugin>
406           <groupId>org.apache.maven.plugins</groupId>
407           <artifactId>maven-surefire-plugin</artifactId>
408           <version>${maven.surefire.version}</version>
409         </plugin>
410         <plugin>
411           <groupId>org.apache.maven.plugins</groupId>
412           <artifactId>maven-failsafe-plugin</artifactId>
413           <version>${failsafe.version}</version>
414           <executions>
415             <execution>
416               <id>failsafe-integration-tests</id>
417               <goals>
418                 <goal>integration-test</goal>
419                 <goal>verify</goal>
420               </goals>
421               <configuration>
422                 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
423                 <skipTests>${skip.integrationtest}</skipTests>
424               </configuration>
425             </execution>
426           </executions>
427         </plugin>
428         <plugin>
429           <groupId>org.opendaylight.yangtools</groupId>
430           <artifactId>yang-maven-plugin</artifactId>
431           <version>${yangtools.version}</version>
432           <executions>
433             <execution>
434               <goals>
435                 <goal>generate-sources</goal>
436               </goals>
437               <configuration>
438                 <!-- directory containing yang files to parse and generate code -->
439                 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
440                 <codeGenerators>
441                   <generator>
442                     <codeGeneratorClass>
443                       org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
444                     </codeGeneratorClass>
445                     <!-- directory into which generated files will be placed -->
446                     <outputBaseDir>
447                       target/generated-sources/sal
448                     </outputBaseDir>
449                   </generator>
450                 </codeGenerators>
451                 <inspectDependencies>true</inspectDependencies>
452               </configuration>
453             </execution>
454           </executions>
455           <dependencies>
456             <dependency>
457               <groupId>org.opendaylight.yangtools</groupId>
458               <artifactId>maven-sal-api-gen-plugin</artifactId>
459               <version>0.6.2-SNAPSHOT</version>
460               <type>jar</type>
461             </dependency>
462           </dependencies>
463         </plugin>
464         <plugin>
465           <groupId>org.codehaus.mojo</groupId>
466           <artifactId>build-helper-maven-plugin</artifactId>
467           <version>1.7</version>
468           <executions>
469             <execution>
470               <phase>generate-sources</phase>
471               <goals>
472                 <goal>add-source</goal>
473               </goals>
474               <configuration>
475                 <sources>
476                   <source>target/generated-sources/sal</source>
477                 </sources>
478               </configuration>
479             </execution>
480           </executions>
481         </plugin>
482       </plugins>
483     </pluginManagement>
484   </build>
485   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
486   <scm>
487     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
488     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
489     <tag>HEAD</tag>
490     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
491   </scm>
492
493   <repositories>
494     <!-- Opendaylight public group -->
495     <repository>
496       <id>opendaylight-public</id>
497       <name>opendaylight-public</name>
498       <url>${nexusproxy}/groups/public/</url>
499       <snapshots>
500         <enabled>false</enabled>
501       </snapshots>
502       <releases>
503         <enabled>true</enabled>
504         <updatePolicy>never</updatePolicy>
505       </releases>
506     </repository>
507     <!-- OpenDayLight Released artifact -->
508     <repository>
509       <id>opendaylight-release</id>
510       <name>opendaylight-release</name>
511       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
512       <snapshots>
513         <enabled>false</enabled>
514       </snapshots>
515       <releases>
516         <enabled>true</enabled>
517       </releases>
518     </repository>
519     <!-- OpenDayLight Snapshot artifact -->
520     <repository>
521       <id>opendaylight-snapshot</id>
522       <name>opendaylight-snapshot</name>
523       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
524       <snapshots>
525         <enabled>true</enabled>
526       </snapshots>
527       <releases>
528         <enabled>false</enabled>
529       </releases>
530     </repository>
531   </repositories>
532
533   <pluginRepositories>
534     <!-- Opendaylight public group -->
535     <pluginRepository>
536       <id>opendaylight-public</id>
537       <name>opendaylight-public</name>
538       <url>${nexusproxy}/groups/public/</url>
539       <snapshots>
540         <enabled>false</enabled>
541       </snapshots>
542       <releases>
543         <enabled>true</enabled>
544         <updatePolicy>never</updatePolicy>
545       </releases>
546     </pluginRepository>
547     <!-- OpenDayLight Released artifact -->
548     <pluginRepository>
549       <id>opendaylight-release</id>
550       <name>opendaylight-release</name>
551       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
552       <snapshots>
553         <enabled>false</enabled>
554       </snapshots>
555       <releases>
556         <enabled>true</enabled>
557       </releases>
558     </pluginRepository>
559     <!-- OpenDayLight Snapshot artifact -->
560     <pluginRepository>
561       <id>opendaylight-snapshot</id>
562       <name>opendaylight-snapshot</name>
563       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
564       <snapshots>
565         <enabled>true</enabled>
566       </snapshots>
567       <releases>
568         <enabled>false</enabled>
569       </releases>
570     </pluginRepository>
571   </pluginRepositories>
572
573   <profiles>
574     <profile>
575       <id>integrationtest</id>
576       <activation>
577         <activeByDefault>false</activeByDefault>
578       </activation>
579       <properties>
580         <skip.integrationtest>false</skip.integrationtest>
581       </properties>
582     </profile>
583     <profile>
584       <id>coverage</id>
585       <activation>
586         <activeByDefault>false</activeByDefault>
587       </activation>
588       <properties>
589         <skip.coverage>false</skip.coverage>
590       </properties>
591     </profile>
592     <profile>
593       <id>jenkins</id>
594       <activation>
595         <activeByDefault>false</activeByDefault>
596       </activation>
597       <properties>
598         <skip.distribution>true</skip.distribution>
599         <root.directory>${env.WORKSPACE}</root.directory>
600       </properties>
601     </profile>
602   </profiles>
603 </project>