Release odlparent
[odlparent.git] / karaf / bcprov-framework-ext / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright © 2019 Pantheon Technologies, s.r.o. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <parent>
14         <groupId>org.opendaylight.odlparent</groupId>
15         <artifactId>bundle-parent</artifactId>
16         <version>13.0.9</version>
17         <relativePath>../../bundle-parent</relativePath>
18     </parent>
19
20     <modelVersion>4.0.0</modelVersion>
21     <artifactId>bcprov-framework-ext</artifactId>
22     <packaging>bundle</packaging>
23     <name>ODL :: odlparent :: ${project.artifactId}</name>
24
25     <dependencies>
26         <dependency>
27             <groupId>org.bouncycastle</groupId>
28             <artifactId>bcprov-ext-jdk18on</artifactId>
29             <scope>provided</scope>
30         </dependency>
31     </dependencies>
32
33     <build>
34         <plugins>
35             <plugin>
36                 <groupId>org.apache.maven.plugins</groupId>
37                 <artifactId>maven-dependency-plugin</artifactId>
38                 <executions>
39                     <execution>
40                         <id>unpack-dependencies</id>
41                         <phase>generate-resources</phase>
42                         <goals>
43                             <goal>unpack-dependencies</goal>
44                         </goals>
45                         <configuration>
46                             <includes>**/MANIFEST.MF</includes>
47                             <includeArtifactIds>bcprov-ext-jdk18on</includeArtifactIds>
48                             <silent>true</silent>
49                         </configuration>
50                     </execution>
51                 </executions>
52             </plugin>
53             <plugin>
54                 <groupId>org.opendaylight.odlparent</groupId>
55                 <artifactId>filter-manifest-plugin</artifactId>
56                 <version>${project.version}</version>
57                 <executions>
58                     <execution>
59                         <id>filter-manifest</id>
60                         <phase>generate-resources</phase>
61                         <goals>
62                             <goal>filter-manifest</goal>
63                         </goals>
64                         <configuration>
65                             <inputFile>${project.build.directory}/dependency/META-INF/MANIFEST.MF</inputFile>
66                             <outputFile>${project.build.directory}/MANIFEST.MF</outputFile>
67                             <retainedAttributes>
68                                 <retainedAttribute>Export-Package</retainedAttribute>
69                             </retainedAttributes>
70                         </configuration>
71                     </execution>
72                 </executions>
73             </plugin>
74             <plugin>
75                 <groupId>org.apache.felix</groupId>
76                 <artifactId>maven-bundle-plugin</artifactId>
77                 <configuration>
78                     <instructions>
79                         <_include>${project.build.directory}/MANIFEST.MF</_include>
80                         <Fragment-Host>system.bundle;extension:=framework</Fragment-Host>
81                     </instructions>
82                 </configuration>
83             </plugin>
84         </plugins>
85     </build>
86 </project>