added versions to drop-test config file dependency
[openflowplugin.git] / features / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.opendaylight.openflowplugin</groupId>
7         <artifactId>openflowplugin-parent</artifactId>
8         <version>0.1.0-SNAPSHOT</version>
9         <relativePath>../parent</relativePath>
10     </parent>
11     <artifactId>features-openflowplugin</artifactId>
12
13     <packaging>jar</packaging>
14
15     <properties>
16         <karaf.empty.distro.version>1.5.0-SNAPSHOT</karaf.empty.distro.version>
17         <config.configfile.directory>etc/opendaylight/karaf</config.configfile.directory>
18         <config.statistics.manager.configfile>30-statistics-manager.xml</config.statistics.manager.configfile>
19         <controller.model.version>1.2.0-SNAPSHOT</controller.model.version>
20     </properties>
21
22     <dependencies>
23         <!-- feature dependencies -->
24         <dependency>
25             <groupId>org.opendaylight.controller</groupId>
26             <artifactId>features-mdsal</artifactId>
27             <version>${mdsal.version}</version>
28             <classifier>features</classifier>
29             <type>xml</type>
30         </dependency>
31         <dependency>
32             <groupId>org.opendaylight.yangtools</groupId>
33             <artifactId>features-yangtools</artifactId>
34             <classifier>features</classifier>
35             <version>${yangtools.version}</version>
36             <type>xml</type>
37         </dependency>
38         <dependency>
39             <groupId>org.opendaylight.controller</groupId>
40             <artifactId>features-restconf</artifactId>
41             <version>${mdsal.version}</version>
42             <classifier>features</classifier>
43             <type>xml</type>
44         </dependency>
45         <dependency>
46             <groupId>org.opendaylight.openflowjava</groupId>
47             <artifactId>features-openflowjava</artifactId>
48             <version>${openflowjava.version}</version>
49             <classifier>features</classifier>
50             <type>xml</type>
51         </dependency>
52
53         <!-- bundle dependencies -->
54         <dependency>
55             <groupId>org.opendaylight.openflowplugin.model</groupId>
56             <artifactId>model-flow-base</artifactId>
57         </dependency>
58         <dependency>
59             <groupId>org.opendaylight.openflowplugin.model</groupId>
60             <artifactId>model-flow-service</artifactId>
61         </dependency>
62         <dependency>
63             <groupId>org.opendaylight.openflowplugin.model</groupId>
64             <artifactId>model-flow-statistics</artifactId>
65         </dependency>
66         <dependency>
67             <groupId>org.opendaylight.controller.model</groupId>
68             <artifactId>model-inventory</artifactId>
69         </dependency>
70         <dependency>
71             <groupId>org.opendaylight.controller.model</groupId>
72             <artifactId>model-topology</artifactId>
73         </dependency>
74
75         <dependency>
76             <groupId>org.opendaylight.openflowplugin.applications</groupId>
77             <artifactId>forwardingrules-manager</artifactId>
78         </dependency>
79         <dependency>
80             <groupId>org.opendaylight.openflowplugin.applications</groupId>
81             <artifactId>forwardingrules-manager-config</artifactId>
82             <classifier>config</classifier>
83             <type>xml</type>
84         </dependency>
85         <dependency>
86             <groupId>org.opendaylight.openflowplugin.applications</groupId>
87             <artifactId>inventory-manager</artifactId>
88         </dependency>
89         <dependency>
90             <groupId>org.opendaylight.openflowplugin.applications</groupId>
91             <artifactId>lldp-speaker</artifactId>
92         </dependency>
93         <dependency>
94             <groupId>org.opendaylight.openflowplugin.applications</groupId>
95             <artifactId>statistics-manager</artifactId>
96         </dependency>
97         <dependency>
98             <groupId>org.opendaylight.openflowplugin.applications</groupId>
99             <artifactId>statistics-manager-config</artifactId>
100             <classifier>config</classifier>
101             <type>xml</type>
102         </dependency>
103
104         <dependency>
105             <groupId>org.opendaylight.dlux</groupId>
106             <artifactId>features-dlux</artifactId>
107             <version>${dlux.version}</version>
108             <classifier>features</classifier>
109             <type>xml</type>
110         </dependency>
111         <dependency>
112             <groupId>org.opendaylight.controller</groupId>
113             <artifactId>features-netconf-connector</artifactId>
114             <version>${mdsal.version}</version>
115             <classifier>features</classifier>
116             <type>xml</type>
117         </dependency>
118
119         <!-- bundle dependencies -->
120         <dependency>
121             <groupId>org.opendaylight.openflowplugin</groupId>
122             <artifactId>openflowplugin-api</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.opendaylight.openflowplugin</groupId>
126             <artifactId>openflowplugin-extension-api</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.openflowplugin</groupId>
130             <artifactId>openflowplugin</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.openflowplugin</groupId>
134             <artifactId>openflowplugin-impl</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.openflowplugin.applications</groupId>
138             <artifactId>table-miss-enforcer</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.openflowplugin.applications</groupId>
142             <artifactId>table-miss-enforcer</artifactId>
143             <type>xml</type>
144             <classifier>config</classifier>
145         </dependency>
146
147         <dependency>
148             <groupId>org.opendaylight.openflowplugin.applications</groupId>
149             <artifactId>topology-lldp-discovery</artifactId>
150         </dependency>
151         <dependency>
152             <groupId>org.opendaylight.openflowplugin.applications</groupId>
153             <artifactId>topology-manager</artifactId>
154         </dependency>
155
156         <dependency>
157             <groupId>org.opendaylight.openflowplugin.applications</groupId>
158             <artifactId>of-switch-config-pusher</artifactId>
159         </dependency>
160         <dependency>
161             <groupId>org.opendaylight.openflowplugin.applications</groupId>
162             <artifactId>of-switch-config-pusher</artifactId>
163             <type>xml</type>
164             <classifier>config</classifier>
165         </dependency>
166
167         <dependency>
168             <groupId>org.opendaylight.openflowplugin.applications</groupId>
169             <artifactId>lldp-speaker</artifactId>
170             <type>xml</type>
171             <classifier>config</classifier>
172         </dependency>
173
174         <dependency>
175             <groupId>org.opendaylight.openflowplugin</groupId>
176             <artifactId>drop-test-karaf</artifactId>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.openflowplugin</groupId>
180             <artifactId>drop-test-karaf</artifactId>
181             <classifier>config</classifier>
182             <type>xml</type>
183         </dependency>
184         <dependency>
185             <groupId>org.opendaylight.openflowplugin</groupId>
186             <artifactId>test-common</artifactId>
187         </dependency>
188         <dependency>
189             <groupId>org.opendaylight.openflowplugin</groupId>
190             <artifactId>openflowplugin-controller-config</artifactId>
191             <type>xml</type>
192             <classifier>config-He</classifier>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.openflowplugin</groupId>
196             <artifactId>openflowplugin-controller-config</artifactId>
197             <type>xml</type>
198             <classifier>configmsgspy</classifier>
199         </dependency>
200         <dependency>
201             <groupId>org.opendaylight.controller</groupId>
202             <artifactId>liblldp</artifactId>
203             <version>${sal.api.version}</version>
204         </dependency>
205
206         <!-- test the features.xml -->
207         <dependency>
208             <groupId>org.opendaylight.odlparent</groupId>
209             <artifactId>features-test</artifactId>
210         </dependency>
211         <!-- dependency for opendaylight-karaf-empty for use by testing -->
212         <dependency>
213             <groupId>org.opendaylight.controller</groupId>
214             <artifactId>opendaylight-karaf-empty</artifactId>
215             <version>${karaf.distro.empty.version}</version>
216             <type>zip</type>
217         </dependency>
218     </dependencies>
219
220     <build>
221         <resources>
222             <resource>
223                 <filtering>true</filtering>
224                 <directory>src/main/resources</directory>
225             </resource>
226         </resources>
227
228         <plugins>
229             <plugin>
230                 <groupId>org.apache.maven.plugins</groupId>
231                 <artifactId>maven-resources-plugin</artifactId>
232                 <executions>
233                     <execution>
234                         <id>filter</id>
235                         <goals>
236                             <goal>resources</goal>
237                         </goals>
238                         <phase>generate-resources</phase>
239                     </execution>
240                 </executions>
241             </plugin>
242             <plugin>
243                 <groupId>org.codehaus.mojo</groupId>
244                 <artifactId>build-helper-maven-plugin</artifactId>
245                 <executions>
246                     <execution>
247                         <id>attach-artifacts</id>
248                         <goals>
249                             <goal>attach-artifact</goal>
250                         </goals>
251                         <phase>package</phase>
252                         <configuration>
253                             <artifacts>
254                                 <artifact>
255                                     <file>${project.build.outputDirectory}/features.xml</file>
256                                     <type>xml</type>
257                                     <classifier>features</classifier>
258                                 </artifact>
259                             </artifacts>
260                         </configuration>
261                     </execution>
262                 </executions>
263             </plugin>
264             <plugin>
265                 <groupId>org.apache.maven.plugins</groupId>
266                 <artifactId>maven-surefire-plugin</artifactId>
267                 <version>2.16</version>
268                 <configuration>
269                     <systemPropertyVariables>
270                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
271                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
272                         <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
273                     </systemPropertyVariables>
274                     <dependenciesToScan>
275                         <dependency>org.opendaylight.odlparent:features-test</dependency>
276                     </dependenciesToScan>
277                 </configuration>
278             </plugin>
279         </plugins>
280     </build>
281     <scm>
282         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
283         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
284         <tag>HEAD</tag>
285         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
286     </scm>
287 </project>