Merge "Fix behaviour of listeners in the InventoryService"
[ovsdb.git] / commons / parent / pom.xml
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>
4
5   <parent>
6     <groupId>org.opendaylight.odlparent</groupId>
7     <artifactId>odlparent</artifactId>
8     <version>1.4.2-SNAPSHOT</version>
9     <relativePath></relativePath>
10   </parent>
11
12   <groupId>org.opendaylight.ovsdb</groupId>
13   <artifactId>commons</artifactId>
14   <version>1.2.0-SNAPSHOT</version>
15   <packaging>pom</packaging>
16   <prerequisites>
17     <maven>3.0</maven>
18   </prerequisites>
19
20   <properties>
21     <!-- ODL repository / plugin repository -->
22     <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
23     <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
24     <ovsdb.library.version>1.0.0-SNAPSHOT</ovsdb.library.version>
25     <ovsdb.plugin.version>1.0.0-SNAPSHOT</ovsdb.plugin.version>
26     <openstack.netvirt.version>1.0.0-SNAPSHOT</openstack.netvirt.version>
27     <openstack.netvirt.providers.version>1.0.0-SNAPSHOT</openstack.netvirt.providers.version>
28     <ovsdb.northbound.version>0.6.0-SNAPSHOT</ovsdb.northbound.version>
29     <schema.openvswitch.version>1.0.0-SNAPSHOT</schema.openvswitch.version>
30     <schema.hardwarevtep.version>1.0.0-SNAPSHOT</schema.hardwarevtep.version>
31     <skip.integrationtest>true</skip.integrationtest>
32     <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
33     <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
34     <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
35     <!-- Override -->
36     <jacoco.version>0.6.4.201312101107</jacoco.version>
37     <!-- ODL Dependency Versions -->
38     <containermanager.version>0.5.2-SNAPSHOT</containermanager.version>
39     <forwardingrulesmanager.version>0.6.0-SNAPSHOT</forwardingrulesmanager.version>
40     <networkconfig.neutron.version>0.4.2-SNAPSHOT</networkconfig.neutron.version>
41     <clustering.services.version>0.5.1-SNAPSHOT</clustering.services.version>
42     <sal.version>0.8.1-SNAPSHOT</sal.version>
43     <sal.connection.version>0.1.2-SNAPSHOT</sal.connection.version>
44     <sal.networkconfiguration.version>0.0.3-SNAPSHOT</sal.networkconfiguration.version>
45     <mdsal.version>1.1-SNAPSHOT</mdsal.version>
46     <switchmanager.api.version>0.7.1-SNAPSHOT</switchmanager.api.version>
47     <yangtools.version>0.6.2-SNAPSHOT</yangtools.version>
48     <northbound.commons.version>0.4.2-SNAPSHOT</northbound.commons.version>
49     <checkstyle.rules.version>0.0.3-SNAPSHOT</checkstyle.rules.version>
50     <!-- 3rd Pary Dependency Versions -->
51     <commons.collection.version>1.0</commons.collection.version>
52     <portlet.version>2.0</portlet.version>
53     <powermock.version>1.5.2</powermock.version>
54     <httpcomponents.version>4.2.1</httpcomponents.version>
55   </properties>
56
57   <dependencyManagement>
58     <dependencies>
59       <dependency>
60         <groupId>commons-collections</groupId>
61         <artifactId>commons-collections</artifactId>
62         <version>${commons.collection.version}</version>
63       </dependency>
64       <dependency>
65         <groupId>io.netty</groupId>
66         <artifactId>netty-all</artifactId>
67         <version>${netty.version}</version>
68       </dependency>
69       <dependency>
70         <groupId>javax.portlet</groupId>
71         <artifactId>portlet-api</artifactId>
72         <version>${portlet.version}</version>
73       </dependency>
74       <dependency>
75         <groupId>org.apache.httpcomponents</groupId>
76         <artifactId>httpcore-nio</artifactId>
77         <version>${httpcomponents.version}</version>
78       </dependency>
79       <dependency>
80         <groupId>org.powermock</groupId>
81         <artifactId>powermock-module-junit4</artifactId>
82         <version>${powermock.version}</version>
83       </dependency>
84       <dependency>
85         <groupId>org.powermock</groupId>
86         <artifactId>powermock-api-mockito</artifactId>
87         <version>${powermock.version}</version>
88       </dependency>
89       <dependency>
90         <groupId>org.opendaylight.controller</groupId>
91         <artifactId>clustering.services</artifactId>
92         <version>${clustering.services.version}</version>
93       </dependency>
94       <dependency>
95         <groupId>org.opendaylight.controller</groupId>
96         <artifactId>sal</artifactId>
97         <version>${sal.version}</version>
98       </dependency>
99       <dependency>
100         <groupId>org.opendaylight.controller</groupId>
101         <artifactId>sal.connection</artifactId>
102         <version>${sal.connection.version}</version>
103       </dependency>
104       <dependency>
105         <groupId>org.opendaylight.controller</groupId>
106         <artifactId>sal.networkconfiguration</artifactId>
107         <version>${sal.networkconfiguration.version}</version>
108       </dependency>
109       <dependency>
110         <groupId>org.opendaylight.controller</groupId>
111         <artifactId>containermanager</artifactId>
112         <version>${containermanager.version}</version>
113       </dependency>
114       <dependency>
115         <groupId>org.opendaylight.controller</groupId>
116         <artifactId>forwardingrulesmanager</artifactId>
117         <version>${forwardingrulesmanager.version}</version>
118       </dependency>
119       <dependency>
120         <groupId>org.opendaylight.controller</groupId>
121         <artifactId>networkconfig.neutron</artifactId>
122         <version>${networkconfig.neutron.version}</version>
123       </dependency>
124       <dependency>
125         <groupId>org.opendaylight.controller</groupId>
126         <artifactId>sal-binding-api</artifactId>
127         <version>${mdsal.version}</version>
128       </dependency>
129       <dependency>
130         <groupId>org.opendaylight.controller</groupId>
131         <artifactId>sal-common-util</artifactId>
132         <version>${mdsal.version}</version>
133       </dependency>
134       <dependency>
135         <groupId>org.opendaylight.controller</groupId>
136         <artifactId>switchmanager</artifactId>
137         <version>${switchmanager.api.version}</version>
138       </dependency>
139       <dependency>
140         <groupId>org.opendaylight.controller.model</groupId>
141         <artifactId>model-flow-base</artifactId>
142         <version>${mdsal.version}</version>
143       </dependency>
144       <dependency>
145         <groupId>org.opendaylight.controller.model</groupId>
146         <artifactId>model-flow-management</artifactId>
147         <version>${mdsal.version}</version>
148       </dependency>
149       <dependency>
150         <groupId>org.opendaylight.controller.model</groupId>
151         <artifactId>model-flow-service</artifactId>
152         <version>${mdsal.version}</version>
153       </dependency>
154       <dependency>
155         <groupId>org.opendaylight.controller.model</groupId>
156         <artifactId>model-inventory</artifactId>
157         <version>${mdsal.version}</version>
158       </dependency>
159       <dependency>
160         <groupId>org.opendaylight.yangtools</groupId>
161         <artifactId>yang-binding</artifactId>
162         <version>${yangtools.version}</version>
163       </dependency>
164       <dependency>
165         <groupId>org.opendaylight.controller</groupId>
166         <artifactId>commons.northbound</artifactId>
167         <version>${northbound.commons.version}</version>
168       </dependency>
169       <dependency>
170         <groupId>org.opendaylight.ovsdb</groupId>
171         <artifactId>library</artifactId>
172         <version>${ovsdb.library.version}</version>
173       </dependency>
174       <dependency>
175         <groupId>org.opendaylight.ovsdb</groupId>
176         <artifactId>plugin</artifactId>
177         <version>${ovsdb.plugin.version}</version>
178       </dependency>
179       <dependency>
180         <groupId>org.opendaylight.ovsdb</groupId>
181         <artifactId>openstack.net-virt</artifactId>
182         <version>${openstack.netvirt.version}</version>
183       </dependency>
184       <dependency>
185         <groupId>org.opendaylight.ovsdb</groupId>
186         <artifactId>openstack.net-virt-providers</artifactId>
187         <version>${openstack.netvirt.providers.version}</version>
188       </dependency>
189       <dependency>
190         <groupId>org.opendaylight.ovsdb</groupId>
191         <artifactId>northbound</artifactId>
192         <version>${ovsdb.northbound.version}</version>
193       </dependency>
194       <dependency>
195         <groupId>org.opendaylight.ovsdb</groupId>
196         <artifactId>schema.hardwarevtep</artifactId>
197         <version>${schema.hardwarevtep.version}</version>
198       </dependency>
199       <dependency>
200         <groupId>org.opendaylight.ovsdb</groupId>
201         <artifactId>schema.openvswitch</artifactId>
202         <version>${schema.openvswitch.version}</version>
203       </dependency>
204     </dependencies>
205   </dependencyManagement>
206
207   <build>
208     <pluginManagement>
209       <plugins>
210         <plugin>
211           <groupId>org.apache.maven.plugins</groupId>
212           <artifactId>maven-compiler-plugin</artifactId>
213           <configuration>
214             <source>${java.version.source}</source>
215             <target>${java.version.target}</target>
216             <testSource>${java.version.source}</testSource>
217             <testTarget>${java.version.target}</testTarget>
218           </configuration>
219         </plugin>
220         <!-- This configuration should move to ODL-Parent -->
221         <plugin>
222           <groupId>org.apache.maven.plugins</groupId>
223           <artifactId>maven-checkstyle-plugin</artifactId>
224           <version>${checkstyle.version}</version>
225           <configuration>
226             <failsOnError>true</failsOnError>
227             <configLocation>controller/checkstyle.xml</configLocation>
228             <consoleOutput>true</consoleOutput>
229             <includeTestSourceDirectory>true</includeTestSourceDirectory>
230             <sourceDirectory>${project.basedir}</sourceDirectory>
231             <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
232             <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,\/,**\/xtend-gen\/</excludes>
233           </configuration>
234           <dependencies>
235             <dependency>
236               <groupId>org.opendaylight.controller</groupId>
237               <artifactId>checkstyle</artifactId>
238               <version>0.0.3-SNAPSHOT</version>
239             </dependency>
240           </dependencies>
241           <executions>
242             <execution>
243               <id>check</id>
244               <goals>
245                 <goal>check</goal>
246               </goals>
247               <phase>process-sources</phase>
248             </execution>
249           </executions>
250         </plugin>
251         <plugin>
252           <groupId>org.jacoco</groupId>
253           <artifactId>jacoco-maven-plugin</artifactId>
254           <version>${jacoco.version}</version>
255           <executions>
256             <execution>
257               <id>pre-unit-test</id>
258               <goals>
259                 <goal>prepare-agent</goal>
260               </goals>
261               <configuration>
262                 <destFile>${sonar.jacoco.reportPath}</destFile>
263               </configuration>
264             </execution>
265             <execution>
266               <id>pre-integration-test</id>
267               <goals>
268                 <goal>prepare-agent-integration</goal>
269               </goals>
270               <configuration>
271                 <destFile>${sonar.jacoco.itReportPath}</destFile>
272                 <skip>${skip.integrationtest}</skip>
273               </configuration>
274             </execution>
275             <execution>
276               <id>post-unit-test</id>
277               <goals>
278                 <goal>report</goal>
279               </goals>
280               <configuration>
281                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
282               </configuration>
283             </execution>
284             <execution>
285               <id>post-integration-test</id>
286               <goals>
287                 <goal>report-integration</goal>
288               </goals>
289               <configuration>
290                 <dataFile>${sonar.jacoco.itReportPath}</dataFile>
291                 <skip>${skip.integrationtest}</skip>
292               </configuration>
293             </execution>
294           </executions>
295         </plugin>
296         <plugin>
297           <groupId>org.apache.maven.plugins</groupId>
298           <artifactId>maven-surefire-plugin</artifactId>
299           <version>${maven.surefire.version}</version>
300         </plugin>
301         <plugin>
302           <groupId>org.apache.maven.plugins</groupId>
303           <artifactId>maven-failsafe-plugin</artifactId>
304           <version>${failsafe.version}</version>
305           <executions>
306             <execution>
307               <id>failsafe-integration-tests</id>
308               <goals>
309                 <goal>integration-test</goal>
310                 <goal>verify</goal>
311               </goals>
312               <configuration>
313                 <skipTests>${skip.integrationtest}</skipTests>
314               </configuration>
315             </execution>
316           </executions>
317         </plugin>
318       </plugins>
319     </pluginManagement>
320   </build>
321   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
322   <scm>
323     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
324     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
325     <tag>HEAD</tag>
326     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
327   </scm>
328
329   <repositories>
330     <!-- Opendaylight public group -->
331     <repository>
332       <id>opendaylight-public</id>
333       <name>opendaylight-public</name>
334       <url>${nexusproxy}/groups/public/</url>
335       <snapshots>
336         <enabled>false</enabled>
337       </snapshots>
338       <releases>
339         <enabled>true</enabled>
340         <updatePolicy>never</updatePolicy>
341       </releases>
342     </repository>
343     <!-- OpenDayLight Released artifact -->
344     <repository>
345       <id>opendaylight-release</id>
346       <name>opendaylight-release</name>
347       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
348       <snapshots>
349         <enabled>false</enabled>
350       </snapshots>
351       <releases>
352         <enabled>true</enabled>
353       </releases>
354     </repository>
355     <!-- OpenDayLight Snapshot artifact -->
356     <repository>
357       <id>opendaylight-snapshot</id>
358       <name>opendaylight-snapshot</name>
359       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
360       <snapshots>
361         <enabled>true</enabled>
362       </snapshots>
363       <releases>
364         <enabled>false</enabled>
365       </releases>
366     </repository>
367   </repositories>
368
369   <pluginRepositories>
370     <!-- Opendaylight public group -->
371     <pluginRepository>
372       <id>opendaylight-public</id>
373       <name>opendaylight-public</name>
374       <url>${nexusproxy}/groups/public/</url>
375       <snapshots>
376         <enabled>false</enabled>
377       </snapshots>
378       <releases>
379         <enabled>true</enabled>
380         <updatePolicy>never</updatePolicy>
381       </releases>
382     </pluginRepository>
383     <!-- OpenDayLight Released artifact -->
384     <pluginRepository>
385       <id>opendaylight-release</id>
386       <name>opendaylight-release</name>
387       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.release/</url>
388       <snapshots>
389         <enabled>false</enabled>
390       </snapshots>
391       <releases>
392         <enabled>true</enabled>
393       </releases>
394     </pluginRepository>
395     <!-- OpenDayLight Snapshot artifact -->
396     <pluginRepository>
397       <id>opendaylight-snapshot</id>
398       <name>opendaylight-snapshot</name>
399       <url>http://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/</url>
400       <snapshots>
401         <enabled>true</enabled>
402       </snapshots>
403       <releases>
404         <enabled>false</enabled>
405       </releases>
406     </pluginRepository>
407   </pluginRepositories>
408
409   <profiles>
410     <profile>
411       <id>integrationtest</id>
412       <activation>
413         <activeByDefault>false</activeByDefault>
414       </activation>
415       <properties>
416         <skip.integrationtest>false</skip.integrationtest>
417       </properties>
418     </profile>
419   </profiles>
420
421 </project>