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 <!-- ODL repository / plugin repository -->
23 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
24 <!-- Surefire/Failsafe Arguments -->
25 <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
26 <!-- OVSB Component Versions -->
27 <ovsdb.library.version>1.1.0-SNAPSHOT</ovsdb.library.version>
28 <ovsdb.plugin.version>1.1.0-SNAPSHOT</ovsdb.plugin.version>
29 <plugin.shell.version>1.1.0-SNAPSHOT</plugin.shell.version>
30 <openstack.netvirt.version>1.1.0-SNAPSHOT</openstack.netvirt.version>
31 <openstack.netvirt.providers.version>1.1.0-SNAPSHOT</openstack.netvirt.providers.version>
32 <ovsdb.northbound.version>0.7.0-SNAPSHOT</ovsdb.northbound.version>
33 <schema.openvswitch.version>1.1.0-SNAPSHOT</schema.openvswitch.version>
34 <schema.hardwarevtep.version>1.1.0-SNAPSHOT</schema.hardwarevtep.version>
35 <ovsdb.ofextension.version>1.1.0-SNAPSHOT</ovsdb.ofextension.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 <sal.networkconfiguration.version>0.1.0-SNAPSHOT</sal.networkconfiguration.version>
61 <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
62 <openflowplugin.version>0.1.0-SNAPSHOT</openflowplugin.version>
63 <openflowplugin-nicira.version>0.1.0-SNAPSHOT</openflowplugin-nicira.version>
64 <openflowplugin-extension.version>0.1.0-SNAPSHOT</openflowplugin-extension.version>
65 <openflowjava-nicira.version>0.1.0-SNAPSHOT</openflowjava-nicira.version>
66 <openflowjava-extension.version>0.1.0-SNAPSHOT</openflowjava-extension.version>
67 <openflowjava.version>0.6.0-SNAPSHOT</openflowjava.version>
68 <controller.config.version>0.3.0-SNAPSHOT</controller.config.version>
69 <switchmanager.api.version>0.8.0-SNAPSHOT</switchmanager.api.version>
70 <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
71 <northbound.commons.version>0.5.0-SNAPSHOT</northbound.commons.version>
72 <checkstyle.rules.version>0.1.0-SNAPSHOT</checkstyle.rules.version>
73 <!-- 3rd Pary Dependency Versions -->
74 <commons.collection.version>1.0</commons.collection.version>
75 <portlet.version>2.0</portlet.version>
76 <powermock.version>1.5.2</powermock.version>
77 <httpcomponents.version>4.2.1</httpcomponents.version>
78 <karaf.shell.version>3.0.0</karaf.shell.version>
79 <odl.karaf.base.version>1.5.0-SNAPSHOT</odl.karaf.base.version>
80 <nsf.version>0.5.0-SNAPSHOT</nsf.version>
81 <sfc-model.version>0.1.0-SNAPSHOT</sfc-model.version>
84 <dependencyManagement>
87 <groupId>commons-collections</groupId>
88 <artifactId>commons-collections</artifactId>
89 <version>${commons.collection.version}</version>
92 <groupId>io.netty</groupId>
93 <artifactId>netty-all</artifactId>
94 <version>${netty.version}</version>
97 <groupId>javax.portlet</groupId>
98 <artifactId>portlet-api</artifactId>
99 <version>${portlet.version}</version>
102 <groupId>org.apache.httpcomponents</groupId>
103 <artifactId>httpcore-nio</artifactId>
104 <version>${httpcomponents.version}</version>
107 <groupId>org.powermock</groupId>
108 <artifactId>powermock-module-junit4</artifactId>
109 <version>${powermock.version}</version>
112 <groupId>org.powermock</groupId>
113 <artifactId>powermock-api-mockito</artifactId>
114 <version>${powermock.version}</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>clustering.services</artifactId>
119 <version>${clustering.services.version}</version>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>sal</artifactId>
124 <version>${sal.version}</version>
127 <groupId>org.opendaylight.controller</groupId>
128 <artifactId>sal.connection</artifactId>
129 <version>${sal.connection.version}</version>
132 <groupId>org.opendaylight.controller</groupId>
133 <artifactId>sal.networkconfiguration</artifactId>
134 <version>${sal.networkconfiguration.version}</version>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>containermanager</artifactId>
139 <version>${containermanager.version}</version>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>forwardingrulesmanager</artifactId>
144 <version>${forwardingrulesmanager.version}</version>
147 <groupId>org.opendaylight.controller</groupId>
148 <artifactId>networkconfig.neutron</artifactId>
149 <version>${networkconfig.neutron.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-common-util</artifactId>
159 <version>${mdsal.version}</version>
162 <groupId>org.opendaylight.controller</groupId>
163 <artifactId>switchmanager</artifactId>
164 <version>${switchmanager.api.version}</version>
167 <groupId>org.opendaylight.controller.model</groupId>
168 <artifactId>model-flow-base</artifactId>
169 <version>${mdsal.version}</version>
172 <groupId>org.opendaylight.controller.model</groupId>
173 <artifactId>model-flow-statistics</artifactId>
174 <version>${mdsal.version}</version>
177 <groupId>org.opendaylight.controller.model</groupId>
178 <artifactId>model-flow-service</artifactId>
179 <version>${mdsal.version}</version>
182 <groupId>org.opendaylight.controller.model</groupId>
183 <artifactId>model-inventory</artifactId>
184 <version>${mdsal.version}</version>
187 <groupId>org.opendaylight.yangtools</groupId>
188 <artifactId>yang-binding</artifactId>
189 <version>${yangtools.version}</version>
192 <groupId>org.opendaylight.yangtools</groupId>
193 <artifactId>features-test</artifactId>
194 <version>${yangtools.version}</version>
198 <groupId>org.opendaylight.controller</groupId>
199 <artifactId>opendaylight-karaf-empty</artifactId>
200 <version>1.5.0-SNAPSHOT</version>
204 <groupId>org.opendaylight.controller</groupId>
205 <artifactId>commons.northbound</artifactId>
206 <version>${northbound.commons.version}</version>
209 <groupId>org.opendaylight.controller</groupId>
210 <artifactId>config-api</artifactId>
211 <version>${controller.config.version}</version>
214 <groupId>org.opendaylight.openflowjava</groupId>
215 <artifactId>openflow-protocol-api</artifactId>
216 <version>${openflowjava.version}</version>
219 <groupId>org.opendaylight.openflowjava</groupId>
220 <artifactId>openflow-protocol-spi</artifactId>
221 <version>${openflowjava.version}</version>
224 <groupId>org.opendaylight.openflowjava</groupId>
225 <artifactId>openflow-protocol-impl</artifactId>
226 <version>${openflowjava.version}</version>
229 <groupId>org.opendaylight.openflowjava</groupId>
230 <artifactId>util</artifactId>
231 <version>${openflowjava.version}</version>
234 <groupId>org.opendaylight.openflowplugin</groupId>
235 <artifactId>openflowjava-extension-nicira-api</artifactId>
236 <version>${openflowjava-nicira.version}</version>
239 <groupId>org.opendaylight.openflowplugin</groupId>
240 <artifactId>openflowjava-extension-nicira</artifactId>
241 <version>${openflowjava-nicira.version}</version>
244 <groupId>org.opendaylight.openflowplugin</groupId>
245 <artifactId>openflowplugin-extension-api</artifactId>
246 <version>${openflowplugin-extension.version}</version>
249 <groupId>org.opendaylight.openflowplugin</groupId>
250 <artifactId>openflowplugin-extension-nicira</artifactId>
251 <version>${openflowplugin-nicira.version}</version>
254 <groupId>org.opendaylight.openflowplugin</groupId>
255 <artifactId>openflowplugin</artifactId>
256 <version>${openflowplugin.version}</version>
259 <groupId>org.opendaylight.ovsdb</groupId>
260 <artifactId>library</artifactId>
261 <version>${ovsdb.library.version}</version>
264 <groupId>org.opendaylight.ovsdb</groupId>
265 <artifactId>plugin</artifactId>
266 <version>${ovsdb.plugin.version}</version>
269 <groupId>org.opendaylight.ovsdb</groupId>
270 <artifactId>plugin-shell</artifactId>
271 <version>${plugin.shell.version}</version>
274 <groupId>org.opendaylight.ovsdb</groupId>
275 <artifactId>ovssfc</artifactId>
276 <version>${ovsdb.ovssfc.version}</version>
279 <groupId>org.opendaylight.ovsdb</groupId>
280 <artifactId>openstack.net-virt</artifactId>
281 <version>${openstack.netvirt.version}</version>
284 <groupId>org.opendaylight.ovsdb</groupId>
285 <artifactId>openstack.net-virt-providers</artifactId>
286 <version>${openstack.netvirt.providers.version}</version>
289 <groupId>org.opendaylight.ovsdb</groupId>
290 <artifactId>northbound</artifactId>
291 <version>${ovsdb.northbound.version}</version>
294 <groupId>org.opendaylight.ovsdb</groupId>
295 <artifactId>schema.hardwarevtep</artifactId>
296 <version>${schema.hardwarevtep.version}</version>
299 <groupId>org.opendaylight.ovsdb</groupId>
300 <artifactId>schema.openvswitch</artifactId>
301 <version>${schema.openvswitch.version}</version>
304 <groupId>org.opendaylight.ovsdb</groupId>
305 <artifactId>plugin-mdsal-adapter</artifactId>
306 <version>${ovsdb.plugin.version}</version>
309 <groupId>org.opendaylight.ovsdb</groupId>
310 <artifactId>of-extension.nx-ofjava</artifactId>
311 <version>${ovsdb.ofextension.version}</version>
314 <groupId>org.opendaylight.ovsdb</groupId>
315 <artifactId>of-extension.nx-sal</artifactId>
316 <version>${ovsdb.ofextension.version}</version>
319 <groupId>org.opendaylight.sfc</groupId>
320 <artifactId>sfc-model</artifactId>
321 <version>${sfc-model.version}</version>
324 </dependencyManagement>
330 <groupId>org.apache.maven.plugins</groupId>
331 <artifactId>maven-compiler-plugin</artifactId>
333 <source>${java.version.source}</source>
334 <target>${java.version.target}</target>
335 <testSource>${java.version.source}</testSource>
336 <testTarget>${java.version.target}</testTarget>
339 <!-- This configuration should move to ODL-Parent -->
341 <groupId>org.apache.maven.plugins</groupId>
342 <artifactId>maven-checkstyle-plugin</artifactId>
343 <version>${checkstyle.version}</version>
345 <failsOnError>true</failsOnError>
346 <configLocation>controller/checkstyle.xml</configLocation>
347 <consoleOutput>true</consoleOutput>
348 <includeTestSourceDirectory>true</includeTestSourceDirectory>
349 <sourceDirectory>${project.basedir}</sourceDirectory>
350 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
351 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
355 <groupId>org.opendaylight.controller</groupId>
356 <artifactId>checkstyle</artifactId>
357 <version>0.1.0-SNAPSHOT</version>
366 <phase>process-sources</phase>
371 <groupId>org.jacoco</groupId>
372 <artifactId>jacoco-maven-plugin</artifactId>
373 <version>${jacoco.version}</version>
375 <skip>${skip.coverage}</skip>
379 <id>pre-unit-test</id>
381 <goal>prepare-agent</goal>
384 <destFile>${sonar.jacoco.reportPath}</destFile>
388 <id>pre-integration-test</id>
390 <goal>prepare-agent-integration</goal>
393 <destFile>${sonar.jacoco.itReportPath}</destFile>
394 <append>true</append>
395 <skip>${skip.integrationtest}</skip>
399 <id>post-unit-test</id>
404 <dataFile>${sonar.jacoco.reportPath}</dataFile>
408 <id>post-integration-test</id>
410 <goal>report-integration</goal>
413 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
414 <skip>${skip.integrationtest}</skip>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-surefire-plugin</artifactId>
422 <version>${maven.surefire.version}</version>
425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-failsafe-plugin</artifactId>
427 <version>${failsafe.version}</version>
430 <id>failsafe-integration-tests</id>
432 <goal>integration-test</goal>
436 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
437 <skipTests>${skip.integrationtest}</skipTests>
443 <groupId>org.opendaylight.yangtools</groupId>
444 <artifactId>yang-maven-plugin</artifactId>
445 <version>${yangtools.version}</version>
449 <goal>generate-sources</goal>
452 <!-- directory containing yang files to parse and generate code -->
453 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
457 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
458 </codeGeneratorClass>
459 <!-- directory into which generated files will be placed -->
461 target/generated-sources/sal
465 <inspectDependencies>true</inspectDependencies>
471 <groupId>org.opendaylight.yangtools</groupId>
472 <artifactId>maven-sal-api-gen-plugin</artifactId>
473 <version>${yangtools.version}</version>
479 <groupId>org.codehaus.mojo</groupId>
480 <artifactId>build-helper-maven-plugin</artifactId>
481 <version>1.7</version>
484 <phase>generate-sources</phase>
486 <goal>add-source</goal>
490 <source>target/generated-sources/sal</source>
499 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
501 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
502 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
504 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
508 <!-- Opendaylight public group -->
510 <id>opendaylight-public</id>
511 <name>opendaylight-public</name>
512 <url>${nexusproxy}/groups/public/</url>
514 <enabled>false</enabled>
517 <enabled>true</enabled>
518 <updatePolicy>never</updatePolicy>
521 <!-- OpenDayLight Released artifact -->
523 <id>opendaylight-release</id>
524 <name>opendaylight-release</name>
525 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
527 <enabled>false</enabled>
530 <enabled>true</enabled>
533 <!-- OpenDayLight Snapshot artifact -->
535 <id>opendaylight-snapshot</id>
536 <name>opendaylight-snapshot</name>
537 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
539 <enabled>true</enabled>
542 <enabled>false</enabled>
548 <!-- Opendaylight public group -->
550 <id>opendaylight-public</id>
551 <name>opendaylight-public</name>
552 <url>${nexusproxy}/groups/public/</url>
554 <enabled>false</enabled>
557 <enabled>true</enabled>
558 <updatePolicy>never</updatePolicy>
561 <!-- OpenDayLight Released artifact -->
563 <id>opendaylight-release</id>
564 <name>opendaylight-release</name>
565 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
567 <enabled>false</enabled>
570 <enabled>true</enabled>
573 <!-- OpenDayLight Snapshot artifact -->
575 <id>opendaylight-snapshot</id>
576 <name>opendaylight-snapshot</name>
577 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
579 <enabled>true</enabled>
582 <enabled>false</enabled>
585 </pluginRepositories>
589 <id>integrationtest</id>
591 <activeByDefault>false</activeByDefault>
594 <skip.integrationtest>false</skip.integrationtest>
600 <activeByDefault>false</activeByDefault>
603 <skip.coverage>false</skip.coverage>
609 <activeByDefault>false</activeByDefault>
612 <skip.distribution>true</skip.distribution>
613 <root.directory>${env.WORKSPACE}</root.directory>
619 <activeByDefault>false</activeByDefault>
622 <skip.karaf>false</skip.karaf>