BUG-7407: Introduce API to request shard leader movement
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / 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.5.0-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-distributed-datastore</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <!-- Java -->
14     <dependency>
15       <groupId>junit</groupId>
16       <artifactId>junit</artifactId>
17       <scope>test</scope>
18     </dependency>
19     <dependency>
20       <groupId>org.mockito</groupId>
21       <artifactId>mockito-core</artifactId>
22       <scope>test</scope>
23     </dependency>
24     <dependency>
25       <groupId>org.slf4j</groupId>
26       <artifactId>slf4j-simple</artifactId>
27       <scope>test</scope>
28     </dependency>
29
30     <dependency>
31       <groupId>org.osgi</groupId>
32       <artifactId>org.osgi.core</artifactId>
33     </dependency>
34
35     <!-- Akka -->
36     <dependency>
37       <groupId>com.typesafe.akka</groupId>
38       <artifactId>akka-actor_${scala.version}</artifactId>
39     </dependency>
40     <dependency>
41       <groupId>com.typesafe.akka</groupId>
42       <artifactId>akka-cluster_${scala.version}</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-osgi_${scala.version}</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-persistence_${scala.version}</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>com.typesafe.akka</groupId>
54       <artifactId>akka-remote_${scala.version}</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.typesafe.akka</groupId>
58       <artifactId>akka-slf4j_${scala.version}</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>org.scala-lang.modules</groupId>
62       <artifactId>scala-java8-compat_${scala.version}</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>com.typesafe.akka</groupId>
66       <artifactId>akka-testkit_${scala.version}</artifactId>
67       <scope>test</scope>
68     </dependency>
69
70     <!-- Codahale -->
71     <dependency>
72       <groupId>io.dropwizard.metrics</groupId>
73       <artifactId>metrics-core</artifactId>
74     </dependency>
75     <dependency>
76       <groupId>io.dropwizard.metrics</groupId>
77       <artifactId>metrics-graphite</artifactId>
78     </dependency>
79
80     <!-- Google -->
81     <dependency>
82       <groupId>com.google.guava</groupId>
83       <artifactId>guava</artifactId>
84     </dependency>
85
86     <!-- Scala -->
87     <dependency>
88       <groupId>org.scala-lang</groupId>
89       <artifactId>scala-library</artifactId>
90     </dependency>
91
92     <!-- OpenDaylight -->
93     <dependency>
94       <groupId>net.java.dev.stax-utils</groupId>
95       <artifactId>stax-utils</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>config-api</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal-akka-raft</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>cds-access-api</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>cds-access-client</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.controller</groupId>
115       <artifactId>cds-dom-api</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.controller</groupId>
119       <artifactId>sal-akka-raft-example</artifactId>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>sal-akka-raft</artifactId>
125       <type>test-jar</type>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>sal-binding-api</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-binding-config</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller</groupId>
138       <artifactId>sal-clustering-commons</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.controller</groupId>
142       <artifactId>sal-common-api</artifactId>
143     </dependency>
144     <dependency>
145       <groupId>org.opendaylight.controller</groupId>
146       <artifactId>sal-common-util</artifactId>
147     </dependency>
148     <dependency>
149       <groupId>org.opendaylight.controller</groupId>
150       <artifactId>sal-dom-broker-config</artifactId>
151     </dependency>
152
153     <dependency>
154       <groupId>org.opendaylight.mdsal</groupId>
155       <artifactId>mdsal-dom-api</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.mdsal</groupId>
159       <artifactId>mdsal-eos-dom-api</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.opendaylight.mdsal</groupId>
163       <artifactId>mdsal-dom-spi</artifactId>
164     </dependency>
165     <dependency>
166       <groupId>org.opendaylight.mdsal</groupId>
167       <artifactId>mdsal-dom-inmemory-datastore</artifactId>
168     </dependency>
169     <dependency>
170       <groupId>org.opendaylight.mdsal</groupId>
171       <artifactId>mdsal-dom-broker</artifactId>
172     </dependency>
173     <dependency>
174       <groupId>org.opendaylight.controller</groupId>
175       <artifactId>sal-core-spi</artifactId>
176     </dependency>
177     <dependency>
178       <groupId>org.opendaylight.controller</groupId>
179       <artifactId>sal-inmemory-datastore</artifactId>
180     </dependency>
181
182     <dependency>
183       <groupId>org.opendaylight.yangtools</groupId>
184       <artifactId>concepts</artifactId>
185     </dependency>
186     <dependency>
187       <groupId>org.opendaylight.mdsal</groupId>
188       <artifactId>yang-binding</artifactId>
189     </dependency>
190     <dependency>
191       <groupId>org.opendaylight.yangtools</groupId>
192       <artifactId>yang-common</artifactId>
193     </dependency>
194     <dependency>
195       <groupId>org.opendaylight.yangtools</groupId>
196       <artifactId>yang-data-api</artifactId>
197     </dependency>
198     <dependency>
199       <groupId>org.opendaylight.yangtools</groupId>
200       <artifactId>yang-data-impl</artifactId>
201     </dependency>
202     <dependency>
203       <groupId>org.apache.commons</groupId>
204       <artifactId>commons-lang3</artifactId>
205     </dependency>
206
207     <dependency>
208       <groupId>org.opendaylight.yangtools</groupId>
209       <artifactId>yang-test-util</artifactId>
210     </dependency>
211   </dependencies>
212
213   <build>
214     <plugins>
215       <plugin>
216         <groupId>org.apache.felix</groupId>
217         <artifactId>maven-bundle-plugin</artifactId>
218         <extensions>true</extensions>
219         <configuration>
220           <instructions>
221             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
222             <Export-Package>
223                 org.opendaylight.controller.cluster.datastore;
224                 org.opendaylight.controller.cluster.datastore.config;
225                 org.opendaylight.controller.cluster.datastore.messages;
226                 org.opendaylight.controller.cluster.datastore.utils;
227             </Export-Package>
228             <Import-Package>
229                 !*snappy;
230                 !org.jboss.*;
231                 !com.jcraft.*;
232                 !*jetty*;
233                 !sun.security.*;
234                 *;
235                 org.opendaylight.controller.md.sal.dom.broker.impl.jmx
236             </Import-Package>
237             <!--
238             <Embed-Dependency>
239                 sal-clustering-commons;
240                 sal-akka-raft;
241                 *metrics*;
242                 !sal*;
243                 !*config-api*;
244                 !*testkit*;
245                 akka*;
246                 *leveldb*;
247                 *config*;
248                 *hawt*;
249                 *protobuf*;
250                 *netty*;
251                 *uncommons*;
252                 *scala*;
253             </Embed-Dependency>
254             <Embed-Transitive>true</Embed-Transitive>
255             -->
256           </instructions>
257         </configuration>
258       </plugin>
259
260       <plugin>
261         <groupId>org.apache.maven.plugins</groupId>
262         <artifactId>maven-jar-plugin</artifactId>
263         <executions>
264           <execution>
265             <goals>
266               <goal>test-jar</goal>
267             </goals>
268           </execution>
269         </executions>
270       </plugin>
271       <plugin>
272         <groupId>org.apache.maven.plugins</groupId>
273         <artifactId>maven-checkstyle-plugin</artifactId>
274         <configuration>
275           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
276         </configuration>
277       </plugin>
278       <plugin>
279         <groupId>org.codehaus.mojo</groupId>
280         <artifactId>findbugs-maven-plugin</artifactId>
281         <configuration>
282           <failOnError>true</failOnError>
283         </configuration>
284       </plugin>
285       <plugin>
286         <groupId>org.jacoco</groupId>
287         <artifactId>jacoco-maven-plugin</artifactId>
288         <configuration>
289           <includes>
290             <include>org.opendaylight.controller.*</include>
291
292           </includes>
293           <excludes>
294               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
295           </excludes>
296           <check>false</check>
297         </configuration>
298         <executions>
299           <execution>
300             <id>pre-test</id>
301             <goals>
302               <goal>prepare-agent</goal>
303             </goals>
304           </execution>
305           <execution>
306             <id>post-test</id>
307             <goals>
308               <goal>report</goal>
309             </goals>
310             <phase>test</phase>
311           </execution>
312         </executions>
313       </plugin>
314       <plugin>
315         <groupId>org.opendaylight.yangtools</groupId>
316         <artifactId>yang-maven-plugin</artifactId>
317         <executions>
318           <execution>
319             <id>config</id>
320             <goals>
321               <goal>generate-sources</goal>
322             </goals>
323             <configuration>
324               <codeGenerators>
325                 <generator>
326                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
327                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
328                   <additionalConfiguration>
329                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
330                   </additionalConfiguration>
331                 </generator>
332                 <generator>
333                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
334                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
335                 </generator>
336               </codeGenerators>
337               <inspectDependencies>true</inspectDependencies>
338             </configuration>
339           </execution>
340         </executions>
341       </plugin>
342     </plugins>
343   </build>
344   <scm>
345     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
346     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
347     <tag>HEAD</tag>
348     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
349   </scm>
350 </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.