Putting groupbasedpolicy-ui-bundle on a diet
[groupbasedpolicy.git] / groupbasedpolicy-ui / 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>org.opendaylight.groupbasedpolicy</groupId>
6     <artifactId>groupbasedpolicy-ui</artifactId>
7     <version>0.4.0-SNAPSHOT</version>
8   </parent>
9
10   <artifactId>groupbasedpolicy-ui-bundle</artifactId>
11   <name>groupbasedpolicy-ui-bundle</name>
12   <packaging>bundle</packaging>
13
14     <properties>
15         <dlux.version>0.4.0-SNAPSHOT</dlux.version>
16     </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.dlux</groupId>
21       <artifactId>loader</artifactId>
22         <version>${dlux.version}</version>
23     </dependency>
24      <dependency>
25       <groupId>org.opendaylight.groupbasedpolicy</groupId>
26       <artifactId>groupbasedpolicy-ui-module</artifactId>
27       <version>${project.version}</version>
28       <scope>provided</scope>
29     </dependency>
30   </dependencies>
31  <build>
32    <resources>
33       <resource>
34         <directory>target/generated-resources</directory>
35       </resource>
36       <resource>
37         <directory>src/main/resources</directory>
38       </resource>
39     </resources>
40     <plugins>
41      <plugin>
42         <groupId>org.apache.maven.plugins</groupId>
43         <artifactId>maven-dependency-plugin</artifactId>
44         <executions>
45      <!--loader Resources-->
46           <execution>
47             <id>unpack-loader-resources</id>
48             <goals>
49               <goal>unpack-dependencies</goal>
50             </goals>
51             <phase>generate-resources</phase>
52             <configuration>
53               <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
54               <groupId>org.opendaylight.dlux</groupId>
55               <includeArtifactIds>groupbasedpolicy-ui-module</includeArtifactIds>
56               <excludes>META-INF\/**,gbp/node\/**,gbp/node_modules\/**</excludes>
57               <excludeTransitive>true</excludeTransitive>
58               <ignorePermissions>false</ignorePermissions>
59             </configuration>
60           </execution>
61         </executions>
62       </plugin>
63       <plugin>
64         <groupId>org.apache.felix</groupId>
65         <artifactId>maven-bundle-plugin</artifactId>
66         <extensions>true</extensions>
67         <configuration>
68           <instructions>
69             <Import-Package>org.osgi.service.http,
70                             org.osgi.framework;version="1.0.0",
71                             org.opendaylight.dlux.loader,
72                             org.slf4j
73             </Import-Package>
74             <Export-Package></Export-Package>
75           </instructions>
76         </configuration>
77       </plugin>
78     </plugins>
79   </build>
80   <scm>
81     <connection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</connection>
82     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/dlux.git</developerConnection>
83     <tag>HEAD</tag>
84     <url>https://wiki.opendaylight.org/view/OpenDaylight_dlux:Main</url>
85   </scm>
86 </project>