Bump versions by x.(y+1).z for next dev cycle
[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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
12
13     <modelVersion>4.0.0</modelVersion>
14     <parent>
15         <groupId>org.opendaylight.bgpcep</groupId>
16         <artifactId>config-parent</artifactId>
17         <version>0.9.0-SNAPSHOT</version>
18         <relativePath>../../config-parent</relativePath>
19     </parent>
20
21     <artifactId>bgp-rib-impl</artifactId>
22     <packaging>bundle</packaging>
23     <description>BGP RIB implementation</description>
24     <name>${project.artifactId}</name>
25
26     <dependencies>
27         <dependency>
28             <groupId>${project.groupId}</groupId>
29             <artifactId>bgp-concepts</artifactId>
30         </dependency>
31         <dependency>
32             <groupId>${project.groupId}</groupId>
33             <artifactId>bgp-rib-spi</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>${project.groupId}</groupId>
37             <artifactId>bgp-config-loader-spi</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>${project.groupId}</groupId>
41             <artifactId>bgp-openconfig-spi</artifactId>
42         </dependency>
43         <dependency>
44             <groupId>${project.groupId}</groupId>
45             <artifactId>bgp-path-selection-mode</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>${project.groupId}</groupId>
49             <artifactId>bgp-inet</artifactId>
50         </dependency>
51         <dependency>
52             <groupId>${project.groupId}</groupId>
53             <artifactId>bgp-parser-impl</artifactId>
54         </dependency>
55         <dependency>
56             <groupId>org.opendaylight.controller</groupId>
57             <artifactId>sal-binding-config</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>org.opendaylight.mdsal</groupId>
61             <artifactId>mdsal-binding-generator-impl</artifactId>
62         </dependency>
63         <dependency>
64             <groupId>org.osgi</groupId>
65             <artifactId>org.osgi.core</artifactId>
66             <scope>provided</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.osgi</groupId>
70             <artifactId>org.osgi.compendium</artifactId>
71         </dependency>
72
73         <!--Netty -->
74         <dependency>
75             <groupId>org.opendaylight.controller</groupId>
76             <artifactId>netty-timer-config</artifactId>
77         </dependency>
78         <dependency>
79             <groupId>io.netty</groupId>
80             <artifactId>netty-codec</artifactId>
81         </dependency>
82         <dependency>
83             <groupId>io.netty</groupId>
84             <artifactId>netty-transport-native-epoll</artifactId>
85             <classifier>linux-x86_64</classifier>
86         </dependency>
87         <!-- Testing dependencies -->
88         <dependency>
89             <groupId>${project.groupId}</groupId>
90             <artifactId>bgp-rib-spi</artifactId>
91             <type>test-jar</type>
92             <scope>test</scope>
93         </dependency>
94         <dependency>
95             <groupId>${project.groupId}</groupId>
96             <artifactId>testtool-util</artifactId>
97             <scope>test</scope>
98         </dependency>
99         <dependency>
100             <groupId>${project.groupId}</groupId>
101             <artifactId>bgp-path-selection-mode</artifactId>
102             <type>test-jar</type>
103             <scope>test</scope>
104         </dependency>
105         <dependency>
106             <groupId>${project.groupId}</groupId>
107             <artifactId>bgp-config-loader-impl</artifactId>
108             <scope>test</scope>
109         </dependency>
110         <dependency>
111             <groupId>${project.groupId}</groupId>
112             <artifactId>bgp-config-loader-impl</artifactId>
113             <type>test-jar</type>
114             <scope>test</scope>
115         </dependency>
116         <dependency>
117             <groupId>org.mockito</groupId>
118             <artifactId>mockito-core</artifactId>
119         </dependency>
120         <dependency>
121             <groupId>org.opendaylight.yangtools</groupId>
122             <artifactId>mockito-configuration</artifactId>
123         </dependency>
124         <dependency>
125             <groupId>${project.groupId}</groupId>
126             <artifactId>bgp-linkstate</artifactId>
127             <scope>test</scope>
128         </dependency>
129         <dependency>
130             <groupId>${project.groupId}</groupId>
131             <artifactId>bgp-rib-mock</artifactId>
132             <scope>test</scope>
133         </dependency>
134         <dependency>
135             <groupId>${project.groupId}</groupId>
136             <artifactId>bgp-util</artifactId>
137             <scope>test</scope>
138         </dependency>
139         <dependency>
140             <groupId>org.opendaylight.yangtools</groupId>
141             <artifactId>yang-parser-api</artifactId>
142             <scope>test</scope>
143         </dependency>
144         <dependency>
145             <groupId>org.slf4j</groupId>
146             <artifactId>slf4j-simple</artifactId>
147             <scope>test</scope>
148         </dependency>
149         <dependency>
150             <groupId>junit</groupId>
151             <artifactId>junit</artifactId>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.controller</groupId>
155             <artifactId>config-manager</artifactId>
156             <type>test-jar</type>
157             <scope>test</scope>
158         </dependency>
159         <dependency>
160             <groupId>${project.groupId}</groupId>
161             <artifactId>bgp-controller-config</artifactId>
162             <scope>test</scope>
163         </dependency>
164         <dependency>
165             <groupId>org.opendaylight.controller</groupId>
166             <artifactId>config-manager</artifactId>
167             <scope>test</scope>
168         </dependency>
169         <dependency>
170             <groupId>org.opendaylight.controller</groupId>
171             <artifactId>config-util</artifactId>
172             <scope>test</scope>
173         </dependency>
174         <dependency>
175             <groupId>org.opendaylight.controller</groupId>
176             <artifactId>netty-event-executor-config</artifactId>
177             <scope>test</scope>
178         </dependency>
179         <dependency>
180             <groupId>org.opendaylight.controller</groupId>
181             <artifactId>netty-threadgroup-config</artifactId>
182             <scope>test</scope>
183         </dependency>
184         <dependency>
185             <groupId>org.opendaylight.controller</groupId>
186             <artifactId>sal-binding-broker-impl</artifactId>
187             <scope>test</scope>
188         </dependency>
189         <dependency>
190             <groupId>org.opendaylight.controller</groupId>
191             <artifactId>sal-broker-impl</artifactId>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>org.opendaylight.controller</groupId>
196             <artifactId>sal-binding-broker-impl</artifactId>
197             <scope>test</scope>
198             <type>test-jar</type>
199         </dependency>
200         <dependency>
201             <groupId>org.opendaylight.controller</groupId>
202             <artifactId>sal-dom-broker-config</artifactId>
203             <scope>test</scope>
204         </dependency>
205         <dependency>
206             <groupId>ch.qos.logback</groupId>
207             <artifactId>logback-classic</artifactId>
208             <scope>test</scope>
209         </dependency>
210         <dependency>
211             <groupId>org.powermock</groupId>
212             <artifactId>powermock-module-junit4</artifactId>
213             <scope>test</scope>
214         </dependency>
215         <dependency>
216             <groupId>org.powermock</groupId>
217             <artifactId>powermock-api-mockito</artifactId>
218             <scope>test</scope>
219         </dependency>
220         <dependency>
221             <groupId>org.opendaylight.yangtools</groupId>
222             <artifactId>yang-test-util</artifactId>
223             <scope>test</scope>
224         </dependency>
225     </dependencies>
226
227     <build>
228         <plugins>
229             <plugin>
230                 <groupId>org.apache.felix</groupId>
231                 <artifactId>maven-bundle-plugin</artifactId>
232                 <extensions>true</extensions>
233                 <configuration>
234                     <instructions>
235                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
236                         <Export-Package>
237                             org.opendaylight.controller.config.yang.bgp.rib.impl,
238                             org.opendaylight.protocol.bgp.rib.impl.*,
239                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.rib.impl.rev160330.*,
240                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.stats.peer.rev160606.*,
241                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.stats.rib.impl.rev160606.*
242                             ;-split-package:=error
243                         </Export-Package>
244                     </instructions>
245                 </configuration>
246             </plugin>
247             <plugin>
248                 <groupId>org.apache.maven.plugins</groupId>
249                 <artifactId>maven-jar-plugin</artifactId>
250                 <executions>
251                     <execution>
252                         <phase>package</phase>
253                         <goals>
254                             <goal>test-jar</goal>
255                         </goals>
256                     </execution>
257                 </executions>
258             </plugin>
259             <plugin>
260                 <groupId>org.apache.maven.plugins</groupId>
261                 <artifactId>maven-surefire-plugin</artifactId>
262                 <configuration>
263                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
264                     <!--parallel>classes</parallel>
265                     <forkCount>1C</forkCount>
266                     <perCoreThreadCount>true</perCoreThreadCount-->
267                     <runOrder>alphabetical</runOrder>
268                     <threadCount>1</threadCount>
269                     <reuseForks>false</reuseForks>
270                     <!-- Specific to generate mapping between tests and covered code -->
271                     <!--properties>
272                         <property>
273                             <name>listener</name>
274                             <value>org.sonar.java.jacoco.JUnitListener</value>
275                         </property>
276                     </properties-->
277                 </configuration>
278             </plugin>
279             <plugin>
280                 <groupId>org.apache.maven.plugins</groupId>
281                 <artifactId>maven-remote-resources-plugin</artifactId>
282                 <configuration>
283                     <attachToMain>false</attachToMain>
284                     <resourceBundles>
285                         <resourceBundle>${project.groupId}:bgp-controller-config:${project.version}</resourceBundle>
286                     </resourceBundles>
287                 </configuration>
288                 <executions>
289                     <execution>
290                         <phase>process-test-sources</phase>
291                         <goals>
292                             <goal>process</goal>
293                         </goals>
294                     </execution>
295                 </executions>
296             </plugin>
297         </plugins>
298     </build>
299
300     <scm>
301         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
302         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
303         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
304         <tag>HEAD</tag>
305     </scm>
306     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
307
308     <distributionManagement>
309         <site>
310             <id>opendaylight-site</id>
311             <url>${nexus.site.url}/${project.artifactId}/</url>
312         </site>
313     </distributionManagement>
314 </project>