Enable NetVirt Maven site
[netvirt.git] / ovsdb-ui / bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015 Inocybe Technologies, 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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10     <modelVersion>4.0.0</modelVersion>
11     <parent>
12       <groupId>org.opendaylight.odlparent</groupId>
13       <artifactId>odlparent-lite</artifactId>
14       <version>1.7.0-SNAPSHOT</version>
15       <relativePath/>
16     </parent>
17
18     <groupId>org.opendaylight.netvirt</groupId>
19     <artifactId>ovsdb-ui-bundle</artifactId>
20     <version>1.3.0-SNAPSHOT</version>
21     <packaging>bundle</packaging>
22     <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>
23     <licenses>
24         <license>
25             <name>Eclipse Public License v1.0</name>
26             <url>http://www.eclipse.org/legal/epl-v10.html</url>
27         </license>
28     </licenses>
29     <scm>
30         <connection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</connection>
31         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/netvirt.git</developerConnection>
32         <tag>HEAD</tag>
33         <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
34     </scm>
35
36     <properties>
37       <dlux.version>0.4.0-SNAPSHOT</dlux.version>
38     </properties>
39
40     <dependencies>
41       <dependency>
42         <groupId>org.opendaylight.dlux</groupId>
43           <artifactId>loader</artifactId>
44           <version>${dlux.version}</version>
45         </dependency>
46         <dependency>
47           <groupId>org.opendaylight.netvirt</groupId>
48           <artifactId>ovsdb-ui-module</artifactId>
49           <version>${project.version}</version>
50         </dependency>
51     </dependencies>
52     <build>
53         <resources>
54           <resource>
55             <directory>target/generated-resources</directory>
56           </resource>
57           <resource>
58             <directory>src/main/resources</directory>
59          </resource>
60         </resources>
61         <plugins>
62           <plugin>
63             <groupId>org.apache.maven.plugins</groupId>
64             <artifactId>maven-dependency-plugin</artifactId>
65             <executions>
66               <execution>
67                 <id>unpack-loader-resources</id>
68                 <goals>
69                   <goal>unpack</goal>
70                 </goals>
71                 <phase>generate-resources</phase>
72                 <configuration>
73                <artifactItems>
74                    <artifactItem>
75                       <groupId>org.opendaylight.netvirt</groupId>
76                       <artifactId>ovsdb-ui-module</artifactId>
77                       <version>${project.version}</version>
78                       <overWrite>true</overWrite>
79                       <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
80                     </artifactItem>
81                   </artifactItems>
82                   <excludes>META-INF\/**, ovsdb\/spec\/**, ovsdb\/mocks\/**</excludes>
83                   <ignorePermissions>false</ignorePermissions>
84                 </configuration>
85               </execution>
86             </executions>
87           </plugin>
88             <plugin>
89                 <groupId>org.apache.felix</groupId>
90                 <artifactId>maven-bundle-plugin</artifactId>
91                 <extensions>true</extensions>
92                 <configuration>
93                     <instructions>
94                         <Import-Package>org.osgi.service.http,
95                                         org.osgi.framework;version="1.0.0",
96                                         org.opendaylight.dlux.loader,
97                                         org.slf4j
98                         </Import-Package>
99                     <Export-Package></Export-Package>
100                     </instructions>
101                 </configuration>
102             </plugin>
103         </plugins>
104     </build>
105
106     <!--
107         Maven Site Configuration
108
109         The following configuration is necessary for maven-site-plugin to
110         correctly identify the correct deployment path for OpenDaylight Maven
111         sites.
112     -->
113     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
114
115     <distributionManagement>
116         <site>
117             <id>opendaylight-site</id>
118             <url>${nexus.site.url}/${project.artifactId}/</url>
119         </site>
120     </distributionManagement>
121 </project>