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"
3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4 <modelVersion>4.0.0</modelVersion>
6 <artifactId>mwtnClosedLoop</artifactId>
7 <groupId>com.highstreet.technologies.odl.dlux</groupId>
8 <version>0.5.1-SNAPSHOT</version>
10 <artifactId>mwtnClosedLoop-bundle</artifactId>
11 <name>${prefix} ${project.artifactId}</name>
12 <packaging>bundle</packaging>
16 <groupId>org.osgi</groupId>
17 <artifactId>org.osgi.core</artifactId>
18 <version>${osgi.core.version}</version>
21 <groupId>org.osgi</groupId>
22 <artifactId>org.osgi.compendium</artifactId>
23 <version>${osgi.core.version}</version>
26 <groupId>org.apache.felix</groupId>
27 <artifactId>org.osgi.compendium</artifactId>
28 <version>${apache.felix.compendium}</version>
31 <groupId>org.opendaylight.dlux</groupId>
32 <artifactId>loader</artifactId>
33 <version>${dlux.loader.version}</version>
36 <groupId>com.highstreet.technologies.odl.dlux</groupId>
37 <artifactId>mwtnClosedLoop-module</artifactId>
38 <version>0.5.1-SNAPSHOT</version>
44 <directory>target/generated-resources</directory>
47 <directory>src/main/resources</directory>
52 <groupId>org.apache.maven.plugins</groupId>
53 <artifactId>maven-dependency-plugin</artifactId>
54 <version>2.6</version>
56 <!--loader Resources -->
58 <id>unpack-loader-resources</id>
60 <goal>unpack-dependencies</goal>
62 <phase>generate-resources</phase>
64 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
65 <groupId>com.highstreet.technologies.odl.dlux</groupId>
66 <includeArtifactIds>mwtnClosedLoop-module</includeArtifactIds>
67 <excludes>META-INF\/**</excludes>
68 <excludeTransitive>true</excludeTransitive>
69 <ignorePermissions>false</ignorePermissions>
75 <groupId>org.apache.felix</groupId>
76 <artifactId>maven-bundle-plugin</artifactId>
77 <extensions>true</extensions>
80 <Import-Package>org.osgi.service.http,
81 org.osgi.framework;version="1.0.0",
82 org.opendaylight.dlux.loader
84 <Export-Package></Export-Package>
90 <artifactId>maven-resources-plugin</artifactId>
91 <version>3.0.1</version>
94 <id>copy-resources</id>
95 <!- - here the phase you need - ->
96 <phase>package</phase>
98 <goal>copy-resources</goal>
101 <outputDirectory>../../deploy</outputDirectory>
104 <directory>target</directory>
106 <include>${project.artifactId}-${project.version}.jar</include>
108 <filtering>true</filtering>