blob: b7513735efca31d0ecc6371237461c21b3629eb2 [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'Connor880dc20d2015-12-16 22:53:14 -080036 <version>1.5.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 Vachuskac7e94632016-03-01 20:25:53 -080077 <onos-build-conf.version>1.2</onos-build-conf.version>
Jian Lic0c36a42016-01-08 13:41:27 -080078 <netty4.version>4.0.33.Final</netty4.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080079 <!-- TODO: replace with final release version when it is out -->
Madan Jampani3a9911c2016-02-21 11:25:45 -080080 <atomix.version>1.0.0-rc2</atomix.version>
Brian O'Connor47196c52015-12-15 14:21:47 -080081 <copycat.version>0.5.1.onos</copycat.version>
Brian O'Connord0a5db22016-03-02 14:51:53 -080082 <openflowj.version>0.9.2.onos-SNAPSHOT</openflowj.version>
Thomas Vachuska311470a2016-03-01 20:03:22 -080083 <onos-maven-plugin.version>1.8</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080084 <osgi.version>4.3.1</osgi.version>
Jian Li11599162016-01-15 15:46:16 -080085 <karaf.version>3.0.5</karaf.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070086 <jersey.version>1.19</jersey.version>
Jian Lia9a1bbd2016-01-22 00:34:49 -080087 <jackson.version>2.7.0</jackson.version>
Jian Lie4583fd2016-01-22 10:02:43 -080088 <slf4j.version>1.7.13</slf4j.version>
Jian Lic0c36a42016-01-08 13:41:27 -080089 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080090 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080091 <!-- TODO argLine was originally added maven-surfire-plugin configuration
92 to fix locale errors for non-US developers. However, it breaks
93 SonarQube's test coverage, so moving here for now. -->
94 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070095 </properties>
96
97 <distributionManagement>
98 <snapshotRepository>
99 <id>ossrh</id>
100 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
101 </snapshotRepository>
102 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800103
Brian O'Connord0a5db22016-03-02 14:51:53 -0800104 <!-- FIXME remove before Falcon release -->
105 <repositories>
106 <repository>
107 <id>snapshots</id>
108 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
109 </repository>
110 </repositories>
111
Brian O'Connor354cab92015-08-27 11:55:27 -0700112 <dependencyManagement>
113 <dependencies>
114 <dependency>
115 <groupId>junit</groupId>
116 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800117 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.hamcrest</groupId>
123 <artifactId>hamcrest-core</artifactId>
124 <version>1.3</version>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.hamcrest</groupId>
129 <artifactId>hamcrest-library</artifactId>
130 <version>1.3</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800137 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700138 <scope>provided</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>org.slf4j</groupId>
143 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800144 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700145 <scope>test</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.slf4j</groupId>
150 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800151 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700152 <scope>test</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>com.google.guava</groupId>
157 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800158 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700159 </dependency>
160
161 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700162 <groupId>com.google.guava</groupId>
163 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800164 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700165 <scope>test</scope>
166 </dependency>
167
168 <dependency>
169 <groupId>com.googlecode.concurrent-trees</groupId>
170 <artifactId>concurrent-trees</artifactId>
171 <version>2.4.0</version>
172 </dependency>
173
174 <dependency>
175 <groupId>commons-lang</groupId>
176 <artifactId>commons-lang</artifactId>
177 <version>2.6</version>
178 </dependency>
179
180 <dependency>
181 <groupId>org.apache.commons</groupId>
182 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800183 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700184 </dependency>
185
186 <dependency>
187 <groupId>commons-configuration</groupId>
188 <artifactId>commons-configuration</artifactId>
189 <version>1.10</version>
190 </dependency>
191
192 <dependency>
193 <groupId>commons-collections</groupId>
194 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800195 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700196 </dependency>
197
198 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800199 <groupId>commons-pool</groupId>
200 <artifactId>commons-pool</artifactId>
201 <version>1.6</version>
202 </dependency>
203
204 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700205 <groupId>org.easymock</groupId>
206 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800207 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700208 <scope>test</scope>
209 </dependency>
210
211 <!-- Web related -->
212 <dependency>
213 <groupId>com.sun.jersey</groupId>
214 <artifactId>jersey-servlet</artifactId>
215 <version>${jersey.version}</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
219 <groupId>com.sun.jersey.contribs</groupId>
220 <artifactId>jersey-multipart</artifactId>
221 <version>${jersey.version}</version>
222 <scope>provided</scope>
223 </dependency>
224 <dependency>
225 <groupId>com.sun.jersey.jersey-test-framework</groupId>
226 <artifactId>jersey-test-framework-core</artifactId>
227 <version>${jersey.version}</version>
228 <scope>test</scope>
229 </dependency>
230 <dependency>
231 <groupId>com.sun.jersey.jersey-test-framework</groupId>
232 <artifactId>jersey-test-framework-grizzly2</artifactId>
233 <version>${jersey.version}</version>
234 <scope>test</scope>
235 </dependency>
236 <dependency>
Andrea Campanella945ded22016-01-07 13:17:43 -0800237 <groupId>com.sun.jersey</groupId>
238 <artifactId>jersey-client</artifactId>
239 <version>${jersey.version}</version>
240 </dependency>
241 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700242 <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>
273
274 <dependency>
275 <groupId>org.apache.karaf.features</groupId>
276 <artifactId>org.apache.karaf.features.core</artifactId>
277 <version>${karaf.version}</version>
278 <scope>provided</scope>
279 </dependency>
280 <dependency>
281 <groupId>org.apache.karaf.system</groupId>
282 <artifactId>org.apache.karaf.system.core</artifactId>
283 <version>${karaf.version}</version>
284 <scope>provided</scope>
285 </dependency>
286 <dependency>
287 <groupId>org.apache.karaf.shell</groupId>
288 <artifactId>org.apache.karaf.shell.console</artifactId>
289 <version>${karaf.version}</version>
290 <scope>provided</scope>
291 </dependency>
292
293 <dependency>
294 <groupId>org.livetribe.slp</groupId>
295 <artifactId>livetribe-slp</artifactId>
296 <version>2.2.1</version>
297 </dependency>
298
299 <dependency>
300 <groupId>com.eclipsesource.minimal-json</groupId>
301 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800302 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700303 </dependency>
304 <dependency>
305 <groupId>com.esotericsoftware</groupId>
306 <artifactId>kryo</artifactId>
307 <version>3.0.0</version>
308 </dependency>
309 <dependency>
310 <groupId>com.esotericsoftware</groupId>
311 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800312 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700313 <type>bundle</type>
314 </dependency>
315 <dependency>
316 <groupId>org.ow2.asm</groupId>
317 <artifactId>asm</artifactId>
318 <version>4.2</version>
319 </dependency>
320 <dependency>
321 <groupId>com.esotericsoftware</groupId>
322 <artifactId>minlog</artifactId>
323 <version>1.3.0</version>
324 </dependency>
325 <dependency>
326 <groupId>org.objenesis</groupId>
327 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800328 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700329 </dependency>
330
331 <!-- ONOS related -->
332 <dependency>
333 <groupId>org.onosproject</groupId>
334 <artifactId>onlab-misc</artifactId>
335 <version>${project.version}</version>
336 </dependency>
337 <dependency>
338 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700339 <artifactId>onlab-osgi</artifactId>
340 <version>${project.version}</version>
341 </dependency>
342 <dependency>
343 <groupId>org.onosproject</groupId>
344 <artifactId>onlab-osgi</artifactId>
345 <version>${project.version}</version>
346 <classifier>tests</classifier>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>org.onosproject</groupId>
351 <artifactId>onlab-junit</artifactId>
352 <version>${project.version}</version>
353 <scope>test</scope>
354 </dependency>
355
356 <dependency>
357 <groupId>org.onosproject</groupId>
358 <artifactId>onos-api</artifactId>
359 <version>${project.version}</version>
360 </dependency>
361 <dependency>
362 <groupId>org.onosproject</groupId>
363 <artifactId>onos-api</artifactId>
364 <version>${project.version}</version>
365 <classifier>tests</classifier>
366 <scope>test</scope>
367 </dependency>
368
369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-incubator-api</artifactId>
372 <version>${project.version}</version>
373 </dependency>
374
375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onos-core-common</artifactId>
378 <version>${project.version}</version>
379 </dependency>
380 <dependency>
381 <groupId>org.onosproject</groupId>
382 <artifactId>onos-core-common</artifactId>
383 <version>${project.version}</version>
384 <classifier>tests</classifier>
385 <scope>test</scope>
386 </dependency>
387
388 <dependency>
389 <groupId>org.onosproject</groupId>
390 <artifactId>onos-of-api</artifactId>
391 <version>${project.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>org.onosproject</groupId>
395 <artifactId>onos-ovsdb-rfc</artifactId>
396 <version>${project.version}</version>
397 </dependency>
398 <dependency>
399 <groupId>org.onosproject</groupId>
400 <artifactId>onos-ovsdb-api</artifactId>
401 <version>${project.version}</version>
402 </dependency>
403 <dependency>
404 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530405 <artifactId>onos-app-pcep-api</artifactId>
406 <version>${project.version}</version>
407 </dependency>
408 <dependency>
409 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700410 <artifactId>onos-pcepio</artifactId>
411 <version>${project.version}</version>
412 </dependency>
413
414 <dependency>
415 <groupId>org.onosproject</groupId>
416 <artifactId>onos-pcep-controller-api</artifactId>
417 <version>${project.version}</version>
418 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700419 <dependency>
420 <groupId>org.onosproject</groupId>
421 <artifactId>onlab-thirdparty</artifactId>
422 <version>${project.version}</version>
423 </dependency>
424
425 <dependency>
426 <groupId>org.onosproject</groupId>
427 <artifactId>onos-of-api</artifactId>
428 <version>${project.version}</version>
429 <classifier>tests</classifier>
430 <scope>test</scope>
431 </dependency>
432 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530433 <groupId>org.onosproject</groupId>
434 <artifactId>onos-pcep-controller-api</artifactId>
435 <version>${project.version}</version>
436 <classifier>tests</classifier>
437 <scope>test</scope>
438 </dependency>
439 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530440 <groupId>org.onosproject</groupId>
441 <artifactId>onos-bgpio</artifactId>
442 <version>${project.version}</version>
443 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800444
Brian O'Connor354cab92015-08-27 11:55:27 -0700445 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530446 <groupId>org.onosproject</groupId>
447 <artifactId>onos-bgp-api</artifactId>
448 <version>${project.version}</version>
449 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530450 <dependency>
451 <groupId>org.onosproject</groupId>
452 <artifactId>onos-app-bgp-api</artifactId>
453 <version>${project.version}</version>
454 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800455
456
457 <!-- Netty related; for now we require both 3.9 and 4 -->
458 <dependency>
459 <groupId>io.netty</groupId>
460 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800461 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800462 </dependency>
463
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530464 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700465 <groupId>io.netty</groupId>
466 <artifactId>netty-common</artifactId>
467 <version>${netty4.version}</version>
468 </dependency>
469 <dependency>
470 <groupId>io.netty</groupId>
471 <artifactId>netty-buffer</artifactId>
472 <version>${netty4.version}</version>
473 </dependency>
474 <dependency>
475 <groupId>io.netty</groupId>
476 <artifactId>netty-transport</artifactId>
477 <version>${netty4.version}</version>
478 </dependency>
479 <dependency>
480 <groupId>io.netty</groupId>
481 <artifactId>netty-handler</artifactId>
482 <version>${netty4.version}</version>
483 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800484
Brian O'Connor354cab92015-08-27 11:55:27 -0700485 <dependency>
486 <groupId>io.netty</groupId>
487 <artifactId>netty-codec</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-transport-native-epoll</artifactId>
494 <version>${netty4.version}</version>
495 <classifier>${os.detected.classifier}</classifier>
496 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800497
Brian O'Connor354cab92015-08-27 11:55:27 -0700498 <dependency>
499 <groupId>joda-time</groupId>
500 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800501 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700502 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800503
504 <dependency>
505 <groupId>com.google.code.findbugs</groupId>
506 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800507 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800508 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700509 </dependencies>
510 </dependencyManagement>
511
512 <dependencies>
513 <dependency>
514 <groupId>junit</groupId>
515 <artifactId>junit</artifactId>
516 </dependency>
517 <dependency>
518 <groupId>org.hamcrest</groupId>
519 <artifactId>hamcrest-core</artifactId>
520 </dependency>
521 <dependency>
522 <groupId>org.hamcrest</groupId>
523 <artifactId>hamcrest-library</artifactId>
524 </dependency>
525 <dependency>
526 <groupId>org.slf4j</groupId>
527 <artifactId>slf4j-api</artifactId>
528 </dependency>
529 <dependency>
530 <groupId>org.slf4j</groupId>
531 <artifactId>slf4j-jdk14</artifactId>
532 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800533 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
534 Class not found: javax.annotation.Nullable
535 The following dependency alleviates this problem, but perhaps
536 it can be better located in the future. -->
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'Connor354cab92015-08-27 11:55:27 -0700542 </dependencies>
543
544 <build>
545 <pluginManagement>
546 <plugins>
547 <plugin>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-compiler-plugin</artifactId>
550 <!-- TODO: update once following issue is fixed. -->
551 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
552 <version>2.5.1</version>
553 <configuration>
554 <source>1.8</source>
555 <target>1.8</target>
556 </configuration>
557 </plugin>
558
559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800562 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700563 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800564 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700565 <printSummary>true</printSummary>
566 <excludedGroups>org.onlab.junit.IntegrationTest
567 </excludedGroups>
568 <rerunFailingTestsCount>1</rerunFailingTestsCount>
569 </configuration>
570 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800571 <plugin>
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-javadoc-plugin</artifactId>
574 <version>2.10.3</version>
575 <configuration>
576 <tags>
577 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800578 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800579 <placement>m</placement>
580 <head>Json model for REST api:</head>
581 </tag>
582 </tags>
583 </configuration>
584 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800588 <version>2.6</version>
589 <configuration>
590 <skipIfEmpty>true</skipIfEmpty>
591 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700592 <executions>
593 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800594 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700595 <goals>
596 <goal>test-jar</goal>
597 </goals>
598 </execution>
599 </executions>
600 </plugin>
601
602 <plugin>
603 <groupId>org.apache.maven.plugins</groupId>
604 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800605 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700606 </plugin>
607
608 <plugin>
609 <groupId>org.apache.felix</groupId>
610 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800611 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700612 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700613 </plugin>
614
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
617 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800618 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700619 </plugin>
620
621 <plugin>
622 <groupId>org.apache.felix</groupId>
623 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800624 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700625 <executions>
626 <execution>
627 <id>generate-scr-srcdescriptor</id>
628 <goals>
629 <goal>scr</goal>
630 </goals>
631 </execution>
632 </executions>
633 <configuration>
634 <supportedProjectTypes>
635 <supportedProjectType>bundle</supportedProjectType>
636 <supportedProjectType>war</supportedProjectType>
637 </supportedProjectTypes>
638 </configuration>
639 </plugin>
640 <plugin>
641 <groupId>org.codehaus.mojo</groupId>
642 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700643 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700644 <dependencies>
645 <dependency>
646 <groupId>org.onosproject</groupId>
647 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700648 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700649 </dependency>
650 </dependencies>
651 <configuration>
652 <effort>Max</effort>
653 <excludeFilterFile>onos/findbugs-suppressions.xml
654 </excludeFilterFile>
655 </configuration>
656 </plugin>
657
658 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
659 <plugin>
660 <groupId>org.onosproject</groupId>
661 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800662 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800663 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700664 <execution>
665 <id>cfg</id>
666 <phase>generate-resources</phase>
667 <goals>
668 <goal>cfg</goal>
669 </goals>
670 </execution>
671 <execution>
672 <id>swagger</id>
673 <phase>generate-sources</phase>
674 <goals>
675 <goal>swagger</goal>
676 </goals>
677 </execution>
678 <execution>
679 <id>app</id>
680 <phase>package</phase>
681 <goals>
682 <goal>app</goal>
683 </goals>
684 </execution>
685 </executions>
686 </plugin>
687 </plugins>
688 </pluginManagement>
689
690 <plugins>
691 <plugin>
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-jar-plugin</artifactId>
694 </plugin>
695
696 <plugin>
697 <groupId>org.apache.maven.plugins</groupId>
698 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800699 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700700 <dependencies>
701 <dependency>
702 <groupId>org.onosproject</groupId>
703 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700704 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700705 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700706 </dependencies>
707 <configuration>
708 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
709 <sourceDirectory>${project.build.sourceDirectory}
710 </sourceDirectory>
711 <testSourceDirectory>${project.build.testSourceDirectory}
712 </testSourceDirectory>
713 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
714 <configLocation>onos/checkstyle.xml</configLocation>
715 <suppressionsLocation>onos/suppressions.xml
716 </suppressionsLocation>
717 <failsOnError>false</failsOnError>
718 <logViolationsToConsole>true</logViolationsToConsole>
719 <includeTestSourceDirectory>true
720 </includeTestSourceDirectory>
721 </configuration>
722 <executions>
723 <execution>
724 <id>validate-checkstyle</id>
725 <phase>verify</phase>
726 <goals>
727 <goal>check</goal>
728 </goals>
729 </execution>
730 </executions>
731 </plugin>
732
733 <plugin>
734 <groupId>org.apache.maven.plugins</groupId>
735 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800736 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700737 <configuration>
738 <excludes>
739 </excludes>
740 <rulesets>
741 <ruleset>onos/pmd.xml</ruleset>
742 </rulesets>
743 </configuration>
744 <executions>
745 <execution>
746 <id>validate-pmd</id>
747 <phase>verify</phase>
748 <goals>
749 <!-- Uncomment this goal to make the build fail on pmd errors -->
750 <!--<goal>check</goal>-->
751 </goals>
752 </execution>
753 </executions>
754 </plugin>
755
756 <plugin>
757 <groupId>org.jacoco</groupId>
758 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800759 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700760 <executions>
761 <execution>
762 <id>default-prepare-agent</id>
763 <goals>
764 <goal>prepare-agent</goal>
765 </goals>
766 </execution>
767 <execution>
768 <id>default-report</id>
769 <phase>prepare-package</phase>
770 <goals>
771 <goal>report</goal>
772 </goals>
773 </execution>
774 </executions>
775 </plugin>
776 </plugins>
777 </build>
778
779 <reporting>
780 <plugins>
781 <plugin>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700784 <configuration>
785 <configLocation>onos/checkstyle.xml</configLocation>
786 </configuration>
787 </plugin>
788
789 <plugin>
790 <groupId>org.apache.maven.plugins</groupId>
791 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700792 <configuration>
793 <excludes>
794 </excludes>
795 <rulesets>
796 <ruleset>onos/pmd.xml</ruleset>
797 </rulesets>
798 </configuration>
799 </plugin>
800 </plugins>
801 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800802</project>