4b6091b4294f7ecd2a5ef103d1729440138f5193
[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.2.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>com.typesafe.akka</groupId>
64       <artifactId>akka-slf4j_${scala.version}</artifactId>
65     </dependency>
66
67
68       <!-- Test Dependencies -->
69     <dependency>
70       <groupId>junit</groupId>
71       <artifactId>junit</artifactId>
72       <scope>test</scope>
73     </dependency>
74     <dependency>
75       <groupId>org.mockito</groupId>
76       <artifactId>mockito-all</artifactId>
77       <scope>test</scope>
78     </dependency>
79
80     <dependency>
81       <groupId>org.slf4j</groupId>
82       <artifactId>slf4j-simple</artifactId>
83       <scope>test</scope>
84     </dependency>
85
86   </dependencies>
87
88   <build>
89     <plugins>
90
91       <plugin>
92         <groupId>org.apache.felix</groupId>
93         <artifactId>maven-bundle-plugin</artifactId>
94         <extensions>true</extensions>
95         <configuration>
96           <instructions>
97             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
98             <Export-package>org.opendaylight.cluster.raft</Export-package>
99             <Import-Package>*</Import-Package>
100             <DynamicImport-Package>*</DynamicImport-Package>
101           </instructions>
102         </configuration>
103       </plugin>
104
105       <plugin>
106         <groupId>org.apache.maven.plugins</groupId>
107         <artifactId>maven-jar-plugin</artifactId>
108         <executions>
109           <execution>
110             <goals>
111               <goal>test-jar</goal>
112             </goals>
113           </execution>
114         </executions>
115       </plugin>
116
117       <plugin>
118         <groupId>org.jacoco</groupId>
119         <artifactId>jacoco-maven-plugin</artifactId>
120         <configuration>
121           <includes>
122             <include>org/opendaylight/controller/cluster/**/*</include>
123           </includes>
124           <excludes>
125               <exclude>org/opendaylight/controller/cluster/raft/protobuff/**/*</exclude>
126               <exclude>org/opendaylight/controller/cluster/example/**/*</exclude>
127           </excludes>
128           <check>false</check>
129         </configuration>
130         <executions>
131           <execution>
132             <id>pre-test</id>
133             <goals>
134               <goal>prepare-agent</goal>
135             </goals>
136           </execution>
137           <execution>
138             <id>post-test</id>
139             <goals>
140               <goal>report</goal>
141             </goals>
142             <phase>test</phase>
143           </execution>
144         </executions>
145       </plugin>
146
147      <plugin>
148         <groupId>org.apache.maven.plugins</groupId>
149         <artifactId>maven-checkstyle-plugin</artifactId>
150         <configuration>
151             <excludes>**/protobuff/**/*</excludes>
152         </configuration>
153       </plugin>
154
155     </plugins>
156   </build>
157   <scm>
158     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
159     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
160     <tag>HEAD</tag>
161     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
162   </scm>
163 </project>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.