Enable PowerMock instrumentation with JaCoCo
[ovsdb.git] / utils / config / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 Copyright (C) 2014 Red Hat, Inc. and others. All rights reserved.
4
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <project xmlns="http://maven.apache.org/POM/4.0.0"
10          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12   <modelVersion>4.0.0</modelVersion>
13
14   <parent>
15     <groupId>org.opendaylight.controller</groupId>
16     <artifactId>config-parent</artifactId>
17     <version>0.4.0-SNAPSHOT</version>
18     <relativePath/>
19   </parent>
20
21   <groupId>org.opendaylight.ovsdb</groupId>
22   <artifactId>utils.config</artifactId>
23   <name>${project.artifactId}</name>
24   <version>1.2.1-SNAPSHOT</version>
25   <packaging>jar</packaging>
26   <description>The OVSDB Plugin integration project is a project for OpenDaylight that will implement the Open vSwitch Database RFC 7047 management protocol allowing the Southbound configuration of vSwitches and a network virtualization implementation.</description>
27   <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
28   <licenses>
29     <license>
30       <name>Eclipse Public License v1.0</name>
31       <url>http://www.eclipse.org/legal/epl-v10.html</url>
32     </license>
33   </licenses>
34   <developers>
35     <developer>
36       <name>Sam Hague</name>
37       <email>shague@gmail.com</email>
38       <url>https://github.com/shague</url>
39     </developer>
40   </developers>
41   <scm>
42     <connection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</connection>
43     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/ovsdb.git</developerConnection>
44     <tag>HEAD</tag>
45     <url>https://wiki.opendaylight.org/view/OVSDB_Integration:Main</url>
46   </scm>
47
48   <properties>
49     <powermock.version>1.6.4</powermock.version>
50   </properties>
51
52   <dependencies>
53     <!-- testing dependencies -->
54     <dependency>
55       <groupId>org.mockito</groupId>
56       <artifactId>mockito-core</artifactId>
57       <version>1.10.19</version>
58       <scope>test</scope>
59     </dependency>
60     <dependency>
61       <groupId>org.powermock</groupId>
62       <artifactId>powermock-api-mockito</artifactId>
63       <scope>test</scope>
64       <version>${powermock.version}</version>
65     </dependency>
66     <dependency>
67       <groupId>org.powermock</groupId>
68       <artifactId>powermock-core</artifactId>
69       <version>${powermock.version}</version>
70       <scope>test</scope>
71     </dependency>
72     <dependency>
73       <groupId>org.powermock</groupId>
74       <artifactId>powermock-module-junit4</artifactId>
75       <scope>test</scope>
76       <version>${powermock.version}</version>
77     </dependency>
78   </dependencies>
79
80   <build>
81     <plugins>
82       <plugin>
83         <groupId>org.jacoco</groupId>
84         <artifactId>jacoco-maven-plugin</artifactId>
85         <executions>
86           <execution>
87             <id>default-instrument</id>
88             <goals>
89               <goal>instrument</goal>
90             </goals>
91           </execution>
92           <execution>
93             <id>default-restore-instrumented-classes</id>
94             <goals>
95               <goal>restore-instrumented-classes</goal>
96             </goals>
97           </execution>
98         </executions>
99       </plugin>
100     </plugins>
101   </build>
102 </project>