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