Add UT for SouthboundMapper and SouthboundProvider
[netvirt.git] / openstack / net-virt-providers / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <parent>
13     <groupId>org.opendaylight.controller</groupId>
14     <artifactId>config-parent</artifactId>
15     <version>0.4.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18   <modelVersion>4.0.0</modelVersion>
19
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>openstack.net-virt-providers</artifactId>
22   <version>1.2.1-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
25   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
26   <licenses>
27     <license>
28       <name>Eclipse Public License v1.0</name>
29       <url>http://www.eclipse.org/legal/epl-v10.html</url>
30     </license>
31   </licenses>
32   <developers>
33     <developer>
34       <name>Sam Hague</name>
35       <email>shague@gmail.com</email>
36       <url>https://github.com/shague</url>
37     </developer>
38   </developers>
39   <scm>
40     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
41     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
42     <tag>HEAD</tag>
43     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
44   </scm>
45
46   <properties>
47     <networkconfig.neutron.version>0.6.0-SNAPSHOT</networkconfig.neutron.version>
48     <openflowjava-nicira.version>0.2.0-SNAPSHOT</openflowjava-nicira.version>
49     <openflowplugin.version>0.2.0-SNAPSHOT</openflowplugin.version>
50     <ovsdb.utils.config.version>1.2.1-SNAPSHOT</ovsdb.utils.config.version>
51     <ovsdb.utils.mdsal.openflow.version>1.2.1-SNAPSHOT</ovsdb.utils.mdsal.openflow.version>
52     <ovsdb.utils.servicehelper.version>1.2.1-SNAPSHOT</ovsdb.utils.servicehelper.version>
53     <powermock.version>1.5.2</powermock.version>
54     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
55     <liblldp.version>0.10.0-SNAPSHOT</liblldp.version>
56     <root.directory>${env.PWD}</root.directory>
57     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
58   </properties>
59
60   <dependencyManagement>
61     <dependencies>
62       <dependency>
63         <groupId>org.opendaylight.mdsal</groupId>
64         <artifactId>mdsal-artifacts</artifactId>
65         <version>2.0.0-SNAPSHOT</version>
66         <type>pom</type>
67         <scope>import</scope>
68       </dependency>
69       <dependency>
70         <groupId>org.opendaylight.mdsal.model</groupId>
71         <artifactId>mdsal-model-artifacts</artifactId>
72         <version>0.8.0-SNAPSHOT</version>
73         <type>pom</type>
74         <scope>import</scope>
75       </dependency>
76     </dependencies>
77   </dependencyManagement>
78
79   <dependencies>
80     <dependency>
81       <groupId>org.osgi</groupId>
82       <artifactId>org.osgi.core</artifactId>
83     </dependency>
84     <dependency>
85       <groupId>com.google.guava</groupId>
86       <artifactId>guava</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.controller</groupId>
90       <artifactId>config-api</artifactId>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>sal-binding-api</artifactId>
95     </dependency>
96     <dependency>
97       <groupId>org.opendaylight.controller</groupId>
98       <artifactId>sal-binding-config</artifactId>
99     </dependency>
100     <dependency>
101       <groupId>org.opendaylight.controller</groupId>
102       <artifactId>sal-common-api</artifactId>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.controller.model</groupId>
106       <artifactId>model-inventory</artifactId>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.neutron</groupId>
110       <artifactId>neutron-spi</artifactId>
111       <version>${networkconfig.neutron.version}</version>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.openflowplugin.model</groupId>
115       <artifactId>model-flow-base</artifactId>
116       <version>${openflowplugin.version}</version>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.openflowplugin.model</groupId>
120       <artifactId>model-flow-service</artifactId>
121       <version>${openflowplugin.version}</version>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.openflowplugin</groupId>
125       <artifactId>openflowjava-extension-nicira</artifactId>
126       <version>${openflowjava-nicira.version}</version>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.openflowplugin</groupId>
130       <artifactId>openflowplugin-extension-nicira</artifactId>
131       <version>${openflowplugin.version}</version>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.ovsdb</groupId>
135       <artifactId>openstack.net-virt</artifactId>
136       <version>${project.version}</version>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.ovsdb</groupId>
140       <artifactId>utils.mdsal-openflow</artifactId>
141       <version>${ovsdb.utils.mdsal.openflow.version}</version>
142     </dependency>
143     <dependency>
144       <groupId>org.opendaylight.mdsal</groupId>
145       <artifactId>yang-binding</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.opendaylight.mdsal.model</groupId>
149       <artifactId>ietf-inet-types</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>org.opendaylight.mdsal.model</groupId>
153       <artifactId>ietf-yang-types</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>org.opendaylight.mdsal.model</groupId>
157       <artifactId>opendaylight-l2-types</artifactId>
158     </dependency>
159     <dependency>
160       <groupId>org.opendaylight.ovsdb</groupId>
161       <artifactId>utils.servicehelper</artifactId>
162       <version>${project.version}</version>
163     </dependency>
164     <dependency>
165       <groupId>org.opendaylight.yangtools</groupId>
166       <artifactId>concepts</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>org.opendaylight.mdsal.model</groupId>
170       <artifactId>ietf-topology</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.opendaylight.ovsdb</groupId>
174       <artifactId>southbound-api</artifactId>
175       <version>${project.version}</version>
176     </dependency>
177     <dependency>
178       <groupId>org.opendaylight.openflowplugin</groupId>
179       <artifactId>openflowplugin-api</artifactId>
180       <version>${openflowplugin.version}</version>
181     </dependency>
182     <dependency>
183       <groupId>org.slf4j</groupId>
184       <artifactId>slf4j-api</artifactId>
185     </dependency>
186     <dependency>
187        <groupId>org.opendaylight.controller</groupId>
188        <artifactId>liblldp</artifactId>
189        <version>${liblldp.version}</version>
190      </dependency>
191     <dependency>
192       <groupId>com.google.code.findbugs</groupId>
193       <artifactId>jsr305</artifactId>
194     </dependency>
195     <dependency>
196       <groupId>io.netty</groupId>
197       <artifactId>netty-buffer</artifactId>
198       <!-- Should be in a parent POM -->
199       <version>4.0.26.Final</version>
200     </dependency>
201     <dependency>
202       <groupId>org.apache.commons</groupId>
203       <artifactId>commons-lang3</artifactId>
204     </dependency>
205     <dependency>
206       <groupId>org.mockito</groupId>
207       <artifactId>mockito-core</artifactId>
208       <scope>test</scope>
209     </dependency>
210     <dependency>
211       <groupId>org.powermock</groupId>
212       <artifactId>powermock-core</artifactId>
213       <version>${powermock.version}</version>
214       <scope>test</scope>
215     </dependency>
216     <dependency>
217       <groupId>org.powermock</groupId>
218       <artifactId>powermock-module-junit4</artifactId>
219       <version>${powermock.version}</version>
220       <scope>test</scope>
221     </dependency>
222     <dependency>
223       <groupId>org.powermock</groupId>
224       <artifactId>powermock-api-mockito</artifactId>
225       <version>${powermock.version}</version>
226       <scope>test</scope>
227     </dependency>
228     <dependency>
229       <groupId>org.powermock</groupId>
230       <artifactId>powermock-api-support</artifactId>
231       <version>${powermock.version}</version>
232       <scope>test</scope>
233     </dependency>
234     <dependency>
235       <groupId>org.powermock</groupId>
236       <artifactId>powermock-reflect</artifactId>
237       <version>${powermock.version}</version>
238       <scope>test</scope>
239     </dependency>
240     <dependency>
241       <groupId>junit</groupId>
242       <artifactId>junit</artifactId>
243       <scope>test</scope>
244     </dependency>
245     <dependency>
246       <groupId>org.codehaus.sonar-plugins.java</groupId>
247       <artifactId>sonar-jacoco-listeners</artifactId>
248       <version>${sonar-jacoco-listeners.version}</version>
249       <scope>test</scope>
250     </dependency>
251     <dependency>
252       <groupId>org.slf4j</groupId>
253       <artifactId>slf4j-simple</artifactId>
254       <scope>test</scope>
255     </dependency>
256   </dependencies>
257
258   <build>
259     <plugins>
260       <plugin>
261         <groupId>org.apache.felix</groupId>
262         <artifactId>maven-bundle-plugin</artifactId>
263         <extensions>true</extensions>
264         <configuration>
265           <instructions>
266             <Embed-Dependency>utils.config,utils.mdsal-openflow;type=!pom;inline=false</Embed-Dependency>
267             <Embed-Transitive>true</Embed-Transitive>
268           </instructions>
269         </configuration>
270       </plugin>
271       <plugin>
272         <groupId>org.apache.maven.plugins</groupId>
273         <artifactId>maven-checkstyle-plugin</artifactId>
274       </plugin>
275       <plugin>
276         <groupId>org.apache.maven.plugins</groupId>
277         <artifactId>maven-failsafe-plugin</artifactId>
278         <configuration>
279           <!-- Specific to generate mapping between tests and covered code -->
280           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
281           <properties>
282           <property>
283           <name>listener</name>
284           <value>org.sonar.java.jacoco.JUnitListener</value>
285           </property>
286           </properties>
287           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
288           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
289         </configuration>
290       </plugin>
291       <plugin>
292         <groupId>org.apache.maven.plugins</groupId>
293         <artifactId>maven-surefire-plugin</artifactId>
294         <configuration>
295           <!-- Specific to generate mapping between tests and covered code -->
296           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
297           <properties>
298             <property>
299               <name>listener</name>
300               <value>org.sonar.java.jacoco.JUnitListener</value>
301             </property>
302           </properties>
303           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
304           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
305         </configuration>
306       </plugin>
307       <plugin>
308         <groupId>org.jacoco</groupId>
309         <artifactId>jacoco-maven-plugin</artifactId>
310         <executions>
311           <execution>
312             <id>prepare-ut-agent</id>
313             <goals>
314               <goal>prepare-agent</goal>
315             </goals>
316             <configuration>
317               <destFile>${sonar.jacoco.reportPath}</destFile>
318             </configuration>
319           </execution>
320           <execution>
321             <id>prepare-it-agent</id>
322             <goals>
323               <goal>prepare-agent-integration</goal>
324             </goals>
325             <configuration>
326               <append>true</append>
327               <destFile>${sonar.jacoco.itReportPath}</destFile>
328             </configuration>
329           </execution>
330           <execution>
331             <id>default-report</id>
332             <goals>
333               <goal>report</goal>
334             </goals>
335             <configuration>
336               <dataFile>${sonar.jacoco.reportPath}</dataFile>
337             </configuration>
338           </execution>
339           <execution>
340             <id>default-report-integration</id>
341             <goals>
342               <goal>report-integration</goal>
343             </goals>
344             <configuration>
345               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
346             </configuration>
347           </execution>
348         </executions>
349       </plugin>
350     </plugins>
351   </build>
352 </project>