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