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 <!-- ODL repository / plugin repository -->
34 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
35 <!-- Surefire/Failsafe Arguments -->
36 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
37 <!-- OVSDB Component Versions -->
38 <openstack.netvirt.version>1.1.0-SNAPSHOT</openstack.netvirt.version>
39 <openstack.netvirt.providers.version>1.1.0-SNAPSHOT</openstack.netvirt.providers.version>
40 <ovsdb.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
41 <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
42 <ovsdb.plugin.version>1.1.1-SNAPSHOT</ovsdb.plugin.version>
43 <ovsdb.plugin.adapter.version>1.1.0-SNAPSHOT</ovsdb.plugin.adapter.version>
44 <ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
45 <ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.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.controller</groupId>
138 <artifactId>networkconfig.neutron</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>library</artifactId>
296 <version>${ovsdb.library.version}</version>
299 <groupId>org.opendaylight.ovsdb</groupId>
300 <artifactId>northbound</artifactId>
301 <version>${ovsdb.northbound.version}</version>
304 <groupId>org.opendaylight.ovsdb</groupId>
305 <artifactId>openstack.net-virt</artifactId>
306 <version>${openstack.netvirt.version}</version>
309 <groupId>org.opendaylight.ovsdb</groupId>
310 <artifactId>openstack.net-virt-providers</artifactId>
311 <version>${openstack.netvirt.providers.version}</version>
314 <groupId>org.opendaylight.ovsdb</groupId>
315 <artifactId>plugin</artifactId>
316 <version>${ovsdb.plugin.version}</version>
319 <groupId>org.opendaylight.ovsdb</groupId>
320 <artifactId>plugin-mdsal-adapter</artifactId>
321 <version>${ovsdb.plugin.adapter.version}</version>
324 <groupId>org.opendaylight.ovsdb</groupId>
325 <artifactId>plugin-shell</artifactId>
326 <version>${plugin.shell.version}</version>
329 <groupId>org.opendaylight.ovsdb</groupId>
330 <artifactId>schema.hardwarevtep</artifactId>
331 <version>${schema.hardwarevtep.version}</version>
334 <groupId>org.opendaylight.ovsdb</groupId>
335 <artifactId>schema.openvswitch</artifactId>
336 <version>${schema.openvswitch.version}</version>
339 <groupId>org.opendaylight.ovsdb</groupId>
340 <artifactId>utils.config</artifactId>
341 <version>${ovsdb.utils.config.version}</version>
344 <groupId>org.opendaylight.ovsdb</groupId>
345 <artifactId>utils.mdsal-openflow</artifactId>
346 <version>${utils.mdsal.openflow.version}</version>
349 <groupId>org.powermock</groupId>
350 <artifactId>powermock-module-junit4</artifactId>
351 <version>${powermock.version}</version>
354 <groupId>org.powermock</groupId>
355 <artifactId>powermock-api-mockito</artifactId>
356 <version>${powermock.version}</version>
359 <groupId>org.powermock</groupId>
360 <artifactId>powermock-core</artifactId>
361 <version>${powermock.version}</version>
364 </dependencyManagement>
370 <groupId>org.apache.maven.plugins</groupId>
371 <artifactId>maven-compiler-plugin</artifactId>
373 <source>${java.version.source}</source>
374 <target>${java.version.target}</target>
375 <testSource>${java.version.source}</testSource>
376 <testTarget>${java.version.target}</testTarget>
379 <!-- This configuration should move to ODL-Parent -->
381 <groupId>org.eclipse.m2e</groupId>
382 <artifactId>lifecycle-mapping</artifactId>
383 <version>${lifecycle.mapping.version}</version>
385 <lifecycleMappingMetadata>
388 <pluginExecutionFilter>
389 <groupId>org.codehaus.mojo</groupId>
390 <artifactId>properties-maven-plugin</artifactId>
391 <versionRange>[0.0,)</versionRange>
393 <goal>set-system-properties</goal>
395 </pluginExecutionFilter>
401 <pluginExecutionFilter>
402 <groupId>org.jacoco</groupId>
403 <artifactId>jacoco-maven-plugin</artifactId>
404 <versionRange>[0.0,)</versionRange>
406 <goal>prepare-agent</goal>
407 <goal>pre-test</goal>
408 <goal>post-test</goal>
410 </pluginExecutionFilter>
416 <pluginExecutionFilter>
417 <groupId>org.apache.maven.plugins</groupId>
418 <artifactId>maven-checkstyle-plugin</artifactId>
419 <versionRange>[2.0,)</versionRange>
423 </pluginExecutionFilter>
429 <pluginExecutionFilter>
430 <groupId>org.opendaylight.yangtools</groupId>
431 <artifactId>yang-maven-plugin</artifactId>
432 <versionRange>[0.5,)</versionRange>
434 <goal>generate-sources</goal>
436 </pluginExecutionFilter>
442 </lifecycleMappingMetadata>
446 <groupId>org.apache.maven.plugins</groupId>
447 <artifactId>maven-checkstyle-plugin</artifactId>
448 <version>${checkstyle.version}</version>
450 <failsOnError>true</failsOnError>
451 <configLocation>controller/checkstyle.xml</configLocation>
452 <consoleOutput>true</consoleOutput>
453 <includeTestSourceDirectory>true</includeTestSourceDirectory>
454 <sourceDirectory>${project.basedir}</sourceDirectory>
455 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
456 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
460 <groupId>org.opendaylight.controller</groupId>
461 <artifactId>checkstyle</artifactId>
462 <version>0.1.0-SNAPSHOT</version>
470 <phase>process-sources</phase>
475 <groupId>org.jacoco</groupId>
476 <artifactId>jacoco-maven-plugin</artifactId>
477 <version>${jacoco.version}</version>
479 <skip>${skip.coverage}</skip>
483 <id>pre-unit-test</id>
485 <goal>prepare-agent</goal>
488 <destFile>${sonar.jacoco.reportPath}</destFile>
492 <id>pre-integration-test</id>
494 <goal>prepare-agent-integration</goal>
497 <destFile>${sonar.jacoco.itReportPath}</destFile>
498 <append>true</append>
499 <skip>${skip.integrationtest}</skip>
503 <id>post-unit-test</id>
508 <dataFile>${sonar.jacoco.reportPath}</dataFile>
512 <id>post-integration-test</id>
514 <goal>report-integration</goal>
517 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
518 <skip>${skip.integrationtest}</skip>
524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-surefire-plugin</artifactId>
528 <groupId>org.apache.maven.plugins</groupId>
529 <artifactId>maven-failsafe-plugin</artifactId>
532 <id>failsafe-integration-tests</id>
534 <goal>integration-test</goal>
538 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
539 <skipTests>${skip.integrationtest}</skipTests>
545 <groupId>org.opendaylight.yangtools</groupId>
546 <artifactId>yang-maven-plugin</artifactId>
547 <version>${yangtools.version}</version>
551 <goal>generate-sources</goal>
554 <!-- directory containing yang files to parse and generate code -->
555 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
559 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
560 </codeGeneratorClass>
561 <!-- directory into which generated files will be placed -->
563 target/generated-sources/sal
567 <inspectDependencies>true</inspectDependencies>
573 <groupId>org.opendaylight.yangtools</groupId>
574 <artifactId>maven-sal-api-gen-plugin</artifactId>
575 <version>${yangtools.version}</version>
581 <groupId>org.codehaus.mojo</groupId>
582 <artifactId>build-helper-maven-plugin</artifactId>
583 <version>1.7</version>
586 <phase>generate-sources</phase>
588 <goal>add-source</goal>
592 <source>target/generated-sources/sal</source>
603 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
604 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
606 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
610 <!-- Opendaylight public group -->
612 <id>opendaylight-public</id>
613 <name>opendaylight-public</name>
614 <url>${nexusproxy}/groups/public/</url>
616 <enabled>false</enabled>
619 <enabled>true</enabled>
620 <updatePolicy>never</updatePolicy>
623 <!-- OpenDayLight Released artifact -->
625 <id>opendaylight-release</id>
626 <name>opendaylight-release</name>
627 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
629 <enabled>false</enabled>
632 <enabled>true</enabled>
635 <!-- OpenDayLight Snapshot artifact -->
637 <id>opendaylight-snapshot</id>
638 <name>opendaylight-snapshot</name>
639 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
641 <enabled>true</enabled>
644 <enabled>false</enabled>
647 </pluginRepositories>
651 <id>integrationtest</id>
653 <activeByDefault>false</activeByDefault>
656 <skip.integrationtest>false</skip.integrationtest>
662 <activeByDefault>false</activeByDefault>
665 <skip.coverage>false</skip.coverage>
671 <activeByDefault>false</activeByDefault>
674 <skip.distribution>true</skip.distribution>
675 <root.directory>${env.WORKSPACE}</root.directory>
681 <activeByDefault>false</activeByDefault>
684 <skip.karaf>false</skip.karaf>