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