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