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