blob: e0f09fa202928ae5d77bcf7070f09bae02f4dff5 [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 Milkey722f74c2019-04-22 10:48:14 -070032 <version>2.2.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>
Ray Milkey722f74c2019-04-22 10:48:14 -070043 <onos-build-conf.version>2.2.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>
Andrea Campanella7d82afc2019-01-15 11:10:44 +010047 <onos-yang-tools.version>2.6.1</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
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
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700563 <dependency>
564 <groupId>com.eclipsesource.minimal-json</groupId>
565 <artifactId>minimal-json</artifactId>
566 </dependency>
567
Thomas Vachuska43977572016-06-02 13:48:55 -0700568 <dependency>
569 <groupId>org.slf4j</groupId>
570 <artifactId>slf4j-api</artifactId>
571 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700572
573 <dependency>
574 <groupId>org.osgi</groupId>
575 <artifactId>org.osgi.core</artifactId>
576 </dependency>
577
578 <dependency>
579 <groupId>org.osgi</groupId>
580 <artifactId>org.osgi.compendium</artifactId>
581 </dependency>
582
583 <dependency>
584 <groupId>org.apache.felix</groupId>
585 <artifactId>org.apache.felix.scr.annotations</artifactId>
586 </dependency>
587
588 <dependency>
589 <groupId>org.apache.felix</groupId>
590 <artifactId>org.apache.felix.scr</artifactId>
591 </dependency>
592
593 <dependency>
594 <groupId>com.fasterxml.jackson.core</groupId>
595 <artifactId>jackson-annotations</artifactId>
596 </dependency>
597
598 <dependency>
599 <groupId>com.fasterxml.jackson.core</groupId>
600 <artifactId>jackson-core</artifactId>
601 </dependency>
602
603 <dependency>
604 <groupId>com.fasterxml.jackson.core</groupId>
605 <artifactId>jackson-databind</artifactId>
606 </dependency>
607
608 <dependency>
609 <groupId>org.apache.karaf.features</groupId>
610 <artifactId>org.apache.karaf.features.core</artifactId>
611 </dependency>
612
613 <dependency>
614 <groupId>org.apache.karaf.system</groupId>
615 <artifactId>org.apache.karaf.system.core</artifactId>
616 </dependency>
617
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700618 <!-- TEST -->
619 <dependency>
620 <groupId>junit</groupId>
621 <artifactId>junit</artifactId>
622 <scope>test</scope>
623 </dependency>
624
625 <dependency>
626 <groupId>org.easymock</groupId>
627 <artifactId>easymock</artifactId>
628 <scope>test</scope>
629 </dependency>
630
631 <dependency>
632 <groupId>org.hamcrest</groupId>
633 <artifactId>hamcrest-core</artifactId>
634 <scope>test</scope>
635 </dependency>
636
637 <dependency>
638 <groupId>org.hamcrest</groupId>
639 <artifactId>hamcrest-library</artifactId>
640 <scope>test</scope>
641 </dependency>
642
643 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900644 <groupId>com.spotify</groupId>
645 <artifactId>hamcrest-optional</artifactId>
646 <scope>test</scope>
647 </dependency>
648
649 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700650 <groupId>com.google.guava</groupId>
651 <artifactId>guava-testlib</artifactId>
652 <scope>test</scope>
653 </dependency>
654
655 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700656 <dependency>
657 <groupId>org.slf4j</groupId>
658 <artifactId>slf4j-jdk14</artifactId>
659 </dependency>
660 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
661 Class not found: javax.annotation.Nullable
662 The following dependency alleviates this problem, but perhaps
663 it can be better located in the future. -->
664 <dependency>
665 <groupId>com.google.code.findbugs</groupId>
666 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700667 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000668
Thomas Vachuska43977572016-06-02 13:48:55 -0700669 </dependencies>
670
671 <build>
672 <pluginManagement>
673 <plugins>
674 <plugin>
675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800677 <version>3.7.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700678 <configuration>
679 <source>1.8</source>
680 <target>1.8</target>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800681 <compilerArgs>
682 <compilerArg>-Xpkginfo:always</compilerArg>
683 </compilerArgs>
Thomas Vachuska43977572016-06-02 13:48:55 -0700684 </configuration>
685 </plugin>
686
687 <plugin>
688 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700689 <artifactId>maven-clean-plugin</artifactId>
690 <version>3.1.0</version>
691 </plugin>
692
693 <plugin>
694 <groupId>org.apache.maven.plugins</groupId>
695 <artifactId>maven-deploy-plugin</artifactId>
696 <version>2.8.2</version>
697 </plugin>
698
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-install-plugin</artifactId>
702 <version>2.5.2</version>
703 </plugin>
704
705 <plugin>
706 <groupId>org.apache.maven.plugins</groupId>
707 <artifactId>maven-site-plugin</artifactId>
708 <version>3.7.1</version>
709 </plugin>
710
711 <plugin>
712 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700713 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700714 <version>2.21.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700715 <configuration>
716 <redirectTestOutputToFile>true</redirectTestOutputToFile>
717 <printSummary>true</printSummary>
718 <excludedGroups>org.onlab.junit.IntegrationTest
719 </excludedGroups>
720 <rerunFailingTestsCount>1</rerunFailingTestsCount>
721 </configuration>
722 </plugin>
723 <plugin>
724 <groupId>org.apache.maven.plugins</groupId>
725 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800726 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700727 <configuration>
728 <tags>
729 <tag>
730 <name>onos.rsModel</name>
731 <placement>m</placement>
732 <head>Json model for REST api:</head>
733 </tag>
734 </tags>
735 </configuration>
736 </plugin>
737 <plugin>
738 <groupId>org.apache.maven.plugins</groupId>
739 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700740 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700741 <configuration>
742 <skipIfEmpty>true</skipIfEmpty>
743 </configuration>
744 <executions>
745 <execution>
746 <id>default</id>
747 <goals>
748 <goal>test-jar</goal>
749 </goals>
750 </execution>
751 </executions>
752 </plugin>
753
754 <plugin>
755 <groupId>org.apache.maven.plugins</groupId>
756 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700757 <version>3.1.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700758 </plugin>
759
760 <plugin>
761 <groupId>org.apache.felix</groupId>
762 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700763 <version>3.5.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700764 <extensions>true</extensions>
765 <configuration>
766 <niceManifest>true</niceManifest>
767 </configuration>
768 </plugin>
769
770 <plugin>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700773 <version>3.1.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700774 </plugin>
775
776 <plugin>
777 <groupId>org.apache.felix</groupId>
778 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700779 <version>1.26.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700780 <executions>
781 <execution>
782 <id>generate-scr-srcdescriptor</id>
783 <goals>
784 <goal>scr</goal>
785 </goals>
786 </execution>
787 </executions>
788 <configuration>
789 <supportedProjectTypes>
790 <supportedProjectType>bundle</supportedProjectType>
791 <supportedProjectType>war</supportedProjectType>
792 </supportedProjectTypes>
793 </configuration>
794 </plugin>
795 <plugin>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700796 <groupId>com.github.spotbugs</groupId>
797 <artifactId>spotbugs-maven-plugin</artifactId>
798 <version>3.1.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700799 <dependencies>
800 <dependency>
801 <groupId>org.onosproject</groupId>
802 <artifactId>onos-build-conf</artifactId>
803 <version>${onos-build-conf.version}</version>
804 </dependency>
805 </dependencies>
806 <configuration>
807 <effort>Max</effort>
808 <excludeFilterFile>onos/findbugs-suppressions.xml
809 </excludeFilterFile>
810 </configuration>
811 </plugin>
812
813 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
814 <plugin>
815 <groupId>org.onosproject</groupId>
816 <artifactId>onos-maven-plugin</artifactId>
817 <version>${onos-maven-plugin.version}</version>
818 <executions>
819 <execution>
820 <id>cfg</id>
821 <phase>generate-resources</phase>
822 <goals>
823 <goal>cfg</goal>
824 </goals>
825 </execution>
826 <execution>
827 <id>swagger</id>
828 <phase>generate-sources</phase>
829 <goals>
830 <goal>swagger</goal>
831 </goals>
832 </execution>
833 <execution>
834 <id>app</id>
835 <phase>package</phase>
836 <goals>
837 <goal>app</goal>
838 </goals>
839 </execution>
840 </executions>
841 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700842
843 <plugin>
844 <groupId>org.onosproject</groupId>
845 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
846 <version>${onos-yang-tools.version}</version>
847 <executions>
848 <execution>
849 <goals>
850 <goal>yang2java</goal>
851 </goals>
852 </execution>
853 </executions>
854 </plugin>
Yuta HIGUCHI488a94c2018-01-26 17:24:09 -0800855
856 <plugin>
857 <groupId>org.apache.karaf.tooling</groupId>
858 <artifactId>karaf-maven-plugin</artifactId>
859 <version>${karaf.version}</version>
860 <extensions>true</extensions>
861 </plugin>
862
Thomas Vachuska43977572016-06-02 13:48:55 -0700863 </plugins>
864 </pluginManagement>
865
866 <plugins>
867 <plugin>
868 <groupId>org.apache.maven.plugins</groupId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700869 <artifactId>maven-enforcer-plugin</artifactId>
870 <version>3.0.0-M1</version>
871 <executions>
872 <execution>
873 <id>enforce-maven</id>
874 <goals>
875 <goal>enforce</goal>
876 </goals>
877 <configuration>
878 <rules>
879 <requireMavenVersion>
880 <version>3.0.5</version>
881 </requireMavenVersion>
882 </rules>
883 </configuration>
884 </execution>
885 </executions>
886 </plugin>
887
888 <plugin>
889 <groupId>org.apache.maven.plugins</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700890 <artifactId>maven-jar-plugin</artifactId>
891 </plugin>
892
893 <plugin>
894 <groupId>org.apache.maven.plugins</groupId>
895 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIb6f9adb2018-01-26 17:56:17 -0800896 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700897 <dependencies>
898 <dependency>
899 <groupId>org.onosproject</groupId>
900 <artifactId>onos-build-conf</artifactId>
901 <version>${onos-build-conf.version}</version>
902 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700903 <dependency>
904 <groupId>com.puppycrawl.tools</groupId>
905 <artifactId>checkstyle</artifactId>
Yuta HIGUCHIe7e71a82018-05-18 16:36:43 -0700906 <version>8.10</version>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700907 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700908 </dependencies>
909 <configuration>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700910 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700911 <suppressionsLocation>onos/suppressions.xml
912 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700913 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700914 <failsOnError>false</failsOnError>
915 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700916 <includeTestSourceDirectory>true</includeTestSourceDirectory>
917 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700918 </configuration>
919 <executions>
920 <execution>
921 <id>validate-checkstyle</id>
922 <phase>verify</phase>
923 <goals>
924 <goal>check</goal>
925 </goals>
926 </execution>
927 </executions>
928 </plugin>
929
930 <plugin>
931 <groupId>org.apache.maven.plugins</groupId>
932 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700933 <version>3.9.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700934 <configuration>
935 <excludes>
936 </excludes>
937 <rulesets>
938 <ruleset>onos/pmd.xml</ruleset>
939 </rulesets>
940 </configuration>
941 <executions>
942 <execution>
943 <id>validate-pmd</id>
944 <phase>verify</phase>
945 <goals>
946 <!-- Uncomment this goal to make the build fail on pmd errors -->
947 <!--<goal>check</goal>-->
948 </goals>
949 </execution>
950 </executions>
951 </plugin>
952
953 <plugin>
954 <groupId>org.jacoco</groupId>
955 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHI40cc9d82018-05-18 14:09:06 -0700956 <version>0.8.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700957 <executions>
958 <execution>
959 <id>default-prepare-agent</id>
960 <goals>
961 <goal>prepare-agent</goal>
962 </goals>
963 </execution>
964 <execution>
965 <id>default-report</id>
966 <phase>prepare-package</phase>
967 <goals>
968 <goal>report</goal>
969 </goals>
970 </execution>
971 </executions>
972 </plugin>
973 </plugins>
974 </build>
975
976 <reporting>
977 <plugins>
978 <plugin>
979 <groupId>org.apache.maven.plugins</groupId>
980 <artifactId>maven-checkstyle-plugin</artifactId>
981 <configuration>
982 <configLocation>onos/checkstyle.xml</configLocation>
983 </configuration>
984 </plugin>
985
986 <plugin>
987 <groupId>org.apache.maven.plugins</groupId>
988 <artifactId>maven-pmd-plugin</artifactId>
989 <configuration>
990 <excludes>
991 </excludes>
992 <rulesets>
993 <ruleset>onos/pmd.xml</ruleset>
994 </rulesets>
995 </configuration>
996 </plugin>
997 </plugins>
998 </reporting>
999</project>