1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12 <modelVersion>4.0.0</modelVersion>
15 <groupId>org.opendaylight.odlparent</groupId>
16 <artifactId>odlparent</artifactId>
17 <version>1.6.0-SNAPSHOT</version>
21 <groupId>org.opendaylight.ovsdb</groupId>
22 <artifactId>commons</artifactId>
23 <name>${project.artifactId}.parent</name>
24 <version>1.4.0-SNAPSHOT</version>
25 <packaging>pom</packaging>
26 <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
27 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
30 <name>Eclipse Public License v1.0</name>
31 <url>http://www.eclipse.org/legal/epl-v10.html</url>
36 <name>Sam Hague</name>
37 <email>shague@gmail.com</email>
38 <url>https://github.com/shague</url>
42 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
43 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
45 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
53 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
54 <!-- Surefire/Failsafe Arguments -->
55 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
56 <!-- OVSDB Component Versions -->
57 <openstack.netvirt.version>1.2.1-SNAPSHOT</openstack.netvirt.version>
58 <openstack.netvirt.providers.version>1.2.1-SNAPSHOT</openstack.netvirt.providers.version>
59 <ovsdb.features.version>1.2.1-SNAPSHOT</ovsdb.features.version>
60 <ovsdb.library.version>1.2.1-SNAPSHOT</ovsdb.library.version>
61 <ovsdb.northbound.version>0.8.0-SNAPSHOT</ovsdb.northbound.version>
62 <ovsdb.plugin.version>1.2.1-SNAPSHOT</ovsdb.plugin.version>
63 <ovsdb.plugin.compatibility.layer.version>1.2.1-SNAPSHOT</ovsdb.plugin.compatibility.layer.version>
64 <ovsdb.ovssfc.version>0.2.0-SNAPSHOT</ovsdb.ovssfc.version>
65 <ovsdb.utils.config.version>1.2.1-SNAPSHOT</ovsdb.utils.config.version>
66 <ovsdb.utils.mdsal.node.version>1.2.1-SNAPSHOT</ovsdb.utils.mdsal.node.version>
67 <ovsdb.utils.mdsal.openflow.version>1.2.1-SNAPSHOT</ovsdb.utils.mdsal.openflow.version>
68 <ovsdb.utils.servicehelper.version>1.2.1-SNAPSHOT</ovsdb.utils.servicehelper.version>
69 <plugin.shell.version>1.2.1-SNAPSHOT</plugin.shell.version>
70 <schema.hardwarevtep.version>1.2.1-SNAPSHOT</schema.hardwarevtep.version>
71 <schema.openvswitch.version>1.2.1-SNAPSHOT</schema.openvswitch.version>
72 <!-- Skip Coverage and IT by default -->
73 <skip.coverage>true</skip.coverage>
74 <skip.distribution>false</skip.distribution>
75 <skip.integrationtest>true</skip.integrationtest>
76 <skip.karaf.featureTest>false</skip.karaf.featureTest>
77 <!-- The directory where maven was executed TODO see if this can be removed -->
78 <root.directory>${env.PWD}</root.directory>
79 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
80 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
81 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
82 <!-- ODL Dependency Versions -->
83 <containermanager.version>0.7.0-SNAPSHOT</containermanager.version>
84 <controller.config.version>0.4.0-SNAPSHOT</controller.config.version>
85 <forwardingrulesmanager.version>0.8.0-SNAPSHOT</forwardingrulesmanager.version>
86 <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
87 <networkconfig.neutron.version>0.6.0-SNAPSHOT</networkconfig.neutron.version>
88 <northbound.commons.version>0.6.0-SNAPSHOT</northbound.commons.version>
89 <nsf.version>0.6.0-SNAPSHOT</nsf.version>
90 <odl.karaf.base.version>1.6.0-SNAPSHOT</odl.karaf.base.version>
91 <odlparent.version>1.6.0-SNAPSHOT</odlparent.version>
92 <openflowjava-nicira.version>0.2.0-SNAPSHOT</openflowjava-nicira.version>
93 <openflowjava-extension.version>0.2.0-SNAPSHOT</openflowjava-extension.version>
94 <openflowjava.version>0.7.0-SNAPSHOT</openflowjava.version>
95 <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
96 <sal.version>0.10.0-SNAPSHOT</sal.version>
97 <switchmanager.api.version>0.9.0-SNAPSHOT</switchmanager.api.version>
98 <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
99 <!-- 3rd Pary Dependency Versions -->
100 <commons.collection.version>1.0</commons.collection.version>
101 <httpcomponents.version>4.2.1</httpcomponents.version>
102 <portlet.version>2.0</portlet.version>
103 <powermock.version>1.5.2</powermock.version>
104 <ovsdb.ui.version>0.1.0-SNAPSHOT</ovsdb.ui.version>
105 <dlux.loader.version>0.3.0-SNAPSHOT</dlux.loader.version>
106 <dlux.core.version>0.3.0-SNAPSHOT</dlux.core.version>
109 <dependencyManagement>
112 <groupId>org.opendaylight.mdsal</groupId>
113 <artifactId>mdsal-artifacts</artifactId>
114 <version>2.0.0-SNAPSHOT</version>
116 <scope>import</scope>
119 <groupId>org.opendaylight.mdsal.model</groupId>
120 <artifactId>mdsal-model-artifacts</artifactId>
121 <version>0.8.0-SNAPSHOT</version>
123 <scope>import</scope>
126 <groupId>commons-collections</groupId>
127 <artifactId>commons-collections</artifactId>
128 <version>${commons.collection.version}</version>
131 <groupId>io.netty</groupId>
132 <artifactId>netty-all</artifactId>
133 <version>${netty.version}</version>
136 <groupId>javax.portlet</groupId>
137 <artifactId>portlet-api</artifactId>
138 <version>${portlet.version}</version>
141 <groupId>org.apache.httpcomponents</groupId>
142 <artifactId>httpcore-nio</artifactId>
143 <version>${httpcomponents.version}</version>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>commons.northbound</artifactId>
148 <version>${northbound.commons.version}</version>
151 <groupId>org.opendaylight.controller</groupId>
152 <artifactId>config-api</artifactId>
153 <version>${controller.config.version}</version>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>containermanager</artifactId>
158 <version>${containermanager.version}</version>
161 <groupId>org.opendaylight.controller</groupId>
162 <artifactId>forwardingrulesmanager</artifactId>
163 <version>${forwardingrulesmanager.version}</version>
166 <groupId>org.opendaylight.neutron</groupId>
167 <artifactId>neutron-spi</artifactId>
168 <version>${networkconfig.neutron.version}</version>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>opendaylight-karaf-empty</artifactId>
173 <version>1.6.0-SNAPSHOT</version>
177 <groupId>org.opendaylight.controller</groupId>
178 <artifactId>sal</artifactId>
179 <version>${sal.version}</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yangtools-artifacts</artifactId>
185 <version>${yangtools.version}</version>
187 <scope>import</scope>
190 <groupId>org.opendaylight.controller</groupId>
191 <artifactId>config-artifacts</artifactId>
192 <version>${controller.config.version}</version>
194 <scope>import</scope>
197 <groupId>org.opendaylight.controller</groupId>
198 <artifactId>mdsal-artifacts</artifactId>
199 <version>${mdsal.version}</version>
200 <scope>import</scope>
204 <groupId>org.opendaylight.openflowjava</groupId>
205 <artifactId>openflowjava-artifacts</artifactId>
206 <version>${openflowjava.version}</version>
208 <scope>import</scope>
212 <groupId>org.opendaylight.controller</groupId>
213 <artifactId>switchmanager</artifactId>
214 <version>${switchmanager.api.version}</version>
217 <groupId>org.opendaylight.openflowplugin.model</groupId>
218 <artifactId>model-flow-base</artifactId>
219 <version>${openflowplugin.version}</version>
222 <groupId>org.opendaylight.openflowplugin.model</groupId>
223 <artifactId>model-flow-service</artifactId>
224 <version>${openflowplugin.version}</version>
227 <groupId>org.opendaylight.openflowplugin.model</groupId>
228 <artifactId>model-flow-statistics</artifactId>
229 <version>${openflowplugin.version}</version>
232 <groupId>org.opendaylight.odlparent</groupId>
233 <artifactId>features-test</artifactId>
234 <version>${odlparent.version}</version>
238 <groupId>org.opendaylight.openflowplugin</groupId>
239 <artifactId>openflowplugin</artifactId>
240 <version>${openflowplugin.version}</version>
243 <groupId>org.opendaylight.openflowplugin</groupId>
244 <artifactId>openflowjava-extension-nicira</artifactId>
245 <version>${openflowjava-nicira.version}</version>
248 <groupId>org.opendaylight.openflowplugin</groupId>
249 <artifactId>openflowjava-extension-nicira-api</artifactId>
250 <version>${openflowjava-nicira.version}</version>
253 <groupId>org.opendaylight.openflowplugin</groupId>
254 <artifactId>openflowplugin-extension-api</artifactId>
255 <version>${openflowplugin.version}</version>
258 <groupId>org.opendaylight.openflowplugin</groupId>
259 <artifactId>openflowplugin-extension-nicira</artifactId>
260 <version>${openflowplugin.version}</version>
263 <groupId>org.opendaylight.openflowplugin</groupId>
264 <artifactId>openflowplugin-extension-nicira-config</artifactId>
265 <version>${openflowplugin.version}</version>
268 <groupId>org.opendaylight.ovsdb</groupId>
269 <artifactId>features-ovsdb</artifactId>
270 <version>${ovsdb.features.version}</version>
273 <groupId>org.opendaylight.ovsdb</groupId>
274 <artifactId>library</artifactId>
275 <version>${ovsdb.library.version}</version>
278 <groupId>org.opendaylight.ovsdb</groupId>
279 <artifactId>northbound</artifactId>
280 <version>${ovsdb.northbound.version}</version>
283 <groupId>org.opendaylight.ovsdb</groupId>
284 <artifactId>openstack.net-virt</artifactId>
285 <version>${openstack.netvirt.version}</version>
288 <groupId>org.opendaylight.ovsdb</groupId>
289 <artifactId>openstack.net-virt-providers</artifactId>
290 <version>${openstack.netvirt.providers.version}</version>
293 <groupId>org.opendaylight.ovsdb</groupId>
294 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
295 <version>${ovsdb.plugin.compatibility.layer.version}</version>
298 <groupId>org.opendaylight.ovsdb</groupId>
299 <artifactId>plugin</artifactId>
300 <version>${ovsdb.plugin.version}</version>
303 <groupId>org.opendaylight.ovsdb</groupId>
304 <artifactId>plugin-mdsal-adapter</artifactId>
305 <version>${ovsdb.plugin.adapter.version}</version>
308 <groupId>org.opendaylight.ovsdb</groupId>
309 <artifactId>plugin-shell</artifactId>
310 <version>${plugin.shell.version}</version>
313 <groupId>org.opendaylight.ovsdb</groupId>
314 <artifactId>schema.hardwarevtep</artifactId>
315 <version>${schema.hardwarevtep.version}</version>
318 <groupId>org.opendaylight.ovsdb</groupId>
319 <artifactId>schema.openvswitch</artifactId>
320 <version>${schema.openvswitch.version}</version>
323 <groupId>org.opendaylight.ovsdb</groupId>
324 <artifactId>utils.config</artifactId>
325 <version>${ovsdb.utils.config.version}</version>
328 <groupId>org.opendaylight.ovsdb</groupId>
329 <artifactId>utils.mdsal-node</artifactId>
330 <version>${ovsdb.utils.mdsal.node.version}</version>
333 <groupId>org.opendaylight.ovsdb</groupId>
334 <artifactId>utils.mdsal-openflow</artifactId>
335 <version>${ovsdb.utils.mdsal.openflow.version}</version>
338 <groupId>org.opendaylight.ovsdb</groupId>
339 <artifactId>utils.servicehelper</artifactId>
340 <version>${ovsdb.utils.servicehelper.version}</version>
343 <groupId>org.powermock</groupId>
344 <artifactId>powermock-module-junit4</artifactId>
345 <version>${powermock.version}</version>
348 <groupId>org.powermock</groupId>
349 <artifactId>powermock-api-mockito</artifactId>
350 <version>${powermock.version}</version>
353 <groupId>org.powermock</groupId>
354 <artifactId>powermock-core</artifactId>
355 <version>${powermock.version}</version>
358 <groupId>org.opendaylight.ovsdb</groupId>
359 <artifactId>ovsdb-ui</artifactId>
360 <version>${ovsdb.ui.version}</version>
363 </dependencyManagement>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-compiler-plugin</artifactId>
372 <source>${java.version.source}</source>
373 <target>${java.version.target}</target>
374 <testSource>${java.version.source}</testSource>
375 <testTarget>${java.version.target}</testTarget>
378 <!-- This configuration should move to ODL-Parent -->
380 <groupId>org.eclipse.m2e</groupId>
381 <artifactId>lifecycle-mapping</artifactId>
382 <version>${lifecycle.mapping.version}</version>
384 <lifecycleMappingMetadata>
387 <pluginExecutionFilter>
388 <groupId>org.codehaus.mojo</groupId>
389 <artifactId>properties-maven-plugin</artifactId>
390 <versionRange>[0.0,)</versionRange>
392 <goal>set-system-properties</goal>
394 </pluginExecutionFilter>
400 <pluginExecutionFilter>
401 <groupId>org.jacoco</groupId>
402 <artifactId>jacoco-maven-plugin</artifactId>
403 <versionRange>[0.0,)</versionRange>
405 <goal>prepare-agent</goal>
406 <goal>pre-test</goal>
407 <goal>post-test</goal>
409 </pluginExecutionFilter>
415 <pluginExecutionFilter>
416 <groupId>org.opendaylight.yangtools</groupId>
417 <artifactId>yang-maven-plugin</artifactId>
418 <versionRange>[0.5,)</versionRange>
420 <goal>generate-sources</goal>
422 </pluginExecutionFilter>
428 </lifecycleMappingMetadata>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-checkstyle-plugin</artifactId>
436 <groupId>com.puppycrawl.tools</groupId>
437 <artifactId>checkstyle</artifactId>
438 <version>6.4.1</version>
442 <failsOnError>true</failsOnError>
443 <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
444 <excludes>**/yang/,**/features/,
445 **/openstack/,**/ovs-sfc/,
446 **/schema/hardwarevtep/,**/schema/openvswitch/,
447 **/southbound/,**/utils/
452 <groupId>org.jacoco</groupId>
453 <artifactId>jacoco-maven-plugin</artifactId>
455 <skip>${skip.coverage}</skip>
459 <id>pre-unit-test</id>
461 <goal>prepare-agent</goal>
464 <destFile>${sonar.jacoco.reportPath}</destFile>
468 <id>pre-integration-test</id>
470 <goal>prepare-agent-integration</goal>
473 <destFile>${sonar.jacoco.itReportPath}</destFile>
474 <append>true</append>
475 <skip>${skip.integrationtest}</skip>
479 <id>post-unit-test</id>
484 <dataFile>${sonar.jacoco.reportPath}</dataFile>
488 <id>post-integration-test</id>
490 <goal>report-integration</goal>
493 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
494 <skip>${skip.integrationtest}</skip>
500 <groupId>org.apache.maven.plugins</groupId>
501 <artifactId>maven-surefire-plugin</artifactId>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-failsafe-plugin</artifactId>
508 <id>failsafe-integration-tests</id>
510 <goal>integration-test</goal>
514 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
515 <skipTests>${skip.integrationtest}</skipTests>
521 <groupId>org.opendaylight.yangtools</groupId>
522 <artifactId>yang-maven-plugin</artifactId>
523 <version>${yangtools.version}</version>
527 <goal>generate-sources</goal>
530 <!-- directory containing yang files to parse and generate code -->
531 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
535 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
536 </codeGeneratorClass>
537 <!-- directory into which generated files will be placed -->
539 target/generated-sources/sal
543 <inspectDependencies>true</inspectDependencies>
549 <groupId>org.opendaylight.mdsal</groupId>
550 <artifactId>maven-sal-api-gen-plugin</artifactId>
551 <version>${yangtools.version}</version>
557 <groupId>org.codehaus.mojo</groupId>
558 <artifactId>build-helper-maven-plugin</artifactId>
559 <version>1.7</version>
562 <phase>generate-sources</phase>
564 <goal>add-source</goal>
568 <source>target/generated-sources/sal</source>
580 <id>integrationtest</id>
582 <activeByDefault>false</activeByDefault>
585 <skip.integrationtest>false</skip.integrationtest>
591 <activeByDefault>false</activeByDefault>
594 <skip.coverage>false</skip.coverage>
600 <activeByDefault>false</activeByDefault>
603 <skip.distribution>true</skip.distribution>
604 <root.directory>${env.WORKSPACE}</root.directory>
610 <activeByDefault>false</activeByDefault>
613 <skip.karaf.featureTest>false</skip.karaf.featureTest>