1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
6 <groupId>org.opendaylight.odlparent</groupId>
7 <artifactId>odlparent</artifactId>
8 <version>1.5.0-SNAPSHOT</version>
9 <relativePath></relativePath>
12 <groupId>org.opendaylight.ovsdb</groupId>
13 <artifactId>commons</artifactId>
14 <name>OVSDB Parent POM</name>
15 <version>1.3.0-SNAPSHOT</version>
16 <packaging>pom</packaging>
22 <lifecycle.mapping.version>1.0.0</lifecycle.mapping.version>
23 <!-- ODL repository / plugin repository -->
24 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
25 <!-- Surefire/Failsafe Arguments -->
26 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
27 <!-- OVSB Component Versions -->
28 <ovsdb.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
29 <ovsdb.plugin.version>1.1.0-SNAPSHOT</ovsdb.plugin.version>
30 <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
31 <openstack.netvirt.version>1.1.0-SNAPSHOT</openstack.netvirt.version>
32 <openstack.netvirt.providers.version>1.1.0-SNAPSHOT</openstack.netvirt.providers.version>
33 <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
34 <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
35 <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
36 <ovsdb.utils.config.version>1.1.0-SNAPSHOT</ovsdb.utils.config.version>
37 <utils.mdsal.openflow.version>1.1.0-SNAPSHOT</utils.mdsal.openflow.version>
38 <ovsdb.ovssfc.version>0.1.0-SNAPSHOT</ovsdb.ovssfc.version>
39 <!-- Skip Coverage and IT by default -->
40 <skip.coverage>true</skip.coverage>
41 <skip.integrationtest>true</skip.integrationtest>
42 <skip.karaf>false</skip.karaf>
43 <skip.distribution>false</skip.distribution>
44 <!-- The directory where maven was executed -->
45 <root.directory>${env.PWD}</root.directory>
46 <!-- UT reports are per-module -->
47 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
48 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
49 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
50 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
51 <!-- Override the JaCoCo version in ODL Parent -->
52 <jacoco.version>0.6.4.201312101107</jacoco.version>
53 <!-- ODL Dependency Versions -->
54 <containermanager.version>0.6.0-SNAPSHOT</containermanager.version>
55 <forwardingrulesmanager.version>0.7.0-SNAPSHOT</forwardingrulesmanager.version>
56 <networkconfig.neutron.version>0.5.0-SNAPSHOT</networkconfig.neutron.version>
57 <clustering.services.version>0.6.0-SNAPSHOT</clustering.services.version>
58 <sal.version>0.9.0-SNAPSHOT</sal.version>
59 <sal.connection.version>0.2.0-SNAPSHOT</sal.connection.version>
60 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
61 <opendaylight-l2-types.version>2013.08.27.7-SNAPSHOT</opendaylight-l2-types.version>
62 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
63 <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
64 <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
65 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
66 <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
67 <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
68 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
69 <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
70 <ietf.model.version>2010.09.24.7-SNAPSHOT</ietf.model.version>
71 <ietf.yang.types.version>2013.07.15.7-SNAPSHOT</ietf.yang.types.version>
72 <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
73 <checkstyle.rules.version>0.1.0-SNAPSHOT</checkstyle.rules.version>
74 <!-- 3rd Pary Dependency Versions -->
75 <commons.collection.version>1.0</commons.collection.version>
76 <portlet.version>2.0</portlet.version>
77 <powermock.version>1.5.2</powermock.version>
78 <httpcomponents.version>4.2.1</httpcomponents.version>
79 <karaf.shell.version>3.0.0</karaf.shell.version>
80 <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
81 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
82 <sfc-model.version>0.1.0-SNAPSHOT</sfc-model.version>
85 <dependencyManagement>
88 <groupId>commons-collections</groupId>
89 <artifactId>commons-collections</artifactId>
90 <version>${commons.collection.version}</version>
93 <groupId>io.netty</groupId>
94 <artifactId>netty-all</artifactId>
95 <version>${netty.version}</version>
98 <groupId>javax.portlet</groupId>
99 <artifactId>portlet-api</artifactId>
100 <version>${portlet.version}</version>
103 <groupId>org.apache.httpcomponents</groupId>
104 <artifactId>httpcore-nio</artifactId>
105 <version>${httpcomponents.version}</version>
108 <groupId>org.powermock</groupId>
109 <artifactId>powermock-module-junit4</artifactId>
110 <version>${powermock.version}</version>
113 <groupId>org.powermock</groupId>
114 <artifactId>powermock-api-mockito</artifactId>
115 <version>${powermock.version}</version>
118 <groupId>org.powermock</groupId>
119 <artifactId>powermock-core</artifactId>
120 <version>${powermock.version}</version>
123 <groupId>org.opendaylight.controller</groupId>
124 <artifactId>clustering.services</artifactId>
125 <version>${clustering.services.version}</version>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>sal</artifactId>
130 <version>${sal.version}</version>
133 <groupId>org.opendaylight.controller</groupId>
134 <artifactId>sal-common-api</artifactId>
135 <version>${mdsal.version}</version>
138 <groupId>org.opendaylight.controller</groupId>
139 <artifactId>sal.connection</artifactId>
140 <version>${sal.connection.version}</version>
143 <groupId>org.opendaylight.controller</groupId>
144 <artifactId>containermanager</artifactId>
145 <version>${containermanager.version}</version>
148 <groupId>org.opendaylight.controller</groupId>
149 <artifactId>forwardingrulesmanager</artifactId>
150 <version>${forwardingrulesmanager.version}</version>
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>networkconfig.neutron</artifactId>
155 <version>${networkconfig.neutron.version}</version>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>sal-binding-api</artifactId>
160 <version>${mdsal.version}</version>
163 <groupId>org.opendaylight.controller</groupId>
164 <artifactId>sal-binding-config</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.controller.model</groupId>
179 <artifactId>model-flow-base</artifactId>
180 <version>${mdsal.version}</version>
183 <groupId>org.opendaylight.controller.model</groupId>
184 <artifactId>model-flow-statistics</artifactId>
185 <version>${mdsal.version}</version>
188 <groupId>org.opendaylight.controller.model</groupId>
189 <artifactId>model-flow-service</artifactId>
190 <version>${mdsal.version}</version>
193 <groupId>org.opendaylight.controller.model</groupId>
194 <artifactId>model-inventory</artifactId>
195 <version>${mdsal.version}</version>
198 <groupId>org.opendaylight.yangtools</groupId>
199 <artifactId>concepts</artifactId>
200 <version>${yangtools.version}</version>
203 <groupId>org.opendaylight.yangtools</groupId>
204 <artifactId>yang-binding</artifactId>
205 <version>${yangtools.version}</version>
208 <groupId>org.opendaylight.yangtools</groupId>
209 <artifactId>yang-common</artifactId>
210 <version>${yangtools.version}</version>
213 <groupId>org.opendaylight.yangtools</groupId>
214 <artifactId>features-test</artifactId>
215 <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>yang-ext</artifactId>
236 <version>${yang-ext.version}</version>
239 <groupId>org.opendaylight.yangtools.model</groupId>
240 <artifactId>opendaylight-l2-types</artifactId>
241 <version>${opendaylight-l2-types.version}</version>
244 <groupId>org.opendaylight.controller</groupId>
245 <artifactId>opendaylight-karaf-empty</artifactId>
246 <version>1.5.0-SNAPSHOT</version>
250 <groupId>org.opendaylight.controller</groupId>
251 <artifactId>commons.northbound</artifactId>
252 <version>${northbound.commons.version}</version>
255 <groupId>org.opendaylight.controller</groupId>
256 <artifactId>config-api</artifactId>
257 <version>${controller.config.version}</version>
260 <groupId>org.opendaylight.openflowjava</groupId>
261 <artifactId>openflow-protocol-api</artifactId>
262 <version>${openflowjava.version}</version>
265 <groupId>org.opendaylight.openflowjava</groupId>
266 <artifactId>openflow-protocol-spi</artifactId>
267 <version>${openflowjava.version}</version>
270 <groupId>org.opendaylight.openflowjava</groupId>
271 <artifactId>openflow-protocol-impl</artifactId>
272 <version>${openflowjava.version}</version>
275 <groupId>org.opendaylight.openflowjava</groupId>
276 <artifactId>util</artifactId>
277 <version>${openflowjava.version}</version>
280 <groupId>org.opendaylight.openflowplugin</groupId>
281 <artifactId>openflowjava-extension-nicira-api</artifactId>
282 <version>${openflowjava-nicira.version}</version>
285 <groupId>org.opendaylight.openflowplugin</groupId>
286 <artifactId>openflowjava-extension-nicira</artifactId>
287 <version>${openflowjava-nicira.version}</version>
290 <groupId>org.opendaylight.openflowplugin</groupId>
291 <artifactId>openflowplugin-extension-api</artifactId>
292 <version>${openflowplugin.version}</version>
295 <groupId>org.opendaylight.openflowplugin</groupId>
296 <artifactId>openflowplugin-extension-nicira</artifactId>
297 <version>${openflowplugin.version}</version>
300 <groupId>org.opendaylight.openflowplugin</groupId>
301 <artifactId>openflowplugin-extension-nicira-config</artifactId>
302 <version>${openflowplugin.version}</version>
305 <groupId>org.opendaylight.openflowplugin</groupId>
306 <artifactId>openflowplugin</artifactId>
307 <version>${openflowplugin.version}</version>
310 <groupId>org.opendaylight.ovsdb</groupId>
311 <artifactId>library</artifactId>
312 <version>${ovsdb.library.version}</version>
315 <groupId>org.opendaylight.ovsdb</groupId>
316 <artifactId>plugin</artifactId>
317 <version>${ovsdb.plugin.version}</version>
320 <groupId>org.opendaylight.ovsdb</groupId>
321 <artifactId>plugin-shell</artifactId>
322 <version>${plugin.shell.version}</version>
325 <groupId>org.opendaylight.ovsdb</groupId>
326 <artifactId>ovssfc</artifactId>
327 <version>${ovsdb.ovssfc.version}</version>
330 <groupId>org.opendaylight.ovsdb</groupId>
331 <artifactId>openstack.net-virt</artifactId>
332 <version>${openstack.netvirt.version}</version>
335 <groupId>org.opendaylight.ovsdb</groupId>
336 <artifactId>openstack.net-virt-providers</artifactId>
337 <version>${openstack.netvirt.providers.version}</version>
340 <groupId>org.opendaylight.ovsdb</groupId>
341 <artifactId>northbound</artifactId>
342 <version>${ovsdb.northbound.version}</version>
345 <groupId>org.opendaylight.ovsdb</groupId>
346 <artifactId>schema.hardwarevtep</artifactId>
347 <version>${schema.hardwarevtep.version}</version>
350 <groupId>org.opendaylight.ovsdb</groupId>
351 <artifactId>schema.openvswitch</artifactId>
352 <version>${schema.openvswitch.version}</version>
355 <groupId>org.opendaylight.ovsdb</groupId>
356 <artifactId>plugin-mdsal-adapter</artifactId>
357 <version>${ovsdb.plugin.version}</version>
360 <groupId>org.opendaylight.sfc</groupId>
361 <artifactId>sfc-model</artifactId>
362 <version>${sfc-model.version}</version>
365 <groupId>org.opendaylight.ovsdb</groupId>
366 <artifactId>utils.config</artifactId>
367 <version>${ovsdb.utils.config.version}</version>
370 <groupId>org.opendaylight.ovsdb</groupId>
371 <artifactId>utils.mdsal-openflow</artifactId>
372 <version>${utils.mdsal.openflow.version}</version>
375 </dependencyManagement>
381 <groupId>org.apache.maven.plugins</groupId>
382 <artifactId>maven-compiler-plugin</artifactId>
384 <source>${java.version.source}</source>
385 <target>${java.version.target}</target>
386 <testSource>${java.version.source}</testSource>
387 <testTarget>${java.version.target}</testTarget>
390 <!-- This configuration should move to ODL-Parent -->
392 <groupId>org.eclipse.m2e</groupId>
393 <artifactId>lifecycle-mapping</artifactId>
394 <version>${lifecycle.mapping.version}</version>
396 <lifecycleMappingMetadata>
399 <pluginExecutionFilter>
400 <groupId>org.codehaus.mojo</groupId>
401 <artifactId>properties-maven-plugin</artifactId>
402 <versionRange>[0.0,)</versionRange>
404 <goal>set-system-properties</goal>
406 </pluginExecutionFilter>
412 <pluginExecutionFilter>
413 <groupId>org.jacoco</groupId>
414 <artifactId>jacoco-maven-plugin</artifactId>
415 <versionRange>[0.0,)</versionRange>
417 <goal>prepare-agent</goal>
418 <goal>pre-test</goal>
419 <goal>post-test</goal>
421 </pluginExecutionFilter>
427 <pluginExecutionFilter>
428 <groupId>org.apache.maven.plugins</groupId>
429 <artifactId>maven-checkstyle-plugin</artifactId>
430 <versionRange>[2.0,)</versionRange>
434 </pluginExecutionFilter>
440 <pluginExecutionFilter>
441 <groupId>org.opendaylight.yangtools</groupId>
442 <artifactId>yang-maven-plugin</artifactId>
443 <versionRange>[0.5,)</versionRange>
445 <goal>generate-sources</goal>
447 </pluginExecutionFilter>
453 </lifecycleMappingMetadata>
457 <groupId>org.apache.maven.plugins</groupId>
458 <artifactId>maven-checkstyle-plugin</artifactId>
459 <version>${checkstyle.version}</version>
461 <failsOnError>true</failsOnError>
462 <configLocation>controller/checkstyle.xml</configLocation>
463 <consoleOutput>true</consoleOutput>
464 <includeTestSourceDirectory>true</includeTestSourceDirectory>
465 <sourceDirectory>${project.basedir}</sourceDirectory>
466 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
467 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
471 <groupId>org.opendaylight.controller</groupId>
472 <artifactId>checkstyle</artifactId>
473 <version>0.1.0-SNAPSHOT</version>
481 <phase>process-sources</phase>
486 <groupId>org.jacoco</groupId>
487 <artifactId>jacoco-maven-plugin</artifactId>
488 <version>${jacoco.version}</version>
490 <skip>${skip.coverage}</skip>
494 <id>pre-unit-test</id>
496 <goal>prepare-agent</goal>
499 <destFile>${sonar.jacoco.reportPath}</destFile>
503 <id>pre-integration-test</id>
505 <goal>prepare-agent-integration</goal>
508 <destFile>${sonar.jacoco.itReportPath}</destFile>
509 <append>true</append>
510 <skip>${skip.integrationtest}</skip>
514 <id>post-unit-test</id>
519 <dataFile>${sonar.jacoco.reportPath}</dataFile>
523 <id>post-integration-test</id>
525 <goal>report-integration</goal>
528 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
529 <skip>${skip.integrationtest}</skip>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-surefire-plugin</artifactId>
537 <version>${maven.surefire.version}</version>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-failsafe-plugin</artifactId>
542 <version>${failsafe.version}</version>
545 <id>failsafe-integration-tests</id>
547 <goal>integration-test</goal>
551 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
552 <skipTests>${skip.integrationtest}</skipTests>
558 <groupId>org.opendaylight.yangtools</groupId>
559 <artifactId>yang-maven-plugin</artifactId>
560 <version>${yangtools.version}</version>
564 <goal>generate-sources</goal>
567 <!-- directory containing yang files to parse and generate code -->
568 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
572 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
573 </codeGeneratorClass>
574 <!-- directory into which generated files will be placed -->
576 target/generated-sources/sal
580 <inspectDependencies>true</inspectDependencies>
586 <groupId>org.opendaylight.yangtools</groupId>
587 <artifactId>maven-sal-api-gen-plugin</artifactId>
588 <version>${yangtools.version}</version>
594 <groupId>org.codehaus.mojo</groupId>
595 <artifactId>build-helper-maven-plugin</artifactId>
596 <version>1.7</version>
599 <phase>generate-sources</phase>
601 <goal>add-source</goal>
605 <source>target/generated-sources/sal</source>
614 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
616 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
617 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
619 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
623 <!-- Opendaylight public group -->
625 <id>opendaylight-public</id>
626 <name>opendaylight-public</name>
627 <url>${nexusproxy}/groups/public/</url>
629 <enabled>false</enabled>
632 <enabled>true</enabled>
633 <updatePolicy>never</updatePolicy>
636 <!-- OpenDayLight Released artifact -->
638 <id>opendaylight-release</id>
639 <name>opendaylight-release</name>
640 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
642 <enabled>false</enabled>
645 <enabled>true</enabled>
648 <!-- OpenDayLight Snapshot artifact -->
650 <id>opendaylight-snapshot</id>
651 <name>opendaylight-snapshot</name>
652 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
654 <enabled>true</enabled>
657 <enabled>false</enabled>
663 <!-- Opendaylight public group -->
665 <id>opendaylight-public</id>
666 <name>opendaylight-public</name>
667 <url>${nexusproxy}/groups/public/</url>
669 <enabled>false</enabled>
672 <enabled>true</enabled>
673 <updatePolicy>never</updatePolicy>
676 <!-- OpenDayLight Released artifact -->
678 <id>opendaylight-release</id>
679 <name>opendaylight-release</name>
680 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
682 <enabled>false</enabled>
685 <enabled>true</enabled>
688 <!-- OpenDayLight Snapshot artifact -->
690 <id>opendaylight-snapshot</id>
691 <name>opendaylight-snapshot</name>
692 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
694 <enabled>true</enabled>
697 <enabled>false</enabled>
700 </pluginRepositories>
704 <id>integrationtest</id>
706 <activeByDefault>false</activeByDefault>
709 <skip.integrationtest>false</skip.integrationtest>
715 <activeByDefault>false</activeByDefault>
718 <skip.coverage>false</skip.coverage>
724 <activeByDefault>false</activeByDefault>
727 <skip.distribution>true</skip.distribution>
728 <root.directory>${env.WORKSPACE}</root.directory>
734 <activeByDefault>false</activeByDefault>
737 <skip.karaf>false</skip.karaf>