Merge "See if we can get the features-test copied into system but not visible"
[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.usc</groupId>
263       <artifactId>usc-features</artifactId>
264       <version>${feature.usc.version}</version>
265       <classifier>features</classifier>
266       <type>xml</type>
267     </dependency>
268
269     <dependency>
270       <groupId>org.opendaylight.snmp</groupId>
271       <artifactId>features-snmp</artifactId>
272       <version>${snmp.plugin.version}</version>
273       <classifier>features</classifier>
274       <type>xml</type>
275     </dependency>
276
277     <dependency>
278       <groupId>org.opendaylight.didm</groupId>
279       <artifactId>didm-features</artifactId>
280       <version>${didm.version}</version>
281       <classifier>features</classifier>
282       <type>xml</type>
283     </dependency>
284
285     <!-- test to validate features.xml -->
286     <dependency>
287       <groupId>org.opendaylight.odlparent</groupId>
288       <artifactId>features-test</artifactId>
289       <version>1.5.0-SNAPSHOT</version>
290     </dependency>
291     <!-- dependency for opendaylight-karaf-empty for use by testing -->
292     <dependency>
293       <groupId>org.opendaylight.controller</groupId>
294       <artifactId>opendaylight-karaf-empty</artifactId>
295       <version>1.5.0-SNAPSHOT</version>
296       <type>zip</type>
297     </dependency>
298    </dependencies>
299    <build>
300       <resources>
301          <resource>
302             <directory>src/main/resources</directory>
303             <filtering>true</filtering>
304          </resource>
305       </resources>
306       <plugins>
307          <plugin>
308             <groupId>org.apache.karaf.tooling</groupId>
309             <artifactId>karaf-maven-plugin</artifactId>
310             <version>${karaf.version}</version>
311             <extensions>true</extensions>
312             <executions>
313                <execution>
314                   <id>features-create-kar</id>
315                   <goals>
316                      <goal>features-create-kar</goal>
317                   </goals>
318                   <configuration>
319                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
320                   </configuration>
321                </execution>
322             </executions>
323         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
324          </plugin>
325          <plugin>
326             <groupId>org.apache.maven.plugins</groupId>
327             <artifactId>maven-resources-plugin</artifactId>
328             <executions>
329                <execution>
330                   <id>filter</id>
331                   <phase>generate-resources</phase>
332                   <goals>
333                      <goal>resources</goal>
334                   </goals>
335                </execution>
336             </executions>
337          </plugin>
338          <plugin>
339             <groupId>org.codehaus.mojo</groupId>
340             <artifactId>build-helper-maven-plugin</artifactId>
341             <executions>
342                <execution>
343                   <id>attach-artifacts</id>
344                   <phase>package</phase>
345                   <goals>
346                      <goal>attach-artifact</goal>
347                   </goals>
348                   <configuration>
349                      <artifacts>
350                         <artifact>
351                            <file>${project.build.directory}/classes/${features.file}</file>
352                            <type>xml</type>
353                            <classifier>features</classifier>
354                         </artifact>
355                      </artifacts>
356                   </configuration>
357                </execution>
358             </executions>
359          </plugin>
360          <plugin>
361             <groupId>org.apache.maven.plugins</groupId>
362             <artifactId>maven-surefire-plugin</artifactId>
363             <version>2.16</version>
364             <configuration>
365               <systemPropertyVariables>
366                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
367                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
368                 <karaf.distro.version>1.5.0-SNAPSHOT</karaf.distro.version>
369               </systemPropertyVariables>
370               <dependenciesToScan>
371                <dependency>org.opendaylight.odlparent:features-test</dependency>
372               </dependenciesToScan>
373             </configuration>
374           </plugin>
375       </plugins>
376    </build>
377 </project>