blob: 5eccdbcd2d43e7e3aa5832920fbc96cfc9b270c1 [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>
Brian O'Connor01ac79e2016-04-04 14:10:09 -070080 <openflowj.version>0.9.3.onos-SNAPSHOT</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080081 <onos-maven-plugin.version>1.9</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080082 <osgi.version>4.3.1</osgi.version>
Jian Li11599162016-01-15 15:46:16 -080083 <karaf.version>3.0.5</karaf.version>
Jian Li9d616492016-03-09 10:52:49 -080084 <jersey.version>2.22.2</jersey.version>
Jian Lia9a1bbd2016-01-22 00:34:49 -080085 <jackson.version>2.7.0</jackson.version>
Jian Lie4583fd2016-01-22 10:02:43 -080086 <slf4j.version>1.7.13</slf4j.version>
Jian Lic0c36a42016-01-08 13:41:27 -080087 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080088 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080089 <!-- TODO argLine was originally added maven-surfire-plugin configuration
90 to fix locale errors for non-US developers. However, it breaks
91 SonarQube's test coverage, so moving here for now. -->
92 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070093 </properties>
94
95 <distributionManagement>
96 <snapshotRepository>
97 <id>ossrh</id>
98 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
99 </snapshotRepository>
100 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800101
Brian O'Connor01ac79e2016-04-04 14:10:09 -0700102 <!-- FIXME remove before release; needed for the following
103 - openflowj
104 - snmp
105 -->
Jonathan Hart709b19f2016-04-04 15:59:59 -0700106 <repositories>
107 <repository>
108 <id>snapshots</id>
109 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
110 </repository>
111 </repositories>
112
Brian O'Connor354cab92015-08-27 11:55:27 -0700113 <dependencyManagement>
114 <dependencies>
115 <dependency>
116 <groupId>junit</groupId>
117 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800118 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700119 <scope>test</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.hamcrest</groupId>
124 <artifactId>hamcrest-core</artifactId>
125 <version>1.3</version>
126 <scope>test</scope>
127 </dependency>
128 <dependency>
129 <groupId>org.hamcrest</groupId>
130 <artifactId>hamcrest-library</artifactId>
131 <version>1.3</version>
132 <scope>test</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>org.slf4j</groupId>
137 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800138 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700139 <scope>provided</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800145 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700146 <scope>test</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>org.slf4j</groupId>
151 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800152 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700153 <scope>test</scope>
154 </dependency>
155
156 <dependency>
157 <groupId>com.google.guava</groupId>
158 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800159 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700160 </dependency>
161
162 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700163 <groupId>com.google.guava</groupId>
164 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800165 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700166 <scope>test</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>com.googlecode.concurrent-trees</groupId>
171 <artifactId>concurrent-trees</artifactId>
172 <version>2.4.0</version>
173 </dependency>
174
175 <dependency>
176 <groupId>commons-lang</groupId>
177 <artifactId>commons-lang</artifactId>
178 <version>2.6</version>
179 </dependency>
180
181 <dependency>
182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800184 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700185 </dependency>
186
187 <dependency>
188 <groupId>commons-configuration</groupId>
189 <artifactId>commons-configuration</artifactId>
190 <version>1.10</version>
191 </dependency>
192
193 <dependency>
194 <groupId>commons-collections</groupId>
195 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800196 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700197 </dependency>
198
199 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800200 <groupId>commons-pool</groupId>
201 <artifactId>commons-pool</artifactId>
202 <version>1.6</version>
203 </dependency>
204
205 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700206 <groupId>org.easymock</groupId>
207 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800208 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700209 <scope>test</scope>
210 </dependency>
211
212 <!-- Web related -->
213 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800214 <groupId>org.glassfish.jersey.core</groupId>
215 <artifactId>jersey-client</artifactId>
216 <version>${jersey.version}</version>
217 </dependency>
218 <dependency>
219 <groupId>org.glassfish.jersey.containers</groupId>
220 <artifactId>jersey-container-servlet</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.containers</groupId>
226 <artifactId>jersey-container-servlet-core</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700227 <version>${jersey.version}</version>
228 <scope>provided</scope>
229 </dependency>
230 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800231 <groupId>org.glassfish.jersey.media</groupId>
232 <artifactId>jersey-media-multipart</artifactId>
233 <version>${jersey.version}</version>
234 <scope>provided</scope>
235 </dependency>
236 <dependency>
237 <groupId>org.glassfish.jersey.test-framework</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700238 <artifactId>jersey-test-framework-core</artifactId>
239 <version>${jersey.version}</version>
240 <scope>test</scope>
241 </dependency>
242 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800243 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
244 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700245 <version>${jersey.version}</version>
246 <scope>test</scope>
247 </dependency>
248 <dependency>
249 <groupId>com.fasterxml.jackson.core</groupId>
250 <artifactId>jackson-databind</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 <dependency>
255 <groupId>com.fasterxml.jackson.core</groupId>
256 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800257 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700258 <scope>provided</scope>
259 </dependency>
260
261 <!-- OSGi related -->
262 <dependency>
263 <groupId>org.osgi</groupId>
264 <artifactId>org.osgi.core</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.osgi</groupId>
270 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800271 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700272 <scope>provided</scope>
273 </dependency>
274 <dependency>
275 <groupId>org.apache.felix</groupId>
276 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800277 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700278 <scope>provided</scope>
279 </dependency>
Thomas Vachuska7a8de842016-03-07 20:56:35 -0800280 <dependency>
281 <groupId>org.apache.felix</groupId>
282 <artifactId>org.apache.felix.scr</artifactId>
283 <version>1.8.2</version>
284 </dependency>
285
Brian O'Connor354cab92015-08-27 11:55:27 -0700286
287 <dependency>
288 <groupId>org.apache.karaf.features</groupId>
289 <artifactId>org.apache.karaf.features.core</artifactId>
290 <version>${karaf.version}</version>
291 <scope>provided</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.apache.karaf.system</groupId>
295 <artifactId>org.apache.karaf.system.core</artifactId>
296 <version>${karaf.version}</version>
297 <scope>provided</scope>
298 </dependency>
299 <dependency>
300 <groupId>org.apache.karaf.shell</groupId>
301 <artifactId>org.apache.karaf.shell.console</artifactId>
302 <version>${karaf.version}</version>
303 <scope>provided</scope>
304 </dependency>
305
306 <dependency>
307 <groupId>org.livetribe.slp</groupId>
308 <artifactId>livetribe-slp</artifactId>
309 <version>2.2.1</version>
310 </dependency>
311
312 <dependency>
313 <groupId>com.eclipsesource.minimal-json</groupId>
314 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800315 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700316 </dependency>
317 <dependency>
318 <groupId>com.esotericsoftware</groupId>
319 <artifactId>kryo</artifactId>
Jonathan Hartbe093f72016-03-25 11:14:29 -0700320 <version>3.0.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700321 </dependency>
322 <dependency>
323 <groupId>com.esotericsoftware</groupId>
324 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800325 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700326 <type>bundle</type>
327 </dependency>
328 <dependency>
329 <groupId>org.ow2.asm</groupId>
330 <artifactId>asm</artifactId>
331 <version>4.2</version>
332 </dependency>
333 <dependency>
334 <groupId>com.esotericsoftware</groupId>
335 <artifactId>minlog</artifactId>
336 <version>1.3.0</version>
337 </dependency>
338 <dependency>
339 <groupId>org.objenesis</groupId>
340 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800341 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700342 </dependency>
343
344 <!-- ONOS related -->
345 <dependency>
346 <groupId>org.onosproject</groupId>
347 <artifactId>onlab-misc</artifactId>
348 <version>${project.version}</version>
349 </dependency>
350 <dependency>
351 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700352 <artifactId>onlab-osgi</artifactId>
353 <version>${project.version}</version>
354 </dependency>
355 <dependency>
356 <groupId>org.onosproject</groupId>
357 <artifactId>onlab-osgi</artifactId>
358 <version>${project.version}</version>
359 <classifier>tests</classifier>
360 <scope>test</scope>
361 </dependency>
362 <dependency>
363 <groupId>org.onosproject</groupId>
364 <artifactId>onlab-junit</artifactId>
365 <version>${project.version}</version>
366 <scope>test</scope>
367 </dependency>
368
369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-api</artifactId>
372 <version>${project.version}</version>
373 </dependency>
374 <dependency>
375 <groupId>org.onosproject</groupId>
376 <artifactId>onos-api</artifactId>
377 <version>${project.version}</version>
378 <classifier>tests</classifier>
379 <scope>test</scope>
380 </dependency>
381
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-incubator-api</artifactId>
385 <version>${project.version}</version>
386 </dependency>
387
388 <dependency>
389 <groupId>org.onosproject</groupId>
390 <artifactId>onos-core-common</artifactId>
391 <version>${project.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>org.onosproject</groupId>
395 <artifactId>onos-core-common</artifactId>
396 <version>${project.version}</version>
397 <classifier>tests</classifier>
398 <scope>test</scope>
399 </dependency>
400
401 <dependency>
402 <groupId>org.onosproject</groupId>
403 <artifactId>onos-of-api</artifactId>
404 <version>${project.version}</version>
405 </dependency>
406 <dependency>
407 <groupId>org.onosproject</groupId>
408 <artifactId>onos-ovsdb-rfc</artifactId>
409 <version>${project.version}</version>
410 </dependency>
411 <dependency>
412 <groupId>org.onosproject</groupId>
413 <artifactId>onos-ovsdb-api</artifactId>
414 <version>${project.version}</version>
415 </dependency>
416 <dependency>
417 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530418 <artifactId>onos-app-pcep-api</artifactId>
419 <version>${project.version}</version>
420 </dependency>
421 <dependency>
422 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700423 <artifactId>onos-pcepio</artifactId>
424 <version>${project.version}</version>
425 </dependency>
426
427 <dependency>
428 <groupId>org.onosproject</groupId>
429 <artifactId>onos-pcep-controller-api</artifactId>
430 <version>${project.version}</version>
431 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700432 <dependency>
433 <groupId>org.onosproject</groupId>
434 <artifactId>onlab-thirdparty</artifactId>
435 <version>${project.version}</version>
436 </dependency>
437
438 <dependency>
439 <groupId>org.onosproject</groupId>
440 <artifactId>onos-of-api</artifactId>
441 <version>${project.version}</version>
442 <classifier>tests</classifier>
443 <scope>test</scope>
444 </dependency>
445 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530446 <groupId>org.onosproject</groupId>
447 <artifactId>onos-pcep-controller-api</artifactId>
448 <version>${project.version}</version>
449 <classifier>tests</classifier>
450 <scope>test</scope>
451 </dependency>
452 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530453 <groupId>org.onosproject</groupId>
454 <artifactId>onos-bgpio</artifactId>
455 <version>${project.version}</version>
456 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800457
Brian O'Connor354cab92015-08-27 11:55:27 -0700458 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530459 <groupId>org.onosproject</groupId>
460 <artifactId>onos-bgp-api</artifactId>
461 <version>${project.version}</version>
462 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530463 <dependency>
464 <groupId>org.onosproject</groupId>
465 <artifactId>onos-app-bgp-api</artifactId>
466 <version>${project.version}</version>
467 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800468
469
470 <!-- Netty related; for now we require both 3.9 and 4 -->
471 <dependency>
472 <groupId>io.netty</groupId>
473 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800474 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800475 </dependency>
476
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530477 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700478 <groupId>io.netty</groupId>
479 <artifactId>netty-common</artifactId>
480 <version>${netty4.version}</version>
481 </dependency>
482 <dependency>
483 <groupId>io.netty</groupId>
484 <artifactId>netty-buffer</artifactId>
485 <version>${netty4.version}</version>
486 </dependency>
487 <dependency>
488 <groupId>io.netty</groupId>
489 <artifactId>netty-transport</artifactId>
490 <version>${netty4.version}</version>
491 </dependency>
492 <dependency>
493 <groupId>io.netty</groupId>
494 <artifactId>netty-handler</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-codec</artifactId>
501 <version>${netty4.version}</version>
502 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800503
Brian O'Connor354cab92015-08-27 11:55:27 -0700504 <dependency>
505 <groupId>io.netty</groupId>
506 <artifactId>netty-transport-native-epoll</artifactId>
507 <version>${netty4.version}</version>
508 <classifier>${os.detected.classifier}</classifier>
509 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800510
Brian O'Connor354cab92015-08-27 11:55:27 -0700511 <dependency>
512 <groupId>joda-time</groupId>
513 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800514 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700515 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800516
517 <dependency>
518 <groupId>com.google.code.findbugs</groupId>
519 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800520 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800521 </dependency>
Brian O'Connor01ac79e2016-04-04 14:10:09 -0700522
523 <dependency>
524 <groupId>org.onosproject</groupId>
525 <artifactId>openflowj</artifactId>
526 <version>${openflowj.version}</version>
527 <scope>provided</scope>
528 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700529 </dependencies>
530 </dependencyManagement>
531
532 <dependencies>
533 <dependency>
534 <groupId>junit</groupId>
535 <artifactId>junit</artifactId>
536 </dependency>
537 <dependency>
538 <groupId>org.hamcrest</groupId>
539 <artifactId>hamcrest-core</artifactId>
540 </dependency>
541 <dependency>
542 <groupId>org.hamcrest</groupId>
543 <artifactId>hamcrest-library</artifactId>
544 </dependency>
545 <dependency>
546 <groupId>org.slf4j</groupId>
547 <artifactId>slf4j-api</artifactId>
548 </dependency>
549 <dependency>
550 <groupId>org.slf4j</groupId>
551 <artifactId>slf4j-jdk14</artifactId>
552 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800553 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
554 Class not found: javax.annotation.Nullable
555 The following dependency alleviates this problem, but perhaps
556 it can be better located in the future. -->
557 <dependency>
558 <groupId>com.google.code.findbugs</groupId>
559 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800560 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800561 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700562 </dependencies>
563
564 <build>
565 <pluginManagement>
566 <plugins>
567 <plugin>
568 <groupId>org.apache.maven.plugins</groupId>
569 <artifactId>maven-compiler-plugin</artifactId>
570 <!-- TODO: update once following issue is fixed. -->
571 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
572 <version>2.5.1</version>
573 <configuration>
574 <source>1.8</source>
575 <target>1.8</target>
576 </configuration>
577 </plugin>
578
579 <plugin>
580 <groupId>org.apache.maven.plugins</groupId>
581 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800582 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700583 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800584 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700585 <printSummary>true</printSummary>
586 <excludedGroups>org.onlab.junit.IntegrationTest
587 </excludedGroups>
588 <rerunFailingTestsCount>1</rerunFailingTestsCount>
589 </configuration>
590 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800591 <plugin>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-javadoc-plugin</artifactId>
594 <version>2.10.3</version>
595 <configuration>
596 <tags>
597 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800598 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800599 <placement>m</placement>
600 <head>Json model for REST api:</head>
601 </tag>
602 </tags>
603 </configuration>
604 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700605 <plugin>
606 <groupId>org.apache.maven.plugins</groupId>
607 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800608 <version>2.6</version>
609 <configuration>
610 <skipIfEmpty>true</skipIfEmpty>
611 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700612 <executions>
613 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800614 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700615 <goals>
616 <goal>test-jar</goal>
617 </goals>
618 </execution>
619 </executions>
620 </plugin>
621
622 <plugin>
623 <groupId>org.apache.maven.plugins</groupId>
624 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800625 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700626 </plugin>
627
628 <plugin>
629 <groupId>org.apache.felix</groupId>
630 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800631 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700632 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700633 </plugin>
634
635 <plugin>
636 <groupId>org.apache.maven.plugins</groupId>
637 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800638 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700639 </plugin>
640
641 <plugin>
642 <groupId>org.apache.felix</groupId>
643 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800644 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700645 <executions>
646 <execution>
647 <id>generate-scr-srcdescriptor</id>
648 <goals>
649 <goal>scr</goal>
650 </goals>
651 </execution>
652 </executions>
653 <configuration>
654 <supportedProjectTypes>
655 <supportedProjectType>bundle</supportedProjectType>
656 <supportedProjectType>war</supportedProjectType>
657 </supportedProjectTypes>
658 </configuration>
659 </plugin>
660 <plugin>
661 <groupId>org.codehaus.mojo</groupId>
662 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700663 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700664 <dependencies>
665 <dependency>
666 <groupId>org.onosproject</groupId>
667 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700668 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700669 </dependency>
670 </dependencies>
671 <configuration>
672 <effort>Max</effort>
673 <excludeFilterFile>onos/findbugs-suppressions.xml
674 </excludeFilterFile>
675 </configuration>
676 </plugin>
677
678 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
679 <plugin>
680 <groupId>org.onosproject</groupId>
681 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800682 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800683 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700684 <execution>
685 <id>cfg</id>
686 <phase>generate-resources</phase>
687 <goals>
688 <goal>cfg</goal>
689 </goals>
690 </execution>
691 <execution>
692 <id>swagger</id>
693 <phase>generate-sources</phase>
694 <goals>
695 <goal>swagger</goal>
696 </goals>
697 </execution>
698 <execution>
699 <id>app</id>
700 <phase>package</phase>
701 <goals>
702 <goal>app</goal>
703 </goals>
704 </execution>
705 </executions>
706 </plugin>
707 </plugins>
708 </pluginManagement>
709
710 <plugins>
711 <plugin>
712 <groupId>org.apache.maven.plugins</groupId>
713 <artifactId>maven-jar-plugin</artifactId>
714 </plugin>
715
716 <plugin>
717 <groupId>org.apache.maven.plugins</groupId>
718 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800719 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700720 <dependencies>
721 <dependency>
722 <groupId>org.onosproject</groupId>
723 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700724 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700725 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700726 </dependencies>
727 <configuration>
728 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
729 <sourceDirectory>${project.build.sourceDirectory}
730 </sourceDirectory>
731 <testSourceDirectory>${project.build.testSourceDirectory}
732 </testSourceDirectory>
733 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
734 <configLocation>onos/checkstyle.xml</configLocation>
735 <suppressionsLocation>onos/suppressions.xml
736 </suppressionsLocation>
737 <failsOnError>false</failsOnError>
738 <logViolationsToConsole>true</logViolationsToConsole>
739 <includeTestSourceDirectory>true
740 </includeTestSourceDirectory>
741 </configuration>
742 <executions>
743 <execution>
744 <id>validate-checkstyle</id>
745 <phase>verify</phase>
746 <goals>
747 <goal>check</goal>
748 </goals>
749 </execution>
750 </executions>
751 </plugin>
752
753 <plugin>
754 <groupId>org.apache.maven.plugins</groupId>
755 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800756 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700757 <configuration>
758 <excludes>
759 </excludes>
760 <rulesets>
761 <ruleset>onos/pmd.xml</ruleset>
762 </rulesets>
763 </configuration>
764 <executions>
765 <execution>
766 <id>validate-pmd</id>
767 <phase>verify</phase>
768 <goals>
769 <!-- Uncomment this goal to make the build fail on pmd errors -->
770 <!--<goal>check</goal>-->
771 </goals>
772 </execution>
773 </executions>
774 </plugin>
775
776 <plugin>
777 <groupId>org.jacoco</groupId>
778 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800779 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700780 <executions>
781 <execution>
782 <id>default-prepare-agent</id>
783 <goals>
784 <goal>prepare-agent</goal>
785 </goals>
786 </execution>
787 <execution>
788 <id>default-report</id>
789 <phase>prepare-package</phase>
790 <goals>
791 <goal>report</goal>
792 </goals>
793 </execution>
794 </executions>
795 </plugin>
796 </plugins>
797 </build>
798
799 <reporting>
800 <plugins>
801 <plugin>
802 <groupId>org.apache.maven.plugins</groupId>
803 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700804 <configuration>
805 <configLocation>onos/checkstyle.xml</configLocation>
806 </configuration>
807 </plugin>
808
809 <plugin>
810 <groupId>org.apache.maven.plugins</groupId>
811 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700812 <configuration>
813 <excludes>
814 </excludes>
815 <rulesets>
816 <ruleset>onos/pmd.xml</ruleset>
817 </rulesets>
818 </configuration>
819 </plugin>
820 </plugins>
821 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800822</project>