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 <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.controller</groupId>
136 <artifactId>networkconfig.neutron</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.controller.model</groupId>
177 <artifactId>model-flow-base</artifactId>
178 <version>${mdsal.version}</version>
181 <groupId>org.opendaylight.controller.model</groupId>
182 <artifactId>model-flow-service</artifactId>
183 <version>${mdsal.version}</version>
186 <groupId>org.opendaylight.controller.model</groupId>
187 <artifactId>model-flow-statistics</artifactId>
188 <version>${mdsal.version}</version>
191 <groupId>org.opendaylight.controller.model</groupId>
192 <artifactId>model-inventory</artifactId>
193 <version>${mdsal.version}</version>
196 <groupId>org.opendaylight.yangtools</groupId>
197 <artifactId>concepts</artifactId>
198 <version>${yangtools.version}</version>
201 <groupId>org.opendaylight.yangtools</groupId>
202 <artifactId>yang-binding</artifactId>
203 <version>${yangtools.version}</version>
206 <groupId>org.opendaylight.yangtools</groupId>
207 <artifactId>yang-common</artifactId>
208 <version>${yangtools.version}</version>
211 <groupId>org.opendaylight.yangtools</groupId>
212 <artifactId>features-test</artifactId>
213 <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>plugin</artifactId>
314 <version>${ovsdb.plugin.version}</version>
317 <groupId>org.opendaylight.ovsdb</groupId>
318 <artifactId>plugin-mdsal-adapter</artifactId>
319 <version>${ovsdb.plugin.version}</version>
322 <groupId>org.opendaylight.ovsdb</groupId>
323 <artifactId>plugin-shell</artifactId>
324 <version>${plugin.shell.version}</version>
327 <groupId>org.opendaylight.ovsdb</groupId>
328 <artifactId>schema.hardwarevtep</artifactId>
329 <version>${schema.hardwarevtep.version}</version>
332 <groupId>org.opendaylight.ovsdb</groupId>
333 <artifactId>schema.openvswitch</artifactId>
334 <version>${schema.openvswitch.version}</version>
337 <groupId>org.opendaylight.ovsdb</groupId>
338 <artifactId>utils.config</artifactId>
339 <version>${ovsdb.utils.config.version}</version>
342 <groupId>org.opendaylight.ovsdb</groupId>
343 <artifactId>utils.mdsal-openflow</artifactId>
344 <version>${utils.mdsal.openflow.version}</version>
347 <groupId>org.powermock</groupId>
348 <artifactId>powermock-module-junit4</artifactId>
349 <version>${powermock.version}</version>
352 <groupId>org.powermock</groupId>
353 <artifactId>powermock-api-mockito</artifactId>
354 <version>${powermock.version}</version>
357 <groupId>org.powermock</groupId>
358 <artifactId>powermock-core</artifactId>
359 <version>${powermock.version}</version>
362 </dependencyManagement>
368 <groupId>org.apache.maven.plugins</groupId>
369 <artifactId>maven-compiler-plugin</artifactId>
371 <source>${java.version.source}</source>
372 <target>${java.version.target}</target>
373 <testSource>${java.version.source}</testSource>
374 <testTarget>${java.version.target}</testTarget>
377 <!-- This configuration should move to ODL-Parent -->
379 <groupId>org.eclipse.m2e</groupId>
380 <artifactId>lifecycle-mapping</artifactId>
381 <version>${lifecycle.mapping.version}</version>
383 <lifecycleMappingMetadata>
386 <pluginExecutionFilter>
387 <groupId>org.codehaus.mojo</groupId>
388 <artifactId>properties-maven-plugin</artifactId>
389 <versionRange>[0.0,)</versionRange>
391 <goal>set-system-properties</goal>
393 </pluginExecutionFilter>
399 <pluginExecutionFilter>
400 <groupId>org.jacoco</groupId>
401 <artifactId>jacoco-maven-plugin</artifactId>
402 <versionRange>[0.0,)</versionRange>
404 <goal>prepare-agent</goal>
405 <goal>pre-test</goal>
406 <goal>post-test</goal>
408 </pluginExecutionFilter>
414 <pluginExecutionFilter>
415 <groupId>org.apache.maven.plugins</groupId>
416 <artifactId>maven-checkstyle-plugin</artifactId>
417 <versionRange>[2.0,)</versionRange>
421 </pluginExecutionFilter>
427 <pluginExecutionFilter>
428 <groupId>org.opendaylight.yangtools</groupId>
429 <artifactId>yang-maven-plugin</artifactId>
430 <versionRange>[0.5,)</versionRange>
432 <goal>generate-sources</goal>
434 </pluginExecutionFilter>
440 </lifecycleMappingMetadata>
444 <groupId>org.apache.maven.plugins</groupId>
445 <artifactId>maven-checkstyle-plugin</artifactId>
446 <version>${checkstyle.version}</version>
448 <failsOnError>true</failsOnError>
449 <configLocation>controller/checkstyle.xml</configLocation>
450 <consoleOutput>true</consoleOutput>
451 <includeTestSourceDirectory>true</includeTestSourceDirectory>
452 <sourceDirectory>${project.basedir}</sourceDirectory>
453 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
454 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
458 <groupId>org.opendaylight.controller</groupId>
459 <artifactId>checkstyle</artifactId>
460 <version>0.1.0-SNAPSHOT</version>
468 <phase>process-sources</phase>
473 <groupId>org.jacoco</groupId>
474 <artifactId>jacoco-maven-plugin</artifactId>
475 <version>${jacoco.version}</version>
477 <skip>${skip.coverage}</skip>
481 <id>pre-unit-test</id>
483 <goal>prepare-agent</goal>
486 <destFile>${sonar.jacoco.reportPath}</destFile>
490 <id>pre-integration-test</id>
492 <goal>prepare-agent-integration</goal>
495 <destFile>${sonar.jacoco.itReportPath}</destFile>
496 <append>true</append>
497 <skip>${skip.integrationtest}</skip>
501 <id>post-unit-test</id>
506 <dataFile>${sonar.jacoco.reportPath}</dataFile>
510 <id>post-integration-test</id>
512 <goal>report-integration</goal>
515 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
516 <skip>${skip.integrationtest}</skip>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-surefire-plugin</artifactId>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-failsafe-plugin</artifactId>
530 <id>failsafe-integration-tests</id>
532 <goal>integration-test</goal>
536 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
537 <skipTests>${skip.integrationtest}</skipTests>
543 <groupId>org.opendaylight.yangtools</groupId>
544 <artifactId>yang-maven-plugin</artifactId>
545 <version>${yangtools.version}</version>
549 <goal>generate-sources</goal>
552 <!-- directory containing yang files to parse and generate code -->
553 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
557 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
558 </codeGeneratorClass>
559 <!-- directory into which generated files will be placed -->
561 target/generated-sources/sal
565 <inspectDependencies>true</inspectDependencies>
571 <groupId>org.opendaylight.yangtools</groupId>
572 <artifactId>maven-sal-api-gen-plugin</artifactId>
573 <version>${yangtools.version}</version>
579 <groupId>org.codehaus.mojo</groupId>
580 <artifactId>build-helper-maven-plugin</artifactId>
581 <version>1.7</version>
584 <phase>generate-sources</phase>
586 <goal>add-source</goal>
590 <source>target/generated-sources/sal</source>
601 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
602 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
604 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
609 <id>integrationtest</id>
611 <activeByDefault>false</activeByDefault>
614 <skip.integrationtest>false</skip.integrationtest>
620 <activeByDefault>false</activeByDefault>
623 <skip.coverage>false</skip.coverage>
629 <activeByDefault>false</activeByDefault>
632 <skip.distribution>true</skip.distribution>
633 <root.directory>${env.WORKSPACE}</root.directory>
639 <activeByDefault>false</activeByDefault>
642 <skip.karaf>false</skip.karaf>