classifier for configuration files copies xml suffix
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.openflowplugin</groupId>
6     <artifactId>openflowplugin-parent</artifactId>
7     <version>0.1.0-SNAPSHOT</version>
8     <relativePath>../parent</relativePath>
9   </parent>
10   <artifactId>features-openflowplugin</artifactId>
11
12     <packaging>jar</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
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>inventory-manager</artifactId>
82     </dependency>
83     <dependency>
84       <groupId>org.opendaylight.openflowplugin.applications</groupId>
85       <artifactId>lldp-speaker</artifactId>
86     </dependency>
87     <dependency>
88       <groupId>org.opendaylight.openflowplugin.applications</groupId>
89       <artifactId>statistics-manager</artifactId>
90     </dependency>
91     <dependency>
92       <groupId>org.opendaylight.openflowplugin.applications</groupId>
93       <artifactId>statistics-manager-config</artifactId>
94       <classifier>config</classifier>
95       <type>xml</type>
96     </dependency>
97
98         <dependency>
99             <groupId>org.opendaylight.dlux</groupId>
100             <artifactId>features-dlux</artifactId>
101             <version>${dlux.version}</version>
102             <classifier>features</classifier>
103             <type>xml</type>
104         </dependency>
105         <dependency>
106             <groupId>org.opendaylight.controller</groupId>
107             <artifactId>features-netconf-connector</artifactId>
108             <version>${netconf.version}</version>
109             <classifier>features</classifier>
110             <type>xml</type>
111         </dependency>
112
113     <dependency>
114       <groupId>org.opendaylight.dlux</groupId>
115       <artifactId>features-dlux</artifactId>
116       <version>${dlux.version}</version>
117       <classifier>features</classifier>
118       <type>xml</type>
119     </dependency>
120     <dependency>
121       <groupId>org.opendaylight.controller</groupId>
122       <artifactId>features-netconf-connector</artifactId>
123       <version>${mdsal.version}</version>
124       <classifier>features</classifier>
125       <type>xml</type>
126     </dependency>
127
128     <!-- bundle dependencies --> 
129     <dependency>
130       <groupId>org.opendaylight.openflowplugin</groupId>
131       <artifactId>openflowplugin-api</artifactId>
132     </dependency>
133     <dependency>
134       <groupId>org.opendaylight.openflowplugin</groupId>
135       <artifactId>openflowplugin-extension-api</artifactId>
136     </dependency>
137     <dependency>
138       <groupId>org.opendaylight.openflowplugin</groupId>
139       <artifactId>openflowplugin</artifactId>
140         </dependency>
141         <dependency>
142             <groupId>org.opendaylight.openflowplugin</groupId>
143             <artifactId>openflowplugin-impl</artifactId>
144     </dependency>
145     <dependency>
146       <groupId>org.opendaylight.openflowplugin.applications</groupId>
147       <artifactId>table-miss-enforcer</artifactId>
148     </dependency>
149     <dependency>
150       <groupId>org.opendaylight.openflowplugin.applications</groupId>
151       <artifactId>table-miss-enforcer</artifactId>
152       <type>xml</type>
153       <classifier>config</classifier>
154     </dependency>
155     
156     <dependency>
157       <groupId>org.opendaylight.openflowplugin.applications</groupId>
158       <artifactId>topology-lldp-discovery</artifactId>
159     </dependency>
160     <dependency>
161       <groupId>org.opendaylight.openflowplugin.applications</groupId>
162       <artifactId>topology-manager</artifactId>
163     </dependency>
164
165     <dependency>
166       <groupId>org.opendaylight.openflowplugin.applications</groupId>
167       <artifactId>of-switch-config-pusher</artifactId>
168     </dependency>
169     <dependency>
170       <groupId>org.opendaylight.openflowplugin.applications</groupId>
171       <artifactId>of-switch-config-pusher</artifactId>
172       <type>xml</type>
173       <classifier>config</classifier>
174     </dependency>
175
176     <dependency>
177       <groupId>org.opendaylight.openflowplugin.applications</groupId>
178       <artifactId>lldp-speaker</artifactId>
179       <type>xml</type>
180       <classifier>config</classifier>
181     </dependency>
182
183     <dependency>
184       <groupId>org.opendaylight.openflowplugin</groupId>
185       <artifactId>drop-test-karaf</artifactId>
186     </dependency>
187     <dependency>
188       <groupId>org.opendaylight.openflowplugin</groupId>
189       <artifactId>test-common</artifactId>
190     </dependency>
191     <dependency>
192       <groupId>org.opendaylight.openflowplugin</groupId>
193       <artifactId>openflowplugin-controller-config</artifactId>
194       <type>xml</type>
195       <classifier>config-Li</classifier>
196     </dependency>
197     <dependency>
198       <groupId>org.opendaylight.openflowplugin</groupId>
199       <artifactId>openflowplugin-controller-config</artifactId>
200       <type>xml</type>
201       <classifier>config-He</classifier>
202     </dependency>
203     <dependency>
204       <groupId>org.opendaylight.openflowplugin</groupId>
205       <artifactId>openflowplugin-controller-config</artifactId>
206       <type>xml</type>
207       <classifier>configmsgspy</classifier>
208     </dependency>
209     <dependency>
210       <groupId>org.opendaylight.controller</groupId>
211       <artifactId>liblldp</artifactId>
212       <version>${sal.api.version}</version>
213     </dependency>
214
215         <!-- test the features.xml -->
216         <dependency>
217             <groupId>org.opendaylight.odlparent</groupId>
218             <artifactId>features-test</artifactId>
219         </dependency>
220         <!-- dependency for opendaylight-karaf-empty for use by testing -->
221         <dependency>
222             <groupId>org.opendaylight.controller</groupId>
223             <artifactId>opendaylight-karaf-empty</artifactId>
224             <version>${karaf.distro.empty.version}</version>
225             <type>zip</type>
226         </dependency>
227     </dependencies>
228
229     <build>
230         <resources>
231             <resource>
232                 <filtering>true</filtering>
233                 <directory>src/main/resources</directory>
234             </resource>
235         </resources>
236         <plugins>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-resources-plugin</artifactId>
240                 <executions>
241                     <execution>
242                         <id>filter</id>
243                         <goals>
244                             <goal>resources</goal>
245                         </goals>
246                         <phase>generate-resources</phase>
247                     </execution>
248                 </executions>
249             </plugin>
250             <plugin>
251                 <groupId>org.codehaus.mojo</groupId>
252                 <artifactId>build-helper-maven-plugin</artifactId>
253                 <executions>
254                     <execution>
255                         <id>attach-artifacts</id>
256                         <goals>
257                             <goal>attach-artifact</goal>
258                         </goals>
259                         <phase>package</phase>
260                         <configuration>
261                             <artifacts>
262                                 <artifact>
263                                     <file>${project.build.directory}/classes/${features.file}</file>
264                                     <type>xml</type>
265                                     <classifier>features</classifier>
266                                 </artifact>
267                             </artifacts>
268                         </configuration>
269                     </execution>
270                 </executions>
271             </plugin>
272             <plugin>
273                 <groupId>org.apache.maven.plugins</groupId>
274                 <artifactId>maven-surefire-plugin</artifactId>
275                 <version>2.16</version>
276                 <configuration>
277                     <systemPropertyVariables>
278                         <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
279                         <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
280                         <karaf.distro.version>${karaf.empty.distro.version}</karaf.distro.version>
281                     </systemPropertyVariables>
282                     <dependenciesToScan>
283                         <dependency>org.opendaylight.odlparent:features-test</dependency>
284                     </dependenciesToScan>
285                 </configuration>
286             </plugin>
287         </plugins>
288     </build>
289     <scm>
290         <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
291         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
292         <tag>HEAD</tag>
293         <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
294     </scm>
295 </project>