Assign image keyname and pubkey at vnf level
[ccsdk/apps.git] / sdnr / wireless-transport / code-Carbon-SR1 / ux / security / security-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         <groupId>org.onap.sdnc.dluxapps</groupId>
7         <artifactId>security</artifactId>
8         <version>0.5.1</version>
9     </parent>
10
11     <groupId>org.onap.sdnc.dluxapps</groupId>
12     <artifactId>security-bundle</artifactId>
13     <packaging>bundle</packaging>
14     <!-- <name> formatting is used by autorelease to parse and notify projects on
15          build failure. Please do not modify this unless you have a good reason. -->
16     <name>${prefix} ${project.artifactId}</name>
17
18     <dependencies>
19         <dependency>
20             <groupId>org.opendaylight.dlux</groupId>
21             <artifactId>loader</artifactId>
22             <version>0.5.1-Carbon</version>
23         </dependency>
24         <dependency>
25             <groupId>org.onap.sdnc.dluxapps</groupId>
26             <artifactId>security-module</artifactId>
27             <version>0.5.1</version>
28             <scope>provided</scope>
29         </dependency>
30     </dependencies>
31     <build>
32         <resources>
33             <resource>
34                 <directory>target/generated-resources</directory>
35             </resource>
36             <resource>
37                 <directory>src/main/resources</directory>
38             </resource>
39         </resources>
40         <plugins>
41             <plugin>
42                 <groupId>org.apache.maven.plugins</groupId>
43                 <artifactId>maven-dependency-plugin</artifactId>
44                 <executions>
45                     <!--loader Resources-->
46                     <execution>
47                         <id>unpack-loader-resources</id>
48                         <goals>
49                             <goal>unpack-dependencies</goal>
50                         </goals>
51                         <phase>generate-resources</phase>
52                         <configuration>
53                             <outputDirectory>${project.build.directory}/generated-resources</outputDirectory>
54                             <groupId>org.onap.sdnc.dluxapps</groupId>
55                             <includeArtifactIds>security-module</includeArtifactIds>
56                             <!-- <includes>security/src\/**</includes> -->
57                             <excludes>META-INF\/**</excludes>
58                             <excludeTransitive>true</excludeTransitive>
59                             <ignorePermissions>false</ignorePermissions>
60                         </configuration>
61                     </execution>
62                 </executions>
63             </plugin>
64             <plugin>
65                 <groupId>org.apache.felix</groupId>
66                 <artifactId>maven-bundle-plugin</artifactId>
67                 <extensions>true</extensions>
68                 <configuration>
69                     <instructions>
70                         <Import-Package>org.osgi.service.http,
71                             org.osgi.framework;version="1.0.0",
72                             org.opendaylight.dlux.loader
73                         </Import-Package>
74                         <Export-Package></Export-Package>
75                     </instructions>
76                 </configuration>
77             </plugin>
78         </plugins>
79     </build>
80 </project>