182ee268e3a773f0888170d9a79dce3e48d3a9b0
[controller.git] / features / mdsal / 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     <relativePath>../../opendaylight/md-sal</relativePath>
9   </parent>
10   <artifactId>features-mdsal</artifactId>
11
12   <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16     <org.json.version>20131018</org.json.version>
17   </properties>
18
19   <dependencies>
20     <!-- Java -->
21     <dependency>
22       <groupId>org.json</groupId>
23       <artifactId>json</artifactId>
24     </dependency>
25
26     <!-- Google -->
27     <dependency>
28       <groupId>com.google.code.gson</groupId>
29       <artifactId>gson</artifactId>
30     </dependency>
31
32     <!-- Jackson -->
33     <dependency>
34       <groupId>com.fasterxml.jackson.core</groupId>
35       <artifactId>jackson-annotations</artifactId>
36     </dependency>
37     <dependency>
38       <groupId>com.fasterxml.jackson.core</groupId>
39       <artifactId>jackson-core</artifactId>
40     </dependency>
41     <dependency>
42       <groupId>com.fasterxml.jackson.core</groupId>
43       <artifactId>jackson-databind</artifactId>
44     </dependency>
45     <dependency>
46       <groupId>com.fasterxml.jackson.datatype</groupId>
47       <artifactId>jackson-datatype-json-org</artifactId>
48     </dependency>
49     <dependency>
50       <groupId>com.fasterxml.jackson.module</groupId>
51       <artifactId>jackson-module-jaxb-annotations</artifactId>
52     </dependency>
53     <dependency>
54       <groupId>com.fasterxml.jackson.jaxrs</groupId>
55       <artifactId>jackson-jaxrs-base</artifactId>
56     </dependency>
57     <dependency>
58       <groupId>com.fasterxml.jackson.jaxrs</groupId>
59       <artifactId>jackson-jaxrs-json-provider</artifactId>
60     </dependency>
61
62     <!-- Jersey -->
63     <dependency>
64       <groupId>com.sun.jersey</groupId>
65       <artifactId>jersey-core</artifactId>
66     </dependency>
67     <dependency>
68       <groupId>com.sun.jersey</groupId>
69       <artifactId>jersey-server</artifactId>
70     </dependency>
71     <dependency>
72       <groupId>com.sun.jersey</groupId>
73       <artifactId>jersey-servlet</artifactId>
74     </dependency>
75
76     <!-- Netty -->
77     <dependency>
78       <groupId>io.netty</groupId>
79       <artifactId>netty-buffer</artifactId>
80     </dependency>
81     <dependency>
82       <groupId>io.netty</groupId>
83       <artifactId>netty-codec</artifactId>
84     </dependency>
85     <dependency>
86       <groupId>io.netty</groupId>
87       <artifactId>netty-codec-http</artifactId>
88     </dependency>
89     <dependency>
90       <groupId>io.netty</groupId>
91       <artifactId>netty-common</artifactId>
92     </dependency>
93     <dependency>
94       <groupId>io.netty</groupId>
95       <artifactId>netty-handler</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>io.netty</groupId>
99       <artifactId>netty-transport</artifactId>
100     </dependency>
101
102     <!-- OpenDaylight -->
103     <dependency>
104       <groupId>org.opendaylight.controller</groupId>
105       <artifactId>features-akka</artifactId>
106       <version>${commons.opendaylight.version}</version>
107       <classifier>features</classifier>
108       <type>xml</type>
109     </dependency>
110     <dependency>
111       <groupId>org.opendaylight.controller</groupId>
112       <artifactId>features-config</artifactId>
113       <classifier>features</classifier>
114       <type>xml</type>
115     </dependency>
116     <dependency>
117       <groupId>org.opendaylight.controller</groupId>
118       <artifactId>features-config-persister</artifactId>
119       <classifier>features</classifier>
120       <type>xml</type>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>features-config-netty</artifactId>
125       <classifier>features</classifier>
126       <type>xml</type>
127     </dependency>
128
129     <dependency>
130       <groupId>org.opendaylight.controller</groupId>
131       <artifactId>md-sal-config</artifactId>
132       <version>${mdsal.version}</version>
133       <type>xml</type>
134       <classifier>config</classifier>
135     </dependency>
136
137     <dependency>
138       <groupId>org.opendaylight.controller</groupId>
139       <artifactId>sal-akka-raft</artifactId>
140       <version>${mdsal.version}</version>
141     </dependency>
142     <dependency>
143       <groupId>org.opendaylight.controller</groupId>
144       <artifactId>sal-common-api</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.controller</groupId>
148       <artifactId>sal-common-impl</artifactId>
149     </dependency>
150     <dependency>
151       <groupId>org.opendaylight.controller</groupId>
152       <artifactId>sal-common-util</artifactId>
153     </dependency>
154     <dependency>
155       <groupId>org.opendaylight.controller</groupId>
156       <artifactId>sal-core-spi</artifactId>
157     </dependency>
158     <dependency>
159       <groupId>org.opendaylight.controller</groupId>
160       <artifactId>sal-broker-impl</artifactId>
161     </dependency>
162
163     <dependency>
164       <groupId>org.opendaylight.controller</groupId>
165       <artifactId>sal-karaf-xsql</artifactId>
166     </dependency>
167
168     <dependency>
169       <groupId>org.opendaylight.controller</groupId>
170       <artifactId>sal-binding-api</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.opendaylight.controller</groupId>
174       <artifactId>sal-binding-config</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>org.opendaylight.controller</groupId>
178       <artifactId>sal-binding-broker-impl</artifactId>
179     </dependency>
180     <dependency>
181       <groupId>org.opendaylight.controller</groupId>
182       <artifactId>sal-binding-util</artifactId>
183     </dependency>
184     <dependency>
185       <groupId>org.opendaylight.controller</groupId>
186       <artifactId>sal-connector-api</artifactId>
187     </dependency>
188
189     <dependency>
190       <groupId>org.opendaylight.controller</groupId>
191       <artifactId>sal-dom-xsql</artifactId>
192     </dependency>
193     <dependency>
194       <groupId>org.opendaylight.controller</groupId>
195       <artifactId>sal-dom-xsql-config</artifactId>
196       <classifier>config</classifier>
197       <type>xml</type>
198     </dependency>
199
200     <dependency>
201       <groupId>org.opendaylight.controller</groupId>
202       <artifactId>sal-clustering-commons</artifactId>
203     </dependency>
204     <dependency>
205       <groupId>org.opendaylight.controller</groupId>
206       <artifactId>sal-clustering-config</artifactId>
207       <version>${mdsal.version}</version>
208       <type>xml</type>
209       <classifier>moduleshardconf</classifier>
210     </dependency>
211     <dependency>
212       <groupId>org.opendaylight.controller</groupId>
213       <artifactId>sal-clustering-config</artifactId>
214       <version>${mdsal.version}</version>
215       <type>xml</type>
216       <classifier>moduleconf</classifier>
217     </dependency>
218     <dependency>
219       <groupId>org.opendaylight.controller</groupId>
220       <artifactId>sal-clustering-config</artifactId>
221       <version>${mdsal.version}</version>
222       <type>xml</type>
223       <classifier>akkaconf</classifier>
224     </dependency>
225     <dependency>
226       <groupId>org.opendaylight.controller</groupId>
227       <artifactId>sal-clustering-config</artifactId>
228       <version>${mdsal.version}</version>
229       <type>xml</type>
230       <classifier>config</classifier>
231     </dependency>
232     <dependency>
233       <groupId>org.opendaylight.controller</groupId>
234       <artifactId>sal-clustering-config</artifactId>
235       <version>${mdsal.version}</version>
236       <type>xml</type>
237       <classifier>entityownershipconfig</classifier>
238     </dependency>
239     <dependency>
240       <groupId>org.opendaylight.controller</groupId>
241       <artifactId>sal-clustering-config</artifactId>
242       <version>${mdsal.version}</version>
243       <type>cfg</type>
244       <classifier>datastore</classifier>
245     </dependency>
246     <dependency>
247       <groupId>org.opendaylight.controller</groupId>
248       <artifactId>sal-distributed-datastore</artifactId>
249     </dependency>
250
251     <!-- message-bus -->
252     <dependency>
253       <groupId>org.opendaylight.controller</groupId>
254       <artifactId>messagebus-api</artifactId>
255     </dependency>
256     <dependency>
257       <groupId>org.opendaylight.controller</groupId>
258       <artifactId>messagebus-impl</artifactId>
259     </dependency>
260     <dependency>
261       <groupId>org.opendaylight.controller</groupId>
262       <artifactId>messagebus-config</artifactId>
263       <version>${mdsal.version}</version>
264       <type>xml</type>
265       <classifier>config</classifier>
266     </dependency>
267
268     <dependency>
269       <groupId>org.opendaylight.controller</groupId>
270       <artifactId>sal-inmemory-datastore</artifactId>
271     </dependency>
272     <dependency>
273       <groupId>org.opendaylight.controller</groupId>
274       <artifactId>sal-remote</artifactId>
275     </dependency>
276     <dependency>
277       <groupId>org.opendaylight.controller</groupId>
278       <artifactId>sal-remoterpc-connector</artifactId>
279     </dependency>
280
281     <dependency>
282       <groupId>org.opendaylight.controller.model</groupId>
283       <artifactId>model-inventory</artifactId>
284     </dependency>
285
286     <dependency>
287       <groupId>org.opendaylight.controller.samples</groupId>
288       <artifactId>clustering-it-config</artifactId>
289       <version>${mdsal.version}</version>
290       <type>xml</type>
291       <classifier>config</classifier>
292     </dependency>
293     <dependency>
294       <groupId>org.opendaylight.controller.samples</groupId>
295       <artifactId>clustering-it-config</artifactId>
296       <version>${mdsal.version}</version>
297       <type>xml</type>
298       <classifier>testmoduleconf</classifier>
299     </dependency>
300     <dependency>
301       <groupId>org.opendaylight.controller.samples</groupId>
302       <artifactId>clustering-it-config</artifactId>
303       <version>${mdsal.version}</version>
304       <type>xml</type>
305       <classifier>testmoduleshardconf</classifier>
306     </dependency>
307     <dependency>
308       <groupId>org.opendaylight.controller.samples</groupId>
309       <artifactId>clustering-it-model</artifactId>
310       <version>${mdsal.version}</version>
311     </dependency>
312     <dependency>
313       <groupId>org.opendaylight.controller.samples</groupId>
314       <artifactId>clustering-it-provider</artifactId>
315       <version>${mdsal.version}</version>
316     </dependency>
317
318
319     <!-- toaster -->
320     <dependency>
321       <groupId>org.opendaylight.controller.samples</groupId>
322       <artifactId>sample-toaster</artifactId>
323     </dependency>
324     <dependency>
325       <groupId>org.opendaylight.controller.samples</groupId>
326       <artifactId>sample-toaster-consumer</artifactId>
327     </dependency>
328     <dependency>
329       <groupId>org.opendaylight.controller.samples</groupId>
330       <artifactId>sample-toaster-provider</artifactId>
331     </dependency>
332     <dependency>
333       <groupId>org.opendaylight.controller.samples</groupId>
334       <artifactId>toaster-config</artifactId>
335       <version>${mdsal.version}</version>
336       <type>xml</type>
337       <classifier>config</classifier>
338     </dependency>
339
340     <!-- yang -->
341     <dependency>
342       <groupId>org.opendaylight.yangtools</groupId>
343       <artifactId>features-yangtools</artifactId>
344       <classifier>features</classifier>
345       <type>xml</type>
346     </dependency>
347
348     <!-- test to validate features.xml -->
349     <dependency>
350       <groupId>org.opendaylight.odlparent</groupId>
351       <artifactId>features-test</artifactId>
352     </dependency>
353   </dependencies>
354
355   <build>
356     <resources>
357       <resource>
358         <filtering>true</filtering>
359         <directory>src/main/resources</directory>
360       </resource>
361     </resources>
362     <plugins>
363       <plugin>
364         <groupId>org.apache.maven.plugins</groupId>
365         <artifactId>maven-resources-plugin</artifactId>
366         <executions>
367           <execution>
368             <id>filter</id>
369             <goals>
370               <goal>resources</goal>
371             </goals>
372             <phase>generate-resources</phase>
373           </execution>
374         </executions>
375       </plugin>
376       <plugin>
377         <groupId>org.codehaus.mojo</groupId>
378         <artifactId>build-helper-maven-plugin</artifactId>
379         <executions>
380           <execution>
381             <id>attach-artifacts</id>
382             <goals>
383               <goal>attach-artifact</goal>
384             </goals>
385             <phase>package</phase>
386             <configuration>
387               <artifacts>
388                 <artifact>
389                   <file>${project.build.directory}/classes/${features.file}</file>
390                   <type>xml</type>
391                   <classifier>features</classifier>
392                 </artifact>
393               </artifacts>
394             </configuration>
395           </execution>
396         </executions>
397       </plugin>
398       <plugin>
399         <groupId>org.apache.maven.plugins</groupId>
400         <artifactId>maven-surefire-plugin</artifactId>
401         <configuration>
402           <systemPropertyVariables>
403             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
404             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
405             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
406           </systemPropertyVariables>
407           <dependenciesToScan>
408            <dependency>org.opendaylight.odlparent:features-test</dependency>
409           </dependenciesToScan>
410         </configuration>
411       </plugin>
412       <plugin>
413         <groupId>org.apache.maven.plugins</groupId>
414         <artifactId>maven-dependency-plugin</artifactId>
415         <version>2.8</version>
416         <executions>
417           <execution>
418             <id>unpack-static-documentation</id>
419             <goals>
420               <goal>unpack-dependencies</goal>
421             </goals>
422             <phase>generate-resources</phase>
423             <configuration>
424               <outputDirectory>${project.build.directory}/generated-resources/swagger-api-documentation</outputDirectory>
425               <includeArtifactIds>sal-rest-docgen</includeArtifactIds>
426               <includes>**/explorer/css/**/*, **/explorer/images/**/*, **/explorer/lib/**/*, **/explorer/static/**/*,</includes>
427               <excludeTransitive>true</excludeTransitive>
428               <ignorePermissions>false</ignorePermissions>
429             </configuration>
430           </execution>
431         </executions>
432       </plugin>
433     </plugins>
434   </build>
435   <scm>
436     <connection>scm:git:http://git.opendaylight.org/gerrit/controller.git</connection>
437     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
438     <tag>HEAD</tag>
439     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
440   </scm>
441 </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.