Move features
[bgpcep.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
11 <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">
12     <modelVersion>4.0.0</modelVersion>
13     <parent>
14         <groupId>org.opendaylight.bgpcep</groupId>
15         <artifactId>bgpcep-parent</artifactId>
16         <version>0.4.0-SNAPSHOT</version>
17         <relativePath>../parent</relativePath>
18     </parent>
19     <artifactId>features-bgp</artifactId>
20
21     <packaging>jar</packaging>
22
23     <properties>
24         <features.file>features.xml</features.file>
25         <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
26         <mdsal.version>1.2.0-SNAPSHOT</mdsal.version>
27         <config.version>0.3.0-SNAPSHOT</config.version>
28         <commons.opendaylight.version>1.5.0-SNAPSHOT</commons.opendaylight.version>
29         <protocol-framework.version>0.6.0-SNAPSHOT</protocol-framework.version>
30         <tcpmd5.version>1.1.0-SNAPSHOT</tcpmd5.version>
31     </properties>
32
33     <!-- Testing -->
34     <dependencies>
35         <dependency>
36             <groupId>org.opendaylight.yangtools</groupId>
37             <artifactId>features-yangtools</artifactId>
38             <classifier>features</classifier>
39             <type>xml</type>
40             <version>${yangtools.version}</version>
41         </dependency>
42         <dependency>
43             <groupId>org.opendaylight.controller</groupId>
44             <artifactId>features-mdsal</artifactId>
45             <classifier>features</classifier>
46             <type>xml</type>
47             <version>${mdsal.version}</version>
48         </dependency>
49         <dependency>
50             <groupId>org.opendaylight.controller</groupId>
51             <artifactId>features-config</artifactId>
52             <classifier>features</classifier>
53             <type>xml</type>
54             <version>${config.version}</version>
55         </dependency>
56         <dependency>
57             <groupId>org.opendaylight.controller</groupId>
58             <artifactId>features-protocol-framework</artifactId>
59             <classifier>features</classifier>
60             <type>xml</type>
61             <version>${protocol-framework.version}</version>
62         </dependency>
63         <dependency>
64             <groupId>org.opendaylight.tcpmd5</groupId>
65             <artifactId>features-tcpmd5</artifactId>
66             <classifier>features</classifier>
67             <type>xml</type>
68             <version>${tcpmd5.version}</version>
69         </dependency>
70       <dependency>
71           <groupId>${project.groupId}</groupId>
72           <artifactId>bgp-concepts</artifactId>
73           <version>${project.version}</version>
74       </dependency>
75       <dependency>
76           <groupId>${project.groupId}</groupId>
77           <artifactId>bgp-linkstate</artifactId>
78           <version>${project.version}</version>
79       </dependency>
80       <dependency>
81           <groupId>${project.groupId}</groupId>
82           <artifactId>bgp-flowspec</artifactId>
83           <version>${project.version}</version>
84       </dependency>
85       <dependency>
86           <groupId>${project.groupId}</groupId>
87           <artifactId>bgp-parser-api</artifactId>
88           <version>${project.version}</version>
89       </dependency>
90       <dependency>
91           <groupId>${project.groupId}</groupId>
92           <artifactId>bgp-parser-impl</artifactId>
93           <version>${project.version}</version>
94       </dependency>
95       <dependency>
96           <groupId>${project.groupId}</groupId>
97           <artifactId>bgp-parser-spi</artifactId>
98           <version>${project.version}</version>
99       </dependency>
100       <dependency>
101           <groupId>${project.groupId}</groupId>
102           <artifactId>bgp-rib-api</artifactId>
103           <version>${project.version}</version>
104       </dependency>
105       <dependency>
106           <groupId>${project.groupId}</groupId>
107           <artifactId>bgp-rib-impl</artifactId>
108           <version>${project.version}</version>
109       </dependency>
110       <dependency>
111           <groupId>${project.groupId}</groupId>
112           <artifactId>bgp-rib-spi</artifactId>
113           <version>${project.version}</version>
114       </dependency>
115       <dependency>
116           <groupId>${project.groupId}</groupId>
117           <artifactId>bgp-topology-provider</artifactId>
118           <version>${project.version}</version>
119       </dependency>
120       <dependency>
121           <groupId>${project.groupId}</groupId>
122           <artifactId>concepts</artifactId>
123           <version>${project.version}</version>
124       </dependency>
125       <dependency>
126           <groupId>${project.groupId}</groupId>
127           <artifactId>data-change-counter</artifactId>
128           <version>${project.version}</version>
129       </dependency>
130       <dependency>
131           <groupId>${project.groupId}</groupId>
132           <artifactId>programming-controller-config</artifactId>
133           <version>${project.version}</version>
134           <type>xml</type>
135           <classifier>config</classifier>
136       </dependency>
137       <dependency>
138           <groupId>${project.groupId}</groupId>
139           <artifactId>bgp-controller-config</artifactId>
140           <version>${project.version}</version>
141           <type>xml</type>
142           <classifier>config</classifier>
143       </dependency>
144       <dependency>
145           <groupId>${project.groupId}</groupId>
146           <artifactId>pcep-controller-config</artifactId>
147           <version>${project.version}</version>
148           <type>xml</type>
149           <classifier>config</classifier>
150       </dependency>
151       <dependency>
152           <groupId>${project.groupId}</groupId>
153           <artifactId>pcep-controller-config</artifactId>
154           <version>${project.version}</version>
155           <type>xml</type>
156           <classifier>config-segment</classifier>
157       </dependency>
158       <dependency>
159           <groupId>${project.groupId}</groupId>
160           <artifactId>pcep-controller-config</artifactId>
161           <version>${project.version}</version>
162           <type>xml</type>
163           <classifier>config-provider</classifier>
164       </dependency>
165       <dependency>
166           <groupId>${project.groupId}</groupId>
167           <artifactId>bgp-controller-config</artifactId>
168           <version>${project.version}</version>
169           <type>xml</type>
170           <classifier>config-example</classifier>
171       </dependency>
172        <dependency>
173           <groupId>${project.groupId}</groupId>
174           <artifactId>data-change-counter-controller-config</artifactId>
175           <version>${project.version}</version>
176           <type>xml</type>
177           <classifier>config</classifier>
178       </dependency>
179
180       <dependency>
181           <groupId>${project.groupId}</groupId>
182           <artifactId>pcep-api</artifactId>
183           <version>${project.version}</version>
184       </dependency>
185       <dependency>
186           <groupId>${project.groupId}</groupId>
187           <artifactId>pcep-impl</artifactId>
188           <version>${project.version}</version>
189       </dependency>
190       <dependency>
191           <groupId>${project.groupId}</groupId>
192           <artifactId>pcep-segment-routing</artifactId>
193           <version>${project.version}</version>
194       </dependency>
195       <dependency>
196           <groupId>${project.groupId}</groupId>
197           <artifactId>pcep-spi</artifactId>
198           <version>${project.version}</version>
199       </dependency>
200       <dependency>
201           <groupId>${project.groupId}</groupId>
202           <artifactId>pcep-ietf-stateful02</artifactId>
203           <version>${project.version}</version>
204       </dependency>
205       <dependency>
206           <groupId>${project.groupId}</groupId>
207           <artifactId>pcep-ietf-stateful07</artifactId>
208           <version>${project.version}</version>
209       </dependency>
210       <dependency>
211           <groupId>${project.groupId}</groupId>
212           <artifactId>pcep-topology-api</artifactId>
213           <version>${project.version}</version>
214       </dependency>
215       <dependency>
216           <groupId>${project.groupId}</groupId>
217           <artifactId>pcep-topology-provider</artifactId>
218           <version>${project.version}</version>
219       </dependency>
220       <dependency>
221           <groupId>${project.groupId}</groupId>
222           <artifactId>pcep-topology-spi</artifactId>
223           <version>${project.version}</version>
224       </dependency>
225       <dependency>
226           <groupId>${project.groupId}</groupId>
227           <artifactId>pcep-tunnel-api</artifactId>
228           <version>${project.version}</version>
229       </dependency>
230       <dependency>
231           <groupId>${project.groupId}</groupId>
232           <artifactId>pcep-tunnel-provider</artifactId>
233           <version>${project.version}</version>
234       </dependency>
235       <dependency>
236           <groupId>${project.groupId}</groupId>
237           <artifactId>programming-api</artifactId>
238           <version>${project.version}</version>
239       </dependency>
240       <dependency>
241           <groupId>${project.groupId}</groupId>
242           <artifactId>programming-impl</artifactId>
243           <version>${project.version}</version>
244       </dependency>
245       <dependency>
246           <groupId>${project.groupId}</groupId>
247           <artifactId>programming-spi</artifactId>
248           <version>${project.version}</version>
249       </dependency>
250       <dependency>
251           <groupId>${project.groupId}</groupId>
252           <artifactId>programming-topology-api</artifactId>
253           <version>${project.version}</version>
254       </dependency>
255       <dependency>
256           <groupId>${project.groupId}</groupId>
257           <artifactId>programming-tunnel-api</artifactId>
258           <version>${project.version}</version>
259       </dependency>
260       <dependency>
261           <groupId>${project.groupId}</groupId>
262           <artifactId>rsvp-api</artifactId>
263           <version>${project.version}</version>
264       </dependency>
265       <dependency>
266           <groupId>${project.groupId}</groupId>
267           <artifactId>topology-api</artifactId>
268           <version>${project.version}</version>
269       </dependency>
270       <dependency>
271           <groupId>${project.groupId}</groupId>
272           <artifactId>topology-segment-routing</artifactId>
273           <version>${project.version}</version>
274       </dependency>
275       <dependency>
276           <groupId>${project.groupId}</groupId>
277           <artifactId>topology-tunnel-api</artifactId>
278           <version>${project.version}</version>
279       </dependency>
280       <dependency>
281           <groupId>${project.groupId}</groupId>
282           <artifactId>util</artifactId>
283           <version>${project.version}</version>
284       </dependency>
285
286       <dependency>
287         <groupId>io.netty</groupId>
288         <artifactId>netty-buffer</artifactId>
289       </dependency>
290
291       <dependency>
292           <groupId>commons-codec</groupId>
293           <artifactId>commons-codec</artifactId>
294       </dependency>
295
296       <dependency>
297           <groupId>com.google.guava</groupId>
298           <artifactId>guava</artifactId>
299       </dependency>
300
301       <!-- test to validate features.xml -->
302       <dependency>
303           <groupId>org.opendaylight.yangtools</groupId>
304           <artifactId>features-test</artifactId>
305           <version>${yangtools.version}</version>
306       </dependency>
307
308       <!-- dependency for opendaylight-karaf-empty for use by testing -->
309       <dependency>
310           <groupId>org.opendaylight.controller</groupId>
311           <artifactId>opendaylight-karaf-empty</artifactId>
312           <version>${commons.opendaylight.version}</version>
313           <type>zip</type>
314       </dependency>
315   </dependencies>
316
317   <build>
318     <resources>
319       <resource>
320         <filtering>true</filtering>
321         <directory>src/main/resources</directory>
322       </resource>
323     </resources>
324     <plugins>
325       <plugin>
326         <groupId>org.apache.maven.plugins</groupId>
327         <artifactId>maven-resources-plugin</artifactId>
328         <executions>
329           <execution>
330             <id>filter</id>
331             <goals>
332               <goal>resources</goal>
333             </goals>
334             <phase>generate-resources</phase>
335           </execution>
336         </executions>
337       </plugin>
338       <plugin>
339         <groupId>org.codehaus.mojo</groupId>
340         <artifactId>build-helper-maven-plugin</artifactId>
341         <executions>
342           <execution>
343             <id>attach-artifacts</id>
344             <goals>
345               <goal>attach-artifact</goal>
346             </goals>
347             <phase>package</phase>
348             <configuration>
349               <artifacts>
350                 <artifact>
351                   <file>${project.build.directory}/classes/${features.file}</file>
352                   <type>xml</type>
353                   <classifier>features</classifier>
354                 </artifact>
355               </artifacts>
356             </configuration>
357           </execution>
358         </executions>
359       </plugin>
360       <plugin>
361         <groupId>org.apache.maven.plugins</groupId>
362         <artifactId>maven-surefire-plugin</artifactId>
363         <configuration>
364           <systemPropertyVariables>
365             <karaf.distro.groupId>org.opendaylight.controller</karaf.distro.groupId>
366             <karaf.distro.artifactId>opendaylight-karaf-empty</karaf.distro.artifactId>
367             <karaf.distro.version>${commons.opendaylight.version}</karaf.distro.version>
368           </systemPropertyVariables>
369           <dependenciesToScan>
370            <dependency>org.opendaylight.yangtools:features-test</dependency>
371           </dependenciesToScan>
372         </configuration>
373       </plugin>
374     </plugins>
375   </build>
376     <scm>
377         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
378         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
379         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
380         <tag>HEAD</tag>
381     </scm>
382 </project>