Derive aggregators from odlparent-lite
[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.7.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>org.mockito</groupId>
107             <artifactId>mockito-core</artifactId>
108         </dependency>
109         <dependency>
110             <groupId>org.opendaylight.yangtools</groupId>
111             <artifactId>mockito-configuration</artifactId>
112         </dependency>
113         <dependency>
114             <groupId>${project.groupId}</groupId>
115             <artifactId>bgp-linkstate</artifactId>
116             <scope>test</scope>
117         </dependency>
118         <dependency>
119             <groupId>${project.groupId}</groupId>
120             <artifactId>bgp-rib-mock</artifactId>
121             <scope>test</scope>
122         </dependency>
123         <dependency>
124             <groupId>${project.groupId}</groupId>
125             <artifactId>bgp-util</artifactId>
126             <scope>test</scope>
127         </dependency>
128         <dependency>
129             <groupId>org.opendaylight.yangtools</groupId>
130             <artifactId>yang-parser-api</artifactId>
131             <scope>test</scope>
132         </dependency>
133         <dependency>
134             <groupId>org.opendaylight.yangtools</groupId>
135             <artifactId>yang-parser-impl</artifactId>
136             <scope>test</scope>
137         </dependency>
138         <dependency>
139             <groupId>org.slf4j</groupId>
140             <artifactId>slf4j-simple</artifactId>
141             <scope>test</scope>
142         </dependency>
143         <dependency>
144             <groupId>junit</groupId>
145             <artifactId>junit</artifactId>
146         </dependency>
147         <dependency>
148             <groupId>org.opendaylight.controller</groupId>
149             <artifactId>config-manager</artifactId>
150             <type>test-jar</type>
151             <scope>test</scope>
152         </dependency>
153         <dependency>
154             <groupId>org.opendaylight.controller</groupId>
155             <artifactId>config-manager</artifactId>
156             <scope>test</scope>
157         </dependency>
158         <dependency>
159             <groupId>org.opendaylight.controller</groupId>
160             <artifactId>config-util</artifactId>
161             <scope>test</scope>
162         </dependency>
163         <dependency>
164             <groupId>org.opendaylight.controller</groupId>
165             <artifactId>netty-event-executor-config</artifactId>
166             <scope>test</scope>
167         </dependency>
168         <dependency>
169             <groupId>org.opendaylight.controller</groupId>
170             <artifactId>netty-threadgroup-config</artifactId>
171             <scope>test</scope>
172         </dependency>
173         <dependency>
174             <groupId>org.opendaylight.controller</groupId>
175             <artifactId>sal-binding-broker-impl</artifactId>
176             <scope>test</scope>
177         </dependency>
178         <dependency>
179             <groupId>org.opendaylight.controller</groupId>
180             <artifactId>sal-broker-impl</artifactId>
181             <scope>test</scope>
182         </dependency>
183         <dependency>
184             <groupId>org.opendaylight.controller</groupId>
185             <artifactId>sal-binding-broker-impl</artifactId>
186             <scope>test</scope>
187             <type>test-jar</type>
188         </dependency>
189         <dependency>
190             <groupId>org.opendaylight.controller</groupId>
191             <artifactId>sal-dom-broker-config</artifactId>
192             <scope>test</scope>
193         </dependency>
194         <dependency>
195             <groupId>ch.qos.logback</groupId>
196             <artifactId>logback-classic</artifactId>
197         </dependency>
198         <dependency>
199             <groupId>org.powermock</groupId>
200             <artifactId>powermock-module-junit4</artifactId>
201         </dependency>
202         <dependency>
203             <groupId>org.powermock</groupId>
204             <artifactId>powermock-api-mockito</artifactId>
205         </dependency>
206     </dependencies>
207
208     <build>
209         <plugins>
210             <plugin>
211                 <groupId>org.apache.felix</groupId>
212                 <artifactId>maven-bundle-plugin</artifactId>
213                 <extensions>true</extensions>
214                 <configuration>
215                     <instructions>
216                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
217                         <Export-Package>
218                             org.opendaylight.protocol.bgp.rib.impl.*,
219                             org.opendaylight.controller.config.yang.bgp.rib.impl,
220                             org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.controller.bgp.*
221                         </Export-Package>
222                     </instructions>
223                 </configuration>
224             </plugin>
225             <plugin>
226                 <groupId>org.apache.maven.plugins</groupId>
227                 <artifactId>maven-jar-plugin</artifactId>
228                 <executions>
229                     <execution>
230                         <phase>package</phase>
231                         <goals>
232                             <goal>test-jar</goal>
233                         </goals>
234                     </execution>
235                 </executions>
236             </plugin>
237             <plugin>
238                 <groupId>org.apache.maven.plugins</groupId>
239                 <artifactId>maven-surefire-plugin</artifactId>
240                 <configuration>
241                     <redirectTestOutputToFile>true</redirectTestOutputToFile>
242                     <!--parallel>classes</parallel>
243                     <forkCount>1C</forkCount>
244                     <perCoreThreadCount>true</perCoreThreadCount-->
245                     <runOrder>alphabetical</runOrder>
246                     <threadCount>1</threadCount>
247                     <reuseForks>false</reuseForks>
248                     <!-- Specific to generate mapping between tests and covered code -->
249                     <!--properties>
250                         <property>
251                             <name>listener</name>
252                             <value>org.sonar.java.jacoco.JUnitListener</value>
253                         </property>
254                     </properties-->
255                 </configuration>
256             </plugin>
257         </plugins>
258     </build>
259
260     <scm>
261         <connection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</connection>
262         <developerConnection>scm:git:ssh://git.opendaylight.org:29418/bgpcep.git</developerConnection>
263         <url>https://wiki.opendaylight.org/view/BGP_LS_PCEP:Main</url>
264         <tag>HEAD</tag>
265     </scm>
266     <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
267
268     <distributionManagement>
269         <site>
270             <id>opendaylight-site</id>
271             <url>${nexus.site.url}/${project.artifactId}/</url>
272         </site>
273     </distributionManagement>
274 </project>