blob: 78a5c5a14a789dae0b266a4c860979839701f005 [file] [log] [blame]
Thomas Vachuska43977572016-06-02 13:48:55 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07003 ~ Copyright 2016-present Open Networking Foundation
Thomas Vachuska43977572016-06-02 13:48:55 -07004 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
17<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
21
Thomas Vachuska43977572016-06-02 13:48:55 -070022 <parent>
23 <groupId>org.onosproject</groupId>
24 <artifactId>onos-base</artifactId>
25 <version>1</version>
26 <relativePath>../tools/build/pom.xml</relativePath>
27 </parent>
28
29 <groupId>org.onosproject</groupId>
30 <artifactId>onos-dependencies</artifactId>
31 <packaging>pom</packaging>
Ray Milkeybca90492018-04-13 12:47:31 -070032 <version>1.14.0-SNAPSHOT</version>
Thomas Vachuska43977572016-06-02 13:48:55 -070033
34 <name>${project.artifactId}</name>
35 <description>Open Network Operating System shared dependencies</description>
36
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -070037 <prerequisites>
38 <maven>3.0.5</maven>
39 </prerequisites>
40
Thomas Vachuska43977572016-06-02 13:48:55 -070041 <properties>
42 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHI161e4d32018-04-26 01:24:51 +000043 <onos-build-conf.version>1.14.0-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080044 <netty4.version>4.1.8.Final</netty4.version>
Ray Milkey0b7682f2018-04-12 13:26:38 -070045 <openflowj.version>3.2.1.onos</openflowj.version>
Ray Milkey0753ee72018-04-30 10:36:41 -070046 <onos-maven-plugin.version>1.12</onos-maven-plugin.version>
Yuta HIGUCHI57ba38e2018-05-15 15:30:07 -070047 <onos-yang-tools.version>2.4.7</onos-yang-tools.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070048 <osgi.version>5.0.0</osgi.version>
Jon Hallb84df5d2017-01-31 11:19:48 -080049 <karaf.version>3.0.8</karaf.version>
Jian Li5d505f242018-02-24 01:45:31 +090050 <jersey.version>2.26</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070051 <jetty.version>9.2.21.v20170120</jetty.version>
Ray Milkey86ee5e82018-04-02 15:33:07 -070052 <jackson.version>2.9.5</jackson.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070053 <slf4j.version>1.7.21</slf4j.version>
Yuta HIGUCHI16b6efd2017-05-23 11:28:38 -070054 <guava.version>22.0</guava.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070055 <commons.io.version>2.6</commons.io.version>
Yuta HIGUCHI9d596942018-05-23 14:09:05 -070056 <bouncycastle.version>1.59</bouncycastle.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070057 <!-- TODO argLine was originally added maven-surfire-plugin configuration
58 to fix locale errors for non-US developers. However, it breaks
59 SonarQube's test coverage, so moving here for now. -->
60 <argLine>-Duser.language=en -Duser.region=US</argLine>
Carmelo Casconeb1936bd2017-12-12 14:42:27 -080061 <grpccore.version>1.3.1</grpccore.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070062 </properties>
63
64 <dependencyManagement>
65 <dependencies>
66 <dependency>
67 <groupId>junit</groupId>
68 <artifactId>junit</artifactId>
69 <version>4.12</version>
70 <scope>test</scope>
71 </dependency>
72
73 <dependency>
74 <groupId>org.hamcrest</groupId>
75 <artifactId>hamcrest-core</artifactId>
76 <version>1.3</version>
77 <scope>test</scope>
78 </dependency>
79 <dependency>
80 <groupId>org.hamcrest</groupId>
81 <artifactId>hamcrest-library</artifactId>
82 <version>1.3</version>
83 <scope>test</scope>
84 </dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +090085 <dependency>
86 <groupId>com.spotify</groupId>
87 <artifactId>hamcrest-optional</artifactId>
88 <version>1.1.0</version>
89 <scope>test</scope>
90 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -070091
92 <dependency>
93 <groupId>org.slf4j</groupId>
94 <artifactId>slf4j-api</artifactId>
95 <version>${slf4j.version}</version>
96 <scope>provided</scope>
97 </dependency>
98
99 <dependency>
100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-core</artifactId>
102 <version>${slf4j.version}</version>
103 <scope>test</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.slf4j</groupId>
108 <artifactId>slf4j-jdk14</artifactId>
109 <version>${slf4j.version}</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>com.google.guava</groupId>
115 <artifactId>guava</artifactId>
116 <version>${guava.version}</version>
117 </dependency>
118
119 <dependency>
120 <groupId>com.google.guava</groupId>
121 <artifactId>guava-testlib</artifactId>
122 <version>${guava.version}</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>com.googlecode.concurrent-trees</groupId>
128 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700129 <version>2.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700130 </dependency>
131
132 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700133 <groupId>commons-collections</groupId>
134 <artifactId>commons-collections</artifactId>
135 <version>3.2.2</version>
136 </dependency>
137
138 <dependency>
139 <groupId>commons-configuration</groupId>
140 <artifactId>commons-configuration</artifactId>
141 <version>1.10</version>
142 </dependency>
143
144 <dependency>
145 <groupId>commons-io</groupId>
146 <artifactId>commons-io</artifactId>
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>
281 <groupId>org.glassfish.jersey.test-framework</groupId>
282 <artifactId>jersey-test-framework-core</artifactId>
283 <version>${jersey.version}</version>
284 <scope>test</scope>
285 </dependency>
286 <dependency>
287 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
288 <artifactId>jersey-test-framework-provider-jetty</artifactId>
289 <version>${jersey.version}</version>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700293 <groupId>org.eclipse.jetty</groupId>
294 <artifactId>jetty-server</artifactId>
295 <version>${jetty.version}</version>
296 <scope>test</scope>
297 </dependency>
298 <dependency>
299 <groupId>org.eclipse.jetty</groupId>
300 <artifactId>jetty-util</artifactId>
301 <version>${jetty.version}</version>
302 </dependency>
303 <dependency>
304 <groupId>org.eclipse.jetty</groupId>
305 <artifactId>jetty-io</artifactId>
306 <version>${jetty.version}</version>
307 </dependency>
308 <dependency>
309 <groupId>org.eclipse.jetty</groupId>
310 <artifactId>jetty-http</artifactId>
311 <version>${jetty.version}</version>
312 </dependency>
313 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700314 <groupId>com.fasterxml.jackson.core</groupId>
315 <artifactId>jackson-databind</artifactId>
316 <version>${jackson.version}</version>
317 <scope>provided</scope>
318 </dependency>
319 <dependency>
320 <groupId>com.fasterxml.jackson.core</groupId>
321 <artifactId>jackson-annotations</artifactId>
322 <version>${jackson.version}</version>
323 <scope>provided</scope>
324 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700325 <dependency>
326 <groupId>com.fasterxml.jackson.core</groupId>
327 <artifactId>jackson-core</artifactId>
328 <version>${jackson.version}</version>
329 <scope>provided</scope>
330 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700331
332 <!-- OSGi related -->
333 <dependency>
334 <groupId>org.osgi</groupId>
335 <artifactId>org.osgi.core</artifactId>
336 <version>${osgi.version}</version>
337 <scope>provided</scope>
338 </dependency>
339 <dependency>
340 <groupId>org.osgi</groupId>
341 <artifactId>org.osgi.compendium</artifactId>
342 <version>${osgi.version}</version>
343 <scope>provided</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.apache.felix</groupId>
347 <artifactId>org.apache.felix.scr.annotations</artifactId>
348 <version>1.9.12</version>
349 <scope>provided</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.apache.felix</groupId>
353 <artifactId>org.apache.felix.scr</artifactId>
354 <version>1.8.2</version>
355 </dependency>
356
357 <dependency>
358 <groupId>org.apache.karaf.features</groupId>
359 <artifactId>org.apache.karaf.features.core</artifactId>
360 <version>${karaf.version}</version>
361 <scope>provided</scope>
362 </dependency>
363 <dependency>
364 <groupId>org.apache.karaf.system</groupId>
365 <artifactId>org.apache.karaf.system.core</artifactId>
366 <version>${karaf.version}</version>
367 <scope>provided</scope>
368 </dependency>
369 <dependency>
370 <groupId>org.apache.karaf.shell</groupId>
371 <artifactId>org.apache.karaf.shell.console</artifactId>
372 <version>${karaf.version}</version>
373 <scope>provided</scope>
374 </dependency>
375
376 <dependency>
377 <groupId>org.livetribe.slp</groupId>
378 <artifactId>livetribe-slp</artifactId>
379 <version>2.2.1</version>
380 </dependency>
381
382 <dependency>
383 <groupId>com.eclipsesource.minimal-json</groupId>
384 <artifactId>minimal-json</artifactId>
385 <version>0.9.4</version>
386 </dependency>
387 <dependency>
388 <groupId>com.esotericsoftware</groupId>
389 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700390 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700391 </dependency>
392 <dependency>
393 <groupId>com.esotericsoftware</groupId>
394 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700395 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700396 </dependency>
397 <dependency>
398 <groupId>org.ow2.asm</groupId>
399 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700400 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700401 </dependency>
402 <dependency>
403 <groupId>com.esotericsoftware</groupId>
404 <artifactId>minlog</artifactId>
405 <version>1.3.0</version>
406 </dependency>
407 <dependency>
408 <groupId>org.objenesis</groupId>
409 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700410 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700411 </dependency>
412
413 <!-- Netty related; for now we require both 3.10.x and 4 -->
414 <dependency>
415 <groupId>io.netty</groupId>
416 <artifactId>netty</artifactId>
417 <version>3.10.5.Final</version>
418 </dependency>
419
420 <dependency>
421 <groupId>io.netty</groupId>
422 <artifactId>netty-common</artifactId>
423 <version>${netty4.version}</version>
424 </dependency>
425 <dependency>
426 <groupId>io.netty</groupId>
427 <artifactId>netty-buffer</artifactId>
428 <version>${netty4.version}</version>
429 </dependency>
430 <dependency>
431 <groupId>io.netty</groupId>
432 <artifactId>netty-transport</artifactId>
433 <version>${netty4.version}</version>
434 </dependency>
435 <dependency>
436 <groupId>io.netty</groupId>
437 <artifactId>netty-handler</artifactId>
438 <version>${netty4.version}</version>
439 </dependency>
440
441 <dependency>
442 <groupId>io.netty</groupId>
443 <artifactId>netty-codec</artifactId>
444 <version>${netty4.version}</version>
445 </dependency>
446
447 <dependency>
448 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700449 <artifactId>netty-transport-native-unix-common</artifactId>
450 <version>${netty4.version}</version>
451 </dependency>
452
453 <dependency>
454 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700455 <artifactId>netty-transport-native-epoll</artifactId>
456 <version>${netty4.version}</version>
457 <classifier>${os.detected.classifier}</classifier>
458 </dependency>
459
460 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800461 <groupId>io.netty</groupId>
462 <artifactId>netty-resolver</artifactId>
463 <version>${netty4.version}</version>
464 </dependency>
465
466 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700467 <groupId>com.google.code.findbugs</groupId>
468 <artifactId>jsr305</artifactId>
469 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700470 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700471 </dependency>
472
473 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700474 <groupId>com.google.errorprone</groupId>
475 <artifactId>error_prone_annotations</artifactId>
Yuta HIGUCHI59cf0c82018-05-23 14:16:59 -0700476 <version>2.0.18</version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700477 </dependency>
478
479 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700480 <groupId>org.onosproject</groupId>
481 <artifactId>openflowj</artifactId>
482 <version>${openflowj.version}</version>
483 <scope>provided</scope>
484 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700485
486 <dependency>
487 <groupId>org.onosproject</groupId>
488 <artifactId>onos-yang-model</artifactId>
489 <version>${onos-yang-tools.version}</version>
490 </dependency>
491 <dependency>
492 <groupId>org.onosproject</groupId>
493 <artifactId>onos-yang-runtime</artifactId>
494 <version>${onos-yang-tools.version}</version>
495 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700496 <dependency>
497 <groupId>org.onosproject</groupId>
498 <artifactId>onos-yang-serializers-xml</artifactId>
499 <version>${onos-yang-tools.version}</version>
500 </dependency>
501 <dependency>
502 <groupId>org.onosproject</groupId>
503 <artifactId>onos-yang-serializers-json</artifactId>
504 <version>${onos-yang-tools.version}</version>
505 </dependency>
Yuta HIGUCHI08392f42018-06-07 17:15:46 -0700506 <dependency>
507 <groupId>io.grpc</groupId>
508 <artifactId>grpc-core</artifactId>
509 <version>${grpccore.version}</version>
510 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700511 </dependencies>
512 </dependencyManagement>
513
514 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700515
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700516 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700517 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700518 <groupId>commons-configuration</groupId>
519 <artifactId>commons-configuration</artifactId>
520 </dependency>
521
522 <dependency>
523 <groupId>commons-logging</groupId>
524 <artifactId>commons-logging</artifactId>
525 </dependency>
526
527 <dependency>
528 <groupId>commons-collections</groupId>
529 <artifactId>commons-collections</artifactId>
530 </dependency>
531
532 <dependency>
533 <groupId>commons-lang</groupId>
534 <artifactId>commons-lang</artifactId>
535 </dependency>
536
537 <dependency>
538 <groupId>org.apache.commons</groupId>
539 <artifactId>commons-lang3</artifactId>
540 </dependency>
541
542 <dependency>
543 <groupId>commons-io</groupId>
544 <artifactId>commons-io</artifactId>
545 </dependency>
546
547 <dependency>
548 <groupId>commons-pool</groupId>
549 <artifactId>commons-pool</artifactId>
550 </dependency>
551
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700552<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700553 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700554 <groupId>org.objenesis</groupId>
555 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700556 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700557 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700558 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700559 <groupId>com.google.guava</groupId>
560 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700561 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700562
563<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700564 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700565 <groupId>io.netty</groupId>
566 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700567 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700568
569 <dependency>
570 <groupId>io.netty</groupId>
571 <artifactId>netty-buffer</artifactId>
572 </dependency>
573
574 <dependency>
575 <groupId>io.netty</groupId>
576 <artifactId>netty-common</artifactId>
577 </dependency>
578 -->
579
580 <dependency>
581 <groupId>com.eclipsesource.minimal-json</groupId>
582 <artifactId>minimal-json</artifactId>
583 </dependency>
584
585<!-- Fix buck? Kryo and transitive dependency.
586 <dependency>
587 <groupId>com.esotericsoftware</groupId>
588 <artifactId>kryo</artifactId>
589 </dependency>
590
591 <dependency>
592 <groupId>com.esotericsoftware</groupId>
593 <artifactId>reflectasm</artifactId>
594 </dependency>
595
596 <dependency>
597 <groupId>org.ow2.asm</groupId>
598 <artifactId>asm</artifactId>
599 </dependency>
600
601 <dependency>
602 <groupId>com.esotericsoftware</groupId>
603 <artifactId>minlog</artifactId>
604 </dependency>
605 -->
606<!-- Fix buck? everyone depending on metrics doesn't sound right.
607 <dependency>
608 <groupId>io.dropwizard.metrics</groupId>
609 <artifactId>metrics-core</artifactId>
610 </dependency>
611
612 <dependency>
613 <groupId>io.dropwizard.metrics</groupId>
614 <artifactId>metrics-json</artifactId>
615 </dependency>
616 -->
617
Thomas Vachuska43977572016-06-02 13:48:55 -0700618 <dependency>
619 <groupId>org.slf4j</groupId>
620 <artifactId>slf4j-api</artifactId>
621 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700622
623 <dependency>
624 <groupId>org.osgi</groupId>
625 <artifactId>org.osgi.core</artifactId>
626 </dependency>
627
628 <dependency>
629 <groupId>org.osgi</groupId>
630 <artifactId>org.osgi.compendium</artifactId>
631 </dependency>
632
633 <dependency>
634 <groupId>org.apache.felix</groupId>
635 <artifactId>org.apache.felix.scr.annotations</artifactId>
636 </dependency>
637
638 <dependency>
639 <groupId>org.apache.felix</groupId>
640 <artifactId>org.apache.felix.scr</artifactId>
641 </dependency>
642
643 <dependency>
644 <groupId>com.fasterxml.jackson.core</groupId>
645 <artifactId>jackson-annotations</artifactId>
646 </dependency>
647
648 <dependency>
649 <groupId>com.fasterxml.jackson.core</groupId>
650 <artifactId>jackson-core</artifactId>
651 </dependency>
652
653 <dependency>
654 <groupId>com.fasterxml.jackson.core</groupId>
655 <artifactId>jackson-databind</artifactId>
656 </dependency>
657
658 <dependency>
659 <groupId>org.apache.karaf.features</groupId>
660 <artifactId>org.apache.karaf.features.core</artifactId>
661 </dependency>
662
663 <dependency>
664 <groupId>org.apache.karaf.system</groupId>
665 <artifactId>org.apache.karaf.system.core</artifactId>
666 </dependency>
667
668 <!-- YANG stuff here? Fix buck?-->
669
670 <!-- TEST -->
671 <dependency>
672 <groupId>junit</groupId>
673 <artifactId>junit</artifactId>
674 <scope>test</scope>
675 </dependency>
676
677 <dependency>
678 <groupId>org.easymock</groupId>
679 <artifactId>easymock</artifactId>
680 <scope>test</scope>
681 </dependency>
682
683 <dependency>
684 <groupId>org.hamcrest</groupId>
685 <artifactId>hamcrest-core</artifactId>
686 <scope>test</scope>
687 </dependency>
688
689 <dependency>
690 <groupId>org.hamcrest</groupId>
691 <artifactId>hamcrest-library</artifactId>
692 <scope>test</scope>
693 </dependency>
694
695 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900696 <groupId>com.spotify</groupId>
697 <artifactId>hamcrest-optional</artifactId>
698 <scope>test</scope>
699 </dependency>
700
701 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700702 <groupId>com.google.guava</groupId>
703 <artifactId>guava-testlib</artifactId>
704 <scope>test</scope>
705 </dependency>
706
707 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700708 <dependency>
709 <groupId>org.slf4j</groupId>
710 <artifactId>slf4j-jdk14</artifactId>
711 </dependency>
712 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
713 Class not found: javax.annotation.Nullable
714 The following dependency alleviates this problem, but perhaps
715 it can be better located in the future. -->
716 <dependency>
717 <groupId>com.google.code.findbugs</groupId>
718 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700719 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000720
Thomas Vachuska43977572016-06-02 13:48:55 -0700721 </dependencies>
722
723 <build>
724 <pluginManagement>
725 <plugins>
726 <plugin>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800729 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700730 <configuration>
731 <source>1.8</source>
732 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800733 <compilerArgs>
734 <compilerArg>-Xpkginfo:always</compilerArg>
735 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700736 </configuration>
737 </plugin>
738
739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700741 <artifactId>maven-clean-plugin</artifactId>
742 <version>3.1.0</version>
743 </plugin>
744
745 <plugin>
746 <groupId>org.apache.maven.plugins</groupId>
747 <artifactId>maven-deploy-plugin</artifactId>
748 <version>2.8.2</version>
749 </plugin>
750
751 <plugin>
752 <groupId>org.apache.maven.plugins</groupId>
753 <artifactId>maven-install-plugin</artifactId>
754 <version>2.5.2</version>
755 </plugin>
756
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-site-plugin</artifactId>
760 <version>3.7.1</version>
761 </plugin>
762
763 <plugin>
764 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700765 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700766 <version>2.21.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700767 <configuration>
768 <redirectTestOutputToFile>true</redirectTestOutputToFile>
769 <printSummary>true</printSummary>
770 <excludedGroups>org.onlab.junit.IntegrationTest
771 </excludedGroups>
772 <rerunFailingTestsCount>1</rerunFailingTestsCount>
773 </configuration>
774 </plugin>
775 <plugin>
776 <groupId>org.apache.maven.plugins</groupId>
777 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800778 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700779 <configuration>
780 <tags>
781 <tag>
782 <name>onos.rsModel</name>
783 <placement>m</placement>
784 <head>Json model for REST api:</head>
785 </tag>
786 </tags>
787 </configuration>
788 </plugin>
789 <plugin>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700792 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700793 <configuration>
794 <skipIfEmpty>true</skipIfEmpty>
795 </configuration>
796 <executions>
797 <execution>
798 <id>default</id>
799 <goals>
800 <goal>test-jar</goal>
801 </goals>
802 </execution>
803 </executions>
804 </plugin>
805
806 <plugin>
807 <groupId>org.apache.maven.plugins</groupId>
808 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700809 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700810 </plugin>
811
812 <plugin>
813 <groupId>org.apache.felix</groupId>
814 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700815 <version>3.5.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700816 <extensions>true</extensions>
817 <configuration>
818 <niceManifest>true</niceManifest>
819 </configuration>
820 </plugin>
821
822 <plugin>
823 <groupId>org.apache.maven.plugins</groupId>
824 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700825 <version>3.1.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700826 </plugin>
827
828 <plugin>
829 <groupId>org.apache.felix</groupId>
830 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700831 <version>1.26.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700832 <executions>
833 <execution>
834 <id>generate-scr-srcdescriptor</id>
835 <goals>
836 <goal>scr</goal>
837 </goals>
838 </execution>
839 </executions>
840 <configuration>
841 <supportedProjectTypes>
842 <supportedProjectType>bundle</supportedProjectType>
843 <supportedProjectType>war</supportedProjectType>
844 </supportedProjectTypes>
845 </configuration>
846 </plugin>
847 <plugin>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700848 <groupId>com.github.spotbugs</groupId>
849 <artifactId>spotbugs-maven-plugin</artifactId>
850 <version>3.1.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700851 <dependencies>
852 <dependency>
853 <groupId>org.onosproject</groupId>
854 <artifactId>onos-build-conf</artifactId>
855 <version>${onos-build-conf.version}</version>
856 </dependency>
857 </dependencies>
858 <configuration>
859 <effort>Max</effort>
860 <excludeFilterFile>onos/findbugs-suppressions.xml
861 </excludeFilterFile>
862 </configuration>
863 </plugin>
864
865 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
866 <plugin>
867 <groupId>org.onosproject</groupId>
868 <artifactId>onos-maven-plugin</artifactId>
869 <version>${onos-maven-plugin.version}</version>
870 <executions>
871 <execution>
872 <id>cfg</id>
873 <phase>generate-resources</phase>
874 <goals>
875 <goal>cfg</goal>
876 </goals>
877 </execution>
878 <execution>
879 <id>swagger</id>
880 <phase>generate-sources</phase>
881 <goals>
882 <goal>swagger</goal>
883 </goals>
884 </execution>
885 <execution>
886 <id>app</id>
887 <phase>package</phase>
888 <goals>
889 <goal>app</goal>
890 </goals>
891 </execution>
892 </executions>
893 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700894
895 <plugin>
896 <groupId>org.onosproject</groupId>
897 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
898 <version>${onos-yang-tools.version}</version>
899 <executions>
900 <execution>
901 <goals>
902 <goal>yang2java</goal>
903 </goals>
904 </execution>
905 </executions>
906 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800907
908 <plugin>
909 <groupId>org.apache.karaf.tooling</groupId>
910 <artifactId>karaf-maven-plugin</artifactId>
911 <version>${karaf.version}</version>
912 <extensions>true</extensions>
913 </plugin>
914
Thomas Vachuska43977572016-06-02 13:48:55 -0700915 </plugins>
916 </pluginManagement>
917
918 <plugins>
919 <plugin>
920 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700921 <artifactId>maven-enforcer-plugin</artifactId>
922 <version>3.0.0-M1</version>
923 <executions>
924 <execution>
925 <id>enforce-maven</id>
926 <goals>
927 <goal>enforce</goal>
928 </goals>
929 <configuration>
930 <rules>
931 <requireMavenVersion>
932 <version>3.0.5</version>
933 </requireMavenVersion>
934 </rules>
935 </configuration>
936 </execution>
937 </executions>
938 </plugin>
939
940 <plugin>
941 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700942 <artifactId>maven-jar-plugin</artifactId>
943 </plugin>
944
945 <plugin>
946 <groupId>org.apache.maven.plugins</groupId>
947 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800948 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700949 <dependencies>
950 <dependency>
951 <groupId>org.onosproject</groupId>
952 <artifactId>onos-build-conf</artifactId>
953 <version>${onos-build-conf.version}</version>
954 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700955 <dependency>
956 <groupId>com.puppycrawl.tools</groupId>
957 <artifactId>checkstyle</artifactId>
Yuta HIGUCHIe7e71a82018-05-18 16:36:43 -0700958 <version>8.10</version>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700959 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700960 </dependencies>
961 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700962 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700963 <suppressionsLocation>onos/suppressions.xml
964 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700965 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700966 <failsOnError>false</failsOnError>
967 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700968 <includeTestSourceDirectory>true</includeTestSourceDirectory>
969 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700970 </configuration>
971 <executions>
972 <execution>
973 <id>validate-checkstyle</id>
974 <phase>verify</phase>
975 <goals>
976 <goal>check</goal>
977 </goals>
978 </execution>
979 </executions>
980 </plugin>
981
982 <plugin>
983 <groupId>org.apache.maven.plugins</groupId>
984 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700985 <version>3.9.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700986 <configuration>
987 <excludes>
988 </excludes>
989 <rulesets>
990 <ruleset>onos/pmd.xml</ruleset>
991 </rulesets>
992 </configuration>
993 <executions>
994 <execution>
995 <id>validate-pmd</id>
996 <phase>verify</phase>
997 <goals>
998 <!-- Uncomment this goal to make the build fail on pmd errors -->
999 <!--<goal>check</goal>-->
1000 </goals>
1001 </execution>
1002 </executions>
1003 </plugin>
1004
1005 <plugin>
1006 <groupId>org.jacoco</groupId>
1007 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -07001008 <version>0.8.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -07001009 <executions>
1010 <execution>
1011 <id>default-prepare-agent</id>
1012 <goals>
1013 <goal>prepare-agent</goal>
1014 </goals>
1015 </execution>
1016 <execution>
1017 <id>default-report</id>
1018 <phase>prepare-package</phase>
1019 <goals>
1020 <goal>report</goal>
1021 </goals>
1022 </execution>
1023 </executions>
1024 </plugin>
1025 </plugins>
1026 </build>
1027
1028 <reporting>
1029 <plugins>
1030 <plugin>
1031 <groupId>org.apache.maven.plugins</groupId>
1032 <artifactId>maven-checkstyle-plugin</artifactId>
1033 <configuration>
1034 <configLocation>onos/checkstyle.xml</configLocation>
1035 </configuration>
1036 </plugin>
1037
1038 <plugin>
1039 <groupId>org.apache.maven.plugins</groupId>
1040 <artifactId>maven-pmd-plugin</artifactId>
1041 <configuration>
1042 <excludes>
1043 </excludes>
1044 <rulesets>
1045 <ruleset>onos/pmd.xml</ruleset>
1046 </rulesets>
1047 </configuration>
1048 </plugin>
1049 </plugins>
1050 </reporting>
1051</project>