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 <openstack.netvirt.version>1.0.0-SNAPSHOT</openstack.netvirt.version>
30 <openstack.netvirt.providers.version>1.0.0-SNAPSHOT</openstack.netvirt.providers.version>
31 <ovsdb.northbound.version>0.6.0-SNAPSHOT</ovsdb.northbound.version>
32 <schema.openvswitch.version>1.0.0-SNAPSHOT</schema.openvswitch.version>
33 <schema.hardwarevtep.version>1.0.0-SNAPSHOT</schema.hardwarevtep.version>
34 <ovsdb.ofextension.version>1.0.0-SNAPSHOT</ovsdb.ofextension.version>
35 <!-- Skip Coverage and IT by default -->
36 <skip.coverage>true</skip.coverage>
37 <skip.integrationtest>true</skip.integrationtest>
38 <!-- The directory where maven was executed -->
39 <root.directory>${env.PWD}</root.directory>
40 <!-- UT reports are per-module -->
41 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
42 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
43 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
44 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
45 <!-- Override the JaCoCo version in ODL Parent -->
46 <jacoco.version>0.6.4.201312101107</jacoco.version>
47 <!-- ODL Dependency Versions -->
48 <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
49 <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
50 <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
51 <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
52 <sal.version>0.8.1-SNAPSHOT</sal.version>
53 <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
54 <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
55 <mdsal.version>1.1-SNAPSHOT</mdsal.version>
56 <openflowplugin.version>0.0.3-SNAPSHOT</openflowplugin.version>
57 <openflowplugin-nicira.version>0.0.3-SNAPSHOT</openflowplugin-nicira.version>
58 <openflowplugin-extension.version>0.0.3-SNAPSHOT</openflowplugin-extension.version>
59 <openflowjava-nicira.version>0.0.3-SNAPSHOT</openflowjava-nicira.version>
60 <openflowjava-extension.version>0.0.3-SNAPSHOT</openflowjava-extension.version>
61 <openflowjava.version>0.5-SNAPSHOT</openflowjava.version>
62 <controller.config.version>0.2.5-SNAPSHOT</controller.config.version>
63 <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
64 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
65 <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
66 <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
67 <!-- 3rd Pary Dependency Versions -->
68 <commons.collection.version>1.0</commons.collection.version>
69 <portlet.version>2.0</portlet.version>
70 <powermock.version>1.5.2</powermock.version>
71 <httpcomponents.version>4.2.1</httpcomponents.version>
74 <dependencyManagement>
77 <groupId>commons-collections</groupId>
78 <artifactId>commons-collections</artifactId>
79 <version>${commons.collection.version}</version>
82 <groupId>io.netty</groupId>
83 <artifactId>netty-all</artifactId>
84 <version>${netty.version}</version>
87 <groupId>javax.portlet</groupId>
88 <artifactId>portlet-api</artifactId>
89 <version>${portlet.version}</version>
92 <groupId>org.apache.httpcomponents</groupId>
93 <artifactId>httpcore-nio</artifactId>
94 <version>${httpcomponents.version}</version>
97 <groupId>org.powermock</groupId>
98 <artifactId>powermock-module-junit4</artifactId>
99 <version>${powermock.version}</version>
102 <groupId>org.powermock</groupId>
103 <artifactId>powermock-api-mockito</artifactId>
104 <version>${powermock.version}</version>
107 <groupId>org.opendaylight.controller</groupId>
108 <artifactId>clustering.services</artifactId>
109 <version>${clustering.services.version}</version>
112 <groupId>org.opendaylight.controller</groupId>
113 <artifactId>sal</artifactId>
114 <version>${sal.version}</version>
117 <groupId>org.opendaylight.controller</groupId>
118 <artifactId>sal.connection</artifactId>
119 <version>${sal.connection.version}</version>
122 <groupId>org.opendaylight.controller</groupId>
123 <artifactId>sal.networkconfiguration</artifactId>
124 <version>${sal.networkconfiguration.version}</version>
127 <groupId>org.opendaylight.controller</groupId>
128 <artifactId>containermanager</artifactId>
129 <version>${containermanager.version}</version>
132 <groupId>org.opendaylight.controller</groupId>
133 <artifactId>forwardingrulesmanager</artifactId>
134 <version>${forwardingrulesmanager.version}</version>
137 <groupId>org.opendaylight.controller</groupId>
138 <artifactId>networkconfig.neutron</artifactId>
139 <version>${networkconfig.neutron.version}</version>
142 <groupId>org.opendaylight.controller</groupId>
143 <artifactId>sal-binding-api</artifactId>
144 <version>${mdsal.version}</version>
147 <groupId>org.opendaylight.controller</groupId>
148 <artifactId>sal-common-util</artifactId>
149 <version>${mdsal.version}</version>
152 <groupId>org.opendaylight.controller</groupId>
153 <artifactId>switchmanager</artifactId>
154 <version>${switchmanager.api.version}</version>
157 <groupId>org.opendaylight.controller.model</groupId>
158 <artifactId>model-flow-base</artifactId>
159 <version>${mdsal.version}</version>
162 <groupId>org.opendaylight.controller.model</groupId>
163 <artifactId>model-flow-statistics</artifactId>
164 <version>${mdsal.version}</version>
167 <groupId>org.opendaylight.controller.model</groupId>
168 <artifactId>model-flow-service</artifactId>
169 <version>${mdsal.version}</version>
172 <groupId>org.opendaylight.controller.model</groupId>
173 <artifactId>model-inventory</artifactId>
174 <version>${mdsal.version}</version>
177 <groupId>org.opendaylight.yangtools</groupId>
178 <artifactId>yang-binding</artifactId>
179 <version>${yangtools.version}</version>
182 <groupId>org.opendaylight.controller</groupId>
183 <artifactId>commons.northbound</artifactId>
184 <version>${northbound.commons.version}</version>
187 <groupId>org.opendaylight.controller</groupId>
188 <artifactId>config-api</artifactId>
189 <version>${controller.config.version}</version>
192 <groupId>org.opendaylight.openflowjava</groupId>
193 <artifactId>openflow-protocol-api</artifactId>
194 <version>${openflowjava.version}</version>
197 <groupId>org.opendaylight.openflowjava</groupId>
198 <artifactId>openflow-protocol-spi</artifactId>
199 <version>${openflowjava.version}</version>
202 <groupId>org.opendaylight.openflowjava</groupId>
203 <artifactId>openflow-protocol-impl</artifactId>
204 <version>${openflowjava.version}</version>
207 <groupId>org.opendaylight.openflowjava</groupId>
208 <artifactId>util</artifactId>
209 <version>${openflowjava.version}</version>
212 <groupId>org.opendaylight.openflowplugin</groupId>
213 <artifactId>openflowjava-extension-nicira-api</artifactId>
214 <version>${openflowjava-nicira.version}</version>
217 <groupId>org.opendaylight.openflowplugin</groupId>
218 <artifactId>openflowjava-extension-nicira</artifactId>
219 <version>${openflowjava-nicira.version}</version>
222 <groupId>org.opendaylight.openflowplugin</groupId>
223 <artifactId>openflowplugin-extension-api</artifactId>
224 <version>${openflowplugin-extension.version}</version>
227 <groupId>org.opendaylight.openflowplugin</groupId>
228 <artifactId>openflowplugin-extension-nicira</artifactId>
229 <version>${openflowplugin-nicira.version}</version>
232 <groupId>org.opendaylight.openflowplugin</groupId>
233 <artifactId>openflowplugin</artifactId>
234 <version>${openflowplugin.version}</version>
237 <groupId>org.opendaylight.ovsdb</groupId>
238 <artifactId>library</artifactId>
239 <version>${ovsdb.library.version}</version>
242 <groupId>org.opendaylight.ovsdb</groupId>
243 <artifactId>plugin</artifactId>
244 <version>${ovsdb.plugin.version}</version>
247 <groupId>org.opendaylight.ovsdb</groupId>
248 <artifactId>openstack.net-virt</artifactId>
249 <version>${openstack.netvirt.version}</version>
252 <groupId>org.opendaylight.ovsdb</groupId>
253 <artifactId>openstack.net-virt-providers</artifactId>
254 <version>${openstack.netvirt.providers.version}</version>
257 <groupId>org.opendaylight.ovsdb</groupId>
258 <artifactId>northbound</artifactId>
259 <version>${ovsdb.northbound.version}</version>
262 <groupId>org.opendaylight.ovsdb</groupId>
263 <artifactId>schema.hardwarevtep</artifactId>
264 <version>${schema.hardwarevtep.version}</version>
267 <groupId>org.opendaylight.ovsdb</groupId>
268 <artifactId>schema.openvswitch</artifactId>
269 <version>${schema.openvswitch.version}</version>
272 <groupId>org.opendaylight.ovsdb</groupId>
273 <artifactId>plugin-mdsal-adapter</artifactId>
274 <version>${ovsdb.plugin.version}</version>
277 <groupId>org.opendaylight.ovsdb</groupId>
278 <artifactId>of-extension.nx-ofjava</artifactId>
279 <version>${ovsdb.ofextension.version}</version>
282 <groupId>org.opendaylight.ovsdb</groupId>
283 <artifactId>of-extension.nx-sal</artifactId>
284 <version>${ovsdb.ofextension.version}</version>
287 </dependencyManagement>
293 <groupId>org.apache.maven.plugins</groupId>
294 <artifactId>maven-compiler-plugin</artifactId>
296 <source>${java.version.source}</source>
297 <target>${java.version.target}</target>
298 <testSource>${java.version.source}</testSource>
299 <testTarget>${java.version.target}</testTarget>
302 <!-- This configuration should move to ODL-Parent -->
304 <groupId>org.apache.maven.plugins</groupId>
305 <artifactId>maven-checkstyle-plugin</artifactId>
306 <version>${checkstyle.version}</version>
308 <failsOnError>true</failsOnError>
309 <configLocation>controller/checkstyle.xml</configLocation>
310 <consoleOutput>true</consoleOutput>
311 <includeTestSourceDirectory>true</includeTestSourceDirectory>
312 <sourceDirectory>${project.basedir}</sourceDirectory>
313 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
314 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/</excludes>
318 <groupId>org.opendaylight.controller</groupId>
319 <artifactId>checkstyle</artifactId>
320 <version>0.0.3-SNAPSHOT</version>
329 <phase>process-sources</phase>
334 <groupId>org.jacoco</groupId>
335 <artifactId>jacoco-maven-plugin</artifactId>
336 <version>${jacoco.version}</version>
338 <skip>${skip.coverage}</skip>
342 <id>pre-unit-test</id>
344 <goal>prepare-agent</goal>
347 <destFile>${sonar.jacoco.reportPath}</destFile>
351 <id>pre-integration-test</id>
353 <goal>prepare-agent-integration</goal>
356 <destFile>${sonar.jacoco.itReportPath}</destFile>
357 <append>true</append>
358 <skip>${skip.integrationtest}</skip>
362 <id>post-unit-test</id>
367 <dataFile>${sonar.jacoco.reportPath}</dataFile>
371 <id>post-integration-test</id>
373 <goal>report-integration</goal>
376 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
377 <skip>${skip.integrationtest}</skip>
383 <groupId>org.apache.maven.plugins</groupId>
384 <artifactId>maven-surefire-plugin</artifactId>
385 <version>${maven.surefire.version}</version>
388 <groupId>org.apache.maven.plugins</groupId>
389 <artifactId>maven-failsafe-plugin</artifactId>
390 <version>${failsafe.version}</version>
393 <id>failsafe-integration-tests</id>
395 <goal>integration-test</goal>
399 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
400 <skipTests>${skip.integrationtest}</skipTests>
406 <groupId>org.opendaylight.yangtools</groupId>
407 <artifactId>yang-maven-plugin</artifactId>
408 <version>${yangtools.version}</version>
412 <goal>generate-sources</goal>
415 <!-- directory containing yang files to parse and generate code -->
416 <yangFilesRootDir>src/main/yang</yangFilesRootDir>
420 org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl
421 </codeGeneratorClass>
422 <!-- directory into which generated files will be placed -->
424 target/generated-sources/sal
428 <inspectDependencies>true</inspectDependencies>
434 <groupId>org.opendaylight.yangtools</groupId>
435 <artifactId>maven-sal-api-gen-plugin</artifactId>
436 <version>0.6.2-SNAPSHOT</version>
442 <groupId>org.codehaus.mojo</groupId>
443 <artifactId>build-helper-maven-plugin</artifactId>
444 <version>1.7</version>
447 <phase>generate-sources</phase>
449 <goal>add-source</goal>
453 <source>target/generated-sources/sal</source>
462 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
464 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
465 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
467 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
471 <!-- Opendaylight public group -->
473 <id>opendaylight-public</id>
474 <name>opendaylight-public</name>
475 <url>${nexusproxy}/groups/public/</url>
477 <enabled>false</enabled>
480 <enabled>true</enabled>
481 <updatePolicy>never</updatePolicy>
484 <!-- OpenDayLight Released artifact -->
486 <id>opendaylight-release</id>
487 <name>opendaylight-release</name>
488 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
490 <enabled>false</enabled>
493 <enabled>true</enabled>
496 <!-- OpenDayLight Snapshot artifact -->
498 <id>opendaylight-snapshot</id>
499 <name>opendaylight-snapshot</name>
500 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
502 <enabled>true</enabled>
505 <enabled>false</enabled>
511 <!-- Opendaylight public group -->
513 <id>opendaylight-public</id>
514 <name>opendaylight-public</name>
515 <url>${nexusproxy}/groups/public/</url>
517 <enabled>false</enabled>
520 <enabled>true</enabled>
521 <updatePolicy>never</updatePolicy>
524 <!-- OpenDayLight Released artifact -->
526 <id>opendaylight-release</id>
527 <name>opendaylight-release</name>
528 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
530 <enabled>false</enabled>
533 <enabled>true</enabled>
536 <!-- OpenDayLight Snapshot artifact -->
538 <id>opendaylight-snapshot</id>
539 <name>opendaylight-snapshot</name>
540 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
542 <enabled>true</enabled>
545 <enabled>false</enabled>
548 </pluginRepositories>
552 <id>integrationtest</id>
554 <activeByDefault>false</activeByDefault>
557 <skip.integrationtest>false</skip.integrationtest>
563 <activeByDefault>false</activeByDefault>
566 <skip.coverage>false</skip.coverage>
572 <activeByDefault>false</activeByDefault>
575 <root.directory>${env.WORKSPACE}</root.directory>