Merge "Break the repository index out separately from the test features"
[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.controller</groupId>
49       <artifactId>features-adsal</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.ovsdb</groupId>
61       <artifactId>features-ovsdb</artifactId>
62       <classifier>features</classifier>
63       <type>xml</type>
64     </dependency>
65     <dependency>
66        <groupId>org.opendaylight.bgpcep</groupId>
67        <artifactId>features-bgp</artifactId>
68        <classifier>features</classifier>
69        <type>xml</type>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.openflowplugin</groupId>
73       <artifactId>features-openflowplugin</artifactId>
74       <version>0.1.0-SNAPSHOT</version>
75       <classifier>features</classifier>
76       <type>xml</type>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.dlux</groupId>
80       <artifactId>features-dlux</artifactId>
81       <version>${feature.dlux.version}</version>
82       <classifier>features</classifier>
83       <type>xml</type>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.ovsdb</groupId>
87       <artifactId>features-openflow-nxm</artifactId>
88       <version>0.1.0-SNAPSHOT</version>
89       <classifier>features</classifier>
90       <type>xml</type>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.l2switch</groupId>
94       <artifactId>features-l2switch</artifactId>
95       <version>0.2.0-SNAPSHOT</version>
96       <classifier>features</classifier>
97       <type>xml</type>
98     </dependency>
99     <dependency>
100       <groupId>org.opendaylight.controller</groupId>
101       <artifactId>features-adsal-compatibility</artifactId>
102       <version>1.5.0-SNAPSHOT</version>
103       <classifier>features</classifier>
104       <type>xml</type>
105     </dependency>
106     <!-- plugin2oc -->
107     <dependency>
108        <groupId>org.opendaylight.plugin2oc</groupId>
109        <artifactId>features-plugin2oc</artifactId>
110        <version>0.2.0-SNAPSHOT</version>
111        <classifier>features</classifier>
112        <type>xml</type>
113     </dependency>
114
115     <!-- AAA -->
116     <dependency>
117       <groupId>org.opendaylight.aaa</groupId>
118       <artifactId>features-aaa-api</artifactId>
119       <version>0.2.0-SNAPSHOT</version>
120       <classifier>features</classifier>
121       <type>xml</type>
122     </dependency>
123     <dependency>
124       <groupId>org.opendaylight.aaa</groupId>
125       <artifactId>features-aaa</artifactId>
126       <version>0.2.0-SNAPSHOT</version>
127       <classifier>features</classifier>
128       <type>xml</type>
129     </dependency>
130     <dependency>
131       <groupId>org.opendaylight.aaa</groupId>
132       <artifactId>features-aaa-authz</artifactId>
133       <version>0.2.0-SNAPSHOT</version>
134       <classifier>features</classifier>
135       <type>xml</type>
136     </dependency>
137     <dependency>
138       <groupId>org.opendaylight.ttp</groupId>
139       <artifactId>features-ttp</artifactId>
140       <version>${feature.ttp.version}</version>
141       <classifier>features</classifier>
142       <type>xml</type>
143     </dependency>
144     <dependency>
145       <groupId>org.opendaylight.lispflowmapping</groupId>
146       <artifactId>features-lispflowmapping</artifactId>
147       <version>${feature.lispflowmapping.version}</version>
148       <classifier>features</classifier>
149       <type>xml</type>
150     </dependency>
151     <dependency>
152       <groupId>org.opendaylight.vtn</groupId>
153       <artifactId>features-vtn-manager</artifactId>
154       <classifier>features</classifier>
155       <type>xml</type>
156     </dependency>
157     <dependency>
158       <groupId>org.opendaylight.groupbasedpolicy</groupId>
159       <artifactId>features-groupbasedpolicy</artifactId>
160       <version>${feature.groupbasedpolicy.version}</version>
161       <classifier>features</classifier>
162       <type>xml</type>
163     </dependency>
164
165     <dependency>
166       <groupId>org.opendaylight.sfc</groupId>
167       <artifactId>features-sfc</artifactId>
168       <version>0.1.0-SNAPSHOT</version>
169       <classifier>features</classifier>
170       <type>xml</type>
171     </dependency>
172
173     <dependency>
174       <groupId>org.opendaylight.sfc</groupId>
175       <artifactId>features-sfclisp</artifactId>
176       <version>0.1.0-SNAPSHOT</version>
177       <classifier>features</classifier>
178       <type>xml</type>
179     </dependency>
180
181     <dependency>
182           <groupId>org.opendaylight.sfc</groupId>
183           <artifactId>features-sfcofl2</artifactId>
184           <version>0.1.0-SNAPSHOT</version>
185           <classifier>features</classifier>
186           <type>xml</type>
187     </dependency>
188
189     <dependency>
190       <groupId>org.opendaylight.ovsdb</groupId>
191       <artifactId>features-ovs-sfc</artifactId>
192       <version>0.1.0-SNAPSHOT</version>
193       <classifier>features</classifier>
194       <type>xml</type>
195     </dependency>
196
197     <dependency>
198       <groupId>org.opendaylight.snbi</groupId>
199       <artifactId>features-snbi</artifactId>
200       <version>${feature.snbi.version}</version>
201       <classifier>features</classifier>
202       <type>xml</type>
203     </dependency>
204
205
206     <dependency>
207        <groupId>org.opendaylight.packetcable</groupId>
208        <artifactId>features-packetcable</artifactId>
209        <version>${feature.packetcable.version}</version>
210        <classifier>features</classifier>
211        <type>xml</type>
212     </dependency>
213
214     <dependency>
215       <groupId>org.opendaylight.snmp4sdn</groupId>
216       <artifactId>features-snmp4sdn</artifactId>
217       <version>0.2.0-SNAPSHOT</version>
218       <classifier>features</classifier>
219       <type>xml</type>
220     </dependency>
221
222     <dependency>
223       <groupId>org.opendaylight.sdninterfaceapp</groupId>
224       <artifactId>features-sdninterfaceapp</artifactId>
225       <version>1.5.0-SNAPSHOT</version>
226       <classifier>features</classifier>
227       <type>xml</type>
228     </dependency>
229
230
231     <!-- test to validate features.xml -->
232     <dependency>
233       <groupId>org.opendaylight.yangtools</groupId>
234       <artifactId>features-test</artifactId>
235       <version>0.7.0-SNAPSHOT</version>
236     </dependency>
237     <!-- dependency for opendaylight-karaf-empty for use by testing -->
238     <dependency>
239       <groupId>org.opendaylight.controller</groupId>
240       <artifactId>opendaylight-karaf-empty</artifactId>
241       <version>1.5.0-SNAPSHOT</version>
242       <type>zip</type>
243     </dependency>
244    </dependencies>
245    <build>
246       <resources>
247          <resource>
248             <directory>src/main/resources</directory>
249             <filtering>true</filtering>
250          </resource>
251       </resources>
252       <plugins>
253          <plugin>
254             <groupId>org.apache.karaf.tooling</groupId>
255             <artifactId>karaf-maven-plugin</artifactId>
256             <version>${karaf.version}</version>
257             <extensions>true</extensions>
258             <executions>
259                <execution>
260                   <id>features-create-kar</id>
261                   <goals>
262                      <goal>features-create-kar</goal>
263                   </goals>
264                   <configuration>
265                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
266                   </configuration>
267                </execution>
268             </executions>
269         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
270          </plugin>
271          <plugin>
272             <groupId>org.apache.maven.plugins</groupId>
273             <artifactId>maven-resources-plugin</artifactId>
274             <executions>
275                <execution>
276                   <id>filter</id>
277                   <phase>generate-resources</phase>
278                   <goals>
279                      <goal>resources</goal>
280                   </goals>
281                </execution>
282             </executions>
283          </plugin>
284          <plugin>
285             <groupId>org.codehaus.mojo</groupId>
286             <artifactId>build-helper-maven-plugin</artifactId>
287             <executions>
288                <execution>
289                   <id>attach-artifacts</id>
290                   <phase>package</phase>
291                   <goals>
292                      <goal>attach-artifact</goal>
293                   </goals>
294                   <configuration>
295                      <artifacts>
296                         <artifact>
297                            <file>${project.build.directory}/classes/${features.file}</file>
298                            <type>xml</type>
299                            <classifier>features</classifier>
300                         </artifact>
301                      </artifacts>
302                   </configuration>
303                </execution>
304             </executions>
305          </plugin>
306          <plugin>
307             <groupId>org.apache.maven.plugins</groupId>
308             <artifactId>maven-surefire-plugin</artifactId>
309             <version>2.16</version>
310             <configuration>
311               <systemPropertyVariables>
312                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
313                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
314                 <karaf.distro.version>1.5.0-SNAPSHOT</karaf.distro.version>
315               </systemPropertyVariables>
316               <dependenciesToScan>
317                <dependency>org.opendaylight.yangtools:features-test</dependency>
318               </dependenciesToScan>
319             </configuration>
320           </plugin>
321       </plugins>
322    </build>
323 </project>