Enable NetVirt Maven site
[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.5.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.netvirt</groupId>
22   <artifactId>openstack.net-virt</artifactId>
23   <version>1.3.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   <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/netvirt.git</connection>
41     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
42     <tag>HEAD</tag>
43     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
44   </scm>
45
46   <properties>
47     <neutron.model.version>0.7.0-SNAPSHOT</neutron.model.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.ovsdb</groupId>
55       <artifactId>southbound-api</artifactId>
56       <version>${ovsdb.version}</version>
57     </dependency>
58     <dependency>
59       <groupId>${project.groupId}</groupId>
60       <artifactId>utils.config</artifactId>
61       <version>${project.version}</version>
62     </dependency>
63     <dependency>
64       <groupId>${project.groupId}</groupId>
65       <artifactId>utils.servicehelper</artifactId>
66       <version>${project.version}</version>
67     </dependency>
68     <dependency>
69       <groupId>${project.groupId}</groupId>
70       <artifactId>utils.mdsal-utils</artifactId>
71       <version>${project.version}</version>
72     </dependency>
73     <dependency>
74       <groupId>${project.groupId}</groupId>
75       <artifactId>utils.neutron-utils</artifactId>
76       <version>${project.version}</version>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.neutron</groupId>
80       <artifactId>model</artifactId>
81       <version>${neutron.model.version}</version>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.mdsal.model</groupId>
85       <artifactId>ietf-inet-types</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.mdsal.model</groupId>
89       <artifactId>ietf-topology</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.mdsal.model</groupId>
93       <artifactId>opendaylight-l2-types</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>org.opendaylight.mdsal.model</groupId>
97       <artifactId>ietf-yang-types-20130715</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.mdsal.model</groupId>
101       <artifactId>ietf-yang-types</artifactId>
102     </dependency>
103    <dependency>
104       <groupId>commons-net</groupId>
105       <artifactId>commons-net</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>org.codehaus.sonar-plugins.java</groupId>
109       <artifactId>sonar-jacoco-listeners</artifactId>
110       <version>${sonar-jacoco-listeners.version}</version>
111       <scope>test</scope>
112     </dependency>
113     <dependency>
114       <groupId>org.slf4j</groupId>
115       <artifactId>slf4j-simple</artifactId>
116       <scope>test</scope>
117     </dependency>
118     <dependency>
119       <groupId>org.mockito</groupId>
120       <artifactId>mockito-core</artifactId>
121       <version>1.10.19</version>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>org.powermock</groupId>
126       <artifactId>powermock-core</artifactId>
127       <scope>test</scope>
128     </dependency>
129     <dependency>
130       <groupId>org.powermock</groupId>
131       <artifactId>powermock-module-junit4</artifactId>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.powermock</groupId>
136       <artifactId>powermock-api-mockito</artifactId>
137       <scope>test</scope>
138     </dependency>
139     <dependency>
140       <groupId>org.powermock</groupId>
141       <artifactId>powermock-api-support</artifactId>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.powermock</groupId>
146       <artifactId>powermock-reflect</artifactId>
147       <scope>test</scope>
148     </dependency>
149     <dependency>
150       <groupId>junit</groupId>
151       <artifactId>junit</artifactId>
152       <scope>test</scope>
153     </dependency>
154     <dependency>
155       <groupId>org.opendaylight.controller</groupId>
156       <artifactId>sal-binding-broker-impl</artifactId>
157       <type>test-jar</type>
158       <scope>test</scope>
159     </dependency>
160   </dependencies>
161   <build>
162     <plugins>
163       <plugin>
164         <groupId>org.apache.felix</groupId>
165         <artifactId>maven-bundle-plugin</artifactId>
166         <extensions>true</extensions>
167         <configuration>
168           <instructions>
169             <Embed-Dependency>utils.config;type=!pom;inline=false</Embed-Dependency>
170             <Embed-Transitive>true</Embed-Transitive>
171             <Export-Package>
172               org.opendaylight.netvirt.openstack.netvirt.translator,
173               org.opendaylight.netvirt.openstack.netvirt.api,
174               org.opendaylight.netvirt.openstack.netvirt
175             </Export-Package>
176           </instructions>
177         </configuration>
178       </plugin>
179       <plugin>
180         <groupId>org.apache.maven.plugins</groupId>
181         <artifactId>maven-surefire-plugin</artifactId>
182         <configuration>
183           <properties>
184             <property>
185               <name>listener</name>
186               <value>org.sonar.java.jacoco.JUnitListener</value>
187             </property>
188           </properties>
189         </configuration>
190       </plugin>
191       <plugin>
192         <groupId>org.jacoco</groupId>
193         <artifactId>jacoco-maven-plugin</artifactId>
194         <executions>
195           <execution>
196             <id>default-instrument</id>
197             <goals>
198               <goal>instrument</goal>
199             </goals>
200           </execution>
201           <execution>
202             <id>default-restore-instrumented-classes</id>
203             <goals>
204               <goal>restore-instrumented-classes</goal>
205             </goals>
206           </execution>
207         </executions>
208       </plugin>
209     </plugins>
210   </build>
211
212   <!--
213       Maven Site Configuration
214
215       The following configuration is necessary for maven-site-plugin to
216       correctly identify the correct deployment path for OpenDaylight Maven
217       sites.
218   -->
219   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
220
221   <distributionManagement>
222     <site>
223       <id>opendaylight-site</id>
224       <url>${nexus.site.url}/${project.artifactId}/</url>
225     </site>
226   </distributionManagement>
227 </project>