Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / ethService / ethService-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"
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>
5
6  <artifactId>ethService-bundle</artifactId>
7  <packaging>bundle</packaging>
8  <name>${prefix} ${project.artifactId}</name>
9
10  <parent>
11   <artifactId>ethService</artifactId>
12   <groupId>com.highstreet.technologies.odl.dlux</groupId>
13   <version>0.5.1-SNAPSHOT</version>
14  </parent>
15
16  <dependencies>
17   <dependency>
18    <groupId>org.osgi</groupId>
19    <artifactId>org.osgi.core</artifactId>
20    <version>${osgi.core.version}</version>
21   </dependency>
22   <dependency>
23    <groupId>org.osgi</groupId>
24    <artifactId>org.osgi.compendium</artifactId>
25    <version>${osgi.core.version}</version>
26   </dependency>
27   <dependency>
28    <groupId>org.apache.felix</groupId>
29    <artifactId>org.osgi.compendium</artifactId>
30    <version>${apache.felix.compendium}</version>
31   </dependency>
32   <dependency>
33    <groupId>org.opendaylight.dlux</groupId>
34    <artifactId>loader</artifactId>
35    <version>${dlux.loader.version}</version>
36   </dependency>
37   <dependency>
38    <groupId>com.highstreet.technologies.odl.dlux</groupId>
39    <artifactId>ethService-module</artifactId>
40    <version>${project.version}</version>
41   </dependency>
42  </dependencies>
43  <build>
44   <resources>
45    <resource>
46     <directory>target/generated-resources</directory>
47    </resource>
48    <resource>
49     <directory>src/main/resources</directory>
50    </resource>
51   </resources>
52   <plugins>
53    <plugin>
54     <groupId>org.apache.maven.plugins</groupId>
55     <artifactId>maven-dependency-plugin</artifactId>
56     <version>2.6</version>
57     <executions>
58      <!--loader Resources -->
59      <execution>
60       <id>unpack-loader-resources</id>
61       <goals>
62        <goal>unpack-dependencies</goal>
63       </goals>
64       <phase>generate-resources</phase>
65       <configuration>
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>
72       </configuration>
73      </execution>
74     </executions>
75    </plugin>
76    <plugin>
77     <groupId>org.apache.felix</groupId>
78     <artifactId>maven-bundle-plugin</artifactId>
79     <extensions>true</extensions>
80     <configuration>
81      <instructions>
82       <Import-Package>org.osgi.service.http,
83        org.osgi.framework;version="1.0.0",
84        org.opendaylight.dlux.loader
85       </Import-Package>
86       <Export-Package></Export-Package>
87      </instructions>
88     </configuration>
89    </plugin>
90    <!-- <plugin>
91     <artifactId>maven-resources-plugin</artifactId>
92     <version>3.0.1</version>
93     <executions>
94      <execution>
95       <id>copy-resources</id>
96       <!- - here the phase you need - ->
97       <phase>package</phase>
98       <goals>
99        <goal>copy-resources</goal>
100       </goals>
101       <configuration>
102        <outputDirectory>../../deploy</outputDirectory>
103        <resources>
104         <resource>
105          <directory>target</directory>
106          <includes>
107           <include>${project.artifactId}-${project.version}.jar</include>
108          </includes>
109          <filtering>true</filtering>
110         </resource>
111        </resources>
112       </configuration>
113      </execution>
114     </executions>
115    </plugin> -->
116   </plugins>
117  </build>
118 </project>