Bump versions to 5.0.2-SNAPSHOT
[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>5.0.2-SNAPSHOT</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-jdk15on</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-jdk15on</includeArtifactIds>
48                         </configuration>
49                     </execution>
50                 </executions>
51             </plugin>
52             <plugin>
53                 <groupId>org.opendaylight.odlparent</groupId>
54                 <artifactId>filter-manifest-plugin</artifactId>
55                 <version>${project.version}</version>
56                 <executions>
57                     <execution>
58                         <id>filter-manifest</id>
59                         <phase>generate-resources</phase>
60                         <goals>
61                             <goal>filter-manifest</goal>
62                         </goals>
63                         <configuration>
64                             <inputFile>${project.build.directory}/dependency/META-INF/MANIFEST.MF</inputFile>
65                             <outputFile>${project.build.directory}/MANIFEST.MF</outputFile>
66                             <retainedAttributes>
67                                 <retainedAttribute>Export-Package</retainedAttribute>
68                             </retainedAttributes>
69                         </configuration>
70                     </execution>
71                 </executions>
72             </plugin>
73             <plugin>
74                 <groupId>org.apache.felix</groupId>
75                 <artifactId>maven-bundle-plugin</artifactId>
76                 <configuration>
77                     <instructions>
78                         <_include>${project.build.directory}/MANIFEST.MF</_include>
79                         <Fragment-Host>system.bundle;extension:=framework</Fragment-Host>
80                     </instructions>
81                 </configuration>
82             </plugin>
83         </plugins>
84     </build>
85 </project>