blob: 5455b8c05c415571b49c6ac087bff9d1761dc171 [file] [log] [blame]
Brian O'Connor354cab92015-08-27 11:55:27 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Thejaswi N K6a4cd002015-09-21 17:19:55 +05303 ~ Copyright 2015 Open Networking Laboratory
Brian O'Connor354cab92015-08-27 11:55:27 -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
22 <prerequisites>
23 <maven>3.0.1</maven>
24 </prerequisites>
25
26 <parent>
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-base</artifactId>
29 <version>1</version>
30 <relativePath>tools/build/pom.xml</relativePath>
31 </parent>
32
Brian O'Connor1cda9312015-09-04 20:19:16 -070033 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -070034 <artifactId>onos</artifactId>
35 <packaging>pom</packaging>
Brian O'Connor955c3162016-03-10 15:27:19 -080036 <version>1.6.0-SNAPSHOT</version>
Brian O'Connor354cab92015-08-27 11:55:27 -070037
38 <name>${project.artifactId}</name>
39 <description>Open Network Operating System root project</description>
40
41 <modules>
42 <module>utils</module>
43 <module>core</module>
44 <module>web</module>
45 <module>cli</module>
46
Thomas Vachuskadc240022015-11-19 14:45:03 -080047 <module>protocols</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070048 <module>providers</module>
49 <module>drivers</module>
50
51 <module>apps</module>
52 <module>incubator</module>
53 <module>features</module>
54
55 <module>tools/package/archetypes</module>
56 <module>tools/package/branding</module>
Jonathan Hartfbfe2a82016-03-29 11:36:33 -070057 <module>tools/build/conf</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070058 </modules>
59
60 <url>http://onosproject.org/</url>
61
62 <scm>
63 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
64 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
65 </developerConnection>
66 <url>http://gerrit.onosproject.org/</url>
67 </scm>
68
69 <licenses>
70 <license>
71 <name>Apache License, Version 2.0</name>
72 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
73 </license>
74 </licenses>
75
76 <properties>
77 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Jonathan Hartfbfe2a82016-03-29 11:36:33 -070078 <onos-build-conf.version>1.3-SNAPSHOT</onos-build-conf.version>
Jian Lic0c36a42016-01-08 13:41:27 -080079 <netty4.version>4.0.33.Final</netty4.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080080 <!-- TODO: replace with final release version when it is out -->
Madan Jampani4471cb52016-04-04 08:02:54 -070081 <catalyst.version>1.0.6</catalyst.version>
Madan Jampani65f24bb2016-03-15 15:16:18 -070082 <atomix.version>1.0.0-rc3</atomix.version>
Madan Jampani0da36be2016-04-01 10:38:23 -070083 <atomix.copycat.version>1.0.0-rc6</atomix.copycat.version>
Brian O'Connor47196c52015-12-15 14:21:47 -080084 <copycat.version>0.5.1.onos</copycat.version>
Thomas Vachuska1893d442016-03-03 16:34:46 -080085 <openflowj.version>0.9.2.onos</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080086 <onos-maven-plugin.version>1.9</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080087 <osgi.version>4.3.1</osgi.version>
Jian Li11599162016-01-15 15:46:16 -080088 <karaf.version>3.0.5</karaf.version>
Jian Li9d616492016-03-09 10:52:49 -080089 <jersey.version>2.22.2</jersey.version>
Jian Lia9a1bbd2016-01-22 00:34:49 -080090 <jackson.version>2.7.0</jackson.version>
Jian Lie4583fd2016-01-22 10:02:43 -080091 <slf4j.version>1.7.13</slf4j.version>
Jian Lic0c36a42016-01-08 13:41:27 -080092 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080093 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080094 <!-- TODO argLine was originally added maven-surfire-plugin configuration
95 to fix locale errors for non-US developers. However, it breaks
96 SonarQube's test coverage, so moving here for now. -->
97 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070098 </properties>
99
100 <distributionManagement>
101 <snapshotRepository>
102 <id>ossrh</id>
103 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
104 </snapshotRepository>
105 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800106
Brian O'Connor354cab92015-08-27 11:55:27 -0700107 <dependencyManagement>
108 <dependencies>
109 <dependency>
110 <groupId>junit</groupId>
111 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800112 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700113 <scope>test</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.hamcrest</groupId>
118 <artifactId>hamcrest-core</artifactId>
119 <version>1.3</version>
120 <scope>test</scope>
121 </dependency>
122 <dependency>
123 <groupId>org.hamcrest</groupId>
124 <artifactId>hamcrest-library</artifactId>
125 <version>1.3</version>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
130 <groupId>org.slf4j</groupId>
131 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800132 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700133 <scope>provided</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>org.slf4j</groupId>
138 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800139 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700140 <scope>test</scope>
141 </dependency>
142
143 <dependency>
144 <groupId>org.slf4j</groupId>
145 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800146 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700147 <scope>test</scope>
148 </dependency>
149
150 <dependency>
151 <groupId>com.google.guava</groupId>
152 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800153 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700154 </dependency>
155
156 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700157 <groupId>com.google.guava</groupId>
158 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800159 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700160 <scope>test</scope>
161 </dependency>
162
163 <dependency>
164 <groupId>com.googlecode.concurrent-trees</groupId>
165 <artifactId>concurrent-trees</artifactId>
166 <version>2.4.0</version>
167 </dependency>
168
169 <dependency>
170 <groupId>commons-lang</groupId>
171 <artifactId>commons-lang</artifactId>
172 <version>2.6</version>
173 </dependency>
174
175 <dependency>
176 <groupId>org.apache.commons</groupId>
177 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800178 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700179 </dependency>
180
181 <dependency>
182 <groupId>commons-configuration</groupId>
183 <artifactId>commons-configuration</artifactId>
184 <version>1.10</version>
185 </dependency>
186
187 <dependency>
188 <groupId>commons-collections</groupId>
189 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800190 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700191 </dependency>
192
193 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800194 <groupId>commons-pool</groupId>
195 <artifactId>commons-pool</artifactId>
196 <version>1.6</version>
197 </dependency>
198
199 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700200 <groupId>org.easymock</groupId>
201 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800202 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700203 <scope>test</scope>
204 </dependency>
205
206 <!-- Web related -->
207 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800208 <groupId>org.glassfish.jersey.core</groupId>
209 <artifactId>jersey-client</artifactId>
210 <version>${jersey.version}</version>
211 </dependency>
212 <dependency>
213 <groupId>org.glassfish.jersey.containers</groupId>
214 <artifactId>jersey-container-servlet</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700215 <version>${jersey.version}</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800219 <groupId>org.glassfish.jersey.containers</groupId>
220 <artifactId>jersey-container-servlet-core</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700221 <version>${jersey.version}</version>
222 <scope>provided</scope>
223 </dependency>
224 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800225 <groupId>org.glassfish.jersey.media</groupId>
226 <artifactId>jersey-media-multipart</artifactId>
227 <version>${jersey.version}</version>
228 <scope>provided</scope>
229 </dependency>
230 <dependency>
231 <groupId>org.glassfish.jersey.test-framework</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700232 <artifactId>jersey-test-framework-core</artifactId>
233 <version>${jersey.version}</version>
234 <scope>test</scope>
235 </dependency>
236 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800237 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
238 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700239 <version>${jersey.version}</version>
240 <scope>test</scope>
241 </dependency>
242 <dependency>
243 <groupId>com.fasterxml.jackson.core</groupId>
244 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800245 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700246 <scope>provided</scope>
247 </dependency>
248 <dependency>
249 <groupId>com.fasterxml.jackson.core</groupId>
250 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800251 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700252 <scope>provided</scope>
253 </dependency>
254
255 <!-- OSGi related -->
256 <dependency>
257 <groupId>org.osgi</groupId>
258 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800259 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700260 <scope>provided</scope>
261 </dependency>
262 <dependency>
263 <groupId>org.osgi</groupId>
264 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800265 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700266 <scope>provided</scope>
267 </dependency>
268 <dependency>
269 <groupId>org.apache.felix</groupId>
270 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800271 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700272 <scope>provided</scope>
273 </dependency>
Thomas Vachuska7a8de842016-03-07 20:56:35 -0800274 <dependency>
275 <groupId>org.apache.felix</groupId>
276 <artifactId>org.apache.felix.scr</artifactId>
277 <version>1.8.2</version>
278 </dependency>
279
Brian O'Connor354cab92015-08-27 11:55:27 -0700280
281 <dependency>
282 <groupId>org.apache.karaf.features</groupId>
283 <artifactId>org.apache.karaf.features.core</artifactId>
284 <version>${karaf.version}</version>
285 <scope>provided</scope>
286 </dependency>
287 <dependency>
288 <groupId>org.apache.karaf.system</groupId>
289 <artifactId>org.apache.karaf.system.core</artifactId>
290 <version>${karaf.version}</version>
291 <scope>provided</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.apache.karaf.shell</groupId>
295 <artifactId>org.apache.karaf.shell.console</artifactId>
296 <version>${karaf.version}</version>
297 <scope>provided</scope>
298 </dependency>
299
300 <dependency>
301 <groupId>org.livetribe.slp</groupId>
302 <artifactId>livetribe-slp</artifactId>
303 <version>2.2.1</version>
304 </dependency>
305
306 <dependency>
307 <groupId>com.eclipsesource.minimal-json</groupId>
308 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800309 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700310 </dependency>
311 <dependency>
312 <groupId>com.esotericsoftware</groupId>
313 <artifactId>kryo</artifactId>
Jonathan Harte65a8f62016-03-25 19:19:41 +0000314 <version>3.0.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700315 </dependency>
316 <dependency>
317 <groupId>com.esotericsoftware</groupId>
318 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800319 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700320 <type>bundle</type>
321 </dependency>
322 <dependency>
323 <groupId>org.ow2.asm</groupId>
324 <artifactId>asm</artifactId>
325 <version>4.2</version>
326 </dependency>
327 <dependency>
328 <groupId>com.esotericsoftware</groupId>
329 <artifactId>minlog</artifactId>
330 <version>1.3.0</version>
331 </dependency>
332 <dependency>
333 <groupId>org.objenesis</groupId>
334 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800335 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700336 </dependency>
337
338 <!-- ONOS related -->
339 <dependency>
340 <groupId>org.onosproject</groupId>
341 <artifactId>onlab-misc</artifactId>
342 <version>${project.version}</version>
343 </dependency>
344 <dependency>
345 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700346 <artifactId>onlab-osgi</artifactId>
347 <version>${project.version}</version>
348 </dependency>
349 <dependency>
350 <groupId>org.onosproject</groupId>
351 <artifactId>onlab-osgi</artifactId>
352 <version>${project.version}</version>
353 <classifier>tests</classifier>
354 <scope>test</scope>
355 </dependency>
356 <dependency>
357 <groupId>org.onosproject</groupId>
358 <artifactId>onlab-junit</artifactId>
359 <version>${project.version}</version>
360 <scope>test</scope>
361 </dependency>
362
363 <dependency>
364 <groupId>org.onosproject</groupId>
365 <artifactId>onos-api</artifactId>
366 <version>${project.version}</version>
367 </dependency>
368 <dependency>
369 <groupId>org.onosproject</groupId>
370 <artifactId>onos-api</artifactId>
371 <version>${project.version}</version>
372 <classifier>tests</classifier>
373 <scope>test</scope>
374 </dependency>
375
376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-incubator-api</artifactId>
379 <version>${project.version}</version>
380 </dependency>
381
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-core-common</artifactId>
385 <version>${project.version}</version>
386 </dependency>
387 <dependency>
388 <groupId>org.onosproject</groupId>
389 <artifactId>onos-core-common</artifactId>
390 <version>${project.version}</version>
391 <classifier>tests</classifier>
392 <scope>test</scope>
393 </dependency>
394
395 <dependency>
396 <groupId>org.onosproject</groupId>
397 <artifactId>onos-of-api</artifactId>
398 <version>${project.version}</version>
399 </dependency>
400 <dependency>
401 <groupId>org.onosproject</groupId>
402 <artifactId>onos-ovsdb-rfc</artifactId>
403 <version>${project.version}</version>
404 </dependency>
405 <dependency>
406 <groupId>org.onosproject</groupId>
407 <artifactId>onos-ovsdb-api</artifactId>
408 <version>${project.version}</version>
409 </dependency>
410 <dependency>
411 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530412 <artifactId>onos-app-pcep-api</artifactId>
413 <version>${project.version}</version>
414 </dependency>
415 <dependency>
416 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700417 <artifactId>onos-pcepio</artifactId>
418 <version>${project.version}</version>
419 </dependency>
420
421 <dependency>
422 <groupId>org.onosproject</groupId>
423 <artifactId>onos-pcep-controller-api</artifactId>
424 <version>${project.version}</version>
425 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700426 <dependency>
427 <groupId>org.onosproject</groupId>
428 <artifactId>onlab-thirdparty</artifactId>
429 <version>${project.version}</version>
430 </dependency>
431
432 <dependency>
433 <groupId>org.onosproject</groupId>
434 <artifactId>onos-of-api</artifactId>
435 <version>${project.version}</version>
436 <classifier>tests</classifier>
437 <scope>test</scope>
438 </dependency>
439 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530440 <groupId>org.onosproject</groupId>
441 <artifactId>onos-pcep-controller-api</artifactId>
442 <version>${project.version}</version>
443 <classifier>tests</classifier>
444 <scope>test</scope>
445 </dependency>
446 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530447 <groupId>org.onosproject</groupId>
448 <artifactId>onos-bgpio</artifactId>
449 <version>${project.version}</version>
450 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800451
Brian O'Connor354cab92015-08-27 11:55:27 -0700452 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530453 <groupId>org.onosproject</groupId>
454 <artifactId>onos-bgp-api</artifactId>
455 <version>${project.version}</version>
456 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530457 <dependency>
458 <groupId>org.onosproject</groupId>
459 <artifactId>onos-app-bgp-api</artifactId>
460 <version>${project.version}</version>
461 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800462
463
464 <!-- Netty related; for now we require both 3.9 and 4 -->
465 <dependency>
466 <groupId>io.netty</groupId>
467 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800468 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800469 </dependency>
470
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530471 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700472 <groupId>io.netty</groupId>
473 <artifactId>netty-common</artifactId>
474 <version>${netty4.version}</version>
475 </dependency>
476 <dependency>
477 <groupId>io.netty</groupId>
478 <artifactId>netty-buffer</artifactId>
479 <version>${netty4.version}</version>
480 </dependency>
481 <dependency>
482 <groupId>io.netty</groupId>
483 <artifactId>netty-transport</artifactId>
484 <version>${netty4.version}</version>
485 </dependency>
486 <dependency>
487 <groupId>io.netty</groupId>
488 <artifactId>netty-handler</artifactId>
489 <version>${netty4.version}</version>
490 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800491
Brian O'Connor354cab92015-08-27 11:55:27 -0700492 <dependency>
493 <groupId>io.netty</groupId>
494 <artifactId>netty-codec</artifactId>
495 <version>${netty4.version}</version>
496 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800497
Brian O'Connor354cab92015-08-27 11:55:27 -0700498 <dependency>
499 <groupId>io.netty</groupId>
500 <artifactId>netty-transport-native-epoll</artifactId>
501 <version>${netty4.version}</version>
502 <classifier>${os.detected.classifier}</classifier>
503 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800504
Brian O'Connor354cab92015-08-27 11:55:27 -0700505 <dependency>
506 <groupId>joda-time</groupId>
507 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800508 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700509 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800510
511 <dependency>
512 <groupId>com.google.code.findbugs</groupId>
513 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800514 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800515 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700516 </dependencies>
517 </dependencyManagement>
518
519 <dependencies>
520 <dependency>
521 <groupId>junit</groupId>
522 <artifactId>junit</artifactId>
523 </dependency>
524 <dependency>
525 <groupId>org.hamcrest</groupId>
526 <artifactId>hamcrest-core</artifactId>
527 </dependency>
528 <dependency>
529 <groupId>org.hamcrest</groupId>
530 <artifactId>hamcrest-library</artifactId>
531 </dependency>
532 <dependency>
533 <groupId>org.slf4j</groupId>
534 <artifactId>slf4j-api</artifactId>
535 </dependency>
536 <dependency>
537 <groupId>org.slf4j</groupId>
538 <artifactId>slf4j-jdk14</artifactId>
539 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800540 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
541 Class not found: javax.annotation.Nullable
542 The following dependency alleviates this problem, but perhaps
543 it can be better located in the future. -->
544 <dependency>
545 <groupId>com.google.code.findbugs</groupId>
546 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800547 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800548 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700549 </dependencies>
550
551 <build>
552 <pluginManagement>
553 <plugins>
554 <plugin>
555 <groupId>org.apache.maven.plugins</groupId>
556 <artifactId>maven-compiler-plugin</artifactId>
557 <!-- TODO: update once following issue is fixed. -->
558 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
559 <version>2.5.1</version>
560 <configuration>
561 <source>1.8</source>
562 <target>1.8</target>
563 </configuration>
564 </plugin>
565
566 <plugin>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800569 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700570 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800571 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700572 <printSummary>true</printSummary>
573 <excludedGroups>org.onlab.junit.IntegrationTest
574 </excludedGroups>
575 <rerunFailingTestsCount>1</rerunFailingTestsCount>
576 </configuration>
577 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800578 <plugin>
579 <groupId>org.apache.maven.plugins</groupId>
580 <artifactId>maven-javadoc-plugin</artifactId>
581 <version>2.10.3</version>
582 <configuration>
583 <tags>
584 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800585 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800586 <placement>m</placement>
587 <head>Json model for REST api:</head>
588 </tag>
589 </tags>
590 </configuration>
591 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700592 <plugin>
593 <groupId>org.apache.maven.plugins</groupId>
594 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800595 <version>2.6</version>
596 <configuration>
597 <skipIfEmpty>true</skipIfEmpty>
598 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700599 <executions>
600 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800601 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700602 <goals>
603 <goal>test-jar</goal>
604 </goals>
605 </execution>
606 </executions>
607 </plugin>
608
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800612 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700613 </plugin>
614
615 <plugin>
616 <groupId>org.apache.felix</groupId>
617 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800618 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700619 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700620 </plugin>
621
622 <plugin>
623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800625 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700626 </plugin>
627
628 <plugin>
629 <groupId>org.apache.felix</groupId>
630 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800631 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700632 <executions>
633 <execution>
634 <id>generate-scr-srcdescriptor</id>
635 <goals>
636 <goal>scr</goal>
637 </goals>
638 </execution>
639 </executions>
640 <configuration>
641 <supportedProjectTypes>
642 <supportedProjectType>bundle</supportedProjectType>
643 <supportedProjectType>war</supportedProjectType>
644 </supportedProjectTypes>
645 </configuration>
646 </plugin>
647 <plugin>
648 <groupId>org.codehaus.mojo</groupId>
649 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700650 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700651 <dependencies>
652 <dependency>
653 <groupId>org.onosproject</groupId>
654 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700655 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700656 </dependency>
657 </dependencies>
658 <configuration>
659 <effort>Max</effort>
660 <excludeFilterFile>onos/findbugs-suppressions.xml
661 </excludeFilterFile>
662 </configuration>
663 </plugin>
664
665 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
666 <plugin>
667 <groupId>org.onosproject</groupId>
668 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800669 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800670 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700671 <execution>
672 <id>cfg</id>
673 <phase>generate-resources</phase>
674 <goals>
675 <goal>cfg</goal>
676 </goals>
677 </execution>
678 <execution>
679 <id>swagger</id>
680 <phase>generate-sources</phase>
681 <goals>
682 <goal>swagger</goal>
683 </goals>
684 </execution>
685 <execution>
686 <id>app</id>
687 <phase>package</phase>
688 <goals>
689 <goal>app</goal>
690 </goals>
691 </execution>
692 </executions>
693 </plugin>
694 </plugins>
695 </pluginManagement>
696
697 <plugins>
698 <plugin>
699 <groupId>org.apache.maven.plugins</groupId>
700 <artifactId>maven-jar-plugin</artifactId>
701 </plugin>
702
703 <plugin>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800706 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700707 <dependencies>
708 <dependency>
709 <groupId>org.onosproject</groupId>
710 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700711 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700712 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700713 </dependencies>
714 <configuration>
715 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
716 <sourceDirectory>${project.build.sourceDirectory}
717 </sourceDirectory>
718 <testSourceDirectory>${project.build.testSourceDirectory}
719 </testSourceDirectory>
720 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
721 <configLocation>onos/checkstyle.xml</configLocation>
722 <suppressionsLocation>onos/suppressions.xml
723 </suppressionsLocation>
724 <failsOnError>false</failsOnError>
725 <logViolationsToConsole>true</logViolationsToConsole>
726 <includeTestSourceDirectory>true
727 </includeTestSourceDirectory>
728 </configuration>
729 <executions>
730 <execution>
731 <id>validate-checkstyle</id>
732 <phase>verify</phase>
733 <goals>
734 <goal>check</goal>
735 </goals>
736 </execution>
737 </executions>
738 </plugin>
739
740 <plugin>
741 <groupId>org.apache.maven.plugins</groupId>
742 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800743 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700744 <configuration>
745 <excludes>
746 </excludes>
747 <rulesets>
748 <ruleset>onos/pmd.xml</ruleset>
749 </rulesets>
750 </configuration>
751 <executions>
752 <execution>
753 <id>validate-pmd</id>
754 <phase>verify</phase>
755 <goals>
756 <!-- Uncomment this goal to make the build fail on pmd errors -->
757 <!--<goal>check</goal>-->
758 </goals>
759 </execution>
760 </executions>
761 </plugin>
762
763 <plugin>
764 <groupId>org.jacoco</groupId>
765 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800766 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700767 <executions>
768 <execution>
769 <id>default-prepare-agent</id>
770 <goals>
771 <goal>prepare-agent</goal>
772 </goals>
773 </execution>
774 <execution>
775 <id>default-report</id>
776 <phase>prepare-package</phase>
777 <goals>
778 <goal>report</goal>
779 </goals>
780 </execution>
781 </executions>
782 </plugin>
783 </plugins>
784 </build>
785
786 <reporting>
787 <plugins>
788 <plugin>
789 <groupId>org.apache.maven.plugins</groupId>
790 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700791 <configuration>
792 <configLocation>onos/checkstyle.xml</configLocation>
793 </configuration>
794 </plugin>
795
796 <plugin>
797 <groupId>org.apache.maven.plugins</groupId>
798 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700799 <configuration>
800 <excludes>
801 </excludes>
802 <rulesets>
803 <ruleset>onos/pmd.xml</ruleset>
804 </rulesets>
805 </configuration>
806 </plugin>
807 </plugins>
808 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800809</project>