Reuse PEM provider in netconf-testtool.
[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     <dependency>
14       <groupId>com.google.guava</groupId>
15       <artifactId>guava</artifactId>
16     </dependency>
17
18     <dependency>
19       <groupId>com.typesafe.akka</groupId>
20       <artifactId>akka-actor_${scala.version}</artifactId>
21     </dependency>
22
23     <dependency>
24       <groupId>com.typesafe.akka</groupId>
25       <artifactId>akka-cluster_${scala.version}</artifactId>
26     </dependency>
27
28     <dependency>
29       <groupId>com.typesafe.akka</groupId>
30       <artifactId>akka-persistence-experimental_${scala.version}</artifactId>
31     </dependency>
32
33     <dependency>
34       <groupId>com.typesafe.akka</groupId>
35       <artifactId>akka-remote_${scala.version}</artifactId>
36     </dependency>
37
38     <dependency>
39       <groupId>com.typesafe.akka</groupId>
40       <artifactId>akka-testkit_${scala.version}</artifactId>
41     </dependency>
42
43     <dependency>
44       <groupId>com.typesafe.akka</groupId>
45       <artifactId>akka-slf4j_${scala.version}</artifactId>
46     </dependency>
47
48     <dependency>
49       <groupId>com.typesafe.akka</groupId>
50       <artifactId>akka-osgi_${scala.version}</artifactId>
51     </dependency>
52
53     <!-- SAL Dependencies -->
54
55     <dependency>
56       <groupId>org.opendaylight.controller</groupId>
57       <artifactId>config-api</artifactId>
58     </dependency>
59
60     <dependency>
61       <groupId>org.opendaylight.controller</groupId>
62       <artifactId>sal-binding-api</artifactId>
63     </dependency>
64
65     <dependency>
66       <groupId>org.opendaylight.controller</groupId>
67       <artifactId>sal-binding-config</artifactId>
68     </dependency>
69
70       <dependency>
71           <groupId>org.opendaylight.yangtools</groupId>
72           <artifactId>yang-data-api</artifactId>
73       </dependency>
74
75       <dependency>
76       <groupId>org.opendaylight.yangtools</groupId>
77       <artifactId>yang-data-impl</artifactId>
78       </dependency>
79
80     <dependency>
81       <groupId>org.opendaylight.controller</groupId>
82       <artifactId>sal-inmemory-datastore</artifactId>
83     </dependency>
84
85     <dependency>
86       <groupId>org.opendaylight.controller</groupId>
87       <artifactId>sal-common-api</artifactId>
88     </dependency>
89
90     <dependency>
91       <groupId>org.opendaylight.controller</groupId>
92       <artifactId>sal-common-util</artifactId>
93     </dependency>
94
95     <dependency>
96       <groupId>org.opendaylight.controller</groupId>
97       <artifactId>sal-core-spi</artifactId>
98     </dependency>
99
100     <dependency>
101       <groupId>org.opendaylight.yangtools</groupId>
102       <artifactId>concepts</artifactId>
103     </dependency>
104
105     <dependency>
106       <groupId>org.opendaylight.yangtools</groupId>
107       <artifactId>yang-binding</artifactId>
108     </dependency>
109
110     <dependency>
111       <groupId>org.opendaylight.yangtools</groupId>
112       <artifactId>yang-common</artifactId>
113     </dependency>
114
115     <dependency>
116       <groupId>org.opendaylight.yangtools</groupId>
117       <artifactId>yang-data-api</artifactId>
118     </dependency>
119
120     <dependency>
121       <groupId>org.osgi</groupId>
122       <artifactId>org.osgi.core</artifactId>
123     </dependency>
124
125     <dependency>
126       <groupId>org.scala-lang</groupId>
127       <artifactId>scala-library</artifactId>
128     </dependency>
129
130     <dependency>
131         <groupId>org.opendaylight.controller</groupId>
132         <artifactId>sal-clustering-commons</artifactId>
133     </dependency>
134
135     <dependency>
136         <groupId>org.opendaylight.controller</groupId>
137         <artifactId>sal-akka-raft</artifactId>
138         <version>1.2.0-SNAPSHOT</version>
139     </dependency>
140
141       <dependency>
142           <groupId>com.codahale.metrics</groupId>
143           <artifactId>metrics-core</artifactId>
144       </dependency>
145
146       <dependency>
147           <groupId>com.codahale.metrics</groupId>
148           <artifactId>metrics-graphite</artifactId>
149       </dependency>
150     <!-- Test Dependencies -->
151     <dependency>
152       <groupId>junit</groupId>
153       <artifactId>junit</artifactId>
154       <scope>test</scope>
155     </dependency>
156     <dependency>
157       <groupId>org.mockito</groupId>
158       <artifactId>mockito-all</artifactId>
159       <scope>test</scope>
160     </dependency>
161
162     <dependency>
163       <groupId>org.slf4j</groupId>
164       <artifactId>slf4j-simple</artifactId>
165       <scope>test</scope>
166     </dependency>
167
168   </dependencies>
169
170   <build>
171     <plugins>
172
173       <plugin>
174         <groupId>org.apache.felix</groupId>
175         <artifactId>maven-bundle-plugin</artifactId>
176         <extensions>true</extensions>
177         <configuration>
178           <instructions>
179             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
180             <Export-package></Export-package>
181             <Private-Package></Private-Package>
182             <Import-Package>!*snappy;!org.jboss.*;!com.jcraft.*;!*jetty*;!sun.security.*;*</Import-Package>
183             <!--
184             <Embed-Dependency>
185                 sal-clustering-commons;
186                 sal-akka-raft;
187                 *metrics*;
188                 !sal*;
189                 !*config-api*;
190                 !*testkit*;
191                 akka*;
192                 *leveldb*;
193                 *config*;
194                 *hawt*;
195                 *protobuf*;
196                 *netty*;
197                 *uncommons*;
198                 *scala*;
199             </Embed-Dependency>
200             <Embed-Transitive>true</Embed-Transitive>
201             -->
202           </instructions>
203         </configuration>
204       </plugin>
205
206       <plugin>
207         <groupId>org.apache.maven.plugins</groupId>
208         <artifactId>maven-jar-plugin</artifactId>
209         <executions>
210           <execution>
211             <goals>
212               <goal>test-jar</goal>
213             </goals>
214           </execution>
215         </executions>
216       </plugin>
217       <plugin>
218         <groupId>org.jacoco</groupId>
219         <artifactId>jacoco-maven-plugin</artifactId>
220         <configuration>
221           <includes>
222             <include>org.opendaylight.controller.*</include>
223
224           </includes>
225           <excludes>
226               <exclude>org.opendaylight.controller.config.yang.config.*</exclude>
227           </excludes>
228           <check>false</check>
229         </configuration>
230         <executions>
231           <execution>
232             <id>pre-test</id>
233             <goals>
234               <goal>prepare-agent</goal>
235             </goals>
236           </execution>
237           <execution>
238             <id>post-test</id>
239             <goals>
240               <goal>report</goal>
241             </goals>
242             <phase>test</phase>
243           </execution>
244         </executions>
245       </plugin>
246       <plugin>
247         <groupId>org.opendaylight.yangtools</groupId>
248         <artifactId>yang-maven-plugin</artifactId>
249         <executions>
250           <execution>
251             <id>config</id>
252             <goals>
253               <goal>generate-sources</goal>
254             </goals>
255             <configuration>
256               <codeGenerators>
257                 <generator>
258                   <codeGeneratorClass>org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator</codeGeneratorClass>
259                   <outputBaseDir>${jmxGeneratorPath}</outputBaseDir>
260                   <additionalConfiguration>
261                     <namespaceToPackage1>urn:opendaylight:params:xml:ns:yang:controller==org.opendaylight.controller.config.yang</namespaceToPackage1>
262                   </additionalConfiguration>
263                 </generator>
264                 <generator>
265                   <codeGeneratorClass>org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass>
266                   <outputBaseDir>${salGeneratorPath}</outputBaseDir>
267                 </generator>
268               </codeGenerators>
269               <inspectDependencies>true</inspectDependencies>
270             </configuration>
271           </execution>
272         </executions>
273       </plugin>
274     </plugins>
275   </build>
276   <scm>
277     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
278     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
279     <tag>HEAD</tag>
280     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL:Architecture:Clustering</url>
281   </scm>
282 </project>