648e8d23d06892f8964ed65e322b7cb988ee8194
[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.1-SNAPSHOT</version>
8   </parent>
9   <artifactId>sal-distributed-datastore</artifactId>
10   <packaging>bundle</packaging>
11
12   <dependencies>
13     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17
18     <dependency>
19       <groupId>com.typesafe.akka</groupId>
20       <artifactId>akka-actor_${scala.version}</artifactId>
21     </dependency>
22
23     <dependency>
24       <groupId>com.typesafe.akka</groupId>
25       <artifactId>akka-cluster_${scala.version}</artifactId>
26     </dependency>
27
28     <dependency>
29       <groupId>com.typesafe.akka</groupId>
30       <artifactId>akka-persistence-experimental_${scala.version}</artifactId>
31     </dependency>
32
33     <dependency>
34       <groupId>com.typesafe.akka</groupId>
35       <artifactId>akka-remote_${scala.version}</artifactId>
36     </dependency>
37
38     <dependency>
39       <groupId>com.typesafe.akka</groupId>
40       <artifactId>akka-testkit_${scala.version}</artifactId>
41     </dependency>
42
43     <dependency>
44       <groupId>com.typesafe.akka</groupId>
45       <artifactId>akka-slf4j_${scala.version}</artifactId>
46     </dependency>
47
48     <!-- SAL Dependencies -->
49
50     <dependency>
51       <groupId>org.opendaylight.controller</groupId>
52       <artifactId>config-api</artifactId>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>sal-binding-api</artifactId>
58     </dependency>
59
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>sal-binding-config</artifactId>
63     </dependency>
64
65       <dependency>
66           <groupId>org.opendaylight.yangtools</groupId>
67           <artifactId>yang-data-api</artifactId>
68       </dependency>
69
70       <dependency>
71       <groupId>org.opendaylight.yangtools</groupId>
72       <artifactId>yang-data-impl</artifactId>
73       </dependency>
74
75     <dependency>
76       <groupId>org.opendaylight.controller</groupId>
77       <artifactId>sal-inmemory-datastore</artifactId>
78       <version>1.1-SNAPSHOT</version>
79     </dependency>
80
81     <dependency>
82       <groupId>org.opendaylight.controller</groupId>
83       <artifactId>sal-common-api</artifactId>
84     </dependency>
85
86     <dependency>
87       <groupId>org.opendaylight.controller</groupId>
88       <artifactId>sal-common-util</artifactId>
89     </dependency>
90
91     <dependency>
92       <groupId>org.opendaylight.controller</groupId>
93       <artifactId>sal-core-spi</artifactId>
94     </dependency>
95
96     <dependency>
97       <groupId>org.opendaylight.yangtools</groupId>
98       <artifactId>concepts</artifactId>
99     </dependency>
100
101     <dependency>
102       <groupId>org.opendaylight.yangtools</groupId>
103       <artifactId>yang-binding</artifactId>
104     </dependency>
105
106     <dependency>
107       <groupId>org.opendaylight.yangtools</groupId>
108       <artifactId>yang-common</artifactId>
109     </dependency>
110
111     <dependency>
112       <groupId>org.opendaylight.yangtools</groupId>
113       <artifactId>yang-data-api</artifactId>
114     </dependency>
115
116     <dependency>
117       <groupId>org.osgi</groupId>
118       <artifactId>org.osgi.core</artifactId>
119     </dependency>
120
121     <dependency>
122       <groupId>org.scala-lang</groupId>
123       <artifactId>scala-library</artifactId>
124     </dependency>
125
126     <dependency>
127         <groupId>org.opendaylight.controller</groupId>
128         <artifactId>sal-clustering-commons</artifactId>
129         <version>1.1-SNAPSHOT</version>
130     </dependency>
131
132     <dependency>
133         <groupId>org.opendaylight.controller</groupId>
134         <artifactId>sal-akka-raft</artifactId>
135         <version>1.1-SNAPSHOT</version>
136     </dependency>
137
138     <!-- Test Dependencies -->
139     <dependency>
140       <groupId>junit</groupId>
141       <artifactId>junit</artifactId>
142       <scope>test</scope>
143     </dependency>
144     <dependency>
145       <groupId>org.mockito</groupId>
146       <artifactId>mockito-all</artifactId>
147       <scope>test</scope>
148     </dependency>
149
150     <dependency>
151       <groupId>org.slf4j</groupId>
152       <artifactId>slf4j-simple</artifactId>
153       <version>${slf4j.version}</version>
154       <scope>test</scope>
155     </dependency>
156
157   </dependencies>
158
159   <build>
160     <plugins>
161
162       <plugin>
163         <groupId>org.apache.felix</groupId>
164         <artifactId>maven-bundle-plugin</artifactId>
165         <extensions>true</extensions>
166         <configuration>
167           <instructions>
168             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
169             <Export-package></Export-package>
170             <Private-Package></Private-Package>
171             <Import-Package>!*snappy;!org.jboss.*;*</Import-Package>
172             <Embed-Dependency>
173                 sal-clustering-commons;
174                 sal-akka-raft;
175                 !sal*;
176                 !*config-api*;
177                 !*testkit*;
178                 akka*;
179                 *leveldb*;
180                 *config*;
181                 *hawt*;
182                 *protobuf*;
183                 *netty*;
184                 *uncommons*;
185                 *scala*;
186             </Embed-Dependency>
187             <Embed-Transitive>true</Embed-Transitive>
188           </instructions>
189         </configuration>
190       </plugin>
191
192       <plugin>
193         <groupId>org.apache.maven.plugins</groupId>
194         <artifactId>maven-jar-plugin</artifactId>
195         <executions>
196           <execution>
197             <goals>
198               <goal>test-jar</goal>
199             </goals>
200           </execution>
201         </executions>
202       </plugin>
203       <plugin>
204         <groupId>org.jacoco</groupId>
205         <artifactId>jacoco-maven-plugin</artifactId>
206         <configuration>
207           <includes>
208             <include>org.opendaylight.controller.*</include>
209           </includes>
210           <check>false</check>
211         </configuration>
212         <executions>
213           <execution>
214             <id>pre-test</id>
215             <goals>
216               <goal>prepare-agent</goal>
217             </goals>
218           </execution>
219           <execution>
220             <id>post-test</id>
221             <goals>
222               <goal>report</goal>
223             </goals>
224             <phase>test</phase>
225           </execution>
226         </executions>
227       </plugin>
228       <plugin>
229         <groupId>org.opendaylight.yangtools</groupId>
230         <artifactId>yang-maven-plugin</artifactId>
231         <executions>
232           <execution>
233             <id>config</id>
234             <goals>
235               <goal>generate-sources</goal>
236             </goals>
237             <configuration>
238               <codeGenerators>
239                 <generator>
240                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
241                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
242                   <additionalConfiguration>
243                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
244                   </additionalConfiguration>
245                 </generator>
246                 <generator>
247                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
248                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
249                 </generator>
250               </codeGenerators>
251               <inspectDependencies>true</inspectDependencies>
252             </configuration>
253           </execution>
254         </executions>
255       </plugin>
256     </plugins>
257   </build>
258   <scm>
259     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
260     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
261     <tag>HEAD</tag>
262     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
263   </scm>
264 </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.