Replace mockito-all by mockito-core (see Bug 7662)
[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
51     <!-- Testing Dependencies -->
52     <dependency>
53       <groupId>junit</groupId>
54       <artifactId>junit</artifactId>
55       <scope>test</scope>
56     </dependency>
57     <dependency>
58       <groupId>org.mockito</groupId>
59       <artifactId>mockito-core</artifactId>
60       <scope>test</scope>
61     </dependency>
62     <dependency>
63       <groupId>org.powermock</groupId>
64       <artifactId>powermock-core</artifactId>
65       <scope>test</scope>
66     </dependency>
67     <dependency>
68       <groupId>org.powermock</groupId>
69       <artifactId>powermock-module-junit4</artifactId>
70       <scope>test</scope>
71     </dependency>
72     <dependency>
73       <groupId>org.powermock</groupId>
74       <artifactId>powermock-api-mockito</artifactId>
75       <scope>test</scope>
76     </dependency>
77     <dependency>
78       <groupId>org.powermock</groupId>
79       <artifactId>powermock-api-support</artifactId>
80       <scope>test</scope>
81     </dependency>
82   </dependencies>
83
84   <build>
85     <plugins>
86       <plugin>
87         <groupId>org.apache.felix</groupId>
88         <artifactId>maven-bundle-plugin</artifactId>
89         <extensions>true</extensions>
90         <configuration>
91           <instructions>
92             <Export-Package>
93               org.opendaylight.aaa.cert.api.*,
94               org.opendaylight.aaa.cert.impl.*,
95               org.opendaylight.yang.gen.v1.urn.opendaylight.yang.aaa.cert.rev151126.*
96             </Export-Package>
97           </instructions>
98         </configuration>
99       </plugin>
100       <plugin>
101         <groupId>org.codehaus.mojo</groupId>
102         <artifactId>build-helper-maven-plugin</artifactId>
103         <executions>
104           <execution>
105             <id>attach-artifacts</id>
106             <goals>
107               <goal>attach-artifact</goal>
108             </goals>
109             <phase>package</phase>
110             <configuration>
111               <artifacts>
112                 <artifact>
113                   <file>${project.build.directory}/classes/initial/aaa-cert-config.xml</file>
114                   <type>xml</type>
115                   <classifier>config</classifier>
116                 </artifact>
117               </artifacts>
118             </configuration>
119           </execution>
120         </executions>
121       </plugin>
122     </plugins>
123   </build>
124 </project>