blob: ce9e5d023c9e6c448c75bb42de70765b2fd63f74 [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 User38d2ff62018-03-16 04:06:34 +000032 <version>1.12.1-SNAPSHOT</version>
Thomas Vachuska43977572016-06-02 13:48:55 -070033
34 <name>${project.artifactId}</name>
35 <description>Open Network Operating System shared dependencies</description>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkeyb62be502017-12-11 15:49:07 -080039 <onos-build-conf.version>1.12.1-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080040 <netty4.version>4.1.8.Final</netty4.version>
Yuta HIGUCHI8ce28c02017-05-19 09:51:55 -070041 <openflowj.version>3.2.0.onos</openflowj.version>
Ray Milkey4bb99b82018-02-02 13:16:31 -080042 <onos-maven-plugin.version>1.11</onos-maven-plugin.version>
Ray Milkeyd82b5822017-11-30 10:54:16 -080043 <onos-yang-tools.version>2.3.1</onos-yang-tools.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070044 <osgi.version>5.0.0</osgi.version>
Jon Hallb84df5d2017-01-31 11:19:48 -080045 <karaf.version>3.0.8</karaf.version>
Jian Li112890b2017-04-25 22:27:49 +090046 <jersey.version>2.25.1</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070047 <jetty.version>9.2.21.v20170120</jetty.version>
Ray Milkeycde7e472018-04-02 15:33:07 -070048 <jackson.version>2.9.5</jackson.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070049 <slf4j.version>1.7.21</slf4j.version>
Yuta HIGUCHI16b6efd2017-05-23 11:28:38 -070050 <guava.version>22.0</guava.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070051 <commons.io.version>2.6</commons.io.version>
Yuta HIGUCHI923a7782017-09-05 13:04:47 -070052 <bouncycastle.version>1.58</bouncycastle.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070053 <!-- TODO argLine was originally added maven-surfire-plugin configuration
54 to fix locale errors for non-US developers. However, it breaks
55 SonarQube's test coverage, so moving here for now. -->
56 <argLine>-Duser.language=en -Duser.region=US</argLine>
Sean Condonbf7d39b2017-11-04 18:34:53 +000057 <grpccore.version>1.3.0</grpccore.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070058 </properties>
59
60 <dependencyManagement>
61 <dependencies>
62 <dependency>
63 <groupId>junit</groupId>
64 <artifactId>junit</artifactId>
65 <version>4.12</version>
66 <scope>test</scope>
67 </dependency>
68
69 <dependency>
70 <groupId>org.hamcrest</groupId>
71 <artifactId>hamcrest-core</artifactId>
72 <version>1.3</version>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.hamcrest</groupId>
77 <artifactId>hamcrest-library</artifactId>
78 <version>1.3</version>
79 <scope>test</scope>
80 </dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +090081 <dependency>
82 <groupId>com.spotify</groupId>
83 <artifactId>hamcrest-optional</artifactId>
84 <version>1.1.0</version>
85 <scope>test</scope>
86 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -070087
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-api</artifactId>
91 <version>${slf4j.version}</version>
92 <scope>provided</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-core</artifactId>
98 <version>${slf4j.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>org.slf4j</groupId>
104 <artifactId>slf4j-jdk14</artifactId>
105 <version>${slf4j.version}</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
110 <groupId>com.google.guava</groupId>
111 <artifactId>guava</artifactId>
112 <version>${guava.version}</version>
113 </dependency>
114
115 <dependency>
116 <groupId>com.google.guava</groupId>
117 <artifactId>guava-testlib</artifactId>
118 <version>${guava.version}</version>
119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>com.googlecode.concurrent-trees</groupId>
124 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700125 <version>2.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700126 </dependency>
127
128 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700129 <groupId>commons-collections</groupId>
130 <artifactId>commons-collections</artifactId>
131 <version>3.2.2</version>
132 </dependency>
133
134 <dependency>
135 <groupId>commons-configuration</groupId>
136 <artifactId>commons-configuration</artifactId>
137 <version>1.10</version>
138 </dependency>
139
140 <dependency>
141 <groupId>commons-io</groupId>
142 <artifactId>commons-io</artifactId>
143 <version>2.4</version>
144 </dependency>
145
146 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700147 <groupId>commons-lang</groupId>
148 <artifactId>commons-lang</artifactId>
149 <version>2.6</version>
150 </dependency>
151
152 <dependency>
153 <groupId>org.apache.commons</groupId>
154 <artifactId>commons-lang3</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700155 <version>3.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700156 </dependency>
157
158 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700159 <groupId>commons-logging</groupId>
160 <artifactId>commons-logging</artifactId>
161 <version>1.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700162 </dependency>
163
164 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700165 <groupId>org.apache.commons</groupId>
166 <artifactId>commons-math3</artifactId>
167 <version>3.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700168 </dependency>
169
170 <dependency>
171 <groupId>commons-pool</groupId>
172 <artifactId>commons-pool</artifactId>
173 <version>1.6</version>
174 </dependency>
175
176 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700177 <groupId>io.dropwizard.metrics</groupId>
178 <artifactId>metrics-core</artifactId>
179 <version>3.2.2</version>
180 </dependency>
181
182 <dependency>
183 <groupId>io.dropwizard.metrics</groupId>
184 <artifactId>metrics-json</artifactId>
185 <version>3.2.2</version>
186 </dependency>
187
188 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700189 <groupId>org.easymock</groupId>
190 <artifactId>easymock</artifactId>
191 <version>3.4</version>
192 <scope>test</scope>
193 </dependency>
194
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700195 <dependency>
196 <groupId>org.apache.sshd</groupId>
197 <artifactId>sshd-core</artifactId>
198 <version>1.4.0</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.bouncycastle</groupId>
203 <artifactId>bcpkix-jdk15on</artifactId>
204 <version>${bouncycastle.version}</version>
205 </dependency>
206
207 <dependency>
208 <groupId>org.bouncycastle</groupId>
209 <artifactId>bcprov-jdk15on</artifactId>
210 <version>${bouncycastle.version}</version>
211 </dependency>
212
213
Thomas Vachuska43977572016-06-02 13:48:55 -0700214 <!-- Web related -->
215 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700216 <groupId>javax.servlet</groupId>
217 <artifactId>javax.servlet-api</artifactId>
218 <version>3.1.0</version>
219 <scope>test</scope>
220 </dependency>
221 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700222 <groupId>org.glassfish.jersey.core</groupId>
223 <artifactId>jersey-client</artifactId>
224 <version>${jersey.version}</version>
225 </dependency>
226 <dependency>
227 <groupId>org.glassfish.jersey.containers</groupId>
228 <artifactId>jersey-container-servlet</artifactId>
229 <version>${jersey.version}</version>
230 <scope>provided</scope>
231 </dependency>
232 <dependency>
233 <groupId>org.glassfish.jersey.containers</groupId>
234 <artifactId>jersey-container-servlet-core</artifactId>
235 <version>${jersey.version}</version>
236 <scope>provided</scope>
237 </dependency>
238 <dependency>
239 <groupId>org.glassfish.jersey.media</groupId>
240 <artifactId>jersey-media-multipart</artifactId>
241 <version>${jersey.version}</version>
242 <scope>provided</scope>
243 </dependency>
244 <dependency>
245 <groupId>org.glassfish.jersey.test-framework</groupId>
246 <artifactId>jersey-test-framework-core</artifactId>
247 <version>${jersey.version}</version>
248 <scope>test</scope>
249 </dependency>
250 <dependency>
251 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
252 <artifactId>jersey-test-framework-provider-jetty</artifactId>
253 <version>${jersey.version}</version>
254 <scope>test</scope>
255 </dependency>
256 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700257 <groupId>org.eclipse.jetty</groupId>
258 <artifactId>jetty-server</artifactId>
259 <version>${jetty.version}</version>
260 <scope>test</scope>
261 </dependency>
262 <dependency>
263 <groupId>org.eclipse.jetty</groupId>
264 <artifactId>jetty-util</artifactId>
265 <version>${jetty.version}</version>
266 </dependency>
267 <dependency>
268 <groupId>org.eclipse.jetty</groupId>
269 <artifactId>jetty-io</artifactId>
270 <version>${jetty.version}</version>
271 </dependency>
272 <dependency>
273 <groupId>org.eclipse.jetty</groupId>
274 <artifactId>jetty-http</artifactId>
275 <version>${jetty.version}</version>
276 </dependency>
277 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700278 <groupId>com.fasterxml.jackson.core</groupId>
279 <artifactId>jackson-databind</artifactId>
280 <version>${jackson.version}</version>
281 <scope>provided</scope>
282 </dependency>
283 <dependency>
284 <groupId>com.fasterxml.jackson.core</groupId>
285 <artifactId>jackson-annotations</artifactId>
286 <version>${jackson.version}</version>
287 <scope>provided</scope>
288 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700289 <dependency>
290 <groupId>com.fasterxml.jackson.core</groupId>
291 <artifactId>jackson-core</artifactId>
292 <version>${jackson.version}</version>
293 <scope>provided</scope>
294 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700295
296 <!-- OSGi related -->
297 <dependency>
298 <groupId>org.osgi</groupId>
299 <artifactId>org.osgi.core</artifactId>
300 <version>${osgi.version}</version>
301 <scope>provided</scope>
302 </dependency>
303 <dependency>
304 <groupId>org.osgi</groupId>
305 <artifactId>org.osgi.compendium</artifactId>
306 <version>${osgi.version}</version>
307 <scope>provided</scope>
308 </dependency>
309 <dependency>
310 <groupId>org.apache.felix</groupId>
311 <artifactId>org.apache.felix.scr.annotations</artifactId>
312 <version>1.9.12</version>
313 <scope>provided</scope>
314 </dependency>
315 <dependency>
316 <groupId>org.apache.felix</groupId>
317 <artifactId>org.apache.felix.scr</artifactId>
318 <version>1.8.2</version>
319 </dependency>
320
321 <dependency>
322 <groupId>org.apache.karaf.features</groupId>
323 <artifactId>org.apache.karaf.features.core</artifactId>
324 <version>${karaf.version}</version>
325 <scope>provided</scope>
326 </dependency>
327 <dependency>
328 <groupId>org.apache.karaf.system</groupId>
329 <artifactId>org.apache.karaf.system.core</artifactId>
330 <version>${karaf.version}</version>
331 <scope>provided</scope>
332 </dependency>
333 <dependency>
334 <groupId>org.apache.karaf.shell</groupId>
335 <artifactId>org.apache.karaf.shell.console</artifactId>
336 <version>${karaf.version}</version>
337 <scope>provided</scope>
338 </dependency>
339
340 <dependency>
341 <groupId>org.livetribe.slp</groupId>
342 <artifactId>livetribe-slp</artifactId>
343 <version>2.2.1</version>
344 </dependency>
345
346 <dependency>
347 <groupId>com.eclipsesource.minimal-json</groupId>
348 <artifactId>minimal-json</artifactId>
349 <version>0.9.4</version>
350 </dependency>
351 <dependency>
352 <groupId>com.esotericsoftware</groupId>
353 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700354 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700355 </dependency>
356 <dependency>
357 <groupId>com.esotericsoftware</groupId>
358 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700359 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700360 </dependency>
361 <dependency>
362 <groupId>org.ow2.asm</groupId>
363 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700364 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700365 </dependency>
366 <dependency>
367 <groupId>com.esotericsoftware</groupId>
368 <artifactId>minlog</artifactId>
369 <version>1.3.0</version>
370 </dependency>
371 <dependency>
372 <groupId>org.objenesis</groupId>
373 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700374 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700375 </dependency>
376
377 <!-- Netty related; for now we require both 3.10.x and 4 -->
378 <dependency>
379 <groupId>io.netty</groupId>
380 <artifactId>netty</artifactId>
381 <version>3.10.5.Final</version>
382 </dependency>
383
384 <dependency>
385 <groupId>io.netty</groupId>
386 <artifactId>netty-common</artifactId>
387 <version>${netty4.version}</version>
388 </dependency>
389 <dependency>
390 <groupId>io.netty</groupId>
391 <artifactId>netty-buffer</artifactId>
392 <version>${netty4.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>io.netty</groupId>
396 <artifactId>netty-transport</artifactId>
397 <version>${netty4.version}</version>
398 </dependency>
399 <dependency>
400 <groupId>io.netty</groupId>
401 <artifactId>netty-handler</artifactId>
402 <version>${netty4.version}</version>
403 </dependency>
404
405 <dependency>
406 <groupId>io.netty</groupId>
407 <artifactId>netty-codec</artifactId>
408 <version>${netty4.version}</version>
409 </dependency>
410
411 <dependency>
412 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700413 <artifactId>netty-transport-native-unix-common</artifactId>
414 <version>${netty4.version}</version>
415 </dependency>
416
417 <dependency>
418 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700419 <artifactId>netty-transport-native-epoll</artifactId>
420 <version>${netty4.version}</version>
421 <classifier>${os.detected.classifier}</classifier>
422 </dependency>
423
424 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800425 <groupId>io.netty</groupId>
426 <artifactId>netty-resolver</artifactId>
427 <version>${netty4.version}</version>
428 </dependency>
429
430 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700431 <groupId>com.google.code.findbugs</groupId>
432 <artifactId>jsr305</artifactId>
433 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700434 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700435 </dependency>
436
437 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700438 <groupId>com.google.errorprone</groupId>
439 <artifactId>error_prone_annotations</artifactId>
440 <version>2.0.11</version>
441 </dependency>
442
443 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700444 <groupId>org.onosproject</groupId>
445 <artifactId>openflowj</artifactId>
446 <version>${openflowj.version}</version>
447 <scope>provided</scope>
448 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700449
450 <dependency>
451 <groupId>org.onosproject</groupId>
452 <artifactId>onos-yang-model</artifactId>
453 <version>${onos-yang-tools.version}</version>
454 </dependency>
455 <dependency>
456 <groupId>org.onosproject</groupId>
457 <artifactId>onos-yang-runtime</artifactId>
458 <version>${onos-yang-tools.version}</version>
459 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700460 <dependency>
461 <groupId>org.onosproject</groupId>
462 <artifactId>onos-yang-serializers-xml</artifactId>
463 <version>${onos-yang-tools.version}</version>
464 </dependency>
465 <dependency>
466 <groupId>org.onosproject</groupId>
467 <artifactId>onos-yang-serializers-json</artifactId>
468 <version>${onos-yang-tools.version}</version>
469 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700470 </dependencies>
471 </dependencyManagement>
472
473 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700474
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700475 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700476 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700477 <groupId>commons-configuration</groupId>
478 <artifactId>commons-configuration</artifactId>
479 </dependency>
480
481 <dependency>
482 <groupId>commons-logging</groupId>
483 <artifactId>commons-logging</artifactId>
484 </dependency>
485
486 <dependency>
487 <groupId>commons-collections</groupId>
488 <artifactId>commons-collections</artifactId>
489 </dependency>
490
491 <dependency>
492 <groupId>commons-lang</groupId>
493 <artifactId>commons-lang</artifactId>
494 </dependency>
495
496 <dependency>
497 <groupId>org.apache.commons</groupId>
498 <artifactId>commons-lang3</artifactId>
499 </dependency>
500
501 <dependency>
502 <groupId>commons-io</groupId>
503 <artifactId>commons-io</artifactId>
504 </dependency>
505
506 <dependency>
507 <groupId>commons-pool</groupId>
508 <artifactId>commons-pool</artifactId>
509 </dependency>
510
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700511<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700512 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700513 <groupId>org.objenesis</groupId>
514 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700515 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700516 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700517 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700518 <groupId>com.google.guava</groupId>
519 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700520 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700521
522<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700523 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700524 <groupId>io.netty</groupId>
525 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700526 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700527
528 <dependency>
529 <groupId>io.netty</groupId>
530 <artifactId>netty-buffer</artifactId>
531 </dependency>
532
533 <dependency>
534 <groupId>io.netty</groupId>
535 <artifactId>netty-common</artifactId>
536 </dependency>
537 -->
538
539 <dependency>
540 <groupId>com.eclipsesource.minimal-json</groupId>
541 <artifactId>minimal-json</artifactId>
542 </dependency>
543
544<!-- Fix buck? Kryo and transitive dependency.
545 <dependency>
546 <groupId>com.esotericsoftware</groupId>
547 <artifactId>kryo</artifactId>
548 </dependency>
549
550 <dependency>
551 <groupId>com.esotericsoftware</groupId>
552 <artifactId>reflectasm</artifactId>
553 </dependency>
554
555 <dependency>
556 <groupId>org.ow2.asm</groupId>
557 <artifactId>asm</artifactId>
558 </dependency>
559
560 <dependency>
561 <groupId>com.esotericsoftware</groupId>
562 <artifactId>minlog</artifactId>
563 </dependency>
564 -->
565<!-- Fix buck? everyone depending on metrics doesn't sound right.
566 <dependency>
567 <groupId>io.dropwizard.metrics</groupId>
568 <artifactId>metrics-core</artifactId>
569 </dependency>
570
571 <dependency>
572 <groupId>io.dropwizard.metrics</groupId>
573 <artifactId>metrics-json</artifactId>
574 </dependency>
575 -->
576
Thomas Vachuska43977572016-06-02 13:48:55 -0700577 <dependency>
578 <groupId>org.slf4j</groupId>
579 <artifactId>slf4j-api</artifactId>
580 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700581
582 <dependency>
583 <groupId>org.osgi</groupId>
584 <artifactId>org.osgi.core</artifactId>
585 </dependency>
586
587 <dependency>
588 <groupId>org.osgi</groupId>
589 <artifactId>org.osgi.compendium</artifactId>
590 </dependency>
591
592 <dependency>
593 <groupId>org.apache.felix</groupId>
594 <artifactId>org.apache.felix.scr.annotations</artifactId>
595 </dependency>
596
597 <dependency>
598 <groupId>org.apache.felix</groupId>
599 <artifactId>org.apache.felix.scr</artifactId>
600 </dependency>
601
602 <dependency>
603 <groupId>com.fasterxml.jackson.core</groupId>
604 <artifactId>jackson-annotations</artifactId>
605 </dependency>
606
607 <dependency>
608 <groupId>com.fasterxml.jackson.core</groupId>
609 <artifactId>jackson-core</artifactId>
610 </dependency>
611
612 <dependency>
613 <groupId>com.fasterxml.jackson.core</groupId>
614 <artifactId>jackson-databind</artifactId>
615 </dependency>
616
617 <dependency>
618 <groupId>org.apache.karaf.features</groupId>
619 <artifactId>org.apache.karaf.features.core</artifactId>
620 </dependency>
621
622 <dependency>
623 <groupId>org.apache.karaf.system</groupId>
624 <artifactId>org.apache.karaf.system.core</artifactId>
625 </dependency>
626
627 <!-- YANG stuff here? Fix buck?-->
628
629 <!-- TEST -->
630 <dependency>
631 <groupId>junit</groupId>
632 <artifactId>junit</artifactId>
633 <scope>test</scope>
634 </dependency>
635
636 <dependency>
637 <groupId>org.easymock</groupId>
638 <artifactId>easymock</artifactId>
639 <scope>test</scope>
640 </dependency>
641
642 <dependency>
643 <groupId>org.hamcrest</groupId>
644 <artifactId>hamcrest-core</artifactId>
645 <scope>test</scope>
646 </dependency>
647
648 <dependency>
649 <groupId>org.hamcrest</groupId>
650 <artifactId>hamcrest-library</artifactId>
651 <scope>test</scope>
652 </dependency>
653
654 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900655 <groupId>com.spotify</groupId>
656 <artifactId>hamcrest-optional</artifactId>
657 <scope>test</scope>
658 </dependency>
659
660 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700661 <groupId>com.google.guava</groupId>
662 <artifactId>guava-testlib</artifactId>
663 <scope>test</scope>
664 </dependency>
665
666 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700667 <dependency>
668 <groupId>org.slf4j</groupId>
669 <artifactId>slf4j-jdk14</artifactId>
670 </dependency>
671 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
672 Class not found: javax.annotation.Nullable
673 The following dependency alleviates this problem, but perhaps
674 it can be better located in the future. -->
675 <dependency>
676 <groupId>com.google.code.findbugs</groupId>
677 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700678 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000679
680 <dependency>
681 <groupId>io.grpc</groupId>
682 <artifactId>grpc-core</artifactId>
683 <version>${grpccore.version}</version>
684 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700685 </dependencies>
686
687 <build>
688 <pluginManagement>
689 <plugins>
690 <plugin>
691 <groupId>org.apache.maven.plugins</groupId>
692 <artifactId>maven-compiler-plugin</artifactId>
693 <!-- TODO: update once following issue is fixed. -->
694 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
695 <version>2.5.1</version>
696 <configuration>
697 <source>1.8</source>
698 <target>1.8</target>
699 </configuration>
700 </plugin>
701
702 <plugin>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700705 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700706 <configuration>
707 <redirectTestOutputToFile>true</redirectTestOutputToFile>
708 <printSummary>true</printSummary>
709 <excludedGroups>org.onlab.junit.IntegrationTest
710 </excludedGroups>
711 <rerunFailingTestsCount>1</rerunFailingTestsCount>
712 </configuration>
713 </plugin>
714 <plugin>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700717 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700718 <configuration>
719 <tags>
720 <tag>
721 <name>onos.rsModel</name>
722 <placement>m</placement>
723 <head>Json model for REST api:</head>
724 </tag>
725 </tags>
726 </configuration>
727 </plugin>
728 <plugin>
729 <groupId>org.apache.maven.plugins</groupId>
730 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700731 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700732 <configuration>
733 <skipIfEmpty>true</skipIfEmpty>
734 </configuration>
735 <executions>
736 <execution>
737 <id>default</id>
738 <goals>
739 <goal>test-jar</goal>
740 </goals>
741 </execution>
742 </executions>
743 </plugin>
744
745 <plugin>
746 <groupId>org.apache.maven.plugins</groupId>
747 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700748 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700749 </plugin>
750
751 <plugin>
752 <groupId>org.apache.felix</groupId>
753 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700754 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700755 <extensions>true</extensions>
756 <configuration>
757 <niceManifest>true</niceManifest>
758 </configuration>
759 </plugin>
760
761 <plugin>
762 <groupId>org.apache.maven.plugins</groupId>
763 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700764 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700765 </plugin>
766
767 <plugin>
768 <groupId>org.apache.felix</groupId>
769 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700770 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700771 <executions>
772 <execution>
773 <id>generate-scr-srcdescriptor</id>
774 <goals>
775 <goal>scr</goal>
776 </goals>
777 </execution>
778 </executions>
779 <configuration>
780 <supportedProjectTypes>
781 <supportedProjectType>bundle</supportedProjectType>
782 <supportedProjectType>war</supportedProjectType>
783 </supportedProjectTypes>
784 </configuration>
785 </plugin>
786 <plugin>
787 <groupId>org.codehaus.mojo</groupId>
788 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700789 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700790 <dependencies>
791 <dependency>
792 <groupId>org.onosproject</groupId>
793 <artifactId>onos-build-conf</artifactId>
794 <version>${onos-build-conf.version}</version>
795 </dependency>
796 </dependencies>
797 <configuration>
798 <effort>Max</effort>
799 <excludeFilterFile>onos/findbugs-suppressions.xml
800 </excludeFilterFile>
801 </configuration>
802 </plugin>
803
804 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
805 <plugin>
806 <groupId>org.onosproject</groupId>
807 <artifactId>onos-maven-plugin</artifactId>
808 <version>${onos-maven-plugin.version}</version>
809 <executions>
810 <execution>
811 <id>cfg</id>
812 <phase>generate-resources</phase>
813 <goals>
814 <goal>cfg</goal>
815 </goals>
816 </execution>
817 <execution>
818 <id>swagger</id>
819 <phase>generate-sources</phase>
820 <goals>
821 <goal>swagger</goal>
822 </goals>
823 </execution>
824 <execution>
825 <id>app</id>
826 <phase>package</phase>
827 <goals>
828 <goal>app</goal>
829 </goals>
830 </execution>
831 </executions>
832 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700833
834 <plugin>
835 <groupId>org.onosproject</groupId>
836 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
837 <version>${onos-yang-tools.version}</version>
838 <executions>
839 <execution>
840 <goals>
841 <goal>yang2java</goal>
842 </goals>
843 </execution>
844 </executions>
845 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700846 </plugins>
847 </pluginManagement>
848
849 <plugins>
850 <plugin>
851 <groupId>org.apache.maven.plugins</groupId>
852 <artifactId>maven-jar-plugin</artifactId>
853 </plugin>
854
855 <plugin>
856 <groupId>org.apache.maven.plugins</groupId>
857 <artifactId>maven-checkstyle-plugin</artifactId>
858 <version>2.17</version>
859 <dependencies>
860 <dependency>
861 <groupId>org.onosproject</groupId>
862 <artifactId>onos-build-conf</artifactId>
863 <version>${onos-build-conf.version}</version>
864 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700865 <dependency>
866 <groupId>com.puppycrawl.tools</groupId>
867 <artifactId>checkstyle</artifactId>
868 <version>6.19</version>
869 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700870 </dependencies>
871 <configuration>
872 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
873 <sourceDirectory>${project.build.sourceDirectory}
874 </sourceDirectory>
875 <testSourceDirectory>${project.build.testSourceDirectory}
876 </testSourceDirectory>
877 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700878 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700879 <suppressionsLocation>onos/suppressions.xml
880 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700881 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700882 <failsOnError>false</failsOnError>
883 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700884 <includeTestSourceDirectory>true</includeTestSourceDirectory>
885 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700886 </configuration>
887 <executions>
888 <execution>
889 <id>validate-checkstyle</id>
890 <phase>verify</phase>
891 <goals>
892 <goal>check</goal>
893 </goals>
894 </execution>
895 </executions>
896 </plugin>
897
898 <plugin>
899 <groupId>org.apache.maven.plugins</groupId>
900 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700901 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700902 <configuration>
903 <excludes>
904 </excludes>
905 <rulesets>
906 <ruleset>onos/pmd.xml</ruleset>
907 </rulesets>
908 </configuration>
909 <executions>
910 <execution>
911 <id>validate-pmd</id>
912 <phase>verify</phase>
913 <goals>
914 <!-- Uncomment this goal to make the build fail on pmd errors -->
915 <!--<goal>check</goal>-->
916 </goals>
917 </execution>
918 </executions>
919 </plugin>
920
921 <plugin>
922 <groupId>org.jacoco</groupId>
923 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700924 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700925 <executions>
926 <execution>
927 <id>default-prepare-agent</id>
928 <goals>
929 <goal>prepare-agent</goal>
930 </goals>
931 </execution>
932 <execution>
933 <id>default-report</id>
934 <phase>prepare-package</phase>
935 <goals>
936 <goal>report</goal>
937 </goals>
938 </execution>
939 </executions>
940 </plugin>
941 </plugins>
942 </build>
943
944 <reporting>
945 <plugins>
946 <plugin>
947 <groupId>org.apache.maven.plugins</groupId>
948 <artifactId>maven-checkstyle-plugin</artifactId>
949 <configuration>
950 <configLocation>onos/checkstyle.xml</configLocation>
951 </configuration>
952 </plugin>
953
954 <plugin>
955 <groupId>org.apache.maven.plugins</groupId>
956 <artifactId>maven-pmd-plugin</artifactId>
957 <configuration>
958 <excludes>
959 </excludes>
960 <rulesets>
961 <ruleset>onos/pmd.xml</ruleset>
962 </rulesets>
963 </configuration>
964 </plugin>
965 </plugins>
966 </reporting>
967</project>