Fix duplicate dependency warnings
[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.2.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-core-spi</artifactId>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.controller</groupId>
148       <artifactId>sal-broker-impl</artifactId>
149     </dependency>
150
151     <dependency>
152       <groupId>org.opendaylight.controller</groupId>
153       <artifactId>sal-karaf-xsql</artifactId>
154     </dependency>
155
156     <dependency>
157       <groupId>org.opendaylight.controller</groupId>
158       <artifactId>sal-binding-api</artifactId>
159     </dependency>
160     <dependency>
161       <groupId>org.opendaylight.controller</groupId>
162       <artifactId>sal-binding-config</artifactId>
163     </dependency>
164     <dependency>
165       <groupId>org.opendaylight.controller</groupId>
166       <artifactId>sal-binding-broker-impl</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>org.opendaylight.controller</groupId>
170       <artifactId>sal-binding-util</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>org.opendaylight.controller</groupId>
174       <artifactId>sal-connector-api</artifactId>
175     </dependency>
176
177     <dependency>
178       <groupId>org.opendaylight.controller</groupId>
179       <artifactId>sal-dom-xsql</artifactId>
180     </dependency>
181     <dependency>
182       <groupId>org.opendaylight.controller</groupId>
183       <artifactId>sal-dom-xsql-config</artifactId>
184       <classifier>config</classifier>
185       <type>xml</type>
186     </dependency>
187
188     <dependency>
189       <groupId>org.opendaylight.controller</groupId>
190       <artifactId>sal-clustering-commons</artifactId>
191     </dependency>
192     <dependency>
193       <groupId>org.opendaylight.controller</groupId>
194       <artifactId>sal-clustering-config</artifactId>
195       <version>${mdsal.version}</version>
196       <type>xml</type>
197       <classifier>moduleshardconf</classifier>
198     </dependency>
199     <dependency>
200       <groupId>org.opendaylight.controller</groupId>
201       <artifactId>sal-clustering-config</artifactId>
202       <version>${mdsal.version}</version>
203       <type>xml</type>
204       <classifier>moduleconf</classifier>
205     </dependency>
206     <dependency>
207       <groupId>org.opendaylight.controller</groupId>
208       <artifactId>sal-clustering-config</artifactId>
209       <version>${mdsal.version}</version>
210       <type>xml</type>
211       <classifier>akkaconf</classifier>
212     </dependency>
213     <dependency>
214       <groupId>org.opendaylight.controller</groupId>
215       <artifactId>sal-clustering-config</artifactId>
216       <version>${mdsal.version}</version>
217       <type>xml</type>
218       <classifier>config</classifier>
219     </dependency>
220
221     <dependency>
222       <groupId>org.opendaylight.controller</groupId>
223       <artifactId>sal-distributed-datastore</artifactId>
224     </dependency>
225
226     <dependency>
227       <groupId>org.opendaylight.controller</groupId>
228       <artifactId>sal-inmemory-datastore</artifactId>
229     </dependency>
230
231     <dependency>
232       <groupId>org.opendaylight.controller</groupId>
233       <artifactId>sal-netconf-connector</artifactId>
234     </dependency>
235     <dependency>
236       <groupId>org.opendaylight.controller</groupId>
237       <artifactId>sal-remote</artifactId>
238     </dependency>
239     <dependency>
240       <groupId>org.opendaylight.controller</groupId>
241       <artifactId>sal-remoterpc-connector</artifactId>
242     </dependency>
243     <dependency>
244       <groupId>org.opendaylight.controller</groupId>
245       <artifactId>sal-rest-connector</artifactId>
246     </dependency>
247     <dependency>
248       <groupId>org.opendaylight.controller</groupId>
249       <artifactId>sal-rest-connector-config</artifactId>
250       <version>${mdsal.version}</version>
251       <type>xml</type>
252       <classifier>config</classifier>
253     </dependency>
254     <dependency>
255       <groupId>org.opendaylight.controller</groupId>
256       <artifactId>sal-rest-docgen</artifactId>
257     </dependency>
258
259     <dependency>
260       <groupId>org.opendaylight.controller</groupId>
261       <artifactId>netconf-config-dispatcher</artifactId>
262     </dependency>
263     <dependency>
264       <groupId>org.opendaylight.controller</groupId>
265       <artifactId>netconf-connector-config</artifactId>
266       <version>${netconf.version}</version>
267       <type>xml</type>
268       <classifier>config</classifier>
269     </dependency>
270
271     <dependency>
272       <groupId>org.opendaylight.controller.model</groupId>
273       <artifactId>model-inventory</artifactId>
274     </dependency>
275
276     <dependency>
277       <groupId>org.opendaylight.controller.samples</groupId>
278       <artifactId>clustering-it-config</artifactId>
279       <version>${mdsal.version}</version>
280       <type>xml</type>
281       <classifier>config</classifier>
282     </dependency>
283     <dependency>
284       <groupId>org.opendaylight.controller.samples</groupId>
285       <artifactId>clustering-it-config</artifactId>
286       <version>${mdsal.version}</version>
287       <type>xml</type>
288       <classifier>testmoduleconf</classifier>
289     </dependency>
290     <dependency>
291       <groupId>org.opendaylight.controller.samples</groupId>
292       <artifactId>clustering-it-config</artifactId>
293       <version>${mdsal.version}</version>
294       <type>xml</type>
295       <classifier>testmoduleshardconf</classifier>
296     </dependency>
297     <dependency>
298       <groupId>org.opendaylight.controller.samples</groupId>
299       <artifactId>clustering-it-model</artifactId>
300       <version>${mdsal.version}</version>
301     </dependency>
302     <dependency>
303       <groupId>org.opendaylight.controller.samples</groupId>
304       <artifactId>clustering-it-provider</artifactId>
305       <version>${mdsal.version}</version>
306     </dependency>
307
308     <!-- toaster -->
309     <dependency>
310       <groupId>org.opendaylight.controller.samples</groupId>
311       <artifactId>sample-toaster</artifactId>
312     </dependency>
313     <dependency>
314       <groupId>org.opendaylight.controller.samples</groupId>
315       <artifactId>sample-toaster-consumer</artifactId>
316     </dependency>
317     <dependency>
318       <groupId>org.opendaylight.controller.samples</groupId>
319       <artifactId>sample-toaster-provider</artifactId>
320     </dependency>
321     <dependency>
322       <groupId>org.opendaylight.controller.samples</groupId>
323       <artifactId>toaster-config</artifactId>
324       <version>${mdsal.version}</version>
325       <type>xml</type>
326       <classifier>config</classifier>
327     </dependency>
328
329     <!-- yang -->
330     <dependency>
331       <groupId>org.opendaylight.yangtools</groupId>
332       <artifactId>features-yangtools</artifactId>
333       <classifier>features</classifier>
334       <type>xml</type>
335     </dependency>
336
337     <!-- test to validate features.xml -->
338     <dependency>
339       <groupId>org.opendaylight.yangtools</groupId>
340       <artifactId>features-test</artifactId>
341       <version>0.7.0-SNAPSHOT</version>
342     </dependency>
343   </dependencies>
344
345   <build>
346     <resources>
347       <resource>
348         <filtering>true</filtering>
349         <directory>src/main/resources</directory>
350       </resource>
351     </resources>
352     <plugins>
353       <plugin>
354         <groupId>org.apache.maven.plugins</groupId>
355         <artifactId>maven-resources-plugin</artifactId>
356         <executions>
357           <execution>
358             <id>filter</id>
359             <goals>
360               <goal>resources</goal>
361             </goals>
362             <phase>generate-resources</phase>
363           </execution>
364         </executions>
365       </plugin>
366       <plugin>
367         <groupId>org.codehaus.mojo</groupId>
368         <artifactId>build-helper-maven-plugin</artifactId>
369         <executions>
370           <execution>
371             <id>attach-artifacts</id>
372             <goals>
373               <goal>attach-artifact</goal>
374             </goals>
375             <phase>package</phase>
376             <configuration>
377               <artifacts>
378                 <artifact>
379                   <file>${project.build.directory}/classes/${features.file}</file>
380                   <type>xml</type>
381                   <classifier>features</classifier>
382                 </artifact>
383               </artifacts>
384             </configuration>
385           </execution>
386         </executions>
387       </plugin>
388       <plugin>
389         <groupId>org.apache.maven.plugins</groupId>
390         <artifactId>maven-surefire-plugin</artifactId>
391         <configuration>
392           <systemPropertyVariables>
393             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
394             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
395             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
396           </systemPropertyVariables>
397           <dependenciesToScan>
398            <dependency>org.opendaylight.yangtools:features-test</dependency>
399           </dependenciesToScan>
400         </configuration>
401       </plugin>
402       <plugin>
403         <groupId>org.apache.maven.plugins</groupId>
404         <artifactId>maven-dependency-plugin</artifactId>
405         <version>2.8</version>
406         <executions>
407           <execution>
408             <id>unpack-static-documentation</id>
409             <goals>
410               <goal>unpack-dependencies</goal>
411             </goals>
412             <phase>generate-resources</phase>
413             <configuration>
414               <outputDirectory>${project.build.directory}/generated-resources/swagger-api-documentation</outputDirectory>
415               <includeArtifactIds>sal-rest-docgen</includeArtifactIds>
416               <includes>**/explorer/css/**/*, **/explorer/images/**/*, **/explorer/lib/**/*, **/explorer/static/**/*,</includes>
417               <excludeTransitive>true</excludeTransitive>
418               <ignorePermissions>false</ignorePermissions>
419             </configuration>
420           </execution>
421         </executions>
422       </plugin>
423       <plugin>
424         <groupId>org.opendaylight.yangtools</groupId>
425         <artifactId>yang-maven-plugin</artifactId>
426         <version>${yangtools.version}</version>
427         <dependencies>
428           <dependency>
429             <groupId>org.opendaylight.yangtools</groupId>
430             <artifactId>maven-sal-api-gen-plugin</artifactId>
431             <version>${yangtools.version}</version>
432             <type>jar</type>
433           </dependency>
434           <dependency>
435             <groupId>org.opendaylight.yangtools</groupId>
436             <artifactId>yang-binding</artifactId>
437             <version>${yangtools.version}</version>
438             <type>jar</type>
439           </dependency>
440           <dependency>
441             <groupId>org.opendaylight.controller</groupId>
442             <artifactId>sal-rest-docgen</artifactId>
443             <version>${mdsal.version}</version>
444             <type>jar</type>
445           </dependency>
446         </dependencies>
447         <executions>
448           <execution>
449             <goals>
450               <goal>generate-sources</goal>
451             </goals>
452             <configuration>
453               <yangFilesRootDir>src</yangFilesRootDir>
454               <codeGenerators>
455                 <generator>
456                   <codeGeneratorClass>org.opendaylight.controller.sal.rest.doc.impl.StaticDocGenerator</codeGeneratorClass>
457                   <outputBaseDir>${project.build.directory}/generated-resources/swagger-api-documentation/explorer/static</outputBaseDir>
458                 </generator>
459               </codeGenerators>
460               <inspectDependencies>true</inspectDependencies>
461             </configuration>
462           </execution>
463         </executions>
464       </plugin>
465     </plugins>
466   </build>
467   <scm>
468     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
469     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
470     <tag>HEAD</tag>
471     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
472   </scm>
473 </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.