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