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