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