Switching SB to config subsystem
[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.3.0-SNAPSHOT</version>
15   </parent>
16   <artifactId>features-lispflowmapping</artifactId>
17   <packaging>jar</packaging>
18   <name>LISP Flow Mapping Project - Karaf Features</name>
19   <prerequisites>
20     <maven>3.1.1</maven>
21   </prerequisites>
22   <properties>
23     <configfile.directory>etc/opendaylight/karaf</configfile.directory>
24     <features.file>features.xml</features.file>
25     <mdsal.version>1.3.0-SNAPSHOT</mdsal.version>
26     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
27   </properties>
28   <dependencyManagement>
29     <dependencies>
30       <!-- project specific dependencies -->
31       <dependency>
32         <groupId>org.opendaylight.controller</groupId>
33         <artifactId>mdsal-artifacts</artifactId>
34         <version>${mdsal.version}</version>
35         <type>pom</type>
36         <scope>import</scope>
37       </dependency>
38     </dependencies>
39   </dependencyManagement>
40   <dependencies>
41     <dependency>
42       <groupId>org.opendaylight.controller</groupId>
43       <artifactId>features-adsal</artifactId>
44       <classifier>features</classifier>
45       <type>xml</type>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.controller</groupId>
49       <artifactId>features-netconf-connector</artifactId>
50       <classifier>features</classifier>
51       <type>xml</type>
52     </dependency>
53     <dependency>
54       <groupId>org.opendaylight.controller</groupId>
55       <artifactId>features-nsf</artifactId>
56       <classifier>features</classifier>
57       <type>xml</type>
58     </dependency>
59     <dependency>
60       <groupId>org.opendaylight.controller</groupId>
61       <artifactId>features-mdsal</artifactId>
62       <classifier>features</classifier>
63       <type>xml</type>
64       <scope>runtime</scope>
65     </dependency>
66     <dependency>
67       <groupId>org.opendaylight.controller</groupId>
68       <artifactId>features-restconf</artifactId>
69       <classifier>features</classifier>
70       <type>xml</type>
71       <scope>runtime</scope>
72     </dependency>
73     <dependency>
74       <groupId>org.opendaylight.yangtools</groupId>
75       <artifactId>features-yangtools</artifactId>
76       <version>${yangtools.version}</version>
77       <classifier>features</classifier>
78       <type>xml</type>
79       <scope>runtime</scope>
80     </dependency>
81     <dependency>
82       <groupId>${project.groupId}</groupId>
83       <artifactId>mappingservice.implementation</artifactId>
84       <version>${project.version}</version>
85     </dependency>
86     <dependency>
87       <groupId>${project.groupId}</groupId>
88       <artifactId>mappingservice.implementation</artifactId>
89       <version>${project.version}</version>
90       <classifier>config</classifier>
91       <type>xml</type>
92     </dependency>
93     <dependency>
94       <groupId>${project.groupId}</groupId>
95       <artifactId>mappingservice.southbound</artifactId>
96       <version>${project.version}</version>
97     </dependency>
98     <dependency>
99       <groupId>${project.groupId}</groupId>
100       <artifactId>mappingservice.southbound</artifactId>
101       <version>${project.version}</version>
102       <classifier>config</classifier>
103       <type>xml</type>
104     </dependency>
105     <dependency>
106       <groupId>org.opendaylight.lispflowmapping</groupId>
107       <artifactId>mappingservice.api</artifactId>
108     </dependency>
109 <!--     <dependency>
110       <groupId>org.opendaylight.lispflowmapping</groupId>
111       <artifactId>mappingservice.clusterdao</artifactId>
112     </dependency> -->
113     <dependency>
114       <groupId>org.opendaylight.lispflowmapping</groupId>
115       <artifactId>mappingservice.config</artifactId>
116     </dependency>
117     <dependency>
118       <groupId>org.opendaylight.lispflowmapping</groupId>
119       <artifactId>mappingservice.netconf</artifactId>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.lispflowmapping</groupId>
123       <artifactId>mappingservice.neutron</artifactId>
124     </dependency>
125     <dependency>
126       <groupId>org.opendaylight.lispflowmapping</groupId>
127       <artifactId>mappingservice.shell</artifactId>
128     </dependency>
129     <dependency>
130       <groupId>org.opendaylight.lispflowmapping</groupId>
131       <artifactId>mappingservice.yangmodel</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.neutron</groupId>
135       <artifactId>features-neutron</artifactId>
136       <classifier>features</classifier>
137       <type>xml</type>
138     </dependency>
139     <!-- error : java.lang.NoSuchMethodError: org.slf4j.helpers.MessageFormatter.format(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)Lorg/slf4j/helpers/FormattingTuple; -->
140     <dependency>
141       <groupId>org.slf4j</groupId>
142       <artifactId>slf4j-simple</artifactId>
143     </dependency>
144     <!-- test to validate features.xml -->
145     <dependency>
146       <groupId>org.opendaylight.odlparent</groupId>
147       <artifactId>features-test</artifactId>
148       <version>1.6.0-SNAPSHOT</version>
149       <scope>test</scope>
150     </dependency>
151     <dependency>
152       <groupId>junit</groupId>
153       <artifactId>junit-dep</artifactId>
154       <version>${junit.version}</version>
155       <scope>test</scope>
156     </dependency>
157     <!-- dependency for opendaylight-karaf-empty for use by testing -->
158     <dependency>
159       <groupId>org.opendaylight.controller</groupId>
160       <artifactId>opendaylight-karaf-empty</artifactId>
161       <type>zip</type>
162     </dependency>
163   </dependencies>
164
165   <build>
166     <resources>
167       <resource>
168         <filtering>true</filtering>
169         <directory>src/main/resources</directory>
170       </resource>
171     </resources>
172     <plugins>
173       <plugin>
174         <groupId>org.apache.maven.plugins</groupId>
175         <artifactId>maven-resources-plugin</artifactId>
176         <executions>
177           <execution>
178             <id>filter</id>
179             <goals>
180               <goal>resources</goal>
181             </goals>
182             <phase>generate-resources</phase>
183           </execution>
184         </executions>
185       </plugin>
186       <plugin>
187         <groupId>org.apache.maven.plugins</groupId>
188         <artifactId>maven-surefire-plugin</artifactId>
189         <configuration>
190           <systemPropertyVariables>
191             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
192             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
193             <karaf.distro.version>${karaf.empty.version}</karaf.distro.version>
194           </systemPropertyVariables>
195           <dependenciesToScan>
196             <dependency>org.opendaylight.odlparent:features-test</dependency>
197           </dependenciesToScan>
198         </configuration>
199       </plugin>
200       <plugin>
201         <groupId>org.codehaus.mojo</groupId>
202         <artifactId>build-helper-maven-plugin</artifactId>
203         <executions>
204           <execution>
205             <id>attach-artifacts</id>
206             <goals>
207               <goal>attach-artifact</goal>
208             </goals>
209             <phase>package</phase>
210             <configuration>
211               <artifacts>
212                 <artifact>
213                   <file>${project.build.directory}/classes/${features.file}</file>
214                   <type>xml</type>
215                   <classifier>features</classifier>
216                 </artifact>
217               </artifacts>
218             </configuration>
219           </execution>
220         </executions>
221       </plugin>
222     </plugins>
223   </build>
224 </project>