blob: 8ae2c4d512e9e60ef72e43650adbc538e792aa44 [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>
Ray Milkeybca90492018-04-13 12:47:31 -070032 <version>1.14.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
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -070037 <prerequisites>
38 <maven>3.0.5</maven>
39 </prerequisites>
40
Thomas Vachuska43977572016-06-02 13:48:55 -070041 <properties>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHI161e4d32018-04-26 01:24:51 +000043 <onos-build-conf.version>1.14.0-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080044 <netty4.version>4.1.8.Final</netty4.version>
Ray Milkey0b7682f2018-04-12 13:26:38 -070045 <openflowj.version>3.2.1.onos</openflowj.version>
Ray Milkey0753ee72018-04-30 10:36:41 -070046 <onos-maven-plugin.version>1.12</onos-maven-plugin.version>
Yuta HIGUCHI57ba38e2018-05-15 15:30:07 -070047 <onos-yang-tools.version>2.4.7</onos-yang-tools.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070048 <osgi.version>5.0.0</osgi.version>
Jon Hallb84df5d2017-01-31 11:19:48 -080049 <karaf.version>3.0.8</karaf.version>
Jian Li5d505f242018-02-24 01:45:31 +090050 <jersey.version>2.26</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070051 <jetty.version>9.2.21.v20170120</jetty.version>
Ray Milkey86ee5e82018-04-02 15:33:07 -070052 <jackson.version>2.9.5</jackson.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070053 <slf4j.version>1.7.21</slf4j.version>
Yuta HIGUCHI16b6efd2017-05-23 11:28:38 -070054 <guava.version>22.0</guava.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070055 <commons.io.version>2.6</commons.io.version>
Yuta HIGUCHI9d596942018-05-23 14:09:05 -070056 <bouncycastle.version>1.59</bouncycastle.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070057 <!-- TODO argLine was originally added maven-surfire-plugin configuration
58 to fix locale errors for non-US developers. However, it breaks
59 SonarQube's test coverage, so moving here for now. -->
60 <argLine>-Duser.language=en -Duser.region=US</argLine>
Carmelo Casconeb1936bd2017-12-12 14:42:27 -080061 <grpccore.version>1.3.1</grpccore.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070062 </properties>
63
64 <dependencyManagement>
65 <dependencies>
66 <dependency>
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
69 <version>4.12</version>
70 <scope>test</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>org.hamcrest</groupId>
75 <artifactId>hamcrest-core</artifactId>
76 <version>1.3</version>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.hamcrest</groupId>
81 <artifactId>hamcrest-library</artifactId>
82 <version>1.3</version>
83 <scope>test</scope>
84 </dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +090085 <dependency>
86 <groupId>com.spotify</groupId>
87 <artifactId>hamcrest-optional</artifactId>
88 <version>1.1.0</version>
89 <scope>test</scope>
90 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -070091
92 <dependency>
93 <groupId>org.slf4j</groupId>
94 <artifactId>slf4j-api</artifactId>
95 <version>${slf4j.version}</version>
96 <scope>provided</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-core</artifactId>
102 <version>${slf4j.version}</version>
103 <scope>test</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-jdk14</artifactId>
109 <version>${slf4j.version}</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>com.google.guava</groupId>
115 <artifactId>guava</artifactId>
116 <version>${guava.version}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>com.google.guava</groupId>
121 <artifactId>guava-testlib</artifactId>
122 <version>${guava.version}</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>com.googlecode.concurrent-trees</groupId>
128 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700129 <version>2.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700130 </dependency>
131
132 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700133 <groupId>commons-collections</groupId>
134 <artifactId>commons-collections</artifactId>
135 <version>3.2.2</version>
136 </dependency>
137
138 <dependency>
139 <groupId>commons-configuration</groupId>
140 <artifactId>commons-configuration</artifactId>
141 <version>1.10</version>
142 </dependency>
143
144 <dependency>
145 <groupId>commons-io</groupId>
146 <artifactId>commons-io</artifactId>
147 <version>2.4</version>
148 </dependency>
149
150 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700151 <groupId>commons-lang</groupId>
152 <artifactId>commons-lang</artifactId>
153 <version>2.6</version>
154 </dependency>
155
156 <dependency>
157 <groupId>org.apache.commons</groupId>
158 <artifactId>commons-lang3</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700159 <version>3.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700160 </dependency>
161
162 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700163 <groupId>commons-logging</groupId>
164 <artifactId>commons-logging</artifactId>
165 <version>1.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700166 </dependency>
167
168 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700169 <groupId>org.apache.commons</groupId>
170 <artifactId>commons-math3</artifactId>
171 <version>3.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700172 </dependency>
173
174 <dependency>
175 <groupId>commons-pool</groupId>
176 <artifactId>commons-pool</artifactId>
177 <version>1.6</version>
178 </dependency>
179
180 <dependency>
Yuta HIGUCHI825401e2018-02-27 13:23:25 -0800181 <groupId>org.apache.commons</groupId>
182 <artifactId>commons-text</artifactId>
183 <version>1.2</version>
184 </dependency>
185
186 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700187 <groupId>io.dropwizard.metrics</groupId>
188 <artifactId>metrics-core</artifactId>
189 <version>3.2.2</version>
190 </dependency>
191
192 <dependency>
193 <groupId>io.dropwizard.metrics</groupId>
194 <artifactId>metrics-json</artifactId>
195 <version>3.2.2</version>
196 </dependency>
197
198 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700199 <groupId>org.easymock</groupId>
200 <artifactId>easymock</artifactId>
201 <version>3.4</version>
202 <scope>test</scope>
203 </dependency>
204
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700205 <dependency>
206 <groupId>org.apache.sshd</groupId>
207 <artifactId>sshd-core</artifactId>
208 <version>1.4.0</version>
209 </dependency>
210
211 <dependency>
212 <groupId>org.bouncycastle</groupId>
213 <artifactId>bcpkix-jdk15on</artifactId>
214 <version>${bouncycastle.version}</version>
215 </dependency>
216
217 <dependency>
218 <groupId>org.bouncycastle</groupId>
219 <artifactId>bcprov-jdk15on</artifactId>
220 <version>${bouncycastle.version}</version>
221 </dependency>
222
223
Thomas Vachuska43977572016-06-02 13:48:55 -0700224 <!-- Web related -->
225 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700226 <groupId>javax.servlet</groupId>
227 <artifactId>javax.servlet-api</artifactId>
228 <version>3.1.0</version>
229 <scope>test</scope>
230 </dependency>
Yuta HIGUCHIc2af9662017-12-08 10:34:01 -0800231
232 <dependency>
233 <groupId>javax.ws.rs</groupId>
234 <artifactId>javax.ws.rs-api</artifactId>
235 <version>2.1</version>
236 </dependency>
237
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700238 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700239 <groupId>org.glassfish.jersey.core</groupId>
240 <artifactId>jersey-client</artifactId>
241 <version>${jersey.version}</version>
242 </dependency>
fahadnaeemkhan02ffa712017-12-01 19:49:45 -0800243
244 <dependency>
245 <groupId>org.glassfish.jersey.security</groupId>
246 <artifactId>oauth2-client</artifactId>
247 <version>${jersey.version}</version>
248 </dependency>
249
Thomas Vachuska43977572016-06-02 13:48:55 -0700250 <dependency>
Jian Li979f6342018-02-27 21:26:12 +0900251 <groupId>org.glassfish.jersey.core</groupId>
252 <artifactId>jersey-common</artifactId>
253 <version>${jersey.version}</version>
254 </dependency>
255
256 <dependency>
257 <groupId>org.glassfish.jersey.inject</groupId>
258 <artifactId>jersey-hk2</artifactId>
259 <version>${jersey.version}</version>
260 </dependency>
261
262 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700263 <groupId>org.glassfish.jersey.containers</groupId>
264 <artifactId>jersey-container-servlet</artifactId>
265 <version>${jersey.version}</version>
266 <scope>provided</scope>
267 </dependency>
268 <dependency>
269 <groupId>org.glassfish.jersey.containers</groupId>
270 <artifactId>jersey-container-servlet-core</artifactId>
271 <version>${jersey.version}</version>
272 <scope>provided</scope>
273 </dependency>
274 <dependency>
275 <groupId>org.glassfish.jersey.media</groupId>
276 <artifactId>jersey-media-multipart</artifactId>
277 <version>${jersey.version}</version>
278 <scope>provided</scope>
279 </dependency>
280 <dependency>
281 <groupId>org.glassfish.jersey.test-framework</groupId>
282 <artifactId>jersey-test-framework-core</artifactId>
283 <version>${jersey.version}</version>
284 <scope>test</scope>
285 </dependency>
286 <dependency>
287 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
288 <artifactId>jersey-test-framework-provider-jetty</artifactId>
289 <version>${jersey.version}</version>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700293 <groupId>org.eclipse.jetty</groupId>
294 <artifactId>jetty-server</artifactId>
295 <version>${jetty.version}</version>
296 <scope>test</scope>
297 </dependency>
298 <dependency>
299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-util</artifactId>
301 <version>${jetty.version}</version>
302 </dependency>
303 <dependency>
304 <groupId>org.eclipse.jetty</groupId>
305 <artifactId>jetty-io</artifactId>
306 <version>${jetty.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.eclipse.jetty</groupId>
310 <artifactId>jetty-http</artifactId>
311 <version>${jetty.version}</version>
312 </dependency>
313 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700314 <groupId>com.fasterxml.jackson.core</groupId>
315 <artifactId>jackson-databind</artifactId>
316 <version>${jackson.version}</version>
317 <scope>provided</scope>
318 </dependency>
319 <dependency>
320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-annotations</artifactId>
322 <version>${jackson.version}</version>
323 <scope>provided</scope>
324 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700325 <dependency>
326 <groupId>com.fasterxml.jackson.core</groupId>
327 <artifactId>jackson-core</artifactId>
328 <version>${jackson.version}</version>
329 <scope>provided</scope>
330 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700331
332 <!-- OSGi related -->
333 <dependency>
334 <groupId>org.osgi</groupId>
335 <artifactId>org.osgi.core</artifactId>
336 <version>${osgi.version}</version>
337 <scope>provided</scope>
338 </dependency>
339 <dependency>
340 <groupId>org.osgi</groupId>
341 <artifactId>org.osgi.compendium</artifactId>
342 <version>${osgi.version}</version>
343 <scope>provided</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.apache.felix</groupId>
347 <artifactId>org.apache.felix.scr.annotations</artifactId>
348 <version>1.9.12</version>
349 <scope>provided</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.apache.felix</groupId>
353 <artifactId>org.apache.felix.scr</artifactId>
354 <version>1.8.2</version>
355 </dependency>
356
357 <dependency>
358 <groupId>org.apache.karaf.features</groupId>
359 <artifactId>org.apache.karaf.features.core</artifactId>
360 <version>${karaf.version}</version>
361 <scope>provided</scope>
362 </dependency>
363 <dependency>
364 <groupId>org.apache.karaf.system</groupId>
365 <artifactId>org.apache.karaf.system.core</artifactId>
366 <version>${karaf.version}</version>
367 <scope>provided</scope>
368 </dependency>
369 <dependency>
370 <groupId>org.apache.karaf.shell</groupId>
371 <artifactId>org.apache.karaf.shell.console</artifactId>
372 <version>${karaf.version}</version>
373 <scope>provided</scope>
374 </dependency>
375
376 <dependency>
377 <groupId>org.livetribe.slp</groupId>
378 <artifactId>livetribe-slp</artifactId>
379 <version>2.2.1</version>
380 </dependency>
381
382 <dependency>
383 <groupId>com.eclipsesource.minimal-json</groupId>
384 <artifactId>minimal-json</artifactId>
385 <version>0.9.4</version>
386 </dependency>
387 <dependency>
388 <groupId>com.esotericsoftware</groupId>
389 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700390 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700391 </dependency>
392 <dependency>
393 <groupId>com.esotericsoftware</groupId>
394 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700395 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700396 </dependency>
397 <dependency>
398 <groupId>org.ow2.asm</groupId>
399 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700400 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700401 </dependency>
402 <dependency>
403 <groupId>com.esotericsoftware</groupId>
404 <artifactId>minlog</artifactId>
405 <version>1.3.0</version>
406 </dependency>
407 <dependency>
408 <groupId>org.objenesis</groupId>
409 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700410 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700411 </dependency>
412
413 <!-- Netty related; for now we require both 3.10.x and 4 -->
414 <dependency>
415 <groupId>io.netty</groupId>
416 <artifactId>netty</artifactId>
417 <version>3.10.5.Final</version>
418 </dependency>
419
420 <dependency>
421 <groupId>io.netty</groupId>
422 <artifactId>netty-common</artifactId>
423 <version>${netty4.version}</version>
424 </dependency>
425 <dependency>
426 <groupId>io.netty</groupId>
427 <artifactId>netty-buffer</artifactId>
428 <version>${netty4.version}</version>
429 </dependency>
430 <dependency>
431 <groupId>io.netty</groupId>
432 <artifactId>netty-transport</artifactId>
433 <version>${netty4.version}</version>
434 </dependency>
435 <dependency>
436 <groupId>io.netty</groupId>
437 <artifactId>netty-handler</artifactId>
438 <version>${netty4.version}</version>
439 </dependency>
440
441 <dependency>
442 <groupId>io.netty</groupId>
443 <artifactId>netty-codec</artifactId>
444 <version>${netty4.version}</version>
445 </dependency>
446
447 <dependency>
448 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700449 <artifactId>netty-transport-native-unix-common</artifactId>
450 <version>${netty4.version}</version>
451 </dependency>
452
453 <dependency>
454 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700455 <artifactId>netty-transport-native-epoll</artifactId>
456 <version>${netty4.version}</version>
457 <classifier>${os.detected.classifier}</classifier>
458 </dependency>
459
460 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800461 <groupId>io.netty</groupId>
462 <artifactId>netty-resolver</artifactId>
463 <version>${netty4.version}</version>
464 </dependency>
465
466 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700467 <groupId>com.google.code.findbugs</groupId>
468 <artifactId>jsr305</artifactId>
469 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700470 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700471 </dependency>
472
473 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700474 <groupId>com.google.errorprone</groupId>
475 <artifactId>error_prone_annotations</artifactId>
476 <version>2.0.11</version>
477 </dependency>
478
479 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700480 <groupId>org.onosproject</groupId>
481 <artifactId>openflowj</artifactId>
482 <version>${openflowj.version}</version>
483 <scope>provided</scope>
484 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700485
486 <dependency>
487 <groupId>org.onosproject</groupId>
488 <artifactId>onos-yang-model</artifactId>
489 <version>${onos-yang-tools.version}</version>
490 </dependency>
491 <dependency>
492 <groupId>org.onosproject</groupId>
493 <artifactId>onos-yang-runtime</artifactId>
494 <version>${onos-yang-tools.version}</version>
495 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700496 <dependency>
497 <groupId>org.onosproject</groupId>
498 <artifactId>onos-yang-serializers-xml</artifactId>
499 <version>${onos-yang-tools.version}</version>
500 </dependency>
501 <dependency>
502 <groupId>org.onosproject</groupId>
503 <artifactId>onos-yang-serializers-json</artifactId>
504 <version>${onos-yang-tools.version}</version>
505 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700506 </dependencies>
507 </dependencyManagement>
508
509 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700510
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700511 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700512 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700513 <groupId>commons-configuration</groupId>
514 <artifactId>commons-configuration</artifactId>
515 </dependency>
516
517 <dependency>
518 <groupId>commons-logging</groupId>
519 <artifactId>commons-logging</artifactId>
520 </dependency>
521
522 <dependency>
523 <groupId>commons-collections</groupId>
524 <artifactId>commons-collections</artifactId>
525 </dependency>
526
527 <dependency>
528 <groupId>commons-lang</groupId>
529 <artifactId>commons-lang</artifactId>
530 </dependency>
531
532 <dependency>
533 <groupId>org.apache.commons</groupId>
534 <artifactId>commons-lang3</artifactId>
535 </dependency>
536
537 <dependency>
538 <groupId>commons-io</groupId>
539 <artifactId>commons-io</artifactId>
540 </dependency>
541
542 <dependency>
543 <groupId>commons-pool</groupId>
544 <artifactId>commons-pool</artifactId>
545 </dependency>
546
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700547<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700548 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700549 <groupId>org.objenesis</groupId>
550 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700551 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700552 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700553 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700554 <groupId>com.google.guava</groupId>
555 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700556 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700557
558<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700559 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700560 <groupId>io.netty</groupId>
561 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700562 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700563
564 <dependency>
565 <groupId>io.netty</groupId>
566 <artifactId>netty-buffer</artifactId>
567 </dependency>
568
569 <dependency>
570 <groupId>io.netty</groupId>
571 <artifactId>netty-common</artifactId>
572 </dependency>
573 -->
574
575 <dependency>
576 <groupId>com.eclipsesource.minimal-json</groupId>
577 <artifactId>minimal-json</artifactId>
578 </dependency>
579
580<!-- Fix buck? Kryo and transitive dependency.
581 <dependency>
582 <groupId>com.esotericsoftware</groupId>
583 <artifactId>kryo</artifactId>
584 </dependency>
585
586 <dependency>
587 <groupId>com.esotericsoftware</groupId>
588 <artifactId>reflectasm</artifactId>
589 </dependency>
590
591 <dependency>
592 <groupId>org.ow2.asm</groupId>
593 <artifactId>asm</artifactId>
594 </dependency>
595
596 <dependency>
597 <groupId>com.esotericsoftware</groupId>
598 <artifactId>minlog</artifactId>
599 </dependency>
600 -->
601<!-- Fix buck? everyone depending on metrics doesn't sound right.
602 <dependency>
603 <groupId>io.dropwizard.metrics</groupId>
604 <artifactId>metrics-core</artifactId>
605 </dependency>
606
607 <dependency>
608 <groupId>io.dropwizard.metrics</groupId>
609 <artifactId>metrics-json</artifactId>
610 </dependency>
611 -->
612
Thomas Vachuska43977572016-06-02 13:48:55 -0700613 <dependency>
614 <groupId>org.slf4j</groupId>
615 <artifactId>slf4j-api</artifactId>
616 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700617
618 <dependency>
619 <groupId>org.osgi</groupId>
620 <artifactId>org.osgi.core</artifactId>
621 </dependency>
622
623 <dependency>
624 <groupId>org.osgi</groupId>
625 <artifactId>org.osgi.compendium</artifactId>
626 </dependency>
627
628 <dependency>
629 <groupId>org.apache.felix</groupId>
630 <artifactId>org.apache.felix.scr.annotations</artifactId>
631 </dependency>
632
633 <dependency>
634 <groupId>org.apache.felix</groupId>
635 <artifactId>org.apache.felix.scr</artifactId>
636 </dependency>
637
638 <dependency>
639 <groupId>com.fasterxml.jackson.core</groupId>
640 <artifactId>jackson-annotations</artifactId>
641 </dependency>
642
643 <dependency>
644 <groupId>com.fasterxml.jackson.core</groupId>
645 <artifactId>jackson-core</artifactId>
646 </dependency>
647
648 <dependency>
649 <groupId>com.fasterxml.jackson.core</groupId>
650 <artifactId>jackson-databind</artifactId>
651 </dependency>
652
653 <dependency>
654 <groupId>org.apache.karaf.features</groupId>
655 <artifactId>org.apache.karaf.features.core</artifactId>
656 </dependency>
657
658 <dependency>
659 <groupId>org.apache.karaf.system</groupId>
660 <artifactId>org.apache.karaf.system.core</artifactId>
661 </dependency>
662
663 <!-- YANG stuff here? Fix buck?-->
664
665 <!-- TEST -->
666 <dependency>
667 <groupId>junit</groupId>
668 <artifactId>junit</artifactId>
669 <scope>test</scope>
670 </dependency>
671
672 <dependency>
673 <groupId>org.easymock</groupId>
674 <artifactId>easymock</artifactId>
675 <scope>test</scope>
676 </dependency>
677
678 <dependency>
679 <groupId>org.hamcrest</groupId>
680 <artifactId>hamcrest-core</artifactId>
681 <scope>test</scope>
682 </dependency>
683
684 <dependency>
685 <groupId>org.hamcrest</groupId>
686 <artifactId>hamcrest-library</artifactId>
687 <scope>test</scope>
688 </dependency>
689
690 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900691 <groupId>com.spotify</groupId>
692 <artifactId>hamcrest-optional</artifactId>
693 <scope>test</scope>
694 </dependency>
695
696 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700697 <groupId>com.google.guava</groupId>
698 <artifactId>guava-testlib</artifactId>
699 <scope>test</scope>
700 </dependency>
701
702 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700703 <dependency>
704 <groupId>org.slf4j</groupId>
705 <artifactId>slf4j-jdk14</artifactId>
706 </dependency>
707 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
708 Class not found: javax.annotation.Nullable
709 The following dependency alleviates this problem, but perhaps
710 it can be better located in the future. -->
711 <dependency>
712 <groupId>com.google.code.findbugs</groupId>
713 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700714 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000715
716 <dependency>
717 <groupId>io.grpc</groupId>
718 <artifactId>grpc-core</artifactId>
719 <version>${grpccore.version}</version>
720 </dependency>
Yuta HIGUCHIbcc2ce92018-03-07 16:42:11 -0800721
Thomas Vachuska43977572016-06-02 13:48:55 -0700722 </dependencies>
723
724 <build>
725 <pluginManagement>
726 <plugins>
727 <plugin>
728 <groupId>org.apache.maven.plugins</groupId>
729 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800730 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700731 <configuration>
732 <source>1.8</source>
733 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800734 <compilerArgs>
735 <compilerArg>-Xpkginfo:always</compilerArg>
736 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700737 </configuration>
738 </plugin>
739
740 <plugin>
741 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700742 <artifactId>maven-clean-plugin</artifactId>
743 <version>3.1.0</version>
744 </plugin>
745
746 <plugin>
747 <groupId>org.apache.maven.plugins</groupId>
748 <artifactId>maven-deploy-plugin</artifactId>
749 <version>2.8.2</version>
750 </plugin>
751
752 <plugin>
753 <groupId>org.apache.maven.plugins</groupId>
754 <artifactId>maven-install-plugin</artifactId>
755 <version>2.5.2</version>
756 </plugin>
757
758 <plugin>
759 <groupId>org.apache.maven.plugins</groupId>
760 <artifactId>maven-site-plugin</artifactId>
761 <version>3.7.1</version>
762 </plugin>
763
764 <plugin>
765 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700766 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700767 <version>2.21.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700768 <configuration>
769 <redirectTestOutputToFile>true</redirectTestOutputToFile>
770 <printSummary>true</printSummary>
771 <excludedGroups>org.onlab.junit.IntegrationTest
772 </excludedGroups>
773 <rerunFailingTestsCount>1</rerunFailingTestsCount>
774 </configuration>
775 </plugin>
776 <plugin>
777 <groupId>org.apache.maven.plugins</groupId>
778 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800779 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700780 <configuration>
781 <tags>
782 <tag>
783 <name>onos.rsModel</name>
784 <placement>m</placement>
785 <head>Json model for REST api:</head>
786 </tag>
787 </tags>
788 </configuration>
789 </plugin>
790 <plugin>
791 <groupId>org.apache.maven.plugins</groupId>
792 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700793 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700794 <configuration>
795 <skipIfEmpty>true</skipIfEmpty>
796 </configuration>
797 <executions>
798 <execution>
799 <id>default</id>
800 <goals>
801 <goal>test-jar</goal>
802 </goals>
803 </execution>
804 </executions>
805 </plugin>
806
807 <plugin>
808 <groupId>org.apache.maven.plugins</groupId>
809 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700810 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700811 </plugin>
812
813 <plugin>
814 <groupId>org.apache.felix</groupId>
815 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700816 <version>3.5.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700817 <extensions>true</extensions>
818 <configuration>
819 <niceManifest>true</niceManifest>
820 </configuration>
821 </plugin>
822
823 <plugin>
824 <groupId>org.apache.maven.plugins</groupId>
825 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700826 <version>3.1.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700827 </plugin>
828
829 <plugin>
830 <groupId>org.apache.felix</groupId>
831 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700832 <version>1.26.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700833 <executions>
834 <execution>
835 <id>generate-scr-srcdescriptor</id>
836 <goals>
837 <goal>scr</goal>
838 </goals>
839 </execution>
840 </executions>
841 <configuration>
842 <supportedProjectTypes>
843 <supportedProjectType>bundle</supportedProjectType>
844 <supportedProjectType>war</supportedProjectType>
845 </supportedProjectTypes>
846 </configuration>
847 </plugin>
848 <plugin>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700849 <groupId>com.github.spotbugs</groupId>
850 <artifactId>spotbugs-maven-plugin</artifactId>
851 <version>3.1.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700852 <dependencies>
853 <dependency>
854 <groupId>org.onosproject</groupId>
855 <artifactId>onos-build-conf</artifactId>
856 <version>${onos-build-conf.version}</version>
857 </dependency>
858 </dependencies>
859 <configuration>
860 <effort>Max</effort>
861 <excludeFilterFile>onos/findbugs-suppressions.xml
862 </excludeFilterFile>
863 </configuration>
864 </plugin>
865
866 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
867 <plugin>
868 <groupId>org.onosproject</groupId>
869 <artifactId>onos-maven-plugin</artifactId>
870 <version>${onos-maven-plugin.version}</version>
871 <executions>
872 <execution>
873 <id>cfg</id>
874 <phase>generate-resources</phase>
875 <goals>
876 <goal>cfg</goal>
877 </goals>
878 </execution>
879 <execution>
880 <id>swagger</id>
881 <phase>generate-sources</phase>
882 <goals>
883 <goal>swagger</goal>
884 </goals>
885 </execution>
886 <execution>
887 <id>app</id>
888 <phase>package</phase>
889 <goals>
890 <goal>app</goal>
891 </goals>
892 </execution>
893 </executions>
894 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700895
896 <plugin>
897 <groupId>org.onosproject</groupId>
898 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
899 <version>${onos-yang-tools.version}</version>
900 <executions>
901 <execution>
902 <goals>
903 <goal>yang2java</goal>
904 </goals>
905 </execution>
906 </executions>
907 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800908
909 <plugin>
910 <groupId>org.apache.karaf.tooling</groupId>
911 <artifactId>karaf-maven-plugin</artifactId>
912 <version>${karaf.version}</version>
913 <extensions>true</extensions>
914 </plugin>
915
Thomas Vachuska43977572016-06-02 13:48:55 -0700916 </plugins>
917 </pluginManagement>
918
919 <plugins>
920 <plugin>
921 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700922 <artifactId>maven-enforcer-plugin</artifactId>
923 <version>3.0.0-M1</version>
924 <executions>
925 <execution>
926 <id>enforce-maven</id>
927 <goals>
928 <goal>enforce</goal>
929 </goals>
930 <configuration>
931 <rules>
932 <requireMavenVersion>
933 <version>3.0.5</version>
934 </requireMavenVersion>
935 </rules>
936 </configuration>
937 </execution>
938 </executions>
939 </plugin>
940
941 <plugin>
942 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700943 <artifactId>maven-jar-plugin</artifactId>
944 </plugin>
945
946 <plugin>
947 <groupId>org.apache.maven.plugins</groupId>
948 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800949 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700950 <dependencies>
951 <dependency>
952 <groupId>org.onosproject</groupId>
953 <artifactId>onos-build-conf</artifactId>
954 <version>${onos-build-conf.version}</version>
955 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700956 <dependency>
957 <groupId>com.puppycrawl.tools</groupId>
958 <artifactId>checkstyle</artifactId>
Yuta HIGUCHIe7e71a82018-05-18 16:36:43 -0700959 <version>8.10</version>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700960 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700961 </dependencies>
962 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700963 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700964 <suppressionsLocation>onos/suppressions.xml
965 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700966 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700967 <failsOnError>false</failsOnError>
968 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700969 <includeTestSourceDirectory>true</includeTestSourceDirectory>
970 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700971 </configuration>
972 <executions>
973 <execution>
974 <id>validate-checkstyle</id>
975 <phase>verify</phase>
976 <goals>
977 <goal>check</goal>
978 </goals>
979 </execution>
980 </executions>
981 </plugin>
982
983 <plugin>
984 <groupId>org.apache.maven.plugins</groupId>
985 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700986 <version>3.9.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700987 <configuration>
988 <excludes>
989 </excludes>
990 <rulesets>
991 <ruleset>onos/pmd.xml</ruleset>
992 </rulesets>
993 </configuration>
994 <executions>
995 <execution>
996 <id>validate-pmd</id>
997 <phase>verify</phase>
998 <goals>
999 <!-- Uncomment this goal to make the build fail on pmd errors -->
1000 <!--<goal>check</goal>-->
1001 </goals>
1002 </execution>
1003 </executions>
1004 </plugin>
1005
1006 <plugin>
1007 <groupId>org.jacoco</groupId>
1008 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -07001009 <version>0.8.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -07001010 <executions>
1011 <execution>
1012 <id>default-prepare-agent</id>
1013 <goals>
1014 <goal>prepare-agent</goal>
1015 </goals>
1016 </execution>
1017 <execution>
1018 <id>default-report</id>
1019 <phase>prepare-package</phase>
1020 <goals>
1021 <goal>report</goal>
1022 </goals>
1023 </execution>
1024 </executions>
1025 </plugin>
1026 </plugins>
1027 </build>
1028
1029 <reporting>
1030 <plugins>
1031 <plugin>
1032 <groupId>org.apache.maven.plugins</groupId>
1033 <artifactId>maven-checkstyle-plugin</artifactId>
1034 <configuration>
1035 <configLocation>onos/checkstyle.xml</configLocation>
1036 </configuration>
1037 </plugin>
1038
1039 <plugin>
1040 <groupId>org.apache.maven.plugins</groupId>
1041 <artifactId>maven-pmd-plugin</artifactId>
1042 <configuration>
1043 <excludes>
1044 </excludes>
1045 <rulesets>
1046 <ruleset>onos/pmd.xml</ruleset>
1047 </rulesets>
1048 </configuration>
1049 </plugin>
1050 </plugins>
1051 </reporting>
1052</project>