2b95d8260e6c3ab5b6810d9dc443062c508cf71b
[ovsdb.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.ovsdb</groupId>
13         <artifactId>commons</artifactId>
14         <version>1.4.0-SNAPSHOT</version>
15         <relativePath>../../commons/parent</relativePath>
16     </parent>
17
18     <artifactId>ovsdb-ui-bundle</artifactId>
19     <version>${ovsdb.ui.version}</version>
20     <packaging>bundle</packaging>
21     <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>
22     <licenses>
23         <license>
24             <name>Eclipse Public License v1.0</name>
25             <url>http://www.eclipse.org/legal/epl-v10.html</url>
26         </license>
27     </licenses>
28     <scm>
29         <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
30         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
31         <tag>HEAD</tag>
32         <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
33     </scm>
34     <dependencies>
35         <dependency>
36             <groupId>org.opendaylight.dlux</groupId>
37             <artifactId>loader</artifactId>
38             <version>${dlux.loader.version}</version>
39         </dependency>
40         <dependency>
41           <groupId>org.opendaylight.ovsdb</groupId>
42           <artifactId>ovsdb-ui-module</artifactId>
43           <version>${ovsdb.ui.version}</version>
44         </dependency>
45     </dependencies>
46     <build>
47         <resources>
48           <resource>
49             <directory>target/generated-resources</directory>
50           </resource>
51           <resource>
52             <directory>src/main/resources</directory>
53          </resource>
54         </resources>
55         <plugins>
56           <plugin>
57             <groupId>org.apache.maven.plugins</groupId>
58             <artifactId>maven-dependency-plugin</artifactId>
59             <version>2.6</version>
60             <executions>
61               <execution>
62                 <id>unpack-loader-resources</id>
63                 <goals>
64                   <goal>unpack</goal>
65                 </goals>
66                 <phase>generate-resources</phase>
67                 <configuration>
68                <artifactItems>
69                    <artifactItem>
70                       <groupId>org.opendaylight.ovsdb</groupId>
71                       <artifactId>ovsdb-ui-module</artifactId>
72                       <version>${ovsdb.ui.version}</version>
73                       <overWrite>true</overWrite>
74                       <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
75                     </artifactItem>
76                   </artifactItems>
77                   <excludes>META-INF\/**, ovsdb\/spec\/**, ovsdb\/mocks\/**</excludes>
78                   <ignorePermissions>false</ignorePermissions>
79                 </configuration>
80               </execution>
81             </executions>
82           </plugin>
83             <plugin>
84                 <groupId>org.apache.felix</groupId>
85                 <artifactId>maven-bundle-plugin</artifactId>
86                 <version>2.5.3</version>
87                 <extensions>true</extensions>
88                 <configuration>
89                     <instructions>
90                         <Import-Package>org.osgi.service.http,
91                                         org.osgi.framework;version="1.0.0",
92                                         org.opendaylight.dlux.loader,
93                                         org.slf4j
94                         </Import-Package>
95                     <Export-Package></Export-Package>
96                     </instructions>
97                 </configuration>
98             </plugin>
99         </plugins>
100     </build>
101
102 </project>