blob: 07ef09b6cd3296c25e7fd161ab2cd6f2490f9d5b [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 Milkeyaa279c02017-08-16 13:23:59 -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 Milkeyaa279c02017-08-16 13:23:59 -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>
80
81 <dependency>
82 <groupId>org.slf4j</groupId>
83 <artifactId>slf4j-api</artifactId>
84 <version>${slf4j.version}</version>
85 <scope>provided</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>org.slf4j</groupId>
90 <artifactId>slf4j-core</artifactId>
91 <version>${slf4j.version}</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
97 <artifactId>slf4j-jdk14</artifactId>
98 <version>${slf4j.version}</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava</artifactId>
105 <version>${guava.version}</version>
106 </dependency>
107
108 <dependency>
109 <groupId>com.google.guava</groupId>
110 <artifactId>guava-testlib</artifactId>
111 <version>${guava.version}</version>
112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>com.googlecode.concurrent-trees</groupId>
117 <artifactId>concurrent-trees</artifactId>
Yuta HIGUCHI9da68452017-01-06 11:45:02 -0800118 <version>2.6.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700119 </dependency>
120
121 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700122 <groupId>commons-collections</groupId>
123 <artifactId>commons-collections</artifactId>
124 <version>3.2.2</version>
125 </dependency>
126
127 <dependency>
128 <groupId>commons-configuration</groupId>
129 <artifactId>commons-configuration</artifactId>
130 <version>1.10</version>
131 </dependency>
132
133 <dependency>
134 <groupId>commons-io</groupId>
135 <artifactId>commons-io</artifactId>
136 <version>2.4</version>
137 </dependency>
138
139 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700140 <groupId>commons-lang</groupId>
141 <artifactId>commons-lang</artifactId>
142 <version>2.6</version>
143 </dependency>
144
145 <dependency>
146 <groupId>org.apache.commons</groupId>
147 <artifactId>commons-lang3</artifactId>
Yuta HIGUCHI5fd61a82017-02-02 12:30:38 -0800148 <version>3.5</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700149 </dependency>
150
151 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700152 <groupId>commons-logging</groupId>
153 <artifactId>commons-logging</artifactId>
154 <version>1.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700155 </dependency>
156
157 <dependency>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-math3</artifactId>
160 <version>3.6.1</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700161 </dependency>
162
163 <dependency>
164 <groupId>commons-pool</groupId>
165 <artifactId>commons-pool</artifactId>
166 <version>1.6</version>
167 </dependency>
168
169 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700170 <groupId>io.dropwizard.metrics</groupId>
171 <artifactId>metrics-core</artifactId>
172 <version>3.2.2</version>
173 </dependency>
174
175 <dependency>
176 <groupId>io.dropwizard.metrics</groupId>
177 <artifactId>metrics-json</artifactId>
178 <version>3.2.2</version>
179 </dependency>
180
181 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700182 <groupId>org.easymock</groupId>
183 <artifactId>easymock</artifactId>
184 <version>3.4</version>
185 <scope>test</scope>
186 </dependency>
187
Yuta HIGUCHI923a7782017-09-05 13:04:47 -0700188 <dependency>
189 <groupId>org.apache.sshd</groupId>
190 <artifactId>sshd-core</artifactId>
191 <version>1.4.0</version>
192 </dependency>
193
194 <dependency>
195 <groupId>org.bouncycastle</groupId>
196 <artifactId>bcpkix-jdk15on</artifactId>
197 <version>${bouncycastle.version}</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.bouncycastle</groupId>
202 <artifactId>bcprov-jdk15on</artifactId>
203 <version>${bouncycastle.version}</version>
204 </dependency>
205
206
Thomas Vachuska43977572016-06-02 13:48:55 -0700207 <!-- Web related -->
208 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700209 <groupId>javax.servlet</groupId>
210 <artifactId>javax.servlet-api</artifactId>
211 <version>3.1.0</version>
212 <scope>test</scope>
213 </dependency>
214 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700215 <groupId>org.glassfish.jersey.core</groupId>
216 <artifactId>jersey-client</artifactId>
217 <version>${jersey.version}</version>
218 </dependency>
219 <dependency>
220 <groupId>org.glassfish.jersey.containers</groupId>
221 <artifactId>jersey-container-servlet</artifactId>
222 <version>${jersey.version}</version>
223 <scope>provided</scope>
224 </dependency>
225 <dependency>
226 <groupId>org.glassfish.jersey.containers</groupId>
227 <artifactId>jersey-container-servlet-core</artifactId>
228 <version>${jersey.version}</version>
229 <scope>provided</scope>
230 </dependency>
231 <dependency>
232 <groupId>org.glassfish.jersey.media</groupId>
233 <artifactId>jersey-media-multipart</artifactId>
234 <version>${jersey.version}</version>
235 <scope>provided</scope>
236 </dependency>
237 <dependency>
238 <groupId>org.glassfish.jersey.test-framework</groupId>
239 <artifactId>jersey-test-framework-core</artifactId>
240 <version>${jersey.version}</version>
241 <scope>test</scope>
242 </dependency>
243 <dependency>
244 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
245 <artifactId>jersey-test-framework-provider-jetty</artifactId>
246 <version>${jersey.version}</version>
247 <scope>test</scope>
248 </dependency>
249 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700250 <groupId>org.eclipse.jetty</groupId>
251 <artifactId>jetty-server</artifactId>
252 <version>${jetty.version}</version>
253 <scope>test</scope>
254 </dependency>
255 <dependency>
256 <groupId>org.eclipse.jetty</groupId>
257 <artifactId>jetty-util</artifactId>
258 <version>${jetty.version}</version>
259 </dependency>
260 <dependency>
261 <groupId>org.eclipse.jetty</groupId>
262 <artifactId>jetty-io</artifactId>
263 <version>${jetty.version}</version>
264 </dependency>
265 <dependency>
266 <groupId>org.eclipse.jetty</groupId>
267 <artifactId>jetty-http</artifactId>
268 <version>${jetty.version}</version>
269 </dependency>
270 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700271 <groupId>com.fasterxml.jackson.core</groupId>
272 <artifactId>jackson-databind</artifactId>
273 <version>${jackson.version}</version>
274 <scope>provided</scope>
275 </dependency>
276 <dependency>
277 <groupId>com.fasterxml.jackson.core</groupId>
278 <artifactId>jackson-annotations</artifactId>
279 <version>${jackson.version}</version>
280 <scope>provided</scope>
281 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700282 <dependency>
283 <groupId>com.fasterxml.jackson.core</groupId>
284 <artifactId>jackson-core</artifactId>
285 <version>${jackson.version}</version>
286 <scope>provided</scope>
287 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700288
289 <!-- OSGi related -->
290 <dependency>
291 <groupId>org.osgi</groupId>
292 <artifactId>org.osgi.core</artifactId>
293 <version>${osgi.version}</version>
294 <scope>provided</scope>
295 </dependency>
296 <dependency>
297 <groupId>org.osgi</groupId>
298 <artifactId>org.osgi.compendium</artifactId>
299 <version>${osgi.version}</version>
300 <scope>provided</scope>
301 </dependency>
302 <dependency>
303 <groupId>org.apache.felix</groupId>
304 <artifactId>org.apache.felix.scr.annotations</artifactId>
305 <version>1.9.12</version>
306 <scope>provided</scope>
307 </dependency>
308 <dependency>
309 <groupId>org.apache.felix</groupId>
310 <artifactId>org.apache.felix.scr</artifactId>
311 <version>1.8.2</version>
312 </dependency>
313
314 <dependency>
315 <groupId>org.apache.karaf.features</groupId>
316 <artifactId>org.apache.karaf.features.core</artifactId>
317 <version>${karaf.version}</version>
318 <scope>provided</scope>
319 </dependency>
320 <dependency>
321 <groupId>org.apache.karaf.system</groupId>
322 <artifactId>org.apache.karaf.system.core</artifactId>
323 <version>${karaf.version}</version>
324 <scope>provided</scope>
325 </dependency>
326 <dependency>
327 <groupId>org.apache.karaf.shell</groupId>
328 <artifactId>org.apache.karaf.shell.console</artifactId>
329 <version>${karaf.version}</version>
330 <scope>provided</scope>
331 </dependency>
332
333 <dependency>
334 <groupId>org.livetribe.slp</groupId>
335 <artifactId>livetribe-slp</artifactId>
336 <version>2.2.1</version>
337 </dependency>
338
339 <dependency>
340 <groupId>com.eclipsesource.minimal-json</groupId>
341 <artifactId>minimal-json</artifactId>
342 <version>0.9.4</version>
343 </dependency>
344 <dependency>
345 <groupId>com.esotericsoftware</groupId>
346 <artifactId>kryo</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700347 <version>4.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700348 </dependency>
349 <dependency>
350 <groupId>com.esotericsoftware</groupId>
351 <artifactId>reflectasm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700352 <version>1.11.3</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700353 </dependency>
354 <dependency>
355 <groupId>org.ow2.asm</groupId>
356 <artifactId>asm</artifactId>
Yuta HIGUCHI86f142f2016-07-09 17:44:09 -0700357 <version>5.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700358 </dependency>
359 <dependency>
360 <groupId>com.esotericsoftware</groupId>
361 <artifactId>minlog</artifactId>
362 <version>1.3.0</version>
363 </dependency>
364 <dependency>
365 <groupId>org.objenesis</groupId>
366 <artifactId>objenesis</artifactId>
367 <version>2.2</version>
368 </dependency>
369
370 <!-- Netty related; for now we require both 3.10.x and 4 -->
371 <dependency>
372 <groupId>io.netty</groupId>
373 <artifactId>netty</artifactId>
374 <version>3.10.5.Final</version>
375 </dependency>
376
377 <dependency>
378 <groupId>io.netty</groupId>
379 <artifactId>netty-common</artifactId>
380 <version>${netty4.version}</version>
381 </dependency>
382 <dependency>
383 <groupId>io.netty</groupId>
384 <artifactId>netty-buffer</artifactId>
385 <version>${netty4.version}</version>
386 </dependency>
387 <dependency>
388 <groupId>io.netty</groupId>
389 <artifactId>netty-transport</artifactId>
390 <version>${netty4.version}</version>
391 </dependency>
392 <dependency>
393 <groupId>io.netty</groupId>
394 <artifactId>netty-handler</artifactId>
395 <version>${netty4.version}</version>
396 </dependency>
397
398 <dependency>
399 <groupId>io.netty</groupId>
400 <artifactId>netty-codec</artifactId>
401 <version>${netty4.version}</version>
402 </dependency>
403
404 <dependency>
405 <groupId>io.netty</groupId>
406 <artifactId>netty-transport-native-epoll</artifactId>
407 <version>${netty4.version}</version>
408 <classifier>${os.detected.classifier}</classifier>
409 </dependency>
410
411 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800412 <groupId>io.netty</groupId>
413 <artifactId>netty-resolver</artifactId>
414 <version>${netty4.version}</version>
415 </dependency>
416
417 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700418 <groupId>joda-time</groupId>
419 <artifactId>joda-time</artifactId>
420 <version>2.9.3</version>
421 </dependency>
422
423 <dependency>
424 <groupId>com.google.code.findbugs</groupId>
425 <artifactId>jsr305</artifactId>
426 <version>3.0.1</version>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700427 <scope>provided</scope>
Thomas Vachuska43977572016-06-02 13:48:55 -0700428 </dependency>
429
430 <dependency>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700431 <groupId>com.google.errorprone</groupId>
432 <artifactId>error_prone_annotations</artifactId>
433 <version>2.0.11</version>
434 </dependency>
435
436 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700437 <groupId>org.onosproject</groupId>
438 <artifactId>openflowj</artifactId>
439 <version>${openflowj.version}</version>
440 <scope>provided</scope>
441 </dependency>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700442
443 <dependency>
444 <groupId>org.onosproject</groupId>
445 <artifactId>onos-yang-model</artifactId>
446 <version>${onos-yang-tools.version}</version>
447 </dependency>
448 <dependency>
449 <groupId>org.onosproject</groupId>
450 <artifactId>onos-yang-runtime</artifactId>
451 <version>${onos-yang-tools.version}</version>
452 </dependency>
Yuta HIGUCHIb8dae872017-06-27 20:06:48 -0700453 <dependency>
454 <groupId>org.onosproject</groupId>
455 <artifactId>onos-yang-serializers-xml</artifactId>
456 <version>${onos-yang-tools.version}</version>
457 </dependency>
458 <dependency>
459 <groupId>org.onosproject</groupId>
460 <artifactId>onos-yang-serializers-json</artifactId>
461 <version>${onos-yang-tools.version}</version>
462 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700463 </dependencies>
464 </dependencyManagement>
465
466 <dependencies>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700467
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700468 <!-- COMPILE -->
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700469 <dependency>
470 <groupId>joda-time</groupId>
471 <artifactId>joda-time</artifactId>
472 </dependency>
473
474 <dependency>
475 <groupId>commons-configuration</groupId>
476 <artifactId>commons-configuration</artifactId>
477 </dependency>
478
479 <dependency>
480 <groupId>commons-logging</groupId>
481 <artifactId>commons-logging</artifactId>
482 </dependency>
483
484 <dependency>
485 <groupId>commons-collections</groupId>
486 <artifactId>commons-collections</artifactId>
487 </dependency>
488
489 <dependency>
490 <groupId>commons-lang</groupId>
491 <artifactId>commons-lang</artifactId>
492 </dependency>
493
494 <dependency>
495 <groupId>org.apache.commons</groupId>
496 <artifactId>commons-lang3</artifactId>
497 </dependency>
498
499 <dependency>
500 <groupId>commons-io</groupId>
501 <artifactId>commons-io</artifactId>
502 </dependency>
503
504 <dependency>
505 <groupId>commons-pool</groupId>
506 <artifactId>commons-pool</artifactId>
507 </dependency>
508
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700509<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700510 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700511 <groupId>org.objenesis</groupId>
512 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700513 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700514 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700515 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700516 <groupId>com.google.guava</groupId>
517 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700518 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700519
520<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700521 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700522 <groupId>io.netty</groupId>
523 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700524 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700525
526 <dependency>
527 <groupId>io.netty</groupId>
528 <artifactId>netty-buffer</artifactId>
529 </dependency>
530
531 <dependency>
532 <groupId>io.netty</groupId>
533 <artifactId>netty-common</artifactId>
534 </dependency>
535 -->
536
537 <dependency>
538 <groupId>com.eclipsesource.minimal-json</groupId>
539 <artifactId>minimal-json</artifactId>
540 </dependency>
541
542<!-- Fix buck? Kryo and transitive dependency.
543 <dependency>
544 <groupId>com.esotericsoftware</groupId>
545 <artifactId>kryo</artifactId>
546 </dependency>
547
548 <dependency>
549 <groupId>com.esotericsoftware</groupId>
550 <artifactId>reflectasm</artifactId>
551 </dependency>
552
553 <dependency>
554 <groupId>org.ow2.asm</groupId>
555 <artifactId>asm</artifactId>
556 </dependency>
557
558 <dependency>
559 <groupId>com.esotericsoftware</groupId>
560 <artifactId>minlog</artifactId>
561 </dependency>
562 -->
563<!-- Fix buck? everyone depending on metrics doesn't sound right.
564 <dependency>
565 <groupId>io.dropwizard.metrics</groupId>
566 <artifactId>metrics-core</artifactId>
567 </dependency>
568
569 <dependency>
570 <groupId>io.dropwizard.metrics</groupId>
571 <artifactId>metrics-json</artifactId>
572 </dependency>
573 -->
574
Thomas Vachuska43977572016-06-02 13:48:55 -0700575 <dependency>
576 <groupId>org.slf4j</groupId>
577 <artifactId>slf4j-api</artifactId>
578 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700579
580 <dependency>
581 <groupId>org.osgi</groupId>
582 <artifactId>org.osgi.core</artifactId>
583 </dependency>
584
585 <dependency>
586 <groupId>org.osgi</groupId>
587 <artifactId>org.osgi.compendium</artifactId>
588 </dependency>
589
590 <dependency>
591 <groupId>org.apache.felix</groupId>
592 <artifactId>org.apache.felix.scr.annotations</artifactId>
593 </dependency>
594
595 <dependency>
596 <groupId>org.apache.felix</groupId>
597 <artifactId>org.apache.felix.scr</artifactId>
598 </dependency>
599
600 <dependency>
601 <groupId>com.fasterxml.jackson.core</groupId>
602 <artifactId>jackson-annotations</artifactId>
603 </dependency>
604
605 <dependency>
606 <groupId>com.fasterxml.jackson.core</groupId>
607 <artifactId>jackson-core</artifactId>
608 </dependency>
609
610 <dependency>
611 <groupId>com.fasterxml.jackson.core</groupId>
612 <artifactId>jackson-databind</artifactId>
613 </dependency>
614
615 <dependency>
616 <groupId>org.apache.karaf.features</groupId>
617 <artifactId>org.apache.karaf.features.core</artifactId>
618 </dependency>
619
620 <dependency>
621 <groupId>org.apache.karaf.system</groupId>
622 <artifactId>org.apache.karaf.system.core</artifactId>
623 </dependency>
624
625 <!-- YANG stuff here? Fix buck?-->
626
627 <!-- TEST -->
628 <dependency>
629 <groupId>junit</groupId>
630 <artifactId>junit</artifactId>
631 <scope>test</scope>
632 </dependency>
633
634 <dependency>
635 <groupId>org.easymock</groupId>
636 <artifactId>easymock</artifactId>
637 <scope>test</scope>
638 </dependency>
639
640 <dependency>
641 <groupId>org.hamcrest</groupId>
642 <artifactId>hamcrest-core</artifactId>
643 <scope>test</scope>
644 </dependency>
645
646 <dependency>
647 <groupId>org.hamcrest</groupId>
648 <artifactId>hamcrest-library</artifactId>
649 <scope>test</scope>
650 </dependency>
651
652 <dependency>
653 <groupId>com.google.guava</groupId>
654 <artifactId>guava-testlib</artifactId>
655 <scope>test</scope>
656 </dependency>
657
658 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700659 <dependency>
660 <groupId>org.slf4j</groupId>
661 <artifactId>slf4j-jdk14</artifactId>
662 </dependency>
663 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
664 Class not found: javax.annotation.Nullable
665 The following dependency alleviates this problem, but perhaps
666 it can be better located in the future. -->
667 <dependency>
668 <groupId>com.google.code.findbugs</groupId>
669 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700670 </dependency>
671 </dependencies>
672
673 <build>
674 <pluginManagement>
675 <plugins>
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-compiler-plugin</artifactId>
679 <!-- TODO: update once following issue is fixed. -->
680 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
681 <version>2.5.1</version>
682 <configuration>
683 <source>1.8</source>
684 <target>1.8</target>
685 </configuration>
686 </plugin>
687
688 <plugin>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700691 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700692 <configuration>
693 <redirectTestOutputToFile>true</redirectTestOutputToFile>
694 <printSummary>true</printSummary>
695 <excludedGroups>org.onlab.junit.IntegrationTest
696 </excludedGroups>
697 <rerunFailingTestsCount>1</rerunFailingTestsCount>
698 </configuration>
699 </plugin>
700 <plugin>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700703 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700704 <configuration>
705 <tags>
706 <tag>
707 <name>onos.rsModel</name>
708 <placement>m</placement>
709 <head>Json model for REST api:</head>
710 </tag>
711 </tags>
712 </configuration>
713 </plugin>
714 <plugin>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700717 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700718 <configuration>
719 <skipIfEmpty>true</skipIfEmpty>
720 </configuration>
721 <executions>
722 <execution>
723 <id>default</id>
724 <goals>
725 <goal>test-jar</goal>
726 </goals>
727 </execution>
728 </executions>
729 </plugin>
730
731 <plugin>
732 <groupId>org.apache.maven.plugins</groupId>
733 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700734 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700735 </plugin>
736
737 <plugin>
738 <groupId>org.apache.felix</groupId>
739 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700740 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700741 <extensions>true</extensions>
742 <configuration>
743 <niceManifest>true</niceManifest>
744 </configuration>
745 </plugin>
746
747 <plugin>
748 <groupId>org.apache.maven.plugins</groupId>
749 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700750 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700751 </plugin>
752
753 <plugin>
754 <groupId>org.apache.felix</groupId>
755 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700756 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700757 <executions>
758 <execution>
759 <id>generate-scr-srcdescriptor</id>
760 <goals>
761 <goal>scr</goal>
762 </goals>
763 </execution>
764 </executions>
765 <configuration>
766 <supportedProjectTypes>
767 <supportedProjectType>bundle</supportedProjectType>
768 <supportedProjectType>war</supportedProjectType>
769 </supportedProjectTypes>
770 </configuration>
771 </plugin>
772 <plugin>
773 <groupId>org.codehaus.mojo</groupId>
774 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700775 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700776 <dependencies>
777 <dependency>
778 <groupId>org.onosproject</groupId>
779 <artifactId>onos-build-conf</artifactId>
780 <version>${onos-build-conf.version}</version>
781 </dependency>
782 </dependencies>
783 <configuration>
784 <effort>Max</effort>
785 <excludeFilterFile>onos/findbugs-suppressions.xml
786 </excludeFilterFile>
787 </configuration>
788 </plugin>
789
790 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
791 <plugin>
792 <groupId>org.onosproject</groupId>
793 <artifactId>onos-maven-plugin</artifactId>
794 <version>${onos-maven-plugin.version}</version>
795 <executions>
796 <execution>
797 <id>cfg</id>
798 <phase>generate-resources</phase>
799 <goals>
800 <goal>cfg</goal>
801 </goals>
802 </execution>
803 <execution>
804 <id>swagger</id>
805 <phase>generate-sources</phase>
806 <goals>
807 <goal>swagger</goal>
808 </goals>
809 </execution>
810 <execution>
811 <id>app</id>
812 <phase>package</phase>
813 <goals>
814 <goal>app</goal>
815 </goals>
816 </execution>
817 </executions>
818 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700819
820 <plugin>
821 <groupId>org.onosproject</groupId>
822 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
823 <version>${onos-yang-tools.version}</version>
824 <executions>
825 <execution>
826 <goals>
827 <goal>yang2java</goal>
828 </goals>
829 </execution>
830 </executions>
831 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700832 </plugins>
833 </pluginManagement>
834
835 <plugins>
836 <plugin>
837 <groupId>org.apache.maven.plugins</groupId>
838 <artifactId>maven-jar-plugin</artifactId>
839 </plugin>
840
841 <plugin>
842 <groupId>org.apache.maven.plugins</groupId>
843 <artifactId>maven-checkstyle-plugin</artifactId>
844 <version>2.17</version>
845 <dependencies>
846 <dependency>
847 <groupId>org.onosproject</groupId>
848 <artifactId>onos-build-conf</artifactId>
849 <version>${onos-build-conf.version}</version>
850 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700851 <dependency>
852 <groupId>com.puppycrawl.tools</groupId>
853 <artifactId>checkstyle</artifactId>
854 <version>6.19</version>
855 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700856 </dependencies>
857 <configuration>
858 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
859 <sourceDirectory>${project.build.sourceDirectory}
860 </sourceDirectory>
861 <testSourceDirectory>${project.build.testSourceDirectory}
862 </testSourceDirectory>
863 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700864 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700865 <suppressionsLocation>onos/suppressions.xml
866 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700867 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700868 <failsOnError>false</failsOnError>
869 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700870 <includeTestSourceDirectory>true</includeTestSourceDirectory>
871 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700872 </configuration>
873 <executions>
874 <execution>
875 <id>validate-checkstyle</id>
876 <phase>verify</phase>
877 <goals>
878 <goal>check</goal>
879 </goals>
880 </execution>
881 </executions>
882 </plugin>
883
884 <plugin>
885 <groupId>org.apache.maven.plugins</groupId>
886 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700887 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700888 <configuration>
889 <excludes>
890 </excludes>
891 <rulesets>
892 <ruleset>onos/pmd.xml</ruleset>
893 </rulesets>
894 </configuration>
895 <executions>
896 <execution>
897 <id>validate-pmd</id>
898 <phase>verify</phase>
899 <goals>
900 <!-- Uncomment this goal to make the build fail on pmd errors -->
901 <!--<goal>check</goal>-->
902 </goals>
903 </execution>
904 </executions>
905 </plugin>
906
907 <plugin>
908 <groupId>org.jacoco</groupId>
909 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700910 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700911 <executions>
912 <execution>
913 <id>default-prepare-agent</id>
914 <goals>
915 <goal>prepare-agent</goal>
916 </goals>
917 </execution>
918 <execution>
919 <id>default-report</id>
920 <phase>prepare-package</phase>
921 <goals>
922 <goal>report</goal>
923 </goals>
924 </execution>
925 </executions>
926 </plugin>
927 </plugins>
928 </build>
929
930 <reporting>
931 <plugins>
932 <plugin>
933 <groupId>org.apache.maven.plugins</groupId>
934 <artifactId>maven-checkstyle-plugin</artifactId>
935 <configuration>
936 <configLocation>onos/checkstyle.xml</configLocation>
937 </configuration>
938 </plugin>
939
940 <plugin>
941 <groupId>org.apache.maven.plugins</groupId>
942 <artifactId>maven-pmd-plugin</artifactId>
943 <configuration>
944 <excludes>
945 </excludes>
946 <rulesets>
947 <ruleset>onos/pmd.xml</ruleset>
948 </rulesets>
949 </configuration>
950 </plugin>
951 </plugins>
952 </reporting>
953</project>