blob: 24115b883105d6bb174400416b9fc9090ca3a089 [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 Jampani65f24bb2016-03-15 15:16:18 -070081 <atomix.version>1.0.0-rc3</atomix.version>
Madan Jampani0da36be2016-04-01 10:38:23 -070082 <atomix.copycat.version>1.0.0-rc6</atomix.copycat.version>
Brian O'Connor47196c52015-12-15 14:21:47 -080083 <copycat.version>0.5.1.onos</copycat.version>
Thomas Vachuska1893d442016-03-03 16:34:46 -080084 <openflowj.version>0.9.2.onos</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080085 <onos-maven-plugin.version>1.9</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080086 <osgi.version>4.3.1</osgi.version>
Jian Li11599162016-01-15 15:46:16 -080087 <karaf.version>3.0.5</karaf.version>
Jian Li9d616492016-03-09 10:52:49 -080088 <jersey.version>2.22.2</jersey.version>
Jian Lia9a1bbd2016-01-22 00:34:49 -080089 <jackson.version>2.7.0</jackson.version>
Jian Lie4583fd2016-01-22 10:02:43 -080090 <slf4j.version>1.7.13</slf4j.version>
Jian Lic0c36a42016-01-08 13:41:27 -080091 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080092 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080093 <!-- TODO argLine was originally added maven-surfire-plugin configuration
94 to fix locale errors for non-US developers. However, it breaks
95 SonarQube's test coverage, so moving here for now. -->
96 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070097 </properties>
98
99 <distributionManagement>
100 <snapshotRepository>
101 <id>ossrh</id>
102 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
103 </snapshotRepository>
104 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800105
Brian O'Connor354cab92015-08-27 11:55:27 -0700106 <dependencyManagement>
107 <dependencies>
108 <dependency>
109 <groupId>junit</groupId>
110 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800111 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.hamcrest</groupId>
117 <artifactId>hamcrest-core</artifactId>
118 <version>1.3</version>
119 <scope>test</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.hamcrest</groupId>
123 <artifactId>hamcrest-library</artifactId>
124 <version>1.3</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.slf4j</groupId>
130 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800131 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700132 <scope>provided</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>org.slf4j</groupId>
137 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800138 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700139 <scope>test</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-jdk14</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>com.google.guava</groupId>
151 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800152 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700153 </dependency>
154
155 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700156 <groupId>com.google.guava</groupId>
157 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800158 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700159 <scope>test</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>com.googlecode.concurrent-trees</groupId>
164 <artifactId>concurrent-trees</artifactId>
165 <version>2.4.0</version>
166 </dependency>
167
168 <dependency>
169 <groupId>commons-lang</groupId>
170 <artifactId>commons-lang</artifactId>
171 <version>2.6</version>
172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.commons</groupId>
176 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800177 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700178 </dependency>
179
180 <dependency>
181 <groupId>commons-configuration</groupId>
182 <artifactId>commons-configuration</artifactId>
183 <version>1.10</version>
184 </dependency>
185
186 <dependency>
187 <groupId>commons-collections</groupId>
188 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800189 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700190 </dependency>
191
192 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800193 <groupId>commons-pool</groupId>
194 <artifactId>commons-pool</artifactId>
195 <version>1.6</version>
196 </dependency>
197
198 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700199 <groupId>org.easymock</groupId>
200 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800201 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700202 <scope>test</scope>
203 </dependency>
204
205 <!-- Web related -->
206 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800207 <groupId>org.glassfish.jersey.core</groupId>
208 <artifactId>jersey-client</artifactId>
209 <version>${jersey.version}</version>
210 </dependency>
211 <dependency>
212 <groupId>org.glassfish.jersey.containers</groupId>
213 <artifactId>jersey-container-servlet</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700214 <version>${jersey.version}</version>
215 <scope>provided</scope>
216 </dependency>
217 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800218 <groupId>org.glassfish.jersey.containers</groupId>
219 <artifactId>jersey-container-servlet-core</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700220 <version>${jersey.version}</version>
221 <scope>provided</scope>
222 </dependency>
223 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800224 <groupId>org.glassfish.jersey.media</groupId>
225 <artifactId>jersey-media-multipart</artifactId>
226 <version>${jersey.version}</version>
227 <scope>provided</scope>
228 </dependency>
229 <dependency>
230 <groupId>org.glassfish.jersey.test-framework</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700231 <artifactId>jersey-test-framework-core</artifactId>
232 <version>${jersey.version}</version>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800236 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
237 <artifactId>jersey-test-framework-provider-grizzly2</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700238 <version>${jersey.version}</version>
239 <scope>test</scope>
240 </dependency>
241 <dependency>
242 <groupId>com.fasterxml.jackson.core</groupId>
243 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800244 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700245 <scope>provided</scope>
246 </dependency>
247 <dependency>
248 <groupId>com.fasterxml.jackson.core</groupId>
249 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800250 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700251 <scope>provided</scope>
252 </dependency>
253
254 <!-- OSGi related -->
255 <dependency>
256 <groupId>org.osgi</groupId>
257 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800258 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700259 <scope>provided</scope>
260 </dependency>
261 <dependency>
262 <groupId>org.osgi</groupId>
263 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800264 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700265 <scope>provided</scope>
266 </dependency>
267 <dependency>
268 <groupId>org.apache.felix</groupId>
269 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800270 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700271 <scope>provided</scope>
272 </dependency>
Thomas Vachuska7a8de842016-03-07 20:56:35 -0800273 <dependency>
274 <groupId>org.apache.felix</groupId>
275 <artifactId>org.apache.felix.scr</artifactId>
276 <version>1.8.2</version>
277 </dependency>
278
Brian O'Connor354cab92015-08-27 11:55:27 -0700279
280 <dependency>
281 <groupId>org.apache.karaf.features</groupId>
282 <artifactId>org.apache.karaf.features.core</artifactId>
283 <version>${karaf.version}</version>
284 <scope>provided</scope>
285 </dependency>
286 <dependency>
287 <groupId>org.apache.karaf.system</groupId>
288 <artifactId>org.apache.karaf.system.core</artifactId>
289 <version>${karaf.version}</version>
290 <scope>provided</scope>
291 </dependency>
292 <dependency>
293 <groupId>org.apache.karaf.shell</groupId>
294 <artifactId>org.apache.karaf.shell.console</artifactId>
295 <version>${karaf.version}</version>
296 <scope>provided</scope>
297 </dependency>
298
299 <dependency>
300 <groupId>org.livetribe.slp</groupId>
301 <artifactId>livetribe-slp</artifactId>
302 <version>2.2.1</version>
303 </dependency>
304
305 <dependency>
306 <groupId>com.eclipsesource.minimal-json</groupId>
307 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800308 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700309 </dependency>
310 <dependency>
311 <groupId>com.esotericsoftware</groupId>
312 <artifactId>kryo</artifactId>
Jonathan Harte65a8f62016-03-25 19:19:41 +0000313 <version>3.0.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700314 </dependency>
315 <dependency>
316 <groupId>com.esotericsoftware</groupId>
317 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800318 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700319 <type>bundle</type>
320 </dependency>
321 <dependency>
322 <groupId>org.ow2.asm</groupId>
323 <artifactId>asm</artifactId>
324 <version>4.2</version>
325 </dependency>
326 <dependency>
327 <groupId>com.esotericsoftware</groupId>
328 <artifactId>minlog</artifactId>
329 <version>1.3.0</version>
330 </dependency>
331 <dependency>
332 <groupId>org.objenesis</groupId>
333 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800334 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700335 </dependency>
336
337 <!-- ONOS related -->
338 <dependency>
339 <groupId>org.onosproject</groupId>
340 <artifactId>onlab-misc</artifactId>
341 <version>${project.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700345 <artifactId>onlab-osgi</artifactId>
346 <version>${project.version}</version>
347 </dependency>
348 <dependency>
349 <groupId>org.onosproject</groupId>
350 <artifactId>onlab-osgi</artifactId>
351 <version>${project.version}</version>
352 <classifier>tests</classifier>
353 <scope>test</scope>
354 </dependency>
355 <dependency>
356 <groupId>org.onosproject</groupId>
357 <artifactId>onlab-junit</artifactId>
358 <version>${project.version}</version>
359 <scope>test</scope>
360 </dependency>
361
362 <dependency>
363 <groupId>org.onosproject</groupId>
364 <artifactId>onos-api</artifactId>
365 <version>${project.version}</version>
366 </dependency>
367 <dependency>
368 <groupId>org.onosproject</groupId>
369 <artifactId>onos-api</artifactId>
370 <version>${project.version}</version>
371 <classifier>tests</classifier>
372 <scope>test</scope>
373 </dependency>
374
375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onos-incubator-api</artifactId>
378 <version>${project.version}</version>
379 </dependency>
380
381 <dependency>
382 <groupId>org.onosproject</groupId>
383 <artifactId>onos-core-common</artifactId>
384 <version>${project.version}</version>
385 </dependency>
386 <dependency>
387 <groupId>org.onosproject</groupId>
388 <artifactId>onos-core-common</artifactId>
389 <version>${project.version}</version>
390 <classifier>tests</classifier>
391 <scope>test</scope>
392 </dependency>
393
394 <dependency>
395 <groupId>org.onosproject</groupId>
396 <artifactId>onos-of-api</artifactId>
397 <version>${project.version}</version>
398 </dependency>
399 <dependency>
400 <groupId>org.onosproject</groupId>
401 <artifactId>onos-ovsdb-rfc</artifactId>
402 <version>${project.version}</version>
403 </dependency>
404 <dependency>
405 <groupId>org.onosproject</groupId>
406 <artifactId>onos-ovsdb-api</artifactId>
407 <version>${project.version}</version>
408 </dependency>
409 <dependency>
410 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530411 <artifactId>onos-app-pcep-api</artifactId>
412 <version>${project.version}</version>
413 </dependency>
414 <dependency>
415 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700416 <artifactId>onos-pcepio</artifactId>
417 <version>${project.version}</version>
418 </dependency>
419
420 <dependency>
421 <groupId>org.onosproject</groupId>
422 <artifactId>onos-pcep-controller-api</artifactId>
423 <version>${project.version}</version>
424 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700425 <dependency>
426 <groupId>org.onosproject</groupId>
427 <artifactId>onlab-thirdparty</artifactId>
428 <version>${project.version}</version>
429 </dependency>
430
431 <dependency>
432 <groupId>org.onosproject</groupId>
433 <artifactId>onos-of-api</artifactId>
434 <version>${project.version}</version>
435 <classifier>tests</classifier>
436 <scope>test</scope>
437 </dependency>
438 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530439 <groupId>org.onosproject</groupId>
440 <artifactId>onos-pcep-controller-api</artifactId>
441 <version>${project.version}</version>
442 <classifier>tests</classifier>
443 <scope>test</scope>
444 </dependency>
445 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530446 <groupId>org.onosproject</groupId>
447 <artifactId>onos-bgpio</artifactId>
448 <version>${project.version}</version>
449 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800450
Brian O'Connor354cab92015-08-27 11:55:27 -0700451 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530452 <groupId>org.onosproject</groupId>
453 <artifactId>onos-bgp-api</artifactId>
454 <version>${project.version}</version>
455 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530456 <dependency>
457 <groupId>org.onosproject</groupId>
458 <artifactId>onos-app-bgp-api</artifactId>
459 <version>${project.version}</version>
460 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800461
462
463 <!-- Netty related; for now we require both 3.9 and 4 -->
464 <dependency>
465 <groupId>io.netty</groupId>
466 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800467 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800468 </dependency>
469
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530470 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700471 <groupId>io.netty</groupId>
472 <artifactId>netty-common</artifactId>
473 <version>${netty4.version}</version>
474 </dependency>
475 <dependency>
476 <groupId>io.netty</groupId>
477 <artifactId>netty-buffer</artifactId>
478 <version>${netty4.version}</version>
479 </dependency>
480 <dependency>
481 <groupId>io.netty</groupId>
482 <artifactId>netty-transport</artifactId>
483 <version>${netty4.version}</version>
484 </dependency>
485 <dependency>
486 <groupId>io.netty</groupId>
487 <artifactId>netty-handler</artifactId>
488 <version>${netty4.version}</version>
489 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800490
Brian O'Connor354cab92015-08-27 11:55:27 -0700491 <dependency>
492 <groupId>io.netty</groupId>
493 <artifactId>netty-codec</artifactId>
494 <version>${netty4.version}</version>
495 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800496
Brian O'Connor354cab92015-08-27 11:55:27 -0700497 <dependency>
498 <groupId>io.netty</groupId>
499 <artifactId>netty-transport-native-epoll</artifactId>
500 <version>${netty4.version}</version>
501 <classifier>${os.detected.classifier}</classifier>
502 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800503
Brian O'Connor354cab92015-08-27 11:55:27 -0700504 <dependency>
505 <groupId>joda-time</groupId>
506 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800507 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700508 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800509
510 <dependency>
511 <groupId>com.google.code.findbugs</groupId>
512 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800513 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800514 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700515 </dependencies>
516 </dependencyManagement>
517
518 <dependencies>
519 <dependency>
520 <groupId>junit</groupId>
521 <artifactId>junit</artifactId>
522 </dependency>
523 <dependency>
524 <groupId>org.hamcrest</groupId>
525 <artifactId>hamcrest-core</artifactId>
526 </dependency>
527 <dependency>
528 <groupId>org.hamcrest</groupId>
529 <artifactId>hamcrest-library</artifactId>
530 </dependency>
531 <dependency>
532 <groupId>org.slf4j</groupId>
533 <artifactId>slf4j-api</artifactId>
534 </dependency>
535 <dependency>
536 <groupId>org.slf4j</groupId>
537 <artifactId>slf4j-jdk14</artifactId>
538 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800539 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
540 Class not found: javax.annotation.Nullable
541 The following dependency alleviates this problem, but perhaps
542 it can be better located in the future. -->
543 <dependency>
544 <groupId>com.google.code.findbugs</groupId>
545 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800546 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800547 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700548 </dependencies>
549
550 <build>
551 <pluginManagement>
552 <plugins>
553 <plugin>
554 <groupId>org.apache.maven.plugins</groupId>
555 <artifactId>maven-compiler-plugin</artifactId>
556 <!-- TODO: update once following issue is fixed. -->
557 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
558 <version>2.5.1</version>
559 <configuration>
560 <source>1.8</source>
561 <target>1.8</target>
562 </configuration>
563 </plugin>
564
565 <plugin>
566 <groupId>org.apache.maven.plugins</groupId>
567 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800568 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700569 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800570 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700571 <printSummary>true</printSummary>
572 <excludedGroups>org.onlab.junit.IntegrationTest
573 </excludedGroups>
574 <rerunFailingTestsCount>1</rerunFailingTestsCount>
575 </configuration>
576 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-javadoc-plugin</artifactId>
580 <version>2.10.3</version>
581 <configuration>
582 <tags>
583 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800584 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800585 <placement>m</placement>
586 <head>Json model for REST api:</head>
587 </tag>
588 </tags>
589 </configuration>
590 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700591 <plugin>
592 <groupId>org.apache.maven.plugins</groupId>
593 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800594 <version>2.6</version>
595 <configuration>
596 <skipIfEmpty>true</skipIfEmpty>
597 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700598 <executions>
599 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800600 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700601 <goals>
602 <goal>test-jar</goal>
603 </goals>
604 </execution>
605 </executions>
606 </plugin>
607
608 <plugin>
609 <groupId>org.apache.maven.plugins</groupId>
610 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800611 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700612 </plugin>
613
614 <plugin>
615 <groupId>org.apache.felix</groupId>
616 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800617 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700618 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700619 </plugin>
620
621 <plugin>
622 <groupId>org.apache.maven.plugins</groupId>
623 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800624 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700625 </plugin>
626
627 <plugin>
628 <groupId>org.apache.felix</groupId>
629 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800630 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700631 <executions>
632 <execution>
633 <id>generate-scr-srcdescriptor</id>
634 <goals>
635 <goal>scr</goal>
636 </goals>
637 </execution>
638 </executions>
639 <configuration>
640 <supportedProjectTypes>
641 <supportedProjectType>bundle</supportedProjectType>
642 <supportedProjectType>war</supportedProjectType>
643 </supportedProjectTypes>
644 </configuration>
645 </plugin>
646 <plugin>
647 <groupId>org.codehaus.mojo</groupId>
648 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700649 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700650 <dependencies>
651 <dependency>
652 <groupId>org.onosproject</groupId>
653 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700654 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700655 </dependency>
656 </dependencies>
657 <configuration>
658 <effort>Max</effort>
659 <excludeFilterFile>onos/findbugs-suppressions.xml
660 </excludeFilterFile>
661 </configuration>
662 </plugin>
663
664 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
665 <plugin>
666 <groupId>org.onosproject</groupId>
667 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800668 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800669 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700670 <execution>
671 <id>cfg</id>
672 <phase>generate-resources</phase>
673 <goals>
674 <goal>cfg</goal>
675 </goals>
676 </execution>
677 <execution>
678 <id>swagger</id>
679 <phase>generate-sources</phase>
680 <goals>
681 <goal>swagger</goal>
682 </goals>
683 </execution>
684 <execution>
685 <id>app</id>
686 <phase>package</phase>
687 <goals>
688 <goal>app</goal>
689 </goals>
690 </execution>
691 </executions>
692 </plugin>
693 </plugins>
694 </pluginManagement>
695
696 <plugins>
697 <plugin>
698 <groupId>org.apache.maven.plugins</groupId>
699 <artifactId>maven-jar-plugin</artifactId>
700 </plugin>
701
702 <plugin>
703 <groupId>org.apache.maven.plugins</groupId>
704 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800705 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700706 <dependencies>
707 <dependency>
708 <groupId>org.onosproject</groupId>
709 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700710 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700711 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700712 </dependencies>
713 <configuration>
714 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
715 <sourceDirectory>${project.build.sourceDirectory}
716 </sourceDirectory>
717 <testSourceDirectory>${project.build.testSourceDirectory}
718 </testSourceDirectory>
719 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
720 <configLocation>onos/checkstyle.xml</configLocation>
721 <suppressionsLocation>onos/suppressions.xml
722 </suppressionsLocation>
723 <failsOnError>false</failsOnError>
724 <logViolationsToConsole>true</logViolationsToConsole>
725 <includeTestSourceDirectory>true
726 </includeTestSourceDirectory>
727 </configuration>
728 <executions>
729 <execution>
730 <id>validate-checkstyle</id>
731 <phase>verify</phase>
732 <goals>
733 <goal>check</goal>
734 </goals>
735 </execution>
736 </executions>
737 </plugin>
738
739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
741 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800742 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700743 <configuration>
744 <excludes>
745 </excludes>
746 <rulesets>
747 <ruleset>onos/pmd.xml</ruleset>
748 </rulesets>
749 </configuration>
750 <executions>
751 <execution>
752 <id>validate-pmd</id>
753 <phase>verify</phase>
754 <goals>
755 <!-- Uncomment this goal to make the build fail on pmd errors -->
756 <!--<goal>check</goal>-->
757 </goals>
758 </execution>
759 </executions>
760 </plugin>
761
762 <plugin>
763 <groupId>org.jacoco</groupId>
764 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800765 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700766 <executions>
767 <execution>
768 <id>default-prepare-agent</id>
769 <goals>
770 <goal>prepare-agent</goal>
771 </goals>
772 </execution>
773 <execution>
774 <id>default-report</id>
775 <phase>prepare-package</phase>
776 <goals>
777 <goal>report</goal>
778 </goals>
779 </execution>
780 </executions>
781 </plugin>
782 </plugins>
783 </build>
784
785 <reporting>
786 <plugins>
787 <plugin>
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700790 <configuration>
791 <configLocation>onos/checkstyle.xml</configLocation>
792 </configuration>
793 </plugin>
794
795 <plugin>
796 <groupId>org.apache.maven.plugins</groupId>
797 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700798 <configuration>
799 <excludes>
800 </excludes>
801 <rulesets>
802 <ruleset>onos/pmd.xml</ruleset>
803 </rulesets>
804 </configuration>
805 </plugin>
806 </plugins>
807 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800808</project>