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.4.2-SNAPSHOT</version>
9 <relativePath></relativePath>
12 <groupId>org.opendaylight.ovsdb</groupId>
13 <artifactId>commons</artifactId>
14 <name>OVSDB Parent POM</name>
15 <version>1.2.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.0.0-SNAPSHOT</ovsdb.library.version>
28 <ovsdb.plugin.version>1.0.0-SNAPSHOT</ovsdb.plugin.version>
29 <plugin.shell.version>1.0.0-SNAPSHOT</plugin.shell.version>
30 <openstack.netvirt.version>1.0.0-SNAPSHOT</openstack.netvirt.version>
31 <openstack.netvirt.providers.version>1.0.0-SNAPSHOT</openstack.netvirt.providers.version>
32 <ovsdb.northbound.version>0.6.0-SNAPSHOT</ovsdb.northbound.version>
33 <schema.openvswitch.version>1.0.0-SNAPSHOT</schema.openvswitch.version>
34 <schema.hardwarevtep.version>1.0.0-SNAPSHOT</schema.hardwarevtep.version>
35 <ovsdb.ofextension.version>1.0.0-SNAPSHOT</ovsdb.ofextension.version>
36 <utils.mdsal.openflow>1.0.0-SNAPSHOT</utils.mdsal.openflow>
37 <!-- Skip Coverage and IT by default -->
38 <skip.coverage>true</skip.coverage>
39 <skip.integrationtest>true</skip.integrationtest>
40 <skip.distribution>false</skip.distribution>
41 <!-- The directory where maven was executed -->
42 <root.directory>${env.PWD}</root.directory>
43 <!-- UT reports are per-module -->
44 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
45 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
46 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
47 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
48 <!-- Override the JaCoCo version in ODL Parent -->
49 <jacoco.version>0.6.4.201312101107</jacoco.version>
50 <!-- ODL Dependency Versions -->
51 <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
52 <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
53 <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
54 <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
55 <sal.version>0.8.1-SNAPSHOT</sal.version>
56 <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
57 <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
58 <mdsal.version>1.1-SNAPSHOT</mdsal.version>
59 <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
60 <openflowplugin-nicira.version>0.0.3-SNAPSHOT</openflowplugin-nicira.version>
61 <openflowplugin-extension.version>0.0.3-SNAPSHOT</openflowplugin-extension.version>
62 <openflowjava-nicira.version>0.0.3-SNAPSHOT</openflowjava-nicira.version>
63 <openflowjava-extension.version>0.0.3-SNAPSHOT</openflowjava-extension.version>
64 <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
65 <controller.config.version>0.2.5-SNAPSHOT</controller.config.version>
66 <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
67 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
68 <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
69 <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
70 <!-- 3rd Pary Dependency Versions -->
71 <commons.collection.version>1.0</commons.collection.version>
72 <portlet.version>2.0</portlet.version>
73 <powermock.version>1.5.2</powermock.version>
74 <httpcomponents.version>4.2.1</httpcomponents.version>
75 <karaf.shell.version>3.0.0</karaf.shell.version>
76 <odl.karaf.base.version>1.4.2-SNAPSHOT</odl.karaf.base.version>
77 <nsf.version>0.4.2-SNAPSHOT</nsf.version>
80 <dependencyManagement>
83 <groupId>commons-collections</groupId>
84 <artifactId>commons-collections</artifactId>
85 <version>${commons.collection.version}</version>
88 <groupId>io.netty</groupId>
89 <artifactId>netty-all</artifactId>
90 <version>${netty.version}</version>
93 <groupId>javax.portlet</groupId>
94 <artifactId>portlet-api</artifactId>
95 <version>${portlet.version}</version>
98 <groupId>org.apache.httpcomponents</groupId>
99 <artifactId>httpcore-nio</artifactId>
100 <version>${httpcomponents.version}</version>
103 <groupId>org.powermock</groupId>
104 <artifactId>powermock-module-junit4</artifactId>
105 <version>${powermock.version}</version>
108 <groupId>org.powermock</groupId>
109 <artifactId>powermock-api-mockito</artifactId>
110 <version>${powermock.version}</version>
113 <groupId>org.opendaylight.controller</groupId>
114 <artifactId>clustering.services</artifactId>
115 <version>${clustering.services.version}</version>
118 <groupId>org.opendaylight.controller</groupId>
119 <artifactId>sal</artifactId>
120 <version>${sal.version}</version>
123 <groupId>org.opendaylight.controller</groupId>
124 <artifactId>sal.connection</artifactId>
125 <version>${sal.connection.version}</version>
128 <groupId>org.opendaylight.controller</groupId>
129 <artifactId>sal.networkconfiguration</artifactId>
130 <version>${sal.networkconfiguration.version}</version>
133 <groupId>org.opendaylight.controller</groupId>
134 <artifactId>containermanager</artifactId>
135 <version>${containermanager.version}</version>
138 <groupId>org.opendaylight.controller</groupId>
139 <artifactId>forwardingrulesmanager</artifactId>
140 <version>${forwardingrulesmanager.version}</version>
143 <groupId>org.opendaylight.controller</groupId>
144 <artifactId>networkconfig.neutron</artifactId>
145 <version>${networkconfig.neutron.version}</version>
148 <groupId>org.opendaylight.controller</groupId>
149 <artifactId>sal-binding-api</artifactId>
150 <version>${mdsal.version}</version>
153 <groupId>org.opendaylight.controller</groupId>
154 <artifactId>sal-common-util</artifactId>
155 <version>${mdsal.version}</version>
158 <groupId>org.opendaylight.controller</groupId>
159 <artifactId>switchmanager</artifactId>
160 <version>${switchmanager.api.version}</version>
163 <groupId>org.opendaylight.controller.model</groupId>
164 <artifactId>model-flow-base</artifactId>
165 <version>${mdsal.version}</version>
168 <groupId>org.opendaylight.controller.model</groupId>
169 <artifactId>model-flow-statistics</artifactId>
170 <version>${mdsal.version}</version>
173 <groupId>org.opendaylight.controller.model</groupId>
174 <artifactId>model-flow-service</artifactId>
175 <version>${mdsal.version}</version>
178 <groupId>org.opendaylight.controller.model</groupId>
179 <artifactId>model-inventory</artifactId>
180 <version>${mdsal.version}</version>
183 <groupId>org.opendaylight.yangtools</groupId>
184 <artifactId>yang-binding</artifactId>
185 <version>${yangtools.version}</version>
188 <groupId>org.opendaylight.yangtools</groupId>
189 <artifactId>features-test</artifactId>
190 <version>${yangtools.version}</version>
194 <groupId>org.opendaylight.controller</groupId>
195 <artifactId>opendaylight-karaf-empty</artifactId>
196 <version>1.4.2-SNAPSHOT</version>
200 <groupId>org.opendaylight.controller</groupId>
201 <artifactId>commons.northbound</artifactId>
202 <version>${northbound.commons.version}</version>
205 <groupId>org.opendaylight.controller</groupId>
206 <artifactId>config-api</artifactId>
207 <version>${controller.config.version}</version>
210 <groupId>org.opendaylight.openflowjava</groupId>
211 <artifactId>openflow-protocol-api</artifactId>
212 <version>${openflowjava.version}</version>
215 <groupId>org.opendaylight.openflowjava</groupId>
216 <artifactId>openflow-protocol-spi</artifactId>
217 <version>${openflowjava.version}</version>
220 <groupId>org.opendaylight.openflowjava</groupId>
221 <artifactId>openflow-protocol-impl</artifactId>
222 <version>${openflowjava.version}</version>
225 <groupId>org.opendaylight.openflowjava</groupId>
226 <artifactId>util</artifactId>
227 <version>${openflowjava.version}</version>
230 <groupId>org.opendaylight.openflowplugin</groupId>
231 <artifactId>openflowjava-extension-nicira-api</artifactId>
232 <version>${openflowjava-nicira.version}</version>
235 <groupId>org.opendaylight.openflowplugin</groupId>
236 <artifactId>openflowjava-extension-nicira</artifactId>
237 <version>${openflowjava-nicira.version}</version>
240 <groupId>org.opendaylight.openflowplugin</groupId>
241 <artifactId>openflowplugin-extension-api</artifactId>
242 <version>${openflowplugin-extension.version}</version>
245 <groupId>org.opendaylight.openflowplugin</groupId>
246 <artifactId>openflowplugin-extension-nicira</artifactId>
247 <version>${openflowplugin-nicira.version}</version>
250 <groupId>org.opendaylight.openflowplugin</groupId>
251 <artifactId>openflowplugin</artifactId>
252 <version>${openflowplugin.version}</version>
255 <groupId>org.opendaylight.ovsdb</groupId>
256 <artifactId>library</artifactId>
257 <version>${ovsdb.library.version}</version>
260 <groupId>org.opendaylight.ovsdb</groupId>
261 <artifactId>plugin</artifactId>
262 <version>${ovsdb.plugin.version}</version>
265 <groupId>org.opendaylight.ovsdb</groupId>
266 <artifactId>plugin-shell</artifactId>
267 <version>${plugin.shell.version}</version>
270 <groupId>org.opendaylight.ovsdb</groupId>
271 <artifactId>openstack.net-virt</artifactId>
272 <version>${openstack.netvirt.version}</version>
275 <groupId>org.opendaylight.ovsdb</groupId>
276 <artifactId>openstack.net-virt-providers</artifactId>
277 <version>${openstack.netvirt.providers.version}</version>
280 <groupId>org.opendaylight.ovsdb</groupId>
281 <artifactId>northbound</artifactId>
282 <version>${ovsdb.northbound.version}</version>
285 <groupId>org.opendaylight.ovsdb</groupId>
286 <artifactId>schema.hardwarevtep</artifactId>
287 <version>${schema.hardwarevtep.version}</version>
290 <groupId>org.opendaylight.ovsdb</groupId>
291 <artifactId>schema.openvswitch</artifactId>
292 <version>${schema.openvswitch.version}</version>
295 <groupId>org.opendaylight.ovsdb</groupId>
296 <artifactId>plugin-mdsal-adapter</artifactId>
297 <version>${ovsdb.plugin.version}</version>
300 <groupId>org.opendaylight.ovsdb</groupId>
301 <artifactId>of-extension.nx-ofjava</artifactId>
302 <version>${ovsdb.ofextension.version}</version>
305 <groupId>org.opendaylight.ovsdb</groupId>
306 <artifactId>of-extension.nx-sal</artifactId>
307 <version>${ovsdb.ofextension.version}</version>
310 </dependencyManagement>
316 <groupId>org.apache.maven.plugins</groupId>
317 <artifactId>maven-compiler-plugin</artifactId>
319 <source>${java.version.source}</source>
320 <target>${java.version.target}</target>
321 <testSource>${java.version.source}</testSource>
322 <testTarget>${java.version.target}</testTarget>
325 <!-- This configuration should move to ODL-Parent -->
327 <groupId>org.apache.maven.plugins</groupId>
328 <artifactId>maven-checkstyle-plugin</artifactId>
329 <version>${checkstyle.version}</version>
331 <failsOnError>true</failsOnError>
332 <configLocation>controller/checkstyle.xml</configLocation>
333 <consoleOutput>true</consoleOutput>
334 <includeTestSourceDirectory>true</includeTestSourceDirectory>
335 <sourceDirectory>${project.basedir}</sourceDirectory>
336 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
337 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
341 <groupId>org.opendaylight.controller</groupId>
342 <artifactId>checkstyle</artifactId>
343 <version>0.0.3-SNAPSHOT</version>
352 <phase>process-sources</phase>
357 <groupId>org.jacoco</groupId>
358 <artifactId>jacoco-maven-plugin</artifactId>
359 <version>${jacoco.version}</version>
361 <skip>${skip.coverage}</skip>
365 <id>pre-unit-test</id>
367 <goal>prepare-agent</goal>
370 <destFile>${sonar.jacoco.reportPath}</destFile>
374 <id>pre-integration-test</id>
376 <goal>prepare-agent-integration</goal>
379 <destFile>${sonar.jacoco.itReportPath}</destFile>
380 <append>true</append>
381 <skip>${skip.integrationtest}</skip>
385 <id>post-unit-test</id>
390 <dataFile>${sonar.jacoco.reportPath}</dataFile>
394 <id>post-integration-test</id>
396 <goal>report-integration</goal>
399 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
400 <skip>${skip.integrationtest}</skip>
406 <groupId>org.apache.maven.plugins</groupId>
407 <artifactId>maven-surefire-plugin</artifactId>
408 <version>${maven.surefire.version}</version>
411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-failsafe-plugin</artifactId>
413 <version>${failsafe.version}</version>
416 <id>failsafe-integration-tests</id>
418 <goal>integration-test</goal>
422 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
423 <skipTests>${skip.integrationtest}</skipTests>
429 <groupId>org.opendaylight.yangtools</groupId>
430 <artifactId>yang-maven-plugin</artifactId>
431 <version>${yangtools.version}</version>
435 <goal>generate-sources</goal>
438 <!-- directory containing yang files to parse and generate code -->
439 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
443 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
444 </codeGeneratorClass>
445 <!-- directory into which generated files will be placed -->
447 target/generated-sources/sal
451 <inspectDependencies>true</inspectDependencies>
457 <groupId>org.opendaylight.yangtools</groupId>
458 <artifactId>maven-sal-api-gen-plugin</artifactId>
459 <version>0.6.2-SNAPSHOT</version>
465 <groupId>org.codehaus.mojo</groupId>
466 <artifactId>build-helper-maven-plugin</artifactId>
467 <version>1.7</version>
470 <phase>generate-sources</phase>
472 <goal>add-source</goal>
476 <source>target/generated-sources/sal</source>
485 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
487 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
488 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
490 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
494 <!-- Opendaylight public group -->
496 <id>opendaylight-public</id>
497 <name>opendaylight-public</name>
498 <url>${nexusproxy}/groups/public/</url>
500 <enabled>false</enabled>
503 <enabled>true</enabled>
504 <updatePolicy>never</updatePolicy>
507 <!-- OpenDayLight Released artifact -->
509 <id>opendaylight-release</id>
510 <name>opendaylight-release</name>
511 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
513 <enabled>false</enabled>
516 <enabled>true</enabled>
519 <!-- OpenDayLight Snapshot artifact -->
521 <id>opendaylight-snapshot</id>
522 <name>opendaylight-snapshot</name>
523 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
525 <enabled>true</enabled>
528 <enabled>false</enabled>
534 <!-- Opendaylight public group -->
536 <id>opendaylight-public</id>
537 <name>opendaylight-public</name>
538 <url>${nexusproxy}/groups/public/</url>
540 <enabled>false</enabled>
543 <enabled>true</enabled>
544 <updatePolicy>never</updatePolicy>
547 <!-- OpenDayLight Released artifact -->
549 <id>opendaylight-release</id>
550 <name>opendaylight-release</name>
551 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
553 <enabled>false</enabled>
556 <enabled>true</enabled>
559 <!-- OpenDayLight Snapshot artifact -->
561 <id>opendaylight-snapshot</id>
562 <name>opendaylight-snapshot</name>
563 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
565 <enabled>true</enabled>
568 <enabled>false</enabled>
571 </pluginRepositories>
575 <id>integrationtest</id>
577 <activeByDefault>false</activeByDefault>
580 <skip.integrationtest>false</skip.integrationtest>
586 <activeByDefault>false</activeByDefault>
589 <skip.coverage>false</skip.coverage>
595 <activeByDefault>false</activeByDefault>
598 <skip.distribution>true</skip.distribution>
599 <root.directory>${env.WORKSPACE}</root.directory>