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>
5 <artifactId>${rootArtifactId}</artifactId>
6 <groupId>${groupId}</groupId>
7 <version>${version}</version>
9 <artifactId>${rootArtifactId}-bundle</artifactId>
10 <packaging>bundle</packaging>
13 <groupId>org.osgi</groupId>
14 <artifactId>org.osgi.core</artifactId>
15 <version>${osgi.core.version}</version>
18 <groupId>org.osgi</groupId>
19 <artifactId>org.osgi.compendium</artifactId>
20 <version>${osgi.core.version}</version>
23 <groupId>org.apache.felix</groupId>
24 <artifactId>org.osgi.compendium</artifactId>
25 <version>${apache.felix.compendium}</version>
28 <groupId>org.opendaylight.dlux</groupId>
29 <artifactId>loader</artifactId>
30 <version>${dlux.loader.version}</version>
33 <groupId>${groupId}</groupId>
34 <artifactId>${rootArtifactId}-module</artifactId>
35 <version>${version}</version>
41 <directory>target/generated-resources</directory>
44 <directory>src/main/resources</directory>
49 <groupId>org.apache.maven.plugins</groupId>
50 <artifactId>maven-dependency-plugin</artifactId>
51 <version>2.6</version>
53 <!--loader Resources-->
55 <id>unpack-loader-resources</id>
57 <goal>unpack-dependencies</goal>
59 <phase>generate-resources</phase>
61 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
62 <groupId>${groupId}</groupId>
63 <includeArtifactIds>${rootArtifactId}-module</includeArtifactIds>
64 <excludes>META-INF\/**</excludes>
65 <excludeTransitive>true</excludeTransitive>
66 <ignorePermissions>false</ignorePermissions>
72 <groupId>org.apache.felix</groupId>
73 <artifactId>maven-bundle-plugin</artifactId>
74 <extensions>true</extensions>
77 <Import-Package>org.osgi.service.http,
78 org.osgi.framework;version="1.0.0",
79 org.opendaylight.dlux.loader
81 <Export-Package></Export-Package>