Merge changes I879118ce,I664b391e
[controller.git] / features / base / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.5.0-SNAPSHOT</version>
8     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>features-base</artifactId>
11   <packaging>jar</packaging>
12   <name>${project.artifactId}</name>
13   <description>Base Features POM</description>
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17   <dependencies>
18     <dependency>
19       <groupId>ch.qos.logback</groupId>
20       <artifactId>logback-classic</artifactId>
21     </dependency>
22     <dependency>
23       <groupId>ch.qos.logback</groupId>
24       <artifactId>logback-core</artifactId>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>dummy-console</artifactId>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>karaf-tomcat-security</artifactId>
33     </dependency>
34     <dependency>
35       <groupId>org.opendaylight.controller.thirdparty</groupId>
36       <artifactId>ganymed</artifactId>
37     </dependency>
38     <dependency>
39       <groupId>com.fasterxml.jackson.core</groupId>
40       <artifactId>jackson-annotations</artifactId>
41     </dependency>
42     <dependency>
43       <groupId>com.fasterxml.jackson.core</groupId>
44       <artifactId>jackson-core</artifactId>
45     </dependency>
46     <dependency>
47       <groupId>com.fasterxml.jackson.core</groupId>
48       <artifactId>jackson-databind</artifactId>
49     </dependency>
50     <dependency>
51       <groupId>com.fasterxml.jackson.datatype</groupId>
52       <artifactId>jackson-datatype-json-org</artifactId>
53     </dependency>
54     <dependency>
55       <groupId>com.fasterxml.jackson.jaxrs</groupId>
56       <artifactId>jackson-jaxrs-base</artifactId>
57     </dependency>
58     <dependency>
59       <groupId>com.fasterxml.jackson.jaxrs</groupId>
60       <artifactId>jackson-jaxrs-json-provider</artifactId>
61     </dependency>
62     <dependency>
63       <groupId>com.fasterxml.jackson.module</groupId>
64       <artifactId>jackson-module-jaxb-annotations</artifactId>
65     </dependency>
66     <dependency>
67       <groupId>com.google.code.gson</groupId>
68       <artifactId>gson</artifactId>
69     </dependency>
70     <dependency>
71       <groupId>com.google.guava</groupId>
72       <artifactId>guava</artifactId>
73     </dependency>
74     <dependency>
75       <groupId>com.sun.jersey</groupId>
76       <artifactId>jersey-client</artifactId>
77     </dependency>
78     <!-- Jersey for JAXRS -->
79     <dependency>
80       <groupId>com.sun.jersey</groupId>
81       <artifactId>jersey-core</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>com.sun.jersey</groupId>
85       <artifactId>jersey-server</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>commons-codec</groupId>
89       <artifactId>commons-codec</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>commons-fileupload</groupId>
93       <artifactId>commons-fileupload</artifactId>
94     </dependency>
95     <dependency>
96       <groupId>commons-io</groupId>
97       <artifactId>commons-io</artifactId>
98     </dependency>
99     <dependency>
100       <groupId>commons-net</groupId>
101       <artifactId>commons-net</artifactId>
102     </dependency>
103     <dependency>
104       <groupId>eclipselink</groupId>
105       <artifactId>javax.persistence</artifactId>
106     </dependency>
107     <dependency>
108       <groupId>eclipselink</groupId>
109       <artifactId>javax.resource</artifactId>
110     </dependency>
111     <dependency>
112       <groupId>equinoxSDK381</groupId>
113       <artifactId>javax.servlet</artifactId>
114     </dependency>
115     <dependency>
116       <groupId>equinoxSDK381</groupId>
117       <artifactId>javax.servlet.jsp</artifactId>
118     </dependency>
119     <dependency>
120       <groupId>equinoxSDK381</groupId>
121       <artifactId>org.apache.felix.gogo.command</artifactId>
122     </dependency>
123     <dependency>
124       <groupId>equinoxSDK381</groupId>
125       <artifactId>org.apache.felix.gogo.runtime</artifactId>
126     </dependency>
127     <dependency>
128       <groupId>equinoxSDK381</groupId>
129       <artifactId>org.apache.felix.gogo.shell</artifactId>
130     </dependency>
131     <dependency>
132       <groupId>equinoxSDK381</groupId>
133       <artifactId>org.eclipse.equinox.cm</artifactId>
134     </dependency>
135     <dependency>
136       <groupId>equinoxSDK381</groupId>
137       <artifactId>org.eclipse.equinox.console</artifactId>
138     </dependency>
139     <dependency>
140       <groupId>equinoxSDK381</groupId>
141       <artifactId>org.eclipse.equinox.ds</artifactId>
142     </dependency>
143     <dependency>
144       <groupId>equinoxSDK381</groupId>
145       <artifactId>org.eclipse.equinox.launcher</artifactId>
146     </dependency>
147     <dependency>
148       <groupId>equinoxSDK381</groupId>
149       <artifactId>org.eclipse.equinox.util</artifactId>
150     </dependency>
151     <dependency>
152       <groupId>equinoxSDK381</groupId>
153       <artifactId>org.eclipse.osgi</artifactId>
154     </dependency>
155     <dependency>
156       <groupId>equinoxSDK381</groupId>
157       <artifactId>org.eclipse.osgi.services</artifactId>
158     </dependency>
159     <!-- Gemini Web -->
160     <dependency>
161       <groupId>geminiweb</groupId>
162       <artifactId>org.eclipse.gemini.web.core</artifactId>
163     </dependency>
164     <dependency>
165       <groupId>geminiweb</groupId>
166       <artifactId>org.eclipse.gemini.web.extender</artifactId>
167     </dependency>
168     <dependency>
169       <groupId>geminiweb</groupId>
170       <artifactId>org.eclipse.gemini.web.tomcat</artifactId>
171     </dependency>
172     <dependency>
173       <groupId>geminiweb</groupId>
174       <artifactId>org.eclipse.virgo.kernel.equinox.extensions</artifactId>
175     </dependency>
176     <dependency>
177       <groupId>geminiweb</groupId>
178       <artifactId>org.eclipse.virgo.util.common</artifactId>
179     </dependency>
180     <dependency>
181       <groupId>geminiweb</groupId>
182       <artifactId>org.eclipse.virgo.util.io</artifactId>
183     </dependency>
184     <dependency>
185       <groupId>geminiweb</groupId>
186       <artifactId>org.eclipse.virgo.util.math</artifactId>
187     </dependency>
188     <dependency>
189       <groupId>geminiweb</groupId>
190       <artifactId>org.eclipse.virgo.util.osgi</artifactId>
191     </dependency>
192     <dependency>
193       <groupId>geminiweb</groupId>
194       <artifactId>org.eclipse.virgo.util.osgi.manifest</artifactId>
195     </dependency>
196     <dependency>
197       <groupId>geminiweb</groupId>
198       <artifactId>org.eclipse.virgo.util.parser.manifest</artifactId>
199     </dependency>
200     <dependency>
201       <groupId>io.netty</groupId>
202       <artifactId>netty-buffer</artifactId>
203     </dependency>
204     <dependency>
205       <groupId>io.netty</groupId>
206       <artifactId>netty-codec</artifactId>
207     </dependency>
208     <dependency>
209       <groupId>io.netty</groupId>
210       <artifactId>netty-codec-http</artifactId>
211     </dependency>
212     <dependency>
213       <groupId>io.netty</groupId>
214       <artifactId>netty-common</artifactId>
215     </dependency>
216
217     <!--Netty-->
218     <dependency>
219       <groupId>io.netty</groupId>
220       <artifactId>netty-handler</artifactId>
221     </dependency>
222     <dependency>
223       <groupId>io.netty</groupId>
224       <artifactId>netty-transport</artifactId>
225     </dependency>
226     <dependency>
227       <groupId>orbit</groupId>
228       <artifactId>javax.activation</artifactId>
229     </dependency>
230     <dependency>
231       <groupId>orbit</groupId>
232       <artifactId>javax.annotation</artifactId>
233     </dependency>
234     <dependency>
235       <groupId>orbit</groupId>
236       <artifactId>javax.ejb</artifactId>
237     </dependency>
238     <dependency>
239       <groupId>orbit</groupId>
240       <artifactId>javax.el</artifactId>
241     </dependency>
242     <dependency>
243       <groupId>orbit</groupId>
244       <artifactId>javax.mail.glassfish</artifactId>
245     </dependency>
246     <dependency>
247       <groupId>orbit</groupId>
248       <artifactId>javax.servlet.jsp.jstl</artifactId>
249     </dependency>
250     <dependency>
251       <groupId>orbit</groupId>
252       <artifactId>javax.servlet.jsp.jstl.impl</artifactId>
253     </dependency>
254     <dependency>
255       <groupId>orbit</groupId>
256       <artifactId>javax.xml.rpc</artifactId>
257     </dependency>
258     <dependency>
259       <groupId>orbit</groupId>
260       <artifactId>org.apache.catalina</artifactId>
261     </dependency>
262     <dependency>
263       <groupId>orbit</groupId>
264       <artifactId>org.apache.catalina.ha</artifactId>
265     </dependency>
266     <dependency>
267       <groupId>orbit</groupId>
268       <artifactId>org.apache.catalina.tribes</artifactId>
269     </dependency>
270     <dependency>
271       <groupId>orbit</groupId>
272       <artifactId>org.apache.coyote</artifactId>
273     </dependency>
274     <dependency>
275       <groupId>orbit</groupId>
276       <artifactId>org.apache.el</artifactId>
277     </dependency>
278     <dependency>
279       <groupId>orbit</groupId>
280       <artifactId>org.apache.jasper</artifactId>
281     </dependency>
282     <dependency>
283       <groupId>orbit</groupId>
284       <artifactId>org.apache.juli.extras</artifactId>
285     </dependency>
286     <dependency>
287       <groupId>orbit</groupId>
288       <artifactId>org.apache.tomcat.api</artifactId>
289     </dependency>
290     <dependency>
291       <groupId>orbit</groupId>
292       <artifactId>org.apache.tomcat.util</artifactId>
293     </dependency>
294     <dependency>
295       <groupId>org.aopalliance</groupId>
296       <artifactId>com.springsource.org.aopalliance</artifactId>
297     </dependency>
298     <dependency>
299       <groupId>org.apache.commons</groupId>
300       <artifactId>commons-lang3</artifactId>
301     </dependency>
302     <dependency>
303       <groupId>org.apache.felix</groupId>
304       <artifactId>org.apache.felix.dependencymanager</artifactId>
305     </dependency>
306     <dependency>
307       <groupId>org.apache.felix</groupId>
308       <artifactId>org.apache.felix.dependencymanager.shell</artifactId>
309     </dependency>
310     <dependency>
311       <groupId>org.apache.felix</groupId>
312       <artifactId>org.apache.felix.fileinstall</artifactId>
313     </dependency>
314     <!-- felix webconsole -->
315     <dependency>
316       <groupId>org.apache.felix</groupId>
317       <artifactId>org.apache.felix.webconsole</artifactId>
318       <classifier>all</classifier>
319     </dependency>
320
321     <dependency>
322       <groupId>org.codehaus.jettison</groupId>
323       <artifactId>jettison</artifactId>
324     </dependency>
325
326     <dependency>
327       <groupId>org.eclipse.equinox.http</groupId>
328       <artifactId>servlet</artifactId>
329     </dependency>
330     <dependency>
331       <groupId>org.eclipse.persistence</groupId>
332       <artifactId>org.eclipse.persistence.antlr</artifactId>
333     </dependency>
334     <dependency>
335       <groupId>org.eclipse.persistence</groupId>
336       <artifactId>org.eclipse.persistence.core</artifactId>
337     </dependency>
338     <dependency>
339       <groupId>org.eclipse.persistence</groupId>
340       <artifactId>org.eclipse.persistence.moxy</artifactId>
341     </dependency>
342     <dependency>
343       <groupId>org.javassist</groupId>
344       <artifactId>javassist</artifactId>
345     </dependency>
346     <dependency>
347       <groupId>org.jboss.spec.javax.transaction</groupId>
348       <artifactId>jboss-transaction-api_1.1_spec</artifactId>
349     </dependency>
350     <dependency>
351       <groupId>org.jolokia</groupId>
352       <artifactId>jolokia-osgi</artifactId>
353     </dependency>
354
355     <dependency>
356       <groupId>org.json</groupId>
357       <artifactId>json</artifactId>
358     </dependency>
359
360     <dependency>
361       <groupId>org.ow2.asm</groupId>
362       <artifactId>asm-all</artifactId>
363     </dependency>
364     <!-- Visual VM hook -->
365     <dependency>
366       <groupId>org.ow2.chameleon.management</groupId>
367       <artifactId>chameleon-mbeans</artifactId>
368     </dependency>
369
370     <!-- Third party depedencies -->
371     <dependency>
372       <groupId>org.slf4j</groupId>
373       <artifactId>jcl-over-slf4j</artifactId>
374     </dependency>
375     <dependency>
376       <groupId>org.slf4j</groupId>
377       <artifactId>log4j-over-slf4j</artifactId>
378     </dependency>
379     <dependency>
380       <groupId>org.slf4j</groupId>
381       <artifactId>slf4j-api</artifactId>
382     </dependency>
383     <dependency>
384       <groupId>org.springframework</groupId>
385       <artifactId>org.springframework.aop</artifactId>
386     </dependency>
387     <!-- Add Pax Exam -->
388     <dependency>
389       <groupId>org.springframework</groupId>
390       <artifactId>org.springframework.asm</artifactId>
391     </dependency>
392     <dependency>
393       <groupId>org.springframework</groupId>
394       <artifactId>org.springframework.beans</artifactId>
395     </dependency>
396     <dependency>
397       <groupId>org.springframework</groupId>
398       <artifactId>org.springframework.context</artifactId>
399     </dependency>
400     <dependency>
401       <groupId>org.springframework</groupId>
402       <artifactId>org.springframework.context.support</artifactId>
403     </dependency>
404     <dependency>
405       <groupId>org.springframework</groupId>
406       <artifactId>org.springframework.core</artifactId>
407     </dependency>
408     <dependency>
409       <groupId>org.springframework</groupId>
410       <artifactId>org.springframework.expression</artifactId>
411     </dependency>
412     <dependency>
413       <groupId>org.springframework</groupId>
414       <artifactId>org.springframework.transaction</artifactId>
415     </dependency>
416     <dependency>
417       <groupId>org.springframework</groupId>
418       <artifactId>org.springframework.web</artifactId>
419     </dependency>
420     <dependency>
421       <groupId>org.springframework</groupId>
422       <artifactId>org.springframework.web.servlet</artifactId>
423     </dependency>
424     <!-- Spring security -->
425     <dependency>
426       <groupId>org.springframework.security</groupId>
427       <artifactId>spring-security-config</artifactId>
428     </dependency>
429     <dependency>
430       <groupId>org.springframework.security</groupId>
431       <artifactId>spring-security-core</artifactId>
432     </dependency>
433     <dependency>
434       <groupId>org.springframework.security</groupId>
435       <artifactId>spring-security-taglibs</artifactId>
436     </dependency>
437     <dependency>
438       <groupId>org.springframework.security</groupId>
439       <artifactId>spring-security-web</artifactId>
440     </dependency>
441     <dependency>
442       <groupId>virgomirror</groupId>
443       <artifactId>org.eclipse.jdt.core.compiler.batch</artifactId>
444     </dependency>
445
446     <!-- test to validate features.xml -->
447     <dependency>
448       <groupId>org.opendaylight.yangtools</groupId>
449       <artifactId>features-test</artifactId>
450       <version>0.7.0-SNAPSHOT</version>
451     </dependency>
452     <!-- dependency for opendaylight-karaf-empty for use by testing -->
453     <dependency>
454       <groupId>org.opendaylight.controller</groupId>
455       <artifactId>opendaylight-karaf-empty</artifactId>
456       <version>1.5.0-SNAPSHOT</version>
457       <type>zip</type>
458     </dependency>
459   </dependencies>
460   <build>
461     <resources>
462       <resource>
463         <filtering>true</filtering>
464         <directory>src/main/resources</directory>
465       </resource>
466     </resources>
467     <plugins>
468       <plugin>
469         <groupId>org.apache.karaf.tooling</groupId>
470         <artifactId>karaf-maven-plugin</artifactId>
471         <version>${karaf.version}</version>
472         <extensions>true</extensions>
473         <executions>
474           <execution>
475             <id>features-create-kar</id>
476             <goals>
477               <goal>features-create-kar</goal>
478             </goals>
479             <configuration>
480               <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
481             </configuration>
482           </execution>
483         </executions>
484         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
485       </plugin>
486       <plugin>
487         <groupId>org.apache.maven.plugins</groupId>
488         <artifactId>maven-resources-plugin</artifactId>
489         <executions>
490           <execution>
491             <id>filter</id>
492             <goals>
493               <goal>resources</goal>
494             </goals>
495             <phase>generate-resources</phase>
496           </execution>
497         </executions>
498       </plugin>
499       <plugin>
500         <groupId>org.codehaus.mojo</groupId>
501         <artifactId>build-helper-maven-plugin</artifactId>
502         <executions>
503           <execution>
504             <id>attach-artifacts</id>
505             <goals>
506               <goal>attach-artifact</goal>
507             </goals>
508             <phase>package</phase>
509             <configuration>
510               <artifacts>
511                 <artifact>
512                   <file>${project.build.directory}/classes/${features.file}</file>
513                   <type>xml</type>
514                   <classifier>features</classifier>
515                 </artifact>
516               </artifacts>
517             </configuration>
518           </execution>
519         </executions>
520       </plugin>
521       <plugin>
522         <groupId>org.apache.maven.plugins</groupId>
523         <artifactId>maven-surefire-plugin</artifactId>
524         <configuration>
525           <systemPropertyVariables>
526             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
527             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
528             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
529           </systemPropertyVariables>
530           <dependenciesToScan>
531            <dependency>org.opendaylight.yangtools:features-test</dependency>
532           </dependenciesToScan>
533         </configuration>
534       </plugin>
535     </plugins>
536   </build>
537 </project>