c5f9d4804a4e2427b313c48f8899afa695ff848e
[honeycomb.git] / vbd / gui / bundle / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>io.fd.honeycomb.vbd</groupId>
6     <artifactId>vbd-aggregator</artifactId>
7     <version>1.0.0-SNAPSHOT</version>
8     <relativePath>../../</relativePath>
9   </parent>
10
11   <groupId>io.fd.honeycomb.vbd</groupId>
12   <artifactId>vbd-ui-bundle</artifactId>
13   <name>vbd-ui-bundle</name>
14   <version>1.0.0-SNAPSHOT</version>
15   <packaging>bundle</packaging>
16
17   <dependencies>
18     <dependency>
19       <groupId>org.osgi</groupId>
20       <artifactId>org.osgi.core</artifactId>
21       <version>5.0.0</version>
22     </dependency>
23     <dependency>
24       <groupId>org.osgi</groupId>
25       <artifactId>org.osgi.compendium</artifactId>
26       <version>5.0.0</version>
27     </dependency>
28     <dependency>
29       <groupId>org.apache.felix</groupId>
30       <artifactId>org.osgi.compendium</artifactId>
31       <version>1.4.0</version>
32     </dependency>
33     <dependency>
34       <groupId>org.slf4j</groupId>
35       <artifactId>jcl-over-slf4j</artifactId>
36       <version>1.7.14</version>
37     </dependency>
38     <dependency>
39       <groupId>org.opendaylight.dlux</groupId>
40       <artifactId>loader</artifactId>
41         <version>0.3.0-SNAPSHOT</version>
42     </dependency>
43  </dependencies>
44
45  <build>
46    <resources>
47       <resource>
48         <directory>target/generated-resources</directory>
49       </resource>
50       <resource>
51         <directory>src/main/resources</directory>
52       </resource>
53     </resources>
54     <plugins>
55      <plugin>
56         <groupId>org.apache.maven.plugins</groupId>
57         <artifactId>maven-dependency-plugin</artifactId>
58         <version>2.6</version>
59         <executions>
60      <!--loader Resources-->
61           <execution>
62             <id>unpack-loader-resources</id>
63             <goals>
64               <goal>unpack-dependencies</goal>
65             </goals>
66             <phase>generate-resources</phase>
67             <configuration>
68               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
69               <groupId>org.openvpp.vbd</groupId>
70               <includeArtifactIds>vbd-ui-module</includeArtifactIds>
71               <excludes>META-INF\/**</excludes>
72               <excludeTransitive>true</excludeTransitive>
73               <ignorePermissions>false</ignorePermissions>
74             </configuration>
75           </execution>
76         </executions>
77       </plugin>
78       <plugin>
79         <groupId>org.apache.felix</groupId>
80         <artifactId>maven-bundle-plugin</artifactId>
81         <extensions>true</extensions>
82         <configuration>
83           <instructions>
84             <Import-Package>org.osgi.service.http,
85                             org.osgi.framework;version="1.0.0",
86                             org.opendaylight.dlux.loader,
87                             org.slf4j
88             </Import-Package>
89             <Export-Package></Export-Package>
90           </instructions>
91         </configuration>
92       </plugin>
93     </plugins>
94   </build>
95 </project>