Add UT for SouthboundMapper and SouthboundProvider
[netvirt.git] / openstack / net-virt / 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   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.controller</groupId>
16     <artifactId>config-parent</artifactId>
17     <version>0.4.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>openstack.net-virt</artifactId>
23   <version>1.2.1-SNAPSHOT</version>
24   <packaging>bundle</packaging>
25   <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>
26   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <properties>
48     <networkconfig.neutron.version>0.6.0-SNAPSHOT</networkconfig.neutron.version>
49     <ovsdb.utils.config.version>1.2.1-SNAPSHOT</ovsdb.utils.config.version>
50     <ovsdb.utils.servicehelper.version>1.2.1-SNAPSHOT</ovsdb.utils.servicehelper.version>
51     <powermock.version>1.5.2</powermock.version>
52     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
53     <root.directory>${env.PWD}</root.directory>
54     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
55   </properties>
56
57   <dependencyManagement>
58     <dependencies>
59       <dependency>
60         <groupId>org.opendaylight.mdsal</groupId>
61         <artifactId>mdsal-artifacts</artifactId>
62         <version>2.0.0-SNAPSHOT</version>
63         <type>pom</type>
64         <scope>import</scope>
65       </dependency>
66       <dependency>
67         <groupId>org.opendaylight.mdsal.model</groupId>
68         <artifactId>mdsal-model-artifacts</artifactId>
69         <version>0.8.0-SNAPSHOT</version>
70         <type>pom</type>
71         <scope>import</scope>
72       </dependency>
73     </dependencies>
74   </dependencyManagement>
75
76   <dependencies>
77     <dependency>
78       <groupId>org.apache.commons</groupId>
79       <artifactId>commons-lang3</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.osgi</groupId>
83       <artifactId>org.osgi.core</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>com.google.guava</groupId>
87       <artifactId>guava</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.controller</groupId>
91       <artifactId>config-api</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>sal-binding-api</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>sal-binding-config</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal-common-api</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.neutron</groupId>
107       <artifactId>neutron-spi</artifactId>
108       <version>${networkconfig.neutron.version}</version>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.ovsdb</groupId>
112       <artifactId>southbound-api</artifactId>
113       <version>1.2.1-SNAPSHOT</version>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.ovsdb</groupId>
117       <artifactId>utils.config</artifactId>
118       <version>${ovsdb.utils.config.version}</version>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.ovsdb</groupId>
122       <artifactId>utils.servicehelper</artifactId>
123       <version>${ovsdb.utils.servicehelper.version}</version>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.yangtools</groupId>
127       <artifactId>yang-common</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.yangtools</groupId>
131       <artifactId>concepts</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.mdsal.model</groupId>
135       <artifactId>ietf-inet-types</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>org.opendaylight.mdsal.model</groupId>
139       <artifactId>ietf-topology</artifactId>
140     </dependency>
141     <dependency>
142       <groupId>org.opendaylight.mdsal.model</groupId>
143       <artifactId>opendaylight-l2-types</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.mdsal.model</groupId>
147       <artifactId>ietf-yang-types-20130715</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.mdsal.model</groupId>
151       <artifactId>ietf-yang-types</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.slf4j</groupId>
155       <artifactId>slf4j-api</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.mockito</groupId>
159       <artifactId>mockito-core</artifactId>
160       <scope>test</scope>
161     </dependency>
162     <dependency>
163       <groupId>org.powermock</groupId>
164       <artifactId>powermock-core</artifactId>
165       <version>${powermock.version}</version>
166       <scope>test</scope>
167     </dependency>
168     <dependency>
169       <groupId>org.powermock</groupId>
170       <artifactId>powermock-module-junit4</artifactId>
171       <version>${powermock.version}</version>
172       <scope>test</scope>
173     </dependency>
174     <dependency>
175       <groupId>org.powermock</groupId>
176       <artifactId>powermock-api-mockito</artifactId>
177       <version>${powermock.version}</version>
178       <scope>test</scope>
179     </dependency>
180     <dependency>
181       <groupId>org.powermock</groupId>
182       <artifactId>powermock-api-support</artifactId>
183       <version>${powermock.version}</version>
184       <scope>test</scope>
185     </dependency>
186     <dependency>
187       <groupId>org.powermock</groupId>
188       <artifactId>powermock-reflect</artifactId>
189       <version>${powermock.version}</version>
190       <scope>test</scope>
191     </dependency>
192     <dependency>
193       <groupId>junit</groupId>
194       <artifactId>junit</artifactId>
195       <scope>test</scope>
196     </dependency>
197     <dependency>
198       <groupId>org.codehaus.sonar-plugins.java</groupId>
199       <artifactId>sonar-jacoco-listeners</artifactId>
200       <version>${sonar-jacoco-listeners.version}</version>
201       <scope>test</scope>
202     </dependency>
203     <dependency>
204       <groupId>org.slf4j</groupId>
205       <artifactId>slf4j-simple</artifactId>
206       <scope>test</scope>
207     </dependency>
208   </dependencies>
209   <build>
210     <plugins>
211       <plugin>
212         <groupId>org.apache.felix</groupId>
213         <artifactId>maven-bundle-plugin</artifactId>
214         <extensions>true</extensions>
215         <configuration>
216           <instructions>
217             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
218             <Embed-Transitive>true</Embed-Transitive>
219             <Export-Package>
220               org.opendaylight.ovsdb.openstack.netvirt.api,
221               org.opendaylight.ovsdb.openstack.netvirt
222             </Export-Package>
223           </instructions>
224         </configuration>
225       </plugin>
226       <plugin>
227         <groupId>org.apache.maven.plugins</groupId>
228         <artifactId>maven-checkstyle-plugin</artifactId>
229       </plugin>
230       <plugin>
231         <groupId>org.apache.maven.plugins</groupId>
232         <artifactId>maven-failsafe-plugin</artifactId>
233         <configuration>
234           <!-- Specific to generate mapping between tests and covered code -->
235           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
236           <properties>
237             <property>
238               <name>listener</name>
239               <value>org.sonar.java.jacoco.JUnitListener</value>
240             </property>
241           </properties>
242           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
243           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
244         </configuration>
245       </plugin>
246       <plugin>
247         <groupId>org.apache.maven.plugins</groupId>
248         <artifactId>maven-surefire-plugin</artifactId>
249         <configuration>
250           <!-- Specific to generate mapping between tests and covered code -->
251           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
252           <properties>
253             <property>
254               <name>listener</name>
255               <value>org.sonar.java.jacoco.JUnitListener</value>
256             </property>
257           </properties>
258           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
259           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
260         </configuration>
261       </plugin>
262       <plugin>
263         <groupId>org.jacoco</groupId>
264         <artifactId>jacoco-maven-plugin</artifactId>
265         <executions>
266           <execution>
267             <id>prepare-ut-agent</id>
268             <goals>
269               <goal>prepare-agent</goal>
270             </goals>
271             <configuration>
272               <destFile>${sonar.jacoco.reportPath}</destFile>
273             </configuration>
274           </execution>
275           <execution>
276             <id>prepare-it-agent</id>
277             <goals>
278               <goal>prepare-agent-integration</goal>
279             </goals>
280             <configuration>
281               <append>true</append>
282               <destFile>${sonar.jacoco.itReportPath}</destFile>
283             </configuration>
284           </execution>
285           <execution>
286             <id>default-report</id>
287             <goals>
288               <goal>report</goal>
289             </goals>
290             <configuration>
291               <dataFile>${sonar.jacoco.reportPath}</dataFile>
292             </configuration>
293           </execution>
294           <execution>
295             <id>default-report-integration</id>
296             <goals>
297               <goal>report-integration</goal>
298             </goals>
299             <configuration>
300               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
301             </configuration>
302           </execution>
303         </executions>
304       </plugin>
305     </plugins>
306   </build>
307   </project>