Merge "Bug 2820 - LLDP TLV support and testing"
[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-broker-impl</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.yangtools</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             <Private-Package></Private-Package>
179             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
180             <!--
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             -->
199           </instructions>
200         </configuration>
201       </plugin>
202
203       <plugin>
204         <groupId>org.apache.maven.plugins</groupId>
205         <artifactId>maven-jar-plugin</artifactId>
206         <executions>
207           <execution>
208             <goals>
209               <goal>test-jar</goal>
210             </goals>
211           </execution>
212         </executions>
213       </plugin>
214       <plugin>
215         <groupId>org.jacoco</groupId>
216         <artifactId>jacoco-maven-plugin</artifactId>
217         <configuration>
218           <includes>
219             <include>org.opendaylight.controller.*</include>
220
221           </includes>
222           <excludes>
223               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
224           </excludes>
225           <check>false</check>
226         </configuration>
227         <executions>
228           <execution>
229             <id>pre-test</id>
230             <goals>
231               <goal>prepare-agent</goal>
232             </goals>
233           </execution>
234           <execution>
235             <id>post-test</id>
236             <goals>
237               <goal>report</goal>
238             </goals>
239             <phase>test</phase>
240           </execution>
241         </executions>
242       </plugin>
243       <plugin>
244         <groupId>org.opendaylight.yangtools</groupId>
245         <artifactId>yang-maven-plugin</artifactId>
246         <executions>
247           <execution>
248             <id>config</id>
249             <goals>
250               <goal>generate-sources</goal>
251             </goals>
252             <configuration>
253               <codeGenerators>
254                 <generator>
255                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
256                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
257                   <additionalConfiguration>
258                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
259                   </additionalConfiguration>
260                 </generator>
261                 <generator>
262                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
263                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
264                 </generator>
265               </codeGenerators>
266               <inspectDependencies>true</inspectDependencies>
267             </configuration>
268           </execution>
269         </executions>
270       </plugin>
271     </plugins>
272   </build>
273   <scm>
274     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
275     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
276     <tag>HEAD</tag>
277     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
278   </scm>
279 </project>