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 <!-- Skip Coverage and IT by default -->
35 <skip.coverage>true</skip.coverage>
36 <skip.integrationtest>true</skip.integrationtest>
37 <!-- The directory where maven was executed -->
38 <root.directory>${env.PWD}</root.directory>
39 <!-- UT reports are per-module -->
40 <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
41 <!-- IT report is aggregated to enable PAX Exam coverage to be logged -->
42 <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
43 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
44 <!-- Override the JaCoCo version in ODL Parent -->
45 <jacoco.version>0.6.4.201312101107</jacoco.version>
46 <!-- ODL Dependency Versions -->
47 <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
48 <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
49 <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
50 <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
51 <sal.version>0.8.1-SNAPSHOT</sal.version>
52 <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
53 <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
54 <mdsal.version>1.1-SNAPSHOT</mdsal.version>
55 <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
56 <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
57 <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
58 <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
59 <!-- 3rd Pary Dependency Versions -->
60 <commons.collection.version>1.0</commons.collection.version>
61 <portlet.version>2.0</portlet.version>
62 <powermock.version>1.5.2</powermock.version>
63 <httpcomponents.version>4.2.1</httpcomponents.version>
66 <dependencyManagement>
69 <groupId>commons-collections</groupId>
70 <artifactId>commons-collections</artifactId>
71 <version>${commons.collection.version}</version>
74 <groupId>io.netty</groupId>
75 <artifactId>netty-all</artifactId>
76 <version>${netty.version}</version>
79 <groupId>javax.portlet</groupId>
80 <artifactId>portlet-api</artifactId>
81 <version>${portlet.version}</version>
84 <groupId>org.apache.httpcomponents</groupId>
85 <artifactId>httpcore-nio</artifactId>
86 <version>${httpcomponents.version}</version>
89 <groupId>org.powermock</groupId>
90 <artifactId>powermock-module-junit4</artifactId>
91 <version>${powermock.version}</version>
94 <groupId>org.powermock</groupId>
95 <artifactId>powermock-api-mockito</artifactId>
96 <version>${powermock.version}</version>
99 <groupId>org.opendaylight.controller</groupId>
100 <artifactId>clustering.services</artifactId>
101 <version>${clustering.services.version}</version>
104 <groupId>org.opendaylight.controller</groupId>
105 <artifactId>sal</artifactId>
106 <version>${sal.version}</version>
109 <groupId>org.opendaylight.controller</groupId>
110 <artifactId>sal.connection</artifactId>
111 <version>${sal.connection.version}</version>
114 <groupId>org.opendaylight.controller</groupId>
115 <artifactId>sal.networkconfiguration</artifactId>
116 <version>${sal.networkconfiguration.version}</version>
119 <groupId>org.opendaylight.controller</groupId>
120 <artifactId>containermanager</artifactId>
121 <version>${containermanager.version}</version>
124 <groupId>org.opendaylight.controller</groupId>
125 <artifactId>forwardingrulesmanager</artifactId>
126 <version>${forwardingrulesmanager.version}</version>
129 <groupId>org.opendaylight.controller</groupId>
130 <artifactId>networkconfig.neutron</artifactId>
131 <version>${networkconfig.neutron.version}</version>
134 <groupId>org.opendaylight.controller</groupId>
135 <artifactId>sal-binding-api</artifactId>
136 <version>${mdsal.version}</version>
139 <groupId>org.opendaylight.controller</groupId>
140 <artifactId>sal-common-util</artifactId>
141 <version>${mdsal.version}</version>
144 <groupId>org.opendaylight.controller</groupId>
145 <artifactId>switchmanager</artifactId>
146 <version>${switchmanager.api.version}</version>
149 <groupId>org.opendaylight.controller.model</groupId>
150 <artifactId>model-flow-base</artifactId>
151 <version>${mdsal.version}</version>
154 <groupId>org.opendaylight.controller.model</groupId>
155 <artifactId>model-flow-management</artifactId>
156 <version>${mdsal.version}</version>
159 <groupId>org.opendaylight.controller.model</groupId>
160 <artifactId>model-flow-service</artifactId>
161 <version>${mdsal.version}</version>
164 <groupId>org.opendaylight.controller.model</groupId>
165 <artifactId>model-inventory</artifactId>
166 <version>${mdsal.version}</version>
169 <groupId>org.opendaylight.yangtools</groupId>
170 <artifactId>yang-binding</artifactId>
171 <version>${yangtools.version}</version>
174 <groupId>org.opendaylight.controller</groupId>
175 <artifactId>commons.northbound</artifactId>
176 <version>${northbound.commons.version}</version>
179 <groupId>org.opendaylight.ovsdb</groupId>
180 <artifactId>library</artifactId>
181 <version>${ovsdb.library.version}</version>
184 <groupId>org.opendaylight.ovsdb</groupId>
185 <artifactId>plugin</artifactId>
186 <version>${ovsdb.plugin.version}</version>
189 <groupId>org.opendaylight.ovsdb</groupId>
190 <artifactId>openstack.net-virt</artifactId>
191 <version>${openstack.netvirt.version}</version>
194 <groupId>org.opendaylight.ovsdb</groupId>
195 <artifactId>openstack.net-virt-providers</artifactId>
196 <version>${openstack.netvirt.providers.version}</version>
199 <groupId>org.opendaylight.ovsdb</groupId>
200 <artifactId>northbound</artifactId>
201 <version>${ovsdb.northbound.version}</version>
204 <groupId>org.opendaylight.ovsdb</groupId>
205 <artifactId>schema.hardwarevtep</artifactId>
206 <version>${schema.hardwarevtep.version}</version>
209 <groupId>org.opendaylight.ovsdb</groupId>
210 <artifactId>schema.openvswitch</artifactId>
211 <version>${schema.openvswitch.version}</version>
214 </dependencyManagement>
220 <groupId>org.apache.maven.plugins</groupId>
221 <artifactId>maven-compiler-plugin</artifactId>
223 <source>${java.version.source}</source>
224 <target>${java.version.target}</target>
225 <testSource>${java.version.source}</testSource>
226 <testTarget>${java.version.target}</testTarget>
229 <!-- This configuration should move to ODL-Parent -->
231 <groupId>org.apache.maven.plugins</groupId>
232 <artifactId>maven-checkstyle-plugin</artifactId>
233 <version>${checkstyle.version}</version>
235 <failsOnError>true</failsOnError>
236 <configLocation>controller/checkstyle.xml</configLocation>
237 <consoleOutput>true</consoleOutput>
238 <includeTestSourceDirectory>true</includeTestSourceDirectory>
239 <sourceDirectory>${project.basedir}</sourceDirectory>
240 <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
241 <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/,**\/xtend-gen\/</excludes>
245 <groupId>org.opendaylight.controller</groupId>
246 <artifactId>checkstyle</artifactId>
247 <version>0.0.3-SNAPSHOT</version>
256 <phase>process-sources</phase>
261 <groupId>org.jacoco</groupId>
262 <artifactId>jacoco-maven-plugin</artifactId>
263 <version>${jacoco.version}</version>
265 <skip>${skip.coverage}</skip>
269 <id>pre-unit-test</id>
271 <goal>prepare-agent</goal>
274 <destFile>${sonar.jacoco.reportPath}</destFile>
278 <id>pre-integration-test</id>
280 <goal>prepare-agent-integration</goal>
283 <destFile>${sonar.jacoco.itReportPath}</destFile>
284 <append>true</append>
285 <skip>${skip.integrationtest}</skip>
289 <id>post-unit-test</id>
294 <dataFile>${sonar.jacoco.reportPath}</dataFile>
298 <id>post-integration-test</id>
300 <goal>report-integration</goal>
303 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
304 <skip>${skip.integrationtest}</skip>
310 <groupId>org.apache.maven.plugins</groupId>
311 <artifactId>maven-surefire-plugin</artifactId>
312 <version>${maven.surefire.version}</version>
315 <groupId>org.apache.maven.plugins</groupId>
316 <artifactId>maven-failsafe-plugin</artifactId>
317 <version>${failsafe.version}</version>
320 <id>failsafe-integration-tests</id>
322 <goal>integration-test</goal>
326 <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
327 <skipTests>${skip.integrationtest}</skipTests>
335 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
337 <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
338 <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
340 <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
344 <!-- Opendaylight public group -->
346 <id>opendaylight-public</id>
347 <name>opendaylight-public</name>
348 <url>${nexusproxy}/groups/public/</url>
350 <enabled>false</enabled>
353 <enabled>true</enabled>
354 <updatePolicy>never</updatePolicy>
357 <!-- OpenDayLight Released artifact -->
359 <id>opendaylight-release</id>
360 <name>opendaylight-release</name>
361 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
363 <enabled>false</enabled>
366 <enabled>true</enabled>
369 <!-- OpenDayLight Snapshot artifact -->
371 <id>opendaylight-snapshot</id>
372 <name>opendaylight-snapshot</name>
373 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
375 <enabled>true</enabled>
378 <enabled>false</enabled>
384 <!-- Opendaylight public group -->
386 <id>opendaylight-public</id>
387 <name>opendaylight-public</name>
388 <url>${nexusproxy}/groups/public/</url>
390 <enabled>false</enabled>
393 <enabled>true</enabled>
394 <updatePolicy>never</updatePolicy>
397 <!-- OpenDayLight Released artifact -->
399 <id>opendaylight-release</id>
400 <name>opendaylight-release</name>
401 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
403 <enabled>false</enabled>
406 <enabled>true</enabled>
409 <!-- OpenDayLight Snapshot artifact -->
411 <id>opendaylight-snapshot</id>
412 <name>opendaylight-snapshot</name>
413 <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
415 <enabled>true</enabled>
418 <enabled>false</enabled>
421 </pluginRepositories>
425 <id>integrationtest</id>
427 <activeByDefault>false</activeByDefault>
430 <skip.integrationtest>false</skip.integrationtest>
436 <activeByDefault>false</activeByDefault>
439 <skip.coverage>false</skip.coverage>
445 <activeByDefault>false</activeByDefault>
448 <root.directory>${env.WORKSPACE}</root.directory>