dd5a7f297908ae00288c788bfe4bd63d8fb169c9
[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       <dependency>
139           <groupId>com.codahale.metrics</groupId>
140           <artifactId>metrics-core</artifactId>
141       </dependency>
142
143       <dependency>
144           <groupId>com.codahale.metrics</groupId>
145           <artifactId>metrics-graphite</artifactId>
146       </dependency>
147     <!-- Test Dependencies -->
148     <dependency>
149       <groupId>junit</groupId>
150       <artifactId>junit</artifactId>
151       <scope>test</scope>
152     </dependency>
153     <dependency>
154       <groupId>org.mockito</groupId>
155       <artifactId>mockito-all</artifactId>
156       <scope>test</scope>
157     </dependency>
158
159     <dependency>
160       <groupId>org.slf4j</groupId>
161       <artifactId>slf4j-simple</artifactId>
162       <version>${slf4j.version}</version>
163       <scope>test</scope>
164     </dependency>
165
166   </dependencies>
167
168   <build>
169     <plugins>
170
171       <plugin>
172         <groupId>org.apache.felix</groupId>
173         <artifactId>maven-bundle-plugin</artifactId>
174         <extensions>true</extensions>
175         <configuration>
176           <instructions>
177             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
178             <Export-package></Export-package>
179             <Private-Package></Private-Package>
180             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
181             <Embed-Dependency>
182                 sal-clustering-commons;
183                 sal-akka-raft;
184                 *metrics*;
185                 !sal*;
186                 !*config-api*;
187                 !*testkit*;
188                 akka*;
189                 *leveldb*;
190                 *config*;
191                 *hawt*;
192                 *protobuf*;
193                 *netty*;
194                 *uncommons*;
195                 *scala*;
196             </Embed-Dependency>
197             <Embed-Transitive>true</Embed-Transitive>
198           </instructions>
199         </configuration>
200       </plugin>
201
202       <plugin>
203         <groupId>org.apache.maven.plugins</groupId>
204         <artifactId>maven-jar-plugin</artifactId>
205         <executions>
206           <execution>
207             <goals>
208               <goal>test-jar</goal>
209             </goals>
210           </execution>
211         </executions>
212       </plugin>
213       <plugin>
214         <groupId>org.jacoco</groupId>
215         <artifactId>jacoco-maven-plugin</artifactId>
216         <configuration>
217           <includes>
218             <include>org.opendaylight.controller.*</include>
219
220           </includes>
221           <excludes>
222               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
223           </excludes>
224           <check>false</check>
225         </configuration>
226         <executions>
227           <execution>
228             <id>pre-test</id>
229             <goals>
230               <goal>prepare-agent</goal>
231             </goals>
232           </execution>
233           <execution>
234             <id>post-test</id>
235             <goals>
236               <goal>report</goal>
237             </goals>
238             <phase>test</phase>
239           </execution>
240         </executions>
241       </plugin>
242       <plugin>
243         <groupId>org.opendaylight.yangtools</groupId>
244         <artifactId>yang-maven-plugin</artifactId>
245         <executions>
246           <execution>
247             <id>config</id>
248             <goals>
249               <goal>generate-sources</goal>
250             </goals>
251             <configuration>
252               <codeGenerators>
253                 <generator>
254                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
255                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
256                   <additionalConfiguration>
257                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
258                   </additionalConfiguration>
259                 </generator>
260                 <generator>
261                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
262                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
263                 </generator>
264               </codeGenerators>
265               <inspectDependencies>true</inspectDependencies>
266             </configuration>
267           </execution>
268         </executions>
269       </plugin>
270     </plugins>
271   </build>
272   <scm>
273     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
274     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
275     <tag>HEAD</tag>
276     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
277   </scm>
278 </project>