Enforce fail on maven-dependency-plugin warning
[bgpcep.git] / bgp / rib-impl / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 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"
12          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
13
14     <modelVersion>4.0.0</modelVersion>
15     <parent>
16         <groupId>org.opendaylight.bgpcep</groupId>
17         <artifactId>bgpcep-parent</artifactId>
18         <version>0.10.0-SNAPSHOT</version>
19         <relativePath>../../parent</relativePath>
20     </parent>
21
22     <artifactId>bgp-rib-impl</artifactId>
23     <packaging>bundle</packaging>
24     <description>BGP RIB implementation</description>
25     <name>${project.artifactId}</name>
26
27     <dependencies>
28         <dependency>
29             <groupId>${project.groupId}</groupId>
30             <artifactId>bgp-concepts</artifactId>
31         </dependency>
32         <dependency>
33             <groupId>${project.groupId}</groupId>
34             <artifactId>bgp-rib-api</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>${project.groupId}</groupId>
38             <artifactId>bgp-rib-spi</artifactId>
39         </dependency>
40         <dependency>
41             <groupId>${project.groupId}</groupId>
42             <artifactId>bgp-openconfig-api</artifactId>
43         </dependency>
44         <dependency>
45             <groupId>${project.groupId}</groupId>
46             <artifactId>bgp-openconfig-spi</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>${project.groupId}</groupId>
50             <artifactId>bgp-path-selection-mode</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>${project.groupId}</groupId>
54             <artifactId>bgp-openconfig-rp-spi</artifactId>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>bgp-inet</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>bgp-parser-api</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>${project.groupId}</groupId>
66             <artifactId>bgp-parser-spi</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>${project.groupId}</groupId>
70             <artifactId>bgp-parser-impl</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>${project.groupId}</groupId>
74             <artifactId>util</artifactId>
75         </dependency>
76         <dependency>
77             <groupId>${project.groupId}</groupId>
78             <artifactId>concepts</artifactId>
79         </dependency>
80         <dependency>
81             <groupId>org.opendaylight.controller</groupId>
82             <artifactId>sal-core-api</artifactId>
83         </dependency>
84         <dependency>
85             <groupId>org.opendaylight.controller</groupId>
86             <artifactId>sal-binding-api</artifactId>
87         </dependency>
88         <dependency>
89             <groupId>org.opendaylight.controller</groupId>
90             <artifactId>sal-common-api</artifactId>
91         </dependency>
92         <dependency>
93             <groupId>org.opendaylight.yangtools</groupId>
94             <artifactId>yang-data-api</artifactId>
95         </dependency>
96         <dependency>
97             <groupId>org.opendaylight.yangtools</groupId>
98             <artifactId>yang-data-impl</artifactId>
99         </dependency>
100         <dependency>
101             <groupId>org.opendaylight.yangtools</groupId>
102             <artifactId>yang-model-api</artifactId>
103         </dependency>
104         <dependency>
105             <groupId>org.opendaylight.yangtools</groupId>
106             <artifactId>yang-common</artifactId>
107         </dependency>
108         <dependency>
109             <groupId>org.opendaylight.mdsal</groupId>
110             <artifactId>mdsal-binding-generator-impl</artifactId>
111         </dependency>
112         <dependency>
113             <groupId>org.opendaylight.mdsal.model</groupId>
114             <artifactId>ietf-yang-types-20130715</artifactId>
115         </dependency>
116         <dependency>
117             <groupId>org.opendaylight.mdsal.model</groupId>
118             <artifactId>ietf-inet-types-2013-07-15</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.opendaylight.mdsal</groupId>
122             <artifactId>mdsal-dom-api</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>org.opendaylight.mdsal</groupId>
126             <artifactId>mdsal-common-api</artifactId>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.mdsal</groupId>
130             <artifactId>mdsal-singleton-common-api</artifactId>
131         </dependency>
132         <dependency>
133             <groupId>org.opendaylight.mdsal</groupId>
134             <artifactId>yang-binding</artifactId>
135         </dependency>
136         <dependency>
137             <groupId>org.opendaylight.mdsal</groupId>
138             <artifactId>mdsal-binding-generator-api</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.mdsal</groupId>
142             <artifactId>mdsal-binding-dom-codec</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>org.opendaylight.yangtools</groupId>
146             <artifactId>concepts</artifactId>
147         </dependency>
148         <dependency>
149             <groupId>org.apache.commons</groupId>
150             <artifactId>commons-lang3</artifactId>
151         </dependency>
152         <dependency>
153             <groupId>org.osgi</groupId>
154             <artifactId>org.osgi.core</artifactId>
155             <scope>provided</scope>
156         </dependency>
157         <dependency>
158             <groupId>org.osgi</groupId>
159             <artifactId>org.osgi.compendium</artifactId>
160         </dependency>
161         <dependency>
162             <groupId>com.google.guava</groupId>
163             <artifactId>guava</artifactId>
164         </dependency>
165         <dependency>
166             <groupId>org.javassist</groupId>
167             <artifactId>javassist</artifactId>
168         </dependency>
169         <!--Netty -->
170         <dependency>
171             <groupId>io.netty</groupId>
172             <artifactId>netty-codec</artifactId>
173         </dependency>
174         <dependency>
175             <groupId>io.netty</groupId>
176             <artifactId>netty-common</artifactId>
177         </dependency>
178         <dependency>
179             <groupId>io.netty</groupId>
180             <artifactId>netty-transport</artifactId>
181         </dependency>
182         <dependency>
183             <groupId>io.netty</groupId>
184             <artifactId>netty-buffer</artifactId>
185         </dependency>
186         <dependency>
187             <groupId>io.netty</groupId>
188             <artifactId>netty-transport-native-epoll</artifactId>
189             <classifier>linux-x86_64</classifier>
190         </dependency>
191         <!-- Testing dependencies -->
192         <dependency>
193             <groupId>${project.groupId}</groupId>
194             <artifactId>bgp-openconfig-rp-impl</artifactId>
195             <scope>test</scope>
196         </dependency>
197         <dependency>
198             <groupId>${project.groupId}</groupId>
199             <artifactId>bgp-openconfig-rp-impl</artifactId>
200             <type>test-jar</type>
201             <scope>test</scope>
202         </dependency>
203         <dependency>
204             <groupId>${project.groupId}</groupId>
205             <artifactId>bgp-rib-spi</artifactId>
206             <type>test-jar</type>
207             <scope>test</scope>
208         </dependency>
209         <dependency>
210             <groupId>${project.groupId}</groupId>
211             <artifactId>testtool-util</artifactId>
212             <scope>test</scope>
213         </dependency>
214         <dependency>
215             <groupId>${project.groupId}</groupId>
216             <artifactId>bgp-path-selection-mode</artifactId>
217             <type>test-jar</type>
218             <scope>test</scope>
219         </dependency>
220         <dependency>
221             <groupId>${project.groupId}</groupId>
222             <artifactId>config-loader-impl</artifactId>
223             <scope>test</scope>
224         </dependency>
225         <dependency>
226             <groupId>${project.groupId}</groupId>
227             <artifactId>config-loader-impl</artifactId>
228             <type>test-jar</type>
229             <scope>test</scope>
230         </dependency>
231         <dependency>
232             <groupId>org.mockito</groupId>
233             <artifactId>mockito-core</artifactId>
234         </dependency>
235         <dependency>
236             <groupId>org.opendaylight.yangtools</groupId>
237             <artifactId>mockito-configuration</artifactId>
238         </dependency>
239         <dependency>
240             <groupId>${project.groupId}</groupId>
241             <artifactId>bgp-linkstate</artifactId>
242             <scope>test</scope>
243         </dependency>
244         <dependency>
245             <groupId>${project.groupId}</groupId>
246             <artifactId>bgp-rib-mock</artifactId>
247             <scope>test</scope>
248         </dependency>
249         <dependency>
250             <groupId>${project.groupId}</groupId>
251             <artifactId>bgp-util</artifactId>
252             <scope>test</scope>
253         </dependency>
254         <dependency>
255             <groupId>org.opendaylight.yangtools</groupId>
256             <artifactId>yang-parser-api</artifactId>
257             <scope>test</scope>
258         </dependency>
259         <dependency>
260             <groupId>org.slf4j</groupId>
261             <artifactId>slf4j-simple</artifactId>
262             <scope>test</scope>
263         </dependency>
264         <dependency>
265             <groupId>${project.groupId}</groupId>
266             <artifactId>bgp-config-example</artifactId>
267             <scope>test</scope>
268         </dependency>
269         <dependency>
270             <groupId>org.opendaylight.mdsal</groupId>
271             <artifactId>mdsal-binding-dom-adapter</artifactId>
272             <scope>test</scope>
273         </dependency>
274         <dependency>
275             <groupId>org.opendaylight.controller</groupId>
276             <artifactId>sal-broker-impl</artifactId>
277             <scope>test</scope>
278         </dependency>
279         <dependency>
280             <groupId>org.opendaylight.controller</groupId>
281             <artifactId>sal-binding-broker-impl</artifactId>
282             <scope>test</scope>
283         </dependency>
284         <dependency>
285             <groupId>org.opendaylight.controller</groupId>
286             <artifactId>sal-binding-broker-impl</artifactId>
287             <scope>test</scope>
288             <type>test-jar</type>
289         </dependency>
290         <dependency>
291             <groupId>ch.qos.logback</groupId>
292             <artifactId>logback-classic</artifactId>
293             <scope>test</scope>
294         </dependency>
295         <dependency>
296             <groupId>org.powermock</groupId>
297             <artifactId>powermock-module-junit4</artifactId>
298             <scope>test</scope>
299         </dependency>
300         <dependency>
301             <groupId>org.powermock</groupId>
302             <artifactId>powermock-api-mockito</artifactId>
303             <scope>test</scope>
304         </dependency>
305         <dependency>
306             <groupId>org.opendaylight.yangtools</groupId>
307             <artifactId>yang-test-util</artifactId>
308             <scope>test</scope>
309         </dependency>
310         <dependency>
311             <groupId>${project.groupId}</groupId>
312             <artifactId>routing-policy-config-loader</artifactId>
313             <scope>test</scope>
314         </dependency>
315         <dependency>
316             <groupId>${project.groupId}</groupId>
317             <artifactId>routing-policy-config-loader</artifactId>
318             <scope>test</scope>
319             <type>test-jar</type>
320         </dependency>
321         <dependency>
322             <groupId>${project.groupId}</groupId>
323             <artifactId>bgp-openconfig-rp-statement</artifactId>
324             <scope>test</scope>
325         </dependency>
326         <dependency>
327             <groupId>${project.groupId}</groupId>
328             <artifactId>bgp-openconfig-rp-statement</artifactId>
329             <type>test-jar</type>
330             <scope>test</scope>
331         </dependency>
332         <dependency>
333             <groupId>${project.groupId}</groupId>
334             <artifactId>bgp-openconfig-rp-spi</artifactId>
335             <type>test-jar</type>
336             <scope>test</scope>
337         </dependency>
338         <dependency>
339             <groupId>${project.groupId}</groupId>
340             <artifactId>bgp-config-example</artifactId>
341             <type>test-jar</type>
342             <scope>test</scope>
343         </dependency>
344     </dependencies>
345
346     <build>
347         <plugins>
348             <plugin>
349                 <groupId>org.apache.felix</groupId>
350                 <artifactId>maven-bundle-plugin</artifactId>
351                 <extensions>true</extensions>
352                 <configuration>
353                     <instructions>
354                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
355                         <Export-Package>
356                             org.opendaylight.protocol.bgp.rib.impl.*
357                             ;-split-package:=error
358                         </Export-Package>
359                     </instructions>
360                 </configuration>
361             </plugin>
362             <plugin>
363                 <groupId>org.apache.maven.plugins</groupId>
364                 <artifactId>maven-jar-plugin</artifactId>
365                 <executions>
366                     <execution>
367                         <phase>package</phase>
368                         <goals>
369                             <goal>test-jar</goal>
370                         </goals>
371                     </execution>
372                 </executions>
373             </plugin>
374             <plugin>
375                 <groupId>org.apache.maven.plugins</groupId>
376                 <artifactId>maven-remote-resources-plugin</artifactId>
377                 <configuration>
378                     <attachToMain>false</attachToMain>
379                     <resourceBundles>
380                         <resourceBundle>${project.groupId}:bgp-config-example:${project.version}</resourceBundle>
381                     </resourceBundles>
382                 </configuration>
383                 <executions>
384                     <execution>
385                         <phase>process-test-sources</phase>
386                         <goals>
387                             <goal>process</goal>
388                         </goals>
389                     </execution>
390                 </executions>
391             </plugin>
392             <plugin>
393                 <groupId>org.apache.maven.plugins</groupId>
394                 <artifactId>maven-checkstyle-plugin</artifactId>
395                 <configuration>
396                     <violationSeverity>warn</violationSeverity>
397                 </configuration>
398             </plugin>
399             <!-- Disable offline link detection which breaks the build here -->
400             <plugin>
401                 <artifactId>maven-javadoc-plugin</artifactId>
402                 <configuration>
403                     <detectOfflineLinks>false</detectOfflineLinks>
404                 </configuration>
405             </plugin>
406         </plugins>
407     </build>
408
409     <scm>
410         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
411         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
412         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
413         <tag>HEAD</tag>
414     </scm>
415 </project>