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 <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
46 <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
47 <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
48 <utils.mdsal.openflow.version>1.1.0-SNAPSHOT</utils.mdsal.openflow.version>
49 <!-- Skip Coverage and IT by default -->
50 <skip.coverage>true</skip.coverage>
51 <skip.distribution>false</skip.distribution>
52 <skip.integrationtest>true</skip.integrationtest>
53 <skip.karaf>false</skip.karaf>
54 <!-- The directory where maven was executed TODO see if this can be removed -->
55 <root.directory>${env.PWD}</root.directory>
56 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
57 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
58 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
59 <!-- ODL Dependency Versions -->
60 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
61 <containermanager.version>0.6.0-SNAPSHOT</containermanager.version>
62 <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
63 <forwardingrulesmanager.version>0.7.0-SNAPSHOT</forwardingrulesmanager.version>
64 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
65 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
66 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
67 <networkconfig.neutron.version>0.5.0-SNAPSHOT</networkconfig.neutron.version>
68 <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
69 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
70 <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
71 <odlparent.version>1.5.0-SNAPSHOT</odlparent.version>
72 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
73 <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
74 <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
75 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
76 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
77 <sal.version>0.9.0-SNAPSHOT</sal.version>
78 <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
79 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
80 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
81 <!-- 3rd Pary Dependency Versions -->
82 <commons.collection.version>1.0</commons.collection.version>
83 <httpcomponents.version>4.2.1</httpcomponents.version>
84 <portlet.version>2.0</portlet.version>
85 <powermock.version>1.5.2</powermock.version>
88 <dependencyManagement>
91 <groupId>commons-collections</groupId>
92 <artifactId>commons-collections</artifactId>
93 <version>${commons.collection.version}</version>
96 <groupId>io.netty</groupId>
97 <artifactId>netty-all</artifactId>
98 <version>${netty.version}</version>
101 <groupId>javax.portlet</groupId>
102 <artifactId>portlet-api</artifactId>
103 <version>${portlet.version}</version>
106 <groupId>org.apache.httpcomponents</groupId>
107 <artifactId>httpcore-nio</artifactId>
108 <version>${httpcomponents.version}</version>
111 <groupId>org.opendaylight.controller</groupId>
112 <artifactId>commons.northbound</artifactId>
113 <version>${northbound.commons.version}</version>
116 <groupId>org.opendaylight.controller</groupId>
117 <artifactId>config-api</artifactId>
118 <version>${controller.config.version}</version>
121 <groupId>org.opendaylight.controller</groupId>
122 <artifactId>clustering.services</artifactId>
123 <version>${clustering.services.version}</version>
126 <groupId>org.opendaylight.controller</groupId>
127 <artifactId>containermanager</artifactId>
128 <version>${containermanager.version}</version>
131 <groupId>org.opendaylight.controller</groupId>
132 <artifactId>forwardingrulesmanager</artifactId>
133 <version>${forwardingrulesmanager.version}</version>
136 <groupId>org.opendaylight.neutron</groupId>
137 <artifactId>neutron-spi</artifactId>
138 <version>${networkconfig.neutron.version}</version>
141 <groupId>org.opendaylight.controller</groupId>
142 <artifactId>opendaylight-karaf-empty</artifactId>
143 <version>1.5.0-SNAPSHOT</version>
147 <groupId>org.opendaylight.controller</groupId>
148 <artifactId>sal</artifactId>
149 <version>${sal.version}</version>
152 <groupId>org.opendaylight.controller</groupId>
153 <artifactId>sal-binding-api</artifactId>
154 <version>${mdsal.version}</version>
157 <groupId>org.opendaylight.controller</groupId>
158 <artifactId>sal-binding-config</artifactId>
159 <version>${mdsal.version}</version>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>sal-common-api</artifactId>
164 <version>${mdsal.version}</version>
167 <groupId>org.opendaylight.controller</groupId>
168 <artifactId>sal-common-util</artifactId>
169 <version>${mdsal.version}</version>
172 <groupId>org.opendaylight.controller</groupId>
173 <artifactId>switchmanager</artifactId>
174 <version>${switchmanager.api.version}</version>
177 <groupId>org.opendaylight.openflowplugin.model</groupId>
178 <artifactId>model-flow-base</artifactId>
179 <version>${openflowplugin.version}</version>
182 <groupId>org.opendaylight.openflowplugin.model</groupId>
183 <artifactId>model-flow-service</artifactId>
184 <version>${openflowplugin.version}</version>
187 <groupId>org.opendaylight.openflowplugin.model</groupId>
188 <artifactId>model-flow-statistics</artifactId>
189 <version>${openflowplugin.version}</version>
192 <groupId>org.opendaylight.controller.model</groupId>
193 <artifactId>model-inventory</artifactId>
194 <version>${mdsal.version}</version>
197 <groupId>org.opendaylight.odlparent</groupId>
198 <artifactId>features-test</artifactId>
199 <version>${odlparent.version}</version>
203 <groupId>org.opendaylight.yangtools</groupId>
204 <artifactId>concepts</artifactId>
205 <version>${yangtools.version}</version>
208 <groupId>org.opendaylight.yangtools</groupId>
209 <artifactId>yang-binding</artifactId>
210 <version>${yangtools.version}</version>
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>yang-common</artifactId>
215 <version>${yangtools.version}</version>
218 <groupId>org.opendaylight.yangtools.model</groupId>
219 <artifactId>ietf-inet-types</artifactId>
220 <version>${ietf.model.version}</version>
223 <groupId>org.opendaylight.yangtools.model</groupId>
224 <artifactId>ietf-yang-types</artifactId>
225 <version>${ietf.model.version}</version>
228 <groupId>org.opendaylight.yangtools.model</groupId>
229 <artifactId>ietf-yang-types-20130715</artifactId>
230 <version>${ietf.yang.types.version}</version>
233 <groupId>org.opendaylight.yangtools.model</groupId>
234 <artifactId>opendaylight-l2-types</artifactId>
235 <version>${opendaylight-l2-types.version}</version>
238 <groupId>org.opendaylight.yangtools.model</groupId>
239 <artifactId>yang-ext</artifactId>
240 <version>${yang-ext.version}</version>
243 <groupId>org.opendaylight.openflowjava</groupId>
244 <artifactId>openflow-protocol-api</artifactId>
245 <version>${openflowjava.version}</version>
248 <groupId>org.opendaylight.openflowjava</groupId>
249 <artifactId>openflow-protocol-impl</artifactId>
250 <version>${openflowjava.version}</version>
253 <groupId>org.opendaylight.openflowjava</groupId>
254 <artifactId>openflow-protocol-spi</artifactId>
255 <version>${openflowjava.version}</version>
258 <groupId>org.opendaylight.openflowjava</groupId>
259 <artifactId>util</artifactId>
260 <version>${openflowjava.version}</version>
263 <groupId>org.opendaylight.openflowplugin</groupId>
264 <artifactId>openflowplugin</artifactId>
265 <version>${openflowplugin.version}</version>
268 <groupId>org.opendaylight.openflowplugin</groupId>
269 <artifactId>openflowjava-extension-nicira</artifactId>
270 <version>${openflowjava-nicira.version}</version>
273 <groupId>org.opendaylight.openflowplugin</groupId>
274 <artifactId>openflowjava-extension-nicira-api</artifactId>
275 <version>${openflowjava-nicira.version}</version>
278 <groupId>org.opendaylight.openflowplugin</groupId>
279 <artifactId>openflowplugin-extension-api</artifactId>
280 <version>${openflowplugin.version}</version>
283 <groupId>org.opendaylight.openflowplugin</groupId>
284 <artifactId>openflowplugin-extension-nicira</artifactId>
285 <version>${openflowplugin.version}</version>
288 <groupId>org.opendaylight.openflowplugin</groupId>
289 <artifactId>openflowplugin-extension-nicira-config</artifactId>
290 <version>${openflowplugin.version}</version>
293 <groupId>org.opendaylight.ovsdb</groupId>
294 <artifactId>features-ovsdb</artifactId>
295 <version>${ovsdb.features.version}</version>
298 <groupId>org.opendaylight.ovsdb</groupId>
299 <artifactId>library</artifactId>
300 <version>${ovsdb.library.version}</version>
303 <groupId>org.opendaylight.ovsdb</groupId>
304 <artifactId>northbound</artifactId>
305 <version>${ovsdb.northbound.version}</version>
308 <groupId>org.opendaylight.ovsdb</groupId>
309 <artifactId>openstack.net-virt</artifactId>
310 <version>${openstack.netvirt.version}</version>
313 <groupId>org.opendaylight.ovsdb</groupId>
314 <artifactId>openstack.net-virt-providers</artifactId>
315 <version>${openstack.netvirt.providers.version}</version>
318 <groupId>org.opendaylight.ovsdb</groupId>
319 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
320 <version>${ovsdb.plugin.compatibility.layer.version}</version>
323 <groupId>org.opendaylight.ovsdb</groupId>
324 <artifactId>plugin</artifactId>
325 <version>${ovsdb.plugin.version}</version>
328 <groupId>org.opendaylight.ovsdb</groupId>
329 <artifactId>plugin-mdsal-adapter</artifactId>
330 <version>${ovsdb.plugin.adapter.version}</version>
333 <groupId>org.opendaylight.ovsdb</groupId>
334 <artifactId>plugin-shell</artifactId>
335 <version>${plugin.shell.version}</version>
338 <groupId>org.opendaylight.ovsdb</groupId>
339 <artifactId>schema.hardwarevtep</artifactId>
340 <version>${schema.hardwarevtep.version}</version>
343 <groupId>org.opendaylight.ovsdb</groupId>
344 <artifactId>schema.openvswitch</artifactId>
345 <version>${schema.openvswitch.version}</version>
348 <groupId>org.opendaylight.ovsdb</groupId>
349 <artifactId>utils.config</artifactId>
350 <version>${ovsdb.utils.config.version}</version>
353 <groupId>org.opendaylight.ovsdb</groupId>
354 <artifactId>utils.mdsal-openflow</artifactId>
355 <version>${utils.mdsal.openflow.version}</version>
358 <groupId>org.powermock</groupId>
359 <artifactId>powermock-module-junit4</artifactId>
360 <version>${powermock.version}</version>
363 <groupId>org.powermock</groupId>
364 <artifactId>powermock-api-mockito</artifactId>
365 <version>${powermock.version}</version>
368 <groupId>org.powermock</groupId>
369 <artifactId>powermock-core</artifactId>
370 <version>${powermock.version}</version>
373 </dependencyManagement>
379 <groupId>org.apache.maven.plugins</groupId>
380 <artifactId>maven-compiler-plugin</artifactId>
382 <source>${java.version.source}</source>
383 <target>${java.version.target}</target>
384 <testSource>${java.version.source}</testSource>
385 <testTarget>${java.version.target}</testTarget>
388 <!-- This configuration should move to ODL-Parent -->
390 <groupId>org.eclipse.m2e</groupId>
391 <artifactId>lifecycle-mapping</artifactId>
392 <version>${lifecycle.mapping.version}</version>
394 <lifecycleMappingMetadata>
397 <pluginExecutionFilter>
398 <groupId>org.codehaus.mojo</groupId>
399 <artifactId>properties-maven-plugin</artifactId>
400 <versionRange>[0.0,)</versionRange>
402 <goal>set-system-properties</goal>
404 </pluginExecutionFilter>
410 <pluginExecutionFilter>
411 <groupId>org.jacoco</groupId>
412 <artifactId>jacoco-maven-plugin</artifactId>
413 <versionRange>[0.0,)</versionRange>
415 <goal>prepare-agent</goal>
416 <goal>pre-test</goal>
417 <goal>post-test</goal>
419 </pluginExecutionFilter>
425 <pluginExecutionFilter>
426 <groupId>org.apache.maven.plugins</groupId>
427 <artifactId>maven-checkstyle-plugin</artifactId>
428 <versionRange>[2.0,)</versionRange>
432 </pluginExecutionFilter>
438 <pluginExecutionFilter>
439 <groupId>org.opendaylight.yangtools</groupId>
440 <artifactId>yang-maven-plugin</artifactId>
441 <versionRange>[0.5,)</versionRange>
443 <goal>generate-sources</goal>
445 </pluginExecutionFilter>
451 </lifecycleMappingMetadata>
455 <groupId>org.apache.maven.plugins</groupId>
456 <artifactId>maven-checkstyle-plugin</artifactId>
457 <version>${checkstyle.version}</version>
459 <failsOnError>true</failsOnError>
460 <configLocation>controller/checkstyle.xml</configLocation>
461 <consoleOutput>true</consoleOutput>
462 <includeTestSourceDirectory>true</includeTestSourceDirectory>
463 <sourceDirectory>${project.basedir}</sourceDirectory>
464 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
465 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
469 <groupId>org.opendaylight.controller</groupId>
470 <artifactId>checkstyle</artifactId>
471 <version>0.1.0-SNAPSHOT</version>
479 <phase>process-sources</phase>
484 <groupId>org.jacoco</groupId>
485 <artifactId>jacoco-maven-plugin</artifactId>
486 <version>${jacoco.version}</version>
488 <skip>${skip.coverage}</skip>
492 <id>pre-unit-test</id>
494 <goal>prepare-agent</goal>
497 <destFile>${sonar.jacoco.reportPath}</destFile>
501 <id>pre-integration-test</id>
503 <goal>prepare-agent-integration</goal>
506 <destFile>${sonar.jacoco.itReportPath}</destFile>
507 <append>true</append>
508 <skip>${skip.integrationtest}</skip>
512 <id>post-unit-test</id>
517 <dataFile>${sonar.jacoco.reportPath}</dataFile>
521 <id>post-integration-test</id>
523 <goal>report-integration</goal>
526 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
527 <skip>${skip.integrationtest}</skip>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-surefire-plugin</artifactId>
537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-failsafe-plugin</artifactId>
541 <id>failsafe-integration-tests</id>
543 <goal>integration-test</goal>
547 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
548 <skipTests>${skip.integrationtest}</skipTests>
554 <groupId>org.opendaylight.yangtools</groupId>
555 <artifactId>yang-maven-plugin</artifactId>
556 <version>${yangtools.version}</version>
560 <goal>generate-sources</goal>
563 <!-- directory containing yang files to parse and generate code -->
564 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
568 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
569 </codeGeneratorClass>
570 <!-- directory into which generated files will be placed -->
572 target/generated-sources/sal
576 <inspectDependencies>true</inspectDependencies>
582 <groupId>org.opendaylight.yangtools</groupId>
583 <artifactId>maven-sal-api-gen-plugin</artifactId>
584 <version>${yangtools.version}</version>
590 <groupId>org.codehaus.mojo</groupId>
591 <artifactId>build-helper-maven-plugin</artifactId>
592 <version>1.7</version>
595 <phase>generate-sources</phase>
597 <goal>add-source</goal>
601 <source>target/generated-sources/sal</source>
612 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
613 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
615 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
620 <id>integrationtest</id>
622 <activeByDefault>false</activeByDefault>
625 <skip.integrationtest>false</skip.integrationtest>
631 <activeByDefault>false</activeByDefault>
634 <skip.coverage>false</skip.coverage>
640 <activeByDefault>false</activeByDefault>
643 <skip.distribution>true</skip.distribution>
644 <root.directory>${env.WORKSPACE}</root.directory>
650 <activeByDefault>false</activeByDefault>
653 <skip.karaf>false</skip.karaf>