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