blob: 570737921f8b18c36121e591455c4d81785952c2 [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 Lic0c36a42016-01-08 13:41:27 -080088 <fasterxml.jackson.version>2.6.4</fasterxml.jackson.version>
89 <codehaus.jackson.version>1.9.13</codehaus.jackson.version>
90 <slf4j.version>1.7.6</slf4j.version>
91 <guava.version>19.0</guava.version>
Madan Jampani3289fbf2016-01-13 14:14:27 -080092 <commons.io.version>2.4</commons.io.version>
Brian O'Connor89957a32015-12-08 18:37:04 -080093 <!-- TODO argLine was originally added maven-surfire-plugin configuration
94 to fix locale errors for non-US developers. However, it breaks
95 SonarQube's test coverage, so moving here for now. -->
96 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -070097 </properties>
98
99 <distributionManagement>
100 <snapshotRepository>
101 <id>ossrh</id>
102 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
103 </snapshotRepository>
104 </distributionManagement>
Brian O'Connor372658e2015-12-04 23:17:41 -0800105
Brian O'Connor354cab92015-08-27 11:55:27 -0700106 <dependencyManagement>
107 <dependencies>
108 <dependency>
109 <groupId>junit</groupId>
110 <artifactId>junit</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800111 <version>4.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
116 <groupId>org.hamcrest</groupId>
117 <artifactId>hamcrest-core</artifactId>
118 <version>1.3</version>
119 <scope>test</scope>
120 </dependency>
121 <dependency>
122 <groupId>org.hamcrest</groupId>
123 <artifactId>hamcrest-library</artifactId>
124 <version>1.3</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>org.slf4j</groupId>
130 <artifactId>slf4j-api</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800131 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700132 <scope>provided</scope>
133 </dependency>
134
135 <dependency>
136 <groupId>org.slf4j</groupId>
137 <artifactId>slf4j-core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800138 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700139 <scope>test</scope>
140 </dependency>
141
142 <dependency>
143 <groupId>org.slf4j</groupId>
144 <artifactId>slf4j-jdk14</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800145 <version>${slf4j.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700146 <scope>test</scope>
147 </dependency>
148
149 <dependency>
150 <groupId>com.google.guava</groupId>
151 <artifactId>guava</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800152 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700153 </dependency>
154
155 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700156 <groupId>com.google.guava</groupId>
157 <artifactId>guava-testlib</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800158 <version>${guava.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700159 <scope>test</scope>
160 </dependency>
161
162 <dependency>
163 <groupId>com.googlecode.concurrent-trees</groupId>
164 <artifactId>concurrent-trees</artifactId>
165 <version>2.4.0</version>
166 </dependency>
167
168 <dependency>
169 <groupId>commons-lang</groupId>
170 <artifactId>commons-lang</artifactId>
171 <version>2.6</version>
172 </dependency>
173
174 <dependency>
175 <groupId>org.apache.commons</groupId>
176 <artifactId>commons-lang3</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800177 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700178 </dependency>
179
180 <dependency>
181 <groupId>commons-configuration</groupId>
182 <artifactId>commons-configuration</artifactId>
183 <version>1.10</version>
184 </dependency>
185
186 <dependency>
187 <groupId>commons-collections</groupId>
188 <artifactId>commons-collections</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800189 <version>3.2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700190 </dependency>
191
192 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800193 <groupId>commons-pool</groupId>
194 <artifactId>commons-pool</artifactId>
195 <version>1.6</version>
196 </dependency>
197
198 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700199 <groupId>org.codehaus.jackson</groupId>
200 <artifactId>jackson-core-asl</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800201 <version>${codehaus.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700202 </dependency>
203 <dependency>
204 <groupId>org.codehaus.jackson</groupId>
205 <artifactId>jackson-mapper-asl</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800206 <version>${codehaus.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700207 </dependency>
208
209 <dependency>
210 <groupId>org.easymock</groupId>
211 <artifactId>easymock</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800212 <version>3.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700213 <scope>test</scope>
214 </dependency>
215
216 <!-- Web related -->
217 <dependency>
218 <groupId>com.sun.jersey</groupId>
219 <artifactId>jersey-servlet</artifactId>
220 <version>${jersey.version}</version>
221 <scope>provided</scope>
222 </dependency>
223 <dependency>
224 <groupId>com.sun.jersey.contribs</groupId>
225 <artifactId>jersey-multipart</artifactId>
226 <version>${jersey.version}</version>
227 <scope>provided</scope>
228 </dependency>
229 <dependency>
230 <groupId>com.sun.jersey.jersey-test-framework</groupId>
231 <artifactId>jersey-test-framework-core</artifactId>
232 <version>${jersey.version}</version>
233 <scope>test</scope>
234 </dependency>
235 <dependency>
236 <groupId>com.sun.jersey.jersey-test-framework</groupId>
237 <artifactId>jersey-test-framework-grizzly2</artifactId>
238 <version>${jersey.version}</version>
239 <scope>test</scope>
240 </dependency>
241 <dependency>
Andrea Campanella945ded22016-01-07 13:17:43 -0800242 <groupId>com.sun.jersey</groupId>
243 <artifactId>jersey-client</artifactId>
244 <version>${jersey.version}</version>
245 </dependency>
246 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700247 <groupId>com.fasterxml.jackson.core</groupId>
248 <artifactId>jackson-databind</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800249 <version>${fasterxml.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700250 <scope>provided</scope>
251 </dependency>
252 <dependency>
253 <groupId>com.fasterxml.jackson.core</groupId>
254 <artifactId>jackson-annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800255 <version>${fasterxml.jackson.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700256 <scope>provided</scope>
257 </dependency>
258
259 <!-- OSGi related -->
260 <dependency>
261 <groupId>org.osgi</groupId>
262 <artifactId>org.osgi.core</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800263 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700264 <scope>provided</scope>
265 </dependency>
266 <dependency>
267 <groupId>org.osgi</groupId>
268 <artifactId>org.osgi.compendium</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800269 <version>${osgi.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700270 <scope>provided</scope>
271 </dependency>
272 <dependency>
273 <groupId>org.apache.felix</groupId>
274 <artifactId>org.apache.felix.scr.annotations</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800275 <version>1.9.12</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700276 <scope>provided</scope>
277 </dependency>
278
279 <dependency>
280 <groupId>org.apache.karaf.features</groupId>
281 <artifactId>org.apache.karaf.features.core</artifactId>
282 <version>${karaf.version}</version>
283 <scope>provided</scope>
284 </dependency>
285 <dependency>
286 <groupId>org.apache.karaf.system</groupId>
287 <artifactId>org.apache.karaf.system.core</artifactId>
288 <version>${karaf.version}</version>
289 <scope>provided</scope>
290 </dependency>
291 <dependency>
292 <groupId>org.apache.karaf.shell</groupId>
293 <artifactId>org.apache.karaf.shell.console</artifactId>
294 <version>${karaf.version}</version>
295 <scope>provided</scope>
296 </dependency>
297
298 <dependency>
299 <groupId>org.livetribe.slp</groupId>
300 <artifactId>livetribe-slp</artifactId>
301 <version>2.2.1</version>
302 </dependency>
303
304 <dependency>
305 <groupId>com.eclipsesource.minimal-json</groupId>
306 <artifactId>minimal-json</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800307 <version>0.9.4</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700308 </dependency>
309 <dependency>
310 <groupId>com.esotericsoftware</groupId>
311 <artifactId>kryo</artifactId>
312 <version>3.0.0</version>
313 </dependency>
314 <dependency>
315 <groupId>com.esotericsoftware</groupId>
316 <artifactId>reflectasm</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800317 <version>1.11.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700318 <type>bundle</type>
319 </dependency>
320 <dependency>
321 <groupId>org.ow2.asm</groupId>
322 <artifactId>asm</artifactId>
323 <version>4.2</version>
324 </dependency>
325 <dependency>
326 <groupId>com.esotericsoftware</groupId>
327 <artifactId>minlog</artifactId>
328 <version>1.3.0</version>
329 </dependency>
330 <dependency>
331 <groupId>org.objenesis</groupId>
332 <artifactId>objenesis</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800333 <version>2.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700334 </dependency>
335
336 <!-- ONOS related -->
337 <dependency>
338 <groupId>org.onosproject</groupId>
339 <artifactId>onlab-misc</artifactId>
340 <version>${project.version}</version>
341 </dependency>
342 <dependency>
343 <groupId>org.onosproject</groupId>
344 <artifactId>onlab-nio</artifactId>
345 <version>${project.version}</version>
346 </dependency>
347 <dependency>
348 <groupId>org.onosproject</groupId>
349 <artifactId>onlab-osgi</artifactId>
350 <version>${project.version}</version>
351 </dependency>
352 <dependency>
353 <groupId>org.onosproject</groupId>
354 <artifactId>onlab-osgi</artifactId>
355 <version>${project.version}</version>
356 <classifier>tests</classifier>
357 <scope>test</scope>
358 </dependency>
359 <dependency>
360 <groupId>org.onosproject</groupId>
361 <artifactId>onlab-junit</artifactId>
362 <version>${project.version}</version>
363 <scope>test</scope>
364 </dependency>
365
366 <dependency>
367 <groupId>org.onosproject</groupId>
368 <artifactId>onos-api</artifactId>
369 <version>${project.version}</version>
370 </dependency>
371 <dependency>
372 <groupId>org.onosproject</groupId>
373 <artifactId>onos-api</artifactId>
374 <version>${project.version}</version>
375 <classifier>tests</classifier>
376 <scope>test</scope>
377 </dependency>
378
379 <dependency>
380 <groupId>org.onosproject</groupId>
381 <artifactId>onos-incubator-api</artifactId>
382 <version>${project.version}</version>
383 </dependency>
384
385 <dependency>
386 <groupId>org.onosproject</groupId>
387 <artifactId>onos-core-common</artifactId>
388 <version>${project.version}</version>
389 </dependency>
390 <dependency>
391 <groupId>org.onosproject</groupId>
392 <artifactId>onos-core-common</artifactId>
393 <version>${project.version}</version>
394 <classifier>tests</classifier>
395 <scope>test</scope>
396 </dependency>
397
398 <dependency>
399 <groupId>org.onosproject</groupId>
400 <artifactId>onos-of-api</artifactId>
401 <version>${project.version}</version>
402 </dependency>
403 <dependency>
404 <groupId>org.onosproject</groupId>
405 <artifactId>onos-ovsdb-rfc</artifactId>
406 <version>${project.version}</version>
407 </dependency>
408 <dependency>
409 <groupId>org.onosproject</groupId>
410 <artifactId>onos-ovsdb-api</artifactId>
411 <version>${project.version}</version>
412 </dependency>
413 <dependency>
414 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530415 <artifactId>onos-app-pcep-api</artifactId>
416 <version>${project.version}</version>
417 </dependency>
418 <dependency>
419 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700420 <artifactId>onos-pcepio</artifactId>
421 <version>${project.version}</version>
422 </dependency>
423
424 <dependency>
425 <groupId>org.onosproject</groupId>
426 <artifactId>onos-pcep-controller-api</artifactId>
427 <version>${project.version}</version>
428 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700429 <dependency>
430 <groupId>org.onosproject</groupId>
431 <artifactId>onlab-thirdparty</artifactId>
432 <version>${project.version}</version>
433 </dependency>
434
435 <dependency>
436 <groupId>org.onosproject</groupId>
437 <artifactId>onos-of-api</artifactId>
438 <version>${project.version}</version>
439 <classifier>tests</classifier>
440 <scope>test</scope>
441 </dependency>
442 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530443 <groupId>org.onosproject</groupId>
444 <artifactId>onos-pcep-controller-api</artifactId>
445 <version>${project.version}</version>
446 <classifier>tests</classifier>
447 <scope>test</scope>
448 </dependency>
449 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530450 <groupId>org.onosproject</groupId>
451 <artifactId>onos-bgpio</artifactId>
452 <version>${project.version}</version>
453 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800454
Brian O'Connor354cab92015-08-27 11:55:27 -0700455 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530456 <groupId>org.onosproject</groupId>
457 <artifactId>onos-bgp-api</artifactId>
458 <version>${project.version}</version>
459 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530460 <dependency>
461 <groupId>org.onosproject</groupId>
462 <artifactId>onos-app-bgp-api</artifactId>
463 <version>${project.version}</version>
464 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800465
466
467 <!-- Netty related; for now we require both 3.9 and 4 -->
468 <dependency>
469 <groupId>io.netty</groupId>
470 <artifactId>netty</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800471 <version>3.10.5.Final</version>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800472 </dependency>
473
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530474 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700475 <groupId>io.netty</groupId>
476 <artifactId>netty-common</artifactId>
477 <version>${netty4.version}</version>
478 </dependency>
479 <dependency>
480 <groupId>io.netty</groupId>
481 <artifactId>netty-buffer</artifactId>
482 <version>${netty4.version}</version>
483 </dependency>
484 <dependency>
485 <groupId>io.netty</groupId>
486 <artifactId>netty-transport</artifactId>
487 <version>${netty4.version}</version>
488 </dependency>
489 <dependency>
490 <groupId>io.netty</groupId>
491 <artifactId>netty-handler</artifactId>
492 <version>${netty4.version}</version>
493 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800494
Brian O'Connor354cab92015-08-27 11:55:27 -0700495 <dependency>
496 <groupId>io.netty</groupId>
497 <artifactId>netty-codec</artifactId>
498 <version>${netty4.version}</version>
499 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800500
Brian O'Connor354cab92015-08-27 11:55:27 -0700501 <dependency>
502 <groupId>io.netty</groupId>
503 <artifactId>netty-transport-native-epoll</artifactId>
504 <version>${netty4.version}</version>
505 <classifier>${os.detected.classifier}</classifier>
506 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800507
Brian O'Connor354cab92015-08-27 11:55:27 -0700508 <dependency>
509 <groupId>joda-time</groupId>
510 <artifactId>joda-time</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800511 <version>2.9</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700512 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800513
514 <dependency>
515 <groupId>com.google.code.findbugs</groupId>
516 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800517 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800518 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700519 </dependencies>
520 </dependencyManagement>
521
522 <dependencies>
523 <dependency>
524 <groupId>junit</groupId>
525 <artifactId>junit</artifactId>
526 </dependency>
527 <dependency>
528 <groupId>org.hamcrest</groupId>
529 <artifactId>hamcrest-core</artifactId>
530 </dependency>
531 <dependency>
532 <groupId>org.hamcrest</groupId>
533 <artifactId>hamcrest-library</artifactId>
534 </dependency>
535 <dependency>
536 <groupId>org.slf4j</groupId>
537 <artifactId>slf4j-api</artifactId>
538 </dependency>
539 <dependency>
540 <groupId>org.slf4j</groupId>
541 <artifactId>slf4j-jdk14</artifactId>
542 </dependency>
Brian O'Connor89957a32015-12-08 18:37:04 -0800543 <!-- TODO sonar-maven-plugin prints the following ERROR many times:
544 Class not found: javax.annotation.Nullable
545 The following dependency alleviates this problem, but perhaps
546 it can be better located in the future. -->
547 <dependency>
548 <groupId>com.google.code.findbugs</groupId>
549 <artifactId>jsr305</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800550 <version>3.0.1</version>
Brian O'Connor89957a32015-12-08 18:37:04 -0800551 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700552 </dependencies>
553
554 <build>
555 <pluginManagement>
556 <plugins>
557 <plugin>
558 <groupId>org.apache.maven.plugins</groupId>
559 <artifactId>maven-compiler-plugin</artifactId>
560 <!-- TODO: update once following issue is fixed. -->
561 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
562 <version>2.5.1</version>
563 <configuration>
564 <source>1.8</source>
565 <target>1.8</target>
566 </configuration>
567 </plugin>
568
569 <plugin>
570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-surefire-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800572 <version>2.19.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700573 <configuration>
Brian O'Connor89957a32015-12-08 18:37:04 -0800574 <redirectTestOutputToFile>true</redirectTestOutputToFile>
Brian O'Connor354cab92015-08-27 11:55:27 -0700575 <printSummary>true</printSummary>
576 <excludedGroups>org.onlab.junit.IntegrationTest
577 </excludedGroups>
578 <rerunFailingTestsCount>1</rerunFailingTestsCount>
579 </configuration>
580 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-javadoc-plugin</artifactId>
584 <version>2.10.3</version>
585 <configuration>
586 <tags>
587 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800588 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800589 <placement>m</placement>
590 <head>Json model for REST api:</head>
591 </tag>
592 </tags>
593 </configuration>
594 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
597 <artifactId>maven-jar-plugin</artifactId>
Brian O'Connor89957a32015-12-08 18:37:04 -0800598 <version>2.6</version>
599 <configuration>
600 <skipIfEmpty>true</skipIfEmpty>
601 </configuration>
Brian O'Connor354cab92015-08-27 11:55:27 -0700602 <executions>
603 <execution>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800604 <id>default</id>
Brian O'Connor354cab92015-08-27 11:55:27 -0700605 <goals>
606 <goal>test-jar</goal>
607 </goals>
608 </execution>
609 </executions>
610 </plugin>
611
612 <plugin>
613 <groupId>org.apache.maven.plugins</groupId>
614 <artifactId>maven-resources-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800615 <version>2.7</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700616 </plugin>
617
618 <plugin>
619 <groupId>org.apache.felix</groupId>
620 <artifactId>maven-bundle-plugin</artifactId>
Brian O'Connor0c548212015-12-08 15:30:49 -0800621 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700622 <extensions>true</extensions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700623 </plugin>
624
625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-shade-plugin</artifactId>
Brian O'Connor00e4ee22015-12-08 15:45:12 -0800628 <version>2.4.2</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700629 </plugin>
630
631 <plugin>
632 <groupId>org.apache.felix</groupId>
633 <artifactId>maven-scr-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800634 <version>1.21.0</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700635 <executions>
636 <execution>
637 <id>generate-scr-srcdescriptor</id>
638 <goals>
639 <goal>scr</goal>
640 </goals>
641 </execution>
642 </executions>
643 <configuration>
644 <supportedProjectTypes>
645 <supportedProjectType>bundle</supportedProjectType>
646 <supportedProjectType>war</supportedProjectType>
647 </supportedProjectTypes>
648 </configuration>
649 </plugin>
650 <plugin>
651 <groupId>org.codehaus.mojo</groupId>
652 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700653 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700654 <dependencies>
655 <dependency>
656 <groupId>org.onosproject</groupId>
657 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700658 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700659 </dependency>
660 </dependencies>
661 <configuration>
662 <effort>Max</effort>
663 <excludeFilterFile>onos/findbugs-suppressions.xml
664 </excludeFilterFile>
665 </configuration>
666 </plugin>
667
668 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
669 <plugin>
670 <groupId>org.onosproject</groupId>
671 <artifactId>onos-maven-plugin</artifactId>
Andrea Campanella260645b2015-12-06 10:24:18 -0800672 <version>${onos-maven-plugin.version}</version>
andreafaa2c4b2015-11-16 13:48:39 -0800673 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700674 <execution>
675 <id>cfg</id>
676 <phase>generate-resources</phase>
677 <goals>
678 <goal>cfg</goal>
679 </goals>
680 </execution>
681 <execution>
682 <id>swagger</id>
683 <phase>generate-sources</phase>
684 <goals>
685 <goal>swagger</goal>
686 </goals>
687 </execution>
688 <execution>
689 <id>app</id>
690 <phase>package</phase>
691 <goals>
692 <goal>app</goal>
693 </goals>
694 </execution>
695 </executions>
696 </plugin>
697 </plugins>
698 </pluginManagement>
699
700 <plugins>
701 <plugin>
702 <groupId>org.apache.maven.plugins</groupId>
703 <artifactId>maven-jar-plugin</artifactId>
704 </plugin>
705
706 <plugin>
707 <groupId>org.apache.maven.plugins</groupId>
708 <artifactId>maven-checkstyle-plugin</artifactId>
Jian Li68c4fc42016-01-11 16:07:03 -0800709 <version>2.17</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700710 <dependencies>
711 <dependency>
712 <groupId>org.onosproject</groupId>
713 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700714 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700715 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700716 </dependencies>
717 <configuration>
718 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
719 <sourceDirectory>${project.build.sourceDirectory}
720 </sourceDirectory>
721 <testSourceDirectory>${project.build.testSourceDirectory}
722 </testSourceDirectory>
723 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
724 <configLocation>onos/checkstyle.xml</configLocation>
725 <suppressionsLocation>onos/suppressions.xml
726 </suppressionsLocation>
727 <failsOnError>false</failsOnError>
728 <logViolationsToConsole>true</logViolationsToConsole>
729 <includeTestSourceDirectory>true
730 </includeTestSourceDirectory>
731 </configuration>
732 <executions>
733 <execution>
734 <id>validate-checkstyle</id>
735 <phase>verify</phase>
736 <goals>
737 <goal>check</goal>
738 </goals>
739 </execution>
740 </executions>
741 </plugin>
742
743 <plugin>
744 <groupId>org.apache.maven.plugins</groupId>
745 <artifactId>maven-pmd-plugin</artifactId>
Jian Lic0c36a42016-01-08 13:41:27 -0800746 <version>3.6</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700747 <configuration>
748 <excludes>
749 </excludes>
750 <rulesets>
751 <ruleset>onos/pmd.xml</ruleset>
752 </rulesets>
753 </configuration>
754 <executions>
755 <execution>
756 <id>validate-pmd</id>
757 <phase>verify</phase>
758 <goals>
759 <!-- Uncomment this goal to make the build fail on pmd errors -->
760 <!--<goal>check</goal>-->
761 </goals>
762 </execution>
763 </executions>
764 </plugin>
765
766 <plugin>
767 <groupId>org.jacoco</groupId>
768 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800769 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700770 <executions>
771 <execution>
772 <id>default-prepare-agent</id>
773 <goals>
774 <goal>prepare-agent</goal>
775 </goals>
776 </execution>
777 <execution>
778 <id>default-report</id>
779 <phase>prepare-package</phase>
780 <goals>
781 <goal>report</goal>
782 </goals>
783 </execution>
784 </executions>
785 </plugin>
786 </plugins>
787 </build>
788
789 <reporting>
790 <plugins>
791 <plugin>
792 <groupId>org.apache.maven.plugins</groupId>
793 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700794 <configuration>
795 <configLocation>onos/checkstyle.xml</configLocation>
796 </configuration>
797 </plugin>
798
799 <plugin>
800 <groupId>org.apache.maven.plugins</groupId>
801 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700802 <configuration>
803 <excludes>
804 </excludes>
805 <rulesets>
806 <ruleset>onos/pmd.xml</ruleset>
807 </rulesets>
808 </configuration>
809 </plugin>
810 </plugins>
811 </reporting>
Madan Jampani3289fbf2016-01-13 14:14:27 -0800812</project>