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>
36 <scope>provided</scope>
42 <directory>target/generated-resources</directory>
45 <directory>src/main/resources</directory>
50 <groupId>org.apache.maven.plugins</groupId>
51 <artifactId>maven-dependency-plugin</artifactId>
52 <version>2.6</version>
54 <!--loader Resources-->
56 <id>unpack-loader-resources</id>
58 <goal>unpack-dependencies</goal>
60 <phase>generate-resources</phase>
62 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
63 <groupId>${groupId}</groupId>
64 <includeArtifactIds>${rootArtifactId}-module</includeArtifactIds>
65 <excludes>META-INF\/**,*/node\/**,*/node_modules\/**</excludes>
66 <excludeTransitive>true</excludeTransitive>
67 <ignorePermissions>false</ignorePermissions>
73 <groupId>org.apache.felix</groupId>
74 <artifactId>maven-bundle-plugin</artifactId>
75 <extensions>true</extensions>
78 <Import-Package>org.osgi.service.http,
79 org.osgi.framework;version="1.0.0",
80 org.opendaylight.dlux.loader
82 <Export-Package></Export-Package>