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 <dlux.version>0.3.0-SNAPSHOT</dlux.version>
105 <ovsdb.ui.version>0.1.0-SNAPSHOT</ovsdb.ui.version>
108 <dependencyManagement>
111 <groupId>org.opendaylight.mdsal</groupId>
112 <artifactId>mdsal-artifacts</artifactId>
113 <version>2.0.0-SNAPSHOT</version>
115 <scope>import</scope>
118 <groupId>org.opendaylight.mdsal.model</groupId>
119 <artifactId>mdsal-model-artifacts</artifactId>
120 <version>0.8.0-SNAPSHOT</version>
122 <scope>import</scope>
125 <groupId>commons-collections</groupId>
126 <artifactId>commons-collections</artifactId>
127 <version>${commons.collection.version}</version>
130 <groupId>io.netty</groupId>
131 <artifactId>netty-all</artifactId>
132 <version>${netty.version}</version>
135 <groupId>javax.portlet</groupId>
136 <artifactId>portlet-api</artifactId>
137 <version>${portlet.version}</version>
140 <groupId>org.apache.httpcomponents</groupId>
141 <artifactId>httpcore-nio</artifactId>
142 <version>${httpcomponents.version}</version>
145 <groupId>org.opendaylight.controller</groupId>
146 <artifactId>commons.northbound</artifactId>
147 <version>${northbound.commons.version}</version>
150 <groupId>org.opendaylight.controller</groupId>
151 <artifactId>config-api</artifactId>
152 <version>${controller.config.version}</version>
155 <groupId>org.opendaylight.controller</groupId>
156 <artifactId>containermanager</artifactId>
157 <version>${containermanager.version}</version>
160 <groupId>org.opendaylight.controller</groupId>
161 <artifactId>forwardingrulesmanager</artifactId>
162 <version>${forwardingrulesmanager.version}</version>
165 <groupId>org.opendaylight.neutron</groupId>
166 <artifactId>neutron-spi</artifactId>
167 <version>${networkconfig.neutron.version}</version>
170 <groupId>org.opendaylight.controller</groupId>
171 <artifactId>opendaylight-karaf-empty</artifactId>
172 <version>1.6.0-SNAPSHOT</version>
176 <groupId>org.opendaylight.controller</groupId>
177 <artifactId>sal</artifactId>
178 <version>${sal.version}</version>
182 <groupId>org.opendaylight.yangtools</groupId>
183 <artifactId>yangtools-artifacts</artifactId>
184 <version>${yangtools.version}</version>
186 <scope>import</scope>
189 <groupId>org.opendaylight.controller</groupId>
190 <artifactId>config-artifacts</artifactId>
191 <version>${controller.config.version}</version>
193 <scope>import</scope>
196 <groupId>org.opendaylight.controller</groupId>
197 <artifactId>mdsal-artifacts</artifactId>
198 <version>${mdsal.version}</version>
199 <scope>import</scope>
203 <groupId>org.opendaylight.openflowjava</groupId>
204 <artifactId>openflowjava-artifacts</artifactId>
205 <version>${openflowjava.version}</version>
207 <scope>import</scope>
211 <groupId>org.opendaylight.controller</groupId>
212 <artifactId>switchmanager</artifactId>
213 <version>${switchmanager.api.version}</version>
216 <groupId>org.opendaylight.openflowplugin.model</groupId>
217 <artifactId>model-flow-base</artifactId>
218 <version>${openflowplugin.version}</version>
221 <groupId>org.opendaylight.openflowplugin.model</groupId>
222 <artifactId>model-flow-service</artifactId>
223 <version>${openflowplugin.version}</version>
226 <groupId>org.opendaylight.openflowplugin.model</groupId>
227 <artifactId>model-flow-statistics</artifactId>
228 <version>${openflowplugin.version}</version>
231 <groupId>org.opendaylight.odlparent</groupId>
232 <artifactId>features-test</artifactId>
233 <version>${odlparent.version}</version>
237 <groupId>org.opendaylight.openflowplugin</groupId>
238 <artifactId>openflowplugin</artifactId>
239 <version>${openflowplugin.version}</version>
242 <groupId>org.opendaylight.openflowplugin</groupId>
243 <artifactId>openflowjava-extension-nicira</artifactId>
244 <version>${openflowjava-nicira.version}</version>
247 <groupId>org.opendaylight.openflowplugin</groupId>
248 <artifactId>openflowjava-extension-nicira-api</artifactId>
249 <version>${openflowjava-nicira.version}</version>
252 <groupId>org.opendaylight.openflowplugin</groupId>
253 <artifactId>openflowplugin-extension-api</artifactId>
254 <version>${openflowplugin.version}</version>
257 <groupId>org.opendaylight.openflowplugin</groupId>
258 <artifactId>openflowplugin-extension-nicira</artifactId>
259 <version>${openflowplugin.version}</version>
262 <groupId>org.opendaylight.openflowplugin</groupId>
263 <artifactId>openflowplugin-extension-nicira-config</artifactId>
264 <version>${openflowplugin.version}</version>
267 <groupId>org.opendaylight.ovsdb</groupId>
268 <artifactId>features-ovsdb</artifactId>
269 <version>${ovsdb.features.version}</version>
272 <groupId>org.opendaylight.ovsdb</groupId>
273 <artifactId>library</artifactId>
274 <version>${ovsdb.library.version}</version>
277 <groupId>org.opendaylight.ovsdb</groupId>
278 <artifactId>northbound</artifactId>
279 <version>${ovsdb.northbound.version}</version>
282 <groupId>org.opendaylight.ovsdb</groupId>
283 <artifactId>openstack.net-virt</artifactId>
284 <version>${openstack.netvirt.version}</version>
287 <groupId>org.opendaylight.ovsdb</groupId>
288 <artifactId>openstack.net-virt-providers</artifactId>
289 <version>${openstack.netvirt.providers.version}</version>
292 <groupId>org.opendaylight.ovsdb</groupId>
293 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
294 <version>${ovsdb.plugin.compatibility.layer.version}</version>
297 <groupId>org.opendaylight.ovsdb</groupId>
298 <artifactId>plugin</artifactId>
299 <version>${ovsdb.plugin.version}</version>
302 <groupId>org.opendaylight.ovsdb</groupId>
303 <artifactId>plugin-mdsal-adapter</artifactId>
304 <version>${ovsdb.plugin.adapter.version}</version>
307 <groupId>org.opendaylight.ovsdb</groupId>
308 <artifactId>plugin-shell</artifactId>
309 <version>${plugin.shell.version}</version>
312 <groupId>org.opendaylight.ovsdb</groupId>
313 <artifactId>schema.hardwarevtep</artifactId>
314 <version>${schema.hardwarevtep.version}</version>
317 <groupId>org.opendaylight.ovsdb</groupId>
318 <artifactId>schema.openvswitch</artifactId>
319 <version>${schema.openvswitch.version}</version>
322 <groupId>org.opendaylight.ovsdb</groupId>
323 <artifactId>utils.config</artifactId>
324 <version>${ovsdb.utils.config.version}</version>
327 <groupId>org.opendaylight.ovsdb</groupId>
328 <artifactId>utils.mdsal-node</artifactId>
329 <version>${ovsdb.utils.mdsal.node.version}</version>
332 <groupId>org.opendaylight.ovsdb</groupId>
333 <artifactId>utils.mdsal-openflow</artifactId>
334 <version>${ovsdb.utils.mdsal.openflow.version}</version>
337 <groupId>org.opendaylight.ovsdb</groupId>
338 <artifactId>utils.servicehelper</artifactId>
339 <version>${ovsdb.utils.servicehelper.version}</version>
342 <groupId>org.powermock</groupId>
343 <artifactId>powermock-module-junit4</artifactId>
344 <version>${powermock.version}</version>
347 <groupId>org.powermock</groupId>
348 <artifactId>powermock-api-mockito</artifactId>
349 <version>${powermock.version}</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-core</artifactId>
354 <version>${powermock.version}</version>
357 <groupId>org.opendaylight.ovsdb</groupId>
358 <artifactId>ovsdb-ui</artifactId>
359 <version>${ovsdb.ui.version}</version>
362 </dependencyManagement>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-compiler-plugin</artifactId>
371 <source>${java.version.source}</source>
372 <target>${java.version.target}</target>
373 <testSource>${java.version.source}</testSource>
374 <testTarget>${java.version.target}</testTarget>
377 <!-- This configuration should move to ODL-Parent -->
379 <groupId>org.eclipse.m2e</groupId>
380 <artifactId>lifecycle-mapping</artifactId>
381 <version>${lifecycle.mapping.version}</version>
383 <lifecycleMappingMetadata>
386 <pluginExecutionFilter>
387 <groupId>org.codehaus.mojo</groupId>
388 <artifactId>properties-maven-plugin</artifactId>
389 <versionRange>[0.0,)</versionRange>
391 <goal>set-system-properties</goal>
393 </pluginExecutionFilter>
399 <pluginExecutionFilter>
400 <groupId>org.jacoco</groupId>
401 <artifactId>jacoco-maven-plugin</artifactId>
402 <versionRange>[0.0,)</versionRange>
404 <goal>prepare-agent</goal>
405 <goal>pre-test</goal>
406 <goal>post-test</goal>
408 </pluginExecutionFilter>
414 <pluginExecutionFilter>
415 <groupId>org.opendaylight.yangtools</groupId>
416 <artifactId>yang-maven-plugin</artifactId>
417 <versionRange>[0.5,)</versionRange>
419 <goal>generate-sources</goal>
421 </pluginExecutionFilter>
427 </lifecycleMappingMetadata>
431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-checkstyle-plugin</artifactId>
435 <groupId>com.puppycrawl.tools</groupId>
436 <artifactId>checkstyle</artifactId>
437 <version>6.4.1</version>
441 <failsOnError>true</failsOnError>
442 <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
443 <excludes>**/yang/,**/features/,
444 **/openstack/,**/ovs-sfc/,
445 **/schema/hardwarevtep/,**/schema/openvswitch/,
446 **/southbound/,**/utils/
451 <groupId>org.jacoco</groupId>
452 <artifactId>jacoco-maven-plugin</artifactId>
454 <skip>${skip.coverage}</skip>
458 <id>pre-unit-test</id>
460 <goal>prepare-agent</goal>
463 <destFile>${sonar.jacoco.reportPath}</destFile>
467 <id>pre-integration-test</id>
469 <goal>prepare-agent-integration</goal>
472 <destFile>${sonar.jacoco.itReportPath}</destFile>
473 <append>true</append>
474 <skip>${skip.integrationtest}</skip>
478 <id>post-unit-test</id>
483 <dataFile>${sonar.jacoco.reportPath}</dataFile>
487 <id>post-integration-test</id>
489 <goal>report-integration</goal>
492 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
493 <skip>${skip.integrationtest}</skip>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-surefire-plugin</artifactId>
503 <groupId>org.apache.maven.plugins</groupId>
504 <artifactId>maven-failsafe-plugin</artifactId>
507 <id>failsafe-integration-tests</id>
509 <goal>integration-test</goal>
513 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
514 <skipTests>${skip.integrationtest}</skipTests>
520 <groupId>org.opendaylight.yangtools</groupId>
521 <artifactId>yang-maven-plugin</artifactId>
522 <version>${yangtools.version}</version>
526 <goal>generate-sources</goal>
529 <!-- directory containing yang files to parse and generate code -->
530 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
534 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
535 </codeGeneratorClass>
536 <!-- directory into which generated files will be placed -->
538 target/generated-sources/sal
542 <inspectDependencies>true</inspectDependencies>
548 <groupId>org.opendaylight.mdsal</groupId>
549 <artifactId>maven-sal-api-gen-plugin</artifactId>
550 <version>${yangtools.version}</version>
556 <groupId>org.codehaus.mojo</groupId>
557 <artifactId>build-helper-maven-plugin</artifactId>
558 <version>1.7</version>
561 <phase>generate-sources</phase>
563 <goal>add-source</goal>
567 <source>target/generated-sources/sal</source>
579 <id>integrationtest</id>
581 <activeByDefault>false</activeByDefault>
584 <skip.integrationtest>false</skip.integrationtest>
590 <activeByDefault>false</activeByDefault>
593 <skip.coverage>false</skip.coverage>
599 <activeByDefault>false</activeByDefault>
602 <skip.distribution>true</skip.distribution>
603 <root.directory>${env.WORKSPACE}</root.directory>
609 <activeByDefault>false</activeByDefault>
612 <skip.karaf.featureTest>false</skip.karaf.featureTest>