blob: cef411042198fc6f57710dc729ba6fdfa0b8acf5 [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>
Yuta HIGUCHI65201982017-08-21 11:12:19 -070040 <netty4.version>4.1.16.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 Milkey8e2c3392017-10-16 14:57:02 -070043 <onos-yang-tools.version>2.3.0-b2</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>
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 HIGUCHI65201982017-08-21 11:12:19 -0700124 <version>2.6.1</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 HIGUCHI65201982017-08-21 11:12:19 -0700154 <version>3.6</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 HIGUCHI65201982017-08-21 11:12:19 -0700353 <version>4.0.1</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>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700373 <version>2.6</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700374 </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>
Yuta HIGUCHI65201982017-08-21 11:12:19 -0700412 <artifactId>netty-transport-native-unix-common</artifactId>
413 <version>${netty4.version}</version>
414 </dependency>
415
416 <dependency>
417 <groupId>io.netty</groupId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700418 <artifactId>netty-transport-native-epoll</artifactId>
419 <version>${netty4.version}</version>
420 <classifier>${os.detected.classifier}</classifier>
421 </dependency>
422
423 <dependency>
Jonathan Hart5dc9a4e2017-01-13 09:09:57 -0800424 <groupId>io.netty</groupId>
425 <artifactId>netty-resolver</artifactId>
426 <version>${netty4.version}</version>
427 </dependency>
428
429 <dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700430 <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>
Yuta HIGUCHI4b662e12017-08-14 17:34:42 -0700476 <groupId>commons-configuration</groupId>
477 <artifactId>commons-configuration</artifactId>
478 </dependency>
479
480 <dependency>
481 <groupId>commons-logging</groupId>
482 <artifactId>commons-logging</artifactId>
483 </dependency>
484
485 <dependency>
486 <groupId>commons-collections</groupId>
487 <artifactId>commons-collections</artifactId>
488 </dependency>
489
490 <dependency>
491 <groupId>commons-lang</groupId>
492 <artifactId>commons-lang</artifactId>
493 </dependency>
494
495 <dependency>
496 <groupId>org.apache.commons</groupId>
497 <artifactId>commons-lang3</artifactId>
498 </dependency>
499
500 <dependency>
501 <groupId>commons-io</groupId>
502 <artifactId>commons-io</artifactId>
503 </dependency>
504
505 <dependency>
506 <groupId>commons-pool</groupId>
507 <artifactId>commons-pool</artifactId>
508 </dependency>
509
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700510<!-- transitive Kryo dependency.
Thomas Vachuska43977572016-06-02 13:48:55 -0700511 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700512 <groupId>org.objenesis</groupId>
513 <artifactId>objenesis</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700514 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700515 -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700516 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700517 <groupId>com.google.guava</groupId>
518 <artifactId>guava</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700519 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700520
521<!-- Fix buck? everyone depending on netty doesn't sound right.
Thomas Vachuska43977572016-06-02 13:48:55 -0700522 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700523 <groupId>io.netty</groupId>
524 <artifactId>netty</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700525 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700526
527 <dependency>
528 <groupId>io.netty</groupId>
529 <artifactId>netty-buffer</artifactId>
530 </dependency>
531
532 <dependency>
533 <groupId>io.netty</groupId>
534 <artifactId>netty-common</artifactId>
535 </dependency>
536 -->
537
538 <dependency>
539 <groupId>com.eclipsesource.minimal-json</groupId>
540 <artifactId>minimal-json</artifactId>
541 </dependency>
542
543<!-- Fix buck? Kryo and transitive dependency.
544 <dependency>
545 <groupId>com.esotericsoftware</groupId>
546 <artifactId>kryo</artifactId>
547 </dependency>
548
549 <dependency>
550 <groupId>com.esotericsoftware</groupId>
551 <artifactId>reflectasm</artifactId>
552 </dependency>
553
554 <dependency>
555 <groupId>org.ow2.asm</groupId>
556 <artifactId>asm</artifactId>
557 </dependency>
558
559 <dependency>
560 <groupId>com.esotericsoftware</groupId>
561 <artifactId>minlog</artifactId>
562 </dependency>
563 -->
564<!-- Fix buck? everyone depending on metrics doesn't sound right.
565 <dependency>
566 <groupId>io.dropwizard.metrics</groupId>
567 <artifactId>metrics-core</artifactId>
568 </dependency>
569
570 <dependency>
571 <groupId>io.dropwizard.metrics</groupId>
572 <artifactId>metrics-json</artifactId>
573 </dependency>
574 -->
575
Thomas Vachuska43977572016-06-02 13:48:55 -0700576 <dependency>
577 <groupId>org.slf4j</groupId>
578 <artifactId>slf4j-api</artifactId>
579 </dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700580
581 <dependency>
582 <groupId>org.osgi</groupId>
583 <artifactId>org.osgi.core</artifactId>
584 </dependency>
585
586 <dependency>
587 <groupId>org.osgi</groupId>
588 <artifactId>org.osgi.compendium</artifactId>
589 </dependency>
590
591 <dependency>
592 <groupId>org.apache.felix</groupId>
593 <artifactId>org.apache.felix.scr.annotations</artifactId>
594 </dependency>
595
596 <dependency>
597 <groupId>org.apache.felix</groupId>
598 <artifactId>org.apache.felix.scr</artifactId>
599 </dependency>
600
601 <dependency>
602 <groupId>com.fasterxml.jackson.core</groupId>
603 <artifactId>jackson-annotations</artifactId>
604 </dependency>
605
606 <dependency>
607 <groupId>com.fasterxml.jackson.core</groupId>
608 <artifactId>jackson-core</artifactId>
609 </dependency>
610
611 <dependency>
612 <groupId>com.fasterxml.jackson.core</groupId>
613 <artifactId>jackson-databind</artifactId>
614 </dependency>
615
616 <dependency>
617 <groupId>org.apache.karaf.features</groupId>
618 <artifactId>org.apache.karaf.features.core</artifactId>
619 </dependency>
620
621 <dependency>
622 <groupId>org.apache.karaf.system</groupId>
623 <artifactId>org.apache.karaf.system.core</artifactId>
624 </dependency>
625
626 <!-- YANG stuff here? Fix buck?-->
627
628 <!-- TEST -->
629 <dependency>
630 <groupId>junit</groupId>
631 <artifactId>junit</artifactId>
632 <scope>test</scope>
633 </dependency>
634
635 <dependency>
636 <groupId>org.easymock</groupId>
637 <artifactId>easymock</artifactId>
638 <scope>test</scope>
639 </dependency>
640
641 <dependency>
642 <groupId>org.hamcrest</groupId>
643 <artifactId>hamcrest-core</artifactId>
644 <scope>test</scope>
645 </dependency>
646
647 <dependency>
648 <groupId>org.hamcrest</groupId>
649 <artifactId>hamcrest-library</artifactId>
650 <scope>test</scope>
651 </dependency>
652
653 <dependency>
Ray Milkeyec253f82017-09-20 16:29:19 +0900654 <groupId>com.spotify</groupId>
655 <artifactId>hamcrest-optional</artifactId>
656 <scope>test</scope>
657 </dependency>
658
659 <dependency>
Yuta HIGUCHIef9fccf2017-08-16 23:36:31 -0700660 <groupId>com.google.guava</groupId>
661 <artifactId>guava-testlib</artifactId>
662 <scope>test</scope>
663 </dependency>
664
665 <!-- revisit if this is really needed -->
Thomas Vachuska43977572016-06-02 13:48:55 -0700666 <dependency>
667 <groupId>org.slf4j</groupId>
668 <artifactId>slf4j-jdk14</artifactId>
669 </dependency>
670 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
671 Class not found: javax.annotation.Nullable
672 The following dependency alleviates this problem, but perhaps
673 it can be better located in the future. -->
674 <dependency>
675 <groupId>com.google.code.findbugs</groupId>
676 <artifactId>jsr305</artifactId>
Thomas Vachuska43977572016-06-02 13:48:55 -0700677 </dependency>
678 </dependencies>
679
680 <build>
681 <pluginManagement>
682 <plugins>
683 <plugin>
684 <groupId>org.apache.maven.plugins</groupId>
685 <artifactId>maven-compiler-plugin</artifactId>
686 <!-- TODO: update once following issue is fixed. -->
687 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
688 <version>2.5.1</version>
689 <configuration>
690 <source>1.8</source>
691 <target>1.8</target>
692 </configuration>
693 </plugin>
694
695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-surefire-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700698 <version>2.20</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700699 <configuration>
700 <redirectTestOutputToFile>true</redirectTestOutputToFile>
701 <printSummary>true</printSummary>
702 <excludedGroups>org.onlab.junit.IntegrationTest
703 </excludedGroups>
704 <rerunFailingTestsCount>1</rerunFailingTestsCount>
705 </configuration>
706 </plugin>
707 <plugin>
708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-javadoc-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700710 <version>2.10.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700711 <configuration>
712 <tags>
713 <tag>
714 <name>onos.rsModel</name>
715 <placement>m</placement>
716 <head>Json model for REST api:</head>
717 </tag>
718 </tags>
719 </configuration>
720 </plugin>
721 <plugin>
722 <groupId>org.apache.maven.plugins</groupId>
723 <artifactId>maven-jar-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700724 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700725 <configuration>
726 <skipIfEmpty>true</skipIfEmpty>
727 </configuration>
728 <executions>
729 <execution>
730 <id>default</id>
731 <goals>
732 <goal>test-jar</goal>
733 </goals>
734 </execution>
735 </executions>
736 </plugin>
737
738 <plugin>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-resources-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700741 <version>3.0.2</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700742 </plugin>
743
744 <plugin>
745 <groupId>org.apache.felix</groupId>
746 <artifactId>maven-bundle-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700747 <version>3.3.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700748 <extensions>true</extensions>
749 <configuration>
750 <niceManifest>true</niceManifest>
751 </configuration>
752 </plugin>
753
754 <plugin>
755 <groupId>org.apache.maven.plugins</groupId>
756 <artifactId>maven-shade-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700757 <version>3.0.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700758 </plugin>
759
760 <plugin>
761 <groupId>org.apache.felix</groupId>
762 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700763 <version>1.24.0</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700764 <executions>
765 <execution>
766 <id>generate-scr-srcdescriptor</id>
767 <goals>
768 <goal>scr</goal>
769 </goals>
770 </execution>
771 </executions>
772 <configuration>
773 <supportedProjectTypes>
774 <supportedProjectType>bundle</supportedProjectType>
775 <supportedProjectType>war</supportedProjectType>
776 </supportedProjectTypes>
777 </configuration>
778 </plugin>
779 <plugin>
780 <groupId>org.codehaus.mojo</groupId>
781 <artifactId>findbugs-maven-plugin</artifactId>
Yuta HIGUCHI86fbe142016-07-20 15:22:00 -0700782 <version>3.0.4</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700783 <dependencies>
784 <dependency>
785 <groupId>org.onosproject</groupId>
786 <artifactId>onos-build-conf</artifactId>
787 <version>${onos-build-conf.version}</version>
788 </dependency>
789 </dependencies>
790 <configuration>
791 <effort>Max</effort>
792 <excludeFilterFile>onos/findbugs-suppressions.xml
793 </excludeFilterFile>
794 </configuration>
795 </plugin>
796
797 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
798 <plugin>
799 <groupId>org.onosproject</groupId>
800 <artifactId>onos-maven-plugin</artifactId>
801 <version>${onos-maven-plugin.version}</version>
802 <executions>
803 <execution>
804 <id>cfg</id>
805 <phase>generate-resources</phase>
806 <goals>
807 <goal>cfg</goal>
808 </goals>
809 </execution>
810 <execution>
811 <id>swagger</id>
812 <phase>generate-sources</phase>
813 <goals>
814 <goal>swagger</goal>
815 </goals>
816 </execution>
817 <execution>
818 <id>app</id>
819 <phase>package</phase>
820 <goals>
821 <goal>app</goal>
822 </goals>
823 </execution>
824 </executions>
825 </plugin>
Ray Milkey86d1b0a2017-05-16 15:15:08 -0700826
827 <plugin>
828 <groupId>org.onosproject</groupId>
829 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
830 <version>${onos-yang-tools.version}</version>
831 <executions>
832 <execution>
833 <goals>
834 <goal>yang2java</goal>
835 </goals>
836 </execution>
837 </executions>
838 </plugin>
Thomas Vachuska43977572016-06-02 13:48:55 -0700839 </plugins>
840 </pluginManagement>
841
842 <plugins>
843 <plugin>
844 <groupId>org.apache.maven.plugins</groupId>
845 <artifactId>maven-jar-plugin</artifactId>
846 </plugin>
847
848 <plugin>
849 <groupId>org.apache.maven.plugins</groupId>
850 <artifactId>maven-checkstyle-plugin</artifactId>
851 <version>2.17</version>
852 <dependencies>
853 <dependency>
854 <groupId>org.onosproject</groupId>
855 <artifactId>onos-build-conf</artifactId>
856 <version>${onos-build-conf.version}</version>
857 </dependency>
Ray Milkey2d572dd2017-04-14 10:01:24 -0700858 <dependency>
859 <groupId>com.puppycrawl.tools</groupId>
860 <artifactId>checkstyle</artifactId>
861 <version>6.19</version>
862 </dependency>
Thomas Vachuska43977572016-06-02 13:48:55 -0700863 </dependencies>
864 <configuration>
865 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
866 <sourceDirectory>${project.build.sourceDirectory}
867 </sourceDirectory>
868 <testSourceDirectory>${project.build.testSourceDirectory}
869 </testSourceDirectory>
870 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
Ray Milkey2d572dd2017-04-14 10:01:24 -0700871 <configLocation>onos/checkstyle-mvn.xml</configLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700872 <suppressionsLocation>onos/suppressions.xml
873 </suppressionsLocation>
Yuta HIGUCHI002f3942017-08-18 10:54:26 -0700874 <headerLocation>onos/onos-java.header</headerLocation>
Thomas Vachuska43977572016-06-02 13:48:55 -0700875 <failsOnError>false</failsOnError>
876 <logViolationsToConsole>true</logViolationsToConsole>
Yuta HIGUCHId919d9b2017-06-26 11:10:20 -0700877 <includeTestSourceDirectory>true</includeTestSourceDirectory>
878 <includeResources>false</includeResources>
Thomas Vachuska43977572016-06-02 13:48:55 -0700879 </configuration>
880 <executions>
881 <execution>
882 <id>validate-checkstyle</id>
883 <phase>verify</phase>
884 <goals>
885 <goal>check</goal>
886 </goals>
887 </execution>
888 </executions>
889 </plugin>
890
891 <plugin>
892 <groupId>org.apache.maven.plugins</groupId>
893 <artifactId>maven-pmd-plugin</artifactId>
Yuta HIGUCHIe6d3adf2017-05-22 16:31:58 -0700894 <version>3.8</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700895 <configuration>
896 <excludes>
897 </excludes>
898 <rulesets>
899 <ruleset>onos/pmd.xml</ruleset>
900 </rulesets>
901 </configuration>
902 <executions>
903 <execution>
904 <id>validate-pmd</id>
905 <phase>verify</phase>
906 <goals>
907 <!-- Uncomment this goal to make the build fail on pmd errors -->
908 <!--<goal>check</goal>-->
909 </goals>
910 </execution>
911 </executions>
912 </plugin>
913
914 <plugin>
915 <groupId>org.jacoco</groupId>
916 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf5e7ef82017-04-21 11:12:52 -0700917 <version>0.7.9</version>
Thomas Vachuska43977572016-06-02 13:48:55 -0700918 <executions>
919 <execution>
920 <id>default-prepare-agent</id>
921 <goals>
922 <goal>prepare-agent</goal>
923 </goals>
924 </execution>
925 <execution>
926 <id>default-report</id>
927 <phase>prepare-package</phase>
928 <goals>
929 <goal>report</goal>
930 </goals>
931 </execution>
932 </executions>
933 </plugin>
934 </plugins>
935 </build>
936
937 <reporting>
938 <plugins>
939 <plugin>
940 <groupId>org.apache.maven.plugins</groupId>
941 <artifactId>maven-checkstyle-plugin</artifactId>
942 <configuration>
943 <configLocation>onos/checkstyle.xml</configLocation>
944 </configuration>
945 </plugin>
946
947 <plugin>
948 <groupId>org.apache.maven.plugins</groupId>
949 <artifactId>maven-pmd-plugin</artifactId>
950 <configuration>
951 <excludes>
952 </excludes>
953 <rulesets>
954 <ruleset>onos/pmd.xml</ruleset>
955 </rulesets>
956 </configuration>
957 </plugin>
958 </plugins>
959 </reporting>
960</project>