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.5.0-SNAPSHOT</version>
20 <groupId>org.opendaylight.ovsdb</groupId>
21 <artifactId>commons</artifactId>
22 <name>${project.artifactId}.parent</name>
23 <version>1.3.0-SNAPSHOT</version>
24 <packaging>pom</packaging>
31 <checkstyle.rules.version>0.1.0-SNAPSHOT</checkstyle.rules.version>
32 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
33 <!-- Surefire/Failsafe Arguments -->
34 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
35 <!-- OVSDB Component Versions -->
36 <openstack.netvirt.version>1.1.0-SNAPSHOT</openstack.netvirt.version>
37 <openstack.netvirt.providers.version>1.1.0-SNAPSHOT</openstack.netvirt.providers.version>
38 <ovsdb.features.version>1.1.0-SNAPSHOT</ovsdb.features.version>
39 <ovsdb.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
40 <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
41 <ovsdb.plugin.version>1.1.0-SNAPSHOT</ovsdb.plugin.version>
42 <ovsdb.plugin.compatibility.layer.version>1.1.0-SNAPSHOT</ovsdb.plugin.compatibility.layer.version>
43 <ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
44 <ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.version>
45 <ovsdb.utils.servicehelper.version>1.1.0-SNAPSHOT</ovsdb.utils.servicehelper.version>
46 <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
47 <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
48 <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
49 <utils.mdsal.openflow.version>1.1.0-SNAPSHOT</utils.mdsal.openflow.version>
50 <!-- Skip Coverage and IT by default -->
51 <skip.coverage>true</skip.coverage>
52 <skip.distribution>false</skip.distribution>
53 <skip.integrationtest>true</skip.integrationtest>
54 <skip.karaf>false</skip.karaf>
55 <!-- The directory where maven was executed TODO see if this can be removed -->
56 <root.directory>${env.PWD}</root.directory>
57 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
58 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
59 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
60 <!-- ODL Dependency Versions -->
61 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
62 <containermanager.version>0.6.0-SNAPSHOT</containermanager.version>
63 <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
64 <forwardingrulesmanager.version>0.7.0-SNAPSHOT</forwardingrulesmanager.version>
65 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
66 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
67 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
68 <networkconfig.neutron.version>0.5.0-SNAPSHOT</networkconfig.neutron.version>
69 <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
70 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
71 <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
72 <odlparent.version>1.5.0-SNAPSHOT</odlparent.version>
73 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
74 <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
75 <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
76 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
77 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
78 <sal.version>0.9.0-SNAPSHOT</sal.version>
79 <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
80 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
81 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
82 <!-- 3rd Pary Dependency Versions -->
83 <commons.collection.version>1.0</commons.collection.version>
84 <httpcomponents.version>4.2.1</httpcomponents.version>
85 <portlet.version>2.0</portlet.version>
86 <powermock.version>1.5.2</powermock.version>
89 <dependencyManagement>
92 <groupId>commons-collections</groupId>
93 <artifactId>commons-collections</artifactId>
94 <version>${commons.collection.version}</version>
97 <groupId>io.netty</groupId>
98 <artifactId>netty-all</artifactId>
99 <version>${netty.version}</version>
102 <groupId>javax.portlet</groupId>
103 <artifactId>portlet-api</artifactId>
104 <version>${portlet.version}</version>
107 <groupId>org.apache.httpcomponents</groupId>
108 <artifactId>httpcore-nio</artifactId>
109 <version>${httpcomponents.version}</version>
112 <groupId>org.opendaylight.controller</groupId>
113 <artifactId>commons.northbound</artifactId>
114 <version>${northbound.commons.version}</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>config-api</artifactId>
119 <version>${controller.config.version}</version>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>clustering.services</artifactId>
124 <version>${clustering.services.version}</version>
127 <groupId>org.opendaylight.controller</groupId>
128 <artifactId>containermanager</artifactId>
129 <version>${containermanager.version}</version>
132 <groupId>org.opendaylight.controller</groupId>
133 <artifactId>forwardingrulesmanager</artifactId>
134 <version>${forwardingrulesmanager.version}</version>
137 <groupId>org.opendaylight.neutron</groupId>
138 <artifactId>neutron-spi</artifactId>
139 <version>${networkconfig.neutron.version}</version>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>opendaylight-karaf-empty</artifactId>
144 <version>1.5.0-SNAPSHOT</version>
148 <groupId>org.opendaylight.controller</groupId>
149 <artifactId>sal</artifactId>
150 <version>${sal.version}</version>
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>sal-binding-api</artifactId>
155 <version>${mdsal.version}</version>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>sal-binding-config</artifactId>
160 <version>${mdsal.version}</version>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>sal-common-api</artifactId>
165 <version>${mdsal.version}</version>
168 <groupId>org.opendaylight.controller</groupId>
169 <artifactId>sal-common-util</artifactId>
170 <version>${mdsal.version}</version>
173 <groupId>org.opendaylight.controller</groupId>
174 <artifactId>switchmanager</artifactId>
175 <version>${switchmanager.api.version}</version>
178 <groupId>org.opendaylight.openflowplugin.model</groupId>
179 <artifactId>model-flow-base</artifactId>
180 <version>${openflowplugin.version}</version>
183 <groupId>org.opendaylight.openflowplugin.model</groupId>
184 <artifactId>model-flow-service</artifactId>
185 <version>${openflowplugin.version}</version>
188 <groupId>org.opendaylight.openflowplugin.model</groupId>
189 <artifactId>model-flow-statistics</artifactId>
190 <version>${openflowplugin.version}</version>
193 <groupId>org.opendaylight.controller.model</groupId>
194 <artifactId>model-inventory</artifactId>
195 <version>${mdsal.version}</version>
198 <groupId>org.opendaylight.odlparent</groupId>
199 <artifactId>features-test</artifactId>
200 <version>${odlparent.version}</version>
204 <groupId>org.opendaylight.yangtools</groupId>
205 <artifactId>concepts</artifactId>
206 <version>${yangtools.version}</version>
209 <groupId>org.opendaylight.yangtools</groupId>
210 <artifactId>yang-binding</artifactId>
211 <version>${yangtools.version}</version>
214 <groupId>org.opendaylight.yangtools</groupId>
215 <artifactId>yang-common</artifactId>
216 <version>${yangtools.version}</version>
219 <groupId>org.opendaylight.yangtools.model</groupId>
220 <artifactId>ietf-inet-types</artifactId>
221 <version>${ietf.model.version}</version>
224 <groupId>org.opendaylight.yangtools.model</groupId>
225 <artifactId>ietf-yang-types</artifactId>
226 <version>${ietf.model.version}</version>
229 <groupId>org.opendaylight.yangtools.model</groupId>
230 <artifactId>ietf-yang-types-20130715</artifactId>
231 <version>${ietf.yang.types.version}</version>
234 <groupId>org.opendaylight.yangtools.model</groupId>
235 <artifactId>opendaylight-l2-types</artifactId>
236 <version>${opendaylight-l2-types.version}</version>
239 <groupId>org.opendaylight.yangtools.model</groupId>
240 <artifactId>yang-ext</artifactId>
241 <version>${yang-ext.version}</version>
244 <groupId>org.opendaylight.openflowjava</groupId>
245 <artifactId>openflow-protocol-api</artifactId>
246 <version>${openflowjava.version}</version>
249 <groupId>org.opendaylight.openflowjava</groupId>
250 <artifactId>openflow-protocol-impl</artifactId>
251 <version>${openflowjava.version}</version>
254 <groupId>org.opendaylight.openflowjava</groupId>
255 <artifactId>openflow-protocol-spi</artifactId>
256 <version>${openflowjava.version}</version>
259 <groupId>org.opendaylight.openflowjava</groupId>
260 <artifactId>util</artifactId>
261 <version>${openflowjava.version}</version>
264 <groupId>org.opendaylight.openflowplugin</groupId>
265 <artifactId>openflowplugin</artifactId>
266 <version>${openflowplugin.version}</version>
269 <groupId>org.opendaylight.openflowplugin</groupId>
270 <artifactId>openflowjava-extension-nicira</artifactId>
271 <version>${openflowjava-nicira.version}</version>
274 <groupId>org.opendaylight.openflowplugin</groupId>
275 <artifactId>openflowjava-extension-nicira-api</artifactId>
276 <version>${openflowjava-nicira.version}</version>
279 <groupId>org.opendaylight.openflowplugin</groupId>
280 <artifactId>openflowplugin-extension-api</artifactId>
281 <version>${openflowplugin.version}</version>
284 <groupId>org.opendaylight.openflowplugin</groupId>
285 <artifactId>openflowplugin-extension-nicira</artifactId>
286 <version>${openflowplugin.version}</version>
289 <groupId>org.opendaylight.openflowplugin</groupId>
290 <artifactId>openflowplugin-extension-nicira-config</artifactId>
291 <version>${openflowplugin.version}</version>
294 <groupId>org.opendaylight.ovsdb</groupId>
295 <artifactId>features-ovsdb</artifactId>
296 <version>${ovsdb.features.version}</version>
299 <groupId>org.opendaylight.ovsdb</groupId>
300 <artifactId>library</artifactId>
301 <version>${ovsdb.library.version}</version>
304 <groupId>org.opendaylight.ovsdb</groupId>
305 <artifactId>northbound</artifactId>
306 <version>${ovsdb.northbound.version}</version>
309 <groupId>org.opendaylight.ovsdb</groupId>
310 <artifactId>openstack.net-virt</artifactId>
311 <version>${openstack.netvirt.version}</version>
314 <groupId>org.opendaylight.ovsdb</groupId>
315 <artifactId>openstack.net-virt-providers</artifactId>
316 <version>${openstack.netvirt.providers.version}</version>
319 <groupId>org.opendaylight.ovsdb</groupId>
320 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
321 <version>${ovsdb.plugin.compatibility.layer.version}</version>
324 <groupId>org.opendaylight.ovsdb</groupId>
325 <artifactId>plugin</artifactId>
326 <version>${ovsdb.plugin.version}</version>
329 <groupId>org.opendaylight.ovsdb</groupId>
330 <artifactId>plugin-mdsal-adapter</artifactId>
331 <version>${ovsdb.plugin.adapter.version}</version>
334 <groupId>org.opendaylight.ovsdb</groupId>
335 <artifactId>plugin-shell</artifactId>
336 <version>${plugin.shell.version}</version>
339 <groupId>org.opendaylight.ovsdb</groupId>
340 <artifactId>schema.hardwarevtep</artifactId>
341 <version>${schema.hardwarevtep.version}</version>
344 <groupId>org.opendaylight.ovsdb</groupId>
345 <artifactId>schema.openvswitch</artifactId>
346 <version>${schema.openvswitch.version}</version>
349 <groupId>org.opendaylight.ovsdb</groupId>
350 <artifactId>utils.config</artifactId>
351 <version>${ovsdb.utils.config.version}</version>
354 <groupId>org.opendaylight.ovsdb</groupId>
355 <artifactId>utils.mdsal-openflow</artifactId>
356 <version>${utils.mdsal.openflow.version}</version>
359 <groupId>org.opendaylight.ovsdb</groupId>
360 <artifactId>utils.servicehelper</artifactId>
361 <version>${ovsdb.utils.servicehelper.version}</version>
364 <groupId>org.powermock</groupId>
365 <artifactId>powermock-module-junit4</artifactId>
366 <version>${powermock.version}</version>
369 <groupId>org.powermock</groupId>
370 <artifactId>powermock-api-mockito</artifactId>
371 <version>${powermock.version}</version>
374 <groupId>org.powermock</groupId>
375 <artifactId>powermock-core</artifactId>
376 <version>${powermock.version}</version>
379 </dependencyManagement>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-compiler-plugin</artifactId>
388 <source>${java.version.source}</source>
389 <target>${java.version.target}</target>
390 <testSource>${java.version.source}</testSource>
391 <testTarget>${java.version.target}</testTarget>
394 <!-- This configuration should move to ODL-Parent -->
396 <groupId>org.eclipse.m2e</groupId>
397 <artifactId>lifecycle-mapping</artifactId>
398 <version>${lifecycle.mapping.version}</version>
400 <lifecycleMappingMetadata>
403 <pluginExecutionFilter>
404 <groupId>org.codehaus.mojo</groupId>
405 <artifactId>properties-maven-plugin</artifactId>
406 <versionRange>[0.0,)</versionRange>
408 <goal>set-system-properties</goal>
410 </pluginExecutionFilter>
416 <pluginExecutionFilter>
417 <groupId>org.jacoco</groupId>
418 <artifactId>jacoco-maven-plugin</artifactId>
419 <versionRange>[0.0,)</versionRange>
421 <goal>prepare-agent</goal>
422 <goal>pre-test</goal>
423 <goal>post-test</goal>
425 </pluginExecutionFilter>
431 <pluginExecutionFilter>
432 <groupId>org.apache.maven.plugins</groupId>
433 <artifactId>maven-checkstyle-plugin</artifactId>
434 <versionRange>[2.0,)</versionRange>
438 </pluginExecutionFilter>
444 <pluginExecutionFilter>
445 <groupId>org.opendaylight.yangtools</groupId>
446 <artifactId>yang-maven-plugin</artifactId>
447 <versionRange>[0.5,)</versionRange>
449 <goal>generate-sources</goal>
451 </pluginExecutionFilter>
457 </lifecycleMappingMetadata>
461 <groupId>org.apache.maven.plugins</groupId>
462 <artifactId>maven-checkstyle-plugin</artifactId>
463 <version>${checkstyle.version}</version>
465 <failsOnError>true</failsOnError>
466 <configLocation>controller/checkstyle.xml</configLocation>
467 <consoleOutput>true</consoleOutput>
468 <includeTestSourceDirectory>true</includeTestSourceDirectory>
469 <sourceDirectory>${project.basedir}</sourceDirectory>
470 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
471 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
475 <groupId>org.opendaylight.controller</groupId>
476 <artifactId>checkstyle</artifactId>
477 <version>0.1.0-SNAPSHOT</version>
485 <phase>process-sources</phase>
490 <groupId>org.jacoco</groupId>
491 <artifactId>jacoco-maven-plugin</artifactId>
492 <version>${jacoco.version}</version>
494 <skip>${skip.coverage}</skip>
498 <id>pre-unit-test</id>
500 <goal>prepare-agent</goal>
503 <destFile>${sonar.jacoco.reportPath}</destFile>
507 <id>pre-integration-test</id>
509 <goal>prepare-agent-integration</goal>
512 <destFile>${sonar.jacoco.itReportPath}</destFile>
513 <append>true</append>
514 <skip>${skip.integrationtest}</skip>
518 <id>post-unit-test</id>
523 <dataFile>${sonar.jacoco.reportPath}</dataFile>
527 <id>post-integration-test</id>
529 <goal>report-integration</goal>
532 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
533 <skip>${skip.integrationtest}</skip>
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-surefire-plugin</artifactId>
543 <groupId>org.apache.maven.plugins</groupId>
544 <artifactId>maven-failsafe-plugin</artifactId>
547 <id>failsafe-integration-tests</id>
549 <goal>integration-test</goal>
553 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
554 <skipTests>${skip.integrationtest}</skipTests>
560 <groupId>org.opendaylight.yangtools</groupId>
561 <artifactId>yang-maven-plugin</artifactId>
562 <version>${yangtools.version}</version>
566 <goal>generate-sources</goal>
569 <!-- directory containing yang files to parse and generate code -->
570 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
574 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
575 </codeGeneratorClass>
576 <!-- directory into which generated files will be placed -->
578 target/generated-sources/sal
582 <inspectDependencies>true</inspectDependencies>
588 <groupId>org.opendaylight.yangtools</groupId>
589 <artifactId>maven-sal-api-gen-plugin</artifactId>
590 <version>${yangtools.version}</version>
596 <groupId>org.codehaus.mojo</groupId>
597 <artifactId>build-helper-maven-plugin</artifactId>
598 <version>1.7</version>
601 <phase>generate-sources</phase>
603 <goal>add-source</goal>
607 <source>target/generated-sources/sal</source>
618 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
619 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
621 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
626 <id>integrationtest</id>
628 <activeByDefault>false</activeByDefault>
631 <skip.integrationtest>false</skip.integrationtest>
637 <activeByDefault>false</activeByDefault>
640 <skip.coverage>false</skip.coverage>
646 <activeByDefault>false</activeByDefault>
649 <skip.distribution>true</skip.distribution>
650 <root.directory>${env.WORKSPACE}</root.directory>
656 <activeByDefault>false</activeByDefault>
659 <skip.karaf>false</skip.karaf>