Merge "Bug 3563 - Fix/clean methods that determine the OpenFlow Controller ip address"
[ovsdb.git] / southbound / southbound-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>config-parent</artifactId>
14     <version>0.4.0-SNAPSHOT</version>
15     <relativePath/>
16   </parent>
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.ovsdb</groupId>
19   <artifactId>southbound-it</artifactId>
20   <version>1.2.0-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     <skip.integrationtest>true</skip.integrationtest>
45     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
46     <root.directory>${env.PWD}</root.directory>
47     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
48   </properties>
49   <dependencyManagement>
50     <dependencies>
51       <dependency>
52         <groupId>${project.groupId}</groupId>
53         <artifactId>southbound-artifacts</artifactId>
54         <version>${project.version}</version>
55         <type>pom</type>
56         <scope>import</scope>
57       </dependency>
58       <dependency>
59         <groupId>org.opendaylight.controller</groupId>
60         <artifactId>config-artifacts</artifactId>
61         <version>0.4.0-SNAPSHOT</version>
62         <type>pom</type>
63         <scope>import</scope>
64       </dependency>
65       <dependency>
66         <groupId>org.opendaylight.controller</groupId>
67         <artifactId>mdsal-artifacts</artifactId>
68         <version>${mdsal.version}</version>
69         <type>pom</type>
70         <scope>import</scope>
71       </dependency>
72     </dependencies>
73   </dependencyManagement>
74   <dependencies>
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal-binding-api</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>org.opendaylight.controller</groupId>
81       <artifactId>sal-common-api</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>${project.groupId}</groupId>
85       <artifactId>southbound-features</artifactId>
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.slf4j</groupId>
138       <artifactId>slf4j-simple</artifactId>
139       <scope>test</scope>
140     </dependency>
141     <dependency>
142       <groupId>org.codehaus.sonar-plugins.java</groupId>
143       <artifactId>sonar-jacoco-listeners</artifactId>
144       <version>${sonar-jacoco-listeners.version}</version>
145       <scope>test</scope>
146     </dependency>
147   </dependencies>
148   <build>
149     <plugins>
150       <plugin>
151         <groupId>org.apache.maven.plugins</groupId>
152         <artifactId>maven-failsafe-plugin</artifactId>
153         <configuration>
154           <!-- Specific to generate mapping between tests and covered code -->
155           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
156           <properties>
157             <property>
158               <name>listener</name>
159               <value>org.sonar.java.jacoco.JUnitListener</value>
160             </property>
161           </properties>
162           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
163           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
164         </configuration>
165         <executions>
166           <execution>
167             <goals>
168               <goal>integration-test</goal>
169               <goal>verify</goal>
170             </goals>
171             <configuration>
172               <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
173               <skipTests>${skip.integrationtest}</skipTests>
174             </configuration>
175           </execution>
176         </executions>
177       </plugin>
178       <plugin>
179         <groupId>org.apache.maven.plugins</groupId>
180         <artifactId>maven-surefire-plugin</artifactId>
181         <configuration>
182           <!-- Specific to generate mapping between tests and covered code -->
183           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
184           <properties>
185             <property>
186               <name>listener</name>
187               <value>org.sonar.java.jacoco.JUnitListener</value>
188             </property>
189           </properties>
190           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
191           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
192         </configuration>
193       </plugin>
194       <!-- Needed if you use versionAsInProject() -->
195       <plugin>
196         <groupId>org.apache.servicemix.tooling</groupId>
197         <artifactId>depends-maven-plugin</artifactId>
198         <version>1.2</version>
199         <executions>
200           <execution>
201             <id>generate-depends-file</id>
202             <goals>
203               <goal>generate-depends-file</goal>
204             </goals>
205           </execution>
206         </executions>
207       </plugin>
208       <plugin>
209         <groupId>org.apache.maven.plugins</groupId>
210         <artifactId>maven-checkstyle-plugin</artifactId>
211         <configuration>
212           <configLocation>
213             ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
214           </configLocation>
215           <includeTestSourceDirectory>true</includeTestSourceDirectory>
216           <failsOnError>true</failsOnError>
217           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
218           <excludes>**/yang/</excludes>
219         </configuration>
220       </plugin>
221       <plugin>
222         <groupId>org.jacoco</groupId>
223         <artifactId>jacoco-maven-plugin</artifactId>
224         <executions>
225           <execution>
226             <id>prepare-ut-agent</id>
227             <goals>
228               <goal>prepare-agent</goal>
229             </goals>
230             <configuration>
231               <destFile>${sonar.jacoco.reportPath}</destFile>
232             </configuration>
233           </execution>
234           <execution>
235             <id>prepare-it-agent</id>
236             <goals>
237               <goal>prepare-agent-integration</goal>
238             </goals>
239             <configuration>
240               <destFile>${sonar.jacoco.itReportPath}</destFile>
241             </configuration>
242           </execution>
243           <execution>
244             <id>default-report</id>
245             <goals>
246               <goal>report</goal>
247             </goals>
248             <configuration>
249               <dataFile>${sonar.jacoco.reportPath}</dataFile>
250             </configuration>
251           </execution>
252           <execution>
253             <id>default-report-integration</id>
254             <goals>
255               <goal>report-integration</goal>
256             </goals>
257             <configuration>
258               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
259             </configuration>
260           </execution>
261         </executions>
262       </plugin>
263     </plugins>
264   </build>
265   <profiles>
266     <profile>
267       <id>integrationtest</id>
268       <activation>
269         <activeByDefault>false</activeByDefault>
270       </activation>
271       <properties>
272         <skip.integrationtest>false</skip.integrationtest>
273       </properties>
274     </profile>
275   </profiles>
276 </project>