5844b3af96e69708d4c017325d8deb45c3ff3d11
[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.4.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>com.typesafe.akka</groupId>
62       <artifactId>akka-testkit_${scala.version}</artifactId>
63       <scope>test</scope>
64     </dependency>
65
66     <!-- Codahale -->
67     <dependency>
68       <groupId>com.codahale.metrics</groupId>
69       <artifactId>metrics-core</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>com.codahale.metrics</groupId>
73       <artifactId>metrics-graphite</artifactId>
74     </dependency>
75
76     <!-- Google -->
77     <dependency>
78       <groupId>com.google.guava</groupId>
79       <artifactId>guava</artifactId>
80     </dependency>
81
82     <!-- Scala -->
83     <dependency>
84       <groupId>org.scala-lang</groupId>
85       <artifactId>scala-library</artifactId>
86     </dependency>
87
88     <!-- OpenDaylight -->
89     <dependency>
90       <groupId>net.java.dev.stax-utils</groupId>
91       <artifactId>stax-utils</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>org.opendaylight.controller</groupId>
95       <artifactId>config-api</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>sal-akka-raft</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>cds-access-api</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>sal-akka-raft-example</artifactId>
108       <scope>test</scope>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.controller</groupId>
112       <artifactId>sal-akka-raft</artifactId>
113       <type>test-jar</type>
114       <scope>test</scope>
115     </dependency>
116     <dependency>
117       <groupId>org.opendaylight.controller</groupId>
118       <artifactId>sal-binding-api</artifactId>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.controller</groupId>
122       <artifactId>sal-binding-config</artifactId>
123     </dependency>
124     <dependency>
125       <groupId>org.opendaylight.controller</groupId>
126       <artifactId>sal-clustering-commons</artifactId>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>sal-common-api</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-common-util</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller</groupId>
138       <artifactId>sal-dom-broker-config</artifactId>
139     </dependency>
140
141     <dependency>
142       <groupId>org.opendaylight.mdsal</groupId>
143       <artifactId>mdsal-dom-api</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.mdsal</groupId>
147       <artifactId>mdsal-eos-dom-api</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.controller</groupId>
151       <artifactId>sal-core-spi</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.controller</groupId>
155       <artifactId>sal-inmemory-datastore</artifactId>
156     </dependency>
157
158     <dependency>
159       <groupId>org.opendaylight.yangtools</groupId>
160       <artifactId>concepts</artifactId>
161     </dependency>
162     <dependency>
163       <groupId>org.opendaylight.mdsal</groupId>
164       <artifactId>yang-binding</artifactId>
165     </dependency>
166     <dependency>
167       <groupId>org.opendaylight.yangtools</groupId>
168       <artifactId>yang-common</artifactId>
169     </dependency>
170     <dependency>
171       <groupId>org.opendaylight.yangtools</groupId>
172       <artifactId>yang-data-api</artifactId>
173     </dependency>
174     <dependency>
175       <groupId>org.opendaylight.yangtools</groupId>
176       <artifactId>yang-data-impl</artifactId>
177     </dependency>
178     <dependency>
179       <groupId>org.apache.commons</groupId>
180       <artifactId>commons-lang3</artifactId>
181     </dependency>
182
183   </dependencies>
184
185   <build>
186     <plugins>
187       <plugin>
188         <groupId>org.apache.felix</groupId>
189         <artifactId>maven-bundle-plugin</artifactId>
190         <extensions>true</extensions>
191         <configuration>
192           <instructions>
193             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
194             <Export-Package>
195                 org.opendaylight.controller.cluster.datastore;
196                 org.opendaylight.controller.cluster.datastore.config;
197                 org.opendaylight.controller.cluster.datastore.messages;
198                 org.opendaylight.controller.cluster.datastore.utils;
199             </Export-Package>
200             <Import-Package>
201                 !*snappy;
202                 !org.jboss.*;
203                 !com.jcraft.*;
204                 !*jetty*;
205                 !sun.security.*;
206                 *;
207                 org.opendaylight.controller.md.sal.dom.broker.impl.jmx
208             </Import-Package>
209             <!--
210             <Embed-Dependency>
211                 sal-clustering-commons;
212                 sal-akka-raft;
213                 *metrics*;
214                 !sal*;
215                 !*config-api*;
216                 !*testkit*;
217                 akka*;
218                 *leveldb*;
219                 *config*;
220                 *hawt*;
221                 *protobuf*;
222                 *netty*;
223                 *uncommons*;
224                 *scala*;
225             </Embed-Dependency>
226             <Embed-Transitive>true</Embed-Transitive>
227             -->
228           </instructions>
229         </configuration>
230       </plugin>
231
232       <plugin>
233         <groupId>org.apache.maven.plugins</groupId>
234         <artifactId>maven-jar-plugin</artifactId>
235         <executions>
236           <execution>
237             <goals>
238               <goal>test-jar</goal>
239             </goals>
240           </execution>
241         </executions>
242       </plugin>
243       <plugin>
244         <groupId>org.jacoco</groupId>
245         <artifactId>jacoco-maven-plugin</artifactId>
246         <configuration>
247           <includes>
248             <include>org.opendaylight.controller.*</include>
249
250           </includes>
251           <excludes>
252               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
253           </excludes>
254           <check>false</check>
255         </configuration>
256         <executions>
257           <execution>
258             <id>pre-test</id>
259             <goals>
260               <goal>prepare-agent</goal>
261             </goals>
262           </execution>
263           <execution>
264             <id>post-test</id>
265             <goals>
266               <goal>report</goal>
267             </goals>
268             <phase>test</phase>
269           </execution>
270         </executions>
271       </plugin>
272       <plugin>
273         <groupId>org.opendaylight.yangtools</groupId>
274         <artifactId>yang-maven-plugin</artifactId>
275         <executions>
276           <execution>
277             <id>config</id>
278             <goals>
279               <goal>generate-sources</goal>
280             </goals>
281             <configuration>
282               <codeGenerators>
283                 <generator>
284                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
285                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
286                   <additionalConfiguration>
287                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
288                   </additionalConfiguration>
289                 </generator>
290                 <generator>
291                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
292                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
293                 </generator>
294               </codeGenerators>
295               <inspectDependencies>true</inspectDependencies>
296             </configuration>
297           </execution>
298         </executions>
299       </plugin>
300     </plugins>
301   </build>
302   <scm>
303     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
304     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
305     <tag>HEAD</tag>
306     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
307   </scm>
308 </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.