Merge "Switch from Felix to config-driven dependencies"
[ovsdb.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     <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>ovsdb-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>features-ovsdb</artifactId>
86       <version>1.2.1-SNAPSHOT</version>
87       <classifier>features</classifier>
88       <type>xml</type>
89     </dependency>
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>config-util</artifactId>
93     </dependency>
94     <!-- Dependencies for pax exam karaf container -->
95     <dependency>
96       <groupId>org.ops4j.pax.exam</groupId>
97       <artifactId>pax-exam-container-karaf</artifactId>
98       <scope>compile</scope>
99     </dependency>
100     <dependency>
101       <groupId>org.ops4j.pax.exam</groupId>
102       <artifactId>pax-exam-junit4</artifactId>
103       <scope>compile</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.ops4j.pax.exam</groupId>
107       <artifactId>pax-exam</artifactId>
108       <scope>compile</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.ops4j.pax.url</groupId>
112       <artifactId>pax-url-aether</artifactId>
113       <scope>compile</scope>
114     </dependency>
115     <dependency>
116       <groupId>javax.inject</groupId>
117       <artifactId>javax.inject</artifactId>
118       <version>1</version>
119       <scope>compile</scope>
120     </dependency>
121     <dependency>
122       <groupId>org.apache.karaf.features</groupId>
123       <artifactId>org.apache.karaf.features.core</artifactId>
124       <version>${karaf.version}</version>
125       <scope>compile</scope>
126     </dependency>
127     <dependency>
128       <groupId>org.osgi</groupId>
129       <artifactId>org.osgi.core</artifactId>
130       <scope>compile</scope>
131     </dependency>
132     <dependency>
133       <groupId>junit</groupId>
134       <artifactId>junit</artifactId>
135       <scope>compile</scope>
136     </dependency>
137     <dependency>
138       <groupId>org.codehaus.sonar-plugins.java</groupId>
139       <artifactId>sonar-jacoco-listeners</artifactId>
140       <version>${sonar-jacoco-listeners.version}</version>
141       <scope>test</scope>
142     </dependency>
143     <!-- AbstractConfigTestBase::getKarafDistro() needs this to find its version -->
144     <dependency>
145       <groupId>org.opendaylight.ovsdb</groupId>
146       <artifactId>karaf</artifactId>
147       <version>${project.version}</version>
148       <scope>test</scope>
149     </dependency>
150   </dependencies>
151   <build>
152     <plugins>
153       <plugin>
154         <groupId>org.apache.maven.plugins</groupId>
155         <artifactId>maven-failsafe-plugin</artifactId>
156         <configuration>
157           <!-- Specific to generate mapping between tests and covered code -->
158           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
159           <properties>
160             <property>
161               <name>listener</name>
162               <value>org.sonar.java.jacoco.JUnitListener</value>
163             </property>
164           </properties>
165           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
166           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
167         </configuration>
168         <executions>
169           <execution>
170             <goals>
171               <goal>integration-test</goal>
172               <goal>verify</goal>
173             </goals>
174             <configuration>
175               <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
176               <skipTests>${skip.integrationtest}</skipTests>
177             </configuration>
178           </execution>
179         </executions>
180       </plugin>
181       <!-- Needed if you use versionAsInProject() -->
182       <plugin>
183         <groupId>org.apache.servicemix.tooling</groupId>
184         <artifactId>depends-maven-plugin</artifactId>
185         <version>1.2</version>
186         <executions>
187           <execution>
188             <id>generate-depends-file</id>
189             <goals>
190               <goal>generate-depends-file</goal>
191             </goals>
192           </execution>
193         </executions>
194       </plugin>
195       <!--<plugin>
196         <groupId>org.apache.maven.plugins</groupId>
197         <artifactId>maven-checkstyle-plugin</artifactId>
198         <configuration>
199           <configLocation>
200             ${project.basedir}/../../commons/parent/src/main/resources/ovsdb_checks.xml
201           </configLocation>
202           <includeTestSourceDirectory>true</includeTestSourceDirectory>
203           <failsOnError>true</failsOnError>
204           <includes>**/*.java,**/*.xml,**/*.ini,**/*.sh,**/*.bat</includes>
205           <excludes>**/yang/</excludes>
206         </configuration>
207       </plugin>-->
208       <plugin>
209         <groupId>org.jacoco</groupId>
210         <artifactId>jacoco-maven-plugin</artifactId>
211         <executions>
212           <execution>
213             <id>prepare-ut-agent</id>
214             <goals>
215               <goal>prepare-agent</goal>
216             </goals>
217             <configuration>
218               <destFile>${sonar.jacoco.reportPath}</destFile>
219             </configuration>
220           </execution>
221           <execution>
222             <id>prepare-it-agent</id>
223             <goals>
224               <goal>prepare-agent-integration</goal>
225             </goals>
226             <configuration>
227               <append>true</append>
228               <destFile>${sonar.jacoco.itReportPath}</destFile>
229             </configuration>
230           </execution>
231           <execution>
232             <id>default-report</id>
233             <goals>
234               <goal>report</goal>
235             </goals>
236             <configuration>
237               <dataFile>${sonar.jacoco.reportPath}</dataFile>
238             </configuration>
239           </execution>
240           <execution>
241             <id>default-report-integration</id>
242             <goals>
243               <goal>report-integration</goal>
244             </goals>
245             <configuration>
246               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
247             </configuration>
248           </execution>
249         </executions>
250       </plugin>
251       <plugin>
252         <groupId>org.apache.maven.plugins</groupId>
253         <artifactId>maven-surefire-plugin</artifactId>
254         <configuration>
255           <!-- Specific to generate mapping between tests and covered code -->
256           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
257           <properties>
258             <property>
259               <name>listener</name>
260               <value>org.sonar.java.jacoco.JUnitListener</value>
261             </property>
262           </properties>
263           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
264           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
265         </configuration>
266       </plugin>
267     </plugins>
268   </build>
269   <profiles>
270     <profile>
271       <id>integrationtest</id>
272       <activation>
273         <activeByDefault>false</activeByDefault>
274       </activation>
275       <properties>
276         <skip.integrationtest>false</skip.integrationtest>
277       </properties>
278     </profile>
279   </profiles>
280 </project>