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