blob: bae6e67b0b4a96ee8c34ad47ae865056651a90dd [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 Milkeydc48fb22017-09-26 14:42:24 -070032 <version>1.12.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 Milkeydc48fb22017-09-26 14:42:24 -070039 <onos-build-conf.version>1.12.0-SNAPSHOT</onos-build-conf.version>
Aaron Kruglikov0c9b9ae2017-06-13 18:31:59 -070040 <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 Milkey54594232017-09-01 10:19:17 -070043 <onos-yang-tools.version>2.2.0</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>
Jian Li7afc1722017-05-23 01:20:27 +090048 <jackson.version>2.8.8</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>
Thomas Vachuska43977572016-06-02 13:48:55 -070051 <commons.io.version>2.4</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>
57 </properties>
58
59 <dependencyManagement>
60 <dependencies>
61 <dependency>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <version>4.12</version>
65 <scope>test</scope>
66 </dependency>
67
68 <dependency>
69 <groupId>org.hamcrest</groupId>
70 <artifactId>hamcrest-core</artifactId>
71 <version>1.3</version>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.hamcrest</groupId>
76 <artifactId>hamcrest-library</artifactId>
77 <version>1.3</version>
78 <scope>test</scope>
79 </dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +090080 <dependency>
81 <groupId>com.spotify</groupId>
82 <artifactId>hamcrest-optional</artifactId>
83 <version>1.1.0</version>
84 <scope>test</scope>
85 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -070086
87 <dependency>
88 <groupId>org.slf4j</groupId>
89 <artifactId>slf4j-api</artifactId>
90 <version>${slf4j.version}</version>
91 <scope>provided</scope>
92 </dependency>
93
94 <dependency>
95 <groupId>org.slf4j</groupId>
96 <artifactId>slf4j-core</artifactId>
97 <version>${slf4j.version}</version>
98 <scope>test</scope>
99 </dependency>
100
101 <dependency>
102 <groupId>org.slf4j</groupId>
103 <artifactId>slf4j-jdk14</artifactId>
104 <version>${slf4j.version}</version>
105 <scope>test</scope>
106 </dependency>
107
108 <dependency>
109 <groupId>com.google.guava</groupId>
110 <artifactId>guava</artifactId>
111 <version>${guava.version}</version>
112 </dependency>
113
114 <dependency>
115 <groupId>com.google.guava</groupId>
116 <artifactId>guava-testlib</artifactId>
117 <version>${guava.version}</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>com.googlecode.concurrent-trees</groupId>
123 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI9da68452017-01-06 11:45:02 -0800124 <version>2.6.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700125 </dependency>
126
127 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700128 <groupId>commons-collections</groupId>
129 <artifactId>commons-collections</artifactId>
130 <version>3.2.2</version>
131 </dependency>
132
133 <dependency>
134 <groupId>commons-configuration</groupId>
135 <artifactId>commons-configuration</artifactId>
136 <version>1.10</version>
137 </dependency>
138
139 <dependency>
140 <groupId>commons-io</groupId>
141 <artifactId>commons-io</artifactId>
142 <version>2.4</version>
143 </dependency>
144
145 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700146 <groupId>commons-lang</groupId>
147 <artifactId>commons-lang</artifactId>
148 <version>2.6</version>
149 </dependency>
150
151 <dependency>
152 <groupId>org.apache.commons</groupId>
153 <artifactId>commons-lang3</artifactId>
Yuta HIGUCHI5fd61a82017-02-02 12:30:38 -0800154 <version>3.5</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700155 </dependency>
156
157 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700158 <groupId>commons-logging</groupId>
159 <artifactId>commons-logging</artifactId>
160 <version>1.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700161 </dependency>
162
163 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700164 <groupId>org.apache.commons</groupId>
165 <artifactId>commons-math3</artifactId>
166 <version>3.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700167 </dependency>
168
169 <dependency>
170 <groupId>commons-pool</groupId>
171 <artifactId>commons-pool</artifactId>
172 <version>1.6</version>
173 </dependency>
174
175 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700176 <groupId>io.dropwizard.metrics</groupId>
177 <artifactId>metrics-core</artifactId>
178 <version>3.2.2</version>
179 </dependency>
180
181 <dependency>
182 <groupId>io.dropwizard.metrics</groupId>
183 <artifactId>metrics-json</artifactId>
184 <version>3.2.2</version>
185 </dependency>
186
187 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700188 <groupId>org.easymock</groupId>
189 <artifactId>easymock</artifactId>
190 <version>3.4</version>
191 <scope>test</scope>
192 </dependency>
193
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700194 <dependency>
195 <groupId>org.apache.sshd</groupId>
196 <artifactId>sshd-core</artifactId>
197 <version>1.4.0</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.bouncycastle</groupId>
202 <artifactId>bcpkix-jdk15on</artifactId>
203 <version>${bouncycastle.version}</version>
204 </dependency>
205
206 <dependency>
207 <groupId>org.bouncycastle</groupId>
208 <artifactId>bcprov-jdk15on</artifactId>
209 <version>${bouncycastle.version}</version>
210 </dependency>
211
212
Thomas Vachuska43977572016-06-02 13:48:55 -0700213 <!-- Web related -->
214 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700215 <groupId>javax.servlet</groupId>
216 <artifactId>javax.servlet-api</artifactId>
217 <version>3.1.0</version>
218 <scope>test</scope>
219 </dependency>
220 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700221 <groupId>org.glassfish.jersey.core</groupId>
222 <artifactId>jersey-client</artifactId>
223 <version>${jersey.version}</version>
224 </dependency>
225 <dependency>
226 <groupId>org.glassfish.jersey.containers</groupId>
227 <artifactId>jersey-container-servlet</artifactId>
228 <version>${jersey.version}</version>
229 <scope>provided</scope>
230 </dependency>
231 <dependency>
232 <groupId>org.glassfish.jersey.containers</groupId>
233 <artifactId>jersey-container-servlet-core</artifactId>
234 <version>${jersey.version}</version>
235 <scope>provided</scope>
236 </dependency>
237 <dependency>
238 <groupId>org.glassfish.jersey.media</groupId>
239 <artifactId>jersey-media-multipart</artifactId>
240 <version>${jersey.version}</version>
241 <scope>provided</scope>
242 </dependency>
243 <dependency>
244 <groupId>org.glassfish.jersey.test-framework</groupId>
245 <artifactId>jersey-test-framework-core</artifactId>
246 <version>${jersey.version}</version>
247 <scope>test</scope>
248 </dependency>
249 <dependency>
250 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
251 <artifactId>jersey-test-framework-provider-jetty</artifactId>
252 <version>${jersey.version}</version>
253 <scope>test</scope>
254 </dependency>
255 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700256 <groupId>org.eclipse.jetty</groupId>
257 <artifactId>jetty-server</artifactId>
258 <version>${jetty.version}</version>
259 <scope>test</scope>
260 </dependency>
261 <dependency>
262 <groupId>org.eclipse.jetty</groupId>
263 <artifactId>jetty-util</artifactId>
264 <version>${jetty.version}</version>
265 </dependency>
266 <dependency>
267 <groupId>org.eclipse.jetty</groupId>
268 <artifactId>jetty-io</artifactId>
269 <version>${jetty.version}</version>
270 </dependency>
271 <dependency>
272 <groupId>org.eclipse.jetty</groupId>
273 <artifactId>jetty-http</artifactId>
274 <version>${jetty.version}</version>
275 </dependency>
276 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-databind</artifactId>
279 <version>${jackson.version}</version>
280 <scope>provided</scope>
281 </dependency>
282 <dependency>
283 <groupId>com.fasterxml.jackson.core</groupId>
284 <artifactId>jackson-annotations</artifactId>
285 <version>${jackson.version}</version>
286 <scope>provided</scope>
287 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700288 <dependency>
289 <groupId>com.fasterxml.jackson.core</groupId>
290 <artifactId>jackson-core</artifactId>
291 <version>${jackson.version}</version>
292 <scope>provided</scope>
293 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700294
295 <!-- OSGi related -->
296 <dependency>
297 <groupId>org.osgi</groupId>
298 <artifactId>org.osgi.core</artifactId>
299 <version>${osgi.version}</version>
300 <scope>provided</scope>
301 </dependency>
302 <dependency>
303 <groupId>org.osgi</groupId>
304 <artifactId>org.osgi.compendium</artifactId>
305 <version>${osgi.version}</version>
306 <scope>provided</scope>
307 </dependency>
308 <dependency>
309 <groupId>org.apache.felix</groupId>
310 <artifactId>org.apache.felix.scr.annotations</artifactId>
311 <version>1.9.12</version>
312 <scope>provided</scope>
313 </dependency>
314 <dependency>
315 <groupId>org.apache.felix</groupId>
316 <artifactId>org.apache.felix.scr</artifactId>
317 <version>1.8.2</version>
318 </dependency>
319
320 <dependency>
321 <groupId>org.apache.karaf.features</groupId>
322 <artifactId>org.apache.karaf.features.core</artifactId>
323 <version>${karaf.version}</version>
324 <scope>provided</scope>
325 </dependency>
326 <dependency>
327 <groupId>org.apache.karaf.system</groupId>
328 <artifactId>org.apache.karaf.system.core</artifactId>
329 <version>${karaf.version}</version>
330 <scope>provided</scope>
331 </dependency>
332 <dependency>
333 <groupId>org.apache.karaf.shell</groupId>
334 <artifactId>org.apache.karaf.shell.console</artifactId>
335 <version>${karaf.version}</version>
336 <scope>provided</scope>
337 </dependency>
338
339 <dependency>
340 <groupId>org.livetribe.slp</groupId>
341 <artifactId>livetribe-slp</artifactId>
342 <version>2.2.1</version>
343 </dependency>
344
345 <dependency>
346 <groupId>com.eclipsesource.minimal-json</groupId>
347 <artifactId>minimal-json</artifactId>
348 <version>0.9.4</version>
349 </dependency>
350 <dependency>
351 <groupId>com.esotericsoftware</groupId>
352 <artifactId>kryo</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700353 <version>4.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700354 </dependency>
355 <dependency>
356 <groupId>com.esotericsoftware</groupId>
357 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700358 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700359 </dependency>
360 <dependency>
361 <groupId>org.ow2.asm</groupId>
362 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700363 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700364 </dependency>
365 <dependency>
366 <groupId>com.esotericsoftware</groupId>
367 <artifactId>minlog</artifactId>
368 <version>1.3.0</version>
369 </dependency>
370 <dependency>
371 <groupId>org.objenesis</groupId>
372 <artifactId>objenesis</artifactId>
373 <version>2.2</version>
374 </dependency>
375
376 <!-- Netty related; for now we require both 3.10.x and 4 -->
377 <dependency>
378 <groupId>io.netty</groupId>
379 <artifactId>netty</artifactId>
380 <version>3.10.5.Final</version>
381 </dependency>
382
383 <dependency>
384 <groupId>io.netty</groupId>
385 <artifactId>netty-common</artifactId>
386 <version>${netty4.version}</version>
387 </dependency>
388 <dependency>
389 <groupId>io.netty</groupId>
390 <artifactId>netty-buffer</artifactId>
391 <version>${netty4.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>io.netty</groupId>
395 <artifactId>netty-transport</artifactId>
396 <version>${netty4.version}</version>
397 </dependency>
398 <dependency>
399 <groupId>io.netty</groupId>
400 <artifactId>netty-handler</artifactId>
401 <version>${netty4.version}</version>
402 </dependency>
403
404 <dependency>
405 <groupId>io.netty</groupId>
406 <artifactId>netty-codec</artifactId>
407 <version>${netty4.version}</version>
408 </dependency>
409
410 <dependency>
411 <groupId>io.netty</groupId>
412 <artifactId>netty-transport-native-epoll</artifactId>
413 <version>${netty4.version}</version>
414 <classifier>${os.detected.classifier}</classifier>
415 </dependency>
416
417 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800418 <groupId>io.netty</groupId>
419 <artifactId>netty-resolver</artifactId>
420 <version>${netty4.version}</version>
421 </dependency>
422
423 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700424 <groupId>joda-time</groupId>
425 <artifactId>joda-time</artifactId>
426 <version>2.9.3</version>
427 </dependency>
428
429 <dependency>
430 <groupId>com.google.code.findbugs</groupId>
431 <artifactId>jsr305</artifactId>
432 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700433 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700434 </dependency>
435
436 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700437 <groupId>com.google.errorprone</groupId>
438 <artifactId>error_prone_annotations</artifactId>
439 <version>2.0.11</version>
440 </dependency>
441
442 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700443 <groupId>org.onosproject</groupId>
444 <artifactId>openflowj</artifactId>
445 <version>${openflowj.version}</version>
446 <scope>provided</scope>
447 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700448
449 <dependency>
450 <groupId>org.onosproject</groupId>
451 <artifactId>onos-yang-model</artifactId>
452 <version>${onos-yang-tools.version}</version>
453 </dependency>
454 <dependency>
455 <groupId>org.onosproject</groupId>
456 <artifactId>onos-yang-runtime</artifactId>
457 <version>${onos-yang-tools.version}</version>
458 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700459 <dependency>
460 <groupId>org.onosproject</groupId>
461 <artifactId>onos-yang-serializers-xml</artifactId>
462 <version>${onos-yang-tools.version}</version>
463 </dependency>
464 <dependency>
465 <groupId>org.onosproject</groupId>
466 <artifactId>onos-yang-serializers-json</artifactId>
467 <version>${onos-yang-tools.version}</version>
468 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700469 </dependencies>
470 </dependencyManagement>
471
472 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700473
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700474 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700475 <dependency>
476 <groupId>joda-time</groupId>
477 <artifactId>joda-time</artifactId>
478 </dependency>
479
480 <dependency>
481 <groupId>commons-configuration</groupId>
482 <artifactId>commons-configuration</artifactId>
483 </dependency>
484
485 <dependency>
486 <groupId>commons-logging</groupId>
487 <artifactId>commons-logging</artifactId>
488 </dependency>
489
490 <dependency>
491 <groupId>commons-collections</groupId>
492 <artifactId>commons-collections</artifactId>
493 </dependency>
494
495 <dependency>
496 <groupId>commons-lang</groupId>
497 <artifactId>commons-lang</artifactId>
498 </dependency>
499
500 <dependency>
501 <groupId>org.apache.commons</groupId>
502 <artifactId>commons-lang3</artifactId>
503 </dependency>
504
505 <dependency>
506 <groupId>commons-io</groupId>
507 <artifactId>commons-io</artifactId>
508 </dependency>
509
510 <dependency>
511 <groupId>commons-pool</groupId>
512 <artifactId>commons-pool</artifactId>
513 </dependency>
514
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700515<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700516 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700517 <groupId>org.objenesis</groupId>
518 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700519 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700520 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700521 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700522 <groupId>com.google.guava</groupId>
523 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700524 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700525
526<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700527 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700528 <groupId>io.netty</groupId>
529 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700530 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700531
532 <dependency>
533 <groupId>io.netty</groupId>
534 <artifactId>netty-buffer</artifactId>
535 </dependency>
536
537 <dependency>
538 <groupId>io.netty</groupId>
539 <artifactId>netty-common</artifactId>
540 </dependency>
541 -->
542
543 <dependency>
544 <groupId>com.eclipsesource.minimal-json</groupId>
545 <artifactId>minimal-json</artifactId>
546 </dependency>
547
548<!-- Fix buck? Kryo and transitive dependency.
549 <dependency>
550 <groupId>com.esotericsoftware</groupId>
551 <artifactId>kryo</artifactId>
552 </dependency>
553
554 <dependency>
555 <groupId>com.esotericsoftware</groupId>
556 <artifactId>reflectasm</artifactId>
557 </dependency>
558
559 <dependency>
560 <groupId>org.ow2.asm</groupId>
561 <artifactId>asm</artifactId>
562 </dependency>
563
564 <dependency>
565 <groupId>com.esotericsoftware</groupId>
566 <artifactId>minlog</artifactId>
567 </dependency>
568 -->
569<!-- Fix buck? everyone depending on metrics doesn't sound right.
570 <dependency>
571 <groupId>io.dropwizard.metrics</groupId>
572 <artifactId>metrics-core</artifactId>
573 </dependency>
574
575 <dependency>
576 <groupId>io.dropwizard.metrics</groupId>
577 <artifactId>metrics-json</artifactId>
578 </dependency>
579 -->
580
Thomas Vachuska43977572016-06-02 13:48:55 -0700581 <dependency>
582 <groupId>org.slf4j</groupId>
583 <artifactId>slf4j-api</artifactId>
584 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700585
586 <dependency>
587 <groupId>org.osgi</groupId>
588 <artifactId>org.osgi.core</artifactId>
589 </dependency>
590
591 <dependency>
592 <groupId>org.osgi</groupId>
593 <artifactId>org.osgi.compendium</artifactId>
594 </dependency>
595
596 <dependency>
597 <groupId>org.apache.felix</groupId>
598 <artifactId>org.apache.felix.scr.annotations</artifactId>
599 </dependency>
600
601 <dependency>
602 <groupId>org.apache.felix</groupId>
603 <artifactId>org.apache.felix.scr</artifactId>
604 </dependency>
605
606 <dependency>
607 <groupId>com.fasterxml.jackson.core</groupId>
608 <artifactId>jackson-annotations</artifactId>
609 </dependency>
610
611 <dependency>
612 <groupId>com.fasterxml.jackson.core</groupId>
613 <artifactId>jackson-core</artifactId>
614 </dependency>
615
616 <dependency>
617 <groupId>com.fasterxml.jackson.core</groupId>
618 <artifactId>jackson-databind</artifactId>
619 </dependency>
620
621 <dependency>
622 <groupId>org.apache.karaf.features</groupId>
623 <artifactId>org.apache.karaf.features.core</artifactId>
624 </dependency>
625
626 <dependency>
627 <groupId>org.apache.karaf.system</groupId>
628 <artifactId>org.apache.karaf.system.core</artifactId>
629 </dependency>
630
631 <!-- YANG stuff here? Fix buck?-->
632
633 <!-- TEST -->
634 <dependency>
635 <groupId>junit</groupId>
636 <artifactId>junit</artifactId>
637 <scope>test</scope>
638 </dependency>
639
640 <dependency>
641 <groupId>org.easymock</groupId>
642 <artifactId>easymock</artifactId>
643 <scope>test</scope>
644 </dependency>
645
646 <dependency>
647 <groupId>org.hamcrest</groupId>
648 <artifactId>hamcrest-core</artifactId>
649 <scope>test</scope>
650 </dependency>
651
652 <dependency>
653 <groupId>org.hamcrest</groupId>
654 <artifactId>hamcrest-library</artifactId>
655 <scope>test</scope>
656 </dependency>
657
658 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900659 <groupId>com.spotify</groupId>
660 <artifactId>hamcrest-optional</artifactId>
661 <scope>test</scope>
662 </dependency>
663
664 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700665 <groupId>com.google.guava</groupId>
666 <artifactId>guava-testlib</artifactId>
667 <scope>test</scope>
668 </dependency>
669
670 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700671 <dependency>
672 <groupId>org.slf4j</groupId>
673 <artifactId>slf4j-jdk14</artifactId>
674 </dependency>
675 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
676 Class not found: javax.annotation.Nullable
677 The following dependency alleviates this problem, but perhaps
678 it can be better located in the future. -->
679 <dependency>
680 <groupId>com.google.code.findbugs</groupId>
681 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700682 </dependency>
683 </dependencies>
684
685 <build>
686 <pluginManagement>
687 <plugins>
688 <plugin>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-compiler-plugin</artifactId>
691 <!-- TODO: update once following issue is fixed. -->
692 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
693 <version>2.5.1</version>
694 <configuration>
695 <source>1.8</source>
696 <target>1.8</target>
697 </configuration>
698 </plugin>
699
700 <plugin>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700703 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700704 <configuration>
705 <redirectTestOutputToFile>true</redirectTestOutputToFile>
706 <printSummary>true</printSummary>
707 <excludedGroups>org.onlab.junit.IntegrationTest
708 </excludedGroups>
709 <rerunFailingTestsCount>1</rerunFailingTestsCount>
710 </configuration>
711 </plugin>
712 <plugin>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700715 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700716 <configuration>
717 <tags>
718 <tag>
719 <name>onos.rsModel</name>
720 <placement>m</placement>
721 <head>Json model for REST api:</head>
722 </tag>
723 </tags>
724 </configuration>
725 </plugin>
726 <plugin>
727 <groupId>org.apache.maven.plugins</groupId>
728 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700729 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700730 <configuration>
731 <skipIfEmpty>true</skipIfEmpty>
732 </configuration>
733 <executions>
734 <execution>
735 <id>default</id>
736 <goals>
737 <goal>test-jar</goal>
738 </goals>
739 </execution>
740 </executions>
741 </plugin>
742
743 <plugin>
744 <groupId>org.apache.maven.plugins</groupId>
745 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700746 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700747 </plugin>
748
749 <plugin>
750 <groupId>org.apache.felix</groupId>
751 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700752 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700753 <extensions>true</extensions>
754 <configuration>
755 <niceManifest>true</niceManifest>
756 </configuration>
757 </plugin>
758
759 <plugin>
760 <groupId>org.apache.maven.plugins</groupId>
761 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700762 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700763 </plugin>
764
765 <plugin>
766 <groupId>org.apache.felix</groupId>
767 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700768 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700769 <executions>
770 <execution>
771 <id>generate-scr-srcdescriptor</id>
772 <goals>
773 <goal>scr</goal>
774 </goals>
775 </execution>
776 </executions>
777 <configuration>
778 <supportedProjectTypes>
779 <supportedProjectType>bundle</supportedProjectType>
780 <supportedProjectType>war</supportedProjectType>
781 </supportedProjectTypes>
782 </configuration>
783 </plugin>
784 <plugin>
785 <groupId>org.codehaus.mojo</groupId>
786 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700787 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700788 <dependencies>
789 <dependency>
790 <groupId>org.onosproject</groupId>
791 <artifactId>onos-build-conf</artifactId>
792 <version>${onos-build-conf.version}</version>
793 </dependency>
794 </dependencies>
795 <configuration>
796 <effort>Max</effort>
797 <excludeFilterFile>onos/findbugs-suppressions.xml
798 </excludeFilterFile>
799 </configuration>
800 </plugin>
801
802 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
803 <plugin>
804 <groupId>org.onosproject</groupId>
805 <artifactId>onos-maven-plugin</artifactId>
806 <version>${onos-maven-plugin.version}</version>
807 <executions>
808 <execution>
809 <id>cfg</id>
810 <phase>generate-resources</phase>
811 <goals>
812 <goal>cfg</goal>
813 </goals>
814 </execution>
815 <execution>
816 <id>swagger</id>
817 <phase>generate-sources</phase>
818 <goals>
819 <goal>swagger</goal>
820 </goals>
821 </execution>
822 <execution>
823 <id>app</id>
824 <phase>package</phase>
825 <goals>
826 <goal>app</goal>
827 </goals>
828 </execution>
829 </executions>
830 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700831
832 <plugin>
833 <groupId>org.onosproject</groupId>
834 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
835 <version>${onos-yang-tools.version}</version>
836 <executions>
837 <execution>
838 <goals>
839 <goal>yang2java</goal>
840 </goals>
841 </execution>
842 </executions>
843 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700844 </plugins>
845 </pluginManagement>
846
847 <plugins>
848 <plugin>
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-jar-plugin</artifactId>
851 </plugin>
852
853 <plugin>
854 <groupId>org.apache.maven.plugins</groupId>
855 <artifactId>maven-checkstyle-plugin</artifactId>
856 <version>2.17</version>
857 <dependencies>
858 <dependency>
859 <groupId>org.onosproject</groupId>
860 <artifactId>onos-build-conf</artifactId>
861 <version>${onos-build-conf.version}</version>
862 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700863 <dependency>
864 <groupId>com.puppycrawl.tools</groupId>
865 <artifactId>checkstyle</artifactId>
866 <version>6.19</version>
867 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700868 </dependencies>
869 <configuration>
870 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
871 <sourceDirectory>${project.build.sourceDirectory}
872 </sourceDirectory>
873 <testSourceDirectory>${project.build.testSourceDirectory}
874 </testSourceDirectory>
875 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700876 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700877 <suppressionsLocation>onos/suppressions.xml
878 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700879 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700880 <failsOnError>false</failsOnError>
881 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700882 <includeTestSourceDirectory>true</includeTestSourceDirectory>
883 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700884 </configuration>
885 <executions>
886 <execution>
887 <id>validate-checkstyle</id>
888 <phase>verify</phase>
889 <goals>
890 <goal>check</goal>
891 </goals>
892 </execution>
893 </executions>
894 </plugin>
895
896 <plugin>
897 <groupId>org.apache.maven.plugins</groupId>
898 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700899 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700900 <configuration>
901 <excludes>
902 </excludes>
903 <rulesets>
904 <ruleset>onos/pmd.xml</ruleset>
905 </rulesets>
906 </configuration>
907 <executions>
908 <execution>
909 <id>validate-pmd</id>
910 <phase>verify</phase>
911 <goals>
912 <!-- Uncomment this goal to make the build fail on pmd errors -->
913 <!--<goal>check</goal>-->
914 </goals>
915 </execution>
916 </executions>
917 </plugin>
918
919 <plugin>
920 <groupId>org.jacoco</groupId>
921 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700922 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700923 <executions>
924 <execution>
925 <id>default-prepare-agent</id>
926 <goals>
927 <goal>prepare-agent</goal>
928 </goals>
929 </execution>
930 <execution>
931 <id>default-report</id>
932 <phase>prepare-package</phase>
933 <goals>
934 <goal>report</goal>
935 </goals>
936 </execution>
937 </executions>
938 </plugin>
939 </plugins>
940 </build>
941
942 <reporting>
943 <plugins>
944 <plugin>
945 <groupId>org.apache.maven.plugins</groupId>
946 <artifactId>maven-checkstyle-plugin</artifactId>
947 <configuration>
948 <configLocation>onos/checkstyle.xml</configLocation>
949 </configuration>
950 </plugin>
951
952 <plugin>
953 <groupId>org.apache.maven.plugins</groupId>
954 <artifactId>maven-pmd-plugin</artifactId>
955 <configuration>
956 <excludes>
957 </excludes>
958 <rulesets>
959 <ruleset>onos/pmd.xml</ruleset>
960 </rulesets>
961 </configuration>
962 </plugin>
963 </plugins>
964 </reporting>
965</project>