blob: b9fdfe227851193e358f534780b83448d5bd3c0e [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
47 <module>openflow</module>
48 <module>ovsdb</module>
Thomas Vachuska1e60f972015-10-19 09:55:52 -070049 <module>netconf</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070050 <module>pcep</module>
51
52 <module>providers</module>
53 <module>drivers</module>
54
55 <module>apps</module>
56 <module>incubator</module>
57 <module>features</module>
58
59 <module>tools/package/archetypes</module>
60 <module>tools/package/branding</module>
Thejaswi N K6a4cd002015-09-21 17:19:55 +053061 <module>bgp</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070062 </modules>
63
64 <url>http://onosproject.org/</url>
65
66 <scm>
67 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
68 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
69 </developerConnection>
70 <url>http://gerrit.onosproject.org/</url>
71 </scm>
72
73 <licenses>
74 <license>
75 <name>Apache License, Version 2.0</name>
76 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
77 </license>
78 </licenses>
79
80 <properties>
81 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -070082 <onos-build-conf.version>1.0</onos-build-conf.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070083 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connore79b0252015-09-04 15:55:03 -070084 <copycat.version>0.5.0.onos</copycat.version>
Brian O'Connor0ecdb322015-09-03 15:37:50 -070085 <openflowj.version>0.9.0.onos</openflowj.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070086 <karaf.version>3.0.3</karaf.version>
87 <jersey.version>1.19</jersey.version>
88 </properties>
89
90 <distributionManagement>
91 <snapshotRepository>
92 <id>ossrh</id>
93 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
94 </snapshotRepository>
95 </distributionManagement>
96
Brian O'Connor354cab92015-08-27 11:55:27 -070097 <dependencyManagement>
98 <dependencies>
99 <dependency>
100 <groupId>junit</groupId>
101 <artifactId>junit</artifactId>
102 <version>4.11</version>
103 <scope>test</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.hamcrest</groupId>
108 <artifactId>hamcrest-core</artifactId>
109 <version>1.3</version>
110 <scope>test</scope>
111 </dependency>
112 <dependency>
113 <groupId>org.hamcrest</groupId>
114 <artifactId>hamcrest-library</artifactId>
115 <version>1.3</version>
116 <scope>test</scope>
117 </dependency>
118
119 <dependency>
120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>1.7.6</version>
123 <scope>provided</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>org.slf4j</groupId>
128 <artifactId>slf4j-core</artifactId>
129 <version>1.7.6</version>
130 <scope>test</scope>
131 </dependency>
132
133 <dependency>
134 <groupId>org.slf4j</groupId>
135 <artifactId>slf4j-jdk14</artifactId>
136 <version>1.7.6</version>
137 <scope>test</scope>
138 </dependency>
139
140 <dependency>
141 <groupId>com.google.guava</groupId>
142 <artifactId>guava</artifactId>
143 <version>18.0</version>
144 </dependency>
145
146 <dependency>
147 <groupId>io.netty</groupId>
148 <artifactId>netty</artifactId>
149 <version>3.9.0.Final</version>
150 </dependency>
151
152 <dependency>
153 <groupId>com.google.guava</groupId>
154 <artifactId>guava-testlib</artifactId>
155 <version>18.0</version>
156 <scope>test</scope>
157 </dependency>
158
159 <dependency>
160 <groupId>com.googlecode.concurrent-trees</groupId>
161 <artifactId>concurrent-trees</artifactId>
162 <version>2.4.0</version>
163 </dependency>
164
165 <dependency>
166 <groupId>commons-lang</groupId>
167 <artifactId>commons-lang</artifactId>
168 <version>2.6</version>
169 </dependency>
170
171 <dependency>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-lang3</artifactId>
174 <version>3.3.2</version>
175 </dependency>
176
177 <dependency>
178 <groupId>commons-configuration</groupId>
179 <artifactId>commons-configuration</artifactId>
180 <version>1.10</version>
181 </dependency>
182
183 <dependency>
184 <groupId>commons-collections</groupId>
185 <artifactId>commons-collections</artifactId>
186 <version>3.2.1</version>
187 </dependency>
188
189 <dependency>
190 <groupId>org.codehaus.jackson</groupId>
191 <artifactId>jackson-core-asl</artifactId>
192 <version>1.9.13</version>
193 </dependency>
194 <dependency>
195 <groupId>org.codehaus.jackson</groupId>
196 <artifactId>jackson-mapper-asl</artifactId>
197 <version>1.9.13</version>
198 </dependency>
199
200 <dependency>
201 <groupId>org.easymock</groupId>
202 <artifactId>easymock</artifactId>
203 <version>3.2</version>
204 <scope>test</scope>
205 </dependency>
206
207 <!-- Web related -->
208 <dependency>
209 <groupId>com.sun.jersey</groupId>
210 <artifactId>jersey-servlet</artifactId>
211 <version>${jersey.version}</version>
212 <scope>provided</scope>
213 </dependency>
214 <dependency>
215 <groupId>com.sun.jersey.contribs</groupId>
216 <artifactId>jersey-multipart</artifactId>
217 <version>${jersey.version}</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>com.sun.jersey.jersey-test-framework</groupId>
222 <artifactId>jersey-test-framework-core</artifactId>
223 <version>${jersey.version}</version>
224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <groupId>com.sun.jersey.jersey-test-framework</groupId>
228 <artifactId>jersey-test-framework-grizzly2</artifactId>
229 <version>${jersey.version}</version>
230 <scope>test</scope>
231 </dependency>
232 <dependency>
233 <groupId>com.fasterxml.jackson.core</groupId>
234 <artifactId>jackson-databind</artifactId>
235 <version>2.4.2</version>
236 <scope>provided</scope>
237 </dependency>
238 <dependency>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-annotations</artifactId>
241 <version>2.4.2</version>
242 <scope>provided</scope>
243 </dependency>
244
245 <!-- OSGi related -->
246 <dependency>
247 <groupId>org.osgi</groupId>
248 <artifactId>org.osgi.core</artifactId>
249 <version>4.3.1</version>
250 <scope>provided</scope>
251 </dependency>
252 <dependency>
253 <groupId>org.osgi</groupId>
254 <artifactId>org.osgi.compendium</artifactId>
255 <version>4.3.1</version>
256 <scope>provided</scope>
257 </dependency>
258 <dependency>
259 <groupId>org.apache.felix</groupId>
260 <artifactId>org.apache.felix.scr.annotations</artifactId>
261 <version>1.9.8</version>
262 <scope>provided</scope>
263 </dependency>
264
265 <dependency>
266 <groupId>org.apache.karaf.features</groupId>
267 <artifactId>org.apache.karaf.features.core</artifactId>
268 <version>${karaf.version}</version>
269 <scope>provided</scope>
270 </dependency>
271 <dependency>
272 <groupId>org.apache.karaf.system</groupId>
273 <artifactId>org.apache.karaf.system.core</artifactId>
274 <version>${karaf.version}</version>
275 <scope>provided</scope>
276 </dependency>
277 <dependency>
278 <groupId>org.apache.karaf.shell</groupId>
279 <artifactId>org.apache.karaf.shell.console</artifactId>
280 <version>${karaf.version}</version>
281 <scope>provided</scope>
282 </dependency>
283
284 <dependency>
285 <groupId>org.livetribe.slp</groupId>
286 <artifactId>livetribe-slp</artifactId>
287 <version>2.2.1</version>
288 </dependency>
289
290 <dependency>
291 <groupId>com.eclipsesource.minimal-json</groupId>
292 <artifactId>minimal-json</artifactId>
293 <version>0.9.1</version>
294 </dependency>
295 <dependency>
296 <groupId>com.esotericsoftware</groupId>
297 <artifactId>kryo</artifactId>
298 <version>3.0.0</version>
299 </dependency>
300 <dependency>
301 <groupId>com.esotericsoftware</groupId>
302 <artifactId>reflectasm</artifactId>
303 <version>1.10.0</version>
304 <type>bundle</type>
305 </dependency>
306 <dependency>
307 <groupId>org.ow2.asm</groupId>
308 <artifactId>asm</artifactId>
309 <version>4.2</version>
310 </dependency>
311 <dependency>
312 <groupId>com.esotericsoftware</groupId>
313 <artifactId>minlog</artifactId>
314 <version>1.3.0</version>
315 </dependency>
316 <dependency>
317 <groupId>org.objenesis</groupId>
318 <artifactId>objenesis</artifactId>
319 <version>2.1</version>
320 </dependency>
321
322 <!-- ONOS related -->
323 <dependency>
324 <groupId>org.onosproject</groupId>
325 <artifactId>onlab-misc</artifactId>
326 <version>${project.version}</version>
327 </dependency>
328 <dependency>
329 <groupId>org.onosproject</groupId>
330 <artifactId>onlab-nio</artifactId>
331 <version>${project.version}</version>
332 </dependency>
333 <dependency>
334 <groupId>org.onosproject</groupId>
335 <artifactId>onlab-osgi</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 <classifier>tests</classifier>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.onosproject</groupId>
347 <artifactId>onlab-junit</artifactId>
348 <version>${project.version}</version>
349 <scope>test</scope>
350 </dependency>
351
352 <dependency>
353 <groupId>org.onosproject</groupId>
354 <artifactId>onos-api</artifactId>
355 <version>${project.version}</version>
356 </dependency>
357 <dependency>
358 <groupId>org.onosproject</groupId>
359 <artifactId>onos-api</artifactId>
360 <version>${project.version}</version>
361 <classifier>tests</classifier>
362 <scope>test</scope>
363 </dependency>
364
365 <dependency>
366 <groupId>org.onosproject</groupId>
367 <artifactId>onos-incubator-api</artifactId>
368 <version>${project.version}</version>
369 </dependency>
370
371 <dependency>
372 <groupId>org.onosproject</groupId>
373 <artifactId>onos-core-common</artifactId>
374 <version>${project.version}</version>
375 </dependency>
376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-core-common</artifactId>
379 <version>${project.version}</version>
380 <classifier>tests</classifier>
381 <scope>test</scope>
382 </dependency>
383
384 <dependency>
385 <groupId>org.onosproject</groupId>
386 <artifactId>onos-of-api</artifactId>
387 <version>${project.version}</version>
388 </dependency>
389 <dependency>
390 <groupId>org.onosproject</groupId>
391 <artifactId>onos-ovsdb-rfc</artifactId>
392 <version>${project.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>org.onosproject</groupId>
396 <artifactId>onos-ovsdb-api</artifactId>
397 <version>${project.version}</version>
398 </dependency>
399 <dependency>
400 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530401 <artifactId>onos-app-pcep-api</artifactId>
402 <version>${project.version}</version>
403 </dependency>
404 <dependency>
405 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700406 <artifactId>onos-pcepio</artifactId>
407 <version>${project.version}</version>
408 </dependency>
409
410 <dependency>
411 <groupId>org.onosproject</groupId>
412 <artifactId>onos-pcep-controller-api</artifactId>
413 <version>${project.version}</version>
414 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700415 <dependency>
416 <groupId>org.onosproject</groupId>
417 <artifactId>onlab-thirdparty</artifactId>
418 <version>${project.version}</version>
419 </dependency>
420
421 <dependency>
422 <groupId>org.onosproject</groupId>
423 <artifactId>onos-of-api</artifactId>
424 <version>${project.version}</version>
425 <classifier>tests</classifier>
426 <scope>test</scope>
427 </dependency>
428 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530429 <groupId>org.onosproject</groupId>
430 <artifactId>onos-pcep-controller-api</artifactId>
431 <version>${project.version}</version>
432 <classifier>tests</classifier>
433 <scope>test</scope>
434 </dependency>
435 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530436 <groupId>org.onosproject</groupId>
437 <artifactId>onos-bgpio</artifactId>
438 <version>${project.version}</version>
439 </dependency>
440 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700441 <groupId>commons-pool</groupId>
442 <artifactId>commons-pool</artifactId>
443 <version>1.6</version>
444 </dependency>
445 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530446 <groupId>org.onosproject</groupId>
447 <artifactId>onos-bgp-api</artifactId>
448 <version>${project.version}</version>
449 </dependency>
450
451 <dependency>
452 <groupId>org.onosproject</groupId>
453 <artifactId>onos-app-bgp-api</artifactId>
454 <version>${project.version}</version>
455 </dependency>
456 <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>
476 <dependency>
477 <groupId>io.netty</groupId>
478 <artifactId>netty-codec</artifactId>
479 <version>${netty4.version}</version>
480 </dependency>
481 <dependency>
482 <groupId>io.netty</groupId>
483 <artifactId>netty-transport-native-epoll</artifactId>
484 <version>${netty4.version}</version>
485 <classifier>${os.detected.classifier}</classifier>
486 </dependency>
487 <dependency>
488 <groupId>joda-time</groupId>
489 <artifactId>joda-time</artifactId>
490 <version>2.5</version>
491 </dependency>
492 </dependencies>
493 </dependencyManagement>
494
495 <dependencies>
496 <dependency>
497 <groupId>junit</groupId>
498 <artifactId>junit</artifactId>
499 </dependency>
500 <dependency>
501 <groupId>org.hamcrest</groupId>
502 <artifactId>hamcrest-core</artifactId>
503 </dependency>
504 <dependency>
505 <groupId>org.hamcrest</groupId>
506 <artifactId>hamcrest-library</artifactId>
507 </dependency>
508 <dependency>
509 <groupId>org.slf4j</groupId>
510 <artifactId>slf4j-api</artifactId>
511 </dependency>
512 <dependency>
513 <groupId>org.slf4j</groupId>
514 <artifactId>slf4j-jdk14</artifactId>
515 </dependency>
516 </dependencies>
517
518 <build>
519 <pluginManagement>
520 <plugins>
521 <plugin>
522 <groupId>org.apache.maven.plugins</groupId>
523 <artifactId>maven-compiler-plugin</artifactId>
524 <!-- TODO: update once following issue is fixed. -->
525 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
526 <version>2.5.1</version>
527 <configuration>
528 <source>1.8</source>
529 <target>1.8</target>
530 </configuration>
531 </plugin>
532
533 <plugin>
534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-surefire-plugin</artifactId>
536 <version>2.18.1</version>
537 <configuration>
538 <redirectTestOutputToFile>true
539 </redirectTestOutputToFile>
540 <printSummary>true</printSummary>
541 <excludedGroups>org.onlab.junit.IntegrationTest
542 </excludedGroups>
543 <rerunFailingTestsCount>1</rerunFailingTestsCount>
544 </configuration>
545 </plugin>
546
547 <plugin>
548 <groupId>org.apache.maven.plugins</groupId>
549 <artifactId>maven-jar-plugin</artifactId>
550 <version>2.3.1</version>
551 <executions>
552 <execution>
553 <phase>package</phase>
554 <goals>
555 <goal>test-jar</goal>
556 </goals>
557 </execution>
558 </executions>
559 </plugin>
560
561 <plugin>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-resources-plugin</artifactId>
564 <version>2.6</version>
565 </plugin>
566
567 <plugin>
568 <groupId>org.apache.felix</groupId>
569 <artifactId>maven-bundle-plugin</artifactId>
570 <version>2.5.3</version>
571 <extensions>true</extensions>
572 <!--
573 Drop following dependency when the below bug fix is published
574 https://issues.apache.org/jira/browse/FELIX-4556
575 -->
576 <dependencies>
577 <dependency>
578 <groupId>biz.aQute.bnd</groupId>
579 <artifactId>bndlib</artifactId>
580 <version>2.4.0</version>
581 </dependency>
582 </dependencies>
583 </plugin>
584
585 <plugin>
586 <groupId>org.apache.maven.plugins</groupId>
587 <artifactId>maven-shade-plugin</artifactId>
588 <version>2.3</version>
589 </plugin>
590
591 <plugin>
592 <groupId>org.apache.felix</groupId>
593 <artifactId>maven-scr-plugin</artifactId>
594 <version>1.20.0</version>
595 <executions>
596 <execution>
597 <id>generate-scr-srcdescriptor</id>
598 <goals>
599 <goal>scr</goal>
600 </goals>
601 </execution>
602 </executions>
603 <configuration>
604 <supportedProjectTypes>
605 <supportedProjectType>bundle</supportedProjectType>
606 <supportedProjectType>war</supportedProjectType>
607 </supportedProjectTypes>
608 </configuration>
609 </plugin>
610 <plugin>
611 <groupId>org.codehaus.mojo</groupId>
612 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700613 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700614 <dependencies>
615 <dependency>
616 <groupId>org.onosproject</groupId>
617 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700618 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700619 </dependency>
620 </dependencies>
621 <configuration>
622 <effort>Max</effort>
623 <excludeFilterFile>onos/findbugs-suppressions.xml
624 </excludeFilterFile>
625 </configuration>
626 </plugin>
627
628 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
629 <plugin>
630 <groupId>org.onosproject</groupId>
631 <artifactId>onos-maven-plugin</artifactId>
632 <version>1.5</version>
633 <executions>
634 <execution>
635 <id>cfg</id>
636 <phase>generate-resources</phase>
637 <goals>
638 <goal>cfg</goal>
639 </goals>
640 </execution>
641 <execution>
642 <id>swagger</id>
643 <phase>generate-sources</phase>
644 <goals>
645 <goal>swagger</goal>
646 </goals>
647 </execution>
648 <execution>
649 <id>app</id>
650 <phase>package</phase>
651 <goals>
652 <goal>app</goal>
653 </goals>
654 </execution>
655 </executions>
656 </plugin>
657 </plugins>
658 </pluginManagement>
659
660 <plugins>
661 <plugin>
662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-jar-plugin</artifactId>
664 </plugin>
665
666 <plugin>
667 <groupId>org.apache.maven.plugins</groupId>
668 <artifactId>maven-checkstyle-plugin</artifactId>
669 <version>2.13</version>
670 <dependencies>
671 <dependency>
672 <groupId>org.onosproject</groupId>
673 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700674 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700675 </dependency>
676 <!-- For Java 8 lambda support-->
677 <dependency>
678 <groupId>com.puppycrawl.tools</groupId>
679 <artifactId>checkstyle</artifactId>
680 <version>5.9</version>
681 </dependency>
682 </dependencies>
683 <configuration>
684 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
685 <sourceDirectory>${project.build.sourceDirectory}
686 </sourceDirectory>
687 <testSourceDirectory>${project.build.testSourceDirectory}
688 </testSourceDirectory>
689 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
690 <configLocation>onos/checkstyle.xml</configLocation>
691 <suppressionsLocation>onos/suppressions.xml
692 </suppressionsLocation>
693 <failsOnError>false</failsOnError>
694 <logViolationsToConsole>true</logViolationsToConsole>
695 <includeTestSourceDirectory>true
696 </includeTestSourceDirectory>
697 </configuration>
698 <executions>
699 <execution>
700 <id>validate-checkstyle</id>
701 <phase>verify</phase>
702 <goals>
703 <goal>check</goal>
704 </goals>
705 </execution>
706 </executions>
707 </plugin>
708
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-pmd-plugin</artifactId>
712 <version>3.2</version>
713 <configuration>
714 <excludes>
715 </excludes>
716 <rulesets>
717 <ruleset>onos/pmd.xml</ruleset>
718 </rulesets>
719 </configuration>
720 <executions>
721 <execution>
722 <id>validate-pmd</id>
723 <phase>verify</phase>
724 <goals>
725 <!-- Uncomment this goal to make the build fail on pmd errors -->
726 <!--<goal>check</goal>-->
727 </goals>
728 </execution>
729 </executions>
730 </plugin>
731
732 <plugin>
733 <groupId>org.jacoco</groupId>
734 <artifactId>jacoco-maven-plugin</artifactId>
735 <version>0.7.2.201409121644</version>
736 <executions>
737 <execution>
738 <id>default-prepare-agent</id>
739 <goals>
740 <goal>prepare-agent</goal>
741 </goals>
742 </execution>
743 <execution>
744 <id>default-report</id>
745 <phase>prepare-package</phase>
746 <goals>
747 <goal>report</goal>
748 </goals>
749 </execution>
750 </executions>
751 </plugin>
752 </plugins>
753 </build>
754
755 <reporting>
756 <plugins>
757 <plugin>
758 <groupId>org.apache.maven.plugins</groupId>
759 <artifactId>maven-checkstyle-plugin</artifactId>
760 <version>2.12.1</version>
761 <configuration>
762 <configLocation>onos/checkstyle.xml</configLocation>
763 </configuration>
764 </plugin>
765
766 <plugin>
767 <groupId>org.apache.maven.plugins</groupId>
768 <artifactId>maven-pmd-plugin</artifactId>
769 <version>3.2</version>
770 <configuration>
771 <excludes>
772 </excludes>
773 <rulesets>
774 <ruleset>onos/pmd.xml</ruleset>
775 </rulesets>
776 </configuration>
777 </plugin>
778 </plugins>
779 </reporting>
780</project>