Merge "Fix bug 2554 - XSQL getting stuck on some models"
[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       <version>1.2.0-SNAPSHOT</version>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.controller</groupId>
99       <artifactId>sal-binding-api</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>sal-binding-config</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>sal-clustering-commons</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>sal-common-api</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.controller</groupId>
115       <artifactId>sal-common-util</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.controller</groupId>
119       <artifactId>sal-broker-impl</artifactId>
120     </dependency>
121
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>sal-core-spi</artifactId>
125     </dependency>
126     <dependency>
127       <groupId>org.opendaylight.controller</groupId>
128       <artifactId>sal-inmemory-datastore</artifactId>
129     </dependency>
130
131     <dependency>
132       <groupId>org.opendaylight.yangtools</groupId>
133       <artifactId>concepts</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>org.opendaylight.yangtools</groupId>
137       <artifactId>yang-binding</artifactId>
138     </dependency>
139     <dependency>
140       <groupId>org.opendaylight.yangtools</groupId>
141       <artifactId>yang-common</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>org.opendaylight.yangtools</groupId>
145       <artifactId>yang-data-api</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>org.opendaylight.yangtools</groupId>
149       <artifactId>yang-data-impl</artifactId>
150     </dependency>
151   </dependencies>
152
153   <build>
154     <plugins>
155       <plugin>
156         <groupId>org.apache.felix</groupId>
157         <artifactId>maven-bundle-plugin</artifactId>
158         <extensions>true</extensions>
159         <configuration>
160           <instructions>
161             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
162             <Export-package></Export-package>
163             <Private-Package></Private-Package>
164             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
165             <!--
166             <Embed-Dependency>
167                 sal-clustering-commons;
168                 sal-akka-raft;
169                 *metrics*;
170                 !sal*;
171                 !*config-api*;
172                 !*testkit*;
173                 akka*;
174                 *leveldb*;
175                 *config*;
176                 *hawt*;
177                 *protobuf*;
178                 *netty*;
179                 *uncommons*;
180                 *scala*;
181             </Embed-Dependency>
182             <Embed-Transitive>true</Embed-Transitive>
183             -->
184           </instructions>
185         </configuration>
186       </plugin>
187
188       <plugin>
189         <groupId>org.apache.maven.plugins</groupId>
190         <artifactId>maven-jar-plugin</artifactId>
191         <executions>
192           <execution>
193             <goals>
194               <goal>test-jar</goal>
195             </goals>
196           </execution>
197         </executions>
198       </plugin>
199       <plugin>
200         <groupId>org.jacoco</groupId>
201         <artifactId>jacoco-maven-plugin</artifactId>
202         <configuration>
203           <includes>
204             <include>org.opendaylight.controller.*</include>
205
206           </includes>
207           <excludes>
208               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
209           </excludes>
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>