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