Upgrade powermock to 2.0.0
[ovsdb.git] / southbound / southbound-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4 Copyright © 2014, 2016 Cisco Systems, Inc. and others.  All rights reserved.
5
6 This program and the accompanying materials are made available under the
7 terms of the Eclipse Public License v1.0 which accompanies this distribution,
8 and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <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">
11
12   <parent>
13     <groupId>org.opendaylight.ovsdb</groupId>
14     <artifactId>ovsdb-binding-parent</artifactId>
15     <version>1.9.0-SNAPSHOT</version>
16     <relativePath>../../commons/binding-parent</relativePath>
17   </parent>
18
19   <modelVersion>4.0.0</modelVersion>
20   <groupId>org.opendaylight.ovsdb</groupId>
21   <artifactId>southbound-impl</artifactId>
22   <version>1.9.0-SNAPSHOT</version>
23   <packaging>bundle</packaging>
24   <!-- <name> formatting is used by autorelease to parse and notify projects on
25        build failure. Please do not modify this unless you have a good reason. -->
26   <name>ODL :: ovsdb :: ${project.artifactId}</name>
27   <properties>
28     <sonar.jacoco.itReportPath>../southbound-it/target/jacoco-it.exec</sonar.jacoco.itReportPath>
29   </properties>
30
31   <dependencies>
32     <dependency>
33       <groupId>org.opendaylight.controller</groupId>
34       <artifactId>sal-binding-api</artifactId>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.mdsal</groupId>
38       <artifactId>mdsal-dom-api</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.mdsal</groupId>
42       <artifactId>mdsal-binding-dom-codec</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>org.opendaylight.mdsal</groupId>
46       <artifactId>mdsal-eos-binding-api</artifactId>
47     </dependency>
48     <!-- project specific dependencies -->
49     <dependency>
50       <groupId>${project.groupId}</groupId>
51       <artifactId>southbound-api</artifactId>
52       <version>${project.version}</version>
53     </dependency>
54     <dependency>
55       <groupId>${project.groupId}</groupId>
56       <artifactId>library</artifactId>
57       <version>${project.version}</version>
58     </dependency>
59     <dependency>
60       <groupId>${project.groupId}</groupId>
61       <artifactId>schema.openvswitch</artifactId>
62       <version>${project.version}</version>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.ovsdb</groupId>
66       <artifactId>utils.yang-utils</artifactId>
67       <version>${project.version}</version>
68     </dependency>
69     <dependency>
70       <groupId>com.google.guava</groupId>
71       <artifactId>guava</artifactId>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.infrautils</groupId>
75       <artifactId>ready-api</artifactId>
76       <version>1.6.0-SNAPSHOT</version>
77     </dependency>
78     <!-- external dependencies -->
79     <dependency>
80       <groupId>org.opendaylight.infrautils</groupId>
81       <artifactId>diagstatus-api</artifactId>
82       <version>1.6.0-SNAPSHOT</version>
83     </dependency>
84     <dependency>
85       <groupId>javax.inject</groupId>
86       <artifactId>javax.inject</artifactId>
87       <optional>true</optional>
88     </dependency>
89     <dependency>
90       <groupId>org.apache.aries.blueprint</groupId>
91       <artifactId>blueprint-maven-plugin-annotation</artifactId>
92       <optional>true</optional>
93     </dependency>
94     <dependency>
95       <groupId>javax.annotation</groupId>
96       <artifactId>javax.annotation-api</artifactId>
97       <optional>true</optional>
98     </dependency>
99     <dependency>
100       <groupId>org.sonarsource.java</groupId>
101       <artifactId>sonar-jacoco-listeners</artifactId>
102       <version>${sonar-jacoco-listeners.version}</version>
103       <scope>test</scope>
104     </dependency>
105     <dependency>
106       <groupId>org.slf4j</groupId>
107       <artifactId>slf4j-simple</artifactId>
108       <scope>test</scope>
109     </dependency>
110     <!-- testing dependencies -->
111     <dependency>
112       <groupId>junit</groupId>
113       <artifactId>junit</artifactId>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.powermock</groupId>
118       <artifactId>powermock-api-mockito2</artifactId>
119       <version>2.0.0</version>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.powermock</groupId>
124       <artifactId>powermock-module-junit4</artifactId>
125       <version>2.0.0</version>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.powermock</groupId>
130       <artifactId>powermock-api-support</artifactId>
131       <version>2.0.0</version>
132       <scope>test</scope>
133     </dependency>
134     <dependency>
135       <groupId>org.powermock</groupId>
136       <artifactId>powermock-reflect</artifactId>
137       <version>2.0.0</version>
138       <scope>test</scope>
139     </dependency>
140     <dependency>
141       <groupId>org.powermock</groupId>
142       <artifactId>powermock-core</artifactId>
143       <version>2.0.0</version>
144       <scope>test</scope>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.controller</groupId>
148       <artifactId>sal-binding-broker-impl</artifactId>
149       <scope>test</scope>
150     </dependency>
151     <dependency>
152       <groupId>org.opendaylight.controller</groupId>
153       <artifactId>sal-binding-broker-impl</artifactId>
154       <type>test-jar</type>
155       <scope>test</scope>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.ovsdb</groupId>
159       <artifactId>utils.southbound-utils</artifactId>
160       <version>${project.version}</version>
161       <scope>test</scope>
162     </dependency>
163   </dependencies>
164   <build>
165     <plugins>
166       <plugin>
167         <groupId>org.apache.aries.blueprint</groupId>
168         <artifactId>blueprint-maven-plugin</artifactId>
169         <configuration>
170           <scanPaths>org.opendaylight.ovsdb.southbound</scanPaths>
171         </configuration>
172       </plugin>
173       <plugin>
174         <groupId>org.apache.felix</groupId>
175         <artifactId>maven-bundle-plugin</artifactId>
176         <configuration>
177           <instructions>
178             <Export-Package>
179               org.opendaylight.ovsdb.southbound,
180               org.opendaylight.ovsdb.southbound.*,
181               org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.southbound.impl.rev141210.*</Export-Package>
182           </instructions>
183         </configuration>
184       </plugin>
185       <plugin>
186         <groupId>org.apache.maven.plugins</groupId>
187         <artifactId>maven-surefire-plugin</artifactId>
188         <configuration>
189           <properties>
190             <property>
191               <name>listener</name>
192               <value>org.sonar.java.jacoco.JUnitListener</value>
193             </property>
194           </properties>
195         </configuration>
196       </plugin>
197       <plugin>
198         <groupId>org.codehaus.mojo</groupId>
199         <artifactId>build-helper-maven-plugin</artifactId>
200         <executions>
201           <execution>
202             <id>attach-artifacts</id>
203             <goals>
204               <goal>attach-artifact</goal>
205             </goals>
206             <phase>package</phase>
207             <configuration>
208               <artifacts>
209                 <artifact>
210                   <file>${project.build.directory}/classes/initial/southbound.cfg</file>
211                   <type>cfg</type>
212                   <classifier>config</classifier>
213                 </artifact>
214               </artifacts>
215             </configuration>
216           </execution>
217         </executions>
218       </plugin>
219     </plugins>
220   </build>
221
222   <!--
223       Maven Site Configuration
224
225       The following configuration is necessary for maven-site-plugin to
226       correctly identify the correct deployment path for OpenDaylight Maven
227       sites.
228   -->
229   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
230
231   <distributionManagement>
232     <site>
233       <id>opendaylight-site</id>
234       <url>${nexus.site.url}/${project.artifactId}/</url>
235     </site>
236   </distributionManagement>
237 </project>