Add mockito-configuration to tests
[controller.git] / opendaylight / md-sal / sal-akka-raft / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>sal-parent</artifactId>
7     <version>1.3.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-akka-raft</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>org.opendaylight.controller</groupId>
15       <artifactId>sal-clustering-commons</artifactId>
16     </dependency>
17     <dependency>
18       <groupId>com.google.guava</groupId>
19       <artifactId>guava</artifactId>
20     </dependency>
21
22     <dependency>
23       <groupId>com.typesafe.akka</groupId>
24       <artifactId>akka-actor_${scala.version}</artifactId>
25     </dependency>
26
27     <dependency>
28       <groupId>com.typesafe.akka</groupId>
29       <artifactId>akka-cluster_${scala.version}</artifactId>
30     </dependency>
31
32     <dependency>
33       <groupId>com.typesafe.akka</groupId>
34       <artifactId>akka-persistence-experimental_${scala.version}</artifactId>
35     </dependency>
36
37     <dependency>
38       <groupId>com.typesafe.akka</groupId>
39       <artifactId>akka-remote_${scala.version}</artifactId>
40     </dependency>
41
42     <dependency>
43       <groupId>com.typesafe.akka</groupId>
44       <artifactId>akka-testkit_${scala.version}</artifactId>
45     </dependency>
46
47     <dependency>
48       <groupId>org.osgi</groupId>
49       <artifactId>org.osgi.core</artifactId>
50     </dependency>
51
52     <dependency>
53       <groupId>org.scala-lang</groupId>
54       <artifactId>scala-library</artifactId>
55     </dependency>
56
57     <dependency>
58       <groupId>commons-io</groupId>
59       <artifactId>commons-io</artifactId>
60     </dependency>
61
62     <dependency>
63       <groupId>org.apache.commons</groupId>
64       <artifactId>commons-lang3</artifactId>
65     </dependency>
66
67     <dependency>
68       <groupId>com.typesafe.akka</groupId>
69       <artifactId>akka-slf4j_${scala.version}</artifactId>
70     </dependency>
71
72
73       <!-- Test Dependencies -->
74     <dependency>
75       <groupId>junit</groupId>
76       <artifactId>junit</artifactId>
77       <scope>test</scope>
78     </dependency>
79     <dependency>
80       <groupId>org.mockito</groupId>
81       <artifactId>mockito-all</artifactId>
82       <scope>test</scope>
83     </dependency>
84     <dependency>
85       <groupId>org.opendaylight.yangtools</groupId>
86       <artifactId>mockito-configuration</artifactId>
87       <scope>test</scope>
88     </dependency>
89
90     <dependency>
91       <groupId>org.slf4j</groupId>
92       <artifactId>slf4j-simple</artifactId>
93       <scope>test</scope>
94     </dependency>
95
96   </dependencies>
97
98   <build>
99     <plugins>
100
101       <plugin>
102         <groupId>org.apache.felix</groupId>
103         <artifactId>maven-bundle-plugin</artifactId>
104         <extensions>true</extensions>
105         <configuration>
106           <instructions>
107             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
108             <Export-package>org.opendaylight.cluster.raft</Export-package>
109             <Import-Package>*</Import-Package>
110             <DynamicImport-Package>*</DynamicImport-Package>
111           </instructions>
112         </configuration>
113       </plugin>
114
115       <plugin>
116         <groupId>org.apache.maven.plugins</groupId>
117         <artifactId>maven-jar-plugin</artifactId>
118         <executions>
119           <execution>
120             <goals>
121               <goal>test-jar</goal>
122             </goals>
123           </execution>
124         </executions>
125       </plugin>
126
127       <plugin>
128         <groupId>org.jacoco</groupId>
129         <artifactId>jacoco-maven-plugin</artifactId>
130         <configuration>
131           <includes>
132             <include>org/opendaylight/controller/cluster/**/*</include>
133           </includes>
134           <excludes>
135               <exclude>org/opendaylight/controller/cluster/raft/protobuff/**/*</exclude>
136               <exclude>org/opendaylight/controller/cluster/example/**/*</exclude>
137           </excludes>
138           <check>false</check>
139         </configuration>
140         <executions>
141           <execution>
142             <id>pre-test</id>
143             <goals>
144               <goal>prepare-agent</goal>
145             </goals>
146           </execution>
147           <execution>
148             <id>post-test</id>
149             <goals>
150               <goal>report</goal>
151             </goals>
152             <phase>test</phase>
153           </execution>
154         </executions>
155       </plugin>
156
157      <plugin>
158         <groupId>org.apache.maven.plugins</groupId>
159         <artifactId>maven-checkstyle-plugin</artifactId>
160         <configuration>
161             <excludes>**/protobuff/**/*,**/target/**/*</excludes>
162         </configuration>
163       </plugin>
164
165     </plugins>
166   </build>
167   <scm>
168     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
169     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
170     <tag>HEAD</tag>
171     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
172   </scm>
173 </project>