blob: 7b8f52800f012fa46e2911d926bda4a9b556de61 [file] [log] [blame]
Thomas Vachuska43977572016-06-02 13:48:55 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
Thomas Vachuska43977572016-06-02 13:48:55 -07004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
Thomas Vachuska43977572016-06-02 13:48:55 -070022 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-base</artifactId>
25 <version>1</version>
26 <relativePath>../tools/build/pom.xml</relativePath>
27 </parent>
28
29 <groupId>org.onosproject</groupId>
30 <artifactId>onos-dependencies</artifactId>
31 <packaging>pom</packaging>
ONOS Jenkins User61881df2017-12-12 21:19:45 +000032 <version>1.13.0-SNAPSHOT</version>
Thomas Vachuska43977572016-06-02 13:48:55 -070033
34 <name>${project.artifactId}</name>
35 <description>Open Network Operating System shared dependencies</description>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkeya09f87f2017-11-21 09:38:31 -080039 <onos-build-conf.version>1.13.0-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080040 <netty4.version>4.1.8.Final</netty4.version>
Yuta HIGUCHI8ce28c02017-05-19 09:51:55 -070041 <openflowj.version>3.2.0.onos</openflowj.version>
Thomas Vachuskae5428c52016-08-09 13:27:06 -070042 <onos-maven-plugin.version>1.10</onos-maven-plugin.version>
Ray Milkeycbf99172017-11-30 10:54:16 -080043 <onos-yang-tools.version>2.3.1</onos-yang-tools.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070044 <osgi.version>5.0.0</osgi.version>
Jon Hallb84df5d2017-01-31 11:19:48 -080045 <karaf.version>3.0.8</karaf.version>
Jian Li112890b2017-04-25 22:27:49 +090046 <jersey.version>2.25.1</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070047 <jetty.version>9.2.21.v20170120</jetty.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070048 <jackson.version>2.8.10</jackson.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070049 <slf4j.version>1.7.21</slf4j.version>
Yuta HIGUCHI16b6efd2017-05-23 11:28:38 -070050 <guava.version>22.0</guava.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070051 <commons.io.version>2.6</commons.io.version>
Yuta HIGUCHI923a7782017-09-05 13:04:47 -070052 <bouncycastle.version>1.58</bouncycastle.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070053 <!-- TODO argLine was originally added maven-surfire-plugin configuration
54 to fix locale errors for non-US developers. However, it breaks
55 SonarQube's test coverage, so moving here for now. -->
56 <argLine>-Duser.language=en -Duser.region=US</argLine>
Carmelo Casconeb1936bd2017-12-12 14:42:27 -080057 <grpccore.version>1.3.1</grpccore.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070058 </properties>
59
60 <dependencyManagement>
61 <dependencies>
62 <dependency>
63 <groupId>junit</groupId>
64 <artifactId>junit</artifactId>
65 <version>4.12</version>
66 <scope>test</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.hamcrest</groupId>
71 <artifactId>hamcrest-core</artifactId>
72 <version>1.3</version>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.hamcrest</groupId>
77 <artifactId>hamcrest-library</artifactId>
78 <version>1.3</version>
79 <scope>test</scope>
80 </dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +090081 <dependency>
82 <groupId>com.spotify</groupId>
83 <artifactId>hamcrest-optional</artifactId>
84 <version>1.1.0</version>
85 <scope>test</scope>
86 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -070087
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-api</artifactId>
91 <version>${slf4j.version}</version>
92 <scope>provided</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-core</artifactId>
98 <version>${slf4j.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.slf4j</groupId>
104 <artifactId>slf4j-jdk14</artifactId>
105 <version>${slf4j.version}</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>com.google.guava</groupId>
111 <artifactId>guava</artifactId>
112 <version>${guava.version}</version>
113 </dependency>
114
115 <dependency>
116 <groupId>com.google.guava</groupId>
117 <artifactId>guava-testlib</artifactId>
118 <version>${guava.version}</version>
119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>com.googlecode.concurrent-trees</groupId>
124 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700125 <version>2.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700126 </dependency>
127
128 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700129 <groupId>commons-collections</groupId>
130 <artifactId>commons-collections</artifactId>
131 <version>3.2.2</version>
132 </dependency>
133
134 <dependency>
135 <groupId>commons-configuration</groupId>
136 <artifactId>commons-configuration</artifactId>
137 <version>1.10</version>
138 </dependency>
139
140 <dependency>
141 <groupId>commons-io</groupId>
142 <artifactId>commons-io</artifactId>
143 <version>2.4</version>
144 </dependency>
145
146 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700147 <groupId>commons-lang</groupId>
148 <artifactId>commons-lang</artifactId>
149 <version>2.6</version>
150 </dependency>
151
152 <dependency>
153 <groupId>org.apache.commons</groupId>
154 <artifactId>commons-lang3</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700155 <version>3.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700156 </dependency>
157
158 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700159 <groupId>commons-logging</groupId>
160 <artifactId>commons-logging</artifactId>
161 <version>1.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700162 </dependency>
163
164 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700165 <groupId>org.apache.commons</groupId>
166 <artifactId>commons-math3</artifactId>
167 <version>3.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700168 </dependency>
169
170 <dependency>
171 <groupId>commons-pool</groupId>
172 <artifactId>commons-pool</artifactId>
173 <version>1.6</version>
174 </dependency>
175
176 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700177 <groupId>io.dropwizard.metrics</groupId>
178 <artifactId>metrics-core</artifactId>
179 <version>3.2.2</version>
180 </dependency>
181
182 <dependency>
183 <groupId>io.dropwizard.metrics</groupId>
184 <artifactId>metrics-json</artifactId>
185 <version>3.2.2</version>
186 </dependency>
187
188 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700189 <groupId>org.easymock</groupId>
190 <artifactId>easymock</artifactId>
191 <version>3.4</version>
192 <scope>test</scope>
193 </dependency>
194
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700195 <dependency>
196 <groupId>org.apache.sshd</groupId>
197 <artifactId>sshd-core</artifactId>
198 <version>1.4.0</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.bouncycastle</groupId>
203 <artifactId>bcpkix-jdk15on</artifactId>
204 <version>${bouncycastle.version}</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.bouncycastle</groupId>
209 <artifactId>bcprov-jdk15on</artifactId>
210 <version>${bouncycastle.version}</version>
211 </dependency>
212
213
Thomas Vachuska43977572016-06-02 13:48:55 -0700214 <!-- Web related -->
215 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700216 <groupId>javax.servlet</groupId>
217 <artifactId>javax.servlet-api</artifactId>
218 <version>3.1.0</version>
219 <scope>test</scope>
220 </dependency>
Yuta HIGUCHIc2af9662017-12-08 10:34:01 -0800221
222 <dependency>
223 <groupId>javax.ws.rs</groupId>
224 <artifactId>javax.ws.rs-api</artifactId>
225 <version>2.1</version>
226 </dependency>
227
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700228 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700229 <groupId>org.glassfish.jersey.core</groupId>
230 <artifactId>jersey-client</artifactId>
231 <version>${jersey.version}</version>
232 </dependency>
fahadnaeemkhan02ffa712017-12-01 19:49:45 -0800233
234 <dependency>
235 <groupId>org.glassfish.jersey.security</groupId>
236 <artifactId>oauth2-client</artifactId>
237 <version>${jersey.version}</version>
238 </dependency>
239
Thomas Vachuska43977572016-06-02 13:48:55 -0700240 <dependency>
241 <groupId>org.glassfish.jersey.containers</groupId>
242 <artifactId>jersey-container-servlet</artifactId>
243 <version>${jersey.version}</version>
244 <scope>provided</scope>
245 </dependency>
246 <dependency>
247 <groupId>org.glassfish.jersey.containers</groupId>
248 <artifactId>jersey-container-servlet-core</artifactId>
249 <version>${jersey.version}</version>
250 <scope>provided</scope>
251 </dependency>
252 <dependency>
253 <groupId>org.glassfish.jersey.media</groupId>
254 <artifactId>jersey-media-multipart</artifactId>
255 <version>${jersey.version}</version>
256 <scope>provided</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.glassfish.jersey.test-framework</groupId>
260 <artifactId>jersey-test-framework-core</artifactId>
261 <version>${jersey.version}</version>
262 <scope>test</scope>
263 </dependency>
264 <dependency>
265 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
266 <artifactId>jersey-test-framework-provider-jetty</artifactId>
267 <version>${jersey.version}</version>
268 <scope>test</scope>
269 </dependency>
270 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700271 <groupId>org.eclipse.jetty</groupId>
272 <artifactId>jetty-server</artifactId>
273 <version>${jetty.version}</version>
274 <scope>test</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.eclipse.jetty</groupId>
278 <artifactId>jetty-util</artifactId>
279 <version>${jetty.version}</version>
280 </dependency>
281 <dependency>
282 <groupId>org.eclipse.jetty</groupId>
283 <artifactId>jetty-io</artifactId>
284 <version>${jetty.version}</version>
285 </dependency>
286 <dependency>
287 <groupId>org.eclipse.jetty</groupId>
288 <artifactId>jetty-http</artifactId>
289 <version>${jetty.version}</version>
290 </dependency>
291 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700292 <groupId>com.fasterxml.jackson.core</groupId>
293 <artifactId>jackson-databind</artifactId>
294 <version>${jackson.version}</version>
295 <scope>provided</scope>
296 </dependency>
297 <dependency>
298 <groupId>com.fasterxml.jackson.core</groupId>
299 <artifactId>jackson-annotations</artifactId>
300 <version>${jackson.version}</version>
301 <scope>provided</scope>
302 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700303 <dependency>
304 <groupId>com.fasterxml.jackson.core</groupId>
305 <artifactId>jackson-core</artifactId>
306 <version>${jackson.version}</version>
307 <scope>provided</scope>
308 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700309
310 <!-- OSGi related -->
311 <dependency>
312 <groupId>org.osgi</groupId>
313 <artifactId>org.osgi.core</artifactId>
314 <version>${osgi.version}</version>
315 <scope>provided</scope>
316 </dependency>
317 <dependency>
318 <groupId>org.osgi</groupId>
319 <artifactId>org.osgi.compendium</artifactId>
320 <version>${osgi.version}</version>
321 <scope>provided</scope>
322 </dependency>
323 <dependency>
324 <groupId>org.apache.felix</groupId>
325 <artifactId>org.apache.felix.scr.annotations</artifactId>
326 <version>1.9.12</version>
327 <scope>provided</scope>
328 </dependency>
329 <dependency>
330 <groupId>org.apache.felix</groupId>
331 <artifactId>org.apache.felix.scr</artifactId>
332 <version>1.8.2</version>
333 </dependency>
334
335 <dependency>
336 <groupId>org.apache.karaf.features</groupId>
337 <artifactId>org.apache.karaf.features.core</artifactId>
338 <version>${karaf.version}</version>
339 <scope>provided</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.apache.karaf.system</groupId>
343 <artifactId>org.apache.karaf.system.core</artifactId>
344 <version>${karaf.version}</version>
345 <scope>provided</scope>
346 </dependency>
347 <dependency>
348 <groupId>org.apache.karaf.shell</groupId>
349 <artifactId>org.apache.karaf.shell.console</artifactId>
350 <version>${karaf.version}</version>
351 <scope>provided</scope>
352 </dependency>
353
354 <dependency>
355 <groupId>org.livetribe.slp</groupId>
356 <artifactId>livetribe-slp</artifactId>
357 <version>2.2.1</version>
358 </dependency>
359
360 <dependency>
361 <groupId>com.eclipsesource.minimal-json</groupId>
362 <artifactId>minimal-json</artifactId>
363 <version>0.9.4</version>
364 </dependency>
365 <dependency>
366 <groupId>com.esotericsoftware</groupId>
367 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700368 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700369 </dependency>
370 <dependency>
371 <groupId>com.esotericsoftware</groupId>
372 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700373 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700374 </dependency>
375 <dependency>
376 <groupId>org.ow2.asm</groupId>
377 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700378 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700379 </dependency>
380 <dependency>
381 <groupId>com.esotericsoftware</groupId>
382 <artifactId>minlog</artifactId>
383 <version>1.3.0</version>
384 </dependency>
385 <dependency>
386 <groupId>org.objenesis</groupId>
387 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700388 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700389 </dependency>
390
391 <!-- Netty related; for now we require both 3.10.x and 4 -->
392 <dependency>
393 <groupId>io.netty</groupId>
394 <artifactId>netty</artifactId>
395 <version>3.10.5.Final</version>
396 </dependency>
397
398 <dependency>
399 <groupId>io.netty</groupId>
400 <artifactId>netty-common</artifactId>
401 <version>${netty4.version}</version>
402 </dependency>
403 <dependency>
404 <groupId>io.netty</groupId>
405 <artifactId>netty-buffer</artifactId>
406 <version>${netty4.version}</version>
407 </dependency>
408 <dependency>
409 <groupId>io.netty</groupId>
410 <artifactId>netty-transport</artifactId>
411 <version>${netty4.version}</version>
412 </dependency>
413 <dependency>
414 <groupId>io.netty</groupId>
415 <artifactId>netty-handler</artifactId>
416 <version>${netty4.version}</version>
417 </dependency>
418
419 <dependency>
420 <groupId>io.netty</groupId>
421 <artifactId>netty-codec</artifactId>
422 <version>${netty4.version}</version>
423 </dependency>
424
425 <dependency>
426 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700427 <artifactId>netty-transport-native-unix-common</artifactId>
428 <version>${netty4.version}</version>
429 </dependency>
430
431 <dependency>
432 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700433 <artifactId>netty-transport-native-epoll</artifactId>
434 <version>${netty4.version}</version>
435 <classifier>${os.detected.classifier}</classifier>
436 </dependency>
437
438 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800439 <groupId>io.netty</groupId>
440 <artifactId>netty-resolver</artifactId>
441 <version>${netty4.version}</version>
442 </dependency>
443
444 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700445 <groupId>com.google.code.findbugs</groupId>
446 <artifactId>jsr305</artifactId>
447 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700448 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700449 </dependency>
450
451 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700452 <groupId>com.google.errorprone</groupId>
453 <artifactId>error_prone_annotations</artifactId>
454 <version>2.0.11</version>
455 </dependency>
456
457 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700458 <groupId>org.onosproject</groupId>
459 <artifactId>openflowj</artifactId>
460 <version>${openflowj.version}</version>
461 <scope>provided</scope>
462 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700463
464 <dependency>
465 <groupId>org.onosproject</groupId>
466 <artifactId>onos-yang-model</artifactId>
467 <version>${onos-yang-tools.version}</version>
468 </dependency>
469 <dependency>
470 <groupId>org.onosproject</groupId>
471 <artifactId>onos-yang-runtime</artifactId>
472 <version>${onos-yang-tools.version}</version>
473 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700474 <dependency>
475 <groupId>org.onosproject</groupId>
476 <artifactId>onos-yang-serializers-xml</artifactId>
477 <version>${onos-yang-tools.version}</version>
478 </dependency>
479 <dependency>
480 <groupId>org.onosproject</groupId>
481 <artifactId>onos-yang-serializers-json</artifactId>
482 <version>${onos-yang-tools.version}</version>
483 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700484 </dependencies>
485 </dependencyManagement>
486
487 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700488
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700489 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700490 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700491 <groupId>commons-configuration</groupId>
492 <artifactId>commons-configuration</artifactId>
493 </dependency>
494
495 <dependency>
496 <groupId>commons-logging</groupId>
497 <artifactId>commons-logging</artifactId>
498 </dependency>
499
500 <dependency>
501 <groupId>commons-collections</groupId>
502 <artifactId>commons-collections</artifactId>
503 </dependency>
504
505 <dependency>
506 <groupId>commons-lang</groupId>
507 <artifactId>commons-lang</artifactId>
508 </dependency>
509
510 <dependency>
511 <groupId>org.apache.commons</groupId>
512 <artifactId>commons-lang3</artifactId>
513 </dependency>
514
515 <dependency>
516 <groupId>commons-io</groupId>
517 <artifactId>commons-io</artifactId>
518 </dependency>
519
520 <dependency>
521 <groupId>commons-pool</groupId>
522 <artifactId>commons-pool</artifactId>
523 </dependency>
524
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700525<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700526 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700527 <groupId>org.objenesis</groupId>
528 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700529 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700530 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700531 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700532 <groupId>com.google.guava</groupId>
533 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700534 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700535
536<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700537 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700538 <groupId>io.netty</groupId>
539 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700540 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700541
542 <dependency>
543 <groupId>io.netty</groupId>
544 <artifactId>netty-buffer</artifactId>
545 </dependency>
546
547 <dependency>
548 <groupId>io.netty</groupId>
549 <artifactId>netty-common</artifactId>
550 </dependency>
551 -->
552
553 <dependency>
554 <groupId>com.eclipsesource.minimal-json</groupId>
555 <artifactId>minimal-json</artifactId>
556 </dependency>
557
558<!-- Fix buck? Kryo and transitive dependency.
559 <dependency>
560 <groupId>com.esotericsoftware</groupId>
561 <artifactId>kryo</artifactId>
562 </dependency>
563
564 <dependency>
565 <groupId>com.esotericsoftware</groupId>
566 <artifactId>reflectasm</artifactId>
567 </dependency>
568
569 <dependency>
570 <groupId>org.ow2.asm</groupId>
571 <artifactId>asm</artifactId>
572 </dependency>
573
574 <dependency>
575 <groupId>com.esotericsoftware</groupId>
576 <artifactId>minlog</artifactId>
577 </dependency>
578 -->
579<!-- Fix buck? everyone depending on metrics doesn't sound right.
580 <dependency>
581 <groupId>io.dropwizard.metrics</groupId>
582 <artifactId>metrics-core</artifactId>
583 </dependency>
584
585 <dependency>
586 <groupId>io.dropwizard.metrics</groupId>
587 <artifactId>metrics-json</artifactId>
588 </dependency>
589 -->
590
Thomas Vachuska43977572016-06-02 13:48:55 -0700591 <dependency>
592 <groupId>org.slf4j</groupId>
593 <artifactId>slf4j-api</artifactId>
594 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700595
596 <dependency>
597 <groupId>org.osgi</groupId>
598 <artifactId>org.osgi.core</artifactId>
599 </dependency>
600
601 <dependency>
602 <groupId>org.osgi</groupId>
603 <artifactId>org.osgi.compendium</artifactId>
604 </dependency>
605
606 <dependency>
607 <groupId>org.apache.felix</groupId>
608 <artifactId>org.apache.felix.scr.annotations</artifactId>
609 </dependency>
610
611 <dependency>
612 <groupId>org.apache.felix</groupId>
613 <artifactId>org.apache.felix.scr</artifactId>
614 </dependency>
615
616 <dependency>
617 <groupId>com.fasterxml.jackson.core</groupId>
618 <artifactId>jackson-annotations</artifactId>
619 </dependency>
620
621 <dependency>
622 <groupId>com.fasterxml.jackson.core</groupId>
623 <artifactId>jackson-core</artifactId>
624 </dependency>
625
626 <dependency>
627 <groupId>com.fasterxml.jackson.core</groupId>
628 <artifactId>jackson-databind</artifactId>
629 </dependency>
630
631 <dependency>
632 <groupId>org.apache.karaf.features</groupId>
633 <artifactId>org.apache.karaf.features.core</artifactId>
634 </dependency>
635
636 <dependency>
637 <groupId>org.apache.karaf.system</groupId>
638 <artifactId>org.apache.karaf.system.core</artifactId>
639 </dependency>
640
641 <!-- YANG stuff here? Fix buck?-->
642
643 <!-- TEST -->
644 <dependency>
645 <groupId>junit</groupId>
646 <artifactId>junit</artifactId>
647 <scope>test</scope>
648 </dependency>
649
650 <dependency>
651 <groupId>org.easymock</groupId>
652 <artifactId>easymock</artifactId>
653 <scope>test</scope>
654 </dependency>
655
656 <dependency>
657 <groupId>org.hamcrest</groupId>
658 <artifactId>hamcrest-core</artifactId>
659 <scope>test</scope>
660 </dependency>
661
662 <dependency>
663 <groupId>org.hamcrest</groupId>
664 <artifactId>hamcrest-library</artifactId>
665 <scope>test</scope>
666 </dependency>
667
668 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900669 <groupId>com.spotify</groupId>
670 <artifactId>hamcrest-optional</artifactId>
671 <scope>test</scope>
672 </dependency>
673
674 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700675 <groupId>com.google.guava</groupId>
676 <artifactId>guava-testlib</artifactId>
677 <scope>test</scope>
678 </dependency>
679
680 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700681 <dependency>
682 <groupId>org.slf4j</groupId>
683 <artifactId>slf4j-jdk14</artifactId>
684 </dependency>
685 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
686 Class not found: javax.annotation.Nullable
687 The following dependency alleviates this problem, but perhaps
688 it can be better located in the future. -->
689 <dependency>
690 <groupId>com.google.code.findbugs</groupId>
691 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700692 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000693
694 <dependency>
695 <groupId>io.grpc</groupId>
696 <artifactId>grpc-core</artifactId>
697 <version>${grpccore.version}</version>
698 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700699 </dependencies>
700
701 <build>
702 <pluginManagement>
703 <plugins>
704 <plugin>
705 <groupId>org.apache.maven.plugins</groupId>
706 <artifactId>maven-compiler-plugin</artifactId>
707 <!-- TODO: update once following issue is fixed. -->
708 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
709 <version>2.5.1</version>
710 <configuration>
711 <source>1.8</source>
712 <target>1.8</target>
713 </configuration>
714 </plugin>
715
716 <plugin>
717 <groupId>org.apache.maven.plugins</groupId>
718 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700719 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700720 <configuration>
721 <redirectTestOutputToFile>true</redirectTestOutputToFile>
722 <printSummary>true</printSummary>
723 <excludedGroups>org.onlab.junit.IntegrationTest
724 </excludedGroups>
725 <rerunFailingTestsCount>1</rerunFailingTestsCount>
726 </configuration>
727 </plugin>
728 <plugin>
729 <groupId>org.apache.maven.plugins</groupId>
730 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700731 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700732 <configuration>
733 <tags>
734 <tag>
735 <name>onos.rsModel</name>
736 <placement>m</placement>
737 <head>Json model for REST api:</head>
738 </tag>
739 </tags>
740 </configuration>
741 </plugin>
742 <plugin>
743 <groupId>org.apache.maven.plugins</groupId>
744 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700745 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700746 <configuration>
747 <skipIfEmpty>true</skipIfEmpty>
748 </configuration>
749 <executions>
750 <execution>
751 <id>default</id>
752 <goals>
753 <goal>test-jar</goal>
754 </goals>
755 </execution>
756 </executions>
757 </plugin>
758
759 <plugin>
760 <groupId>org.apache.maven.plugins</groupId>
761 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700762 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700763 </plugin>
764
765 <plugin>
766 <groupId>org.apache.felix</groupId>
767 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700768 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700769 <extensions>true</extensions>
770 <configuration>
771 <niceManifest>true</niceManifest>
772 </configuration>
773 </plugin>
774
775 <plugin>
776 <groupId>org.apache.maven.plugins</groupId>
777 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700778 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700779 </plugin>
780
781 <plugin>
782 <groupId>org.apache.felix</groupId>
783 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700784 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700785 <executions>
786 <execution>
787 <id>generate-scr-srcdescriptor</id>
788 <goals>
789 <goal>scr</goal>
790 </goals>
791 </execution>
792 </executions>
793 <configuration>
794 <supportedProjectTypes>
795 <supportedProjectType>bundle</supportedProjectType>
796 <supportedProjectType>war</supportedProjectType>
797 </supportedProjectTypes>
798 </configuration>
799 </plugin>
800 <plugin>
801 <groupId>org.codehaus.mojo</groupId>
802 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700803 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700804 <dependencies>
805 <dependency>
806 <groupId>org.onosproject</groupId>
807 <artifactId>onos-build-conf</artifactId>
808 <version>${onos-build-conf.version}</version>
809 </dependency>
810 </dependencies>
811 <configuration>
812 <effort>Max</effort>
813 <excludeFilterFile>onos/findbugs-suppressions.xml
814 </excludeFilterFile>
815 </configuration>
816 </plugin>
817
818 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
819 <plugin>
820 <groupId>org.onosproject</groupId>
821 <artifactId>onos-maven-plugin</artifactId>
822 <version>${onos-maven-plugin.version}</version>
823 <executions>
824 <execution>
825 <id>cfg</id>
826 <phase>generate-resources</phase>
827 <goals>
828 <goal>cfg</goal>
829 </goals>
830 </execution>
831 <execution>
832 <id>swagger</id>
833 <phase>generate-sources</phase>
834 <goals>
835 <goal>swagger</goal>
836 </goals>
837 </execution>
838 <execution>
839 <id>app</id>
840 <phase>package</phase>
841 <goals>
842 <goal>app</goal>
843 </goals>
844 </execution>
845 </executions>
846 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700847
848 <plugin>
849 <groupId>org.onosproject</groupId>
850 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
851 <version>${onos-yang-tools.version}</version>
852 <executions>
853 <execution>
854 <goals>
855 <goal>yang2java</goal>
856 </goals>
857 </execution>
858 </executions>
859 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700860 </plugins>
861 </pluginManagement>
862
863 <plugins>
864 <plugin>
865 <groupId>org.apache.maven.plugins</groupId>
866 <artifactId>maven-jar-plugin</artifactId>
867 </plugin>
868
869 <plugin>
870 <groupId>org.apache.maven.plugins</groupId>
871 <artifactId>maven-checkstyle-plugin</artifactId>
872 <version>2.17</version>
873 <dependencies>
874 <dependency>
875 <groupId>org.onosproject</groupId>
876 <artifactId>onos-build-conf</artifactId>
877 <version>${onos-build-conf.version}</version>
878 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700879 <dependency>
880 <groupId>com.puppycrawl.tools</groupId>
881 <artifactId>checkstyle</artifactId>
882 <version>6.19</version>
883 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700884 </dependencies>
885 <configuration>
886 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
887 <sourceDirectory>${project.build.sourceDirectory}
888 </sourceDirectory>
889 <testSourceDirectory>${project.build.testSourceDirectory}
890 </testSourceDirectory>
891 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700892 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700893 <suppressionsLocation>onos/suppressions.xml
894 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700895 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700896 <failsOnError>false</failsOnError>
897 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700898 <includeTestSourceDirectory>true</includeTestSourceDirectory>
899 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700900 </configuration>
901 <executions>
902 <execution>
903 <id>validate-checkstyle</id>
904 <phase>verify</phase>
905 <goals>
906 <goal>check</goal>
907 </goals>
908 </execution>
909 </executions>
910 </plugin>
911
912 <plugin>
913 <groupId>org.apache.maven.plugins</groupId>
914 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700915 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700916 <configuration>
917 <excludes>
918 </excludes>
919 <rulesets>
920 <ruleset>onos/pmd.xml</ruleset>
921 </rulesets>
922 </configuration>
923 <executions>
924 <execution>
925 <id>validate-pmd</id>
926 <phase>verify</phase>
927 <goals>
928 <!-- Uncomment this goal to make the build fail on pmd errors -->
929 <!--<goal>check</goal>-->
930 </goals>
931 </execution>
932 </executions>
933 </plugin>
934
935 <plugin>
936 <groupId>org.jacoco</groupId>
937 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700938 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700939 <executions>
940 <execution>
941 <id>default-prepare-agent</id>
942 <goals>
943 <goal>prepare-agent</goal>
944 </goals>
945 </execution>
946 <execution>
947 <id>default-report</id>
948 <phase>prepare-package</phase>
949 <goals>
950 <goal>report</goal>
951 </goals>
952 </execution>
953 </executions>
954 </plugin>
955 </plugins>
956 </build>
957
958 <reporting>
959 <plugins>
960 <plugin>
961 <groupId>org.apache.maven.plugins</groupId>
962 <artifactId>maven-checkstyle-plugin</artifactId>
963 <configuration>
964 <configLocation>onos/checkstyle.xml</configLocation>
965 </configuration>
966 </plugin>
967
968 <plugin>
969 <groupId>org.apache.maven.plugins</groupId>
970 <artifactId>maven-pmd-plugin</artifactId>
971 <configuration>
972 <excludes>
973 </excludes>
974 <rulesets>
975 <ruleset>onos/pmd.xml</ruleset>
976 </rulesets>
977 </configuration>
978 </plugin>
979 </plugins>
980 </reporting>
981</project>