blob: 956c76517cfe29a1f67a3b2edeae12d7a3be9a4a [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'Connor8d3a00b2016-03-10 15:39:49 -080036 <version>1.5.1-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>
Thomas Vachuska1893d442016-03-03 16:34:46 -080082 <openflowj.version>0.9.2.onos</openflowj.version>
Thomas Vachuskaf10c7222016-03-07 17:04:17 -080083 <onos-maven-plugin.version>1.9</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'Connor354cab92015-08-27 11:55:27 -0700104 <dependencyManagement>
105 <dependencies>
106 <dependency>
107 <groupId>junit</groupId>
108 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800109 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.hamcrest</groupId>
115 <artifactId>hamcrest-core</artifactId>
116 <version>1.3</version>
117 <scope>test</scope>
118 </dependency>
119 <dependency>
120 <groupId>org.hamcrest</groupId>
121 <artifactId>hamcrest-library</artifactId>
122 <version>1.3</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>org.slf4j</groupId>
128 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800129 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700130 <scope>provided</scope>
131 </dependency>
132
133 <dependency>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800136 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700137 <scope>test</scope>
138 </dependency>
139
140 <dependency>
141 <groupId>org.slf4j</groupId>
142 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800143 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700144 <scope>test</scope>
145 </dependency>
146
147 <dependency>
148 <groupId>com.google.guava</groupId>
149 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800150 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700151 </dependency>
152
153 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700154 <groupId>com.google.guava</groupId>
155 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800156 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700157 <scope>test</scope>
158 </dependency>
159
160 <dependency>
161 <groupId>com.googlecode.concurrent-trees</groupId>
162 <artifactId>concurrent-trees</artifactId>
163 <version>2.4.0</version>
164 </dependency>
165
166 <dependency>
167 <groupId>commons-lang</groupId>
168 <artifactId>commons-lang</artifactId>
169 <version>2.6</version>
170 </dependency>
171
172 <dependency>
173 <groupId>org.apache.commons</groupId>
174 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800175 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700176 </dependency>
177
178 <dependency>
179 <groupId>commons-configuration</groupId>
180 <artifactId>commons-configuration</artifactId>
181 <version>1.10</version>
182 </dependency>
183
184 <dependency>
185 <groupId>commons-collections</groupId>
186 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800187 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700188 </dependency>
189
190 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800191 <groupId>commons-pool</groupId>
192 <artifactId>commons-pool</artifactId>
193 <version>1.6</version>
194 </dependency>
195
196 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700197 <groupId>org.easymock</groupId>
198 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800199 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700200 <scope>test</scope>
201 </dependency>
202
203 <!-- Web related -->
204 <dependency>
205 <groupId>com.sun.jersey</groupId>
206 <artifactId>jersey-servlet</artifactId>
207 <version>${jersey.version}</version>
208 <scope>provided</scope>
209 </dependency>
210 <dependency>
211 <groupId>com.sun.jersey.contribs</groupId>
212 <artifactId>jersey-multipart</artifactId>
213 <version>${jersey.version}</version>
214 <scope>provided</scope>
215 </dependency>
216 <dependency>
217 <groupId>com.sun.jersey.jersey-test-framework</groupId>
218 <artifactId>jersey-test-framework-core</artifactId>
219 <version>${jersey.version}</version>
220 <scope>test</scope>
221 </dependency>
222 <dependency>
223 <groupId>com.sun.jersey.jersey-test-framework</groupId>
224 <artifactId>jersey-test-framework-grizzly2</artifactId>
225 <version>${jersey.version}</version>
226 <scope>test</scope>
227 </dependency>
228 <dependency>
Andrea Campanella945ded22016-01-07 13:17:43 -0800229 <groupId>com.sun.jersey</groupId>
230 <artifactId>jersey-client</artifactId>
231 <version>${jersey.version}</version>
232 </dependency>
233 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700234 <groupId>com.fasterxml.jackson.core</groupId>
235 <artifactId>jackson-databind</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800236 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700237 <scope>provided</scope>
238 </dependency>
239 <dependency>
240 <groupId>com.fasterxml.jackson.core</groupId>
241 <artifactId>jackson-annotations</artifactId>
Jian Lia5a312b2016-01-15 17:59:12 -0800242 <version>${jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700243 <scope>provided</scope>
244 </dependency>
245
246 <!-- OSGi related -->
247 <dependency>
248 <groupId>org.osgi</groupId>
249 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800250 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700251 <scope>provided</scope>
252 </dependency>
253 <dependency>
254 <groupId>org.osgi</groupId>
255 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800256 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700257 <scope>provided</scope>
258 </dependency>
259 <dependency>
260 <groupId>org.apache.felix</groupId>
261 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800262 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700263 <scope>provided</scope>
264 </dependency>
265
266 <dependency>
267 <groupId>org.apache.karaf.features</groupId>
268 <artifactId>org.apache.karaf.features.core</artifactId>
269 <version>${karaf.version}</version>
270 <scope>provided</scope>
271 </dependency>
272 <dependency>
273 <groupId>org.apache.karaf.system</groupId>
274 <artifactId>org.apache.karaf.system.core</artifactId>
275 <version>${karaf.version}</version>
276 <scope>provided</scope>
277 </dependency>
278 <dependency>
279 <groupId>org.apache.karaf.shell</groupId>
280 <artifactId>org.apache.karaf.shell.console</artifactId>
281 <version>${karaf.version}</version>
282 <scope>provided</scope>
283 </dependency>
284
285 <dependency>
286 <groupId>org.livetribe.slp</groupId>
287 <artifactId>livetribe-slp</artifactId>
288 <version>2.2.1</version>
289 </dependency>
290
291 <dependency>
292 <groupId>com.eclipsesource.minimal-json</groupId>
293 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800294 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700295 </dependency>
296 <dependency>
297 <groupId>com.esotericsoftware</groupId>
298 <artifactId>kryo</artifactId>
299 <version>3.0.0</version>
300 </dependency>
301 <dependency>
302 <groupId>com.esotericsoftware</groupId>
303 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800304 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700305 <type>bundle</type>
306 </dependency>
307 <dependency>
308 <groupId>org.ow2.asm</groupId>
309 <artifactId>asm</artifactId>
310 <version>4.2</version>
311 </dependency>
312 <dependency>
313 <groupId>com.esotericsoftware</groupId>
314 <artifactId>minlog</artifactId>
315 <version>1.3.0</version>
316 </dependency>
317 <dependency>
318 <groupId>org.objenesis</groupId>
319 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800320 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700321 </dependency>
322
323 <!-- ONOS related -->
324 <dependency>
325 <groupId>org.onosproject</groupId>
326 <artifactId>onlab-misc</artifactId>
327 <version>${project.version}</version>
328 </dependency>
329 <dependency>
330 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700331 <artifactId>onlab-osgi</artifactId>
332 <version>${project.version}</version>
333 </dependency>
334 <dependency>
335 <groupId>org.onosproject</groupId>
336 <artifactId>onlab-osgi</artifactId>
337 <version>${project.version}</version>
338 <classifier>tests</classifier>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.onosproject</groupId>
343 <artifactId>onlab-junit</artifactId>
344 <version>${project.version}</version>
345 <scope>test</scope>
346 </dependency>
347
348 <dependency>
349 <groupId>org.onosproject</groupId>
350 <artifactId>onos-api</artifactId>
351 <version>${project.version}</version>
352 </dependency>
353 <dependency>
354 <groupId>org.onosproject</groupId>
355 <artifactId>onos-api</artifactId>
356 <version>${project.version}</version>
357 <classifier>tests</classifier>
358 <scope>test</scope>
359 </dependency>
360
361 <dependency>
362 <groupId>org.onosproject</groupId>
363 <artifactId>onos-incubator-api</artifactId>
364 <version>${project.version}</version>
365 </dependency>
366
367 <dependency>
368 <groupId>org.onosproject</groupId>
369 <artifactId>onos-core-common</artifactId>
370 <version>${project.version}</version>
371 </dependency>
372 <dependency>
373 <groupId>org.onosproject</groupId>
374 <artifactId>onos-core-common</artifactId>
375 <version>${project.version}</version>
376 <classifier>tests</classifier>
377 <scope>test</scope>
378 </dependency>
379
380 <dependency>
381 <groupId>org.onosproject</groupId>
382 <artifactId>onos-of-api</artifactId>
383 <version>${project.version}</version>
384 </dependency>
385 <dependency>
386 <groupId>org.onosproject</groupId>
387 <artifactId>onos-ovsdb-rfc</artifactId>
388 <version>${project.version}</version>
389 </dependency>
390 <dependency>
391 <groupId>org.onosproject</groupId>
392 <artifactId>onos-ovsdb-api</artifactId>
393 <version>${project.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530397 <artifactId>onos-app-pcep-api</artifactId>
398 <version>${project.version}</version>
399 </dependency>
400 <dependency>
401 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700402 <artifactId>onos-pcepio</artifactId>
403 <version>${project.version}</version>
404 </dependency>
405
406 <dependency>
407 <groupId>org.onosproject</groupId>
408 <artifactId>onos-pcep-controller-api</artifactId>
409 <version>${project.version}</version>
410 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700411 <dependency>
412 <groupId>org.onosproject</groupId>
413 <artifactId>onlab-thirdparty</artifactId>
414 <version>${project.version}</version>
415 </dependency>
416
417 <dependency>
418 <groupId>org.onosproject</groupId>
419 <artifactId>onos-of-api</artifactId>
420 <version>${project.version}</version>
421 <classifier>tests</classifier>
422 <scope>test</scope>
423 </dependency>
424 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530425 <groupId>org.onosproject</groupId>
426 <artifactId>onos-pcep-controller-api</artifactId>
427 <version>${project.version}</version>
428 <classifier>tests</classifier>
429 <scope>test</scope>
430 </dependency>
431 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530432 <groupId>org.onosproject</groupId>
433 <artifactId>onos-bgpio</artifactId>
434 <version>${project.version}</version>
435 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800436
Brian O'Connor354cab92015-08-27 11:55:27 -0700437 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530438 <groupId>org.onosproject</groupId>
439 <artifactId>onos-bgp-api</artifactId>
440 <version>${project.version}</version>
441 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530442 <dependency>
443 <groupId>org.onosproject</groupId>
444 <artifactId>onos-app-bgp-api</artifactId>
445 <version>${project.version}</version>
446 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800447
448
449 <!-- Netty related; for now we require both 3.9 and 4 -->
450 <dependency>
451 <groupId>io.netty</groupId>
452 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800453 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800454 </dependency>
455
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530456 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700457 <groupId>io.netty</groupId>
458 <artifactId>netty-common</artifactId>
459 <version>${netty4.version}</version>
460 </dependency>
461 <dependency>
462 <groupId>io.netty</groupId>
463 <artifactId>netty-buffer</artifactId>
464 <version>${netty4.version}</version>
465 </dependency>
466 <dependency>
467 <groupId>io.netty</groupId>
468 <artifactId>netty-transport</artifactId>
469 <version>${netty4.version}</version>
470 </dependency>
471 <dependency>
472 <groupId>io.netty</groupId>
473 <artifactId>netty-handler</artifactId>
474 <version>${netty4.version}</version>
475 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800476
Brian O'Connor354cab92015-08-27 11:55:27 -0700477 <dependency>
478 <groupId>io.netty</groupId>
479 <artifactId>netty-codec</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-transport-native-epoll</artifactId>
486 <version>${netty4.version}</version>
487 <classifier>${os.detected.classifier}</classifier>
488 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800489
Brian O'Connor354cab92015-08-27 11:55:27 -0700490 <dependency>
491 <groupId>joda-time</groupId>
492 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800493 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700494 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800495
496 <dependency>
497 <groupId>com.google.code.findbugs</groupId>
498 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800499 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800500 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700501 </dependencies>
502 </dependencyManagement>
503
504 <dependencies>
505 <dependency>
506 <groupId>junit</groupId>
507 <artifactId>junit</artifactId>
508 </dependency>
509 <dependency>
510 <groupId>org.hamcrest</groupId>
511 <artifactId>hamcrest-core</artifactId>
512 </dependency>
513 <dependency>
514 <groupId>org.hamcrest</groupId>
515 <artifactId>hamcrest-library</artifactId>
516 </dependency>
517 <dependency>
518 <groupId>org.slf4j</groupId>
519 <artifactId>slf4j-api</artifactId>
520 </dependency>
521 <dependency>
522 <groupId>org.slf4j</groupId>
523 <artifactId>slf4j-jdk14</artifactId>
524 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800525 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
526 Class not found: javax.annotation.Nullable
527 The following dependency alleviates this problem, but perhaps
528 it can be better located in the future. -->
529 <dependency>
530 <groupId>com.google.code.findbugs</groupId>
531 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800532 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800533 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700534 </dependencies>
535
536 <build>
537 <pluginManagement>
538 <plugins>
539 <plugin>
540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-compiler-plugin</artifactId>
542 <!-- TODO: update once following issue is fixed. -->
543 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
544 <version>2.5.1</version>
545 <configuration>
546 <source>1.8</source>
547 <target>1.8</target>
548 </configuration>
549 </plugin>
550
551 <plugin>
552 <groupId>org.apache.maven.plugins</groupId>
553 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800554 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700555 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800556 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700557 <printSummary>true</printSummary>
558 <excludedGroups>org.onlab.junit.IntegrationTest
559 </excludedGroups>
560 <rerunFailingTestsCount>1</rerunFailingTestsCount>
561 </configuration>
562 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800563 <plugin>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-javadoc-plugin</artifactId>
566 <version>2.10.3</version>
567 <configuration>
568 <tags>
569 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800570 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800571 <placement>m</placement>
572 <head>Json model for REST api:</head>
573 </tag>
574 </tags>
575 </configuration>
576 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800580 <version>2.6</version>
581 <configuration>
582 <skipIfEmpty>true</skipIfEmpty>
583 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700584 <executions>
585 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800586 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700587 <goals>
588 <goal>test-jar</goal>
589 </goals>
590 </execution>
591 </executions>
592 </plugin>
593
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800597 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700598 </plugin>
599
600 <plugin>
601 <groupId>org.apache.felix</groupId>
602 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800603 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700604 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700605 </plugin>
606
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
609 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800610 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700611 </plugin>
612
613 <plugin>
614 <groupId>org.apache.felix</groupId>
615 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800616 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700617 <executions>
618 <execution>
619 <id>generate-scr-srcdescriptor</id>
620 <goals>
621 <goal>scr</goal>
622 </goals>
623 </execution>
624 </executions>
625 <configuration>
626 <supportedProjectTypes>
627 <supportedProjectType>bundle</supportedProjectType>
628 <supportedProjectType>war</supportedProjectType>
629 </supportedProjectTypes>
630 </configuration>
631 </plugin>
632 <plugin>
633 <groupId>org.codehaus.mojo</groupId>
634 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700635 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700636 <dependencies>
637 <dependency>
638 <groupId>org.onosproject</groupId>
639 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700640 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700641 </dependency>
642 </dependencies>
643 <configuration>
644 <effort>Max</effort>
645 <excludeFilterFile>onos/findbugs-suppressions.xml
646 </excludeFilterFile>
647 </configuration>
648 </plugin>
649
650 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
651 <plugin>
652 <groupId>org.onosproject</groupId>
653 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800654 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800655 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700656 <execution>
657 <id>cfg</id>
658 <phase>generate-resources</phase>
659 <goals>
660 <goal>cfg</goal>
661 </goals>
662 </execution>
663 <execution>
664 <id>swagger</id>
665 <phase>generate-sources</phase>
666 <goals>
667 <goal>swagger</goal>
668 </goals>
669 </execution>
670 <execution>
671 <id>app</id>
672 <phase>package</phase>
673 <goals>
674 <goal>app</goal>
675 </goals>
676 </execution>
677 </executions>
678 </plugin>
679 </plugins>
680 </pluginManagement>
681
682 <plugins>
683 <plugin>
684 <groupId>org.apache.maven.plugins</groupId>
685 <artifactId>maven-jar-plugin</artifactId>
686 </plugin>
687
688 <plugin>
689 <groupId>org.apache.maven.plugins</groupId>
690 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800691 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700692 <dependencies>
693 <dependency>
694 <groupId>org.onosproject</groupId>
695 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700696 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700697 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700698 </dependencies>
699 <configuration>
700 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
701 <sourceDirectory>${project.build.sourceDirectory}
702 </sourceDirectory>
703 <testSourceDirectory>${project.build.testSourceDirectory}
704 </testSourceDirectory>
705 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
706 <configLocation>onos/checkstyle.xml</configLocation>
707 <suppressionsLocation>onos/suppressions.xml
708 </suppressionsLocation>
709 <failsOnError>false</failsOnError>
710 <logViolationsToConsole>true</logViolationsToConsole>
711 <includeTestSourceDirectory>true
712 </includeTestSourceDirectory>
713 </configuration>
714 <executions>
715 <execution>
716 <id>validate-checkstyle</id>
717 <phase>verify</phase>
718 <goals>
719 <goal>check</goal>
720 </goals>
721 </execution>
722 </executions>
723 </plugin>
724
725 <plugin>
726 <groupId>org.apache.maven.plugins</groupId>
727 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800728 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700729 <configuration>
730 <excludes>
731 </excludes>
732 <rulesets>
733 <ruleset>onos/pmd.xml</ruleset>
734 </rulesets>
735 </configuration>
736 <executions>
737 <execution>
738 <id>validate-pmd</id>
739 <phase>verify</phase>
740 <goals>
741 <!-- Uncomment this goal to make the build fail on pmd errors -->
742 <!--<goal>check</goal>-->
743 </goals>
744 </execution>
745 </executions>
746 </plugin>
747
748 <plugin>
749 <groupId>org.jacoco</groupId>
750 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800751 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700752 <executions>
753 <execution>
754 <id>default-prepare-agent</id>
755 <goals>
756 <goal>prepare-agent</goal>
757 </goals>
758 </execution>
759 <execution>
760 <id>default-report</id>
761 <phase>prepare-package</phase>
762 <goals>
763 <goal>report</goal>
764 </goals>
765 </execution>
766 </executions>
767 </plugin>
768 </plugins>
769 </build>
770
771 <reporting>
772 <plugins>
773 <plugin>
774 <groupId>org.apache.maven.plugins</groupId>
775 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700776 <configuration>
777 <configLocation>onos/checkstyle.xml</configLocation>
778 </configuration>
779 </plugin>
780
781 <plugin>
782 <groupId>org.apache.maven.plugins</groupId>
783 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700784 <configuration>
785 <excludes>
786 </excludes>
787 <rulesets>
788 <ruleset>onos/pmd.xml</ruleset>
789 </rulesets>
790 </configuration>
791 </plugin>
792 </plugins>
793 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800794</project>