Make REUSABLE_*_TL final
[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.3.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-example</artifactId>
99       <scope>test</scope>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal-akka-raft</artifactId>
104       <type>test-jar</type>
105       <scope>test</scope>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.controller</groupId>
109       <artifactId>sal-binding-api</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>org.opendaylight.controller</groupId>
113       <artifactId>sal-binding-config</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.controller</groupId>
117       <artifactId>sal-clustering-commons</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>org.opendaylight.controller</groupId>
121       <artifactId>sal-common-api</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.controller</groupId>
125       <artifactId>sal-common-util</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>org.opendaylight.controller</groupId>
129       <artifactId>sal-dom-broker-config</artifactId>
130     </dependency>
131
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-core-spi</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller</groupId>
138       <artifactId>sal-inmemory-datastore</artifactId>
139     </dependency>
140
141     <dependency>
142       <groupId>org.opendaylight.yangtools</groupId>
143       <artifactId>concepts</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.mdsal</groupId>
147       <artifactId>yang-binding</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.yangtools</groupId>
151       <artifactId>yang-common</artifactId>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.yangtools</groupId>
155       <artifactId>yang-data-api</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.yangtools</groupId>
159       <artifactId>yang-data-impl</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.apache.commons</groupId>
163       <artifactId>commons-lang3</artifactId>
164     </dependency>
165
166   </dependencies>
167
168   <build>
169     <plugins>
170       <plugin>
171         <groupId>org.apache.felix</groupId>
172         <artifactId>maven-bundle-plugin</artifactId>
173         <extensions>true</extensions>
174         <configuration>
175           <instructions>
176             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
177             <Export-Package></Export-Package>
178             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
179             <!--
180             <Embed-Dependency>
181                 sal-clustering-commons;
182                 sal-akka-raft;
183                 *metrics*;
184                 !sal*;
185                 !*config-api*;
186                 !*testkit*;
187                 akka*;
188                 *leveldb*;
189                 *config*;
190                 *hawt*;
191                 *protobuf*;
192                 *netty*;
193                 *uncommons*;
194                 *scala*;
195             </Embed-Dependency>
196             <Embed-Transitive>true</Embed-Transitive>
197             -->
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:http://git.opendaylight.org/gerrit/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>