blob: 003a9d4025e4bc01bd9a2f782cbeb4e4b5b0e3d2 [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>
Andrea Campanella82baf6b2015-12-14 10:23:37 -080057 <module>tools/package/maven-plugin</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>
Brian O'Connore261ab22015-12-04 22:42:06 -080078 <onos-build-conf.version>1.1</onos-build-conf.version>
Jian Lic0c36a42016-01-08 13:41:27 -080079 <netty4.version>4.0.33.Final</netty4.version>
Brian O'Connor47196c52015-12-15 14:21:47 -080080 <copycat.version>0.5.1.onos</copycat.version>
Brian O'Connor3f4ed6b2015-12-15 14:40:02 -080081 <openflowj.version>0.9.1.onos</openflowj.version>
Andrea Campanella82baf6b2015-12-14 10:23:37 -080082 <onos-maven-plugin.version>1.8-SNAPSHOT</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080083 <osgi.version>4.3.1</osgi.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070084 <karaf.version>3.0.3</karaf.version>
85 <jersey.version>1.19</jersey.version>
Jian Lic0c36a42016-01-08 13:41:27 -080086 <fasterxml.jackson.version>2.6.4</fasterxml.jackson.version>
87 <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
88 <slf4j.version>1.7.6</slf4j.version>
89 <guava.version>19.0</guava.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080090 <!-- TODO argLine was originally added maven-surfire-plugin configuration
91 to fix locale errors for non-US developers. However, it breaks
92 SonarQube's test coverage, so moving here for now. -->
93 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070094 </properties>
95
96 <distributionManagement>
97 <snapshotRepository>
98 <id>ossrh</id>
99 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
100 </snapshotRepository>
101 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800102
Brian O'Connor354cab92015-08-27 11:55:27 -0700103 <dependencyManagement>
104 <dependencies>
105 <dependency>
106 <groupId>junit</groupId>
107 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800108 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700109 <scope>test</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.hamcrest</groupId>
114 <artifactId>hamcrest-core</artifactId>
115 <version>1.3</version>
116 <scope>test</scope>
117 </dependency>
118 <dependency>
119 <groupId>org.hamcrest</groupId>
120 <artifactId>hamcrest-library</artifactId>
121 <version>1.3</version>
122 <scope>test</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>org.slf4j</groupId>
127 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800128 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700129 <scope>provided</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>org.slf4j</groupId>
134 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800135 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700136 <scope>test</scope>
137 </dependency>
138
139 <dependency>
140 <groupId>org.slf4j</groupId>
141 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800142 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700143 <scope>test</scope>
144 </dependency>
145
146 <dependency>
147 <groupId>com.google.guava</groupId>
148 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800149 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700150 </dependency>
151
152 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700153 <groupId>com.google.guava</groupId>
154 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800155 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700156 <scope>test</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>com.googlecode.concurrent-trees</groupId>
161 <artifactId>concurrent-trees</artifactId>
162 <version>2.4.0</version>
163 </dependency>
164
165 <dependency>
166 <groupId>commons-lang</groupId>
167 <artifactId>commons-lang</artifactId>
168 <version>2.6</version>
169 </dependency>
170
171 <dependency>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800174 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700175 </dependency>
176
177 <dependency>
178 <groupId>commons-configuration</groupId>
179 <artifactId>commons-configuration</artifactId>
180 <version>1.10</version>
181 </dependency>
182
183 <dependency>
184 <groupId>commons-collections</groupId>
185 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800186 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700187 </dependency>
188
189 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800190 <groupId>commons-pool</groupId>
191 <artifactId>commons-pool</artifactId>
192 <version>1.6</version>
193 </dependency>
194
195 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700196 <groupId>org.codehaus.jackson</groupId>
197 <artifactId>jackson-core-asl</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800198 <version>${codehaus.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700199 </dependency>
200 <dependency>
201 <groupId>org.codehaus.jackson</groupId>
202 <artifactId>jackson-mapper-asl</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800203 <version>${codehaus.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700204 </dependency>
205
206 <dependency>
207 <groupId>org.easymock</groupId>
208 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800209 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700210 <scope>test</scope>
211 </dependency>
212
213 <!-- Web related -->
214 <dependency>
215 <groupId>com.sun.jersey</groupId>
216 <artifactId>jersey-servlet</artifactId>
217 <version>${jersey.version}</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>com.sun.jersey.contribs</groupId>
222 <artifactId>jersey-multipart</artifactId>
223 <version>${jersey.version}</version>
224 <scope>provided</scope>
225 </dependency>
226 <dependency>
227 <groupId>com.sun.jersey.jersey-test-framework</groupId>
228 <artifactId>jersey-test-framework-core</artifactId>
229 <version>${jersey.version}</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>com.sun.jersey.jersey-test-framework</groupId>
234 <artifactId>jersey-test-framework-grizzly2</artifactId>
235 <version>${jersey.version}</version>
236 <scope>test</scope>
237 </dependency>
238 <dependency>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-databind</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800241 <version>${fasterxml.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700242 <scope>provided</scope>
243 </dependency>
244 <dependency>
245 <groupId>com.fasterxml.jackson.core</groupId>
246 <artifactId>jackson-annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800247 <version>${fasterxml.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700248 <scope>provided</scope>
249 </dependency>
250
251 <!-- OSGi related -->
252 <dependency>
253 <groupId>org.osgi</groupId>
254 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800255 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700256 <scope>provided</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.osgi</groupId>
260 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800261 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700262 <scope>provided</scope>
263 </dependency>
264 <dependency>
265 <groupId>org.apache.felix</groupId>
266 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800267 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700268 <scope>provided</scope>
269 </dependency>
270
271 <dependency>
272 <groupId>org.apache.karaf.features</groupId>
273 <artifactId>org.apache.karaf.features.core</artifactId>
274 <version>${karaf.version}</version>
275 <scope>provided</scope>
276 </dependency>
277 <dependency>
278 <groupId>org.apache.karaf.system</groupId>
279 <artifactId>org.apache.karaf.system.core</artifactId>
280 <version>${karaf.version}</version>
281 <scope>provided</scope>
282 </dependency>
283 <dependency>
284 <groupId>org.apache.karaf.shell</groupId>
285 <artifactId>org.apache.karaf.shell.console</artifactId>
286 <version>${karaf.version}</version>
287 <scope>provided</scope>
288 </dependency>
289
290 <dependency>
291 <groupId>org.livetribe.slp</groupId>
292 <artifactId>livetribe-slp</artifactId>
293 <version>2.2.1</version>
294 </dependency>
295
296 <dependency>
297 <groupId>com.eclipsesource.minimal-json</groupId>
298 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800299 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700300 </dependency>
301 <dependency>
302 <groupId>com.esotericsoftware</groupId>
303 <artifactId>kryo</artifactId>
304 <version>3.0.0</version>
305 </dependency>
306 <dependency>
307 <groupId>com.esotericsoftware</groupId>
308 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800309 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700310 <type>bundle</type>
311 </dependency>
312 <dependency>
313 <groupId>org.ow2.asm</groupId>
314 <artifactId>asm</artifactId>
315 <version>4.2</version>
316 </dependency>
317 <dependency>
318 <groupId>com.esotericsoftware</groupId>
319 <artifactId>minlog</artifactId>
320 <version>1.3.0</version>
321 </dependency>
322 <dependency>
323 <groupId>org.objenesis</groupId>
324 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800325 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700326 </dependency>
327
328 <!-- ONOS related -->
329 <dependency>
330 <groupId>org.onosproject</groupId>
331 <artifactId>onlab-misc</artifactId>
332 <version>${project.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>org.onosproject</groupId>
336 <artifactId>onlab-nio</artifactId>
337 <version>${project.version}</version>
338 </dependency>
339 <dependency>
340 <groupId>org.onosproject</groupId>
341 <artifactId>onlab-osgi</artifactId>
342 <version>${project.version}</version>
343 </dependency>
344 <dependency>
345 <groupId>org.onosproject</groupId>
346 <artifactId>onlab-osgi</artifactId>
347 <version>${project.version}</version>
348 <classifier>tests</classifier>
349 <scope>test</scope>
350 </dependency>
351 <dependency>
352 <groupId>org.onosproject</groupId>
353 <artifactId>onlab-junit</artifactId>
354 <version>${project.version}</version>
355 <scope>test</scope>
356 </dependency>
357
358 <dependency>
359 <groupId>org.onosproject</groupId>
360 <artifactId>onos-api</artifactId>
361 <version>${project.version}</version>
362 </dependency>
363 <dependency>
364 <groupId>org.onosproject</groupId>
365 <artifactId>onos-api</artifactId>
366 <version>${project.version}</version>
367 <classifier>tests</classifier>
368 <scope>test</scope>
369 </dependency>
370
371 <dependency>
372 <groupId>org.onosproject</groupId>
373 <artifactId>onos-incubator-api</artifactId>
374 <version>${project.version}</version>
375 </dependency>
376
377 <dependency>
378 <groupId>org.onosproject</groupId>
379 <artifactId>onos-core-common</artifactId>
380 <version>${project.version}</version>
381 </dependency>
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-core-common</artifactId>
385 <version>${project.version}</version>
386 <classifier>tests</classifier>
387 <scope>test</scope>
388 </dependency>
389
390 <dependency>
391 <groupId>org.onosproject</groupId>
392 <artifactId>onos-of-api</artifactId>
393 <version>${project.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>org.onosproject</groupId>
397 <artifactId>onos-ovsdb-rfc</artifactId>
398 <version>${project.version}</version>
399 </dependency>
400 <dependency>
401 <groupId>org.onosproject</groupId>
402 <artifactId>onos-ovsdb-api</artifactId>
403 <version>${project.version}</version>
404 </dependency>
405 <dependency>
406 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530407 <artifactId>onos-app-pcep-api</artifactId>
408 <version>${project.version}</version>
409 </dependency>
410 <dependency>
411 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700412 <artifactId>onos-pcepio</artifactId>
413 <version>${project.version}</version>
414 </dependency>
415
416 <dependency>
417 <groupId>org.onosproject</groupId>
418 <artifactId>onos-pcep-controller-api</artifactId>
419 <version>${project.version}</version>
420 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700421 <dependency>
422 <groupId>org.onosproject</groupId>
423 <artifactId>onlab-thirdparty</artifactId>
424 <version>${project.version}</version>
425 </dependency>
426
427 <dependency>
428 <groupId>org.onosproject</groupId>
429 <artifactId>onos-of-api</artifactId>
430 <version>${project.version}</version>
431 <classifier>tests</classifier>
432 <scope>test</scope>
433 </dependency>
434 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530435 <groupId>org.onosproject</groupId>
436 <artifactId>onos-pcep-controller-api</artifactId>
437 <version>${project.version}</version>
438 <classifier>tests</classifier>
439 <scope>test</scope>
440 </dependency>
441 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530442 <groupId>org.onosproject</groupId>
443 <artifactId>onos-bgpio</artifactId>
444 <version>${project.version}</version>
445 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800446
Brian O'Connor354cab92015-08-27 11:55:27 -0700447 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530448 <groupId>org.onosproject</groupId>
449 <artifactId>onos-bgp-api</artifactId>
450 <version>${project.version}</version>
451 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530452 <dependency>
453 <groupId>org.onosproject</groupId>
454 <artifactId>onos-app-bgp-api</artifactId>
455 <version>${project.version}</version>
456 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800457
458
459 <!-- Netty related; for now we require both 3.9 and 4 -->
460 <dependency>
461 <groupId>io.netty</groupId>
462 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800463 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800464 </dependency>
465
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530466 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700467 <groupId>io.netty</groupId>
468 <artifactId>netty-common</artifactId>
469 <version>${netty4.version}</version>
470 </dependency>
471 <dependency>
472 <groupId>io.netty</groupId>
473 <artifactId>netty-buffer</artifactId>
474 <version>${netty4.version}</version>
475 </dependency>
476 <dependency>
477 <groupId>io.netty</groupId>
478 <artifactId>netty-transport</artifactId>
479 <version>${netty4.version}</version>
480 </dependency>
481 <dependency>
482 <groupId>io.netty</groupId>
483 <artifactId>netty-handler</artifactId>
484 <version>${netty4.version}</version>
485 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800486
Brian O'Connor354cab92015-08-27 11:55:27 -0700487 <dependency>
488 <groupId>io.netty</groupId>
489 <artifactId>netty-codec</artifactId>
490 <version>${netty4.version}</version>
491 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800492
Brian O'Connor354cab92015-08-27 11:55:27 -0700493 <dependency>
494 <groupId>io.netty</groupId>
495 <artifactId>netty-transport-native-epoll</artifactId>
496 <version>${netty4.version}</version>
497 <classifier>${os.detected.classifier}</classifier>
498 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800499
Brian O'Connor354cab92015-08-27 11:55:27 -0700500 <dependency>
501 <groupId>joda-time</groupId>
502 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800503 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700504 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800505
506 <dependency>
507 <groupId>com.google.code.findbugs</groupId>
508 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800509 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800510 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700511 </dependencies>
512 </dependencyManagement>
513
514 <dependencies>
515 <dependency>
516 <groupId>junit</groupId>
517 <artifactId>junit</artifactId>
518 </dependency>
519 <dependency>
520 <groupId>org.hamcrest</groupId>
521 <artifactId>hamcrest-core</artifactId>
522 </dependency>
523 <dependency>
524 <groupId>org.hamcrest</groupId>
525 <artifactId>hamcrest-library</artifactId>
526 </dependency>
527 <dependency>
528 <groupId>org.slf4j</groupId>
529 <artifactId>slf4j-api</artifactId>
530 </dependency>
531 <dependency>
532 <groupId>org.slf4j</groupId>
533 <artifactId>slf4j-jdk14</artifactId>
534 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800535 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
536 Class not found: javax.annotation.Nullable
537 The following dependency alleviates this problem, but perhaps
538 it can be better located in the future. -->
539 <dependency>
540 <groupId>com.google.code.findbugs</groupId>
541 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800542 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800543 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700544 </dependencies>
545
546 <build>
547 <pluginManagement>
548 <plugins>
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-compiler-plugin</artifactId>
552 <!-- TODO: update once following issue is fixed. -->
553 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
554 <version>2.5.1</version>
555 <configuration>
556 <source>1.8</source>
557 <target>1.8</target>
558 </configuration>
559 </plugin>
560
561 <plugin>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800564 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700565 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800566 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700567 <printSummary>true</printSummary>
568 <excludedGroups>org.onlab.junit.IntegrationTest
569 </excludedGroups>
570 <rerunFailingTestsCount>1</rerunFailingTestsCount>
571 </configuration>
572 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800573 <plugin>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-javadoc-plugin</artifactId>
576 <version>2.10.3</version>
577 <configuration>
578 <tags>
579 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800580 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800581 <placement>m</placement>
582 <head>Json model for REST api:</head>
583 </tag>
584 </tags>
585 </configuration>
586 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800590 <version>2.6</version>
591 <configuration>
592 <skipIfEmpty>true</skipIfEmpty>
593 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700594 <executions>
595 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800596 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700597 <goals>
598 <goal>test-jar</goal>
599 </goals>
600 </execution>
601 </executions>
602 </plugin>
603
604 <plugin>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800607 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700608 </plugin>
609
610 <plugin>
611 <groupId>org.apache.felix</groupId>
612 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800613 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700614 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700615 </plugin>
616
617 <plugin>
618 <groupId>org.apache.maven.plugins</groupId>
619 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800620 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700621 </plugin>
622
623 <plugin>
624 <groupId>org.apache.felix</groupId>
625 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800626 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700627 <executions>
628 <execution>
629 <id>generate-scr-srcdescriptor</id>
630 <goals>
631 <goal>scr</goal>
632 </goals>
633 </execution>
634 </executions>
635 <configuration>
636 <supportedProjectTypes>
637 <supportedProjectType>bundle</supportedProjectType>
638 <supportedProjectType>war</supportedProjectType>
639 </supportedProjectTypes>
640 </configuration>
641 </plugin>
642 <plugin>
643 <groupId>org.codehaus.mojo</groupId>
644 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700645 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700646 <dependencies>
647 <dependency>
648 <groupId>org.onosproject</groupId>
649 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700650 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700651 </dependency>
652 </dependencies>
653 <configuration>
654 <effort>Max</effort>
655 <excludeFilterFile>onos/findbugs-suppressions.xml
656 </excludeFilterFile>
657 </configuration>
658 </plugin>
659
660 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
661 <plugin>
662 <groupId>org.onosproject</groupId>
663 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800664 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800665 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700666 <execution>
667 <id>cfg</id>
668 <phase>generate-resources</phase>
669 <goals>
670 <goal>cfg</goal>
671 </goals>
672 </execution>
673 <execution>
674 <id>swagger</id>
675 <phase>generate-sources</phase>
676 <goals>
677 <goal>swagger</goal>
678 </goals>
679 </execution>
680 <execution>
681 <id>app</id>
682 <phase>package</phase>
683 <goals>
684 <goal>app</goal>
685 </goals>
686 </execution>
687 </executions>
688 </plugin>
689 </plugins>
690 </pluginManagement>
691
692 <plugins>
693 <plugin>
694 <groupId>org.apache.maven.plugins</groupId>
695 <artifactId>maven-jar-plugin</artifactId>
696 </plugin>
697
698 <plugin>
699 <groupId>org.apache.maven.plugins</groupId>
700 <artifactId>maven-checkstyle-plugin</artifactId>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800701 <version>2.16</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700702 <dependencies>
703 <dependency>
704 <groupId>org.onosproject</groupId>
705 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700706 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700707 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700708 </dependencies>
709 <configuration>
710 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
711 <sourceDirectory>${project.build.sourceDirectory}
712 </sourceDirectory>
713 <testSourceDirectory>${project.build.testSourceDirectory}
714 </testSourceDirectory>
715 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
716 <configLocation>onos/checkstyle.xml</configLocation>
717 <suppressionsLocation>onos/suppressions.xml
718 </suppressionsLocation>
719 <failsOnError>false</failsOnError>
720 <logViolationsToConsole>true</logViolationsToConsole>
721 <includeTestSourceDirectory>true
722 </includeTestSourceDirectory>
723 </configuration>
724 <executions>
725 <execution>
726 <id>validate-checkstyle</id>
727 <phase>verify</phase>
728 <goals>
729 <goal>check</goal>
730 </goals>
731 </execution>
732 </executions>
733 </plugin>
734
735 <plugin>
736 <groupId>org.apache.maven.plugins</groupId>
737 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800738 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700739 <configuration>
740 <excludes>
741 </excludes>
742 <rulesets>
743 <ruleset>onos/pmd.xml</ruleset>
744 </rulesets>
745 </configuration>
746 <executions>
747 <execution>
748 <id>validate-pmd</id>
749 <phase>verify</phase>
750 <goals>
751 <!-- Uncomment this goal to make the build fail on pmd errors -->
752 <!--<goal>check</goal>-->
753 </goals>
754 </execution>
755 </executions>
756 </plugin>
757
758 <plugin>
759 <groupId>org.jacoco</groupId>
760 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800761 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700762 <executions>
763 <execution>
764 <id>default-prepare-agent</id>
765 <goals>
766 <goal>prepare-agent</goal>
767 </goals>
768 </execution>
769 <execution>
770 <id>default-report</id>
771 <phase>prepare-package</phase>
772 <goals>
773 <goal>report</goal>
774 </goals>
775 </execution>
776 </executions>
777 </plugin>
778 </plugins>
779 </build>
780
781 <reporting>
782 <plugins>
783 <plugin>
784 <groupId>org.apache.maven.plugins</groupId>
785 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700786 <configuration>
787 <configLocation>onos/checkstyle.xml</configLocation>
788 </configuration>
789 </plugin>
790
791 <plugin>
792 <groupId>org.apache.maven.plugins</groupId>
793 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700794 <configuration>
795 <excludes>
796 </excludes>
797 <rulesets>
798 <ruleset>onos/pmd.xml</ruleset>
799 </rulesets>
800 </configuration>
801 </plugin>
802 </plugins>
803 </reporting>
Jian Lic0c36a42016-01-08 13:41:27 -0800804</project>