Adding features to main features.xml in integraion repo
[integration/distribution.git] / features / index / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
11    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12    <modelVersion>4.0.0</modelVersion>
13    <parent>
14       <groupId>org.opendaylight.integration</groupId>
15       <artifactId>root</artifactId>
16       <version>0.3.0-SNAPSHOT</version>
17       <relativePath>../../</relativePath>
18    </parent>
19    <artifactId>features-integration-index</artifactId>
20    <packaging>jar</packaging>
21    <properties>
22       <features.file>features.xml</features.file>
23    </properties>
24    <dependencies>
25     <!-- dependencies on feature repos -->
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>features-mdsal</artifactId>
29       <version>${feature.mdsal.version}</version>
30       <classifier>features</classifier>
31       <type>xml</type>
32     </dependency>
33     <dependency>
34       <groupId>org.opendaylight.controller</groupId>
35       <artifactId>features-netconf-connector</artifactId>
36       <version>${feature.mdsal.version}</version>
37       <classifier>features</classifier>
38       <type>xml</type>
39     </dependency>
40     <dependency>
41       <groupId>org.opendaylight.controller</groupId>
42       <artifactId>features-restconf</artifactId>
43       <version>${feature.mdsal.version}</version>
44       <classifier>features</classifier>
45       <type>xml</type>
46     </dependency>
47     <dependency>
48       <groupId>org.opendaylight.neutron</groupId>
49       <artifactId>features-neutron</artifactId>
50       <version>${feature.neutron.version}</version>
51       <classifier>features</classifier>
52       <type>xml</type>
53     </dependency>
54     <dependency>
55       <groupId>org.opendaylight.controller</groupId>
56       <artifactId>features-nsf</artifactId>
57       <classifier>features</classifier>
58       <type>xml</type>
59     </dependency>
60     <dependency>
61       <groupId>org.opendaylight.ovsdb</groupId>
62       <artifactId>features-ovsdb</artifactId>
63       <classifier>features</classifier>
64       <type>xml</type>
65     </dependency>
66     <dependency>
67        <groupId>org.opendaylight.bgpcep</groupId>
68        <artifactId>features-bgp</artifactId>
69        <classifier>features</classifier>
70        <version>${feature.bgpcep.version}</version>
71        <type>xml</type>
72     </dependency>
73     <dependency>
74        <groupId>org.opendaylight.bgpcep</groupId>
75        <artifactId>features-extras</artifactId>
76        <classifier>features</classifier>
77        <version>${feature.bgpcep.version}</version>
78        <type>xml</type>
79     </dependency>
80     <dependency>
81        <groupId>org.opendaylight.bgpcep</groupId>
82        <artifactId>features-pcep</artifactId>
83        <classifier>features</classifier>
84        <version>${feature.bgpcep.version}</version>
85        <type>xml</type>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.openflowplugin</groupId>
89       <artifactId>features-openflowplugin</artifactId>
90       <version>${feature.openflowplugin.version}</version>
91       <classifier>features</classifier>
92       <type>xml</type>
93     </dependency>
94     <dependency>
95       <groupId>org.opendaylight.openflowplugin</groupId>
96       <artifactId>features-openflowplugin-extension</artifactId>
97       <version>${feature.openflowplugin.version}</version>
98       <classifier>features</classifier>
99       <type>xml</type>
100     </dependency>
101     <dependency>
102       <groupId>org.opendaylight.openflowplugin.legacy</groupId>
103       <artifactId>features-legacy</artifactId>
104       <version>${feature.openflowplugin.version}</version>
105       <classifier>features</classifier>
106       <type>xml</type>
107     </dependency>
108     <dependency>
109       <groupId>org.opendaylight.dlux</groupId>
110       <artifactId>features-dlux</artifactId>
111       <version>${feature.dlux.version}</version>
112       <classifier>features</classifier>
113       <type>xml</type>
114     </dependency>
115     <dependency>
116       <groupId>org.opendaylight.l2switch</groupId>
117       <artifactId>features-l2switch</artifactId>
118       <version>0.2.0-SNAPSHOT</version>
119       <classifier>features</classifier>
120       <type>xml</type>
121     </dependency>
122     <dependency>
123       <groupId>org.opendaylight.controller</groupId>
124       <artifactId>features-adsal-compatibility</artifactId>
125       <version>1.5.0-SNAPSHOT</version>
126       <classifier>features</classifier>
127       <type>xml</type>
128     </dependency>
129     <!-- plugin2oc -->
130     <dependency>
131        <groupId>org.opendaylight.plugin2oc</groupId>
132        <artifactId>features-plugin2oc</artifactId>
133        <version>0.2.0-SNAPSHOT</version>
134        <classifier>features</classifier>
135        <type>xml</type>
136     </dependency>
137
138     <!-- AAA -->
139     <dependency>
140       <groupId>org.opendaylight.aaa</groupId>
141       <artifactId>features-aaa-api</artifactId>
142       <version>0.2.0-SNAPSHOT</version>
143       <classifier>features</classifier>
144       <type>xml</type>
145     </dependency>
146     <dependency>
147       <groupId>org.opendaylight.aaa</groupId>
148       <artifactId>features-aaa</artifactId>
149       <version>0.2.0-SNAPSHOT</version>
150       <classifier>features</classifier>
151       <type>xml</type>
152     </dependency>
153     <dependency>
154       <groupId>org.opendaylight.aaa</groupId>
155       <artifactId>features-aaa-authz</artifactId>
156       <version>0.2.0-SNAPSHOT</version>
157       <classifier>features</classifier>
158       <type>xml</type>
159     </dependency>
160     <dependency>
161       <groupId>org.opendaylight.ttp</groupId>
162       <artifactId>features-ttp</artifactId>
163       <version>${feature.ttp.version}</version>
164       <classifier>features</classifier>
165       <type>xml</type>
166     </dependency>
167     <dependency>
168       <groupId>org.opendaylight.lispflowmapping</groupId>
169       <artifactId>features-lispflowmapping</artifactId>
170       <version>${feature.lispflowmapping.version}</version>
171       <classifier>features</classifier>
172       <type>xml</type>
173     </dependency>
174     <dependency>
175       <groupId>org.opendaylight.vtn</groupId>
176       <artifactId>features-vtn-manager</artifactId>
177       <classifier>features</classifier>
178       <type>xml</type>
179     </dependency>
180     <dependency>
181       <groupId>org.opendaylight.groupbasedpolicy</groupId>
182       <artifactId>features-groupbasedpolicy</artifactId>
183       <version>${feature.groupbasedpolicy.version}</version>
184       <classifier>features</classifier>
185       <type>xml</type>
186     </dependency>
187
188     <dependency>
189       <groupId>org.opendaylight.sfc</groupId>
190       <artifactId>features-sfc</artifactId>
191       <version>0.1.0-SNAPSHOT</version>
192       <classifier>features</classifier>
193       <type>xml</type>
194     </dependency>
195
196     <dependency>
197       <groupId>org.opendaylight.sfc</groupId>
198       <artifactId>features-sfclisp</artifactId>
199       <version>0.1.0-SNAPSHOT</version>
200       <classifier>features</classifier>
201       <type>xml</type>
202     </dependency>
203
204     <dependency>
205           <groupId>org.opendaylight.sfc</groupId>
206           <artifactId>features-sfcofl2</artifactId>
207           <version>0.1.0-SNAPSHOT</version>
208           <classifier>features</classifier>
209           <type>xml</type>
210     </dependency>
211
212     <dependency>
213       <groupId>org.opendaylight.ovsdb</groupId>
214       <artifactId>features-ovs-sfc</artifactId>
215       <version>0.1.0-SNAPSHOT</version>
216       <classifier>features</classifier>
217       <type>xml</type>
218     </dependency>
219
220     <dependency>
221       <groupId>org.opendaylight.snbi</groupId>
222       <artifactId>features-snbi</artifactId>
223       <version>${feature.snbi.version}</version>
224       <classifier>features</classifier>
225       <type>xml</type>
226     </dependency>
227
228
229     <dependency>
230        <groupId>org.opendaylight.packetcable</groupId>
231        <artifactId>features-packetcable</artifactId>
232        <version>${feature.packetcable.version}</version>
233        <classifier>features</classifier>
234        <type>xml</type>
235     </dependency>
236
237     <dependency>
238       <groupId>org.opendaylight.snmp4sdn</groupId>
239       <artifactId>features-snmp4sdn</artifactId>
240       <version>0.2.0-SNAPSHOT</version>
241       <classifier>features</classifier>
242       <type>xml</type>
243     </dependency>
244
245     <dependency>
246       <groupId>org.opendaylight.sdninterfaceapp</groupId>
247       <artifactId>features-sdninterfaceapp</artifactId>
248       <version>1.5.0-SNAPSHOT</version>
249       <classifier>features</classifier>
250       <type>xml</type>
251     </dependency>
252
253     <dependency>
254       <groupId>org.opendaylight.topoprocessing</groupId>
255       <artifactId>features-topoprocessing</artifactId>
256       <version>${feature.topoprocessing.version}</version>
257       <classifier>features</classifier>
258       <type>xml</type>
259     </dependency>
260
261     <dependency>
262       <groupId>org.opendaylight.snmp</groupId>
263       <artifactId>features-snmp</artifactId>
264       <version>${snmp.plugin.version}</version>
265       <classifier>features</classifier>
266       <type>xml</type>
267     </dependency>
268
269     <!-- test to validate features.xml -->
270     <dependency>
271       <groupId>org.opendaylight.odlparent</groupId>
272       <artifactId>features-test</artifactId>
273       <version>1.5.0-SNAPSHOT</version>
274     </dependency>
275     <!-- dependency for opendaylight-karaf-empty for use by testing -->
276     <dependency>
277       <groupId>org.opendaylight.controller</groupId>
278       <artifactId>opendaylight-karaf-empty</artifactId>
279       <version>1.5.0-SNAPSHOT</version>
280       <type>zip</type>
281     </dependency>
282    </dependencies>
283    <build>
284       <resources>
285          <resource>
286             <directory>src/main/resources</directory>
287             <filtering>true</filtering>
288          </resource>
289       </resources>
290       <plugins>
291          <plugin>
292             <groupId>org.apache.karaf.tooling</groupId>
293             <artifactId>karaf-maven-plugin</artifactId>
294             <version>${karaf.version}</version>
295             <extensions>true</extensions>
296             <executions>
297                <execution>
298                   <id>features-create-kar</id>
299                   <goals>
300                      <goal>features-create-kar</goal>
301                   </goals>
302                   <configuration>
303                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
304                   </configuration>
305                </execution>
306             </executions>
307         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
308          </plugin>
309          <plugin>
310             <groupId>org.apache.maven.plugins</groupId>
311             <artifactId>maven-resources-plugin</artifactId>
312             <executions>
313                <execution>
314                   <id>filter</id>
315                   <phase>generate-resources</phase>
316                   <goals>
317                      <goal>resources</goal>
318                   </goals>
319                </execution>
320             </executions>
321          </plugin>
322          <plugin>
323             <groupId>org.codehaus.mojo</groupId>
324             <artifactId>build-helper-maven-plugin</artifactId>
325             <executions>
326                <execution>
327                   <id>attach-artifacts</id>
328                   <phase>package</phase>
329                   <goals>
330                      <goal>attach-artifact</goal>
331                   </goals>
332                   <configuration>
333                      <artifacts>
334                         <artifact>
335                            <file>${project.build.directory}/classes/${features.file}</file>
336                            <type>xml</type>
337                            <classifier>features</classifier>
338                         </artifact>
339                      </artifacts>
340                   </configuration>
341                </execution>
342             </executions>
343          </plugin>
344          <plugin>
345             <groupId>org.apache.maven.plugins</groupId>
346             <artifactId>maven-surefire-plugin</artifactId>
347             <version>2.16</version>
348             <configuration>
349               <systemPropertyVariables>
350                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
351                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
352                 <karaf.distro.version>1.5.0-SNAPSHOT</karaf.distro.version>
353               </systemPropertyVariables>
354               <dependenciesToScan>
355                <dependency>org.opendaylight.odlparent:features-test</dependency>
356               </dependenciesToScan>
357             </configuration>
358           </plugin>
359       </plugins>
360    </build>
361 </project>