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.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
39 <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
40 <ovsdb.plugin.version>1.1.0-SNAPSHOT</ovsdb.plugin.version>
41 <ovsdb.plugin.compatibility.layer.version>1.1.0-SNAPSHOT</ovsdb.plugin.compatibility.layer.version>
42 <ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
43 <ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.version>
44 <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
45 <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
46 <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
47 <utils.mdsal.openflow.version>1.1.0-SNAPSHOT</utils.mdsal.openflow.version>
48 <!-- Skip Coverage and IT by default -->
49 <skip.coverage>true</skip.coverage>
50 <skip.distribution>false</skip.distribution>
51 <skip.integrationtest>true</skip.integrationtest>
52 <skip.karaf>false</skip.karaf>
53 <!-- The directory where maven was executed TODO see if this can be removed -->
54 <root.directory>${env.PWD}</root.directory>
55 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
56 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
57 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
58 <!-- ODL Dependency Versions -->
59 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
60 <containermanager.version>0.6.0-SNAPSHOT</containermanager.version>
61 <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
62 <forwardingrulesmanager.version>0.7.0-SNAPSHOT</forwardingrulesmanager.version>
63 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
64 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
65 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
66 <networkconfig.neutron.version>0.5.0-SNAPSHOT</networkconfig.neutron.version>
67 <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
68 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
69 <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
70 <odlparent.version>1.5.0-SNAPSHOT</odlparent.version>
71 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
72 <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
73 <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
74 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
75 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
76 <sal.version>0.9.0-SNAPSHOT</sal.version>
77 <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
78 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
79 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
80 <!-- 3rd Pary Dependency Versions -->
81 <commons.collection.version>1.0</commons.collection.version>
82 <httpcomponents.version>4.2.1</httpcomponents.version>
83 <portlet.version>2.0</portlet.version>
84 <powermock.version>1.5.2</powermock.version>
87 <dependencyManagement>
90 <groupId>commons-collections</groupId>
91 <artifactId>commons-collections</artifactId>
92 <version>${commons.collection.version}</version>
95 <groupId>io.netty</groupId>
96 <artifactId>netty-all</artifactId>
97 <version>${netty.version}</version>
100 <groupId>javax.portlet</groupId>
101 <artifactId>portlet-api</artifactId>
102 <version>${portlet.version}</version>
105 <groupId>org.apache.httpcomponents</groupId>
106 <artifactId>httpcore-nio</artifactId>
107 <version>${httpcomponents.version}</version>
110 <groupId>org.opendaylight.controller</groupId>
111 <artifactId>commons.northbound</artifactId>
112 <version>${northbound.commons.version}</version>
115 <groupId>org.opendaylight.controller</groupId>
116 <artifactId>config-api</artifactId>
117 <version>${controller.config.version}</version>
120 <groupId>org.opendaylight.controller</groupId>
121 <artifactId>clustering.services</artifactId>
122 <version>${clustering.services.version}</version>
125 <groupId>org.opendaylight.controller</groupId>
126 <artifactId>containermanager</artifactId>
127 <version>${containermanager.version}</version>
130 <groupId>org.opendaylight.controller</groupId>
131 <artifactId>forwardingrulesmanager</artifactId>
132 <version>${forwardingrulesmanager.version}</version>
135 <groupId>org.opendaylight.neutron</groupId>
136 <artifactId>neutron-spi</artifactId>
137 <version>${networkconfig.neutron.version}</version>
140 <groupId>org.opendaylight.controller</groupId>
141 <artifactId>opendaylight-karaf-empty</artifactId>
142 <version>1.5.0-SNAPSHOT</version>
146 <groupId>org.opendaylight.controller</groupId>
147 <artifactId>sal</artifactId>
148 <version>${sal.version}</version>
151 <groupId>org.opendaylight.controller</groupId>
152 <artifactId>sal-binding-api</artifactId>
153 <version>${mdsal.version}</version>
156 <groupId>org.opendaylight.controller</groupId>
157 <artifactId>sal-binding-config</artifactId>
158 <version>${mdsal.version}</version>
161 <groupId>org.opendaylight.controller</groupId>
162 <artifactId>sal-common-api</artifactId>
163 <version>${mdsal.version}</version>
166 <groupId>org.opendaylight.controller</groupId>
167 <artifactId>sal-common-util</artifactId>
168 <version>${mdsal.version}</version>
171 <groupId>org.opendaylight.controller</groupId>
172 <artifactId>switchmanager</artifactId>
173 <version>${switchmanager.api.version}</version>
176 <groupId>org.opendaylight.openflowplugin.model</groupId>
177 <artifactId>model-flow-base</artifactId>
178 <version>${openflowplugin.version}</version>
181 <groupId>org.opendaylight.openflowplugin.model</groupId>
182 <artifactId>model-flow-service</artifactId>
183 <version>${openflowplugin.version}</version>
186 <groupId>org.opendaylight.openflowplugin.model</groupId>
187 <artifactId>model-flow-statistics</artifactId>
188 <version>${openflowplugin.version}</version>
191 <groupId>org.opendaylight.controller.model</groupId>
192 <artifactId>model-inventory</artifactId>
193 <version>${mdsal.version}</version>
196 <groupId>org.opendaylight.odlparent</groupId>
197 <artifactId>features-test</artifactId>
198 <version>${odlparent.version}</version>
202 <groupId>org.opendaylight.yangtools</groupId>
203 <artifactId>concepts</artifactId>
204 <version>${yangtools.version}</version>
207 <groupId>org.opendaylight.yangtools</groupId>
208 <artifactId>yang-binding</artifactId>
209 <version>${yangtools.version}</version>
212 <groupId>org.opendaylight.yangtools</groupId>
213 <artifactId>yang-common</artifactId>
214 <version>${yangtools.version}</version>
217 <groupId>org.opendaylight.yangtools.model</groupId>
218 <artifactId>ietf-inet-types</artifactId>
219 <version>${ietf.model.version}</version>
222 <groupId>org.opendaylight.yangtools.model</groupId>
223 <artifactId>ietf-yang-types</artifactId>
224 <version>${ietf.model.version}</version>
227 <groupId>org.opendaylight.yangtools.model</groupId>
228 <artifactId>ietf-yang-types-20130715</artifactId>
229 <version>${ietf.yang.types.version}</version>
232 <groupId>org.opendaylight.yangtools.model</groupId>
233 <artifactId>opendaylight-l2-types</artifactId>
234 <version>${opendaylight-l2-types.version}</version>
237 <groupId>org.opendaylight.yangtools.model</groupId>
238 <artifactId>yang-ext</artifactId>
239 <version>${yang-ext.version}</version>
242 <groupId>org.opendaylight.openflowjava</groupId>
243 <artifactId>openflow-protocol-api</artifactId>
244 <version>${openflowjava.version}</version>
247 <groupId>org.opendaylight.openflowjava</groupId>
248 <artifactId>openflow-protocol-impl</artifactId>
249 <version>${openflowjava.version}</version>
252 <groupId>org.opendaylight.openflowjava</groupId>
253 <artifactId>openflow-protocol-spi</artifactId>
254 <version>${openflowjava.version}</version>
257 <groupId>org.opendaylight.openflowjava</groupId>
258 <artifactId>util</artifactId>
259 <version>${openflowjava.version}</version>
262 <groupId>org.opendaylight.openflowplugin</groupId>
263 <artifactId>openflowplugin</artifactId>
264 <version>${openflowplugin.version}</version>
267 <groupId>org.opendaylight.openflowplugin</groupId>
268 <artifactId>openflowjava-extension-nicira</artifactId>
269 <version>${openflowjava-nicira.version}</version>
272 <groupId>org.opendaylight.openflowplugin</groupId>
273 <artifactId>openflowjava-extension-nicira-api</artifactId>
274 <version>${openflowjava-nicira.version}</version>
277 <groupId>org.opendaylight.openflowplugin</groupId>
278 <artifactId>openflowplugin-extension-api</artifactId>
279 <version>${openflowplugin.version}</version>
282 <groupId>org.opendaylight.openflowplugin</groupId>
283 <artifactId>openflowplugin-extension-nicira</artifactId>
284 <version>${openflowplugin.version}</version>
287 <groupId>org.opendaylight.openflowplugin</groupId>
288 <artifactId>openflowplugin-extension-nicira-config</artifactId>
289 <version>${openflowplugin.version}</version>
292 <groupId>org.opendaylight.ovsdb</groupId>
293 <artifactId>library</artifactId>
294 <version>${ovsdb.library.version}</version>
297 <groupId>org.opendaylight.ovsdb</groupId>
298 <artifactId>northbound</artifactId>
299 <version>${ovsdb.northbound.version}</version>
302 <groupId>org.opendaylight.ovsdb</groupId>
303 <artifactId>openstack.net-virt</artifactId>
304 <version>${openstack.netvirt.version}</version>
307 <groupId>org.opendaylight.ovsdb</groupId>
308 <artifactId>openstack.net-virt-providers</artifactId>
309 <version>${openstack.netvirt.providers.version}</version>
312 <groupId>org.opendaylight.ovsdb</groupId>
313 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
314 <version>${ovsdb.plugin.compatibility.layer.version}</version>
317 <groupId>org.opendaylight.ovsdb</groupId>
318 <artifactId>plugin</artifactId>
319 <version>${ovsdb.plugin.version}</version>
322 <groupId>org.opendaylight.ovsdb</groupId>
323 <artifactId>plugin-mdsal-adapter</artifactId>
324 <version>${ovsdb.plugin.adapter.version}</version>
327 <groupId>org.opendaylight.ovsdb</groupId>
328 <artifactId>plugin-shell</artifactId>
329 <version>${plugin.shell.version}</version>
332 <groupId>org.opendaylight.ovsdb</groupId>
333 <artifactId>schema.hardwarevtep</artifactId>
334 <version>${schema.hardwarevtep.version}</version>
337 <groupId>org.opendaylight.ovsdb</groupId>
338 <artifactId>schema.openvswitch</artifactId>
339 <version>${schema.openvswitch.version}</version>
342 <groupId>org.opendaylight.ovsdb</groupId>
343 <artifactId>utils.config</artifactId>
344 <version>${ovsdb.utils.config.version}</version>
347 <groupId>org.opendaylight.ovsdb</groupId>
348 <artifactId>utils.mdsal-openflow</artifactId>
349 <version>${utils.mdsal.openflow.version}</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-module-junit4</artifactId>
354 <version>${powermock.version}</version>
357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-api-mockito</artifactId>
359 <version>${powermock.version}</version>
362 <groupId>org.powermock</groupId>
363 <artifactId>powermock-core</artifactId>
364 <version>${powermock.version}</version>
367 </dependencyManagement>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-compiler-plugin</artifactId>
376 <source>${java.version.source}</source>
377 <target>${java.version.target}</target>
378 <testSource>${java.version.source}</testSource>
379 <testTarget>${java.version.target}</testTarget>
382 <!-- This configuration should move to ODL-Parent -->
384 <groupId>org.eclipse.m2e</groupId>
385 <artifactId>lifecycle-mapping</artifactId>
386 <version>${lifecycle.mapping.version}</version>
388 <lifecycleMappingMetadata>
391 <pluginExecutionFilter>
392 <groupId>org.codehaus.mojo</groupId>
393 <artifactId>properties-maven-plugin</artifactId>
394 <versionRange>[0.0,)</versionRange>
396 <goal>set-system-properties</goal>
398 </pluginExecutionFilter>
404 <pluginExecutionFilter>
405 <groupId>org.jacoco</groupId>
406 <artifactId>jacoco-maven-plugin</artifactId>
407 <versionRange>[0.0,)</versionRange>
409 <goal>prepare-agent</goal>
410 <goal>pre-test</goal>
411 <goal>post-test</goal>
413 </pluginExecutionFilter>
419 <pluginExecutionFilter>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-checkstyle-plugin</artifactId>
422 <versionRange>[2.0,)</versionRange>
426 </pluginExecutionFilter>
432 <pluginExecutionFilter>
433 <groupId>org.opendaylight.yangtools</groupId>
434 <artifactId>yang-maven-plugin</artifactId>
435 <versionRange>[0.5,)</versionRange>
437 <goal>generate-sources</goal>
439 </pluginExecutionFilter>
445 </lifecycleMappingMetadata>
449 <groupId>org.apache.maven.plugins</groupId>
450 <artifactId>maven-checkstyle-plugin</artifactId>
451 <version>${checkstyle.version}</version>
453 <failsOnError>true</failsOnError>
454 <configLocation>controller/checkstyle.xml</configLocation>
455 <consoleOutput>true</consoleOutput>
456 <includeTestSourceDirectory>true</includeTestSourceDirectory>
457 <sourceDirectory>${project.basedir}</sourceDirectory>
458 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
459 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
463 <groupId>org.opendaylight.controller</groupId>
464 <artifactId>checkstyle</artifactId>
465 <version>0.1.0-SNAPSHOT</version>
473 <phase>process-sources</phase>
478 <groupId>org.jacoco</groupId>
479 <artifactId>jacoco-maven-plugin</artifactId>
480 <version>${jacoco.version}</version>
482 <skip>${skip.coverage}</skip>
486 <id>pre-unit-test</id>
488 <goal>prepare-agent</goal>
491 <destFile>${sonar.jacoco.reportPath}</destFile>
495 <id>pre-integration-test</id>
497 <goal>prepare-agent-integration</goal>
500 <destFile>${sonar.jacoco.itReportPath}</destFile>
501 <append>true</append>
502 <skip>${skip.integrationtest}</skip>
506 <id>post-unit-test</id>
511 <dataFile>${sonar.jacoco.reportPath}</dataFile>
515 <id>post-integration-test</id>
517 <goal>report-integration</goal>
520 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
521 <skip>${skip.integrationtest}</skip>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-surefire-plugin</artifactId>
531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-failsafe-plugin</artifactId>
535 <id>failsafe-integration-tests</id>
537 <goal>integration-test</goal>
541 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
542 <skipTests>${skip.integrationtest}</skipTests>
548 <groupId>org.opendaylight.yangtools</groupId>
549 <artifactId>yang-maven-plugin</artifactId>
550 <version>${yangtools.version}</version>
554 <goal>generate-sources</goal>
557 <!-- directory containing yang files to parse and generate code -->
558 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
562 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
563 </codeGeneratorClass>
564 <!-- directory into which generated files will be placed -->
566 target/generated-sources/sal
570 <inspectDependencies>true</inspectDependencies>
576 <groupId>org.opendaylight.yangtools</groupId>
577 <artifactId>maven-sal-api-gen-plugin</artifactId>
578 <version>${yangtools.version}</version>
584 <groupId>org.codehaus.mojo</groupId>
585 <artifactId>build-helper-maven-plugin</artifactId>
586 <version>1.7</version>
589 <phase>generate-sources</phase>
591 <goal>add-source</goal>
595 <source>target/generated-sources/sal</source>
606 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
607 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
609 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
614 <id>integrationtest</id>
616 <activeByDefault>false</activeByDefault>
619 <skip.integrationtest>false</skip.integrationtest>
625 <activeByDefault>false</activeByDefault>
628 <skip.coverage>false</skip.coverage>
634 <activeByDefault>false</activeByDefault>
637 <skip.distribution>true</skip.distribution>
638 <root.directory>${env.WORKSPACE}</root.directory>
644 <activeByDefault>false</activeByDefault>
647 <skip.karaf>false</skip.karaf>