63f163211ecdf10d91bf236c14c8eb79614924d2
[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
5   <parent>
6     <groupId>org.opendaylight.odlparent</groupId>
7     <artifactId>odlparent</artifactId>
8     <version>1.8.0-SNAPSHOT</version>
9     <relativePath/>
10   </parent>
11
12   <groupId>org.opendaylight.controller</groupId>
13   <version>1.5.0-SNAPSHOT</version>
14   <artifactId>sal-akka-raft</artifactId>
15   <packaging>bundle</packaging>
16
17   <dependencyManagement>
18     <dependencies>
19       <dependency>
20         <groupId>org.opendaylight.controller</groupId>
21         <artifactId>mdsal-artifacts</artifactId>
22         <version>1.5.0-SNAPSHOT</version>
23         <type>pom</type>
24         <scope>import</scope>
25       </dependency>
26     </dependencies>
27   </dependencyManagement>
28
29   <dependencies>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>sal-clustering-commons</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>com.google.guava</groupId>
36       <artifactId>guava</artifactId>
37     </dependency>
38
39     <dependency>
40       <groupId>com.typesafe.akka</groupId>
41       <artifactId>akka-actor_${scala.version}</artifactId>
42     </dependency>
43
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-cluster_${scala.version}</artifactId>
47     </dependency>
48
49     <dependency>
50       <groupId>com.typesafe.akka</groupId>
51       <artifactId>akka-persistence_${scala.version}</artifactId>
52     </dependency>
53
54     <dependency>
55       <groupId>com.typesafe.akka</groupId>
56       <artifactId>akka-remote_${scala.version}</artifactId>
57     </dependency>
58
59     <dependency>
60       <groupId>com.typesafe.akka</groupId>
61       <artifactId>akka-testkit_${scala.version}</artifactId>
62       <scope>test</scope>
63     </dependency>
64
65     <dependency>
66       <groupId>org.osgi</groupId>
67       <artifactId>org.osgi.core</artifactId>
68     </dependency>
69
70     <dependency>
71       <groupId>org.scala-lang</groupId>
72       <artifactId>scala-library</artifactId>
73     </dependency>
74
75     <dependency>
76       <groupId>commons-io</groupId>
77       <artifactId>commons-io</artifactId>
78     </dependency>
79
80     <dependency>
81       <groupId>org.apache.commons</groupId>
82       <artifactId>commons-lang3</artifactId>
83     </dependency>
84
85     <dependency>
86       <groupId>com.typesafe.akka</groupId>
87       <artifactId>akka-slf4j_${scala.version}</artifactId>
88     </dependency>
89
90
91       <!-- Test Dependencies -->
92     <dependency>
93       <groupId>junit</groupId>
94       <artifactId>junit</artifactId>
95       <scope>test</scope>
96     </dependency>
97     <dependency>
98       <groupId>org.mockito</groupId>
99       <artifactId>mockito-all</artifactId>
100       <scope>test</scope>
101     </dependency>
102
103     <dependency>
104       <groupId>org.slf4j</groupId>
105       <artifactId>slf4j-simple</artifactId>
106       <scope>test</scope>
107     </dependency>
108
109   </dependencies>
110
111   <build>
112     <plugins>
113
114       <plugin>
115         <groupId>org.apache.felix</groupId>
116         <artifactId>maven-bundle-plugin</artifactId>
117         <extensions>true</extensions>
118         <configuration>
119           <instructions>
120             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
121             <Export-package>org.opendaylight.cluster.raft</Export-package>
122             <Import-Package>*</Import-Package>
123             <DynamicImport-Package>*</DynamicImport-Package>
124           </instructions>
125         </configuration>
126       </plugin>
127
128       <plugin>
129         <groupId>org.apache.maven.plugins</groupId>
130         <artifactId>maven-jar-plugin</artifactId>
131         <executions>
132           <execution>
133             <goals>
134               <goal>test-jar</goal>
135             </goals>
136           </execution>
137         </executions>
138       </plugin>
139
140       <plugin>
141         <groupId>org.jacoco</groupId>
142         <artifactId>jacoco-maven-plugin</artifactId>
143         <configuration>
144           <includes>
145             <include>org/opendaylight/controller/cluster/**/*</include>
146           </includes>
147           <excludes>
148               <exclude>org/opendaylight/controller/cluster/raft/protobuff/**/*</exclude>
149               <exclude>org/opendaylight/controller/cluster/example/**/*</exclude>
150           </excludes>
151           <check>false</check>
152         </configuration>
153         <executions>
154           <execution>
155             <id>pre-test</id>
156             <goals>
157               <goal>prepare-agent</goal>
158             </goals>
159           </execution>
160           <execution>
161             <id>post-test</id>
162             <goals>
163               <goal>report</goal>
164             </goals>
165             <phase>test</phase>
166           </execution>
167         </executions>
168       </plugin>
169
170      <plugin>
171         <groupId>org.apache.maven.plugins</groupId>
172         <artifactId>maven-checkstyle-plugin</artifactId>
173         <configuration>
174           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
175         </configuration>
176       </plugin>
177
178     </plugins>
179   </build>
180
181   <profiles>
182     <!-- Turn off doclint on aggregated API javadoc build. -->
183     <profile>
184       <id>jdk8</id>
185       <activation>
186         <jdk>[1.8,)</jdk>
187       </activation>
188
189       <build>
190         <plugins>
191           <plugin>
192             <groupId>org.apache.maven.plugins</groupId>
193             <artifactId>maven-javadoc-plugin</artifactId>
194             <configuration>
195               <additionalparam>-Xdoclint:none</additionalparam>
196             </configuration>
197           </plugin>
198         </plugins>
199       </build>
200     </profile>
201   </profiles>
202   <scm>
203     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
204     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
205     <tag>HEAD</tag>
206     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
207   </scm>
208 </project>