Add per test information
[ovsdb.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.0-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.0-SNAPSHOT</ovsdb.utils.config.version>
51     <ovsdb.utils.mdsal.openflow.version>1.2.0-SNAPSHOT</ovsdb.utils.mdsal.openflow.version>
52     <ovsdb.utils.servicehelper.version>1.2.0-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     <root.directory>${env.PWD}</root.directory>
56     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
57   </properties>
58   <dependencies>
59     <dependency>
60       <groupId>org.apache.felix</groupId>
61       <artifactId>org.apache.felix.dependencymanager</artifactId>
62     </dependency>
63     <dependency>
64       <groupId>org.osgi</groupId>
65       <artifactId>org.osgi.core</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>com.google.guava</groupId>
69       <artifactId>guava</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.controller</groupId>
73       <artifactId>config-api</artifactId>
74     </dependency>
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-binding-config</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.controller</groupId>
85       <artifactId>sal-common-api</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.controller</groupId>
89       <artifactId>sal-common-util</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>sal-core-api</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.controller.model</groupId>
97       <artifactId>model-inventory</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.neutron</groupId>
101       <artifactId>neutron-spi</artifactId>
102       <version>${networkconfig.neutron.version}</version>
103     </dependency>
104     <dependency>
105       <groupId>org.opendaylight.openflowplugin.model</groupId>
106       <artifactId>model-flow-base</artifactId>
107       <version>${openflowplugin.version}</version>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.openflowplugin.model</groupId>
111       <artifactId>model-flow-service</artifactId>
112       <version>${openflowplugin.version}</version>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.openflowplugin</groupId>
116       <artifactId>openflowjava-extension-nicira</artifactId>
117       <version>${openflowjava-nicira.version}</version>
118     </dependency>
119     <dependency>
120       <groupId>org.opendaylight.openflowplugin</groupId>
121       <artifactId>openflowplugin-extension-nicira</artifactId>
122       <version>${openflowplugin.version}</version>
123     </dependency>
124     <dependency>
125       <groupId>org.opendaylight.ovsdb</groupId>
126       <artifactId>openstack.net-virt</artifactId>
127       <version>${project.version}</version>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.ovsdb</groupId>
131       <artifactId>utils.mdsal-openflow</artifactId>
132       <version>${ovsdb.utils.mdsal.openflow.version}</version>
133     </dependency>
134     <dependency>
135       <groupId>org.opendaylight.yangtools</groupId>
136       <artifactId>yang-binding</artifactId>
137     </dependency>
138     <dependency>
139       <groupId>org.opendaylight.yangtools.model</groupId>
140       <artifactId>ietf-inet-types</artifactId>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.yangtools.model</groupId>
144       <artifactId>ietf-yang-types</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.yangtools.model</groupId>
148       <artifactId>opendaylight-l2-types</artifactId>
149     </dependency>
150     <dependency>
151       <groupId>org.slf4j</groupId>
152       <artifactId>slf4j-api</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>org.mockito</groupId>
156       <artifactId>mockito-core</artifactId>
157       <scope>test</scope>
158     </dependency>
159     <dependency>
160       <groupId>org.powermock</groupId>
161       <artifactId>powermock-core</artifactId>
162       <version>${powermock.version}</version>
163       <scope>test</scope>
164     </dependency>
165     <dependency>
166       <groupId>org.powermock</groupId>
167       <artifactId>powermock-module-junit4</artifactId>
168       <version>${powermock.version}</version>
169       <scope>test</scope>
170     </dependency>
171     <dependency>
172       <groupId>org.powermock</groupId>
173       <artifactId>powermock-api-mockito</artifactId>
174       <version>${powermock.version}</version>
175       <scope>test</scope>
176     </dependency>
177     <dependency>
178       <groupId>junit</groupId>
179       <artifactId>junit</artifactId>
180       <scope>test</scope>
181     </dependency>
182     <dependency>
183       <groupId>org.codehaus.sonar-plugins.java</groupId>
184       <artifactId>sonar-jacoco-listeners</artifactId>
185       <version>${sonar-jacoco-listeners.version}</version>
186       <scope>test</scope>
187     </dependency>
188   </dependencies>
189
190   <build>
191     <plugins>
192       <plugin>
193         <groupId>org.apache.felix</groupId>
194         <artifactId>maven-bundle-plugin</artifactId>
195         <extensions>true</extensions>
196         <configuration>
197           <instructions>
198             <Embed-Dependency>utils.config,utils.mdsal-openflow;type=!pom;inline=false</Embed-Dependency>
199             <Embed-Transitive>true</Embed-Transitive>
200           </instructions>
201         </configuration>
202       </plugin>
203       <plugin>
204         <groupId>org.apache.maven.plugins</groupId>
205         <artifactId>maven-checkstyle-plugin</artifactId>
206       </plugin>
207       <plugin>
208         <groupId>org.apache.maven.plugins</groupId>
209         <artifactId>maven-failsafe-plugin</artifactId>
210         <configuration>
211           <!-- Specific to generate mapping between tests and covered code -->
212           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
213           <properties>
214           <property>
215           <name>listener</name>
216           <value>org.sonar.java.jacoco.JUnitListener</value>
217           </property>
218           </properties>
219           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
220           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
221         </configuration>
222       </plugin>
223       <plugin>
224         <groupId>org.apache.maven.plugins</groupId>
225         <artifactId>maven-surefire-plugin</artifactId>
226         <configuration>
227           <!-- Specific to generate mapping between tests and covered code -->
228           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
229           <properties>
230             <property>
231               <name>listener</name>
232               <value>org.sonar.java.jacoco.JUnitListener</value>
233             </property>
234           </properties>
235           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
236           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
237         </configuration>
238       </plugin>
239       <plugin>
240         <groupId>org.jacoco</groupId>
241         <artifactId>jacoco-maven-plugin</artifactId>
242         <executions>
243           <execution>
244             <id>prepare-ut-agent</id>
245             <goals>
246               <goal>prepare-agent</goal>
247             </goals>
248             <configuration>
249               <destFile>${sonar.jacoco.reportPath}</destFile>
250             </configuration>
251           </execution>
252           <execution>
253             <id>prepare-it-agent</id>
254             <goals>
255               <goal>prepare-agent-integration</goal>
256             </goals>
257             <configuration>
258               <append>true</append>
259               <destFile>${sonar.jacoco.itReportPath}</destFile>
260             </configuration>
261           </execution>
262           <execution>
263             <id>default-report</id>
264             <goals>
265               <goal>report</goal>
266             </goals>
267             <configuration>
268               <dataFile>${sonar.jacoco.reportPath}</dataFile>
269             </configuration>
270           </execution>
271           <execution>
272             <id>default-report-integration</id>
273             <goals>
274               <goal>report-integration</goal>
275             </goals>
276             <configuration>
277               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
278             </configuration>
279           </execution>
280         </executions>
281       </plugin>
282     </plugins>
283   </build>
284 </project>