Add support for Karaf shell lisp:* commands
[lispflowmapping.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <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">
10   <modelVersion>4.0.0</modelVersion>
11   <parent>
12     <groupId>org.opendaylight.lispflowmapping</groupId>
13     <artifactId>lispflowmapping-all</artifactId>
14     <version>1.2.0-SNAPSHOT</version>
15   </parent>
16   <artifactId>features-lispflowmapping</artifactId>
17   <packaging>jar</packaging>
18   <name>LISP Flow Mapping Project - Karaf Features</name>
19   <properties>
20     <features.file>features.xml</features.file>
21   </properties>
22
23   <dependencies>
24     <dependency>
25       <groupId>org.opendaylight.controller</groupId>
26       <artifactId>features-adsal</artifactId>
27       <classifier>features</classifier>
28       <type>xml</type>
29     </dependency>
30     <dependency>
31       <groupId>org.opendaylight.controller</groupId>
32       <artifactId>features-mdsal</artifactId>
33       <classifier>features</classifier>
34       <type>xml</type>
35     </dependency>
36     <dependency>
37       <groupId>org.opendaylight.controller</groupId>
38       <artifactId>features-netconf-connector</artifactId>
39       <classifier>features</classifier>
40       <type>xml</type>
41     </dependency>
42     <dependency>
43       <groupId>org.opendaylight.controller</groupId>
44       <artifactId>features-nsf</artifactId>
45       <classifier>features</classifier>
46       <type>xml</type>
47     </dependency>
48     <!-- dependency for opendaylight-karaf-empty for use by testing -->
49     <dependency>
50       <groupId>org.opendaylight.controller</groupId>
51       <artifactId>opendaylight-karaf-empty</artifactId>
52       <type>zip</type>
53     </dependency>
54
55     <dependency>
56       <groupId>org.opendaylight.lispflowmapping</groupId>
57       <artifactId>mappingservice.api</artifactId>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.lispflowmapping</groupId>
61       <artifactId>mappingservice.clusterdao</artifactId>
62     </dependency>
63
64     <dependency>
65       <groupId>org.opendaylight.lispflowmapping</groupId>
66       <artifactId>mappingservice.config</artifactId>
67     </dependency>
68
69     <dependency>
70       <groupId>org.opendaylight.lispflowmapping</groupId>
71       <artifactId>mappingservice.implementation</artifactId>
72     </dependency>
73
74     <dependency>
75       <groupId>org.opendaylight.lispflowmapping</groupId>
76       <artifactId>mappingservice.netconf</artifactId>
77     </dependency>
78
79     <dependency>
80       <groupId>org.opendaylight.lispflowmapping</groupId>
81       <artifactId>mappingservice.neutron</artifactId>
82     </dependency>
83
84     <dependency>
85       <groupId>org.opendaylight.lispflowmapping</groupId>
86       <artifactId>mappingservice.northbound</artifactId>
87     </dependency>
88     <dependency>
89       <groupId>org.opendaylight.lispflowmapping</groupId>
90       <artifactId>mappingservice.shell</artifactId>
91     </dependency>
92
93     <dependency>
94       <groupId>org.opendaylight.lispflowmapping</groupId>
95       <artifactId>mappingservice.southbound</artifactId>
96     </dependency>
97     <dependency>
98       <groupId>org.opendaylight.lispflowmapping</groupId>
99       <artifactId>mappingservice.yangmodel</artifactId>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.neutron</groupId>
103       <artifactId>features-neutron</artifactId>
104       <classifier>features</classifier>
105       <type>xml</type>
106     </dependency>
107     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
108     <dependency>
109       <groupId>org.slf4j</groupId>
110       <artifactId>slf4j-simple</artifactId>
111     </dependency>
112     <!-- test to validate features.xml -->
113     <dependency>
114       <groupId>org.opendaylight.odlparent</groupId>
115       <artifactId>features-test</artifactId>
116       <version>1.5.0-SNAPSHOT</version>
117       <scope>test</scope>
118     </dependency>
119   </dependencies>
120
121   <build>
122     <resources>
123       <resource>
124         <filtering>true</filtering>
125         <directory>src/main/resources</directory>
126       </resource>
127     </resources>
128     <plugins>
129       <plugin>
130         <groupId>org.apache.maven.plugins</groupId>
131         <artifactId>maven-resources-plugin</artifactId>
132         <executions>
133           <execution>
134             <id>filter</id>
135             <goals>
136               <goal>resources</goal>
137             </goals>
138             <phase>generate-resources</phase>
139           </execution>
140         </executions>
141       </plugin>
142       <plugin>
143         <groupId>org.apache.maven.plugins</groupId>
144         <artifactId>maven-surefire-plugin</artifactId>
145         <configuration>
146           <systemPropertyVariables>
147             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
148             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
149             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
150           </systemPropertyVariables>
151           <dependenciesToScan>
152             <dependency>org.opendaylight.odlparent:features-test</dependency>
153           </dependenciesToScan>
154         </configuration>
155       </plugin>
156       <plugin>
157         <groupId>org.codehaus.mojo</groupId>
158         <artifactId>build-helper-maven-plugin</artifactId>
159         <executions>
160           <execution>
161             <id>attach-artifacts</id>
162             <goals>
163               <goal>attach-artifact</goal>
164             </goals>
165             <phase>package</phase>
166             <configuration>
167               <artifacts>
168                 <artifact>
169                   <file>${project.build.directory}/classes/${features.file}</file>
170                   <type>xml</type>
171                   <classifier>features</classifier>
172                 </artifact>
173               </artifacts>
174             </configuration>
175           </execution>
176         </executions>
177       </plugin>
178     </plugins>
179   </build>
180 </project>