blob: 6913b0d54b933d035ab957926be1e838efeca4e9 [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 Userc5ae2092018-08-21 00:47:14 +000032 <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>
ONOS Jenkins Userc5ae2092018-08-21 00:47:14 +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>
Ray Milkeyc5e2f432018-07-02 13:09:35 -070047 <onos-yang-tools.version>2.5</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>
Yuta HIGUCHI59cf0c82018-05-23 14:16:59 -0700147 <version>2.6</version>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700148 </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 HIGUCHI59cf0c82018-05-23 14:16:59 -0700159 <version>3.7</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>
Yuta HIGUCHI59cf0c82018-05-23 14:16:59 -0700183 <version>1.3</version>
Yuta HIGUCHI825401e2018-02-27 13:23:25 -0800184 </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>
Yuta HIGUCHI59cf0c82018-05-23 14:16:59 -0700201 <version>3.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700202 <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>
Sean Condon6f0458c2018-08-10 12:56:52 +0100281 <groupId>org.glassfish.jersey.media</groupId>
282 <artifactId>jersey-media-sse</artifactId>
283 <version>${jersey.version}</version>
284 <scope>provided</scope>
285 </dependency>
286 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700287 <groupId>org.glassfish.jersey.test-framework</groupId>
288 <artifactId>jersey-test-framework-core</artifactId>
289 <version>${jersey.version}</version>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
293 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
294 <artifactId>jersey-test-framework-provider-jetty</artifactId>
295 <version>${jersey.version}</version>
296 <scope>test</scope>
297 </dependency>
298 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-server</artifactId>
301 <version>${jetty.version}</version>
302 <scope>test</scope>
303 </dependency>
304 <dependency>
305 <groupId>org.eclipse.jetty</groupId>
306 <artifactId>jetty-util</artifactId>
307 <version>${jetty.version}</version>
308 </dependency>
309 <dependency>
310 <groupId>org.eclipse.jetty</groupId>
311 <artifactId>jetty-io</artifactId>
312 <version>${jetty.version}</version>
313 </dependency>
314 <dependency>
315 <groupId>org.eclipse.jetty</groupId>
316 <artifactId>jetty-http</artifactId>
317 <version>${jetty.version}</version>
318 </dependency>
319 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-databind</artifactId>
322 <version>${jackson.version}</version>
323 <scope>provided</scope>
324 </dependency>
325 <dependency>
326 <groupId>com.fasterxml.jackson.core</groupId>
327 <artifactId>jackson-annotations</artifactId>
328 <version>${jackson.version}</version>
329 <scope>provided</scope>
330 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700331 <dependency>
332 <groupId>com.fasterxml.jackson.core</groupId>
333 <artifactId>jackson-core</artifactId>
334 <version>${jackson.version}</version>
335 <scope>provided</scope>
336 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700337
338 <!-- OSGi related -->
339 <dependency>
340 <groupId>org.osgi</groupId>
341 <artifactId>org.osgi.core</artifactId>
342 <version>${osgi.version}</version>
343 <scope>provided</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.osgi</groupId>
347 <artifactId>org.osgi.compendium</artifactId>
348 <version>${osgi.version}</version>
349 <scope>provided</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.apache.felix</groupId>
353 <artifactId>org.apache.felix.scr.annotations</artifactId>
354 <version>1.9.12</version>
355 <scope>provided</scope>
356 </dependency>
357 <dependency>
358 <groupId>org.apache.felix</groupId>
359 <artifactId>org.apache.felix.scr</artifactId>
360 <version>1.8.2</version>
361 </dependency>
362
363 <dependency>
364 <groupId>org.apache.karaf.features</groupId>
365 <artifactId>org.apache.karaf.features.core</artifactId>
366 <version>${karaf.version}</version>
367 <scope>provided</scope>
368 </dependency>
369 <dependency>
370 <groupId>org.apache.karaf.system</groupId>
371 <artifactId>org.apache.karaf.system.core</artifactId>
372 <version>${karaf.version}</version>
373 <scope>provided</scope>
374 </dependency>
375 <dependency>
376 <groupId>org.apache.karaf.shell</groupId>
377 <artifactId>org.apache.karaf.shell.console</artifactId>
378 <version>${karaf.version}</version>
379 <scope>provided</scope>
380 </dependency>
381
382 <dependency>
383 <groupId>org.livetribe.slp</groupId>
384 <artifactId>livetribe-slp</artifactId>
385 <version>2.2.1</version>
386 </dependency>
387
388 <dependency>
389 <groupId>com.eclipsesource.minimal-json</groupId>
390 <artifactId>minimal-json</artifactId>
391 <version>0.9.4</version>
392 </dependency>
393 <dependency>
394 <groupId>com.esotericsoftware</groupId>
395 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700396 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700397 </dependency>
398 <dependency>
399 <groupId>com.esotericsoftware</groupId>
400 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700401 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700402 </dependency>
403 <dependency>
404 <groupId>org.ow2.asm</groupId>
405 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700406 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700407 </dependency>
408 <dependency>
409 <groupId>com.esotericsoftware</groupId>
410 <artifactId>minlog</artifactId>
411 <version>1.3.0</version>
412 </dependency>
413 <dependency>
414 <groupId>org.objenesis</groupId>
415 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700416 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700417 </dependency>
418
419 <!-- Netty related; for now we require both 3.10.x and 4 -->
420 <dependency>
421 <groupId>io.netty</groupId>
422 <artifactId>netty</artifactId>
423 <version>3.10.5.Final</version>
424 </dependency>
425
426 <dependency>
427 <groupId>io.netty</groupId>
428 <artifactId>netty-common</artifactId>
429 <version>${netty4.version}</version>
430 </dependency>
431 <dependency>
432 <groupId>io.netty</groupId>
433 <artifactId>netty-buffer</artifactId>
434 <version>${netty4.version}</version>
435 </dependency>
436 <dependency>
437 <groupId>io.netty</groupId>
438 <artifactId>netty-transport</artifactId>
439 <version>${netty4.version}</version>
440 </dependency>
441 <dependency>
442 <groupId>io.netty</groupId>
443 <artifactId>netty-handler</artifactId>
444 <version>${netty4.version}</version>
445 </dependency>
446
447 <dependency>
448 <groupId>io.netty</groupId>
449 <artifactId>netty-codec</artifactId>
450 <version>${netty4.version}</version>
451 </dependency>
452
453 <dependency>
454 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700455 <artifactId>netty-transport-native-unix-common</artifactId>
456 <version>${netty4.version}</version>
457 </dependency>
458
459 <dependency>
460 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700461 <artifactId>netty-transport-native-epoll</artifactId>
462 <version>${netty4.version}</version>
463 <classifier>${os.detected.classifier}</classifier>
464 </dependency>
465
466 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800467 <groupId>io.netty</groupId>
468 <artifactId>netty-resolver</artifactId>
469 <version>${netty4.version}</version>
470 </dependency>
471
472 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700473 <groupId>com.google.code.findbugs</groupId>
474 <artifactId>jsr305</artifactId>
475 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700476 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700477 </dependency>
478
479 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700480 <groupId>com.google.errorprone</groupId>
481 <artifactId>error_prone_annotations</artifactId>
Yuta HIGUCHI59cf0c82018-05-23 14:16:59 -0700482 <version>2.0.18</version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700483 </dependency>
484
485 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700486 <groupId>org.onosproject</groupId>
487 <artifactId>openflowj</artifactId>
488 <version>${openflowj.version}</version>
489 <scope>provided</scope>
490 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700491
492 <dependency>
493 <groupId>org.onosproject</groupId>
494 <artifactId>onos-yang-model</artifactId>
495 <version>${onos-yang-tools.version}</version>
496 </dependency>
497 <dependency>
498 <groupId>org.onosproject</groupId>
499 <artifactId>onos-yang-runtime</artifactId>
500 <version>${onos-yang-tools.version}</version>
501 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700502 <dependency>
503 <groupId>org.onosproject</groupId>
504 <artifactId>onos-yang-serializers-xml</artifactId>
505 <version>${onos-yang-tools.version}</version>
506 </dependency>
507 <dependency>
508 <groupId>org.onosproject</groupId>
509 <artifactId>onos-yang-serializers-json</artifactId>
510 <version>${onos-yang-tools.version}</version>
511 </dependency>
Yuta HIGUCHI08392f42018-06-07 17:15:46 -0700512 <dependency>
513 <groupId>io.grpc</groupId>
514 <artifactId>grpc-core</artifactId>
515 <version>${grpccore.version}</version>
516 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700517 </dependencies>
518 </dependencyManagement>
519
520 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700521
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700522 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700523 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700524 <groupId>commons-configuration</groupId>
525 <artifactId>commons-configuration</artifactId>
526 </dependency>
527
528 <dependency>
529 <groupId>commons-logging</groupId>
530 <artifactId>commons-logging</artifactId>
531 </dependency>
532
533 <dependency>
534 <groupId>commons-collections</groupId>
535 <artifactId>commons-collections</artifactId>
536 </dependency>
537
538 <dependency>
539 <groupId>commons-lang</groupId>
540 <artifactId>commons-lang</artifactId>
541 </dependency>
542
543 <dependency>
544 <groupId>org.apache.commons</groupId>
545 <artifactId>commons-lang3</artifactId>
546 </dependency>
547
548 <dependency>
549 <groupId>commons-io</groupId>
550 <artifactId>commons-io</artifactId>
551 </dependency>
552
553 <dependency>
554 <groupId>commons-pool</groupId>
555 <artifactId>commons-pool</artifactId>
556 </dependency>
557
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700558<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700559 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700560 <groupId>org.objenesis</groupId>
561 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700562 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700563 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700564 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700565 <groupId>com.google.guava</groupId>
566 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700567 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700568
569<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700570 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700571 <groupId>io.netty</groupId>
572 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700573 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700574
575 <dependency>
576 <groupId>io.netty</groupId>
577 <artifactId>netty-buffer</artifactId>
578 </dependency>
579
580 <dependency>
581 <groupId>io.netty</groupId>
582 <artifactId>netty-common</artifactId>
583 </dependency>
584 -->
585
586 <dependency>
587 <groupId>com.eclipsesource.minimal-json</groupId>
588 <artifactId>minimal-json</artifactId>
589 </dependency>
590
591<!-- Fix buck? Kryo and transitive dependency.
592 <dependency>
593 <groupId>com.esotericsoftware</groupId>
594 <artifactId>kryo</artifactId>
595 </dependency>
596
597 <dependency>
598 <groupId>com.esotericsoftware</groupId>
599 <artifactId>reflectasm</artifactId>
600 </dependency>
601
602 <dependency>
603 <groupId>org.ow2.asm</groupId>
604 <artifactId>asm</artifactId>
605 </dependency>
606
607 <dependency>
608 <groupId>com.esotericsoftware</groupId>
609 <artifactId>minlog</artifactId>
610 </dependency>
611 -->
612<!-- Fix buck? everyone depending on metrics doesn't sound right.
613 <dependency>
614 <groupId>io.dropwizard.metrics</groupId>
615 <artifactId>metrics-core</artifactId>
616 </dependency>
617
618 <dependency>
619 <groupId>io.dropwizard.metrics</groupId>
620 <artifactId>metrics-json</artifactId>
621 </dependency>
622 -->
623
Thomas Vachuska43977572016-06-02 13:48:55 -0700624 <dependency>
625 <groupId>org.slf4j</groupId>
626 <artifactId>slf4j-api</artifactId>
627 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700628
629 <dependency>
630 <groupId>org.osgi</groupId>
631 <artifactId>org.osgi.core</artifactId>
632 </dependency>
633
634 <dependency>
635 <groupId>org.osgi</groupId>
636 <artifactId>org.osgi.compendium</artifactId>
637 </dependency>
638
639 <dependency>
640 <groupId>org.apache.felix</groupId>
641 <artifactId>org.apache.felix.scr.annotations</artifactId>
642 </dependency>
643
644 <dependency>
645 <groupId>org.apache.felix</groupId>
646 <artifactId>org.apache.felix.scr</artifactId>
647 </dependency>
648
649 <dependency>
650 <groupId>com.fasterxml.jackson.core</groupId>
651 <artifactId>jackson-annotations</artifactId>
652 </dependency>
653
654 <dependency>
655 <groupId>com.fasterxml.jackson.core</groupId>
656 <artifactId>jackson-core</artifactId>
657 </dependency>
658
659 <dependency>
660 <groupId>com.fasterxml.jackson.core</groupId>
661 <artifactId>jackson-databind</artifactId>
662 </dependency>
663
664 <dependency>
665 <groupId>org.apache.karaf.features</groupId>
666 <artifactId>org.apache.karaf.features.core</artifactId>
667 </dependency>
668
669 <dependency>
670 <groupId>org.apache.karaf.system</groupId>
671 <artifactId>org.apache.karaf.system.core</artifactId>
672 </dependency>
673
674 <!-- YANG stuff here? Fix buck?-->
675
676 <!-- TEST -->
677 <dependency>
678 <groupId>junit</groupId>
679 <artifactId>junit</artifactId>
680 <scope>test</scope>
681 </dependency>
682
683 <dependency>
684 <groupId>org.easymock</groupId>
685 <artifactId>easymock</artifactId>
686 <scope>test</scope>
687 </dependency>
688
689 <dependency>
690 <groupId>org.hamcrest</groupId>
691 <artifactId>hamcrest-core</artifactId>
692 <scope>test</scope>
693 </dependency>
694
695 <dependency>
696 <groupId>org.hamcrest</groupId>
697 <artifactId>hamcrest-library</artifactId>
698 <scope>test</scope>
699 </dependency>
700
701 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900702 <groupId>com.spotify</groupId>
703 <artifactId>hamcrest-optional</artifactId>
704 <scope>test</scope>
705 </dependency>
706
707 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700708 <groupId>com.google.guava</groupId>
709 <artifactId>guava-testlib</artifactId>
710 <scope>test</scope>
711 </dependency>
712
713 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700714 <dependency>
715 <groupId>org.slf4j</groupId>
716 <artifactId>slf4j-jdk14</artifactId>
717 </dependency>
718 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
719 Class not found: javax.annotation.Nullable
720 The following dependency alleviates this problem, but perhaps
721 it can be better located in the future. -->
722 <dependency>
723 <groupId>com.google.code.findbugs</groupId>
724 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700725 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000726
Thomas Vachuska43977572016-06-02 13:48:55 -0700727 </dependencies>
728
729 <build>
730 <pluginManagement>
731 <plugins>
732 <plugin>
733 <groupId>org.apache.maven.plugins</groupId>
734 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800735 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700736 <configuration>
737 <source>1.8</source>
738 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800739 <compilerArgs>
740 <compilerArg>-Xpkginfo:always</compilerArg>
741 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700742 </configuration>
743 </plugin>
744
745 <plugin>
746 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700747 <artifactId>maven-clean-plugin</artifactId>
748 <version>3.1.0</version>
749 </plugin>
750
751 <plugin>
752 <groupId>org.apache.maven.plugins</groupId>
753 <artifactId>maven-deploy-plugin</artifactId>
754 <version>2.8.2</version>
755 </plugin>
756
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-install-plugin</artifactId>
760 <version>2.5.2</version>
761 </plugin>
762
763 <plugin>
764 <groupId>org.apache.maven.plugins</groupId>
765 <artifactId>maven-site-plugin</artifactId>
766 <version>3.7.1</version>
767 </plugin>
768
769 <plugin>
770 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700771 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700772 <version>2.21.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700773 <configuration>
774 <redirectTestOutputToFile>true</redirectTestOutputToFile>
775 <printSummary>true</printSummary>
776 <excludedGroups>org.onlab.junit.IntegrationTest
777 </excludedGroups>
778 <rerunFailingTestsCount>1</rerunFailingTestsCount>
779 </configuration>
780 </plugin>
781 <plugin>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800784 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700785 <configuration>
786 <tags>
787 <tag>
788 <name>onos.rsModel</name>
789 <placement>m</placement>
790 <head>Json model for REST api:</head>
791 </tag>
792 </tags>
793 </configuration>
794 </plugin>
795 <plugin>
796 <groupId>org.apache.maven.plugins</groupId>
797 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700798 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700799 <configuration>
800 <skipIfEmpty>true</skipIfEmpty>
801 </configuration>
802 <executions>
803 <execution>
804 <id>default</id>
805 <goals>
806 <goal>test-jar</goal>
807 </goals>
808 </execution>
809 </executions>
810 </plugin>
811
812 <plugin>
813 <groupId>org.apache.maven.plugins</groupId>
814 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700815 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700816 </plugin>
817
818 <plugin>
819 <groupId>org.apache.felix</groupId>
820 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700821 <version>3.5.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700822 <extensions>true</extensions>
823 <configuration>
824 <niceManifest>true</niceManifest>
825 </configuration>
826 </plugin>
827
828 <plugin>
829 <groupId>org.apache.maven.plugins</groupId>
830 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700831 <version>3.1.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700832 </plugin>
833
834 <plugin>
835 <groupId>org.apache.felix</groupId>
836 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700837 <version>1.26.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700838 <executions>
839 <execution>
840 <id>generate-scr-srcdescriptor</id>
841 <goals>
842 <goal>scr</goal>
843 </goals>
844 </execution>
845 </executions>
846 <configuration>
847 <supportedProjectTypes>
848 <supportedProjectType>bundle</supportedProjectType>
849 <supportedProjectType>war</supportedProjectType>
850 </supportedProjectTypes>
851 </configuration>
852 </plugin>
853 <plugin>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700854 <groupId>com.github.spotbugs</groupId>
855 <artifactId>spotbugs-maven-plugin</artifactId>
856 <version>3.1.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700857 <dependencies>
858 <dependency>
859 <groupId>org.onosproject</groupId>
860 <artifactId>onos-build-conf</artifactId>
861 <version>${onos-build-conf.version}</version>
862 </dependency>
863 </dependencies>
864 <configuration>
865 <effort>Max</effort>
866 <excludeFilterFile>onos/findbugs-suppressions.xml
867 </excludeFilterFile>
868 </configuration>
869 </plugin>
870
871 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
872 <plugin>
873 <groupId>org.onosproject</groupId>
874 <artifactId>onos-maven-plugin</artifactId>
875 <version>${onos-maven-plugin.version}</version>
876 <executions>
877 <execution>
878 <id>cfg</id>
879 <phase>generate-resources</phase>
880 <goals>
881 <goal>cfg</goal>
882 </goals>
883 </execution>
884 <execution>
885 <id>swagger</id>
886 <phase>generate-sources</phase>
887 <goals>
888 <goal>swagger</goal>
889 </goals>
890 </execution>
891 <execution>
892 <id>app</id>
893 <phase>package</phase>
894 <goals>
895 <goal>app</goal>
896 </goals>
897 </execution>
898 </executions>
899 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700900
901 <plugin>
902 <groupId>org.onosproject</groupId>
903 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
904 <version>${onos-yang-tools.version}</version>
905 <executions>
906 <execution>
907 <goals>
908 <goal>yang2java</goal>
909 </goals>
910 </execution>
911 </executions>
912 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800913
914 <plugin>
915 <groupId>org.apache.karaf.tooling</groupId>
916 <artifactId>karaf-maven-plugin</artifactId>
917 <version>${karaf.version}</version>
918 <extensions>true</extensions>
919 </plugin>
920
Thomas Vachuska43977572016-06-02 13:48:55 -0700921 </plugins>
922 </pluginManagement>
923
924 <plugins>
925 <plugin>
926 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700927 <artifactId>maven-enforcer-plugin</artifactId>
928 <version>3.0.0-M1</version>
929 <executions>
930 <execution>
931 <id>enforce-maven</id>
932 <goals>
933 <goal>enforce</goal>
934 </goals>
935 <configuration>
936 <rules>
937 <requireMavenVersion>
938 <version>3.0.5</version>
939 </requireMavenVersion>
940 </rules>
941 </configuration>
942 </execution>
943 </executions>
944 </plugin>
945
946 <plugin>
947 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700948 <artifactId>maven-jar-plugin</artifactId>
949 </plugin>
950
951 <plugin>
952 <groupId>org.apache.maven.plugins</groupId>
953 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800954 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700955 <dependencies>
956 <dependency>
957 <groupId>org.onosproject</groupId>
958 <artifactId>onos-build-conf</artifactId>
959 <version>${onos-build-conf.version}</version>
960 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700961 <dependency>
962 <groupId>com.puppycrawl.tools</groupId>
963 <artifactId>checkstyle</artifactId>
Yuta HIGUCHIe7e71a82018-05-18 16:36:43 -0700964 <version>8.10</version>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700965 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700966 </dependencies>
967 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700968 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700969 <suppressionsLocation>onos/suppressions.xml
970 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700971 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700972 <failsOnError>false</failsOnError>
973 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700974 <includeTestSourceDirectory>true</includeTestSourceDirectory>
975 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700976 </configuration>
977 <executions>
978 <execution>
979 <id>validate-checkstyle</id>
980 <phase>verify</phase>
981 <goals>
982 <goal>check</goal>
983 </goals>
984 </execution>
985 </executions>
986 </plugin>
987
988 <plugin>
989 <groupId>org.apache.maven.plugins</groupId>
990 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700991 <version>3.9.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700992 <configuration>
993 <excludes>
994 </excludes>
995 <rulesets>
996 <ruleset>onos/pmd.xml</ruleset>
997 </rulesets>
998 </configuration>
999 <executions>
1000 <execution>
1001 <id>validate-pmd</id>
1002 <phase>verify</phase>
1003 <goals>
1004 <!-- Uncomment this goal to make the build fail on pmd errors -->
1005 <!--<goal>check</goal>-->
1006 </goals>
1007 </execution>
1008 </executions>
1009 </plugin>
1010
1011 <plugin>
1012 <groupId>org.jacoco</groupId>
1013 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -07001014 <version>0.8.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -07001015 <executions>
1016 <execution>
1017 <id>default-prepare-agent</id>
1018 <goals>
1019 <goal>prepare-agent</goal>
1020 </goals>
1021 </execution>
1022 <execution>
1023 <id>default-report</id>
1024 <phase>prepare-package</phase>
1025 <goals>
1026 <goal>report</goal>
1027 </goals>
1028 </execution>
1029 </executions>
1030 </plugin>
1031 </plugins>
1032 </build>
1033
1034 <reporting>
1035 <plugins>
1036 <plugin>
1037 <groupId>org.apache.maven.plugins</groupId>
1038 <artifactId>maven-checkstyle-plugin</artifactId>
1039 <configuration>
1040 <configLocation>onos/checkstyle.xml</configLocation>
1041 </configuration>
1042 </plugin>
1043
1044 <plugin>
1045 <groupId>org.apache.maven.plugins</groupId>
1046 <artifactId>maven-pmd-plugin</artifactId>
1047 <configuration>
1048 <excludes>
1049 </excludes>
1050 <rulesets>
1051 <ruleset>onos/pmd.xml</ruleset>
1052 </rulesets>
1053 </configuration>
1054 </plugin>
1055 </plugins>
1056 </reporting>
1057</project>