Enable NetVirt Maven site
[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.5.0-SNAPSHOT</version>
16     <relativePath/>
17   </parent>
18   <modelVersion>4.0.0</modelVersion>
19
20   <groupId>org.opendaylight.netvirt</groupId>
21   <artifactId>openstack.net-virt-providers</artifactId>
22   <version>1.3.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   <licenses>
26     <license>
27       <name>Eclipse Public License v1.0</name>
28       <url>http://www.eclipse.org/legal/epl-v10.html</url>
29     </license>
30   </licenses>
31   <developers>
32     <developer>
33       <name>Sam Hague</name>
34       <email>shague@gmail.com</email>
35       <url>https://github.com/shague</url>
36     </developer>
37   </developers>
38   <scm>
39     <connection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</connection>
40     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
41     <tag>HEAD</tag>
42     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
43   </scm>
44
45   <properties>
46     <liblldp.version>0.11.0-SNAPSHOT</liblldp.version>
47     <openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
48     <ovsdb.version>1.3.0-SNAPSHOT</ovsdb.version>
49     <sonar.jacoco.itReportPath>../net-virt-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
50   </properties>
51
52   <dependencies>
53     <dependency>
54       <groupId>org.opendaylight.netvirt</groupId>
55       <artifactId>openstack.net-virt</artifactId>
56       <version>${project.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>org.opendaylight.netvirt</groupId>
60       <artifactId>utils.mdsal-openflow</artifactId>
61       <version>${project.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>org.opendaylight.ovsdb</groupId>
65       <artifactId>southbound-api</artifactId>
66       <version>${ovsdb.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>org.opendaylight.netvirt</groupId>
70       <artifactId>utils.servicehelper</artifactId>
71       <version>${project.version}</version>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.openflowplugin.model</groupId>
75       <artifactId>model-flow-base</artifactId>
76       <version>${openflowplugin.version}</version>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.openflowplugin.model</groupId>
80       <artifactId>model-flow-service</artifactId>
81       <version>${openflowplugin.version}</version>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.openflowplugin</groupId>
85       <artifactId>openflowjava-extension-nicira</artifactId>
86       <version>${openflowplugin.version}</version>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.openflowplugin</groupId>
90       <artifactId>openflowplugin-extension-nicira</artifactId>
91       <version>${openflowplugin.version}</version>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.openflowplugin</groupId>
95       <artifactId>openflowplugin-api</artifactId>
96       <version>${openflowplugin.version}</version>
97     </dependency>
98     <dependency>
99       <groupId>org.opendaylight.mdsal.model</groupId>
100       <artifactId>ietf-inet-types</artifactId>
101     </dependency>
102     <dependency>
103       <groupId>org.opendaylight.mdsal.model</groupId>
104       <artifactId>ietf-yang-types</artifactId>
105     </dependency>
106     <dependency>
107       <groupId>org.opendaylight.mdsal.model</groupId>
108       <artifactId>opendaylight-l2-types</artifactId>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.mdsal.model</groupId>
112       <artifactId>ietf-topology</artifactId>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.controller</groupId>
116       <artifactId>liblldp</artifactId>
117       <version>${liblldp.version}</version>
118     </dependency>
119     <dependency>
120       <groupId>com.google.code.findbugs</groupId>
121       <artifactId>jsr305</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>io.netty</groupId>
125       <artifactId>netty-buffer</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.apache.commons</groupId>
129       <artifactId>commons-lang3</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>org.codehaus.sonar-plugins.java</groupId>
133       <artifactId>sonar-jacoco-listeners</artifactId>
134       <version>${sonar-jacoco-listeners.version}</version>
135       <scope>test</scope>
136     </dependency>
137     <dependency>
138       <groupId>org.slf4j</groupId>
139       <artifactId>slf4j-simple</artifactId>
140       <scope>test</scope>
141     </dependency>
142     <dependency>
143       <groupId>org.mockito</groupId>
144       <artifactId>mockito-core</artifactId>
145       <version>1.10.19</version>
146       <scope>test</scope>
147     </dependency>
148     <dependency>
149       <groupId>org.powermock</groupId>
150       <artifactId>powermock-core</artifactId>
151       <scope>test</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.powermock</groupId>
155       <artifactId>powermock-module-junit4</artifactId>
156       <scope>test</scope>
157     </dependency>
158     <dependency>
159       <groupId>org.powermock</groupId>
160       <artifactId>powermock-api-mockito</artifactId>
161       <scope>test</scope>
162     </dependency>
163     <dependency>
164       <groupId>org.powermock</groupId>
165       <artifactId>powermock-api-support</artifactId>
166       <scope>test</scope>
167     </dependency>
168     <dependency>
169       <groupId>org.powermock</groupId>
170       <artifactId>powermock-reflect</artifactId>
171       <scope>test</scope>
172     </dependency>
173     <dependency>
174       <groupId>junit</groupId>
175       <artifactId>junit</artifactId>
176       <scope>test</scope>
177     </dependency>
178   </dependencies>
179
180   <build>
181     <plugins>
182       <plugin>
183         <groupId>org.apache.felix</groupId>
184         <artifactId>maven-bundle-plugin</artifactId>
185         <extensions>true</extensions>
186         <configuration>
187           <instructions>
188             <Embed-Dependency>utils.config,utils.mdsal-openflow;type=!pom;inline=false</Embed-Dependency>
189             <Embed-Transitive>true</Embed-Transitive>
190             <Export-Package>
191               org.opendaylight.netvirt.openstack.netvirt.providers,
192               org.opendaylight.netvirt.openstack.netvirt.providers.openflow13,
193               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.providers.config.rev160109
194             </Export-Package>
195           </instructions>
196         </configuration>
197       </plugin>
198       <plugin>
199         <groupId>org.apache.maven.plugins</groupId>
200         <artifactId>maven-surefire-plugin</artifactId>
201         <configuration>
202          <excludes>
203             <exclude>**/services/*Test.java</exclude>
204           </excludes>
205           <properties>
206             <property>
207               <name>listener</name>
208               <value>org.sonar.java.jacoco.JUnitListener</value>
209             </property>
210           </properties>
211         </configuration>
212       </plugin>
213       <plugin>
214         <groupId>org.jacoco</groupId>
215         <artifactId>jacoco-maven-plugin</artifactId>
216         <executions>
217           <execution>
218             <id>default-instrument</id>
219             <goals>
220               <goal>instrument</goal>
221             </goals>
222           </execution>
223           <execution>
224             <id>default-restore-instrumented-classes</id>
225             <goals>
226               <goal>restore-instrumented-classes</goal>
227             </goals>
228           </execution>
229         </executions>
230       </plugin>
231     </plugins>
232   </build>
233
234   <!--
235       Maven Site Configuration
236
237       The following configuration is necessary for maven-site-plugin to
238       correctly identify the correct deployment path for OpenDaylight Maven
239       sites.
240   -->
241   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
242
243   <distributionManagement>
244     <site>
245       <id>opendaylight-site</id>
246       <url>${nexus.site.url}/${project.artifactId}/</url>
247     </site>
248   </distributionManagement>
249 </project>