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