Pull in PowerMock from odlparent
[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.aaa</groupId>
12     <artifactId>aaa-parent</artifactId>
13     <version>0.4.0-SNAPSHOT</version>
14     <relativePath>../parent/</relativePath>
15   </parent>
16
17   <modelVersion>4.0.0</modelVersion>
18   <artifactId>aaa-cert</artifactId>
19   <packaging>bundle</packaging>
20
21   <properties>
22     <openflowplugin.version>0.3.0-SNAPSHOT</openflowplugin.version>
23     <openflow.protocol.spi.version>0.8.0-SNAPSHOT</openflow.protocol.spi.version>
24   </properties>
25
26
27   <dependencies>
28     <dependency>
29       <groupId>org.opendaylight.controller</groupId>
30       <artifactId>sal-binding-config</artifactId>
31     </dependency>
32
33     <!-- Bouncy Castle dependency -->
34     <dependency>
35         <groupId>org.bouncycastle</groupId>
36         <artifactId>bcprov-jdk15on</artifactId>
37     </dependency>
38     <dependency>
39         <groupId>commons-codec</groupId>
40         <artifactId>commons-codec</artifactId>
41     </dependency>
42
43     <!-- openflow dependency -->
44     <dependency>
45       <groupId>org.opendaylight.openflowplugin</groupId>
46       <artifactId>features-openflowplugin</artifactId>
47       <classifier>features</classifier>
48       <version>${openflowplugin.version}</version>
49       <type>xml</type>
50       <scope>runtime</scope>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.openflowjava</groupId>
54       <artifactId>openflow-protocol-spi</artifactId>
55       <version>${openflow.protocol.spi.version}</version>
56     </dependency>
57
58     <!-- Testing Dependencies -->
59     <dependency>
60       <groupId>junit</groupId>
61       <artifactId>junit</artifactId>
62       <scope>test</scope>
63     </dependency>
64     <dependency>
65       <groupId>org.mockito</groupId>
66       <artifactId>mockito-all</artifactId>
67       <scope>test</scope>
68     </dependency>
69     <dependency>
70       <groupId>org.powermock</groupId>
71       <artifactId>powermock-core</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.powermock</groupId>
76       <artifactId>powermock-module-junit4</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.powermock</groupId>
81       <artifactId>powermock-api-mockito</artifactId>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.powermock</groupId>
86       <artifactId>powermock-api-support</artifactId>
87       <scope>test</scope>
88     </dependency>
89   </dependencies>
90
91   <build>
92     <plugins>
93       <plugin>
94         <groupId>org.apache.felix</groupId>
95         <artifactId>maven-bundle-plugin</artifactId>
96         <extensions>true</extensions>
97       </plugin>
98       <plugin>
99         <groupId>org.codehaus.mojo</groupId>
100         <artifactId>build-helper-maven-plugin</artifactId>
101         <executions>
102           <execution>
103             <id>attach-artifacts</id>
104             <goals>
105               <goal>attach-artifact</goal>
106             </goals>
107             <phase>package</phase>
108             <configuration>
109               <artifacts>
110                 <artifact>
111                   <file>${project.build.directory}/classes/initial/08-aaa-cert-config.xml</file>
112                   <type>xml</type>
113                   <classifier>config</classifier>
114                 </artifact>
115               </artifacts>
116             </configuration>
117           </execution>
118         </executions>
119       </plugin>
120       <plugin>
121         <groupId>org.opendaylight.yangtools</groupId>
122         <artifactId>yang-maven-plugin</artifactId>
123         <version>${yangtools.version}</version>
124         <executions>
125           <execution>
126             <id>config</id>
127             <goals>
128               <goal>generate-sources</goal>
129             </goals>
130             <configuration>
131               <codeGenerators>
132                 <generator>
133                 <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
134                 <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
135                 <additionalConfiguration>
136                   <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
137                   </additionalConfiguration>
138                 </generator>
139                 <generator>
140                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
141                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
142                 </generator>
143               </codeGenerators>
144               <inspectDependencies>true</inspectDependencies>
145             </configuration>
146           </execution>
147         </executions>
148         <dependencies>
149           <dependency>
150             <groupId>org.opendaylight.controller</groupId>
151             <artifactId>yang-jmx-generator-plugin</artifactId>
152             <version>${config.version}</version>
153           </dependency>
154           <dependency>
155             <groupId>org.opendaylight.mdsal</groupId>
156             <artifactId>maven-sal-api-gen-plugin</artifactId>
157             <version>${mdsal.model.version}</version>
158           </dependency>
159         </dependencies>
160       </plugin>
161     </plugins>
162   </build>
163 </project>