Sonar clean-up: braces for control statements
[netvirt.git] / openstack / net-virt / 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   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.controller</groupId>
16     <artifactId>config-parent</artifactId>
17     <version>0.4.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>openstack.net-virt</artifactId>
23   <version>1.2.0-SNAPSHOT</version>
24   <packaging>bundle</packaging>
25   <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>
26   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
27   <licenses>
28     <license>
29       <name>Eclipse Public License v1.0</name>
30       <url>http://www.eclipse.org/legal/epl-v10.html</url>
31     </license>
32   </licenses>
33   <developers>
34     <developer>
35       <name>Sam Hague</name>
36       <email>shague@gmail.com</email>
37       <url>https://github.com/shague</url>
38     </developer>
39   </developers>
40   <scm>
41     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
42     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
43     <tag>HEAD</tag>
44     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
45   </scm>
46
47   <properties>
48     <networkconfig.neutron.version>0.6.0-SNAPSHOT</networkconfig.neutron.version>
49     <ovsdb.utils.config.version>1.2.0-SNAPSHOT</ovsdb.utils.config.version>
50     <ovsdb.utils.servicehelper.version>1.2.0-SNAPSHOT</ovsdb.utils.servicehelper.version>
51     <powermock.version>1.5.2</powermock.version>
52     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
53     <root.directory>${env.PWD}</root.directory>
54     <sonar.jacoco.itReportPath>${root.directory}/target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
55   </properties>
56   <dependencies>
57     <dependency>
58       <groupId>org.apache.commons</groupId>
59       <artifactId>commons-lang3</artifactId>
60     </dependency>
61     <dependency>
62       <groupId>org.apache.felix</groupId>
63       <artifactId>org.apache.felix.dependencymanager</artifactId>
64     </dependency>
65     <dependency>
66       <groupId>org.osgi</groupId>
67       <artifactId>org.osgi.core</artifactId>
68     </dependency>
69     <dependency>
70       <groupId>com.google.guava</groupId>
71       <artifactId>guava</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.controller</groupId>
75       <artifactId>config-api</artifactId>
76     </dependency>
77     <dependency>
78       <groupId>org.opendaylight.controller</groupId>
79       <artifactId>sal-binding-api</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>sal-binding-config</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.controller</groupId>
87       <artifactId>sal-common-api</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>org.opendaylight.controller</groupId>
91       <artifactId>sal-common-util</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>sal-core-api</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.neutron</groupId>
99       <artifactId>neutron-spi</artifactId>
100       <version>${networkconfig.neutron.version}</version>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.ovsdb</groupId>
104       <artifactId>southbound-api</artifactId>
105       <version>1.2.0-SNAPSHOT</version>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.ovsdb</groupId>
109       <artifactId>utils.config</artifactId>
110       <version>${ovsdb.utils.config.version}</version>
111     </dependency>
112     <dependency>
113       <groupId>org.opendaylight.ovsdb</groupId>
114       <artifactId>utils.servicehelper</artifactId>
115       <version>${ovsdb.utils.servicehelper.version}</version>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.yangtools</groupId>
119       <artifactId>yang-common</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.yangtools.model</groupId>
123       <artifactId>ietf-inet-types</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.yangtools.model</groupId>
127       <artifactId>ietf-topology</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.slf4j</groupId>
131       <artifactId>slf4j-api</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.mockito</groupId>
135       <artifactId>mockito-core</artifactId>
136       <scope>test</scope>
137     </dependency>
138     <dependency>
139       <groupId>org.powermock</groupId>
140       <artifactId>powermock-core</artifactId>
141       <version>${powermock.version}</version>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.powermock</groupId>
146       <artifactId>powermock-module-junit4</artifactId>
147       <version>${powermock.version}</version>
148       <scope>test</scope>
149     </dependency>
150     <dependency>
151       <groupId>org.powermock</groupId>
152       <artifactId>powermock-api-mockito</artifactId>
153       <version>${powermock.version}</version>
154       <scope>test</scope>
155     </dependency>
156     <dependency>
157       <groupId>junit</groupId>
158       <artifactId>junit</artifactId>
159       <scope>test</scope>
160     </dependency>
161     <dependency>
162       <groupId>org.codehaus.sonar-plugins.java</groupId>
163       <artifactId>sonar-jacoco-listeners</artifactId>
164       <version>${sonar-jacoco-listeners.version}</version>
165       <scope>test</scope>
166     </dependency>
167   </dependencies>
168   <build>
169     <plugins>
170       <plugin>
171         <groupId>org.apache.felix</groupId>
172         <artifactId>maven-bundle-plugin</artifactId>
173         <extensions>true</extensions>
174         <configuration>
175           <instructions>
176             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
177             <Embed-Transitive>true</Embed-Transitive>
178             <Export-Package>
179               org.opendaylight.ovsdb.openstack.netvirt.api,
180               org.opendaylight.ovsdb.openstack.netvirt
181             </Export-Package>
182           </instructions>
183         </configuration>
184       </plugin>
185       <plugin>
186         <groupId>org.apache.maven.plugins</groupId>
187         <artifactId>maven-checkstyle-plugin</artifactId>
188       </plugin>
189       <plugin>
190         <groupId>org.apache.maven.plugins</groupId>
191         <artifactId>maven-failsafe-plugin</artifactId>
192         <configuration>
193           <!-- Specific to generate mapping between tests and covered code -->
194           <!--<argLine>${jacoco.agent.it.arg}</argLine>-->
195           <properties>
196             <property>
197               <name>listener</name>
198               <value>org.sonar.java.jacoco.JUnitListener</value>
199             </property>
200           </properties>
201           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
202           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
203         </configuration>
204       </plugin>
205       <plugin>
206         <groupId>org.apache.maven.plugins</groupId>
207         <artifactId>maven-surefire-plugin</artifactId>
208         <configuration>
209           <!-- Specific to generate mapping between tests and covered code -->
210           <!--<argLine>${jacoco.agent.ut.arg}</argLine>-->
211           <properties>
212             <property>
213               <name>listener</name>
214               <value>org.sonar.java.jacoco.JUnitListener</value>
215             </property>
216           </properties>
217           <!-- Let's put failsafe reports with surefire to have access to tests failures/success reports in sonar -->
218           <!--<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>-->
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               <append>true</append>
241               <destFile>${sonar.jacoco.itReportPath}</destFile>
242             </configuration>
243           </execution>
244           <execution>
245             <id>default-report</id>
246             <goals>
247               <goal>report</goal>
248             </goals>
249             <configuration>
250               <dataFile>${sonar.jacoco.reportPath}</dataFile>
251             </configuration>
252           </execution>
253           <execution>
254             <id>default-report-integration</id>
255             <goals>
256               <goal>report-integration</goal>
257             </goals>
258             <configuration>
259               <dataFile>${sonar.jacoco.itReportPath}</dataFile>
260             </configuration>
261           </execution>
262         </executions>
263       </plugin>
264     </plugins>
265   </build>
266   </project>