acb71901de651842bcdc08863061c4670ce14fdc
[integration/distribution.git] / features / 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.2.0-SNAPSHOT</version>
17       <relativePath>../</relativePath>
18    </parent>
19    <artifactId>features-integration</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-adsal</artifactId>
43       <classifier>features</classifier>
44       <type>xml</type>
45     </dependency>
46     <dependency>
47       <groupId>org.opendaylight.controller</groupId>
48       <artifactId>features-nsf</artifactId>
49       <classifier>features</classifier>
50       <type>xml</type>
51     </dependency>
52     <dependency>
53       <groupId>org.opendaylight.ovsdb</groupId>
54       <artifactId>features-ovsdb</artifactId>
55       <classifier>features</classifier>
56       <type>xml</type>
57     </dependency>
58     <dependency>
59        <groupId>org.opendaylight.bgpcep</groupId>
60        <artifactId>features-bgp</artifactId>
61        <classifier>features</classifier>
62        <type>xml</type>
63     </dependency>
64     <dependency>
65       <groupId>org.opendaylight.openflowplugin</groupId>
66       <artifactId>features-openflowplugin</artifactId>
67       <version>0.0.3-SNAPSHOT</version>
68       <classifier>features</classifier>
69       <type>xml</type>
70     </dependency>
71     <dependency>
72       <groupId>org.opendaylight.dlux</groupId>
73       <artifactId>features-dlux</artifactId>
74       <version>${feature.dlux.version}</version>
75       <classifier>features</classifier>
76       <type>xml</type>
77     </dependency>
78     <dependency>
79       <groupId>org.opendaylight.ovsdb</groupId>
80       <artifactId>features-openflow-nxm</artifactId>
81       <version>0.0.3-SNAPSHOT</version>
82       <classifier>features</classifier>
83       <type>xml</type>
84     </dependency>
85     <dependency>
86       <groupId>org.opendaylight.l2switch</groupId>
87       <artifactId>features-l2switch</artifactId>
88       <version>0.1.0-SNAPSHOT</version>
89       <classifier>features</classifier>
90       <type>xml</type>
91     </dependency>
92     <dependency>
93       <groupId>org.opendaylight.controller</groupId>
94       <artifactId>features-adsal-compatibility</artifactId>
95       <version>1.4.2-SNAPSHOT</version>
96       <classifier>features</classifier>
97       <type>xml</type>
98     </dependency>
99     <!-- AAA -->
100     <dependency>
101       <groupId>org.opendaylight.aaa</groupId>
102       <artifactId>features-aaa</artifactId>
103       <version>0.1.0-SNAPSHOT</version>
104       <classifier>features</classifier>
105       <type>xml</type>
106     </dependency>
107     <dependency>
108       <groupId>org.opendaylight.ttp</groupId>
109       <artifactId>features-ttp</artifactId>
110       <version>${feature.ttp.version}</version>
111       <classifier>features</classifier>
112       <type>xml</type>
113     </dependency>
114     <dependency>
115       <groupId>org.opendaylight.lispflowmapping</groupId>
116       <artifactId>features-lispflowmapping</artifactId>
117       <version>${feature.lispflowmapping.version}</version>
118       <classifier>features</classifier>
119       <type>xml</type>
120     </dependency>
121     <dependency>
122       <groupId>org.opendaylight.vtn</groupId>
123       <artifactId>features-vtn-manager</artifactId>
124       <classifier>features</classifier>
125       <type>xml</type>
126     </dependency>
127     <dependency>
128       <groupId>org.opendaylight.groupbasedpolicy</groupId>
129       <artifactId>features-groupbasedpolicy</artifactId>
130       <version>${feature.groupbasedpolicy.version}</version>
131       <classifier>features</classifier>
132       <type>xml</type>
133     </dependency>
134
135     <dependency>
136       <groupId>org.opendaylight.sfc</groupId>
137       <artifactId>features-sfc</artifactId>
138       <version>0.0.1-SNAPSHOT</version>
139       <classifier>features</classifier>
140       <type>xml</type>
141     </dependency>
142
143     <dependency>
144       <groupId>org.opendaylight.ovsdb</groupId>
145       <artifactId>features-ovs-sfc</artifactId>
146       <version>0.0.1-SNAPSHOT</version>
147       <classifier>features</classifier>
148       <type>xml</type>
149     </dependency>
150
151     <dependency>
152       <groupId>org.opendaylight.snbi</groupId>
153       <artifactId>features-snbi</artifactId>
154       <version>${feature.snbi.version}</version>
155       <classifier>features</classifier>
156       <type>xml</type>
157     </dependency>
158
159
160     <dependency>
161        <groupId>org.opendaylight.packetcable</groupId>
162        <artifactId>features-packetcable</artifactId>
163        <version>${feature.packetcable.version}</version>
164        <classifier>features</classifier>
165        <type>xml</type>
166     </dependency>
167
168     <dependency>
169       <groupId>org.opendaylight.snmp4sdn</groupId>
170       <artifactId>features-snmp4sdn</artifactId>
171       <version>0.1.3-SNAPSHOT</version>
172       <classifier>features</classifier>
173       <type>xml</type>
174     </dependency>
175
176     <!-- test to validate features.xml -->
177     <dependency>
178       <groupId>org.opendaylight.yangtools</groupId>
179       <artifactId>features-test</artifactId>
180       <version>0.6.2-SNAPSHOT</version>
181     </dependency>
182     <!-- dependency for opendaylight-karaf-empty for use by testing -->
183     <dependency>
184       <groupId>org.opendaylight.controller</groupId>
185       <artifactId>opendaylight-karaf-empty</artifactId>
186       <version>1.4.2-SNAPSHOT</version>
187       <type>zip</type>
188     </dependency>
189    </dependencies>
190    <build>
191       <resources>
192          <resource>
193             <directory>src/main/resources</directory>
194             <filtering>true</filtering>
195          </resource>
196       </resources>
197       <plugins>
198          <plugin>
199             <groupId>org.apache.karaf.tooling</groupId>
200             <artifactId>karaf-maven-plugin</artifactId>
201             <version>${karaf.version}</version>
202             <extensions>true</extensions>
203             <executions>
204                <execution>
205                   <id>features-create-kar</id>
206                   <goals>
207                      <goal>features-create-kar</goal>
208                   </goals>
209                   <configuration>
210                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
211                   </configuration>
212                </execution>
213             </executions>
214         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
215          </plugin>
216          <plugin>
217             <groupId>org.apache.maven.plugins</groupId>
218             <artifactId>maven-resources-plugin</artifactId>
219             <executions>
220                <execution>
221                   <id>filter</id>
222                   <phase>generate-resources</phase>
223                   <goals>
224                      <goal>resources</goal>
225                   </goals>
226                </execution>
227             </executions>
228          </plugin>
229          <plugin>
230             <groupId>org.codehaus.mojo</groupId>
231             <artifactId>build-helper-maven-plugin</artifactId>
232             <executions>
233                <execution>
234                   <id>attach-artifacts</id>
235                   <phase>package</phase>
236                   <goals>
237                      <goal>attach-artifact</goal>
238                   </goals>
239                   <configuration>
240                      <artifacts>
241                         <artifact>
242                            <file>${project.build.directory}/classes/${features.file}</file>
243                            <type>xml</type>
244                            <classifier>features</classifier>
245                         </artifact>
246                      </artifacts>
247                   </configuration>
248                </execution>
249             </executions>
250          </plugin>
251          <plugin>
252             <groupId>org.apache.maven.plugins</groupId>
253             <artifactId>maven-surefire-plugin</artifactId>
254             <version>2.16</version>
255             <configuration>
256               <systemPropertyVariables>
257                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
258                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
259                 <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
260               </systemPropertyVariables>
261               <dependenciesToScan>
262                <dependency>org.opendaylight.yangtools:features-test</dependency>
263               </dependenciesToScan>
264             </configuration>
265           </plugin>
266       </plugins>
267    </build>
268 </project>