Merge "Deleted duplicate declaration in pom.xml."
[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     <!-- test to validate features.xml -->
153     <dependency>
154       <groupId>org.opendaylight.yangtools</groupId>
155       <artifactId>features-test</artifactId>
156       <version>0.6.2-SNAPSHOT</version>
157     </dependency>
158     <!-- dependency for opendaylight-karaf-empty for use by testing -->
159     <dependency>
160       <groupId>org.opendaylight.controller</groupId>
161       <artifactId>opendaylight-karaf-empty</artifactId>
162       <version>1.4.2-SNAPSHOT</version>
163       <type>zip</type>
164     </dependency>
165    </dependencies>
166    <build>
167       <resources>
168          <resource>
169             <directory>src/main/resources</directory>
170             <filtering>true</filtering>
171          </resource>
172       </resources>
173       <plugins>
174          <plugin>
175             <groupId>org.apache.karaf.tooling</groupId>
176             <artifactId>karaf-maven-plugin</artifactId>
177             <version>${karaf.version}</version>
178             <extensions>true</extensions>
179             <executions>
180                <execution>
181                   <id>features-create-kar</id>
182                   <goals>
183                      <goal>features-create-kar</goal>
184                   </goals>
185                   <configuration>
186                      <featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
187                   </configuration>
188                </execution>
189             </executions>
190         <!-- There is no useful configuration for the kar mojo. The features-generate-descriptor mojo configuration may be useful -->
191          </plugin>
192          <plugin>
193             <groupId>org.apache.maven.plugins</groupId>
194             <artifactId>maven-resources-plugin</artifactId>
195             <executions>
196                <execution>
197                   <id>filter</id>
198                   <phase>generate-resources</phase>
199                   <goals>
200                      <goal>resources</goal>
201                   </goals>
202                </execution>
203             </executions>
204          </plugin>
205          <plugin>
206             <groupId>org.codehaus.mojo</groupId>
207             <artifactId>build-helper-maven-plugin</artifactId>
208             <executions>
209                <execution>
210                   <id>attach-artifacts</id>
211                   <phase>package</phase>
212                   <goals>
213                      <goal>attach-artifact</goal>
214                   </goals>
215                   <configuration>
216                      <artifacts>
217                         <artifact>
218                            <file>${project.build.directory}/classes/${features.file}</file>
219                            <type>xml</type>
220                            <classifier>features</classifier>
221                         </artifact>
222                      </artifacts>
223                   </configuration>
224                </execution>
225             </executions>
226          </plugin>
227          <plugin>
228             <groupId>org.apache.maven.plugins</groupId>
229             <artifactId>maven-surefire-plugin</artifactId>
230             <version>2.16</version>
231             <configuration>
232               <systemPropertyVariables>
233                 <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
234                 <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
235                 <karaf.distro.version>1.4.2-SNAPSHOT</karaf.distro.version>
236               </systemPropertyVariables>
237               <dependenciesToScan>
238                <dependency>org.opendaylight.yangtools:features-test</dependency>
239               </dependenciesToScan>
240             </configuration>
241           </plugin>
242       </plugins>
243    </build>
244 </project>