blob: ca73632ab3d9643c306b9dee91f1469b1a3ca17a [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 User18511992018-06-15 16:30:38 +000032 <version>1.13.2-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>
ONOS Jenkins User18511992018-06-15 16:30:38 +000039 <onos-build-conf.version>1.13.2-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080040 <netty4.version>4.1.8.Final</netty4.version>
Ray Milkey0b7682f2018-04-12 13:26:38 -070041 <openflowj.version>3.2.1.onos</openflowj.version>
Ray Milkey94adce62018-04-30 10:36:41 -070042 <onos-maven-plugin.version>1.12</onos-maven-plugin.version>
Yuta HIGUCHI3331f7b2018-03-30 16:22:49 -070043 <onos-yang-tools.version>2.4.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 Li5d505f242018-02-24 01:45:31 +090046 <jersey.version>2.26</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070047 <jetty.version>9.2.21.v20170120</jetty.version>
Ray Milkey86ee5e82018-04-02 15:33:07 -070048 <jackson.version>2.9.5</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 HIGUCHI825401e2018-02-27 13:23:25 -0800177 <groupId>org.apache.commons</groupId>
178 <artifactId>commons-text</artifactId>
179 <version>1.2</version>
180 </dependency>
181
182 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700183 <groupId>io.dropwizard.metrics</groupId>
184 <artifactId>metrics-core</artifactId>
185 <version>3.2.2</version>
186 </dependency>
187
188 <dependency>
189 <groupId>io.dropwizard.metrics</groupId>
190 <artifactId>metrics-json</artifactId>
191 <version>3.2.2</version>
192 </dependency>
193
194 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700195 <groupId>org.easymock</groupId>
196 <artifactId>easymock</artifactId>
197 <version>3.4</version>
198 <scope>test</scope>
199 </dependency>
200
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700201 <dependency>
202 <groupId>org.apache.sshd</groupId>
203 <artifactId>sshd-core</artifactId>
204 <version>1.4.0</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.bouncycastle</groupId>
209 <artifactId>bcpkix-jdk15on</artifactId>
210 <version>${bouncycastle.version}</version>
211 </dependency>
212
213 <dependency>
214 <groupId>org.bouncycastle</groupId>
215 <artifactId>bcprov-jdk15on</artifactId>
216 <version>${bouncycastle.version}</version>
217 </dependency>
218
219
Thomas Vachuska43977572016-06-02 13:48:55 -0700220 <!-- Web related -->
221 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700222 <groupId>javax.servlet</groupId>
223 <artifactId>javax.servlet-api</artifactId>
224 <version>3.1.0</version>
225 <scope>test</scope>
226 </dependency>
Yuta HIGUCHIc2af9662017-12-08 10:34:01 -0800227
228 <dependency>
229 <groupId>javax.ws.rs</groupId>
230 <artifactId>javax.ws.rs-api</artifactId>
231 <version>2.1</version>
232 </dependency>
233
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700234 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700235 <groupId>org.glassfish.jersey.core</groupId>
236 <artifactId>jersey-client</artifactId>
237 <version>${jersey.version}</version>
238 </dependency>
fahadnaeemkhan02ffa712017-12-01 19:49:45 -0800239
240 <dependency>
241 <groupId>org.glassfish.jersey.security</groupId>
242 <artifactId>oauth2-client</artifactId>
243 <version>${jersey.version}</version>
244 </dependency>
245
Thomas Vachuska43977572016-06-02 13:48:55 -0700246 <dependency>
Jian Li979f6342018-02-27 21:26:12 +0900247 <groupId>org.glassfish.jersey.core</groupId>
248 <artifactId>jersey-common</artifactId>
249 <version>${jersey.version}</version>
250 </dependency>
251
252 <dependency>
253 <groupId>org.glassfish.jersey.inject</groupId>
254 <artifactId>jersey-hk2</artifactId>
255 <version>${jersey.version}</version>
256 </dependency>
257
258 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700259 <groupId>org.glassfish.jersey.containers</groupId>
260 <artifactId>jersey-container-servlet</artifactId>
261 <version>${jersey.version}</version>
262 <scope>provided</scope>
263 </dependency>
264 <dependency>
265 <groupId>org.glassfish.jersey.containers</groupId>
266 <artifactId>jersey-container-servlet-core</artifactId>
267 <version>${jersey.version}</version>
268 <scope>provided</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.glassfish.jersey.media</groupId>
272 <artifactId>jersey-media-multipart</artifactId>
273 <version>${jersey.version}</version>
274 <scope>provided</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.glassfish.jersey.test-framework</groupId>
278 <artifactId>jersey-test-framework-core</artifactId>
279 <version>${jersey.version}</version>
280 <scope>test</scope>
281 </dependency>
282 <dependency>
283 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
284 <artifactId>jersey-test-framework-provider-jetty</artifactId>
285 <version>${jersey.version}</version>
286 <scope>test</scope>
287 </dependency>
288 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700289 <groupId>org.eclipse.jetty</groupId>
290 <artifactId>jetty-server</artifactId>
291 <version>${jetty.version}</version>
292 <scope>test</scope>
293 </dependency>
294 <dependency>
295 <groupId>org.eclipse.jetty</groupId>
296 <artifactId>jetty-util</artifactId>
297 <version>${jetty.version}</version>
298 </dependency>
299 <dependency>
300 <groupId>org.eclipse.jetty</groupId>
301 <artifactId>jetty-io</artifactId>
302 <version>${jetty.version}</version>
303 </dependency>
304 <dependency>
305 <groupId>org.eclipse.jetty</groupId>
306 <artifactId>jetty-http</artifactId>
307 <version>${jetty.version}</version>
308 </dependency>
309 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700310 <groupId>com.fasterxml.jackson.core</groupId>
311 <artifactId>jackson-databind</artifactId>
312 <version>${jackson.version}</version>
313 <scope>provided</scope>
314 </dependency>
315 <dependency>
316 <groupId>com.fasterxml.jackson.core</groupId>
317 <artifactId>jackson-annotations</artifactId>
318 <version>${jackson.version}</version>
319 <scope>provided</scope>
320 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700321 <dependency>
322 <groupId>com.fasterxml.jackson.core</groupId>
323 <artifactId>jackson-core</artifactId>
324 <version>${jackson.version}</version>
325 <scope>provided</scope>
326 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700327
328 <!-- OSGi related -->
329 <dependency>
330 <groupId>org.osgi</groupId>
331 <artifactId>org.osgi.core</artifactId>
332 <version>${osgi.version}</version>
333 <scope>provided</scope>
334 </dependency>
335 <dependency>
336 <groupId>org.osgi</groupId>
337 <artifactId>org.osgi.compendium</artifactId>
338 <version>${osgi.version}</version>
339 <scope>provided</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.apache.felix</groupId>
343 <artifactId>org.apache.felix.scr.annotations</artifactId>
344 <version>1.9.12</version>
345 <scope>provided</scope>
346 </dependency>
347 <dependency>
348 <groupId>org.apache.felix</groupId>
349 <artifactId>org.apache.felix.scr</artifactId>
350 <version>1.8.2</version>
351 </dependency>
352
353 <dependency>
354 <groupId>org.apache.karaf.features</groupId>
355 <artifactId>org.apache.karaf.features.core</artifactId>
356 <version>${karaf.version}</version>
357 <scope>provided</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.apache.karaf.system</groupId>
361 <artifactId>org.apache.karaf.system.core</artifactId>
362 <version>${karaf.version}</version>
363 <scope>provided</scope>
364 </dependency>
365 <dependency>
366 <groupId>org.apache.karaf.shell</groupId>
367 <artifactId>org.apache.karaf.shell.console</artifactId>
368 <version>${karaf.version}</version>
369 <scope>provided</scope>
370 </dependency>
371
372 <dependency>
373 <groupId>org.livetribe.slp</groupId>
374 <artifactId>livetribe-slp</artifactId>
375 <version>2.2.1</version>
376 </dependency>
377
378 <dependency>
379 <groupId>com.eclipsesource.minimal-json</groupId>
380 <artifactId>minimal-json</artifactId>
381 <version>0.9.4</version>
382 </dependency>
383 <dependency>
384 <groupId>com.esotericsoftware</groupId>
385 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700386 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700387 </dependency>
388 <dependency>
389 <groupId>com.esotericsoftware</groupId>
390 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700391 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700392 </dependency>
393 <dependency>
394 <groupId>org.ow2.asm</groupId>
395 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700396 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700397 </dependency>
398 <dependency>
399 <groupId>com.esotericsoftware</groupId>
400 <artifactId>minlog</artifactId>
401 <version>1.3.0</version>
402 </dependency>
403 <dependency>
404 <groupId>org.objenesis</groupId>
405 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700406 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700407 </dependency>
408
409 <!-- Netty related; for now we require both 3.10.x and 4 -->
410 <dependency>
411 <groupId>io.netty</groupId>
412 <artifactId>netty</artifactId>
413 <version>3.10.5.Final</version>
414 </dependency>
415
416 <dependency>
417 <groupId>io.netty</groupId>
418 <artifactId>netty-common</artifactId>
419 <version>${netty4.version}</version>
420 </dependency>
421 <dependency>
422 <groupId>io.netty</groupId>
423 <artifactId>netty-buffer</artifactId>
424 <version>${netty4.version}</version>
425 </dependency>
426 <dependency>
427 <groupId>io.netty</groupId>
428 <artifactId>netty-transport</artifactId>
429 <version>${netty4.version}</version>
430 </dependency>
431 <dependency>
432 <groupId>io.netty</groupId>
433 <artifactId>netty-handler</artifactId>
434 <version>${netty4.version}</version>
435 </dependency>
436
437 <dependency>
438 <groupId>io.netty</groupId>
439 <artifactId>netty-codec</artifactId>
440 <version>${netty4.version}</version>
441 </dependency>
442
443 <dependency>
444 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700445 <artifactId>netty-transport-native-unix-common</artifactId>
446 <version>${netty4.version}</version>
447 </dependency>
448
449 <dependency>
450 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700451 <artifactId>netty-transport-native-epoll</artifactId>
452 <version>${netty4.version}</version>
453 <classifier>${os.detected.classifier}</classifier>
454 </dependency>
455
456 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800457 <groupId>io.netty</groupId>
458 <artifactId>netty-resolver</artifactId>
459 <version>${netty4.version}</version>
460 </dependency>
461
462 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700463 <groupId>com.google.code.findbugs</groupId>
464 <artifactId>jsr305</artifactId>
465 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700466 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700467 </dependency>
468
469 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700470 <groupId>com.google.errorprone</groupId>
471 <artifactId>error_prone_annotations</artifactId>
472 <version>2.0.11</version>
473 </dependency>
474
475 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700476 <groupId>org.onosproject</groupId>
477 <artifactId>openflowj</artifactId>
478 <version>${openflowj.version}</version>
479 <scope>provided</scope>
480 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700481
482 <dependency>
483 <groupId>org.onosproject</groupId>
484 <artifactId>onos-yang-model</artifactId>
485 <version>${onos-yang-tools.version}</version>
486 </dependency>
487 <dependency>
488 <groupId>org.onosproject</groupId>
489 <artifactId>onos-yang-runtime</artifactId>
490 <version>${onos-yang-tools.version}</version>
491 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700492 <dependency>
493 <groupId>org.onosproject</groupId>
494 <artifactId>onos-yang-serializers-xml</artifactId>
495 <version>${onos-yang-tools.version}</version>
496 </dependency>
497 <dependency>
498 <groupId>org.onosproject</groupId>
499 <artifactId>onos-yang-serializers-json</artifactId>
500 <version>${onos-yang-tools.version}</version>
501 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700502 </dependencies>
503 </dependencyManagement>
504
505 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700506
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700507 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700508 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700509 <groupId>commons-configuration</groupId>
510 <artifactId>commons-configuration</artifactId>
511 </dependency>
512
513 <dependency>
514 <groupId>commons-logging</groupId>
515 <artifactId>commons-logging</artifactId>
516 </dependency>
517
518 <dependency>
519 <groupId>commons-collections</groupId>
520 <artifactId>commons-collections</artifactId>
521 </dependency>
522
523 <dependency>
524 <groupId>commons-lang</groupId>
525 <artifactId>commons-lang</artifactId>
526 </dependency>
527
528 <dependency>
529 <groupId>org.apache.commons</groupId>
530 <artifactId>commons-lang3</artifactId>
531 </dependency>
532
533 <dependency>
534 <groupId>commons-io</groupId>
535 <artifactId>commons-io</artifactId>
536 </dependency>
537
538 <dependency>
539 <groupId>commons-pool</groupId>
540 <artifactId>commons-pool</artifactId>
541 </dependency>
542
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700543<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700544 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700545 <groupId>org.objenesis</groupId>
546 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700547 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700548 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700549 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700550 <groupId>com.google.guava</groupId>
551 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700552 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700553
554<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700555 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700556 <groupId>io.netty</groupId>
557 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700558 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700559
560 <dependency>
561 <groupId>io.netty</groupId>
562 <artifactId>netty-buffer</artifactId>
563 </dependency>
564
565 <dependency>
566 <groupId>io.netty</groupId>
567 <artifactId>netty-common</artifactId>
568 </dependency>
569 -->
570
571 <dependency>
572 <groupId>com.eclipsesource.minimal-json</groupId>
573 <artifactId>minimal-json</artifactId>
574 </dependency>
575
576<!-- Fix buck? Kryo and transitive dependency.
577 <dependency>
578 <groupId>com.esotericsoftware</groupId>
579 <artifactId>kryo</artifactId>
580 </dependency>
581
582 <dependency>
583 <groupId>com.esotericsoftware</groupId>
584 <artifactId>reflectasm</artifactId>
585 </dependency>
586
587 <dependency>
588 <groupId>org.ow2.asm</groupId>
589 <artifactId>asm</artifactId>
590 </dependency>
591
592 <dependency>
593 <groupId>com.esotericsoftware</groupId>
594 <artifactId>minlog</artifactId>
595 </dependency>
596 -->
597<!-- Fix buck? everyone depending on metrics doesn't sound right.
598 <dependency>
599 <groupId>io.dropwizard.metrics</groupId>
600 <artifactId>metrics-core</artifactId>
601 </dependency>
602
603 <dependency>
604 <groupId>io.dropwizard.metrics</groupId>
605 <artifactId>metrics-json</artifactId>
606 </dependency>
607 -->
608
Thomas Vachuska43977572016-06-02 13:48:55 -0700609 <dependency>
610 <groupId>org.slf4j</groupId>
611 <artifactId>slf4j-api</artifactId>
612 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700613
614 <dependency>
615 <groupId>org.osgi</groupId>
616 <artifactId>org.osgi.core</artifactId>
617 </dependency>
618
619 <dependency>
620 <groupId>org.osgi</groupId>
621 <artifactId>org.osgi.compendium</artifactId>
622 </dependency>
623
624 <dependency>
625 <groupId>org.apache.felix</groupId>
626 <artifactId>org.apache.felix.scr.annotations</artifactId>
627 </dependency>
628
629 <dependency>
630 <groupId>org.apache.felix</groupId>
631 <artifactId>org.apache.felix.scr</artifactId>
632 </dependency>
633
634 <dependency>
635 <groupId>com.fasterxml.jackson.core</groupId>
636 <artifactId>jackson-annotations</artifactId>
637 </dependency>
638
639 <dependency>
640 <groupId>com.fasterxml.jackson.core</groupId>
641 <artifactId>jackson-core</artifactId>
642 </dependency>
643
644 <dependency>
645 <groupId>com.fasterxml.jackson.core</groupId>
646 <artifactId>jackson-databind</artifactId>
647 </dependency>
648
649 <dependency>
650 <groupId>org.apache.karaf.features</groupId>
651 <artifactId>org.apache.karaf.features.core</artifactId>
652 </dependency>
653
654 <dependency>
655 <groupId>org.apache.karaf.system</groupId>
656 <artifactId>org.apache.karaf.system.core</artifactId>
657 </dependency>
658
659 <!-- YANG stuff here? Fix buck?-->
660
661 <!-- TEST -->
662 <dependency>
663 <groupId>junit</groupId>
664 <artifactId>junit</artifactId>
665 <scope>test</scope>
666 </dependency>
667
668 <dependency>
669 <groupId>org.easymock</groupId>
670 <artifactId>easymock</artifactId>
671 <scope>test</scope>
672 </dependency>
673
674 <dependency>
675 <groupId>org.hamcrest</groupId>
676 <artifactId>hamcrest-core</artifactId>
677 <scope>test</scope>
678 </dependency>
679
680 <dependency>
681 <groupId>org.hamcrest</groupId>
682 <artifactId>hamcrest-library</artifactId>
683 <scope>test</scope>
684 </dependency>
685
686 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900687 <groupId>com.spotify</groupId>
688 <artifactId>hamcrest-optional</artifactId>
689 <scope>test</scope>
690 </dependency>
691
692 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700693 <groupId>com.google.guava</groupId>
694 <artifactId>guava-testlib</artifactId>
695 <scope>test</scope>
696 </dependency>
697
698 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700699 <dependency>
700 <groupId>org.slf4j</groupId>
701 <artifactId>slf4j-jdk14</artifactId>
702 </dependency>
703 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
704 Class not found: javax.annotation.Nullable
705 The following dependency alleviates this problem, but perhaps
706 it can be better located in the future. -->
707 <dependency>
708 <groupId>com.google.code.findbugs</groupId>
709 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700710 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000711
712 <dependency>
713 <groupId>io.grpc</groupId>
714 <artifactId>grpc-core</artifactId>
715 <version>${grpccore.version}</version>
716 </dependency>
Yuta HIGUCHIbcc2ce92018-03-07 16:42:11 -0800717
Thomas Vachuska43977572016-06-02 13:48:55 -0700718 </dependencies>
719
720 <build>
721 <pluginManagement>
722 <plugins>
723 <plugin>
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800726 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700727 <configuration>
728 <source>1.8</source>
729 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800730 <compilerArgs>
731 <compilerArg>-Xpkginfo:always</compilerArg>
732 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700733 </configuration>
734 </plugin>
735
736 <plugin>
737 <groupId>org.apache.maven.plugins</groupId>
738 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800739 <version>2.20.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700740 <configuration>
741 <redirectTestOutputToFile>true</redirectTestOutputToFile>
742 <printSummary>true</printSummary>
743 <excludedGroups>org.onlab.junit.IntegrationTest
744 </excludedGroups>
745 <rerunFailingTestsCount>1</rerunFailingTestsCount>
746 </configuration>
747 </plugin>
748 <plugin>
749 <groupId>org.apache.maven.plugins</groupId>
750 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800751 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700752 <configuration>
753 <tags>
754 <tag>
755 <name>onos.rsModel</name>
756 <placement>m</placement>
757 <head>Json model for REST api:</head>
758 </tag>
759 </tags>
760 </configuration>
761 </plugin>
762 <plugin>
763 <groupId>org.apache.maven.plugins</groupId>
764 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700765 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700766 <configuration>
767 <skipIfEmpty>true</skipIfEmpty>
768 </configuration>
769 <executions>
770 <execution>
771 <id>default</id>
772 <goals>
773 <goal>test-jar</goal>
774 </goals>
775 </execution>
776 </executions>
777 </plugin>
778
779 <plugin>
780 <groupId>org.apache.maven.plugins</groupId>
781 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700782 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700783 </plugin>
784
785 <plugin>
786 <groupId>org.apache.felix</groupId>
787 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700788 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700789 <extensions>true</extensions>
790 <configuration>
791 <niceManifest>true</niceManifest>
792 </configuration>
793 </plugin>
794
795 <plugin>
796 <groupId>org.apache.maven.plugins</groupId>
797 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800798 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700799 </plugin>
800
801 <plugin>
802 <groupId>org.apache.felix</groupId>
803 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700804 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700805 <executions>
806 <execution>
807 <id>generate-scr-srcdescriptor</id>
808 <goals>
809 <goal>scr</goal>
810 </goals>
811 </execution>
812 </executions>
813 <configuration>
814 <supportedProjectTypes>
815 <supportedProjectType>bundle</supportedProjectType>
816 <supportedProjectType>war</supportedProjectType>
817 </supportedProjectTypes>
818 </configuration>
819 </plugin>
820 <plugin>
821 <groupId>org.codehaus.mojo</groupId>
822 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700823 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700824 <dependencies>
825 <dependency>
826 <groupId>org.onosproject</groupId>
827 <artifactId>onos-build-conf</artifactId>
828 <version>${onos-build-conf.version}</version>
829 </dependency>
830 </dependencies>
831 <configuration>
832 <effort>Max</effort>
833 <excludeFilterFile>onos/findbugs-suppressions.xml
834 </excludeFilterFile>
835 </configuration>
836 </plugin>
837
838 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
839 <plugin>
840 <groupId>org.onosproject</groupId>
841 <artifactId>onos-maven-plugin</artifactId>
842 <version>${onos-maven-plugin.version}</version>
843 <executions>
844 <execution>
845 <id>cfg</id>
846 <phase>generate-resources</phase>
847 <goals>
848 <goal>cfg</goal>
849 </goals>
850 </execution>
851 <execution>
852 <id>swagger</id>
853 <phase>generate-sources</phase>
854 <goals>
855 <goal>swagger</goal>
856 </goals>
857 </execution>
858 <execution>
859 <id>app</id>
860 <phase>package</phase>
861 <goals>
862 <goal>app</goal>
863 </goals>
864 </execution>
865 </executions>
866 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700867
868 <plugin>
869 <groupId>org.onosproject</groupId>
870 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
871 <version>${onos-yang-tools.version}</version>
872 <executions>
873 <execution>
874 <goals>
875 <goal>yang2java</goal>
876 </goals>
877 </execution>
878 </executions>
879 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800880
881 <plugin>
882 <groupId>org.apache.karaf.tooling</groupId>
883 <artifactId>karaf-maven-plugin</artifactId>
884 <version>${karaf.version}</version>
885 <extensions>true</extensions>
886 </plugin>
887
Thomas Vachuska43977572016-06-02 13:48:55 -0700888 </plugins>
889 </pluginManagement>
890
891 <plugins>
892 <plugin>
893 <groupId>org.apache.maven.plugins</groupId>
894 <artifactId>maven-jar-plugin</artifactId>
895 </plugin>
896
897 <plugin>
898 <groupId>org.apache.maven.plugins</groupId>
899 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800900 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700901 <dependencies>
902 <dependency>
903 <groupId>org.onosproject</groupId>
904 <artifactId>onos-build-conf</artifactId>
905 <version>${onos-build-conf.version}</version>
906 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700907 <dependency>
908 <groupId>com.puppycrawl.tools</groupId>
909 <artifactId>checkstyle</artifactId>
910 <version>6.19</version>
911 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700912 </dependencies>
913 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700914 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700915 <suppressionsLocation>onos/suppressions.xml
916 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700917 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700918 <failsOnError>false</failsOnError>
919 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700920 <includeTestSourceDirectory>true</includeTestSourceDirectory>
921 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700922 </configuration>
923 <executions>
924 <execution>
925 <id>validate-checkstyle</id>
926 <phase>verify</phase>
927 <goals>
928 <goal>check</goal>
929 </goals>
930 </execution>
931 </executions>
932 </plugin>
933
934 <plugin>
935 <groupId>org.apache.maven.plugins</groupId>
936 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700937 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700938 <configuration>
939 <excludes>
940 </excludes>
941 <rulesets>
942 <ruleset>onos/pmd.xml</ruleset>
943 </rulesets>
944 </configuration>
945 <executions>
946 <execution>
947 <id>validate-pmd</id>
948 <phase>verify</phase>
949 <goals>
950 <!-- Uncomment this goal to make the build fail on pmd errors -->
951 <!--<goal>check</goal>-->
952 </goals>
953 </execution>
954 </executions>
955 </plugin>
956
957 <plugin>
958 <groupId>org.jacoco</groupId>
959 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800960 <version>0.8.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700961 <executions>
962 <execution>
963 <id>default-prepare-agent</id>
964 <goals>
965 <goal>prepare-agent</goal>
966 </goals>
967 </execution>
968 <execution>
969 <id>default-report</id>
970 <phase>prepare-package</phase>
971 <goals>
972 <goal>report</goal>
973 </goals>
974 </execution>
975 </executions>
976 </plugin>
977 </plugins>
978 </build>
979
980 <reporting>
981 <plugins>
982 <plugin>
983 <groupId>org.apache.maven.plugins</groupId>
984 <artifactId>maven-checkstyle-plugin</artifactId>
985 <configuration>
986 <configLocation>onos/checkstyle.xml</configLocation>
987 </configuration>
988 </plugin>
989
990 <plugin>
991 <groupId>org.apache.maven.plugins</groupId>
992 <artifactId>maven-pmd-plugin</artifactId>
993 <configuration>
994 <excludes>
995 </excludes>
996 <rulesets>
997 <ruleset>onos/pmd.xml</ruleset>
998 </rulesets>
999 </configuration>
1000 </plugin>
1001 </plugins>
1002 </reporting>
1003</project>