Clean-up pom.xml layout
[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>config-parent</artifactId>
7     <version>0.6.0-SNAPSHOT</version>
8     <relativePath>../../config/config-parent</relativePath>
9   </parent>
10
11   <groupId>org.opendaylight.controller</groupId>
12   <version>1.5.0-SNAPSHOT</version>
13   <artifactId>sal-distributed-datastore</artifactId>
14   <packaging>bundle</packaging>
15
16   <dependencies>
17     <!-- Java -->
18     <dependency>
19       <groupId>junit</groupId>
20       <artifactId>junit</artifactId>
21       <scope>test</scope>
22     </dependency>
23     <dependency>
24       <groupId>org.mockito</groupId>
25       <artifactId>mockito-all</artifactId>
26       <scope>test</scope>
27     </dependency>
28     <dependency>
29       <groupId>org.slf4j</groupId>
30       <artifactId>slf4j-simple</artifactId>
31       <scope>test</scope>
32     </dependency>
33
34     <dependency>
35       <groupId>org.osgi</groupId>
36       <artifactId>org.osgi.core</artifactId>
37     </dependency>
38
39     <!-- Akka -->
40     <dependency>
41       <groupId>com.typesafe.akka</groupId>
42       <artifactId>akka-actor_${scala.version}</artifactId>
43     </dependency>
44     <dependency>
45       <groupId>com.typesafe.akka</groupId>
46       <artifactId>akka-cluster_${scala.version}</artifactId>
47     </dependency>
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-osgi_${scala.version}</artifactId>
51     </dependency>
52     <dependency>
53       <groupId>com.typesafe.akka</groupId>
54       <artifactId>akka-persistence_${scala.version}</artifactId>
55     </dependency>
56     <dependency>
57       <groupId>com.typesafe.akka</groupId>
58       <artifactId>akka-remote_${scala.version}</artifactId>
59     </dependency>
60     <dependency>
61       <groupId>com.typesafe.akka</groupId>
62       <artifactId>akka-slf4j_${scala.version}</artifactId>
63     </dependency>
64     <dependency>
65       <groupId>org.scala-lang.modules</groupId>
66       <artifactId>scala-java8-compat_${scala.version}</artifactId>
67     </dependency>
68     <dependency>
69       <groupId>com.typesafe.akka</groupId>
70       <artifactId>akka-testkit_${scala.version}</artifactId>
71       <scope>test</scope>
72     </dependency>
73
74     <!-- Codahale -->
75     <dependency>
76       <groupId>io.dropwizard.metrics</groupId>
77       <artifactId>metrics-core</artifactId>
78     </dependency>
79     <dependency>
80       <groupId>io.dropwizard.metrics</groupId>
81       <artifactId>metrics-graphite</artifactId>
82     </dependency>
83
84     <!-- Google -->
85     <dependency>
86       <groupId>com.google.guava</groupId>
87       <artifactId>guava</artifactId>
88     </dependency>
89
90     <!-- Scala -->
91     <dependency>
92       <groupId>org.scala-lang</groupId>
93       <artifactId>scala-library</artifactId>
94     </dependency>
95
96     <!-- OpenDaylight -->
97     <dependency>
98       <groupId>net.java.dev.stax-utils</groupId>
99       <artifactId>stax-utils</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.controller</groupId>
103       <artifactId>config-api</artifactId>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.controller</groupId>
107       <artifactId>sal-akka-raft</artifactId>
108     </dependency>
109     <dependency>
110       <groupId>org.opendaylight.controller</groupId>
111       <artifactId>cds-access-api</artifactId>
112     </dependency>
113     <dependency>
114       <groupId>org.opendaylight.controller</groupId>
115       <artifactId>cds-access-client</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.controller</groupId>
119       <artifactId>sal-akka-raft-example</artifactId>
120       <scope>test</scope>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>sal-akka-raft</artifactId>
125       <type>test-jar</type>
126       <scope>test</scope>
127     </dependency>
128     <dependency>
129       <groupId>org.opendaylight.controller</groupId>
130       <artifactId>sal-binding-api</artifactId>
131     </dependency>
132     <dependency>
133       <groupId>org.opendaylight.controller</groupId>
134       <artifactId>sal-binding-config</artifactId>
135     </dependency>
136     <dependency>
137       <groupId>org.opendaylight.controller</groupId>
138       <artifactId>sal-clustering-commons</artifactId>
139     </dependency>
140     <dependency>
141       <groupId>org.opendaylight.controller</groupId>
142       <artifactId>sal-common-api</artifactId>
143     </dependency>
144     <dependency>
145       <groupId>org.opendaylight.controller</groupId>
146       <artifactId>sal-common-util</artifactId>
147     </dependency>
148     <dependency>
149       <groupId>org.opendaylight.controller</groupId>
150       <artifactId>sal-dom-broker-config</artifactId>
151     </dependency>
152
153     <dependency>
154       <groupId>org.opendaylight.mdsal</groupId>
155       <artifactId>mdsal-dom-api</artifactId>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.mdsal</groupId>
159       <artifactId>mdsal-eos-dom-api</artifactId>
160     </dependency>
161     <dependency>
162       <groupId>org.opendaylight.controller</groupId>
163       <artifactId>sal-core-spi</artifactId>
164     </dependency>
165     <dependency>
166       <groupId>org.opendaylight.controller</groupId>
167       <artifactId>sal-inmemory-datastore</artifactId>
168     </dependency>
169
170     <dependency>
171       <groupId>org.opendaylight.yangtools</groupId>
172       <artifactId>concepts</artifactId>
173     </dependency>
174     <dependency>
175       <groupId>org.opendaylight.mdsal</groupId>
176       <artifactId>yang-binding</artifactId>
177     </dependency>
178     <dependency>
179       <groupId>org.opendaylight.yangtools</groupId>
180       <artifactId>yang-common</artifactId>
181     </dependency>
182     <dependency>
183       <groupId>org.opendaylight.yangtools</groupId>
184       <artifactId>yang-data-api</artifactId>
185     </dependency>
186     <dependency>
187       <groupId>org.opendaylight.yangtools</groupId>
188       <artifactId>yang-data-impl</artifactId>
189     </dependency>
190     <dependency>
191       <groupId>org.apache.commons</groupId>
192       <artifactId>commons-lang3</artifactId>
193     </dependency>
194
195   </dependencies>
196
197   <build>
198     <plugins>
199       <plugin>
200         <groupId>org.apache.felix</groupId>
201         <artifactId>maven-bundle-plugin</artifactId>
202         <extensions>true</extensions>
203         <configuration>
204           <instructions>
205             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
206             <Export-Package>
207                 org.opendaylight.controller.cluster.datastore;
208                 org.opendaylight.controller.cluster.datastore.config;
209                 org.opendaylight.controller.cluster.datastore.messages;
210                 org.opendaylight.controller.cluster.datastore.utils;
211             </Export-Package>
212             <Import-Package>
213                 !*snappy;
214                 !org.jboss.*;
215                 !com.jcraft.*;
216                 !*jetty*;
217                 !sun.security.*;
218                 *;
219                 org.opendaylight.controller.md.sal.dom.broker.impl.jmx
220             </Import-Package>
221             <!--
222             <Embed-Dependency>
223                 sal-clustering-commons;
224                 sal-akka-raft;
225                 *metrics*;
226                 !sal*;
227                 !*config-api*;
228                 !*testkit*;
229                 akka*;
230                 *leveldb*;
231                 *config*;
232                 *hawt*;
233                 *protobuf*;
234                 *netty*;
235                 *uncommons*;
236                 *scala*;
237             </Embed-Dependency>
238             <Embed-Transitive>true</Embed-Transitive>
239             -->
240           </instructions>
241         </configuration>
242       </plugin>
243
244       <plugin>
245         <groupId>org.apache.maven.plugins</groupId>
246         <artifactId>maven-jar-plugin</artifactId>
247         <executions>
248           <execution>
249             <goals>
250               <goal>test-jar</goal>
251             </goals>
252           </execution>
253         </executions>
254       </plugin>
255       <plugin>
256         <groupId>org.jacoco</groupId>
257         <artifactId>jacoco-maven-plugin</artifactId>
258         <configuration>
259           <includes>
260             <include>org.opendaylight.controller.*</include>
261
262           </includes>
263           <excludes>
264               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
265           </excludes>
266           <check>false</check>
267         </configuration>
268         <executions>
269           <execution>
270             <id>pre-test</id>
271             <goals>
272               <goal>prepare-agent</goal>
273             </goals>
274           </execution>
275           <execution>
276             <id>post-test</id>
277             <goals>
278               <goal>report</goal>
279             </goals>
280             <phase>test</phase>
281           </execution>
282         </executions>
283       </plugin>
284     </plugins>
285   </build>
286
287   <profiles>
288     <!-- Turn off doclint on aggregated API javadoc build. -->
289     <profile>
290       <id>jdk8</id>
291       <activation>
292         <jdk>[1.8,)</jdk>
293       </activation>
294
295       <build>
296         <plugins>
297           <plugin>
298             <groupId>org.apache.maven.plugins</groupId>
299             <artifactId>maven-javadoc-plugin</artifactId>
300             <configuration>
301               <additionalparam>-Xdoclint:none</additionalparam>
302             </configuration>
303           </plugin>
304         </plugins>
305       </build>
306     </profile>
307   </profiles>
308   <scm>
309     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
310     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
311     <tag>HEAD</tag>
312     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
313   </scm>
314 </project>