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 <!-- Skip Coverage and IT by default -->
37 <skip.coverage>true</skip.coverage>
38 <skip.integrationtest>true</skip.integrationtest>
39 <!-- The directory where maven was executed -->
40 <root.directory>${env.PWD}</root.directory>
41 <!-- UT reports are per-module -->
42 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
43 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
44 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
45 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
46 <!-- Override the JaCoCo version in ODL Parent -->
47 <jacoco.version>0.6.4.201312101107</jacoco.version>
48 <!-- ODL Dependency Versions -->
49 <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
50 <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
51 <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
52 <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
53 <sal.version>0.8.1-SNAPSHOT</sal.version>
54 <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
55 <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
56 <mdsal.version>1.1-SNAPSHOT</mdsal.version>
57 <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
58 <openflowplugin-nicira.version>0.0.3-SNAPSHOT</openflowplugin-nicira.version>
59 <openflowplugin-extension.version>0.0.3-SNAPSHOT</openflowplugin-extension.version>
60 <openflowjava-nicira.version>0.0.3-SNAPSHOT</openflowjava-nicira.version>
61 <openflowjava-extension.version>0.0.3-SNAPSHOT</openflowjava-extension.version>
62 <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
63 <controller.config.version>0.2.5-SNAPSHOT</controller.config.version>
64 <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
65 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
66 <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
67 <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
68 <!-- 3rd Pary Dependency Versions -->
69 <commons.collection.version>1.0</commons.collection.version>
70 <portlet.version>2.0</portlet.version>
71 <powermock.version>1.5.2</powermock.version>
72 <httpcomponents.version>4.2.1</httpcomponents.version>
73 <karaf.shell.version>3.0.0</karaf.shell.version>
76 <dependencyManagement>
79 <groupId>commons-collections</groupId>
80 <artifactId>commons-collections</artifactId>
81 <version>${commons.collection.version}</version>
84 <groupId>io.netty</groupId>
85 <artifactId>netty-all</artifactId>
86 <version>${netty.version}</version>
89 <groupId>javax.portlet</groupId>
90 <artifactId>portlet-api</artifactId>
91 <version>${portlet.version}</version>
94 <groupId>org.apache.httpcomponents</groupId>
95 <artifactId>httpcore-nio</artifactId>
96 <version>${httpcomponents.version}</version>
99 <groupId>org.powermock</groupId>
100 <artifactId>powermock-module-junit4</artifactId>
101 <version>${powermock.version}</version>
104 <groupId>org.powermock</groupId>
105 <artifactId>powermock-api-mockito</artifactId>
106 <version>${powermock.version}</version>
109 <groupId>org.opendaylight.controller</groupId>
110 <artifactId>clustering.services</artifactId>
111 <version>${clustering.services.version}</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>sal</artifactId>
116 <version>${sal.version}</version>
119 <groupId>org.opendaylight.controller</groupId>
120 <artifactId>sal.connection</artifactId>
121 <version>${sal.connection.version}</version>
124 <groupId>org.opendaylight.controller</groupId>
125 <artifactId>sal.networkconfiguration</artifactId>
126 <version>${sal.networkconfiguration.version}</version>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>containermanager</artifactId>
131 <version>${containermanager.version}</version>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>forwardingrulesmanager</artifactId>
136 <version>${forwardingrulesmanager.version}</version>
139 <groupId>org.opendaylight.controller</groupId>
140 <artifactId>networkconfig.neutron</artifactId>
141 <version>${networkconfig.neutron.version}</version>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>sal-binding-api</artifactId>
146 <version>${mdsal.version}</version>
149 <groupId>org.opendaylight.controller</groupId>
150 <artifactId>sal-common-util</artifactId>
151 <version>${mdsal.version}</version>
154 <groupId>org.opendaylight.controller</groupId>
155 <artifactId>switchmanager</artifactId>
156 <version>${switchmanager.api.version}</version>
159 <groupId>org.opendaylight.controller.model</groupId>
160 <artifactId>model-flow-base</artifactId>
161 <version>${mdsal.version}</version>
164 <groupId>org.opendaylight.controller.model</groupId>
165 <artifactId>model-flow-statistics</artifactId>
166 <version>${mdsal.version}</version>
169 <groupId>org.opendaylight.controller.model</groupId>
170 <artifactId>model-flow-service</artifactId>
171 <version>${mdsal.version}</version>
174 <groupId>org.opendaylight.controller.model</groupId>
175 <artifactId>model-inventory</artifactId>
176 <version>${mdsal.version}</version>
179 <groupId>org.opendaylight.yangtools</groupId>
180 <artifactId>yang-binding</artifactId>
181 <version>${yangtools.version}</version>
184 <groupId>org.opendaylight.controller</groupId>
185 <artifactId>commons.northbound</artifactId>
186 <version>${northbound.commons.version}</version>
189 <groupId>org.opendaylight.controller</groupId>
190 <artifactId>config-api</artifactId>
191 <version>${controller.config.version}</version>
194 <groupId>org.opendaylight.openflowjava</groupId>
195 <artifactId>openflow-protocol-api</artifactId>
196 <version>${openflowjava.version}</version>
199 <groupId>org.opendaylight.openflowjava</groupId>
200 <artifactId>openflow-protocol-spi</artifactId>
201 <version>${openflowjava.version}</version>
204 <groupId>org.opendaylight.openflowjava</groupId>
205 <artifactId>openflow-protocol-impl</artifactId>
206 <version>${openflowjava.version}</version>
209 <groupId>org.opendaylight.openflowjava</groupId>
210 <artifactId>util</artifactId>
211 <version>${openflowjava.version}</version>
214 <groupId>org.opendaylight.openflowplugin</groupId>
215 <artifactId>openflowjava-extension-nicira-api</artifactId>
216 <version>${openflowjava-nicira.version}</version>
219 <groupId>org.opendaylight.openflowplugin</groupId>
220 <artifactId>openflowjava-extension-nicira</artifactId>
221 <version>${openflowjava-nicira.version}</version>
224 <groupId>org.opendaylight.openflowplugin</groupId>
225 <artifactId>openflowplugin-extension-api</artifactId>
226 <version>${openflowplugin-extension.version}</version>
229 <groupId>org.opendaylight.openflowplugin</groupId>
230 <artifactId>openflowplugin-extension-nicira</artifactId>
231 <version>${openflowplugin-nicira.version}</version>
234 <groupId>org.opendaylight.openflowplugin</groupId>
235 <artifactId>openflowplugin</artifactId>
236 <version>${openflowplugin.version}</version>
239 <groupId>org.opendaylight.ovsdb</groupId>
240 <artifactId>library</artifactId>
241 <version>${ovsdb.library.version}</version>
244 <groupId>org.opendaylight.ovsdb</groupId>
245 <artifactId>plugin</artifactId>
246 <version>${ovsdb.plugin.version}</version>
249 <groupId>org.opendaylight.ovsdb</groupId>
250 <artifactId>openstack.net-virt</artifactId>
251 <version>${openstack.netvirt.version}</version>
254 <groupId>org.opendaylight.ovsdb</groupId>
255 <artifactId>openstack.net-virt-providers</artifactId>
256 <version>${openstack.netvirt.providers.version}</version>
259 <groupId>org.opendaylight.ovsdb</groupId>
260 <artifactId>northbound</artifactId>
261 <version>${ovsdb.northbound.version}</version>
264 <groupId>org.opendaylight.ovsdb</groupId>
265 <artifactId>schema.hardwarevtep</artifactId>
266 <version>${schema.hardwarevtep.version}</version>
269 <groupId>org.opendaylight.ovsdb</groupId>
270 <artifactId>schema.openvswitch</artifactId>
271 <version>${schema.openvswitch.version}</version>
274 <groupId>org.opendaylight.ovsdb</groupId>
275 <artifactId>plugin-mdsal-adapter</artifactId>
276 <version>${ovsdb.plugin.version}</version>
279 <groupId>org.opendaylight.ovsdb</groupId>
280 <artifactId>of-extension.nx-ofjava</artifactId>
281 <version>${ovsdb.ofextension.version}</version>
284 <groupId>org.opendaylight.ovsdb</groupId>
285 <artifactId>of-extension.nx-sal</artifactId>
286 <version>${ovsdb.ofextension.version}</version>
289 </dependencyManagement>
295 <groupId>org.apache.maven.plugins</groupId>
296 <artifactId>maven-compiler-plugin</artifactId>
298 <source>${java.version.source}</source>
299 <target>${java.version.target}</target>
300 <testSource>${java.version.source}</testSource>
301 <testTarget>${java.version.target}</testTarget>
304 <!-- This configuration should move to ODL-Parent -->
306 <groupId>org.apache.maven.plugins</groupId>
307 <artifactId>maven-checkstyle-plugin</artifactId>
308 <version>${checkstyle.version}</version>
310 <failsOnError>true</failsOnError>
311 <configLocation>controller/checkstyle.xml</configLocation>
312 <consoleOutput>true</consoleOutput>
313 <includeTestSourceDirectory>true</includeTestSourceDirectory>
314 <sourceDirectory>${project.basedir}</sourceDirectory>
315 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
316 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
320 <groupId>org.opendaylight.controller</groupId>
321 <artifactId>checkstyle</artifactId>
322 <version>0.0.3-SNAPSHOT</version>
331 <phase>process-sources</phase>
336 <groupId>org.jacoco</groupId>
337 <artifactId>jacoco-maven-plugin</artifactId>
338 <version>${jacoco.version}</version>
340 <skip>${skip.coverage}</skip>
344 <id>pre-unit-test</id>
346 <goal>prepare-agent</goal>
349 <destFile>${sonar.jacoco.reportPath}</destFile>
353 <id>pre-integration-test</id>
355 <goal>prepare-agent-integration</goal>
358 <destFile>${sonar.jacoco.itReportPath}</destFile>
359 <append>true</append>
360 <skip>${skip.integrationtest}</skip>
364 <id>post-unit-test</id>
369 <dataFile>${sonar.jacoco.reportPath}</dataFile>
373 <id>post-integration-test</id>
375 <goal>report-integration</goal>
378 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
379 <skip>${skip.integrationtest}</skip>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-surefire-plugin</artifactId>
387 <version>${maven.surefire.version}</version>
390 <groupId>org.apache.maven.plugins</groupId>
391 <artifactId>maven-failsafe-plugin</artifactId>
392 <version>${failsafe.version}</version>
395 <id>failsafe-integration-tests</id>
397 <goal>integration-test</goal>
401 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
402 <skipTests>${skip.integrationtest}</skipTests>
408 <groupId>org.opendaylight.yangtools</groupId>
409 <artifactId>yang-maven-plugin</artifactId>
410 <version>${yangtools.version}</version>
414 <goal>generate-sources</goal>
417 <!-- directory containing yang files to parse and generate code -->
418 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
422 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
423 </codeGeneratorClass>
424 <!-- directory into which generated files will be placed -->
426 target/generated-sources/sal
430 <inspectDependencies>true</inspectDependencies>
436 <groupId>org.opendaylight.yangtools</groupId>
437 <artifactId>maven-sal-api-gen-plugin</artifactId>
438 <version>0.6.2-SNAPSHOT</version>
444 <groupId>org.codehaus.mojo</groupId>
445 <artifactId>build-helper-maven-plugin</artifactId>
446 <version>1.7</version>
449 <phase>generate-sources</phase>
451 <goal>add-source</goal>
455 <source>target/generated-sources/sal</source>
464 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
466 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
467 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
469 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
473 <!-- Opendaylight public group -->
475 <id>opendaylight-public</id>
476 <name>opendaylight-public</name>
477 <url>${nexusproxy}/groups/public/</url>
479 <enabled>false</enabled>
482 <enabled>true</enabled>
483 <updatePolicy>never</updatePolicy>
486 <!-- OpenDayLight Released artifact -->
488 <id>opendaylight-release</id>
489 <name>opendaylight-release</name>
490 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
492 <enabled>false</enabled>
495 <enabled>true</enabled>
498 <!-- OpenDayLight Snapshot artifact -->
500 <id>opendaylight-snapshot</id>
501 <name>opendaylight-snapshot</name>
502 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
504 <enabled>true</enabled>
507 <enabled>false</enabled>
513 <!-- Opendaylight public group -->
515 <id>opendaylight-public</id>
516 <name>opendaylight-public</name>
517 <url>${nexusproxy}/groups/public/</url>
519 <enabled>false</enabled>
522 <enabled>true</enabled>
523 <updatePolicy>never</updatePolicy>
526 <!-- OpenDayLight Released artifact -->
528 <id>opendaylight-release</id>
529 <name>opendaylight-release</name>
530 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
532 <enabled>false</enabled>
535 <enabled>true</enabled>
538 <!-- OpenDayLight Snapshot artifact -->
540 <id>opendaylight-snapshot</id>
541 <name>opendaylight-snapshot</name>
542 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
544 <enabled>true</enabled>
547 <enabled>false</enabled>
550 </pluginRepositories>
554 <id>integrationtest</id>
556 <activeByDefault>false</activeByDefault>
559 <skip.integrationtest>false</skip.integrationtest>
565 <activeByDefault>false</activeByDefault>
568 <skip.coverage>false</skip.coverage>
574 <activeByDefault>false</activeByDefault>
577 <root.directory>${env.WORKSPACE}</root.directory>