Add UT for SouthboundMapper and SouthboundProvider
[netvirt.git] / openstack / net-virt-it / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: --><!--
3 Copyright (c) 2014 Cisco Systems, 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" 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">
10
11   <parent>
12     <groupId>org.opendaylight.controller</groupId>
13     <artifactId>mdsal-it-parent</artifactId>
14     <version>1.3.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.ovsdb</groupId>
19   <artifactId>openstack.net-virt-it</artifactId>
20   <version>1.2.1-SNAPSHOT</version>
21   <packaging>jar</packaging>
22   <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>
23   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
24   <licenses>
25     <license>
26       <name>Eclipse Public License v1.0</name>
27       <url>http://www.eclipse.org/legal/epl-v10.html</url>
28     </license>
29   </licenses>
30   <developers>
31     <developer>
32       <name>Sam Hague</name>
33       <email>shague@gmail.com</email>
34       <url>https://github.com/shague</url>
35     </developer>
36   </developers>
37   <scm>
38     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
39     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
40     <tag>HEAD</tag>
41     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
42   </scm>
43   <properties>
44     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
45     <root.directory>${env.PWD}</root.directory>
46     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
47   </properties>
48   <dependencyManagement>
49     <dependencies>
50       <dependency>
51         <groupId>${project.groupId}</groupId>
52         <artifactId>ovsdb-artifacts</artifactId>
53         <version>${project.version}</version>
54         <type>pom</type>
55         <scope>import</scope>
56       </dependency>
57       <dependency>
58         <groupId>org.opendaylight.controller</groupId>
59         <artifactId>config-artifacts</artifactId>
60         <version>0.4.0-SNAPSHOT</version>
61         <type>pom</type>
62         <scope>import</scope>
63       </dependency>
64       <dependency>
65         <groupId>org.opendaylight.controller</groupId>
66         <artifactId>mdsal-artifacts</artifactId>
67         <version>${mdsal.version}</version>
68         <type>pom</type>
69         <scope>import</scope>
70       </dependency>
71     </dependencies>
72   </dependencyManagement>
73   <dependencies>
74     <dependency>
75       <groupId>org.opendaylight.controller</groupId>
76       <artifactId>sal-binding-api</artifactId>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.controller</groupId>
80       <artifactId>sal-common-api</artifactId>
81     </dependency>
82     <dependency>
83       <groupId>${project.groupId}</groupId>
84       <artifactId>features-ovsdb</artifactId>
85       <version>1.2.1-SNAPSHOT</version>
86       <classifier>features</classifier>
87       <type>xml</type>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.controller</groupId>
91       <artifactId>config-util</artifactId>
92     </dependency>
93     <!-- Dependencies for pax exam karaf container -->
94     <dependency>
95       <groupId>org.ops4j.pax.exam</groupId>
96       <artifactId>pax-exam-container-karaf</artifactId>
97       <scope>compile</scope>
98     </dependency>
99     <dependency>
100       <groupId>org.ops4j.pax.exam</groupId>
101       <artifactId>pax-exam-junit4</artifactId>
102       <scope>compile</scope>
103     </dependency>
104     <dependency>
105       <groupId>org.ops4j.pax.exam</groupId>
106       <artifactId>pax-exam</artifactId>
107       <scope>compile</scope>
108     </dependency>
109     <dependency>
110       <groupId>org.ops4j.pax.url</groupId>
111       <artifactId>pax-url-aether</artifactId>
112       <scope>compile</scope>
113     </dependency>
114     <dependency>
115       <groupId>javax.inject</groupId>
116       <artifactId>javax.inject</artifactId>
117       <version>1</version>
118       <scope>compile</scope>
119     </dependency>
120     <dependency>
121       <groupId>org.apache.karaf.features</groupId>
122       <artifactId>org.apache.karaf.features.core</artifactId>
123       <version>${karaf.version}</version>
124       <scope>compile</scope>
125     </dependency>
126     <dependency>
127       <groupId>org.osgi</groupId>
128       <artifactId>org.osgi.core</artifactId>
129       <scope>compile</scope>
130     </dependency>
131     <dependency>
132       <groupId>junit</groupId>
133       <artifactId>junit</artifactId>
134       <scope>compile</scope>
135     </dependency>
136     <dependency>
137       <groupId>org.codehaus.sonar-plugins.java</groupId>
138       <artifactId>sonar-jacoco-listeners</artifactId>
139       <version>${sonar-jacoco-listeners.version}</version>
140       <scope>test</scope>
141     </dependency>
142     <!-- AbstractConfigTestBase::getKarafDistro() needs this to find its version -->
143     <dependency>
144       <groupId>org.opendaylight.ovsdb</groupId>
145       <artifactId>karaf</artifactId>
146       <version>${project.version}</version>
147       <scope>test</scope>
148     </dependency>
149   </dependencies>
150   <build>
151     <plugins>
152       <plugin>
153         <groupId>org.apache.maven.plugins</groupId>
154         <artifactId>maven-failsafe-plugin</artifactId>
155         <configuration>
156           <!-- Specific to generate mapping between tests and covered code -->
157           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
158           <properties>
159             <property>
160               <name>listener</name>
161               <value>org.sonar.java.jacoco.JUnitListener</value>
162             </property>
163           </properties>
164           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
165           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
166         </configuration>
167         <executions>
168           <execution>
169             <goals>
170               <goal>integration-test</goal>
171               <goal>verify</goal>
172             </goals>
173             <configuration>
174               <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
175               <skipTests>${skip.integrationtest}</skipTests>
176             </configuration>
177           </execution>
178         </executions>
179       </plugin>
180       <!-- Needed if you use versionAsInProject() -->
181       <plugin>
182         <groupId>org.apache.servicemix.tooling</groupId>
183         <artifactId>depends-maven-plugin</artifactId>
184         <version>1.2</version>
185         <executions>
186           <execution>
187             <id>generate-depends-file</id>
188             <goals>
189               <goal>generate-depends-file</goal>
190             </goals>
191           </execution>
192         </executions>
193       </plugin>
194       <!--<plugin>
195         <groupId>org.apache.maven.plugins</groupId>
196         <artifactId>maven-checkstyle-plugin</artifactId>
197         <configuration>
198           <configLocation>
199             ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
200           </configLocation>
201           <includeTestSourceDirectory>true</includeTestSourceDirectory>
202           <failsOnError>true</failsOnError>
203           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
204           <excludes>**/yang/</excludes>
205         </configuration>
206       </plugin>-->
207       <plugin>
208         <groupId>org.jacoco</groupId>
209         <artifactId>jacoco-maven-plugin</artifactId>
210         <executions>
211           <execution>
212             <id>prepare-ut-agent</id>
213             <goals>
214               <goal>prepare-agent</goal>
215             </goals>
216             <configuration>
217               <destFile>${sonar.jacoco.reportPath}</destFile>
218             </configuration>
219           </execution>
220           <execution>
221             <id>prepare-it-agent</id>
222             <goals>
223               <goal>prepare-agent-integration</goal>
224             </goals>
225             <configuration>
226               <append>true</append>
227               <destFile>${sonar.jacoco.itReportPath}</destFile>
228             </configuration>
229           </execution>
230           <execution>
231             <id>default-report</id>
232             <goals>
233               <goal>report</goal>
234             </goals>
235             <configuration>
236               <dataFile>${sonar.jacoco.reportPath}</dataFile>
237             </configuration>
238           </execution>
239           <execution>
240             <id>default-report-integration</id>
241             <goals>
242               <goal>report-integration</goal>
243             </goals>
244             <configuration>
245               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
246             </configuration>
247           </execution>
248         </executions>
249       </plugin>
250       <plugin>
251         <groupId>org.apache.maven.plugins</groupId>
252         <artifactId>maven-surefire-plugin</artifactId>
253         <configuration>
254           <!-- Specific to generate mapping between tests and covered code -->
255           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
256           <properties>
257             <property>
258               <name>listener</name>
259               <value>org.sonar.java.jacoco.JUnitListener</value>
260             </property>
261           </properties>
262           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
263           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
264         </configuration>
265       </plugin>
266     </plugins>
267   </build>
268   <profiles>
269     <profile>
270       <id>default</id>
271       <activation>
272         <activeByDefault>true</activeByDefault>
273       </activation>
274       <properties>
275         <skipITs>true</skipITs>
276       </properties>
277     </profile>
278     <profile>
279       <id>integrationtest</id>
280       <activation>
281         <activeByDefault>false</activeByDefault>
282       </activation>
283       <properties>
284         <skipITs>false</skipITs>
285       </properties>
286     </profile>
287   </profiles>
288 </project>