blob: 941c353b79b318c9f62e87f4111f76dbced725aa [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>
Madan Jampani3289fbf2016-01-13 14:14:27 -080080 <!-- TODO: replace with final release version when it is out -->
81 <atomix.version>0.1.0-beta4</atomix.version>
Brian O'Connor47196c52015-12-15 14:21:47 -080082 <copycat.version>0.5.1.onos</copycat.version>
Brian O'Connor3f4ed6b2015-12-15 14:40:02 -080083 <openflowj.version>0.9.1.onos</openflowj.version>
Andrea Campanella82baf6b2015-12-14 10:23:37 -080084 <onos-maven-plugin.version>1.8-SNAPSHOT</onos-maven-plugin.version>
Jian Lic0c36a42016-01-08 13:41:27 -080085 <osgi.version>4.3.1</osgi.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070086 <karaf.version>3.0.3</karaf.version>
87 <jersey.version>1.19</jersey.version>
Jian Lia5a312b2016-01-15 17:59:12 -080088 <jackson.version>2.6.4</jackson.version>
Jian Lic0c36a42016-01-08 13:41:27 -080089 <slf4j.version>1.7.6</slf4j.version>
90 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080091 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080092 <!-- TODO argLine was originally added maven-surfire-plugin configuration
93 to fix locale errors for non-US developers. However, it breaks
94 SonarQube's test coverage, so moving here for now. -->
95 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070096 </properties>
97
98 <distributionManagement>
99 <snapshotRepository>
100 <id>ossrh</id>
101 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
102 </snapshotRepository>
103 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800104
Brian O'Connor354cab92015-08-27 11:55:27 -0700105 <dependencyManagement>
106 <dependencies>
107 <dependency>
108 <groupId>junit</groupId>
109 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800110 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700111 <scope>test</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.hamcrest</groupId>
116 <artifactId>hamcrest-core</artifactId>
117 <version>1.3</version>
118 <scope>test</scope>
119 </dependency>
120 <dependency>
121 <groupId>org.hamcrest</groupId>
122 <artifactId>hamcrest-library</artifactId>
123 <version>1.3</version>
124 <scope>test</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>org.slf4j</groupId>
129 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800130 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700131 <scope>provided</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800137 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700138 <scope>test</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>org.slf4j</groupId>
143 <artifactId>slf4j-jdk14</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>com.google.guava</groupId>
150 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800151 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700152 </dependency>
153
154 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700155 <groupId>com.google.guava</groupId>
156 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800157 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700158 <scope>test</scope>
159 </dependency>
160
161 <dependency>
162 <groupId>com.googlecode.concurrent-trees</groupId>
163 <artifactId>concurrent-trees</artifactId>
164 <version>2.4.0</version>
165 </dependency>
166
167 <dependency>
168 <groupId>commons-lang</groupId>
169 <artifactId>commons-lang</artifactId>
170 <version>2.6</version>
171 </dependency>
172
173 <dependency>
174 <groupId>org.apache.commons</groupId>
175 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800176 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700177 </dependency>
178
179 <dependency>
180 <groupId>commons-configuration</groupId>
181 <artifactId>commons-configuration</artifactId>
182 <version>1.10</version>
183 </dependency>
184
185 <dependency>
186 <groupId>commons-collections</groupId>
187 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800188 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700189 </dependency>
190
191 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800192 <groupId>commons-pool</groupId>
193 <artifactId>commons-pool</artifactId>
194 <version>1.6</version>
195 </dependency>
196
197 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700198 <groupId>org.easymock</groupId>
199 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800200 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700201 <scope>test</scope>
202 </dependency>
203
204 <!-- Web related -->
205 <dependency>
206 <groupId>com.sun.jersey</groupId>
207 <artifactId>jersey-servlet</artifactId>
208 <version>${jersey.version}</version>
209 <scope>provided</scope>
210 </dependency>
211 <dependency>
212 <groupId>com.sun.jersey.contribs</groupId>
213 <artifactId>jersey-multipart</artifactId>
214 <version>${jersey.version}</version>
215 <scope>provided</scope>
216 </dependency>
217 <dependency>
218 <groupId>com.sun.jersey.jersey-test-framework</groupId>
219 <artifactId>jersey-test-framework-core</artifactId>
220 <version>${jersey.version}</version>
221 <scope>test</scope>
222 </dependency>
223 <dependency>
224 <groupId>com.sun.jersey.jersey-test-framework</groupId>
225 <artifactId>jersey-test-framework-grizzly2</artifactId>
226 <version>${jersey.version}</version>
227 <scope>test</scope>
228 </dependency>
229 <dependency>
Andrea Campanella945ded22016-01-07 13:17:43 -0800230 <groupId>com.sun.jersey</groupId>
231 <artifactId>jersey-client</artifactId>
232 <version>${jersey.version}</version>
233 </dependency>
234 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800237 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700238 <scope>provided</scope>
239 </dependency>
240 <dependency>
241 <groupId>com.fasterxml.jackson.core</groupId>
242 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800243 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700244 <scope>provided</scope>
245 </dependency>
246
247 <!-- OSGi related -->
248 <dependency>
249 <groupId>org.osgi</groupId>
250 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800251 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700252 <scope>provided</scope>
253 </dependency>
254 <dependency>
255 <groupId>org.osgi</groupId>
256 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800257 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700258 <scope>provided</scope>
259 </dependency>
260 <dependency>
261 <groupId>org.apache.felix</groupId>
262 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800263 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700264 <scope>provided</scope>
265 </dependency>
266
267 <dependency>
268 <groupId>org.apache.karaf.features</groupId>
269 <artifactId>org.apache.karaf.features.core</artifactId>
270 <version>${karaf.version}</version>
271 <scope>provided</scope>
272 </dependency>
273 <dependency>
274 <groupId>org.apache.karaf.system</groupId>
275 <artifactId>org.apache.karaf.system.core</artifactId>
276 <version>${karaf.version}</version>
277 <scope>provided</scope>
278 </dependency>
279 <dependency>
280 <groupId>org.apache.karaf.shell</groupId>
281 <artifactId>org.apache.karaf.shell.console</artifactId>
282 <version>${karaf.version}</version>
283 <scope>provided</scope>
284 </dependency>
285
286 <dependency>
287 <groupId>org.livetribe.slp</groupId>
288 <artifactId>livetribe-slp</artifactId>
289 <version>2.2.1</version>
290 </dependency>
291
292 <dependency>
293 <groupId>com.eclipsesource.minimal-json</groupId>
294 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800295 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700296 </dependency>
297 <dependency>
298 <groupId>com.esotericsoftware</groupId>
299 <artifactId>kryo</artifactId>
300 <version>3.0.0</version>
301 </dependency>
302 <dependency>
303 <groupId>com.esotericsoftware</groupId>
304 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800305 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700306 <type>bundle</type>
307 </dependency>
308 <dependency>
309 <groupId>org.ow2.asm</groupId>
310 <artifactId>asm</artifactId>
311 <version>4.2</version>
312 </dependency>
313 <dependency>
314 <groupId>com.esotericsoftware</groupId>
315 <artifactId>minlog</artifactId>
316 <version>1.3.0</version>
317 </dependency>
318 <dependency>
319 <groupId>org.objenesis</groupId>
320 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800321 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700322 </dependency>
323
324 <!-- ONOS related -->
325 <dependency>
326 <groupId>org.onosproject</groupId>
327 <artifactId>onlab-misc</artifactId>
328 <version>${project.version}</version>
329 </dependency>
330 <dependency>
331 <groupId>org.onosproject</groupId>
332 <artifactId>onlab-nio</artifactId>
333 <version>${project.version}</version>
334 </dependency>
335 <dependency>
336 <groupId>org.onosproject</groupId>
337 <artifactId>onlab-osgi</artifactId>
338 <version>${project.version}</version>
339 </dependency>
340 <dependency>
341 <groupId>org.onosproject</groupId>
342 <artifactId>onlab-osgi</artifactId>
343 <version>${project.version}</version>
344 <classifier>tests</classifier>
345 <scope>test</scope>
346 </dependency>
347 <dependency>
348 <groupId>org.onosproject</groupId>
349 <artifactId>onlab-junit</artifactId>
350 <version>${project.version}</version>
351 <scope>test</scope>
352 </dependency>
353
354 <dependency>
355 <groupId>org.onosproject</groupId>
356 <artifactId>onos-api</artifactId>
357 <version>${project.version}</version>
358 </dependency>
359 <dependency>
360 <groupId>org.onosproject</groupId>
361 <artifactId>onos-api</artifactId>
362 <version>${project.version}</version>
363 <classifier>tests</classifier>
364 <scope>test</scope>
365 </dependency>
366
367 <dependency>
368 <groupId>org.onosproject</groupId>
369 <artifactId>onos-incubator-api</artifactId>
370 <version>${project.version}</version>
371 </dependency>
372
373 <dependency>
374 <groupId>org.onosproject</groupId>
375 <artifactId>onos-core-common</artifactId>
376 <version>${project.version}</version>
377 </dependency>
378 <dependency>
379 <groupId>org.onosproject</groupId>
380 <artifactId>onos-core-common</artifactId>
381 <version>${project.version}</version>
382 <classifier>tests</classifier>
383 <scope>test</scope>
384 </dependency>
385
386 <dependency>
387 <groupId>org.onosproject</groupId>
388 <artifactId>onos-of-api</artifactId>
389 <version>${project.version}</version>
390 </dependency>
391 <dependency>
392 <groupId>org.onosproject</groupId>
393 <artifactId>onos-ovsdb-rfc</artifactId>
394 <version>${project.version}</version>
395 </dependency>
396 <dependency>
397 <groupId>org.onosproject</groupId>
398 <artifactId>onos-ovsdb-api</artifactId>
399 <version>${project.version}</version>
400 </dependency>
401 <dependency>
402 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530403 <artifactId>onos-app-pcep-api</artifactId>
404 <version>${project.version}</version>
405 </dependency>
406 <dependency>
407 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700408 <artifactId>onos-pcepio</artifactId>
409 <version>${project.version}</version>
410 </dependency>
411
412 <dependency>
413 <groupId>org.onosproject</groupId>
414 <artifactId>onos-pcep-controller-api</artifactId>
415 <version>${project.version}</version>
416 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700417 <dependency>
418 <groupId>org.onosproject</groupId>
419 <artifactId>onlab-thirdparty</artifactId>
420 <version>${project.version}</version>
421 </dependency>
422
423 <dependency>
424 <groupId>org.onosproject</groupId>
425 <artifactId>onos-of-api</artifactId>
426 <version>${project.version}</version>
427 <classifier>tests</classifier>
428 <scope>test</scope>
429 </dependency>
430 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530431 <groupId>org.onosproject</groupId>
432 <artifactId>onos-pcep-controller-api</artifactId>
433 <version>${project.version}</version>
434 <classifier>tests</classifier>
435 <scope>test</scope>
436 </dependency>
437 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530438 <groupId>org.onosproject</groupId>
439 <artifactId>onos-bgpio</artifactId>
440 <version>${project.version}</version>
441 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800442
Brian O'Connor354cab92015-08-27 11:55:27 -0700443 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530444 <groupId>org.onosproject</groupId>
445 <artifactId>onos-bgp-api</artifactId>
446 <version>${project.version}</version>
447 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530448 <dependency>
449 <groupId>org.onosproject</groupId>
450 <artifactId>onos-app-bgp-api</artifactId>
451 <version>${project.version}</version>
452 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800453
454
455 <!-- Netty related; for now we require both 3.9 and 4 -->
456 <dependency>
457 <groupId>io.netty</groupId>
458 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800459 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800460 </dependency>
461
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530462 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700463 <groupId>io.netty</groupId>
464 <artifactId>netty-common</artifactId>
465 <version>${netty4.version}</version>
466 </dependency>
467 <dependency>
468 <groupId>io.netty</groupId>
469 <artifactId>netty-buffer</artifactId>
470 <version>${netty4.version}</version>
471 </dependency>
472 <dependency>
473 <groupId>io.netty</groupId>
474 <artifactId>netty-transport</artifactId>
475 <version>${netty4.version}</version>
476 </dependency>
477 <dependency>
478 <groupId>io.netty</groupId>
479 <artifactId>netty-handler</artifactId>
480 <version>${netty4.version}</version>
481 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800482
Brian O'Connor354cab92015-08-27 11:55:27 -0700483 <dependency>
484 <groupId>io.netty</groupId>
485 <artifactId>netty-codec</artifactId>
486 <version>${netty4.version}</version>
487 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800488
Brian O'Connor354cab92015-08-27 11:55:27 -0700489 <dependency>
490 <groupId>io.netty</groupId>
491 <artifactId>netty-transport-native-epoll</artifactId>
492 <version>${netty4.version}</version>
493 <classifier>${os.detected.classifier}</classifier>
494 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800495
Brian O'Connor354cab92015-08-27 11:55:27 -0700496 <dependency>
497 <groupId>joda-time</groupId>
498 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800499 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700500 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800501
502 <dependency>
503 <groupId>com.google.code.findbugs</groupId>
504 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800505 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800506 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700507 </dependencies>
508 </dependencyManagement>
509
510 <dependencies>
511 <dependency>
512 <groupId>junit</groupId>
513 <artifactId>junit</artifactId>
514 </dependency>
515 <dependency>
516 <groupId>org.hamcrest</groupId>
517 <artifactId>hamcrest-core</artifactId>
518 </dependency>
519 <dependency>
520 <groupId>org.hamcrest</groupId>
521 <artifactId>hamcrest-library</artifactId>
522 </dependency>
523 <dependency>
524 <groupId>org.slf4j</groupId>
525 <artifactId>slf4j-api</artifactId>
526 </dependency>
527 <dependency>
528 <groupId>org.slf4j</groupId>
529 <artifactId>slf4j-jdk14</artifactId>
530 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800531 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
532 Class not found: javax.annotation.Nullable
533 The following dependency alleviates this problem, but perhaps
534 it can be better located in the future. -->
535 <dependency>
536 <groupId>com.google.code.findbugs</groupId>
537 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800538 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800539 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700540 </dependencies>
541
542 <build>
543 <pluginManagement>
544 <plugins>
545 <plugin>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-compiler-plugin</artifactId>
548 <!-- TODO: update once following issue is fixed. -->
549 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
550 <version>2.5.1</version>
551 <configuration>
552 <source>1.8</source>
553 <target>1.8</target>
554 </configuration>
555 </plugin>
556
557 <plugin>
558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800560 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700561 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800562 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700563 <printSummary>true</printSummary>
564 <excludedGroups>org.onlab.junit.IntegrationTest
565 </excludedGroups>
566 <rerunFailingTestsCount>1</rerunFailingTestsCount>
567 </configuration>
568 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800569 <plugin>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-javadoc-plugin</artifactId>
572 <version>2.10.3</version>
573 <configuration>
574 <tags>
575 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800576 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800577 <placement>m</placement>
578 <head>Json model for REST api:</head>
579 </tag>
580 </tags>
581 </configuration>
582 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700583 <plugin>
584 <groupId>org.apache.maven.plugins</groupId>
585 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800586 <version>2.6</version>
587 <configuration>
588 <skipIfEmpty>true</skipIfEmpty>
589 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700590 <executions>
591 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800592 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700593 <goals>
594 <goal>test-jar</goal>
595 </goals>
596 </execution>
597 </executions>
598 </plugin>
599
600 <plugin>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800603 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700604 </plugin>
605
606 <plugin>
607 <groupId>org.apache.felix</groupId>
608 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800609 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700610 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700611 </plugin>
612
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
615 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800616 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700617 </plugin>
618
619 <plugin>
620 <groupId>org.apache.felix</groupId>
621 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800622 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700623 <executions>
624 <execution>
625 <id>generate-scr-srcdescriptor</id>
626 <goals>
627 <goal>scr</goal>
628 </goals>
629 </execution>
630 </executions>
631 <configuration>
632 <supportedProjectTypes>
633 <supportedProjectType>bundle</supportedProjectType>
634 <supportedProjectType>war</supportedProjectType>
635 </supportedProjectTypes>
636 </configuration>
637 </plugin>
638 <plugin>
639 <groupId>org.codehaus.mojo</groupId>
640 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700641 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700642 <dependencies>
643 <dependency>
644 <groupId>org.onosproject</groupId>
645 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700646 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700647 </dependency>
648 </dependencies>
649 <configuration>
650 <effort>Max</effort>
651 <excludeFilterFile>onos/findbugs-suppressions.xml
652 </excludeFilterFile>
653 </configuration>
654 </plugin>
655
656 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
657 <plugin>
658 <groupId>org.onosproject</groupId>
659 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800660 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800661 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700662 <execution>
663 <id>cfg</id>
664 <phase>generate-resources</phase>
665 <goals>
666 <goal>cfg</goal>
667 </goals>
668 </execution>
669 <execution>
670 <id>swagger</id>
671 <phase>generate-sources</phase>
672 <goals>
673 <goal>swagger</goal>
674 </goals>
675 </execution>
676 <execution>
677 <id>app</id>
678 <phase>package</phase>
679 <goals>
680 <goal>app</goal>
681 </goals>
682 </execution>
683 </executions>
684 </plugin>
685 </plugins>
686 </pluginManagement>
687
688 <plugins>
689 <plugin>
690 <groupId>org.apache.maven.plugins</groupId>
691 <artifactId>maven-jar-plugin</artifactId>
692 </plugin>
693
694 <plugin>
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800697 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700698 <dependencies>
699 <dependency>
700 <groupId>org.onosproject</groupId>
701 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700702 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700703 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700704 </dependencies>
705 <configuration>
706 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
707 <sourceDirectory>${project.build.sourceDirectory}
708 </sourceDirectory>
709 <testSourceDirectory>${project.build.testSourceDirectory}
710 </testSourceDirectory>
711 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
712 <configLocation>onos/checkstyle.xml</configLocation>
713 <suppressionsLocation>onos/suppressions.xml
714 </suppressionsLocation>
715 <failsOnError>false</failsOnError>
716 <logViolationsToConsole>true</logViolationsToConsole>
717 <includeTestSourceDirectory>true
718 </includeTestSourceDirectory>
719 </configuration>
720 <executions>
721 <execution>
722 <id>validate-checkstyle</id>
723 <phase>verify</phase>
724 <goals>
725 <goal>check</goal>
726 </goals>
727 </execution>
728 </executions>
729 </plugin>
730
731 <plugin>
732 <groupId>org.apache.maven.plugins</groupId>
733 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800734 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700735 <configuration>
736 <excludes>
737 </excludes>
738 <rulesets>
739 <ruleset>onos/pmd.xml</ruleset>
740 </rulesets>
741 </configuration>
742 <executions>
743 <execution>
744 <id>validate-pmd</id>
745 <phase>verify</phase>
746 <goals>
747 <!-- Uncomment this goal to make the build fail on pmd errors -->
748 <!--<goal>check</goal>-->
749 </goals>
750 </execution>
751 </executions>
752 </plugin>
753
754 <plugin>
755 <groupId>org.jacoco</groupId>
756 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800757 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700758 <executions>
759 <execution>
760 <id>default-prepare-agent</id>
761 <goals>
762 <goal>prepare-agent</goal>
763 </goals>
764 </execution>
765 <execution>
766 <id>default-report</id>
767 <phase>prepare-package</phase>
768 <goals>
769 <goal>report</goal>
770 </goals>
771 </execution>
772 </executions>
773 </plugin>
774 </plugins>
775 </build>
776
777 <reporting>
778 <plugins>
779 <plugin>
780 <groupId>org.apache.maven.plugins</groupId>
781 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700782 <configuration>
783 <configLocation>onos/checkstyle.xml</configLocation>
784 </configuration>
785 </plugin>
786
787 <plugin>
788 <groupId>org.apache.maven.plugins</groupId>
789 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700790 <configuration>
791 <excludes>
792 </excludes>
793 <rulesets>
794 <ruleset>onos/pmd.xml</ruleset>
795 </rulesets>
796 </configuration>
797 </plugin>
798 </plugins>
799 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800800</project>