b5f1f19f140376a80a8f8f0cc7d64a2fa1620289
[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-all</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>sal-akka-raft-example</artifactId>
116       <scope>test</scope>
117     </dependency>
118     <dependency>
119       <groupId>org.opendaylight.controller</groupId>
120       <artifactId>sal-akka-raft</artifactId>
121       <type>test-jar</type>
122       <scope>test</scope>
123     </dependency>
124     <dependency>
125       <groupId>org.opendaylight.controller</groupId>
126       <artifactId>sal-binding-api</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>sal-binding-config</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-clustering-commons</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller</groupId>
138       <artifactId>sal-common-api</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.controller</groupId>
142       <artifactId>sal-common-util</artifactId>
143     </dependency>
144     <dependency>
145       <groupId>org.opendaylight.controller</groupId>
146       <artifactId>sal-dom-broker-config</artifactId>
147     </dependency>
148
149     <dependency>
150       <groupId>org.opendaylight.mdsal</groupId>
151       <artifactId>mdsal-dom-api</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.mdsal</groupId>
155       <artifactId>mdsal-eos-dom-api</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.mdsal</groupId>
159       <artifactId>mdsal-dom-spi</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.opendaylight.mdsal</groupId>
163       <artifactId>mdsal-dom-inmemory-datastore</artifactId>
164     </dependency>
165     <dependency>
166       <groupId>org.opendaylight.mdsal</groupId>
167       <artifactId>mdsal-dom-broker</artifactId>
168     </dependency>
169     <dependency>
170       <groupId>org.opendaylight.controller</groupId>
171       <artifactId>sal-core-spi</artifactId>
172     </dependency>
173     <dependency>
174       <groupId>org.opendaylight.controller</groupId>
175       <artifactId>sal-inmemory-datastore</artifactId>
176     </dependency>
177
178     <dependency>
179       <groupId>org.opendaylight.yangtools</groupId>
180       <artifactId>concepts</artifactId>
181     </dependency>
182     <dependency>
183       <groupId>org.opendaylight.mdsal</groupId>
184       <artifactId>yang-binding</artifactId>
185     </dependency>
186     <dependency>
187       <groupId>org.opendaylight.yangtools</groupId>
188       <artifactId>yang-common</artifactId>
189     </dependency>
190     <dependency>
191       <groupId>org.opendaylight.yangtools</groupId>
192       <artifactId>yang-data-api</artifactId>
193     </dependency>
194     <dependency>
195       <groupId>org.opendaylight.yangtools</groupId>
196       <artifactId>yang-data-impl</artifactId>
197     </dependency>
198     <dependency>
199       <groupId>org.apache.commons</groupId>
200       <artifactId>commons-lang3</artifactId>
201     </dependency>
202
203   </dependencies>
204
205   <build>
206     <plugins>
207       <plugin>
208         <groupId>org.apache.felix</groupId>
209         <artifactId>maven-bundle-plugin</artifactId>
210         <extensions>true</extensions>
211         <configuration>
212           <instructions>
213             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
214             <Export-Package>
215                 org.opendaylight.controller.cluster.datastore;
216                 org.opendaylight.controller.cluster.datastore.config;
217                 org.opendaylight.controller.cluster.datastore.messages;
218                 org.opendaylight.controller.cluster.datastore.utils;
219             </Export-Package>
220             <Import-Package>
221                 !*snappy;
222                 !org.jboss.*;
223                 !com.jcraft.*;
224                 !*jetty*;
225                 !sun.security.*;
226                 *;
227                 org.opendaylight.controller.md.sal.dom.broker.impl.jmx
228             </Import-Package>
229             <!--
230             <Embed-Dependency>
231                 sal-clustering-commons;
232                 sal-akka-raft;
233                 *metrics*;
234                 !sal*;
235                 !*config-api*;
236                 !*testkit*;
237                 akka*;
238                 *leveldb*;
239                 *config*;
240                 *hawt*;
241                 *protobuf*;
242                 *netty*;
243                 *uncommons*;
244                 *scala*;
245             </Embed-Dependency>
246             <Embed-Transitive>true</Embed-Transitive>
247             -->
248           </instructions>
249         </configuration>
250       </plugin>
251
252       <plugin>
253         <groupId>org.apache.maven.plugins</groupId>
254         <artifactId>maven-jar-plugin</artifactId>
255         <executions>
256           <execution>
257             <goals>
258               <goal>test-jar</goal>
259             </goals>
260           </execution>
261         </executions>
262       </plugin>
263       <plugin>
264         <groupId>org.apache.maven.plugins</groupId>
265         <artifactId>maven-checkstyle-plugin</artifactId>
266         <configuration>
267           <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
268         </configuration>
269       </plugin>
270       <plugin>
271         <groupId>org.codehaus.mojo</groupId>
272         <artifactId>findbugs-maven-plugin</artifactId>
273         <configuration>
274           <failOnError>true</failOnError>
275         </configuration>
276       </plugin>
277       <plugin>
278         <groupId>org.jacoco</groupId>
279         <artifactId>jacoco-maven-plugin</artifactId>
280         <configuration>
281           <includes>
282             <include>org.opendaylight.controller.*</include>
283
284           </includes>
285           <excludes>
286               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
287           </excludes>
288           <check>false</check>
289         </configuration>
290         <executions>
291           <execution>
292             <id>pre-test</id>
293             <goals>
294               <goal>prepare-agent</goal>
295             </goals>
296           </execution>
297           <execution>
298             <id>post-test</id>
299             <goals>
300               <goal>report</goal>
301             </goals>
302             <phase>test</phase>
303           </execution>
304         </executions>
305       </plugin>
306       <plugin>
307         <groupId>org.opendaylight.yangtools</groupId>
308         <artifactId>yang-maven-plugin</artifactId>
309         <executions>
310           <execution>
311             <id>config</id>
312             <goals>
313               <goal>generate-sources</goal>
314             </goals>
315             <configuration>
316               <codeGenerators>
317                 <generator>
318                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
319                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
320                   <additionalConfiguration>
321                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
322                   </additionalConfiguration>
323                 </generator>
324                 <generator>
325                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
326                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
327                 </generator>
328               </codeGenerators>
329               <inspectDependencies>true</inspectDependencies>
330             </configuration>
331           </execution>
332         </executions>
333       </plugin>
334     </plugins>
335   </build>
336   <scm>
337     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
338     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
339     <tag>HEAD</tag>
340     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
341   </scm>
342 </project>