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>ethService-bundle</artifactId>
7 <packaging>bundle</packaging>
8 <name>${prefix} ${project.artifactId}</name>
11 <artifactId>ethService</artifactId>
12 <groupId>com.highstreet.technologies.odl.dlux</groupId>
13 <version>0.5.1-SNAPSHOT</version>
18 <groupId>org.osgi</groupId>
19 <artifactId>org.osgi.core</artifactId>
20 <version>${osgi.core.version}</version>
23 <groupId>org.osgi</groupId>
24 <artifactId>org.osgi.compendium</artifactId>
25 <version>${osgi.core.version}</version>
28 <groupId>org.apache.felix</groupId>
29 <artifactId>org.osgi.compendium</artifactId>
30 <version>${apache.felix.compendium}</version>
33 <groupId>org.opendaylight.dlux</groupId>
34 <artifactId>loader</artifactId>
35 <version>${dlux.loader.version}</version>
38 <groupId>com.highstreet.technologies.odl.dlux</groupId>
39 <artifactId>ethService-module</artifactId>
40 <version>${project.version}</version>
46 <directory>target/generated-resources</directory>
49 <directory>src/main/resources</directory>
54 <groupId>org.apache.maven.plugins</groupId>
55 <artifactId>maven-dependency-plugin</artifactId>
56 <version>2.6</version>
58 <!--loader Resources -->
60 <id>unpack-loader-resources</id>
62 <goal>unpack-dependencies</goal>
64 <phase>generate-resources</phase>
66 <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
67 <groupId>com.highstreet.technologies.odl.dlux</groupId>
68 <includeArtifactIds>ethService-module</includeArtifactIds>
69 <excludes>META-INF\/**</excludes>
70 <excludeTransitive>true</excludeTransitive>
71 <ignorePermissions>false</ignorePermissions>
77 <groupId>org.apache.felix</groupId>
78 <artifactId>maven-bundle-plugin</artifactId>
79 <extensions>true</extensions>
82 <Import-Package>org.osgi.service.http,
83 org.osgi.framework;version="1.0.0",
84 org.opendaylight.dlux.loader
86 <Export-Package></Export-Package>
91 <artifactId>maven-resources-plugin</artifactId>
92 <version>3.0.1</version>
95 <id>copy-resources</id>
96 <!- - here the phase you need - ->
97 <phase>package</phase>
99 <goal>copy-resources</goal>
102 <outputDirectory>../../deploy</outputDirectory>
105 <directory>target</directory>
107 <include>${project.artifactId}-${project.version}.jar</include>
109 <filtering>true</filtering>