blob: 01ac45b753c5819e97520ce0a561256a1281e62a [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 User45d340c2018-01-09 01:56:13 +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>
Ray Milkey084245f2018-02-02 13:16:31 -080042 <onos-maven-plugin.version>1.11</onos-maven-plugin.version>
Ray Milkey5193cb72018-02-09 11:21:32 -080043 <onos-yang-tools.version>2.4</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>
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>
Jian Li979f6342018-02-27 21:26:12 +0900241 <groupId>org.glassfish.jersey.core</groupId>
242 <artifactId>jersey-common</artifactId>
243 <version>${jersey.version}</version>
244 </dependency>
245
246 <dependency>
247 <groupId>org.glassfish.jersey.inject</groupId>
248 <artifactId>jersey-hk2</artifactId>
249 <version>${jersey.version}</version>
250 </dependency>
251
252 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700253 <groupId>org.glassfish.jersey.containers</groupId>
254 <artifactId>jersey-container-servlet</artifactId>
255 <version>${jersey.version}</version>
256 <scope>provided</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.glassfish.jersey.containers</groupId>
260 <artifactId>jersey-container-servlet-core</artifactId>
261 <version>${jersey.version}</version>
262 <scope>provided</scope>
263 </dependency>
264 <dependency>
265 <groupId>org.glassfish.jersey.media</groupId>
266 <artifactId>jersey-media-multipart</artifactId>
267 <version>${jersey.version}</version>
268 <scope>provided</scope>
269 </dependency>
270 <dependency>
271 <groupId>org.glassfish.jersey.test-framework</groupId>
272 <artifactId>jersey-test-framework-core</artifactId>
273 <version>${jersey.version}</version>
274 <scope>test</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
278 <artifactId>jersey-test-framework-provider-jetty</artifactId>
279 <version>${jersey.version}</version>
280 <scope>test</scope>
281 </dependency>
282 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700283 <groupId>org.eclipse.jetty</groupId>
284 <artifactId>jetty-server</artifactId>
285 <version>${jetty.version}</version>
286 <scope>test</scope>
287 </dependency>
288 <dependency>
289 <groupId>org.eclipse.jetty</groupId>
290 <artifactId>jetty-util</artifactId>
291 <version>${jetty.version}</version>
292 </dependency>
293 <dependency>
294 <groupId>org.eclipse.jetty</groupId>
295 <artifactId>jetty-io</artifactId>
296 <version>${jetty.version}</version>
297 </dependency>
298 <dependency>
299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-http</artifactId>
301 <version>${jetty.version}</version>
302 </dependency>
303 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700304 <groupId>com.fasterxml.jackson.core</groupId>
305 <artifactId>jackson-databind</artifactId>
306 <version>${jackson.version}</version>
307 <scope>provided</scope>
308 </dependency>
309 <dependency>
310 <groupId>com.fasterxml.jackson.core</groupId>
311 <artifactId>jackson-annotations</artifactId>
312 <version>${jackson.version}</version>
313 <scope>provided</scope>
314 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700315 <dependency>
316 <groupId>com.fasterxml.jackson.core</groupId>
317 <artifactId>jackson-core</artifactId>
318 <version>${jackson.version}</version>
319 <scope>provided</scope>
320 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700321
322 <!-- OSGi related -->
323 <dependency>
324 <groupId>org.osgi</groupId>
325 <artifactId>org.osgi.core</artifactId>
326 <version>${osgi.version}</version>
327 <scope>provided</scope>
328 </dependency>
329 <dependency>
330 <groupId>org.osgi</groupId>
331 <artifactId>org.osgi.compendium</artifactId>
332 <version>${osgi.version}</version>
333 <scope>provided</scope>
334 </dependency>
335 <dependency>
336 <groupId>org.apache.felix</groupId>
337 <artifactId>org.apache.felix.scr.annotations</artifactId>
338 <version>1.9.12</version>
339 <scope>provided</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.apache.felix</groupId>
343 <artifactId>org.apache.felix.scr</artifactId>
344 <version>1.8.2</version>
345 </dependency>
346
347 <dependency>
348 <groupId>org.apache.karaf.features</groupId>
349 <artifactId>org.apache.karaf.features.core</artifactId>
350 <version>${karaf.version}</version>
351 <scope>provided</scope>
352 </dependency>
353 <dependency>
354 <groupId>org.apache.karaf.system</groupId>
355 <artifactId>org.apache.karaf.system.core</artifactId>
356 <version>${karaf.version}</version>
357 <scope>provided</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.apache.karaf.shell</groupId>
361 <artifactId>org.apache.karaf.shell.console</artifactId>
362 <version>${karaf.version}</version>
363 <scope>provided</scope>
364 </dependency>
365
366 <dependency>
367 <groupId>org.livetribe.slp</groupId>
368 <artifactId>livetribe-slp</artifactId>
369 <version>2.2.1</version>
370 </dependency>
371
372 <dependency>
373 <groupId>com.eclipsesource.minimal-json</groupId>
374 <artifactId>minimal-json</artifactId>
375 <version>0.9.4</version>
376 </dependency>
377 <dependency>
378 <groupId>com.esotericsoftware</groupId>
379 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700380 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700381 </dependency>
382 <dependency>
383 <groupId>com.esotericsoftware</groupId>
384 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700385 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700386 </dependency>
387 <dependency>
388 <groupId>org.ow2.asm</groupId>
389 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700390 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700391 </dependency>
392 <dependency>
393 <groupId>com.esotericsoftware</groupId>
394 <artifactId>minlog</artifactId>
395 <version>1.3.0</version>
396 </dependency>
397 <dependency>
398 <groupId>org.objenesis</groupId>
399 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700400 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700401 </dependency>
402
403 <!-- Netty related; for now we require both 3.10.x and 4 -->
404 <dependency>
405 <groupId>io.netty</groupId>
406 <artifactId>netty</artifactId>
407 <version>3.10.5.Final</version>
408 </dependency>
409
410 <dependency>
411 <groupId>io.netty</groupId>
412 <artifactId>netty-common</artifactId>
413 <version>${netty4.version}</version>
414 </dependency>
415 <dependency>
416 <groupId>io.netty</groupId>
417 <artifactId>netty-buffer</artifactId>
418 <version>${netty4.version}</version>
419 </dependency>
420 <dependency>
421 <groupId>io.netty</groupId>
422 <artifactId>netty-transport</artifactId>
423 <version>${netty4.version}</version>
424 </dependency>
425 <dependency>
426 <groupId>io.netty</groupId>
427 <artifactId>netty-handler</artifactId>
428 <version>${netty4.version}</version>
429 </dependency>
430
431 <dependency>
432 <groupId>io.netty</groupId>
433 <artifactId>netty-codec</artifactId>
434 <version>${netty4.version}</version>
435 </dependency>
436
437 <dependency>
438 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700439 <artifactId>netty-transport-native-unix-common</artifactId>
440 <version>${netty4.version}</version>
441 </dependency>
442
443 <dependency>
444 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700445 <artifactId>netty-transport-native-epoll</artifactId>
446 <version>${netty4.version}</version>
447 <classifier>${os.detected.classifier}</classifier>
448 </dependency>
449
450 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800451 <groupId>io.netty</groupId>
452 <artifactId>netty-resolver</artifactId>
453 <version>${netty4.version}</version>
454 </dependency>
455
456 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700457 <groupId>com.google.code.findbugs</groupId>
458 <artifactId>jsr305</artifactId>
459 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700460 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700461 </dependency>
462
463 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700464 <groupId>com.google.errorprone</groupId>
465 <artifactId>error_prone_annotations</artifactId>
466 <version>2.0.11</version>
467 </dependency>
468
469 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700470 <groupId>org.onosproject</groupId>
471 <artifactId>openflowj</artifactId>
472 <version>${openflowj.version}</version>
473 <scope>provided</scope>
474 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700475
476 <dependency>
477 <groupId>org.onosproject</groupId>
478 <artifactId>onos-yang-model</artifactId>
479 <version>${onos-yang-tools.version}</version>
480 </dependency>
481 <dependency>
482 <groupId>org.onosproject</groupId>
483 <artifactId>onos-yang-runtime</artifactId>
484 <version>${onos-yang-tools.version}</version>
485 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700486 <dependency>
487 <groupId>org.onosproject</groupId>
488 <artifactId>onos-yang-serializers-xml</artifactId>
489 <version>${onos-yang-tools.version}</version>
490 </dependency>
491 <dependency>
492 <groupId>org.onosproject</groupId>
493 <artifactId>onos-yang-serializers-json</artifactId>
494 <version>${onos-yang-tools.version}</version>
495 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700496 </dependencies>
497 </dependencyManagement>
498
499 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700500
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700501 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700502 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700503 <groupId>commons-configuration</groupId>
504 <artifactId>commons-configuration</artifactId>
505 </dependency>
506
507 <dependency>
508 <groupId>commons-logging</groupId>
509 <artifactId>commons-logging</artifactId>
510 </dependency>
511
512 <dependency>
513 <groupId>commons-collections</groupId>
514 <artifactId>commons-collections</artifactId>
515 </dependency>
516
517 <dependency>
518 <groupId>commons-lang</groupId>
519 <artifactId>commons-lang</artifactId>
520 </dependency>
521
522 <dependency>
523 <groupId>org.apache.commons</groupId>
524 <artifactId>commons-lang3</artifactId>
525 </dependency>
526
527 <dependency>
528 <groupId>commons-io</groupId>
529 <artifactId>commons-io</artifactId>
530 </dependency>
531
532 <dependency>
533 <groupId>commons-pool</groupId>
534 <artifactId>commons-pool</artifactId>
535 </dependency>
536
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700537<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700538 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700539 <groupId>org.objenesis</groupId>
540 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700541 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700542 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700543 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700544 <groupId>com.google.guava</groupId>
545 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700546 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700547
548<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700549 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700550 <groupId>io.netty</groupId>
551 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700552 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700553
554 <dependency>
555 <groupId>io.netty</groupId>
556 <artifactId>netty-buffer</artifactId>
557 </dependency>
558
559 <dependency>
560 <groupId>io.netty</groupId>
561 <artifactId>netty-common</artifactId>
562 </dependency>
563 -->
564
565 <dependency>
566 <groupId>com.eclipsesource.minimal-json</groupId>
567 <artifactId>minimal-json</artifactId>
568 </dependency>
569
570<!-- Fix buck? Kryo and transitive dependency.
571 <dependency>
572 <groupId>com.esotericsoftware</groupId>
573 <artifactId>kryo</artifactId>
574 </dependency>
575
576 <dependency>
577 <groupId>com.esotericsoftware</groupId>
578 <artifactId>reflectasm</artifactId>
579 </dependency>
580
581 <dependency>
582 <groupId>org.ow2.asm</groupId>
583 <artifactId>asm</artifactId>
584 </dependency>
585
586 <dependency>
587 <groupId>com.esotericsoftware</groupId>
588 <artifactId>minlog</artifactId>
589 </dependency>
590 -->
591<!-- Fix buck? everyone depending on metrics doesn't sound right.
592 <dependency>
593 <groupId>io.dropwizard.metrics</groupId>
594 <artifactId>metrics-core</artifactId>
595 </dependency>
596
597 <dependency>
598 <groupId>io.dropwizard.metrics</groupId>
599 <artifactId>metrics-json</artifactId>
600 </dependency>
601 -->
602
Thomas Vachuska43977572016-06-02 13:48:55 -0700603 <dependency>
604 <groupId>org.slf4j</groupId>
605 <artifactId>slf4j-api</artifactId>
606 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700607
608 <dependency>
609 <groupId>org.osgi</groupId>
610 <artifactId>org.osgi.core</artifactId>
611 </dependency>
612
613 <dependency>
614 <groupId>org.osgi</groupId>
615 <artifactId>org.osgi.compendium</artifactId>
616 </dependency>
617
618 <dependency>
619 <groupId>org.apache.felix</groupId>
620 <artifactId>org.apache.felix.scr.annotations</artifactId>
621 </dependency>
622
623 <dependency>
624 <groupId>org.apache.felix</groupId>
625 <artifactId>org.apache.felix.scr</artifactId>
626 </dependency>
627
628 <dependency>
629 <groupId>com.fasterxml.jackson.core</groupId>
630 <artifactId>jackson-annotations</artifactId>
631 </dependency>
632
633 <dependency>
634 <groupId>com.fasterxml.jackson.core</groupId>
635 <artifactId>jackson-core</artifactId>
636 </dependency>
637
638 <dependency>
639 <groupId>com.fasterxml.jackson.core</groupId>
640 <artifactId>jackson-databind</artifactId>
641 </dependency>
642
643 <dependency>
644 <groupId>org.apache.karaf.features</groupId>
645 <artifactId>org.apache.karaf.features.core</artifactId>
646 </dependency>
647
648 <dependency>
649 <groupId>org.apache.karaf.system</groupId>
650 <artifactId>org.apache.karaf.system.core</artifactId>
651 </dependency>
652
653 <!-- YANG stuff here? Fix buck?-->
654
655 <!-- TEST -->
656 <dependency>
657 <groupId>junit</groupId>
658 <artifactId>junit</artifactId>
659 <scope>test</scope>
660 </dependency>
661
662 <dependency>
663 <groupId>org.easymock</groupId>
664 <artifactId>easymock</artifactId>
665 <scope>test</scope>
666 </dependency>
667
668 <dependency>
669 <groupId>org.hamcrest</groupId>
670 <artifactId>hamcrest-core</artifactId>
671 <scope>test</scope>
672 </dependency>
673
674 <dependency>
675 <groupId>org.hamcrest</groupId>
676 <artifactId>hamcrest-library</artifactId>
677 <scope>test</scope>
678 </dependency>
679
680 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900681 <groupId>com.spotify</groupId>
682 <artifactId>hamcrest-optional</artifactId>
683 <scope>test</scope>
684 </dependency>
685
686 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700687 <groupId>com.google.guava</groupId>
688 <artifactId>guava-testlib</artifactId>
689 <scope>test</scope>
690 </dependency>
691
692 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700693 <dependency>
694 <groupId>org.slf4j</groupId>
695 <artifactId>slf4j-jdk14</artifactId>
696 </dependency>
697 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
698 Class not found: javax.annotation.Nullable
699 The following dependency alleviates this problem, but perhaps
700 it can be better located in the future. -->
701 <dependency>
702 <groupId>com.google.code.findbugs</groupId>
703 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700704 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000705
706 <dependency>
707 <groupId>io.grpc</groupId>
708 <artifactId>grpc-core</artifactId>
709 <version>${grpccore.version}</version>
710 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700711 </dependencies>
712
713 <build>
714 <pluginManagement>
715 <plugins>
716 <plugin>
717 <groupId>org.apache.maven.plugins</groupId>
718 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800719 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700720 <configuration>
721 <source>1.8</source>
722 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800723 <compilerArgs>
724 <compilerArg>-Xpkginfo:always</compilerArg>
725 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700726 </configuration>
727 </plugin>
728
729 <plugin>
730 <groupId>org.apache.maven.plugins</groupId>
731 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800732 <version>2.20.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700733 <configuration>
734 <redirectTestOutputToFile>true</redirectTestOutputToFile>
735 <printSummary>true</printSummary>
736 <excludedGroups>org.onlab.junit.IntegrationTest
737 </excludedGroups>
738 <rerunFailingTestsCount>1</rerunFailingTestsCount>
739 </configuration>
740 </plugin>
741 <plugin>
742 <groupId>org.apache.maven.plugins</groupId>
743 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800744 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700745 <configuration>
746 <tags>
747 <tag>
748 <name>onos.rsModel</name>
749 <placement>m</placement>
750 <head>Json model for REST api:</head>
751 </tag>
752 </tags>
753 </configuration>
754 </plugin>
755 <plugin>
756 <groupId>org.apache.maven.plugins</groupId>
757 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700758 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700759 <configuration>
760 <skipIfEmpty>true</skipIfEmpty>
761 </configuration>
762 <executions>
763 <execution>
764 <id>default</id>
765 <goals>
766 <goal>test-jar</goal>
767 </goals>
768 </execution>
769 </executions>
770 </plugin>
771
772 <plugin>
773 <groupId>org.apache.maven.plugins</groupId>
774 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700775 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700776 </plugin>
777
778 <plugin>
779 <groupId>org.apache.felix</groupId>
780 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700781 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700782 <extensions>true</extensions>
783 <configuration>
784 <niceManifest>true</niceManifest>
785 </configuration>
786 </plugin>
787
788 <plugin>
789 <groupId>org.apache.maven.plugins</groupId>
790 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800791 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700792 </plugin>
793
794 <plugin>
795 <groupId>org.apache.felix</groupId>
796 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700797 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700798 <executions>
799 <execution>
800 <id>generate-scr-srcdescriptor</id>
801 <goals>
802 <goal>scr</goal>
803 </goals>
804 </execution>
805 </executions>
806 <configuration>
807 <supportedProjectTypes>
808 <supportedProjectType>bundle</supportedProjectType>
809 <supportedProjectType>war</supportedProjectType>
810 </supportedProjectTypes>
811 </configuration>
812 </plugin>
813 <plugin>
814 <groupId>org.codehaus.mojo</groupId>
815 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700816 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700817 <dependencies>
818 <dependency>
819 <groupId>org.onosproject</groupId>
820 <artifactId>onos-build-conf</artifactId>
821 <version>${onos-build-conf.version}</version>
822 </dependency>
823 </dependencies>
824 <configuration>
825 <effort>Max</effort>
826 <excludeFilterFile>onos/findbugs-suppressions.xml
827 </excludeFilterFile>
828 </configuration>
829 </plugin>
830
831 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
832 <plugin>
833 <groupId>org.onosproject</groupId>
834 <artifactId>onos-maven-plugin</artifactId>
835 <version>${onos-maven-plugin.version}</version>
836 <executions>
837 <execution>
838 <id>cfg</id>
839 <phase>generate-resources</phase>
840 <goals>
841 <goal>cfg</goal>
842 </goals>
843 </execution>
844 <execution>
845 <id>swagger</id>
846 <phase>generate-sources</phase>
847 <goals>
848 <goal>swagger</goal>
849 </goals>
850 </execution>
851 <execution>
852 <id>app</id>
853 <phase>package</phase>
854 <goals>
855 <goal>app</goal>
856 </goals>
857 </execution>
858 </executions>
859 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700860
861 <plugin>
862 <groupId>org.onosproject</groupId>
863 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
864 <version>${onos-yang-tools.version}</version>
865 <executions>
866 <execution>
867 <goals>
868 <goal>yang2java</goal>
869 </goals>
870 </execution>
871 </executions>
872 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800873
874 <plugin>
875 <groupId>org.apache.karaf.tooling</groupId>
876 <artifactId>karaf-maven-plugin</artifactId>
877 <version>${karaf.version}</version>
878 <extensions>true</extensions>
879 </plugin>
880
Thomas Vachuska43977572016-06-02 13:48:55 -0700881 </plugins>
882 </pluginManagement>
883
884 <plugins>
885 <plugin>
886 <groupId>org.apache.maven.plugins</groupId>
887 <artifactId>maven-jar-plugin</artifactId>
888 </plugin>
889
890 <plugin>
891 <groupId>org.apache.maven.plugins</groupId>
892 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800893 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700894 <dependencies>
895 <dependency>
896 <groupId>org.onosproject</groupId>
897 <artifactId>onos-build-conf</artifactId>
898 <version>${onos-build-conf.version}</version>
899 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700900 <dependency>
901 <groupId>com.puppycrawl.tools</groupId>
902 <artifactId>checkstyle</artifactId>
903 <version>6.19</version>
904 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700905 </dependencies>
906 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700907 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700908 <suppressionsLocation>onos/suppressions.xml
909 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700910 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700911 <failsOnError>false</failsOnError>
912 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700913 <includeTestSourceDirectory>true</includeTestSourceDirectory>
914 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700915 </configuration>
916 <executions>
917 <execution>
918 <id>validate-checkstyle</id>
919 <phase>verify</phase>
920 <goals>
921 <goal>check</goal>
922 </goals>
923 </execution>
924 </executions>
925 </plugin>
926
927 <plugin>
928 <groupId>org.apache.maven.plugins</groupId>
929 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700930 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700931 <configuration>
932 <excludes>
933 </excludes>
934 <rulesets>
935 <ruleset>onos/pmd.xml</ruleset>
936 </rulesets>
937 </configuration>
938 <executions>
939 <execution>
940 <id>validate-pmd</id>
941 <phase>verify</phase>
942 <goals>
943 <!-- Uncomment this goal to make the build fail on pmd errors -->
944 <!--<goal>check</goal>-->
945 </goals>
946 </execution>
947 </executions>
948 </plugin>
949
950 <plugin>
951 <groupId>org.jacoco</groupId>
952 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800953 <version>0.8.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700954 <executions>
955 <execution>
956 <id>default-prepare-agent</id>
957 <goals>
958 <goal>prepare-agent</goal>
959 </goals>
960 </execution>
961 <execution>
962 <id>default-report</id>
963 <phase>prepare-package</phase>
964 <goals>
965 <goal>report</goal>
966 </goals>
967 </execution>
968 </executions>
969 </plugin>
970 </plugins>
971 </build>
972
973 <reporting>
974 <plugins>
975 <plugin>
976 <groupId>org.apache.maven.plugins</groupId>
977 <artifactId>maven-checkstyle-plugin</artifactId>
978 <configuration>
979 <configLocation>onos/checkstyle.xml</configLocation>
980 </configuration>
981 </plugin>
982
983 <plugin>
984 <groupId>org.apache.maven.plugins</groupId>
985 <artifactId>maven-pmd-plugin</artifactId>
986 <configuration>
987 <excludes>
988 </excludes>
989 <rulesets>
990 <ruleset>onos/pmd.xml</ruleset>
991 </rulesets>
992 </configuration>
993 </plugin>
994 </plugins>
995 </reporting>
996</project>