blob: 87aa6e3aae0b5d1538782de2dc67ab532063b546 [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'Connorf967ad62015-09-18 15:19:54 -070036 <version>1.4.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>
Thomas Vachuska8c9ee812015-11-24 17:29:37 -080057 <module>tools/package/karaf-assembly</module>
58 <module>tools/package/maven-plugin</module>
Ray Milkeyccda0b52015-10-30 16:51:06 -070059 <module>tools/build/conf</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070060 </modules>
61
62 <url>http://onosproject.org/</url>
63
64 <scm>
65 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
66 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
67 </developerConnection>
68 <url>http://gerrit.onosproject.org/</url>
69 </scm>
70
71 <licenses>
72 <license>
73 <name>Apache License, Version 2.0</name>
74 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
75 </license>
76 </licenses>
77
78 <properties>
79 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkeyccda0b52015-10-30 16:51:06 -070080 <onos-build-conf.version>1.1-SNAPSHOT</onos-build-conf.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070081 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connore79b0252015-09-04 15:55:03 -070082 <copycat.version>0.5.0.onos</copycat.version>
alshabib93910042015-12-03 22:42:26 -080083 <openflowj.version>0.9.2.onos-SNAPSHOT</openflowj.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070084 <karaf.version>3.0.3</karaf.version>
85 <jersey.version>1.19</jersey.version>
86 </properties>
87
88 <distributionManagement>
89 <snapshotRepository>
90 <id>ossrh</id>
91 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
92 </snapshotRepository>
93 </distributionManagement>
alshabib93910042015-12-03 22:42:26 -080094
95 <repositories>
96 <repository>
97 <id>snapshots</id>
98 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
99 </repository>
100 </repositories>
Brian O'Connor354cab92015-08-27 11:55:27 -0700101
Brian O'Connor354cab92015-08-27 11:55:27 -0700102 <dependencyManagement>
103 <dependencies>
104 <dependency>
105 <groupId>junit</groupId>
106 <artifactId>junit</artifactId>
107 <version>4.11</version>
108 <scope>test</scope>
109 </dependency>
110
111 <dependency>
112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-core</artifactId>
114 <version>1.3</version>
115 <scope>test</scope>
116 </dependency>
117 <dependency>
118 <groupId>org.hamcrest</groupId>
119 <artifactId>hamcrest-library</artifactId>
120 <version>1.3</version>
121 <scope>test</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-api</artifactId>
127 <version>1.7.6</version>
128 <scope>provided</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-core</artifactId>
134 <version>1.7.6</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>org.slf4j</groupId>
140 <artifactId>slf4j-jdk14</artifactId>
141 <version>1.7.6</version>
142 <scope>test</scope>
143 </dependency>
144
145 <dependency>
146 <groupId>com.google.guava</groupId>
147 <artifactId>guava</artifactId>
148 <version>18.0</version>
149 </dependency>
150
151 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700152 <groupId>com.google.guava</groupId>
153 <artifactId>guava-testlib</artifactId>
154 <version>18.0</version>
155 <scope>test</scope>
156 </dependency>
157
158 <dependency>
159 <groupId>com.googlecode.concurrent-trees</groupId>
160 <artifactId>concurrent-trees</artifactId>
161 <version>2.4.0</version>
162 </dependency>
163
164 <dependency>
165 <groupId>commons-lang</groupId>
166 <artifactId>commons-lang</artifactId>
167 <version>2.6</version>
168 </dependency>
169
170 <dependency>
171 <groupId>org.apache.commons</groupId>
172 <artifactId>commons-lang3</artifactId>
173 <version>3.3.2</version>
174 </dependency>
175
176 <dependency>
177 <groupId>commons-configuration</groupId>
178 <artifactId>commons-configuration</artifactId>
179 <version>1.10</version>
180 </dependency>
181
182 <dependency>
183 <groupId>commons-collections</groupId>
184 <artifactId>commons-collections</artifactId>
185 <version>3.2.1</version>
186 </dependency>
187
188 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800189 <groupId>commons-pool</groupId>
190 <artifactId>commons-pool</artifactId>
191 <version>1.6</version>
192 </dependency>
193
194 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700195 <groupId>org.codehaus.jackson</groupId>
196 <artifactId>jackson-core-asl</artifactId>
197 <version>1.9.13</version>
198 </dependency>
199 <dependency>
200 <groupId>org.codehaus.jackson</groupId>
201 <artifactId>jackson-mapper-asl</artifactId>
202 <version>1.9.13</version>
203 </dependency>
204
205 <dependency>
206 <groupId>org.easymock</groupId>
207 <artifactId>easymock</artifactId>
208 <version>3.2</version>
209 <scope>test</scope>
210 </dependency>
211
212 <!-- Web related -->
213 <dependency>
214 <groupId>com.sun.jersey</groupId>
215 <artifactId>jersey-servlet</artifactId>
216 <version>${jersey.version}</version>
217 <scope>provided</scope>
218 </dependency>
219 <dependency>
220 <groupId>com.sun.jersey.contribs</groupId>
221 <artifactId>jersey-multipart</artifactId>
222 <version>${jersey.version}</version>
223 <scope>provided</scope>
224 </dependency>
225 <dependency>
226 <groupId>com.sun.jersey.jersey-test-framework</groupId>
227 <artifactId>jersey-test-framework-core</artifactId>
228 <version>${jersey.version}</version>
229 <scope>test</scope>
230 </dependency>
231 <dependency>
232 <groupId>com.sun.jersey.jersey-test-framework</groupId>
233 <artifactId>jersey-test-framework-grizzly2</artifactId>
234 <version>${jersey.version}</version>
235 <scope>test</scope>
236 </dependency>
237 <dependency>
238 <groupId>com.fasterxml.jackson.core</groupId>
239 <artifactId>jackson-databind</artifactId>
240 <version>2.4.2</version>
241 <scope>provided</scope>
242 </dependency>
243 <dependency>
244 <groupId>com.fasterxml.jackson.core</groupId>
245 <artifactId>jackson-annotations</artifactId>
246 <version>2.4.2</version>
247 <scope>provided</scope>
248 </dependency>
249
250 <!-- OSGi related -->
251 <dependency>
252 <groupId>org.osgi</groupId>
253 <artifactId>org.osgi.core</artifactId>
254 <version>4.3.1</version>
255 <scope>provided</scope>
256 </dependency>
257 <dependency>
258 <groupId>org.osgi</groupId>
259 <artifactId>org.osgi.compendium</artifactId>
260 <version>4.3.1</version>
261 <scope>provided</scope>
262 </dependency>
263 <dependency>
264 <groupId>org.apache.felix</groupId>
265 <artifactId>org.apache.felix.scr.annotations</artifactId>
266 <version>1.9.8</version>
267 <scope>provided</scope>
268 </dependency>
269
270 <dependency>
271 <groupId>org.apache.karaf.features</groupId>
272 <artifactId>org.apache.karaf.features.core</artifactId>
273 <version>${karaf.version}</version>
274 <scope>provided</scope>
275 </dependency>
276 <dependency>
277 <groupId>org.apache.karaf.system</groupId>
278 <artifactId>org.apache.karaf.system.core</artifactId>
279 <version>${karaf.version}</version>
280 <scope>provided</scope>
281 </dependency>
282 <dependency>
283 <groupId>org.apache.karaf.shell</groupId>
284 <artifactId>org.apache.karaf.shell.console</artifactId>
285 <version>${karaf.version}</version>
286 <scope>provided</scope>
287 </dependency>
288
289 <dependency>
290 <groupId>org.livetribe.slp</groupId>
291 <artifactId>livetribe-slp</artifactId>
292 <version>2.2.1</version>
293 </dependency>
294
295 <dependency>
296 <groupId>com.eclipsesource.minimal-json</groupId>
297 <artifactId>minimal-json</artifactId>
298 <version>0.9.1</version>
299 </dependency>
300 <dependency>
301 <groupId>com.esotericsoftware</groupId>
302 <artifactId>kryo</artifactId>
303 <version>3.0.0</version>
304 </dependency>
305 <dependency>
306 <groupId>com.esotericsoftware</groupId>
307 <artifactId>reflectasm</artifactId>
308 <version>1.10.0</version>
309 <type>bundle</type>
310 </dependency>
311 <dependency>
312 <groupId>org.ow2.asm</groupId>
313 <artifactId>asm</artifactId>
314 <version>4.2</version>
315 </dependency>
316 <dependency>
317 <groupId>com.esotericsoftware</groupId>
318 <artifactId>minlog</artifactId>
319 <version>1.3.0</version>
320 </dependency>
321 <dependency>
322 <groupId>org.objenesis</groupId>
323 <artifactId>objenesis</artifactId>
324 <version>2.1</version>
325 </dependency>
326
327 <!-- ONOS related -->
328 <dependency>
329 <groupId>org.onosproject</groupId>
330 <artifactId>onlab-misc</artifactId>
331 <version>${project.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.onosproject</groupId>
335 <artifactId>onlab-nio</artifactId>
336 <version>${project.version}</version>
337 </dependency>
338 <dependency>
339 <groupId>org.onosproject</groupId>
340 <artifactId>onlab-osgi</artifactId>
341 <version>${project.version}</version>
342 </dependency>
343 <dependency>
344 <groupId>org.onosproject</groupId>
345 <artifactId>onlab-osgi</artifactId>
346 <version>${project.version}</version>
347 <classifier>tests</classifier>
348 <scope>test</scope>
349 </dependency>
350 <dependency>
351 <groupId>org.onosproject</groupId>
352 <artifactId>onlab-junit</artifactId>
353 <version>${project.version}</version>
354 <scope>test</scope>
355 </dependency>
356
357 <dependency>
358 <groupId>org.onosproject</groupId>
359 <artifactId>onos-api</artifactId>
360 <version>${project.version}</version>
361 </dependency>
362 <dependency>
363 <groupId>org.onosproject</groupId>
364 <artifactId>onos-api</artifactId>
365 <version>${project.version}</version>
366 <classifier>tests</classifier>
367 <scope>test</scope>
368 </dependency>
369
370 <dependency>
371 <groupId>org.onosproject</groupId>
372 <artifactId>onos-incubator-api</artifactId>
373 <version>${project.version}</version>
374 </dependency>
375
376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-core-common</artifactId>
379 <version>${project.version}</version>
380 </dependency>
381 <dependency>
382 <groupId>org.onosproject</groupId>
383 <artifactId>onos-core-common</artifactId>
384 <version>${project.version}</version>
385 <classifier>tests</classifier>
386 <scope>test</scope>
387 </dependency>
388
389 <dependency>
390 <groupId>org.onosproject</groupId>
391 <artifactId>onos-of-api</artifactId>
392 <version>${project.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>org.onosproject</groupId>
396 <artifactId>onos-ovsdb-rfc</artifactId>
397 <version>${project.version}</version>
398 </dependency>
399 <dependency>
400 <groupId>org.onosproject</groupId>
401 <artifactId>onos-ovsdb-api</artifactId>
402 <version>${project.version}</version>
403 </dependency>
404 <dependency>
405 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530406 <artifactId>onos-app-pcep-api</artifactId>
407 <version>${project.version}</version>
408 </dependency>
409 <dependency>
410 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700411 <artifactId>onos-pcepio</artifactId>
412 <version>${project.version}</version>
413 </dependency>
414
415 <dependency>
416 <groupId>org.onosproject</groupId>
417 <artifactId>onos-pcep-controller-api</artifactId>
418 <version>${project.version}</version>
419 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700420 <dependency>
421 <groupId>org.onosproject</groupId>
422 <artifactId>onlab-thirdparty</artifactId>
423 <version>${project.version}</version>
424 </dependency>
425
426 <dependency>
427 <groupId>org.onosproject</groupId>
428 <artifactId>onos-of-api</artifactId>
429 <version>${project.version}</version>
430 <classifier>tests</classifier>
431 <scope>test</scope>
432 </dependency>
433 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530434 <groupId>org.onosproject</groupId>
435 <artifactId>onos-pcep-controller-api</artifactId>
436 <version>${project.version}</version>
437 <classifier>tests</classifier>
438 <scope>test</scope>
439 </dependency>
440 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530441 <groupId>org.onosproject</groupId>
442 <artifactId>onos-bgpio</artifactId>
443 <version>${project.version}</version>
444 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800445
Brian O'Connor354cab92015-08-27 11:55:27 -0700446 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530447 <groupId>org.onosproject</groupId>
448 <artifactId>onos-bgp-api</artifactId>
449 <version>${project.version}</version>
450 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530451 <dependency>
452 <groupId>org.onosproject</groupId>
453 <artifactId>onos-app-bgp-api</artifactId>
454 <version>${project.version}</version>
455 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800456
457
458 <!-- Netty related; for now we require both 3.9 and 4 -->
459 <dependency>
460 <groupId>io.netty</groupId>
461 <artifactId>netty</artifactId>
462 <version>3.9.0.Final</version>
463 </dependency>
464
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530465 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700466 <groupId>io.netty</groupId>
467 <artifactId>netty-common</artifactId>
468 <version>${netty4.version}</version>
469 </dependency>
470 <dependency>
471 <groupId>io.netty</groupId>
472 <artifactId>netty-buffer</artifactId>
473 <version>${netty4.version}</version>
474 </dependency>
475 <dependency>
476 <groupId>io.netty</groupId>
477 <artifactId>netty-transport</artifactId>
478 <version>${netty4.version}</version>
479 </dependency>
480 <dependency>
481 <groupId>io.netty</groupId>
482 <artifactId>netty-handler</artifactId>
483 <version>${netty4.version}</version>
484 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800485
Brian O'Connor354cab92015-08-27 11:55:27 -0700486 <dependency>
487 <groupId>io.netty</groupId>
488 <artifactId>netty-codec</artifactId>
489 <version>${netty4.version}</version>
490 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800491
Brian O'Connor354cab92015-08-27 11:55:27 -0700492 <dependency>
493 <groupId>io.netty</groupId>
494 <artifactId>netty-transport-native-epoll</artifactId>
495 <version>${netty4.version}</version>
496 <classifier>${os.detected.classifier}</classifier>
497 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800498
Brian O'Connor354cab92015-08-27 11:55:27 -0700499 <dependency>
500 <groupId>joda-time</groupId>
501 <artifactId>joda-time</artifactId>
502 <version>2.5</version>
503 </dependency>
504 </dependencies>
505 </dependencyManagement>
506
507 <dependencies>
508 <dependency>
509 <groupId>junit</groupId>
510 <artifactId>junit</artifactId>
511 </dependency>
512 <dependency>
513 <groupId>org.hamcrest</groupId>
514 <artifactId>hamcrest-core</artifactId>
515 </dependency>
516 <dependency>
517 <groupId>org.hamcrest</groupId>
518 <artifactId>hamcrest-library</artifactId>
519 </dependency>
520 <dependency>
521 <groupId>org.slf4j</groupId>
522 <artifactId>slf4j-api</artifactId>
523 </dependency>
524 <dependency>
525 <groupId>org.slf4j</groupId>
526 <artifactId>slf4j-jdk14</artifactId>
527 </dependency>
528 </dependencies>
529
530 <build>
531 <pluginManagement>
532 <plugins>
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-compiler-plugin</artifactId>
536 <!-- TODO: update once following issue is fixed. -->
537 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
538 <version>2.5.1</version>
539 <configuration>
540 <source>1.8</source>
541 <target>1.8</target>
542 </configuration>
543 </plugin>
544
545 <plugin>
546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-surefire-plugin</artifactId>
548 <version>2.18.1</version>
549 <configuration>
Antonio Marsico6097f812015-11-10 11:57:11 +0100550 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -0700551 <redirectTestOutputToFile>true
552 </redirectTestOutputToFile>
553 <printSummary>true</printSummary>
554 <excludedGroups>org.onlab.junit.IntegrationTest
555 </excludedGroups>
556 <rerunFailingTestsCount>1</rerunFailingTestsCount>
557 </configuration>
558 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800559 <plugin>
560 <groupId>org.apache.maven.plugins</groupId>
561 <artifactId>maven-javadoc-plugin</artifactId>
562 <version>2.10.3</version>
563 <configuration>
564 <tags>
565 <tag>
Andrea Campanella10c4adc2015-12-03 15:27:54 -0800566 <name>onos.rsModel</name>
andreafaa2c4b2015-11-16 13:48:39 -0800567 <placement>m</placement>
568 <head>Json model for REST api:</head>
569 </tag>
570 </tags>
571 </configuration>
572 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700573 <plugin>
574 <groupId>org.apache.maven.plugins</groupId>
575 <artifactId>maven-jar-plugin</artifactId>
576 <version>2.3.1</version>
577 <executions>
578 <execution>
579 <phase>package</phase>
580 <goals>
581 <goal>test-jar</goal>
582 </goals>
583 </execution>
584 </executions>
585 </plugin>
586
587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-resources-plugin</artifactId>
590 <version>2.6</version>
591 </plugin>
592
593 <plugin>
594 <groupId>org.apache.felix</groupId>
595 <artifactId>maven-bundle-plugin</artifactId>
596 <version>2.5.3</version>
597 <extensions>true</extensions>
598 <!--
599 Drop following dependency when the below bug fix is published
600 https://issues.apache.org/jira/browse/FELIX-4556
601 -->
602 <dependencies>
603 <dependency>
604 <groupId>biz.aQute.bnd</groupId>
605 <artifactId>bndlib</artifactId>
606 <version>2.4.0</version>
607 </dependency>
608 </dependencies>
609 </plugin>
610
611 <plugin>
612 <groupId>org.apache.maven.plugins</groupId>
613 <artifactId>maven-shade-plugin</artifactId>
614 <version>2.3</version>
615 </plugin>
616
617 <plugin>
618 <groupId>org.apache.felix</groupId>
619 <artifactId>maven-scr-plugin</artifactId>
620 <version>1.20.0</version>
621 <executions>
622 <execution>
623 <id>generate-scr-srcdescriptor</id>
624 <goals>
625 <goal>scr</goal>
626 </goals>
627 </execution>
628 </executions>
629 <configuration>
630 <supportedProjectTypes>
631 <supportedProjectType>bundle</supportedProjectType>
632 <supportedProjectType>war</supportedProjectType>
633 </supportedProjectTypes>
634 </configuration>
635 </plugin>
636 <plugin>
637 <groupId>org.codehaus.mojo</groupId>
638 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700639 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700640 <dependencies>
641 <dependency>
642 <groupId>org.onosproject</groupId>
643 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700644 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700645 </dependency>
646 </dependencies>
647 <configuration>
648 <effort>Max</effort>
649 <excludeFilterFile>onos/findbugs-suppressions.xml
650 </excludeFilterFile>
651 </configuration>
652 </plugin>
653
654 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
655 <plugin>
656 <groupId>org.onosproject</groupId>
657 <artifactId>onos-maven-plugin</artifactId>
andreafaa2c4b2015-11-16 13:48:39 -0800658 <version>1.6-SNAPSHOT</version>
659 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700660 <execution>
661 <id>cfg</id>
662 <phase>generate-resources</phase>
663 <goals>
664 <goal>cfg</goal>
665 </goals>
666 </execution>
667 <execution>
668 <id>swagger</id>
669 <phase>generate-sources</phase>
670 <goals>
671 <goal>swagger</goal>
672 </goals>
673 </execution>
674 <execution>
675 <id>app</id>
676 <phase>package</phase>
677 <goals>
678 <goal>app</goal>
679 </goals>
680 </execution>
681 </executions>
682 </plugin>
683 </plugins>
684 </pluginManagement>
685
686 <plugins>
687 <plugin>
688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-jar-plugin</artifactId>
690 </plugin>
691
692 <plugin>
693 <groupId>org.apache.maven.plugins</groupId>
694 <artifactId>maven-checkstyle-plugin</artifactId>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800695 <version>2.16</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700696 <dependencies>
697 <dependency>
698 <groupId>org.onosproject</groupId>
699 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700700 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700701 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700702 </dependencies>
703 <configuration>
704 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
705 <sourceDirectory>${project.build.sourceDirectory}
706 </sourceDirectory>
707 <testSourceDirectory>${project.build.testSourceDirectory}
708 </testSourceDirectory>
709 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
710 <configLocation>onos/checkstyle.xml</configLocation>
711 <suppressionsLocation>onos/suppressions.xml
712 </suppressionsLocation>
713 <failsOnError>false</failsOnError>
714 <logViolationsToConsole>true</logViolationsToConsole>
715 <includeTestSourceDirectory>true
716 </includeTestSourceDirectory>
717 </configuration>
718 <executions>
719 <execution>
720 <id>validate-checkstyle</id>
721 <phase>verify</phase>
722 <goals>
723 <goal>check</goal>
724 </goals>
725 </execution>
726 </executions>
727 </plugin>
728
729 <plugin>
730 <groupId>org.apache.maven.plugins</groupId>
731 <artifactId>maven-pmd-plugin</artifactId>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800732 <version>3.5</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700733 <configuration>
734 <excludes>
735 </excludes>
736 <rulesets>
737 <ruleset>onos/pmd.xml</ruleset>
738 </rulesets>
739 </configuration>
740 <executions>
741 <execution>
742 <id>validate-pmd</id>
743 <phase>verify</phase>
744 <goals>
745 <!-- Uncomment this goal to make the build fail on pmd errors -->
746 <!--<goal>check</goal>-->
747 </goals>
748 </execution>
749 </executions>
750 </plugin>
751
752 <plugin>
753 <groupId>org.jacoco</groupId>
754 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800755 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700756 <executions>
757 <execution>
758 <id>default-prepare-agent</id>
759 <goals>
760 <goal>prepare-agent</goal>
761 </goals>
762 </execution>
763 <execution>
764 <id>default-report</id>
765 <phase>prepare-package</phase>
766 <goals>
767 <goal>report</goal>
768 </goals>
769 </execution>
770 </executions>
771 </plugin>
772 </plugins>
773 </build>
774
775 <reporting>
776 <plugins>
777 <plugin>
778 <groupId>org.apache.maven.plugins</groupId>
779 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700780 <configuration>
781 <configLocation>onos/checkstyle.xml</configLocation>
782 </configuration>
783 </plugin>
784
785 <plugin>
786 <groupId>org.apache.maven.plugins</groupId>
787 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700788 <configuration>
789 <excludes>
790 </excludes>
791 <rulesets>
792 <ruleset>onos/pmd.xml</ruleset>
793 </rulesets>
794 </configuration>
795 </plugin>
796 </plugins>
797 </reporting>
798</project>