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