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.plugin.compatibility.layer.version>1.1.0-SNAPSHOT</ovsdb.plugin.compatibility.layer.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.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>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 <groupId>org.opendaylight.ovsdb</groupId>
365 <artifactId>ovsdb-plugin-compatibility-layer</artifactId>
366 <version>${ovsdb.plugin.compatibility.layer.version}</version>
369 </dependencyManagement>
375 <groupId>org.apache.maven.plugins</groupId>
376 <artifactId>maven-compiler-plugin</artifactId>
378 <source>${java.version.source}</source>
379 <target>${java.version.target}</target>
380 <testSource>${java.version.source}</testSource>
381 <testTarget>${java.version.target}</testTarget>
384 <!-- This configuration should move to ODL-Parent -->
386 <groupId>org.eclipse.m2e</groupId>
387 <artifactId>lifecycle-mapping</artifactId>
388 <version>${lifecycle.mapping.version}</version>
390 <lifecycleMappingMetadata>
393 <pluginExecutionFilter>
394 <groupId>org.codehaus.mojo</groupId>
395 <artifactId>properties-maven-plugin</artifactId>
396 <versionRange>[0.0,)</versionRange>
398 <goal>set-system-properties</goal>
400 </pluginExecutionFilter>
406 <pluginExecutionFilter>
407 <groupId>org.jacoco</groupId>
408 <artifactId>jacoco-maven-plugin</artifactId>
409 <versionRange>[0.0,)</versionRange>
411 <goal>prepare-agent</goal>
412 <goal>pre-test</goal>
413 <goal>post-test</goal>
415 </pluginExecutionFilter>
421 <pluginExecutionFilter>
422 <groupId>org.apache.maven.plugins</groupId>
423 <artifactId>maven-checkstyle-plugin</artifactId>
424 <versionRange>[2.0,)</versionRange>
428 </pluginExecutionFilter>
434 <pluginExecutionFilter>
435 <groupId>org.opendaylight.yangtools</groupId>
436 <artifactId>yang-maven-plugin</artifactId>
437 <versionRange>[0.5,)</versionRange>
439 <goal>generate-sources</goal>
441 </pluginExecutionFilter>
447 </lifecycleMappingMetadata>
451 <groupId>org.apache.maven.plugins</groupId>
452 <artifactId>maven-checkstyle-plugin</artifactId>
453 <version>${checkstyle.version}</version>
455 <failsOnError>true</failsOnError>
456 <configLocation>controller/checkstyle.xml</configLocation>
457 <consoleOutput>true</consoleOutput>
458 <includeTestSourceDirectory>true</includeTestSourceDirectory>
459 <sourceDirectory>${project.basedir}</sourceDirectory>
460 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
461 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
465 <groupId>org.opendaylight.controller</groupId>
466 <artifactId>checkstyle</artifactId>
467 <version>0.1.0-SNAPSHOT</version>
475 <phase>process-sources</phase>
480 <groupId>org.jacoco</groupId>
481 <artifactId>jacoco-maven-plugin</artifactId>
482 <version>${jacoco.version}</version>
484 <skip>${skip.coverage}</skip>
488 <id>pre-unit-test</id>
490 <goal>prepare-agent</goal>
493 <destFile>${sonar.jacoco.reportPath}</destFile>
497 <id>pre-integration-test</id>
499 <goal>prepare-agent-integration</goal>
502 <destFile>${sonar.jacoco.itReportPath}</destFile>
503 <append>true</append>
504 <skip>${skip.integrationtest}</skip>
508 <id>post-unit-test</id>
513 <dataFile>${sonar.jacoco.reportPath}</dataFile>
517 <id>post-integration-test</id>
519 <goal>report-integration</goal>
522 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
523 <skip>${skip.integrationtest}</skip>
529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-surefire-plugin</artifactId>
533 <groupId>org.apache.maven.plugins</groupId>
534 <artifactId>maven-failsafe-plugin</artifactId>
537 <id>failsafe-integration-tests</id>
539 <goal>integration-test</goal>
543 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
544 <skipTests>${skip.integrationtest}</skipTests>
550 <groupId>org.opendaylight.yangtools</groupId>
551 <artifactId>yang-maven-plugin</artifactId>
552 <version>${yangtools.version}</version>
556 <goal>generate-sources</goal>
559 <!-- directory containing yang files to parse and generate code -->
560 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
564 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
565 </codeGeneratorClass>
566 <!-- directory into which generated files will be placed -->
568 target/generated-sources/sal
572 <inspectDependencies>true</inspectDependencies>
578 <groupId>org.opendaylight.yangtools</groupId>
579 <artifactId>maven-sal-api-gen-plugin</artifactId>
580 <version>${yangtools.version}</version>
586 <groupId>org.codehaus.mojo</groupId>
587 <artifactId>build-helper-maven-plugin</artifactId>
588 <version>1.7</version>
591 <phase>generate-sources</phase>
593 <goal>add-source</goal>
597 <source>target/generated-sources/sal</source>
608 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
609 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
611 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
615 <!-- Opendaylight public group -->
617 <id>opendaylight-public</id>
618 <name>opendaylight-public</name>
619 <url>${nexusproxy}/groups/public/</url>
621 <enabled>false</enabled>
624 <enabled>true</enabled>
625 <updatePolicy>never</updatePolicy>
628 <!-- OpenDayLight Released artifact -->
630 <id>opendaylight-release</id>
631 <name>opendaylight-release</name>
632 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
634 <enabled>false</enabled>
637 <enabled>true</enabled>
640 <!-- OpenDayLight Snapshot artifact -->
642 <id>opendaylight-snapshot</id>
643 <name>opendaylight-snapshot</name>
644 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
646 <enabled>true</enabled>
649 <enabled>false</enabled>
652 </pluginRepositories>
656 <id>integrationtest</id>
658 <activeByDefault>false</activeByDefault>
661 <skip.integrationtest>false</skip.integrationtest>
667 <activeByDefault>false</activeByDefault>
670 <skip.coverage>false</skip.coverage>
676 <activeByDefault>false</activeByDefault>
679 <skip.distribution>true</skip.distribution>
680 <root.directory>${env.WORKSPACE}</root.directory>
686 <activeByDefault>false</activeByDefault>
689 <skip.karaf>false</skip.karaf>