BGPCEP-712: Enforce checkstyle under binding-parent
[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-spi</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>${project.groupId}</groupId>
38             <artifactId>config-loader-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-impl</artifactId>
63         </dependency>
64         <dependency>
65             <groupId>org.opendaylight.controller</groupId>
66             <artifactId>sal-binding-config</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.opendaylight.mdsal</groupId>
70             <artifactId>mdsal-binding-generator-impl</artifactId>
71         </dependency>
72         <dependency>
73             <groupId>org.osgi</groupId>
74             <artifactId>org.osgi.core</artifactId>
75             <scope>provided</scope>
76         </dependency>
77         <dependency>
78             <groupId>org.osgi</groupId>
79             <artifactId>org.osgi.compendium</artifactId>
80         </dependency>
81
82         <!--Netty -->
83         <dependency>
84             <groupId>org.opendaylight.controller</groupId>
85             <artifactId>netty-timer-config</artifactId>
86         </dependency>
87         <dependency>
88             <groupId>io.netty</groupId>
89             <artifactId>netty-codec</artifactId>
90         </dependency>
91         <dependency>
92             <groupId>io.netty</groupId>
93             <artifactId>netty-transport-native-epoll</artifactId>
94             <classifier>linux-x86_64</classifier>
95         </dependency>
96         <!-- Testing dependencies -->
97         <dependency>
98             <groupId>${project.groupId}</groupId>
99             <artifactId>bgp-openconfig-rp-impl</artifactId>
100             <scope>test</scope>
101         </dependency>
102         <dependency>
103             <groupId>${project.groupId}</groupId>
104             <artifactId>bgp-openconfig-rp-impl</artifactId>
105             <type>test-jar</type>
106             <scope>test</scope>
107         </dependency>
108         <dependency>
109             <groupId>${project.groupId}</groupId>
110             <artifactId>bgp-rib-spi</artifactId>
111             <type>test-jar</type>
112             <scope>test</scope>
113         </dependency>
114         <dependency>
115             <groupId>${project.groupId}</groupId>
116             <artifactId>testtool-util</artifactId>
117             <scope>test</scope>
118         </dependency>
119         <dependency>
120             <groupId>${project.groupId}</groupId>
121             <artifactId>bgp-path-selection-mode</artifactId>
122             <type>test-jar</type>
123             <scope>test</scope>
124         </dependency>
125         <dependency>
126             <groupId>${project.groupId}</groupId>
127             <artifactId>config-loader-impl</artifactId>
128             <scope>test</scope>
129         </dependency>
130         <dependency>
131             <groupId>${project.groupId}</groupId>
132             <artifactId>config-loader-impl</artifactId>
133             <type>test-jar</type>
134             <scope>test</scope>
135         </dependency>
136         <dependency>
137             <groupId>org.mockito</groupId>
138             <artifactId>mockito-core</artifactId>
139         </dependency>
140         <dependency>
141             <groupId>org.opendaylight.yangtools</groupId>
142             <artifactId>mockito-configuration</artifactId>
143         </dependency>
144         <dependency>
145             <groupId>${project.groupId}</groupId>
146             <artifactId>bgp-linkstate</artifactId>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>${project.groupId}</groupId>
151             <artifactId>bgp-rib-mock</artifactId>
152             <scope>test</scope>
153         </dependency>
154         <dependency>
155             <groupId>${project.groupId}</groupId>
156             <artifactId>bgp-util</artifactId>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>org.opendaylight.yangtools</groupId>
161             <artifactId>yang-parser-api</artifactId>
162             <scope>test</scope>
163         </dependency>
164         <dependency>
165             <groupId>org.slf4j</groupId>
166             <artifactId>slf4j-simple</artifactId>
167             <scope>test</scope>
168         </dependency>
169         <dependency>
170             <groupId>junit</groupId>
171             <artifactId>junit</artifactId>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>config-manager</artifactId>
176             <type>test-jar</type>
177             <scope>test</scope>
178         </dependency>
179         <dependency>
180             <groupId>${project.groupId}</groupId>
181             <artifactId>bgp-config-example</artifactId>
182             <scope>test</scope>
183         </dependency>
184         <dependency>
185             <groupId>org.opendaylight.controller</groupId>
186             <artifactId>config-manager</artifactId>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>org.opendaylight.controller</groupId>
191             <artifactId>config-util</artifactId>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.controller</groupId>
196             <artifactId>netty-event-executor-config</artifactId>
197             <scope>test</scope>
198         </dependency>
199         <dependency>
200             <groupId>org.opendaylight.controller</groupId>
201             <artifactId>netty-threadgroup-config</artifactId>
202             <scope>test</scope>
203         </dependency>
204         <dependency>
205             <groupId>org.opendaylight.mdsal</groupId>
206             <artifactId>mdsal-binding-dom-adapter</artifactId>
207             <scope>test</scope>
208         </dependency>
209         <dependency>
210             <groupId>org.opendaylight.controller</groupId>
211             <artifactId>sal-broker-impl</artifactId>
212             <scope>test</scope>
213         </dependency>
214         <dependency>
215             <groupId>org.opendaylight.controller</groupId>
216             <artifactId>sal-binding-broker-impl</artifactId>
217             <scope>test</scope>
218             <type>test-jar</type>
219         </dependency>
220         <dependency>
221             <groupId>org.opendaylight.controller</groupId>
222             <artifactId>sal-dom-broker-config</artifactId>
223             <scope>test</scope>
224         </dependency>
225         <dependency>
226             <groupId>ch.qos.logback</groupId>
227             <artifactId>logback-classic</artifactId>
228             <scope>test</scope>
229         </dependency>
230         <dependency>
231             <groupId>org.powermock</groupId>
232             <artifactId>powermock-module-junit4</artifactId>
233             <scope>test</scope>
234         </dependency>
235         <dependency>
236             <groupId>org.powermock</groupId>
237             <artifactId>powermock-api-mockito</artifactId>
238             <scope>test</scope>
239         </dependency>
240         <dependency>
241             <groupId>org.opendaylight.yangtools</groupId>
242             <artifactId>yang-test-util</artifactId>
243             <scope>test</scope>
244         </dependency>
245         <dependency>
246             <groupId>${project.groupId}</groupId>
247             <artifactId>routing-policy-config-loader</artifactId>
248             <scope>test</scope>
249         </dependency>
250         <dependency>
251             <groupId>${project.groupId}</groupId>
252             <artifactId>routing-policy-config-loader</artifactId>
253             <scope>test</scope>
254             <type>test-jar</type>
255         </dependency>
256         <dependency>
257             <groupId>${project.groupId}</groupId>
258             <artifactId>bgp-openconfig-rp-statement</artifactId>
259             <scope>test</scope>
260         </dependency>
261         <dependency>
262             <groupId>${project.groupId}</groupId>
263             <artifactId>bgp-openconfig-rp-statement</artifactId>
264             <type>test-jar</type>
265             <scope>test</scope>
266         </dependency>
267         <dependency>
268             <groupId>${project.groupId}</groupId>
269             <artifactId>bgp-openconfig-rp-spi</artifactId>
270             <type>test-jar</type>
271             <scope>test</scope>
272         </dependency>
273         <dependency>
274             <groupId>${project.groupId}</groupId>
275             <artifactId>bgp-config-example</artifactId>
276             <type>test-jar</type>
277             <scope>test</scope>
278         </dependency>
279     </dependencies>
280
281     <build>
282         <plugins>
283             <plugin>
284                 <groupId>org.apache.felix</groupId>
285                 <artifactId>maven-bundle-plugin</artifactId>
286                 <extensions>true</extensions>
287                 <configuration>
288                     <instructions>
289                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
290                         <Export-Package>
291                             org.opendaylight.protocol.bgp.rib.impl.*
292                             ;-split-package:=error
293                         </Export-Package>
294                     </instructions>
295                 </configuration>
296             </plugin>
297             <plugin>
298                 <groupId>org.apache.maven.plugins</groupId>
299                 <artifactId>maven-jar-plugin</artifactId>
300                 <executions>
301                     <execution>
302                         <phase>package</phase>
303                         <goals>
304                             <goal>test-jar</goal>
305                         </goals>
306                     </execution>
307                 </executions>
308             </plugin>
309             <plugin>
310                 <groupId>org.apache.maven.plugins</groupId>
311                 <artifactId>maven-remote-resources-plugin</artifactId>
312                 <configuration>
313                     <attachToMain>false</attachToMain>
314                     <resourceBundles>
315                         <resourceBundle>${project.groupId}:bgp-config-example:${project.version}</resourceBundle>
316                     </resourceBundles>
317                 </configuration>
318                 <executions>
319                     <execution>
320                         <phase>process-test-sources</phase>
321                         <goals>
322                             <goal>process</goal>
323                         </goals>
324                     </execution>
325                 </executions>
326             </plugin>
327             <plugin>
328                 <groupId>org.apache.maven.plugins</groupId>
329                 <artifactId>maven-checkstyle-plugin</artifactId>
330                 <configuration>
331                     <violationSeverity>warn</violationSeverity>
332                 </configuration>
333             </plugin>
334             <!-- Disable offline link detection which breaks the build here -->
335             <plugin>
336                 <artifactId>maven-javadoc-plugin</artifactId>
337                 <configuration>
338                     <detectOfflineLinks>false</detectOfflineLinks>
339                 </configuration>
340             </plugin>
341         </plugins>
342     </build>
343
344     <scm>
345         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
346         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
347         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
348         <tag>HEAD</tag>
349     </scm>
350 </project>