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.0-SNAPSHOT</ovsdb.plugin.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.controller</groupId>
137 <artifactId>networkconfig.neutron</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>library</artifactId>
295 <version>${ovsdb.library.version}</version>
298 <groupId>org.opendaylight.ovsdb</groupId>
299 <artifactId>northbound</artifactId>
300 <version>${ovsdb.northbound.version}</version>
303 <groupId>org.opendaylight.ovsdb</groupId>
304 <artifactId>openstack.net-virt</artifactId>
305 <version>${openstack.netvirt.version}</version>
308 <groupId>org.opendaylight.ovsdb</groupId>
309 <artifactId>openstack.net-virt-providers</artifactId>
310 <version>${openstack.netvirt.providers.version}</version>
313 <groupId>org.opendaylight.ovsdb</groupId>
314 <artifactId>plugin</artifactId>
315 <version>${ovsdb.plugin.version}</version>
318 <groupId>org.opendaylight.ovsdb</groupId>
319 <artifactId>plugin-mdsal-adapter</artifactId>
320 <version>${ovsdb.plugin.adapter.version}</version>
323 <groupId>org.opendaylight.ovsdb</groupId>
324 <artifactId>plugin-shell</artifactId>
325 <version>${plugin.shell.version}</version>
328 <groupId>org.opendaylight.ovsdb</groupId>
329 <artifactId>schema.hardwarevtep</artifactId>
330 <version>${schema.hardwarevtep.version}</version>
333 <groupId>org.opendaylight.ovsdb</groupId>
334 <artifactId>schema.openvswitch</artifactId>
335 <version>${schema.openvswitch.version}</version>
338 <groupId>org.opendaylight.ovsdb</groupId>
339 <artifactId>utils.config</artifactId>
340 <version>${ovsdb.utils.config.version}</version>
343 <groupId>org.opendaylight.ovsdb</groupId>
344 <artifactId>utils.mdsal-openflow</artifactId>
345 <version>${utils.mdsal.openflow.version}</version>
348 <groupId>org.powermock</groupId>
349 <artifactId>powermock-module-junit4</artifactId>
350 <version>${powermock.version}</version>
353 <groupId>org.powermock</groupId>
354 <artifactId>powermock-api-mockito</artifactId>
355 <version>${powermock.version}</version>
358 <groupId>org.powermock</groupId>
359 <artifactId>powermock-core</artifactId>
360 <version>${powermock.version}</version>
363 </dependencyManagement>
369 <groupId>org.apache.maven.plugins</groupId>
370 <artifactId>maven-compiler-plugin</artifactId>
372 <source>${java.version.source}</source>
373 <target>${java.version.target}</target>
374 <testSource>${java.version.source}</testSource>
375 <testTarget>${java.version.target}</testTarget>
378 <!-- This configuration should move to ODL-Parent -->
380 <groupId>org.eclipse.m2e</groupId>
381 <artifactId>lifecycle-mapping</artifactId>
382 <version>${lifecycle.mapping.version}</version>
384 <lifecycleMappingMetadata>
387 <pluginExecutionFilter>
388 <groupId>org.codehaus.mojo</groupId>
389 <artifactId>properties-maven-plugin</artifactId>
390 <versionRange>[0.0,)</versionRange>
392 <goal>set-system-properties</goal>
394 </pluginExecutionFilter>
400 <pluginExecutionFilter>
401 <groupId>org.jacoco</groupId>
402 <artifactId>jacoco-maven-plugin</artifactId>
403 <versionRange>[0.0,)</versionRange>
405 <goal>prepare-agent</goal>
406 <goal>pre-test</goal>
407 <goal>post-test</goal>
409 </pluginExecutionFilter>
415 <pluginExecutionFilter>
416 <groupId>org.apache.maven.plugins</groupId>
417 <artifactId>maven-checkstyle-plugin</artifactId>
418 <versionRange>[2.0,)</versionRange>
422 </pluginExecutionFilter>
428 <pluginExecutionFilter>
429 <groupId>org.opendaylight.yangtools</groupId>
430 <artifactId>yang-maven-plugin</artifactId>
431 <versionRange>[0.5,)</versionRange>
433 <goal>generate-sources</goal>
435 </pluginExecutionFilter>
441 </lifecycleMappingMetadata>
445 <groupId>org.apache.maven.plugins</groupId>
446 <artifactId>maven-checkstyle-plugin</artifactId>
447 <version>${checkstyle.version}</version>
449 <failsOnError>true</failsOnError>
450 <configLocation>controller/checkstyle.xml</configLocation>
451 <consoleOutput>true</consoleOutput>
452 <includeTestSourceDirectory>true</includeTestSourceDirectory>
453 <sourceDirectory>${project.basedir}</sourceDirectory>
454 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
455 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
459 <groupId>org.opendaylight.controller</groupId>
460 <artifactId>checkstyle</artifactId>
461 <version>0.1.0-SNAPSHOT</version>
469 <phase>process-sources</phase>
474 <groupId>org.jacoco</groupId>
475 <artifactId>jacoco-maven-plugin</artifactId>
476 <version>${jacoco.version}</version>
478 <skip>${skip.coverage}</skip>
482 <id>pre-unit-test</id>
484 <goal>prepare-agent</goal>
487 <destFile>${sonar.jacoco.reportPath}</destFile>
491 <id>pre-integration-test</id>
493 <goal>prepare-agent-integration</goal>
496 <destFile>${sonar.jacoco.itReportPath}</destFile>
497 <append>true</append>
498 <skip>${skip.integrationtest}</skip>
502 <id>post-unit-test</id>
507 <dataFile>${sonar.jacoco.reportPath}</dataFile>
511 <id>post-integration-test</id>
513 <goal>report-integration</goal>
516 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
517 <skip>${skip.integrationtest}</skip>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-surefire-plugin</artifactId>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-failsafe-plugin</artifactId>
531 <id>failsafe-integration-tests</id>
533 <goal>integration-test</goal>
537 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
538 <skipTests>${skip.integrationtest}</skipTests>
544 <groupId>org.opendaylight.yangtools</groupId>
545 <artifactId>yang-maven-plugin</artifactId>
546 <version>${yangtools.version}</version>
550 <goal>generate-sources</goal>
553 <!-- directory containing yang files to parse and generate code -->
554 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
558 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
559 </codeGeneratorClass>
560 <!-- directory into which generated files will be placed -->
562 target/generated-sources/sal
566 <inspectDependencies>true</inspectDependencies>
572 <groupId>org.opendaylight.yangtools</groupId>
573 <artifactId>maven-sal-api-gen-plugin</artifactId>
574 <version>${yangtools.version}</version>
580 <groupId>org.codehaus.mojo</groupId>
581 <artifactId>build-helper-maven-plugin</artifactId>
582 <version>1.7</version>
585 <phase>generate-sources</phase>
587 <goal>add-source</goal>
591 <source>target/generated-sources/sal</source>
602 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
603 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
605 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
609 <!-- Opendaylight public group -->
611 <id>opendaylight-public</id>
612 <name>opendaylight-public</name>
613 <url>${nexusproxy}/groups/public/</url>
615 <enabled>false</enabled>
618 <enabled>true</enabled>
619 <updatePolicy>never</updatePolicy>
622 <!-- OpenDayLight Released artifact -->
624 <id>opendaylight-release</id>
625 <name>opendaylight-release</name>
626 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
628 <enabled>false</enabled>
631 <enabled>true</enabled>
634 <!-- OpenDayLight Snapshot artifact -->
636 <id>opendaylight-snapshot</id>
637 <name>opendaylight-snapshot</name>
638 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
640 <enabled>true</enabled>
643 <enabled>false</enabled>
646 </pluginRepositories>
650 <id>integrationtest</id>
652 <activeByDefault>false</activeByDefault>
655 <skip.integrationtest>false</skip.integrationtest>
661 <activeByDefault>false</activeByDefault>
664 <skip.coverage>false</skip.coverage>
670 <activeByDefault>false</activeByDefault>
673 <skip.distribution>true</skip.distribution>
674 <root.directory>${env.WORKSPACE}</root.directory>
680 <activeByDefault>false</activeByDefault>
683 <skip.karaf>false</skip.karaf>