blob: 3398de17167ad26025cf5600d0a6a3550630f551 [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 Milkeya09f87f2017-11-21 09:38:31 -080032 <version>1.13.0-SNAPSHOT</version>
Thomas Vachuska43977572016-06-02 13:48:55 -070033
34 <name>${project.artifactId}</name>
35 <description>Open Network Operating System shared dependencies</description>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkeya09f87f2017-11-21 09:38:31 -080039 <onos-build-conf.version>1.13.0-SNAPSHOT</onos-build-conf.version>
Yuta HIGUCHIdc86de72017-11-08 20:43:27 -080040 <netty4.version>4.1.8.Final</netty4.version>
Yuta HIGUCHI8ce28c02017-05-19 09:51:55 -070041 <openflowj.version>3.2.0.onos</openflowj.version>
Thomas Vachuskae5428c52016-08-09 13:27:06 -070042 <onos-maven-plugin.version>1.10</onos-maven-plugin.version>
Ray Milkeycbf99172017-11-30 10:54:16 -080043 <onos-yang-tools.version>2.3.1</onos-yang-tools.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070044 <osgi.version>5.0.0</osgi.version>
Jon Hallb84df5d2017-01-31 11:19:48 -080045 <karaf.version>3.0.8</karaf.version>
Jian Li112890b2017-04-25 22:27:49 +090046 <jersey.version>2.25.1</jersey.version>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -070047 <jetty.version>9.2.21.v20170120</jetty.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070048 <jackson.version>2.8.10</jackson.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070049 <slf4j.version>1.7.21</slf4j.version>
Yuta HIGUCHI16b6efd2017-05-23 11:28:38 -070050 <guava.version>22.0</guava.version>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070051 <commons.io.version>2.6</commons.io.version>
Yuta HIGUCHI923a7782017-09-05 13:04:47 -070052 <bouncycastle.version>1.58</bouncycastle.version>
Thomas Vachuska43977572016-06-02 13:48:55 -070053 <!-- TODO argLine was originally added maven-surfire-plugin configuration
54 to fix locale errors for non-US developers. However, it breaks
55 SonarQube's test coverage, so moving here for now. -->
56 <argLine>-Duser.language=en -Duser.region=US</argLine>
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>
fahadnaeemkhan02ffa712017-12-01 19:49:45 -0800226
227 <dependency>
228 <groupId>org.glassfish.jersey.security</groupId>
229 <artifactId>oauth2-client</artifactId>
230 <version>${jersey.version}</version>
231 </dependency>
232
Thomas Vachuska43977572016-06-02 13:48:55 -0700233 <dependency>
234 <groupId>org.glassfish.jersey.containers</groupId>
235 <artifactId>jersey-container-servlet</artifactId>
236 <version>${jersey.version}</version>
237 <scope>provided</scope>
238 </dependency>
239 <dependency>
240 <groupId>org.glassfish.jersey.containers</groupId>
241 <artifactId>jersey-container-servlet-core</artifactId>
242 <version>${jersey.version}</version>
243 <scope>provided</scope>
244 </dependency>
245 <dependency>
246 <groupId>org.glassfish.jersey.media</groupId>
247 <artifactId>jersey-media-multipart</artifactId>
248 <version>${jersey.version}</version>
249 <scope>provided</scope>
250 </dependency>
251 <dependency>
252 <groupId>org.glassfish.jersey.test-framework</groupId>
253 <artifactId>jersey-test-framework-core</artifactId>
254 <version>${jersey.version}</version>
255 <scope>test</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
259 <artifactId>jersey-test-framework-provider-jetty</artifactId>
260 <version>${jersey.version}</version>
261 <scope>test</scope>
262 </dependency>
263 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700264 <groupId>org.eclipse.jetty</groupId>
265 <artifactId>jetty-server</artifactId>
266 <version>${jetty.version}</version>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.eclipse.jetty</groupId>
271 <artifactId>jetty-util</artifactId>
272 <version>${jetty.version}</version>
273 </dependency>
274 <dependency>
275 <groupId>org.eclipse.jetty</groupId>
276 <artifactId>jetty-io</artifactId>
277 <version>${jetty.version}</version>
278 </dependency>
279 <dependency>
280 <groupId>org.eclipse.jetty</groupId>
281 <artifactId>jetty-http</artifactId>
282 <version>${jetty.version}</version>
283 </dependency>
284 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700285 <groupId>com.fasterxml.jackson.core</groupId>
286 <artifactId>jackson-databind</artifactId>
287 <version>${jackson.version}</version>
288 <scope>provided</scope>
289 </dependency>
290 <dependency>
291 <groupId>com.fasterxml.jackson.core</groupId>
292 <artifactId>jackson-annotations</artifactId>
293 <version>${jackson.version}</version>
294 <scope>provided</scope>
295 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700296 <dependency>
297 <groupId>com.fasterxml.jackson.core</groupId>
298 <artifactId>jackson-core</artifactId>
299 <version>${jackson.version}</version>
300 <scope>provided</scope>
301 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700302
303 <!-- OSGi related -->
304 <dependency>
305 <groupId>org.osgi</groupId>
306 <artifactId>org.osgi.core</artifactId>
307 <version>${osgi.version}</version>
308 <scope>provided</scope>
309 </dependency>
310 <dependency>
311 <groupId>org.osgi</groupId>
312 <artifactId>org.osgi.compendium</artifactId>
313 <version>${osgi.version}</version>
314 <scope>provided</scope>
315 </dependency>
316 <dependency>
317 <groupId>org.apache.felix</groupId>
318 <artifactId>org.apache.felix.scr.annotations</artifactId>
319 <version>1.9.12</version>
320 <scope>provided</scope>
321 </dependency>
322 <dependency>
323 <groupId>org.apache.felix</groupId>
324 <artifactId>org.apache.felix.scr</artifactId>
325 <version>1.8.2</version>
326 </dependency>
327
328 <dependency>
329 <groupId>org.apache.karaf.features</groupId>
330 <artifactId>org.apache.karaf.features.core</artifactId>
331 <version>${karaf.version}</version>
332 <scope>provided</scope>
333 </dependency>
334 <dependency>
335 <groupId>org.apache.karaf.system</groupId>
336 <artifactId>org.apache.karaf.system.core</artifactId>
337 <version>${karaf.version}</version>
338 <scope>provided</scope>
339 </dependency>
340 <dependency>
341 <groupId>org.apache.karaf.shell</groupId>
342 <artifactId>org.apache.karaf.shell.console</artifactId>
343 <version>${karaf.version}</version>
344 <scope>provided</scope>
345 </dependency>
346
347 <dependency>
348 <groupId>org.livetribe.slp</groupId>
349 <artifactId>livetribe-slp</artifactId>
350 <version>2.2.1</version>
351 </dependency>
352
353 <dependency>
354 <groupId>com.eclipsesource.minimal-json</groupId>
355 <artifactId>minimal-json</artifactId>
356 <version>0.9.4</version>
357 </dependency>
358 <dependency>
359 <groupId>com.esotericsoftware</groupId>
360 <artifactId>kryo</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700361 <version>4.0.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700362 </dependency>
363 <dependency>
364 <groupId>com.esotericsoftware</groupId>
365 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700366 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700367 </dependency>
368 <dependency>
369 <groupId>org.ow2.asm</groupId>
370 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700371 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700372 </dependency>
373 <dependency>
374 <groupId>com.esotericsoftware</groupId>
375 <artifactId>minlog</artifactId>
376 <version>1.3.0</version>
377 </dependency>
378 <dependency>
379 <groupId>org.objenesis</groupId>
380 <artifactId>objenesis</artifactId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700381 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700382 </dependency>
383
384 <!-- Netty related; for now we require both 3.10.x and 4 -->
385 <dependency>
386 <groupId>io.netty</groupId>
387 <artifactId>netty</artifactId>
388 <version>3.10.5.Final</version>
389 </dependency>
390
391 <dependency>
392 <groupId>io.netty</groupId>
393 <artifactId>netty-common</artifactId>
394 <version>${netty4.version}</version>
395 </dependency>
396 <dependency>
397 <groupId>io.netty</groupId>
398 <artifactId>netty-buffer</artifactId>
399 <version>${netty4.version}</version>
400 </dependency>
401 <dependency>
402 <groupId>io.netty</groupId>
403 <artifactId>netty-transport</artifactId>
404 <version>${netty4.version}</version>
405 </dependency>
406 <dependency>
407 <groupId>io.netty</groupId>
408 <artifactId>netty-handler</artifactId>
409 <version>${netty4.version}</version>
410 </dependency>
411
412 <dependency>
413 <groupId>io.netty</groupId>
414 <artifactId>netty-codec</artifactId>
415 <version>${netty4.version}</version>
416 </dependency>
417
418 <dependency>
419 <groupId>io.netty</groupId>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700420 <artifactId>netty-transport-native-unix-common</artifactId>
421 <version>${netty4.version}</version>
422 </dependency>
423
424 <dependency>
425 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700426 <artifactId>netty-transport-native-epoll</artifactId>
427 <version>${netty4.version}</version>
428 <classifier>${os.detected.classifier}</classifier>
429 </dependency>
430
431 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800432 <groupId>io.netty</groupId>
433 <artifactId>netty-resolver</artifactId>
434 <version>${netty4.version}</version>
435 </dependency>
436
437 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700438 <groupId>com.google.code.findbugs</groupId>
439 <artifactId>jsr305</artifactId>
440 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700441 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700442 </dependency>
443
444 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700445 <groupId>com.google.errorprone</groupId>
446 <artifactId>error_prone_annotations</artifactId>
447 <version>2.0.11</version>
448 </dependency>
449
450 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700451 <groupId>org.onosproject</groupId>
452 <artifactId>openflowj</artifactId>
453 <version>${openflowj.version}</version>
454 <scope>provided</scope>
455 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700456
457 <dependency>
458 <groupId>org.onosproject</groupId>
459 <artifactId>onos-yang-model</artifactId>
460 <version>${onos-yang-tools.version}</version>
461 </dependency>
462 <dependency>
463 <groupId>org.onosproject</groupId>
464 <artifactId>onos-yang-runtime</artifactId>
465 <version>${onos-yang-tools.version}</version>
466 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700467 <dependency>
468 <groupId>org.onosproject</groupId>
469 <artifactId>onos-yang-serializers-xml</artifactId>
470 <version>${onos-yang-tools.version}</version>
471 </dependency>
472 <dependency>
473 <groupId>org.onosproject</groupId>
474 <artifactId>onos-yang-serializers-json</artifactId>
475 <version>${onos-yang-tools.version}</version>
476 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700477 </dependencies>
478 </dependencyManagement>
479
480 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700481
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700482 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700483 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700484 <groupId>commons-configuration</groupId>
485 <artifactId>commons-configuration</artifactId>
486 </dependency>
487
488 <dependency>
489 <groupId>commons-logging</groupId>
490 <artifactId>commons-logging</artifactId>
491 </dependency>
492
493 <dependency>
494 <groupId>commons-collections</groupId>
495 <artifactId>commons-collections</artifactId>
496 </dependency>
497
498 <dependency>
499 <groupId>commons-lang</groupId>
500 <artifactId>commons-lang</artifactId>
501 </dependency>
502
503 <dependency>
504 <groupId>org.apache.commons</groupId>
505 <artifactId>commons-lang3</artifactId>
506 </dependency>
507
508 <dependency>
509 <groupId>commons-io</groupId>
510 <artifactId>commons-io</artifactId>
511 </dependency>
512
513 <dependency>
514 <groupId>commons-pool</groupId>
515 <artifactId>commons-pool</artifactId>
516 </dependency>
517
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700518<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700519 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700520 <groupId>org.objenesis</groupId>
521 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700522 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700523 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700524 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700525 <groupId>com.google.guava</groupId>
526 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700527 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700528
529<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700530 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700531 <groupId>io.netty</groupId>
532 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700533 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700534
535 <dependency>
536 <groupId>io.netty</groupId>
537 <artifactId>netty-buffer</artifactId>
538 </dependency>
539
540 <dependency>
541 <groupId>io.netty</groupId>
542 <artifactId>netty-common</artifactId>
543 </dependency>
544 -->
545
546 <dependency>
547 <groupId>com.eclipsesource.minimal-json</groupId>
548 <artifactId>minimal-json</artifactId>
549 </dependency>
550
551<!-- Fix buck? Kryo and transitive dependency.
552 <dependency>
553 <groupId>com.esotericsoftware</groupId>
554 <artifactId>kryo</artifactId>
555 </dependency>
556
557 <dependency>
558 <groupId>com.esotericsoftware</groupId>
559 <artifactId>reflectasm</artifactId>
560 </dependency>
561
562 <dependency>
563 <groupId>org.ow2.asm</groupId>
564 <artifactId>asm</artifactId>
565 </dependency>
566
567 <dependency>
568 <groupId>com.esotericsoftware</groupId>
569 <artifactId>minlog</artifactId>
570 </dependency>
571 -->
572<!-- Fix buck? everyone depending on metrics doesn't sound right.
573 <dependency>
574 <groupId>io.dropwizard.metrics</groupId>
575 <artifactId>metrics-core</artifactId>
576 </dependency>
577
578 <dependency>
579 <groupId>io.dropwizard.metrics</groupId>
580 <artifactId>metrics-json</artifactId>
581 </dependency>
582 -->
583
Thomas Vachuska43977572016-06-02 13:48:55 -0700584 <dependency>
585 <groupId>org.slf4j</groupId>
586 <artifactId>slf4j-api</artifactId>
587 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700588
589 <dependency>
590 <groupId>org.osgi</groupId>
591 <artifactId>org.osgi.core</artifactId>
592 </dependency>
593
594 <dependency>
595 <groupId>org.osgi</groupId>
596 <artifactId>org.osgi.compendium</artifactId>
597 </dependency>
598
599 <dependency>
600 <groupId>org.apache.felix</groupId>
601 <artifactId>org.apache.felix.scr.annotations</artifactId>
602 </dependency>
603
604 <dependency>
605 <groupId>org.apache.felix</groupId>
606 <artifactId>org.apache.felix.scr</artifactId>
607 </dependency>
608
609 <dependency>
610 <groupId>com.fasterxml.jackson.core</groupId>
611 <artifactId>jackson-annotations</artifactId>
612 </dependency>
613
614 <dependency>
615 <groupId>com.fasterxml.jackson.core</groupId>
616 <artifactId>jackson-core</artifactId>
617 </dependency>
618
619 <dependency>
620 <groupId>com.fasterxml.jackson.core</groupId>
621 <artifactId>jackson-databind</artifactId>
622 </dependency>
623
624 <dependency>
625 <groupId>org.apache.karaf.features</groupId>
626 <artifactId>org.apache.karaf.features.core</artifactId>
627 </dependency>
628
629 <dependency>
630 <groupId>org.apache.karaf.system</groupId>
631 <artifactId>org.apache.karaf.system.core</artifactId>
632 </dependency>
633
634 <!-- YANG stuff here? Fix buck?-->
635
636 <!-- TEST -->
637 <dependency>
638 <groupId>junit</groupId>
639 <artifactId>junit</artifactId>
640 <scope>test</scope>
641 </dependency>
642
643 <dependency>
644 <groupId>org.easymock</groupId>
645 <artifactId>easymock</artifactId>
646 <scope>test</scope>
647 </dependency>
648
649 <dependency>
650 <groupId>org.hamcrest</groupId>
651 <artifactId>hamcrest-core</artifactId>
652 <scope>test</scope>
653 </dependency>
654
655 <dependency>
656 <groupId>org.hamcrest</groupId>
657 <artifactId>hamcrest-library</artifactId>
658 <scope>test</scope>
659 </dependency>
660
661 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900662 <groupId>com.spotify</groupId>
663 <artifactId>hamcrest-optional</artifactId>
664 <scope>test</scope>
665 </dependency>
666
667 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700668 <groupId>com.google.guava</groupId>
669 <artifactId>guava-testlib</artifactId>
670 <scope>test</scope>
671 </dependency>
672
673 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700674 <dependency>
675 <groupId>org.slf4j</groupId>
676 <artifactId>slf4j-jdk14</artifactId>
677 </dependency>
678 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
679 Class not found: javax.annotation.Nullable
680 The following dependency alleviates this problem, but perhaps
681 it can be better located in the future. -->
682 <dependency>
683 <groupId>com.google.code.findbugs</groupId>
684 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700685 </dependency>
Sean Condonbf7d39b2017-11-04 18:34:53 +0000686
687 <dependency>
688 <groupId>io.grpc</groupId>
689 <artifactId>grpc-core</artifactId>
690 <version>${grpccore.version}</version>
691 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700692 </dependencies>
693
694 <build>
695 <pluginManagement>
696 <plugins>
697 <plugin>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-compiler-plugin</artifactId>
700 <!-- TODO: update once following issue is fixed. -->
701 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
702 <version>2.5.1</version>
703 <configuration>
704 <source>1.8</source>
705 <target>1.8</target>
706 </configuration>
707 </plugin>
708
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700712 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700713 <configuration>
714 <redirectTestOutputToFile>true</redirectTestOutputToFile>
715 <printSummary>true</printSummary>
716 <excludedGroups>org.onlab.junit.IntegrationTest
717 </excludedGroups>
718 <rerunFailingTestsCount>1</rerunFailingTestsCount>
719 </configuration>
720 </plugin>
721 <plugin>
722 <groupId>org.apache.maven.plugins</groupId>
723 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700724 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700725 <configuration>
726 <tags>
727 <tag>
728 <name>onos.rsModel</name>
729 <placement>m</placement>
730 <head>Json model for REST api:</head>
731 </tag>
732 </tags>
733 </configuration>
734 </plugin>
735 <plugin>
736 <groupId>org.apache.maven.plugins</groupId>
737 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700738 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700739 <configuration>
740 <skipIfEmpty>true</skipIfEmpty>
741 </configuration>
742 <executions>
743 <execution>
744 <id>default</id>
745 <goals>
746 <goal>test-jar</goal>
747 </goals>
748 </execution>
749 </executions>
750 </plugin>
751
752 <plugin>
753 <groupId>org.apache.maven.plugins</groupId>
754 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700755 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700756 </plugin>
757
758 <plugin>
759 <groupId>org.apache.felix</groupId>
760 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700761 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700762 <extensions>true</extensions>
763 <configuration>
764 <niceManifest>true</niceManifest>
765 </configuration>
766 </plugin>
767
768 <plugin>
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700771 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700772 </plugin>
773
774 <plugin>
775 <groupId>org.apache.felix</groupId>
776 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700777 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700778 <executions>
779 <execution>
780 <id>generate-scr-srcdescriptor</id>
781 <goals>
782 <goal>scr</goal>
783 </goals>
784 </execution>
785 </executions>
786 <configuration>
787 <supportedProjectTypes>
788 <supportedProjectType>bundle</supportedProjectType>
789 <supportedProjectType>war</supportedProjectType>
790 </supportedProjectTypes>
791 </configuration>
792 </plugin>
793 <plugin>
794 <groupId>org.codehaus.mojo</groupId>
795 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700796 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700797 <dependencies>
798 <dependency>
799 <groupId>org.onosproject</groupId>
800 <artifactId>onos-build-conf</artifactId>
801 <version>${onos-build-conf.version}</version>
802 </dependency>
803 </dependencies>
804 <configuration>
805 <effort>Max</effort>
806 <excludeFilterFile>onos/findbugs-suppressions.xml
807 </excludeFilterFile>
808 </configuration>
809 </plugin>
810
811 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
812 <plugin>
813 <groupId>org.onosproject</groupId>
814 <artifactId>onos-maven-plugin</artifactId>
815 <version>${onos-maven-plugin.version}</version>
816 <executions>
817 <execution>
818 <id>cfg</id>
819 <phase>generate-resources</phase>
820 <goals>
821 <goal>cfg</goal>
822 </goals>
823 </execution>
824 <execution>
825 <id>swagger</id>
826 <phase>generate-sources</phase>
827 <goals>
828 <goal>swagger</goal>
829 </goals>
830 </execution>
831 <execution>
832 <id>app</id>
833 <phase>package</phase>
834 <goals>
835 <goal>app</goal>
836 </goals>
837 </execution>
838 </executions>
839 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700840
841 <plugin>
842 <groupId>org.onosproject</groupId>
843 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
844 <version>${onos-yang-tools.version}</version>
845 <executions>
846 <execution>
847 <goals>
848 <goal>yang2java</goal>
849 </goals>
850 </execution>
851 </executions>
852 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700853 </plugins>
854 </pluginManagement>
855
856 <plugins>
857 <plugin>
858 <groupId>org.apache.maven.plugins</groupId>
859 <artifactId>maven-jar-plugin</artifactId>
860 </plugin>
861
862 <plugin>
863 <groupId>org.apache.maven.plugins</groupId>
864 <artifactId>maven-checkstyle-plugin</artifactId>
865 <version>2.17</version>
866 <dependencies>
867 <dependency>
868 <groupId>org.onosproject</groupId>
869 <artifactId>onos-build-conf</artifactId>
870 <version>${onos-build-conf.version}</version>
871 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700872 <dependency>
873 <groupId>com.puppycrawl.tools</groupId>
874 <artifactId>checkstyle</artifactId>
875 <version>6.19</version>
876 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700877 </dependencies>
878 <configuration>
879 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
880 <sourceDirectory>${project.build.sourceDirectory}
881 </sourceDirectory>
882 <testSourceDirectory>${project.build.testSourceDirectory}
883 </testSourceDirectory>
884 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700885 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700886 <suppressionsLocation>onos/suppressions.xml
887 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700888 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700889 <failsOnError>false</failsOnError>
890 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700891 <includeTestSourceDirectory>true</includeTestSourceDirectory>
892 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700893 </configuration>
894 <executions>
895 <execution>
896 <id>validate-checkstyle</id>
897 <phase>verify</phase>
898 <goals>
899 <goal>check</goal>
900 </goals>
901 </execution>
902 </executions>
903 </plugin>
904
905 <plugin>
906 <groupId>org.apache.maven.plugins</groupId>
907 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700908 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700909 <configuration>
910 <excludes>
911 </excludes>
912 <rulesets>
913 <ruleset>onos/pmd.xml</ruleset>
914 </rulesets>
915 </configuration>
916 <executions>
917 <execution>
918 <id>validate-pmd</id>
919 <phase>verify</phase>
920 <goals>
921 <!-- Uncomment this goal to make the build fail on pmd errors -->
922 <!--<goal>check</goal>-->
923 </goals>
924 </execution>
925 </executions>
926 </plugin>
927
928 <plugin>
929 <groupId>org.jacoco</groupId>
930 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700931 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700932 <executions>
933 <execution>
934 <id>default-prepare-agent</id>
935 <goals>
936 <goal>prepare-agent</goal>
937 </goals>
938 </execution>
939 <execution>
940 <id>default-report</id>
941 <phase>prepare-package</phase>
942 <goals>
943 <goal>report</goal>
944 </goals>
945 </execution>
946 </executions>
947 </plugin>
948 </plugins>
949 </build>
950
951 <reporting>
952 <plugins>
953 <plugin>
954 <groupId>org.apache.maven.plugins</groupId>
955 <artifactId>maven-checkstyle-plugin</artifactId>
956 <configuration>
957 <configLocation>onos/checkstyle.xml</configLocation>
958 </configuration>
959 </plugin>
960
961 <plugin>
962 <groupId>org.apache.maven.plugins</groupId>
963 <artifactId>maven-pmd-plugin</artifactId>
964 <configuration>
965 <excludes>
966 </excludes>
967 <rulesets>
968 <ruleset>onos/pmd.xml</ruleset>
969 </rulesets>
970 </configuration>
971 </plugin>
972 </plugins>
973 </reporting>
974</project>