Merge "Split aaa-encryption-service api and impl"
[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"
9   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10
11   <parent>
12     <groupId>org.opendaylight.aaa</groupId>
13     <artifactId>aaa-parent</artifactId>
14     <version>0.8.0-SNAPSHOT</version>
15     <relativePath>../parent</relativePath>
16   </parent>
17
18   <modelVersion>4.0.0</modelVersion>
19   <groupId>org.opendaylight.aaa</groupId>
20   <artifactId>aaa-cert</artifactId>
21   <name>ODL :: aaa :: ${project.artifactId}</name>
22   <packaging>bundle</packaging>
23
24   <dependencies>
25     <dependency>
26       <groupId>org.opendaylight.aaa</groupId>
27       <artifactId>aaa-encrypt-service</artifactId>
28     </dependency>
29     <dependency>
30       <groupId>org.opendaylight.controller</groupId>
31       <artifactId>sal-binding-api</artifactId>
32     </dependency>
33     <dependency>
34       <groupId>org.apache.commons</groupId>
35       <artifactId>commons-text</artifactId>
36     </dependency>
37
38     <!-- Bouncy Castle dependency -->
39     <dependency>
40       <groupId>org.bouncycastle</groupId>
41       <artifactId>bcprov-jdk15on</artifactId>
42     </dependency>
43
44     <!-- Testing Dependencies -->
45     <dependency>
46       <groupId>junit</groupId>
47       <artifactId>junit</artifactId>
48       <scope>test</scope>
49     </dependency>
50     <dependency>
51       <groupId>org.mockito</groupId>
52       <artifactId>mockito-core</artifactId>
53       <scope>test</scope>
54     </dependency>
55     <dependency>
56       <groupId>org.powermock</groupId>
57       <artifactId>powermock-core</artifactId>
58       <scope>test</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.powermock</groupId>
62       <artifactId>powermock-module-junit4</artifactId>
63       <scope>test</scope>
64     </dependency>
65     <dependency>
66       <groupId>org.powermock</groupId>
67       <artifactId>powermock-api-mockito</artifactId>
68       <scope>test</scope>
69     </dependency>
70     <dependency>
71       <groupId>org.powermock</groupId>
72       <artifactId>powermock-api-support</artifactId>
73       <scope>test</scope>
74     </dependency>
75   </dependencies>
76
77   <build>
78     <plugins>
79       <plugin>
80         <groupId>org.apache.felix</groupId>
81         <artifactId>maven-bundle-plugin</artifactId>
82         <extensions>true</extensions>
83         <configuration>
84           <instructions>
85             <Export-Package>
86               org.opendaylight.aaa.cert.api.*,
87               org.opendaylight.aaa.cert.impl.*,
88               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
89             </Export-Package>
90           </instructions>
91         </configuration>
92       </plugin>
93       <plugin>
94         <groupId>org.codehaus.mojo</groupId>
95         <artifactId>build-helper-maven-plugin</artifactId>
96         <executions>
97           <execution>
98             <id>attach-artifacts</id>
99             <goals>
100               <goal>attach-artifact</goal>
101             </goals>
102             <phase>package</phase>
103             <configuration>
104               <artifacts>
105                 <artifact>
106                   <file>${project.build.directory}/classes/initial/aaa-cert-config.xml</file>
107                   <type>xml</type>
108                   <classifier>config</classifier>
109                 </artifact>
110               </artifacts>
111             </configuration>
112           </execution>
113         </executions>
114       </plugin>
115     </plugins>
116   </build>
117 </project>