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