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