blob: 955a2455f4fe886cb9093673e38d02826f2f0efb [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'Connore642f7c2016-05-23 18:33:04 -070036 <version>1.7.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>
57 </modules>
58
59 <url>http://onosproject.org/</url>
60
61 <scm>
62 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
63 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
64 </developerConnection>
65 <url>http://gerrit.onosproject.org/</url>
66 </scm>
67
68 <licenses>
69 <license>
70 <name>Apache License, Version 2.0</name>
71 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
72 </license>
73 </licenses>
74
75 <properties>
76 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Thomas Vachuskacec8fbf2016-06-01 16:42:49 -070077 <onos-build-conf.version>1.3</onos-build-conf.version>
Jian Li0a119fe2016-04-13 14:24:20 -070078 <netty4.version>4.0.36.Final</netty4.version>
Brian O'Connor95432712016-06-01 16:55:44 -070079 <openflowj.version>0.9.4.onos</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080080 <onos-maven-plugin.version>1.9</onos-maven-plugin.version>
Jian Li3276d152016-04-13 15:30:32 -070081 <osgi.version>5.0.0</osgi.version>
Jian Li11599162016-01-15 15:46:16 -080082 <karaf.version>3.0.5</karaf.version>
Jian Li9d616492016-03-09 10:52:49 -080083 <jersey.version>2.22.2</jersey.version>
Jian Li0a119fe2016-04-13 14:24:20 -070084 <jackson.version>2.7.3</jackson.version>
85 <slf4j.version>1.7.21</slf4j.version>
Jian Lic0c36a42016-01-08 13:41:27 -080086 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080087 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080088 <!-- TODO argLine was originally added maven-surfire-plugin configuration
89 to fix locale errors for non-US developers. However, it breaks
90 SonarQube's test coverage, so moving here for now. -->
91 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070092 </properties>
93
94 <distributionManagement>
95 <snapshotRepository>
96 <id>ossrh</id>
97 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
98 </snapshotRepository>
99 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800100
Brian O'Connor01ac79e2016-04-04 14:10:09 -0700101 <!-- FIXME remove before release; needed for the following
102 - openflowj
103 - snmp
104 -->
Jonathan Hart709b19f2016-04-04 15:59:59 -0700105 <repositories>
106 <repository>
Brian O'Connore4da59d2016-04-08 00:32:18 -0700107 <id>central</id>
108 <name>Central Repository</name>
109 <url>http://repo.maven.apache.org/maven2</url>
110 <layout>default</layout>
111 <snapshots>
112 <enabled>false</enabled>
113 </snapshots>
114 <releases>
115 <enabled>true</enabled>
116 <updatePolicy>never</updatePolicy>
117 <checksumPolicy>fail</checksumPolicy>
118 </releases>
119 </repository>
120
121 <repository>
Jonathan Hart709b19f2016-04-04 15:59:59 -0700122 <id>snapshots</id>
123 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
Brian O'Connore4da59d2016-04-08 00:32:18 -0700124 <snapshots>
125 <enabled>true</enabled>
126 <updatePolicy>never</updatePolicy>
127 <checksumPolicy>fail</checksumPolicy>
128 </snapshots>
Jonathan Hart709b19f2016-04-04 15:59:59 -0700129 </repository>
130 </repositories>
131
Brian O'Connor354cab92015-08-27 11:55:27 -0700132 <dependencyManagement>
133 <dependencies>
134 <dependency>
135 <groupId>junit</groupId>
136 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800137 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700138 <scope>test</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>org.hamcrest</groupId>
143 <artifactId>hamcrest-core</artifactId>
144 <version>1.3</version>
145 <scope>test</scope>
146 </dependency>
147 <dependency>
148 <groupId>org.hamcrest</groupId>
149 <artifactId>hamcrest-library</artifactId>
150 <version>1.3</version>
151 <scope>test</scope>
152 </dependency>
153
154 <dependency>
155 <groupId>org.slf4j</groupId>
156 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800157 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700158 <scope>provided</scope>
159 </dependency>
160
161 <dependency>
162 <groupId>org.slf4j</groupId>
163 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800164 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700165 <scope>test</scope>
166 </dependency>
167
168 <dependency>
169 <groupId>org.slf4j</groupId>
170 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800171 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700172 <scope>test</scope>
173 </dependency>
174
175 <dependency>
176 <groupId>com.google.guava</groupId>
177 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800178 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700179 </dependency>
180
181 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700182 <groupId>com.google.guava</groupId>
183 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800184 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700185 <scope>test</scope>
186 </dependency>
187
188 <dependency>
189 <groupId>com.googlecode.concurrent-trees</groupId>
190 <artifactId>concurrent-trees</artifactId>
191 <version>2.4.0</version>
192 </dependency>
193
194 <dependency>
195 <groupId>commons-lang</groupId>
196 <artifactId>commons-lang</artifactId>
197 <version>2.6</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.apache.commons</groupId>
202 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800203 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700204 </dependency>
205
206 <dependency>
207 <groupId>commons-configuration</groupId>
208 <artifactId>commons-configuration</artifactId>
209 <version>1.10</version>
210 </dependency>
211
212 <dependency>
213 <groupId>commons-collections</groupId>
214 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800215 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700216 </dependency>
217
218 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800219 <groupId>commons-pool</groupId>
220 <artifactId>commons-pool</artifactId>
221 <version>1.6</version>
222 </dependency>
223
224 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700225 <groupId>org.easymock</groupId>
226 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800227 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700228 <scope>test</scope>
229 </dependency>
230
231 <!-- Web related -->
232 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800233 <groupId>org.glassfish.jersey.core</groupId>
234 <artifactId>jersey-client</artifactId>
235 <version>${jersey.version}</version>
236 </dependency>
237 <dependency>
238 <groupId>org.glassfish.jersey.containers</groupId>
239 <artifactId>jersey-container-servlet</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700240 <version>${jersey.version}</version>
241 <scope>provided</scope>
242 </dependency>
243 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800244 <groupId>org.glassfish.jersey.containers</groupId>
245 <artifactId>jersey-container-servlet-core</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700246 <version>${jersey.version}</version>
247 <scope>provided</scope>
248 </dependency>
249 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800250 <groupId>org.glassfish.jersey.media</groupId>
251 <artifactId>jersey-media-multipart</artifactId>
252 <version>${jersey.version}</version>
253 <scope>provided</scope>
254 </dependency>
255 <dependency>
256 <groupId>org.glassfish.jersey.test-framework</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700257 <artifactId>jersey-test-framework-core</artifactId>
258 <version>${jersey.version}</version>
259 <scope>test</scope>
260 </dependency>
261 <dependency>
Jian Li9d616492016-03-09 10:52:49 -0800262 <groupId>org.glassfish.jersey.test-framework.providers</groupId>
Jian Li4fb71772016-04-20 09:41:56 -0700263 <artifactId>jersey-test-framework-provider-jetty</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700264 <version>${jersey.version}</version>
265 <scope>test</scope>
266 </dependency>
267 <dependency>
268 <groupId>com.fasterxml.jackson.core</groupId>
269 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800270 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700271 <scope>provided</scope>
272 </dependency>
273 <dependency>
274 <groupId>com.fasterxml.jackson.core</groupId>
275 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800276 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700277 <scope>provided</scope>
278 </dependency>
279
280 <!-- OSGi related -->
281 <dependency>
282 <groupId>org.osgi</groupId>
283 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800284 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700285 <scope>provided</scope>
286 </dependency>
287 <dependency>
288 <groupId>org.osgi</groupId>
289 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800290 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700291 <scope>provided</scope>
292 </dependency>
293 <dependency>
294 <groupId>org.apache.felix</groupId>
295 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800296 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700297 <scope>provided</scope>
298 </dependency>
Thomas Vachuska7a8de842016-03-07 20:56:35 -0800299 <dependency>
300 <groupId>org.apache.felix</groupId>
301 <artifactId>org.apache.felix.scr</artifactId>
302 <version>1.8.2</version>
303 </dependency>
304
Brian O'Connor354cab92015-08-27 11:55:27 -0700305
306 <dependency>
307 <groupId>org.apache.karaf.features</groupId>
308 <artifactId>org.apache.karaf.features.core</artifactId>
309 <version>${karaf.version}</version>
310 <scope>provided</scope>
311 </dependency>
312 <dependency>
313 <groupId>org.apache.karaf.system</groupId>
314 <artifactId>org.apache.karaf.system.core</artifactId>
315 <version>${karaf.version}</version>
316 <scope>provided</scope>
317 </dependency>
318 <dependency>
319 <groupId>org.apache.karaf.shell</groupId>
320 <artifactId>org.apache.karaf.shell.console</artifactId>
321 <version>${karaf.version}</version>
322 <scope>provided</scope>
323 </dependency>
324
325 <dependency>
326 <groupId>org.livetribe.slp</groupId>
327 <artifactId>livetribe-slp</artifactId>
328 <version>2.2.1</version>
329 </dependency>
330
331 <dependency>
332 <groupId>com.eclipsesource.minimal-json</groupId>
333 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800334 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700335 </dependency>
336 <dependency>
337 <groupId>com.esotericsoftware</groupId>
338 <artifactId>kryo</artifactId>
Jonathan Hartbe093f72016-03-25 11:14:29 -0700339 <version>3.0.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700340 </dependency>
341 <dependency>
342 <groupId>com.esotericsoftware</groupId>
343 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800344 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700345 <type>bundle</type>
346 </dependency>
347 <dependency>
348 <groupId>org.ow2.asm</groupId>
349 <artifactId>asm</artifactId>
HIGUCHI Yutadd395bc2016-05-11 19:29:33 -0700350 <version>5.0.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700351 </dependency>
352 <dependency>
353 <groupId>com.esotericsoftware</groupId>
354 <artifactId>minlog</artifactId>
355 <version>1.3.0</version>
356 </dependency>
357 <dependency>
358 <groupId>org.objenesis</groupId>
359 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800360 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700361 </dependency>
362
363 <!-- ONOS related -->
364 <dependency>
365 <groupId>org.onosproject</groupId>
366 <artifactId>onlab-misc</artifactId>
367 <version>${project.version}</version>
368 </dependency>
369 <dependency>
370 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700371 <artifactId>onlab-osgi</artifactId>
372 <version>${project.version}</version>
373 </dependency>
374 <dependency>
375 <groupId>org.onosproject</groupId>
376 <artifactId>onlab-osgi</artifactId>
377 <version>${project.version}</version>
378 <classifier>tests</classifier>
379 <scope>test</scope>
380 </dependency>
381 <dependency>
382 <groupId>org.onosproject</groupId>
383 <artifactId>onlab-junit</artifactId>
384 <version>${project.version}</version>
385 <scope>test</scope>
386 </dependency>
387
388 <dependency>
389 <groupId>org.onosproject</groupId>
390 <artifactId>onos-api</artifactId>
391 <version>${project.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>org.onosproject</groupId>
395 <artifactId>onos-api</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-incubator-api</artifactId>
404 <version>${project.version}</version>
405 </dependency>
406
407 <dependency>
408 <groupId>org.onosproject</groupId>
409 <artifactId>onos-core-common</artifactId>
410 <version>${project.version}</version>
411 </dependency>
412 <dependency>
413 <groupId>org.onosproject</groupId>
414 <artifactId>onos-core-common</artifactId>
415 <version>${project.version}</version>
416 <classifier>tests</classifier>
417 <scope>test</scope>
418 </dependency>
419
420 <dependency>
421 <groupId>org.onosproject</groupId>
422 <artifactId>onos-of-api</artifactId>
423 <version>${project.version}</version>
424 </dependency>
425 <dependency>
426 <groupId>org.onosproject</groupId>
427 <artifactId>onos-ovsdb-rfc</artifactId>
428 <version>${project.version}</version>
429 </dependency>
430 <dependency>
431 <groupId>org.onosproject</groupId>
432 <artifactId>onos-ovsdb-api</artifactId>
433 <version>${project.version}</version>
434 </dependency>
435 <dependency>
436 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530437 <artifactId>onos-app-pcep-api</artifactId>
438 <version>${project.version}</version>
439 </dependency>
440 <dependency>
441 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700442 <artifactId>onos-pcepio</artifactId>
443 <version>${project.version}</version>
444 </dependency>
445
446 <dependency>
447 <groupId>org.onosproject</groupId>
448 <artifactId>onos-pcep-controller-api</artifactId>
449 <version>${project.version}</version>
450 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700451 <dependency>
452 <groupId>org.onosproject</groupId>
453 <artifactId>onlab-thirdparty</artifactId>
454 <version>${project.version}</version>
455 </dependency>
456
457 <dependency>
458 <groupId>org.onosproject</groupId>
459 <artifactId>onos-of-api</artifactId>
460 <version>${project.version}</version>
461 <classifier>tests</classifier>
462 <scope>test</scope>
463 </dependency>
464 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530465 <groupId>org.onosproject</groupId>
466 <artifactId>onos-pcep-controller-api</artifactId>
467 <version>${project.version}</version>
468 <classifier>tests</classifier>
469 <scope>test</scope>
470 </dependency>
471 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530472 <groupId>org.onosproject</groupId>
473 <artifactId>onos-bgpio</artifactId>
474 <version>${project.version}</version>
475 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800476
Brian O'Connor354cab92015-08-27 11:55:27 -0700477 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530478 <groupId>org.onosproject</groupId>
479 <artifactId>onos-bgp-api</artifactId>
480 <version>${project.version}</version>
481 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530482 <dependency>
483 <groupId>org.onosproject</groupId>
484 <artifactId>onos-app-bgp-api</artifactId>
485 <version>${project.version}</version>
486 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800487
488
Jian Li1f18d792016-04-08 15:16:50 -0700489 <!-- Netty related; for now we require both 3.10.x and 4 -->
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800490 <dependency>
491 <groupId>io.netty</groupId>
492 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800493 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800494 </dependency>
495
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530496 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700497 <groupId>io.netty</groupId>
498 <artifactId>netty-common</artifactId>
499 <version>${netty4.version}</version>
500 </dependency>
501 <dependency>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-buffer</artifactId>
504 <version>${netty4.version}</version>
505 </dependency>
506 <dependency>
507 <groupId>io.netty</groupId>
508 <artifactId>netty-transport</artifactId>
509 <version>${netty4.version}</version>
510 </dependency>
511 <dependency>
512 <groupId>io.netty</groupId>
513 <artifactId>netty-handler</artifactId>
514 <version>${netty4.version}</version>
515 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800516
Brian O'Connor354cab92015-08-27 11:55:27 -0700517 <dependency>
518 <groupId>io.netty</groupId>
519 <artifactId>netty-codec</artifactId>
520 <version>${netty4.version}</version>
521 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800522
Brian O'Connor354cab92015-08-27 11:55:27 -0700523 <dependency>
524 <groupId>io.netty</groupId>
525 <artifactId>netty-transport-native-epoll</artifactId>
526 <version>${netty4.version}</version>
527 <classifier>${os.detected.classifier}</classifier>
528 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800529
Brian O'Connor354cab92015-08-27 11:55:27 -0700530 <dependency>
531 <groupId>joda-time</groupId>
532 <artifactId>joda-time</artifactId>
Jian Li0a119fe2016-04-13 14:24:20 -0700533 <version>2.9.3</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700534 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800535
536 <dependency>
537 <groupId>com.google.code.findbugs</groupId>
538 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800539 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800540 </dependency>
Brian O'Connor01ac79e2016-04-04 14:10:09 -0700541
542 <dependency>
543 <groupId>org.onosproject</groupId>
544 <artifactId>openflowj</artifactId>
545 <version>${openflowj.version}</version>
546 <scope>provided</scope>
547 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700548 </dependencies>
549 </dependencyManagement>
550
551 <dependencies>
552 <dependency>
553 <groupId>junit</groupId>
554 <artifactId>junit</artifactId>
555 </dependency>
556 <dependency>
557 <groupId>org.hamcrest</groupId>
558 <artifactId>hamcrest-core</artifactId>
559 </dependency>
560 <dependency>
561 <groupId>org.hamcrest</groupId>
562 <artifactId>hamcrest-library</artifactId>
563 </dependency>
564 <dependency>
565 <groupId>org.slf4j</groupId>
566 <artifactId>slf4j-api</artifactId>
567 </dependency>
568 <dependency>
569 <groupId>org.slf4j</groupId>
570 <artifactId>slf4j-jdk14</artifactId>
571 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800572 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
573 Class not found: javax.annotation.Nullable
574 The following dependency alleviates this problem, but perhaps
575 it can be better located in the future. -->
576 <dependency>
577 <groupId>com.google.code.findbugs</groupId>
578 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800579 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800580 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700581 </dependencies>
582
583 <build>
584 <pluginManagement>
585 <plugins>
586 <plugin>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-compiler-plugin</artifactId>
589 <!-- TODO: update once following issue is fixed. -->
590 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
591 <version>2.5.1</version>
592 <configuration>
593 <source>1.8</source>
594 <target>1.8</target>
595 </configuration>
596 </plugin>
597
598 <plugin>
599 <groupId>org.apache.maven.plugins</groupId>
600 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800601 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700602 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800603 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700604 <printSummary>true</printSummary>
605 <excludedGroups>org.onlab.junit.IntegrationTest
606 </excludedGroups>
607 <rerunFailingTestsCount>1</rerunFailingTestsCount>
608 </configuration>
609 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800610 <plugin>
611 <groupId>org.apache.maven.plugins</groupId>
612 <artifactId>maven-javadoc-plugin</artifactId>
613 <version>2.10.3</version>
614 <configuration>
615 <tags>
616 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800617 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800618 <placement>m</placement>
619 <head>Json model for REST api:</head>
620 </tag>
621 </tags>
622 </configuration>
623 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700624 <plugin>
625 <groupId>org.apache.maven.plugins</groupId>
626 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800627 <version>2.6</version>
628 <configuration>
629 <skipIfEmpty>true</skipIfEmpty>
630 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700631 <executions>
632 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800633 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700634 <goals>
635 <goal>test-jar</goal>
636 </goals>
637 </execution>
638 </executions>
639 </plugin>
640
641 <plugin>
642 <groupId>org.apache.maven.plugins</groupId>
643 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800644 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700645 </plugin>
646
647 <plugin>
648 <groupId>org.apache.felix</groupId>
649 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800650 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700651 <extensions>true</extensions>
HIGUCHI Yuta34a3f692016-01-09 21:08:57 -0800652 <configuration>
653 <niceManifest>true</niceManifest>
654 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700655 </plugin>
656
657 <plugin>
658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800660 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700661 </plugin>
662
663 <plugin>
664 <groupId>org.apache.felix</groupId>
665 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800666 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700667 <executions>
668 <execution>
669 <id>generate-scr-srcdescriptor</id>
670 <goals>
671 <goal>scr</goal>
672 </goals>
673 </execution>
674 </executions>
675 <configuration>
676 <supportedProjectTypes>
677 <supportedProjectType>bundle</supportedProjectType>
678 <supportedProjectType>war</supportedProjectType>
679 </supportedProjectTypes>
680 </configuration>
681 </plugin>
682 <plugin>
683 <groupId>org.codehaus.mojo</groupId>
684 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700685 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700686 <dependencies>
687 <dependency>
688 <groupId>org.onosproject</groupId>
689 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700690 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700691 </dependency>
692 </dependencies>
693 <configuration>
694 <effort>Max</effort>
695 <excludeFilterFile>onos/findbugs-suppressions.xml
696 </excludeFilterFile>
697 </configuration>
698 </plugin>
699
700 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
701 <plugin>
702 <groupId>org.onosproject</groupId>
703 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800704 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800705 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700706 <execution>
707 <id>cfg</id>
708 <phase>generate-resources</phase>
709 <goals>
710 <goal>cfg</goal>
711 </goals>
712 </execution>
713 <execution>
714 <id>swagger</id>
715 <phase>generate-sources</phase>
716 <goals>
717 <goal>swagger</goal>
718 </goals>
719 </execution>
720 <execution>
721 <id>app</id>
722 <phase>package</phase>
723 <goals>
724 <goal>app</goal>
725 </goals>
726 </execution>
727 </executions>
728 </plugin>
729 </plugins>
730 </pluginManagement>
731
732 <plugins>
733 <plugin>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-jar-plugin</artifactId>
736 </plugin>
737
738 <plugin>
739 <groupId>org.apache.maven.plugins</groupId>
740 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800741 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700742 <dependencies>
743 <dependency>
744 <groupId>org.onosproject</groupId>
745 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700746 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700747 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700748 </dependencies>
749 <configuration>
750 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
751 <sourceDirectory>${project.build.sourceDirectory}
752 </sourceDirectory>
753 <testSourceDirectory>${project.build.testSourceDirectory}
754 </testSourceDirectory>
755 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
756 <configLocation>onos/checkstyle.xml</configLocation>
757 <suppressionsLocation>onos/suppressions.xml
758 </suppressionsLocation>
759 <failsOnError>false</failsOnError>
760 <logViolationsToConsole>true</logViolationsToConsole>
761 <includeTestSourceDirectory>true
762 </includeTestSourceDirectory>
763 </configuration>
764 <executions>
765 <execution>
766 <id>validate-checkstyle</id>
767 <phase>verify</phase>
768 <goals>
769 <goal>check</goal>
770 </goals>
771 </execution>
772 </executions>
773 </plugin>
774
775 <plugin>
776 <groupId>org.apache.maven.plugins</groupId>
777 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800778 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700779 <configuration>
780 <excludes>
781 </excludes>
782 <rulesets>
783 <ruleset>onos/pmd.xml</ruleset>
784 </rulesets>
785 </configuration>
786 <executions>
787 <execution>
788 <id>validate-pmd</id>
789 <phase>verify</phase>
790 <goals>
791 <!-- Uncomment this goal to make the build fail on pmd errors -->
792 <!--<goal>check</goal>-->
793 </goals>
794 </execution>
795 </executions>
796 </plugin>
797
798 <plugin>
799 <groupId>org.jacoco</groupId>
800 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800801 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700802 <executions>
803 <execution>
804 <id>default-prepare-agent</id>
805 <goals>
806 <goal>prepare-agent</goal>
807 </goals>
808 </execution>
809 <execution>
810 <id>default-report</id>
811 <phase>prepare-package</phase>
812 <goals>
813 <goal>report</goal>
814 </goals>
815 </execution>
816 </executions>
817 </plugin>
818 </plugins>
819 </build>
820
821 <reporting>
822 <plugins>
823 <plugin>
824 <groupId>org.apache.maven.plugins</groupId>
825 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700826 <configuration>
827 <configLocation>onos/checkstyle.xml</configLocation>
828 </configuration>
829 </plugin>
830
831 <plugin>
832 <groupId>org.apache.maven.plugins</groupId>
833 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700834 <configuration>
835 <excludes>
836 </excludes>
837 <rulesets>
838 <ruleset>onos/pmd.xml</ruleset>
839 </rulesets>
840 </configuration>
841 </plugin>
842 </plugins>
843 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800844</project>