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>
6 <groupId>org.opendaylight.odlparent</groupId>
7 <artifactId>odlparent</artifactId>
8 <version>1.4.2-SNAPSHOT</version>
9 <relativePath></relativePath>
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>
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 <odl.karaf.base.version>1.4.2-SNAPSHOT</odl.karaf.base.version>
75 <nsf.version>0.4.2-SNAPSHOT</nsf.version>
78 <dependencyManagement>
81 <groupId>commons-collections</groupId>
82 <artifactId>commons-collections</artifactId>
83 <version>${commons.collection.version}</version>
86 <groupId>io.netty</groupId>
87 <artifactId>netty-all</artifactId>
88 <version>${netty.version}</version>
91 <groupId>javax.portlet</groupId>
92 <artifactId>portlet-api</artifactId>
93 <version>${portlet.version}</version>
96 <groupId>org.apache.httpcomponents</groupId>
97 <artifactId>httpcore-nio</artifactId>
98 <version>${httpcomponents.version}</version>
101 <groupId>org.powermock</groupId>
102 <artifactId>powermock-module-junit4</artifactId>
103 <version>${powermock.version}</version>
106 <groupId>org.powermock</groupId>
107 <artifactId>powermock-api-mockito</artifactId>
108 <version>${powermock.version}</version>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>clustering.services</artifactId>
113 <version>${clustering.services.version}</version>
116 <groupId>org.opendaylight.controller</groupId>
117 <artifactId>sal</artifactId>
118 <version>${sal.version}</version>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>sal.connection</artifactId>
123 <version>${sal.connection.version}</version>
126 <groupId>org.opendaylight.controller</groupId>
127 <artifactId>sal.networkconfiguration</artifactId>
128 <version>${sal.networkconfiguration.version}</version>
131 <groupId>org.opendaylight.controller</groupId>
132 <artifactId>containermanager</artifactId>
133 <version>${containermanager.version}</version>
136 <groupId>org.opendaylight.controller</groupId>
137 <artifactId>forwardingrulesmanager</artifactId>
138 <version>${forwardingrulesmanager.version}</version>
141 <groupId>org.opendaylight.controller</groupId>
142 <artifactId>networkconfig.neutron</artifactId>
143 <version>${networkconfig.neutron.version}</version>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>sal-binding-api</artifactId>
148 <version>${mdsal.version}</version>
151 <groupId>org.opendaylight.controller</groupId>
152 <artifactId>sal-common-util</artifactId>
153 <version>${mdsal.version}</version>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>switchmanager</artifactId>
158 <version>${switchmanager.api.version}</version>
161 <groupId>org.opendaylight.controller.model</groupId>
162 <artifactId>model-flow-base</artifactId>
163 <version>${mdsal.version}</version>
166 <groupId>org.opendaylight.controller.model</groupId>
167 <artifactId>model-flow-statistics</artifactId>
168 <version>${mdsal.version}</version>
171 <groupId>org.opendaylight.controller.model</groupId>
172 <artifactId>model-flow-service</artifactId>
173 <version>${mdsal.version}</version>
176 <groupId>org.opendaylight.controller.model</groupId>
177 <artifactId>model-inventory</artifactId>
178 <version>${mdsal.version}</version>
181 <groupId>org.opendaylight.yangtools</groupId>
182 <artifactId>yang-binding</artifactId>
183 <version>${yangtools.version}</version>
186 <groupId>org.opendaylight.yangtools</groupId>
187 <artifactId>features-test</artifactId>
188 <version>${yangtools.version}</version>
192 <groupId>org.opendaylight.controller</groupId>
193 <artifactId>opendaylight-karaf-empty</artifactId>
194 <version>1.4.2-SNAPSHOT</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>commons.northbound</artifactId>
200 <version>${northbound.commons.version}</version>
203 <groupId>org.opendaylight.controller</groupId>
204 <artifactId>config-api</artifactId>
205 <version>${controller.config.version}</version>
208 <groupId>org.opendaylight.openflowjava</groupId>
209 <artifactId>openflow-protocol-api</artifactId>
210 <version>${openflowjava.version}</version>
213 <groupId>org.opendaylight.openflowjava</groupId>
214 <artifactId>openflow-protocol-spi</artifactId>
215 <version>${openflowjava.version}</version>
218 <groupId>org.opendaylight.openflowjava</groupId>
219 <artifactId>openflow-protocol-impl</artifactId>
220 <version>${openflowjava.version}</version>
223 <groupId>org.opendaylight.openflowjava</groupId>
224 <artifactId>util</artifactId>
225 <version>${openflowjava.version}</version>
228 <groupId>org.opendaylight.openflowplugin</groupId>
229 <artifactId>openflowjava-extension-nicira-api</artifactId>
230 <version>${openflowjava-nicira.version}</version>
233 <groupId>org.opendaylight.openflowplugin</groupId>
234 <artifactId>openflowjava-extension-nicira</artifactId>
235 <version>${openflowjava-nicira.version}</version>
238 <groupId>org.opendaylight.openflowplugin</groupId>
239 <artifactId>openflowplugin-extension-api</artifactId>
240 <version>${openflowplugin-extension.version}</version>
243 <groupId>org.opendaylight.openflowplugin</groupId>
244 <artifactId>openflowplugin-extension-nicira</artifactId>
245 <version>${openflowplugin-nicira.version}</version>
248 <groupId>org.opendaylight.openflowplugin</groupId>
249 <artifactId>openflowplugin</artifactId>
250 <version>${openflowplugin.version}</version>
253 <groupId>org.opendaylight.ovsdb</groupId>
254 <artifactId>library</artifactId>
255 <version>${ovsdb.library.version}</version>
258 <groupId>org.opendaylight.ovsdb</groupId>
259 <artifactId>plugin</artifactId>
260 <version>${ovsdb.plugin.version}</version>
263 <groupId>org.opendaylight.ovsdb</groupId>
264 <artifactId>openstack.net-virt</artifactId>
265 <version>${openstack.netvirt.version}</version>
268 <groupId>org.opendaylight.ovsdb</groupId>
269 <artifactId>openstack.net-virt-providers</artifactId>
270 <version>${openstack.netvirt.providers.version}</version>
273 <groupId>org.opendaylight.ovsdb</groupId>
274 <artifactId>northbound</artifactId>
275 <version>${ovsdb.northbound.version}</version>
278 <groupId>org.opendaylight.ovsdb</groupId>
279 <artifactId>schema.hardwarevtep</artifactId>
280 <version>${schema.hardwarevtep.version}</version>
283 <groupId>org.opendaylight.ovsdb</groupId>
284 <artifactId>schema.openvswitch</artifactId>
285 <version>${schema.openvswitch.version}</version>
288 <groupId>org.opendaylight.ovsdb</groupId>
289 <artifactId>plugin-mdsal-adapter</artifactId>
290 <version>${ovsdb.plugin.version}</version>
293 <groupId>org.opendaylight.ovsdb</groupId>
294 <artifactId>of-extension.nx-ofjava</artifactId>
295 <version>${ovsdb.ofextension.version}</version>
298 <groupId>org.opendaylight.ovsdb</groupId>
299 <artifactId>of-extension.nx-sal</artifactId>
300 <version>${ovsdb.ofextension.version}</version>
303 </dependencyManagement>
309 <groupId>org.apache.maven.plugins</groupId>
310 <artifactId>maven-compiler-plugin</artifactId>
312 <source>${java.version.source}</source>
313 <target>${java.version.target}</target>
314 <testSource>${java.version.source}</testSource>
315 <testTarget>${java.version.target}</testTarget>
318 <!-- This configuration should move to ODL-Parent -->
320 <groupId>org.apache.maven.plugins</groupId>
321 <artifactId>maven-checkstyle-plugin</artifactId>
322 <version>${checkstyle.version}</version>
324 <failsOnError>true</failsOnError>
325 <configLocation>controller/checkstyle.xml</configLocation>
326 <consoleOutput>true</consoleOutput>
327 <includeTestSourceDirectory>true</includeTestSourceDirectory>
328 <sourceDirectory>${project.basedir}</sourceDirectory>
329 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
330 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
334 <groupId>org.opendaylight.controller</groupId>
335 <artifactId>checkstyle</artifactId>
336 <version>0.0.3-SNAPSHOT</version>
345 <phase>process-sources</phase>
350 <groupId>org.jacoco</groupId>
351 <artifactId>jacoco-maven-plugin</artifactId>
352 <version>${jacoco.version}</version>
354 <skip>${skip.coverage}</skip>
358 <id>pre-unit-test</id>
360 <goal>prepare-agent</goal>
363 <destFile>${sonar.jacoco.reportPath}</destFile>
367 <id>pre-integration-test</id>
369 <goal>prepare-agent-integration</goal>
372 <destFile>${sonar.jacoco.itReportPath}</destFile>
373 <append>true</append>
374 <skip>${skip.integrationtest}</skip>
378 <id>post-unit-test</id>
383 <dataFile>${sonar.jacoco.reportPath}</dataFile>
387 <id>post-integration-test</id>
389 <goal>report-integration</goal>
392 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
393 <skip>${skip.integrationtest}</skip>
399 <groupId>org.apache.maven.plugins</groupId>
400 <artifactId>maven-surefire-plugin</artifactId>
401 <version>${maven.surefire.version}</version>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-failsafe-plugin</artifactId>
406 <version>${failsafe.version}</version>
409 <id>failsafe-integration-tests</id>
411 <goal>integration-test</goal>
415 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
416 <skipTests>${skip.integrationtest}</skipTests>
422 <groupId>org.opendaylight.yangtools</groupId>
423 <artifactId>yang-maven-plugin</artifactId>
424 <version>${yangtools.version}</version>
428 <goal>generate-sources</goal>
431 <!-- directory containing yang files to parse and generate code -->
432 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
436 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
437 </codeGeneratorClass>
438 <!-- directory into which generated files will be placed -->
440 target/generated-sources/sal
444 <inspectDependencies>true</inspectDependencies>
450 <groupId>org.opendaylight.yangtools</groupId>
451 <artifactId>maven-sal-api-gen-plugin</artifactId>
452 <version>0.6.2-SNAPSHOT</version>
458 <groupId>org.codehaus.mojo</groupId>
459 <artifactId>build-helper-maven-plugin</artifactId>
460 <version>1.7</version>
463 <phase>generate-sources</phase>
465 <goal>add-source</goal>
469 <source>target/generated-sources/sal</source>
478 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
480 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
481 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
483 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
487 <!-- Opendaylight public group -->
489 <id>opendaylight-public</id>
490 <name>opendaylight-public</name>
491 <url>${nexusproxy}/groups/public/</url>
493 <enabled>false</enabled>
496 <enabled>true</enabled>
497 <updatePolicy>never</updatePolicy>
500 <!-- OpenDayLight Released artifact -->
502 <id>opendaylight-release</id>
503 <name>opendaylight-release</name>
504 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
506 <enabled>false</enabled>
509 <enabled>true</enabled>
512 <!-- OpenDayLight Snapshot artifact -->
514 <id>opendaylight-snapshot</id>
515 <name>opendaylight-snapshot</name>
516 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
518 <enabled>true</enabled>
521 <enabled>false</enabled>
527 <!-- Opendaylight public group -->
529 <id>opendaylight-public</id>
530 <name>opendaylight-public</name>
531 <url>${nexusproxy}/groups/public/</url>
533 <enabled>false</enabled>
536 <enabled>true</enabled>
537 <updatePolicy>never</updatePolicy>
540 <!-- OpenDayLight Released artifact -->
542 <id>opendaylight-release</id>
543 <name>opendaylight-release</name>
544 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
546 <enabled>false</enabled>
549 <enabled>true</enabled>
552 <!-- OpenDayLight Snapshot artifact -->
554 <id>opendaylight-snapshot</id>
555 <name>opendaylight-snapshot</name>
556 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
558 <enabled>true</enabled>
561 <enabled>false</enabled>
564 </pluginRepositories>
568 <id>integrationtest</id>
570 <activeByDefault>false</activeByDefault>
573 <skip.integrationtest>false</skip.integrationtest>
579 <activeByDefault>false</activeByDefault>
582 <skip.coverage>false</skip.coverage>
588 <activeByDefault>false</activeByDefault>
591 <root.directory>${env.WORKSPACE}</root.directory>