blob: 2ef64054b352d158e7c9e7e95d86ff30d8f1048b [file] [log] [blame]
Brian O'Connor354cab92015-08-27 11:55:27 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07003 ~ Copyright 2014-present 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>
HIGUCHI Yuta969a15e2016-05-21 12:09:40 -070023 <maven>3.0.3</maven>
Brian O'Connor354cab92015-08-27 11:55:27 -070024 </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 Li0a119fe2016-04-13 14:24:20 -070079 <netty4.version>4.0.36.Final</netty4.version>
alshabibfebda3d2016-05-31 14:02:56 -070080 <openflowj.version>0.9.4.onos-SNAPSHOT</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080081 <onos-maven-plugin.version>1.9</onos-maven-plugin.version>
Jian Li3276d152016-04-13 15:30:32 -070082 <osgi.version>5.0.0</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 Li0a119fe2016-04-13 14:24:20 -070085 <jackson.version>2.7.3</jackson.version>
86 <slf4j.version>1.7.21</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>
Brian O'Connore4da59d2016-04-08 00:32:18 -0700108 <id>central</id>
109 <name>Central Repository</name>
110 <url>http://repo.maven.apache.org/maven2</url>
111 <layout>default</layout>
112 <snapshots>
113 <enabled>false</enabled>
114 </snapshots>
115 <releases>
116 <enabled>true</enabled>
117 <updatePolicy>never</updatePolicy>
118 <checksumPolicy>fail</checksumPolicy>
119 </releases>
120 </repository>
121
122 <repository>
Jonathan Hart709b19f2016-04-04 15:59:59 -0700123 <id>snapshots</id>
124 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
Brian O'Connore4da59d2016-04-08 00:32:18 -0700125 <snapshots>
126 <enabled>true</enabled>
127 <updatePolicy>never</updatePolicy>
128 <checksumPolicy>fail</checksumPolicy>
129 </snapshots>
Jonathan Hart709b19f2016-04-04 15:59:59 -0700130 </repository>
131 </repositories>
132
Brian O'Connor354cab92015-08-27 11:55:27 -0700133 <dependencyManagement>
134 <dependencies>
135 <dependency>
136 <groupId>junit</groupId>
137 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800138 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700139 <scope>test</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>org.hamcrest</groupId>
144 <artifactId>hamcrest-core</artifactId>
145 <version>1.3</version>
146 <scope>test</scope>
147 </dependency>
148 <dependency>
149 <groupId>org.hamcrest</groupId>
150 <artifactId>hamcrest-library</artifactId>
151 <version>1.3</version>
152 <scope>test</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>org.slf4j</groupId>
157 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800158 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700159 <scope>provided</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>org.slf4j</groupId>
164 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800165 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700166 <scope>test</scope>
167 </dependency>
168
169 <dependency>
170 <groupId>org.slf4j</groupId>
171 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800172 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700173 <scope>test</scope>
174 </dependency>
175
176 <dependency>
177 <groupId>com.google.guava</groupId>
178 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800179 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700180 </dependency>
181
182 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700183 <groupId>com.google.guava</groupId>
184 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800185 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700186 <scope>test</scope>
187 </dependency>
188
189 <dependency>
190 <groupId>com.googlecode.concurrent-trees</groupId>
191 <artifactId>concurrent-trees</artifactId>
192 <version>2.4.0</version>
193 </dependency>
194
195 <dependency>
196 <groupId>commons-lang</groupId>
197 <artifactId>commons-lang</artifactId>
198 <version>2.6</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.apache.commons</groupId>
203 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800204 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700205 </dependency>
206
207 <dependency>
208 <groupId>commons-configuration</groupId>
209 <artifactId>commons-configuration</artifactId>
210 <version>1.10</version>
211 </dependency>
212
213 <dependency>
214 <groupId>commons-collections</groupId>
215 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800216 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700217 </dependency>
218
219 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800220 <groupId>commons-pool</groupId>
221 <artifactId>commons-pool</artifactId>
222 <version>1.6</version>
223 </dependency>
224
225 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700226 <groupId>org.easymock</groupId>
227 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800228 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700229 <scope>test</scope>
230 </dependency>
231
232 <!-- Web related -->
233 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800234 <groupId>org.glassfish.jersey.core</groupId>
235 <artifactId>jersey-client</artifactId>
236 <version>${jersey.version}</version>
237 </dependency>
238 <dependency>
239 <groupId>org.glassfish.jersey.containers</groupId>
240 <artifactId>jersey-container-servlet</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700241 <version>${jersey.version}</version>
242 <scope>provided</scope>
243 </dependency>
244 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800245 <groupId>org.glassfish.jersey.containers</groupId>
246 <artifactId>jersey-container-servlet-core</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700247 <version>${jersey.version}</version>
248 <scope>provided</scope>
249 </dependency>
250 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800251 <groupId>org.glassfish.jersey.media</groupId>
252 <artifactId>jersey-media-multipart</artifactId>
253 <version>${jersey.version}</version>
254 <scope>provided</scope>
255 </dependency>
256 <dependency>
257 <groupId>org.glassfish.jersey.test-framework</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700258 <artifactId>jersey-test-framework-core</artifactId>
259 <version>${jersey.version}</version>
260 <scope>test</scope>
261 </dependency>
262 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800263 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
Jian Li4fb71772016-04-20 09:41:56 -0700264 <artifactId>jersey-test-framework-provider-jetty</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700265 <version>${jersey.version}</version>
266 <scope>test</scope>
267 </dependency>
268 <dependency>
269 <groupId>com.fasterxml.jackson.core</groupId>
270 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800271 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700272 <scope>provided</scope>
273 </dependency>
274 <dependency>
275 <groupId>com.fasterxml.jackson.core</groupId>
276 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800277 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700278 <scope>provided</scope>
279 </dependency>
280
281 <!-- OSGi related -->
282 <dependency>
283 <groupId>org.osgi</groupId>
284 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800285 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700286 <scope>provided</scope>
287 </dependency>
288 <dependency>
289 <groupId>org.osgi</groupId>
290 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800291 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700292 <scope>provided</scope>
293 </dependency>
294 <dependency>
295 <groupId>org.apache.felix</groupId>
296 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800297 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700298 <scope>provided</scope>
299 </dependency>
Thomas Vachuska7a8de842016-03-07 20:56:35 -0800300 <dependency>
301 <groupId>org.apache.felix</groupId>
302 <artifactId>org.apache.felix.scr</artifactId>
303 <version>1.8.2</version>
304 </dependency>
305
Brian O'Connor354cab92015-08-27 11:55:27 -0700306
307 <dependency>
308 <groupId>org.apache.karaf.features</groupId>
309 <artifactId>org.apache.karaf.features.core</artifactId>
310 <version>${karaf.version}</version>
311 <scope>provided</scope>
312 </dependency>
313 <dependency>
314 <groupId>org.apache.karaf.system</groupId>
315 <artifactId>org.apache.karaf.system.core</artifactId>
316 <version>${karaf.version}</version>
317 <scope>provided</scope>
318 </dependency>
319 <dependency>
320 <groupId>org.apache.karaf.shell</groupId>
321 <artifactId>org.apache.karaf.shell.console</artifactId>
322 <version>${karaf.version}</version>
323 <scope>provided</scope>
324 </dependency>
325
326 <dependency>
327 <groupId>org.livetribe.slp</groupId>
328 <artifactId>livetribe-slp</artifactId>
329 <version>2.2.1</version>
330 </dependency>
331
332 <dependency>
333 <groupId>com.eclipsesource.minimal-json</groupId>
334 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800335 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700336 </dependency>
337 <dependency>
338 <groupId>com.esotericsoftware</groupId>
339 <artifactId>kryo</artifactId>
Jonathan Hartbe093f72016-03-25 11:14:29 -0700340 <version>3.0.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700341 </dependency>
342 <dependency>
343 <groupId>com.esotericsoftware</groupId>
344 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800345 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700346 <type>bundle</type>
347 </dependency>
348 <dependency>
349 <groupId>org.ow2.asm</groupId>
350 <artifactId>asm</artifactId>
HIGUCHI Yutadd395bc2016-05-11 19:29:33 -0700351 <version>5.0.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700352 </dependency>
353 <dependency>
354 <groupId>com.esotericsoftware</groupId>
355 <artifactId>minlog</artifactId>
356 <version>1.3.0</version>
357 </dependency>
358 <dependency>
359 <groupId>org.objenesis</groupId>
360 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800361 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700362 </dependency>
363
364 <!-- ONOS related -->
365 <dependency>
366 <groupId>org.onosproject</groupId>
367 <artifactId>onlab-misc</artifactId>
368 <version>${project.version}</version>
369 </dependency>
370 <dependency>
371 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700372 <artifactId>onlab-osgi</artifactId>
373 <version>${project.version}</version>
374 </dependency>
375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onlab-osgi</artifactId>
378 <version>${project.version}</version>
379 <classifier>tests</classifier>
380 <scope>test</scope>
381 </dependency>
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onlab-junit</artifactId>
385 <version>${project.version}</version>
386 <scope>test</scope>
387 </dependency>
388
389 <dependency>
390 <groupId>org.onosproject</groupId>
391 <artifactId>onos-api</artifactId>
392 <version>${project.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>org.onosproject</groupId>
396 <artifactId>onos-api</artifactId>
397 <version>${project.version}</version>
398 <classifier>tests</classifier>
399 <scope>test</scope>
400 </dependency>
401
402 <dependency>
403 <groupId>org.onosproject</groupId>
404 <artifactId>onos-incubator-api</artifactId>
405 <version>${project.version}</version>
406 </dependency>
407
408 <dependency>
409 <groupId>org.onosproject</groupId>
410 <artifactId>onos-core-common</artifactId>
411 <version>${project.version}</version>
412 </dependency>
413 <dependency>
414 <groupId>org.onosproject</groupId>
415 <artifactId>onos-core-common</artifactId>
416 <version>${project.version}</version>
417 <classifier>tests</classifier>
418 <scope>test</scope>
419 </dependency>
420
421 <dependency>
422 <groupId>org.onosproject</groupId>
423 <artifactId>onos-of-api</artifactId>
424 <version>${project.version}</version>
425 </dependency>
426 <dependency>
427 <groupId>org.onosproject</groupId>
428 <artifactId>onos-ovsdb-rfc</artifactId>
429 <version>${project.version}</version>
430 </dependency>
431 <dependency>
432 <groupId>org.onosproject</groupId>
433 <artifactId>onos-ovsdb-api</artifactId>
434 <version>${project.version}</version>
435 </dependency>
436 <dependency>
437 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530438 <artifactId>onos-app-pcep-api</artifactId>
439 <version>${project.version}</version>
440 </dependency>
441 <dependency>
442 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700443 <artifactId>onos-pcepio</artifactId>
444 <version>${project.version}</version>
445 </dependency>
446
447 <dependency>
448 <groupId>org.onosproject</groupId>
449 <artifactId>onos-pcep-controller-api</artifactId>
450 <version>${project.version}</version>
451 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700452 <dependency>
453 <groupId>org.onosproject</groupId>
454 <artifactId>onlab-thirdparty</artifactId>
455 <version>${project.version}</version>
456 </dependency>
457
458 <dependency>
459 <groupId>org.onosproject</groupId>
460 <artifactId>onos-of-api</artifactId>
461 <version>${project.version}</version>
462 <classifier>tests</classifier>
463 <scope>test</scope>
464 </dependency>
465 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530466 <groupId>org.onosproject</groupId>
467 <artifactId>onos-pcep-controller-api</artifactId>
468 <version>${project.version}</version>
469 <classifier>tests</classifier>
470 <scope>test</scope>
471 </dependency>
472 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530473 <groupId>org.onosproject</groupId>
474 <artifactId>onos-bgpio</artifactId>
475 <version>${project.version}</version>
476 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800477
Brian O'Connor354cab92015-08-27 11:55:27 -0700478 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530479 <groupId>org.onosproject</groupId>
480 <artifactId>onos-bgp-api</artifactId>
481 <version>${project.version}</version>
482 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530483 <dependency>
484 <groupId>org.onosproject</groupId>
485 <artifactId>onos-app-bgp-api</artifactId>
486 <version>${project.version}</version>
487 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800488
489
Jian Li1f18d792016-04-08 15:16:50 -0700490 <!-- Netty related; for now we require both 3.10.x and 4 -->
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800491 <dependency>
492 <groupId>io.netty</groupId>
493 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800494 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800495 </dependency>
496
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530497 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700498 <groupId>io.netty</groupId>
499 <artifactId>netty-common</artifactId>
500 <version>${netty4.version}</version>
501 </dependency>
502 <dependency>
503 <groupId>io.netty</groupId>
504 <artifactId>netty-buffer</artifactId>
505 <version>${netty4.version}</version>
506 </dependency>
507 <dependency>
508 <groupId>io.netty</groupId>
509 <artifactId>netty-transport</artifactId>
510 <version>${netty4.version}</version>
511 </dependency>
512 <dependency>
513 <groupId>io.netty</groupId>
514 <artifactId>netty-handler</artifactId>
515 <version>${netty4.version}</version>
516 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800517
Brian O'Connor354cab92015-08-27 11:55:27 -0700518 <dependency>
519 <groupId>io.netty</groupId>
520 <artifactId>netty-codec</artifactId>
521 <version>${netty4.version}</version>
522 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800523
Brian O'Connor354cab92015-08-27 11:55:27 -0700524 <dependency>
525 <groupId>io.netty</groupId>
526 <artifactId>netty-transport-native-epoll</artifactId>
527 <version>${netty4.version}</version>
528 <classifier>${os.detected.classifier}</classifier>
529 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800530
Brian O'Connor354cab92015-08-27 11:55:27 -0700531 <dependency>
532 <groupId>joda-time</groupId>
533 <artifactId>joda-time</artifactId>
Jian Li0a119fe2016-04-13 14:24:20 -0700534 <version>2.9.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700535 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800536
537 <dependency>
538 <groupId>com.google.code.findbugs</groupId>
539 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800540 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800541 </dependency>
Brian O'Connor01ac79e2016-04-04 14:10:09 -0700542
543 <dependency>
544 <groupId>org.onosproject</groupId>
545 <artifactId>openflowj</artifactId>
546 <version>${openflowj.version}</version>
547 <scope>provided</scope>
548 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700549 </dependencies>
550 </dependencyManagement>
551
552 <dependencies>
553 <dependency>
554 <groupId>junit</groupId>
555 <artifactId>junit</artifactId>
556 </dependency>
557 <dependency>
558 <groupId>org.hamcrest</groupId>
559 <artifactId>hamcrest-core</artifactId>
560 </dependency>
561 <dependency>
562 <groupId>org.hamcrest</groupId>
563 <artifactId>hamcrest-library</artifactId>
564 </dependency>
565 <dependency>
566 <groupId>org.slf4j</groupId>
567 <artifactId>slf4j-api</artifactId>
568 </dependency>
569 <dependency>
570 <groupId>org.slf4j</groupId>
571 <artifactId>slf4j-jdk14</artifactId>
572 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800573 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
574 Class not found: javax.annotation.Nullable
575 The following dependency alleviates this problem, but perhaps
576 it can be better located in the future. -->
577 <dependency>
578 <groupId>com.google.code.findbugs</groupId>
579 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800580 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800581 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700582 </dependencies>
583
584 <build>
585 <pluginManagement>
586 <plugins>
587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-compiler-plugin</artifactId>
590 <!-- TODO: update once following issue is fixed. -->
591 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
592 <version>2.5.1</version>
593 <configuration>
594 <source>1.8</source>
595 <target>1.8</target>
596 </configuration>
597 </plugin>
598
599 <plugin>
600 <groupId>org.apache.maven.plugins</groupId>
601 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800602 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700603 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800604 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700605 <printSummary>true</printSummary>
606 <excludedGroups>org.onlab.junit.IntegrationTest
607 </excludedGroups>
608 <rerunFailingTestsCount>1</rerunFailingTestsCount>
609 </configuration>
610 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800611 <plugin>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-javadoc-plugin</artifactId>
614 <version>2.10.3</version>
615 <configuration>
616 <tags>
617 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800618 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800619 <placement>m</placement>
620 <head>Json model for REST api:</head>
621 </tag>
622 </tags>
623 </configuration>
624 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800628 <version>2.6</version>
629 <configuration>
630 <skipIfEmpty>true</skipIfEmpty>
631 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700632 <executions>
633 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800634 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700635 <goals>
636 <goal>test-jar</goal>
637 </goals>
638 </execution>
639 </executions>
640 </plugin>
641
642 <plugin>
643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800645 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700646 </plugin>
647
648 <plugin>
649 <groupId>org.apache.felix</groupId>
650 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800651 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700652 <extensions>true</extensions>
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -0800653 <configuration>
654 <niceManifest>true</niceManifest>
655 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700656 </plugin>
657
658 <plugin>
659 <groupId>org.apache.maven.plugins</groupId>
660 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800661 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700662 </plugin>
663
664 <plugin>
665 <groupId>org.apache.felix</groupId>
666 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800667 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700668 <executions>
669 <execution>
670 <id>generate-scr-srcdescriptor</id>
671 <goals>
672 <goal>scr</goal>
673 </goals>
674 </execution>
675 </executions>
676 <configuration>
677 <supportedProjectTypes>
678 <supportedProjectType>bundle</supportedProjectType>
679 <supportedProjectType>war</supportedProjectType>
680 </supportedProjectTypes>
681 </configuration>
682 </plugin>
683 <plugin>
684 <groupId>org.codehaus.mojo</groupId>
685 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700686 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700687 <dependencies>
688 <dependency>
689 <groupId>org.onosproject</groupId>
690 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700691 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700692 </dependency>
693 </dependencies>
694 <configuration>
695 <effort>Max</effort>
696 <excludeFilterFile>onos/findbugs-suppressions.xml
697 </excludeFilterFile>
698 </configuration>
699 </plugin>
700
701 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
702 <plugin>
703 <groupId>org.onosproject</groupId>
704 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800705 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800706 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700707 <execution>
708 <id>cfg</id>
709 <phase>generate-resources</phase>
710 <goals>
711 <goal>cfg</goal>
712 </goals>
713 </execution>
714 <execution>
715 <id>swagger</id>
716 <phase>generate-sources</phase>
717 <goals>
718 <goal>swagger</goal>
719 </goals>
720 </execution>
721 <execution>
722 <id>app</id>
723 <phase>package</phase>
724 <goals>
725 <goal>app</goal>
726 </goals>
727 </execution>
728 </executions>
729 </plugin>
730 </plugins>
731 </pluginManagement>
732
733 <plugins>
734 <plugin>
735 <groupId>org.apache.maven.plugins</groupId>
736 <artifactId>maven-jar-plugin</artifactId>
737 </plugin>
738
739 <plugin>
740 <groupId>org.apache.maven.plugins</groupId>
741 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800742 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700743 <dependencies>
744 <dependency>
745 <groupId>org.onosproject</groupId>
746 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700747 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700748 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700749 </dependencies>
750 <configuration>
751 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
752 <sourceDirectory>${project.build.sourceDirectory}
753 </sourceDirectory>
754 <testSourceDirectory>${project.build.testSourceDirectory}
755 </testSourceDirectory>
756 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
757 <configLocation>onos/checkstyle.xml</configLocation>
758 <suppressionsLocation>onos/suppressions.xml
759 </suppressionsLocation>
760 <failsOnError>false</failsOnError>
761 <logViolationsToConsole>true</logViolationsToConsole>
762 <includeTestSourceDirectory>true
763 </includeTestSourceDirectory>
764 </configuration>
765 <executions>
766 <execution>
767 <id>validate-checkstyle</id>
768 <phase>verify</phase>
769 <goals>
770 <goal>check</goal>
771 </goals>
772 </execution>
773 </executions>
774 </plugin>
775
776 <plugin>
777 <groupId>org.apache.maven.plugins</groupId>
778 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800779 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700780 <configuration>
781 <excludes>
782 </excludes>
783 <rulesets>
784 <ruleset>onos/pmd.xml</ruleset>
785 </rulesets>
786 </configuration>
787 <executions>
788 <execution>
789 <id>validate-pmd</id>
790 <phase>verify</phase>
791 <goals>
792 <!-- Uncomment this goal to make the build fail on pmd errors -->
793 <!--<goal>check</goal>-->
794 </goals>
795 </execution>
796 </executions>
797 </plugin>
798
799 <plugin>
800 <groupId>org.jacoco</groupId>
801 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800802 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700803 <executions>
804 <execution>
805 <id>default-prepare-agent</id>
806 <goals>
807 <goal>prepare-agent</goal>
808 </goals>
809 </execution>
810 <execution>
811 <id>default-report</id>
812 <phase>prepare-package</phase>
813 <goals>
814 <goal>report</goal>
815 </goals>
816 </execution>
817 </executions>
818 </plugin>
819 </plugins>
820 </build>
821
822 <reporting>
823 <plugins>
824 <plugin>
825 <groupId>org.apache.maven.plugins</groupId>
826 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700827 <configuration>
828 <configLocation>onos/checkstyle.xml</configLocation>
829 </configuration>
830 </plugin>
831
832 <plugin>
833 <groupId>org.apache.maven.plugins</groupId>
834 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700835 <configuration>
836 <excludes>
837 </excludes>
838 <rulesets>
839 <ruleset>onos/pmd.xml</ruleset>
840 </rulesets>
841 </configuration>
842 </plugin>
843 </plugins>
844 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800845</project>