Expose Provide-Capability from aaa-cert
[aaa.git] / aaa-cert / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (c) 2015, 2017 Inocybe Technology. All rights reserved.
4 This program and the accompanying materials are made available under the
5 terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
7 -->
8 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
9
10   <parent>
11     <groupId>org.opendaylight.aaa</groupId>
12     <artifactId>aaa-parent</artifactId>
13     <version>0.19.0-SNAPSHOT</version>
14     <relativePath>../parent</relativePath>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <groupId>org.opendaylight.aaa</groupId>
19   <artifactId>aaa-cert</artifactId>
20   <name>ODL :: aaa :: ${project.artifactId}</name>
21   <packaging>bundle</packaging>
22
23   <dependencies>
24     <dependency>
25       <groupId>com.github.spotbugs</groupId>
26       <artifactId>spotbugs-annotations</artifactId>
27       <optional>true</optional>
28     </dependency>
29     <dependency>
30       <groupId>org.apache.commons</groupId>
31       <artifactId>commons-lang3</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.bouncycastle</groupId>
35       <artifactId>bcprov-jdk18on</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>org.opendaylight.aaa</groupId>
39       <artifactId>aaa-encrypt-service</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>org.opendaylight.mdsal</groupId>
43       <artifactId>mdsal-binding-api</artifactId>
44     </dependency>
45   </dependencies>
46
47   <build>
48     <plugins>
49       <plugin>
50         <groupId>org.apache.felix</groupId>
51         <artifactId>maven-bundle-plugin</artifactId>
52         <extensions>true</extensions>
53         <configuration>
54           <instructions>
55             <Export-Package>
56               org.opendaylight.aaa.cert.api.*,
57               org.opendaylight.aaa.cert.impl.*,
58               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
59             </Export-Package>
60             <Provide-Capability>
61               osgi.service;objectClass:List&lt;String&gt;="org.opendaylight.aaa.cert.api.ICertificateManager";uses:="org.opendaylight.aaa.cert.api"
62             </Provide-Capability>
63           </instructions>
64         </configuration>
65       </plugin>
66       <plugin>
67         <groupId>org.codehaus.mojo</groupId>
68         <artifactId>build-helper-maven-plugin</artifactId>
69         <executions>
70           <execution>
71             <id>attach-artifacts</id>
72             <goals>
73               <goal>attach-artifact</goal>
74             </goals>
75             <phase>package</phase>
76             <configuration>
77               <artifacts>
78                 <artifact>
79                   <file>${project.build.directory}/classes/initial/aaa-cert-config.xml</file>
80                   <type>xml</type>
81                   <classifier>config</classifier>
82                 </artifact>
83               </artifacts>
84             </configuration>
85           </execution>
86         </executions>
87       </plugin>
88     </plugins>
89   </build>
90 </project>