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