blob: 4686e3f33d6276a68c31ae9c733bf3bb3c958566 [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>
Ray Milkeyccda0b52015-10-30 16:51:06 -070061 <module>tools/build/conf</module>
Thejaswi N K6a4cd002015-09-21 17:19:55 +053062 <module>bgp</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070063 </modules>
64
65 <url>http://onosproject.org/</url>
66
67 <scm>
68 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
69 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
70 </developerConnection>
71 <url>http://gerrit.onosproject.org/</url>
72 </scm>
73
74 <licenses>
75 <license>
76 <name>Apache License, Version 2.0</name>
77 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
78 </license>
79 </licenses>
80
81 <properties>
82 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Ray Milkeyccda0b52015-10-30 16:51:06 -070083 <onos-build-conf.version>1.1-SNAPSHOT</onos-build-conf.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070084 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connore79b0252015-09-04 15:55:03 -070085 <copycat.version>0.5.0.onos</copycat.version>
Brian O'Connor0ecdb322015-09-03 15:37:50 -070086 <openflowj.version>0.9.0.onos</openflowj.version>
Brian O'Connor354cab92015-08-27 11:55:27 -070087 <karaf.version>3.0.3</karaf.version>
88 <jersey.version>1.19</jersey.version>
89 </properties>
90
91 <distributionManagement>
92 <snapshotRepository>
93 <id>ossrh</id>
94 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
95 </snapshotRepository>
96 </distributionManagement>
97
Brian O'Connor354cab92015-08-27 11:55:27 -070098 <dependencyManagement>
99 <dependencies>
100 <dependency>
101 <groupId>junit</groupId>
102 <artifactId>junit</artifactId>
103 <version>4.11</version>
104 <scope>test</scope>
105 </dependency>
106
107 <dependency>
108 <groupId>org.hamcrest</groupId>
109 <artifactId>hamcrest-core</artifactId>
110 <version>1.3</version>
111 <scope>test</scope>
112 </dependency>
113 <dependency>
114 <groupId>org.hamcrest</groupId>
115 <artifactId>hamcrest-library</artifactId>
116 <version>1.3</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>org.slf4j</groupId>
122 <artifactId>slf4j-api</artifactId>
123 <version>1.7.6</version>
124 <scope>provided</scope>
125 </dependency>
126
127 <dependency>
128 <groupId>org.slf4j</groupId>
129 <artifactId>slf4j-core</artifactId>
130 <version>1.7.6</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-jdk14</artifactId>
137 <version>1.7.6</version>
138 <scope>test</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>com.google.guava</groupId>
143 <artifactId>guava</artifactId>
144 <version>18.0</version>
145 </dependency>
146
147 <dependency>
148 <groupId>io.netty</groupId>
149 <artifactId>netty</artifactId>
150 <version>3.9.0.Final</version>
151 </dependency>
152
153 <dependency>
154 <groupId>com.google.guava</groupId>
155 <artifactId>guava-testlib</artifactId>
156 <version>18.0</version>
157 <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>
175 <version>3.3.2</version>
176 </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>
187 <version>3.2.1</version>
188 </dependency>
189
190 <dependency>
191 <groupId>org.codehaus.jackson</groupId>
192 <artifactId>jackson-core-asl</artifactId>
193 <version>1.9.13</version>
194 </dependency>
195 <dependency>
196 <groupId>org.codehaus.jackson</groupId>
197 <artifactId>jackson-mapper-asl</artifactId>
198 <version>1.9.13</version>
199 </dependency>
200
201 <dependency>
202 <groupId>org.easymock</groupId>
203 <artifactId>easymock</artifactId>
204 <version>3.2</version>
205 <scope>test</scope>
206 </dependency>
207
208 <!-- Web related -->
209 <dependency>
210 <groupId>com.sun.jersey</groupId>
211 <artifactId>jersey-servlet</artifactId>
212 <version>${jersey.version}</version>
213 <scope>provided</scope>
214 </dependency>
215 <dependency>
216 <groupId>com.sun.jersey.contribs</groupId>
217 <artifactId>jersey-multipart</artifactId>
218 <version>${jersey.version}</version>
219 <scope>provided</scope>
220 </dependency>
221 <dependency>
222 <groupId>com.sun.jersey.jersey-test-framework</groupId>
223 <artifactId>jersey-test-framework-core</artifactId>
224 <version>${jersey.version}</version>
225 <scope>test</scope>
226 </dependency>
227 <dependency>
228 <groupId>com.sun.jersey.jersey-test-framework</groupId>
229 <artifactId>jersey-test-framework-grizzly2</artifactId>
230 <version>${jersey.version}</version>
231 <scope>test</scope>
232 </dependency>
233 <dependency>
234 <groupId>com.fasterxml.jackson.core</groupId>
235 <artifactId>jackson-databind</artifactId>
236 <version>2.4.2</version>
237 <scope>provided</scope>
238 </dependency>
239 <dependency>
240 <groupId>com.fasterxml.jackson.core</groupId>
241 <artifactId>jackson-annotations</artifactId>
242 <version>2.4.2</version>
243 <scope>provided</scope>
244 </dependency>
245
246 <!-- OSGi related -->
247 <dependency>
248 <groupId>org.osgi</groupId>
249 <artifactId>org.osgi.core</artifactId>
250 <version>4.3.1</version>
251 <scope>provided</scope>
252 </dependency>
253 <dependency>
254 <groupId>org.osgi</groupId>
255 <artifactId>org.osgi.compendium</artifactId>
256 <version>4.3.1</version>
257 <scope>provided</scope>
258 </dependency>
259 <dependency>
260 <groupId>org.apache.felix</groupId>
261 <artifactId>org.apache.felix.scr.annotations</artifactId>
262 <version>1.9.8</version>
263 <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>
294 <version>0.9.1</version>
295 </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>
304 <version>1.10.0</version>
305 <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>
320 <version>2.1</version>
321 </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>
331 <artifactId>onlab-nio</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 </dependency>
339 <dependency>
340 <groupId>org.onosproject</groupId>
341 <artifactId>onlab-osgi</artifactId>
342 <version>${project.version}</version>
343 <classifier>tests</classifier>
344 <scope>test</scope>
345 </dependency>
346 <dependency>
347 <groupId>org.onosproject</groupId>
348 <artifactId>onlab-junit</artifactId>
349 <version>${project.version}</version>
350 <scope>test</scope>
351 </dependency>
352
353 <dependency>
354 <groupId>org.onosproject</groupId>
355 <artifactId>onos-api</artifactId>
356 <version>${project.version}</version>
357 </dependency>
358 <dependency>
359 <groupId>org.onosproject</groupId>
360 <artifactId>onos-api</artifactId>
361 <version>${project.version}</version>
362 <classifier>tests</classifier>
363 <scope>test</scope>
364 </dependency>
365
366 <dependency>
367 <groupId>org.onosproject</groupId>
368 <artifactId>onos-incubator-api</artifactId>
369 <version>${project.version}</version>
370 </dependency>
371
372 <dependency>
373 <groupId>org.onosproject</groupId>
374 <artifactId>onos-core-common</artifactId>
375 <version>${project.version}</version>
376 </dependency>
377 <dependency>
378 <groupId>org.onosproject</groupId>
379 <artifactId>onos-core-common</artifactId>
380 <version>${project.version}</version>
381 <classifier>tests</classifier>
382 <scope>test</scope>
383 </dependency>
384
385 <dependency>
386 <groupId>org.onosproject</groupId>
387 <artifactId>onos-of-api</artifactId>
388 <version>${project.version}</version>
389 </dependency>
390 <dependency>
391 <groupId>org.onosproject</groupId>
392 <artifactId>onos-ovsdb-rfc</artifactId>
393 <version>${project.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>org.onosproject</groupId>
397 <artifactId>onos-ovsdb-api</artifactId>
398 <version>${project.version}</version>
399 </dependency>
400 <dependency>
401 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530402 <artifactId>onos-app-pcep-api</artifactId>
403 <version>${project.version}</version>
404 </dependency>
405 <dependency>
406 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700407 <artifactId>onos-pcepio</artifactId>
408 <version>${project.version}</version>
409 </dependency>
410
411 <dependency>
412 <groupId>org.onosproject</groupId>
413 <artifactId>onos-pcep-controller-api</artifactId>
414 <version>${project.version}</version>
415 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700416 <dependency>
417 <groupId>org.onosproject</groupId>
418 <artifactId>onlab-thirdparty</artifactId>
419 <version>${project.version}</version>
420 </dependency>
421
422 <dependency>
423 <groupId>org.onosproject</groupId>
424 <artifactId>onos-of-api</artifactId>
425 <version>${project.version}</version>
426 <classifier>tests</classifier>
427 <scope>test</scope>
428 </dependency>
429 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530430 <groupId>org.onosproject</groupId>
431 <artifactId>onos-pcep-controller-api</artifactId>
432 <version>${project.version}</version>
433 <classifier>tests</classifier>
434 <scope>test</scope>
435 </dependency>
436 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530437 <groupId>org.onosproject</groupId>
438 <artifactId>onos-bgpio</artifactId>
439 <version>${project.version}</version>
440 </dependency>
441 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700442 <groupId>commons-pool</groupId>
443 <artifactId>commons-pool</artifactId>
444 <version>1.6</version>
445 </dependency>
446 <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>
451
452 <dependency>
453 <groupId>org.onosproject</groupId>
454 <artifactId>onos-app-bgp-api</artifactId>
455 <version>${project.version}</version>
456 </dependency>
457 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700458 <groupId>io.netty</groupId>
459 <artifactId>netty-common</artifactId>
460 <version>${netty4.version}</version>
461 </dependency>
462 <dependency>
463 <groupId>io.netty</groupId>
464 <artifactId>netty-buffer</artifactId>
465 <version>${netty4.version}</version>
466 </dependency>
467 <dependency>
468 <groupId>io.netty</groupId>
469 <artifactId>netty-transport</artifactId>
470 <version>${netty4.version}</version>
471 </dependency>
472 <dependency>
473 <groupId>io.netty</groupId>
474 <artifactId>netty-handler</artifactId>
475 <version>${netty4.version}</version>
476 </dependency>
477 <dependency>
478 <groupId>io.netty</groupId>
479 <artifactId>netty-codec</artifactId>
480 <version>${netty4.version}</version>
481 </dependency>
482 <dependency>
483 <groupId>io.netty</groupId>
484 <artifactId>netty-transport-native-epoll</artifactId>
485 <version>${netty4.version}</version>
486 <classifier>${os.detected.classifier}</classifier>
487 </dependency>
488 <dependency>
489 <groupId>joda-time</groupId>
490 <artifactId>joda-time</artifactId>
491 <version>2.5</version>
492 </dependency>
493 </dependencies>
494 </dependencyManagement>
495
496 <dependencies>
497 <dependency>
498 <groupId>junit</groupId>
499 <artifactId>junit</artifactId>
500 </dependency>
501 <dependency>
502 <groupId>org.hamcrest</groupId>
503 <artifactId>hamcrest-core</artifactId>
504 </dependency>
505 <dependency>
506 <groupId>org.hamcrest</groupId>
507 <artifactId>hamcrest-library</artifactId>
508 </dependency>
509 <dependency>
510 <groupId>org.slf4j</groupId>
511 <artifactId>slf4j-api</artifactId>
512 </dependency>
513 <dependency>
514 <groupId>org.slf4j</groupId>
515 <artifactId>slf4j-jdk14</artifactId>
516 </dependency>
517 </dependencies>
518
519 <build>
520 <pluginManagement>
521 <plugins>
522 <plugin>
523 <groupId>org.apache.maven.plugins</groupId>
524 <artifactId>maven-compiler-plugin</artifactId>
525 <!-- TODO: update once following issue is fixed. -->
526 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
527 <version>2.5.1</version>
528 <configuration>
529 <source>1.8</source>
530 <target>1.8</target>
531 </configuration>
532 </plugin>
533
534 <plugin>
535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-surefire-plugin</artifactId>
537 <version>2.18.1</version>
538 <configuration>
539 <redirectTestOutputToFile>true
540 </redirectTestOutputToFile>
541 <printSummary>true</printSummary>
542 <excludedGroups>org.onlab.junit.IntegrationTest
543 </excludedGroups>
544 <rerunFailingTestsCount>1</rerunFailingTestsCount>
545 </configuration>
546 </plugin>
547
548 <plugin>
549 <groupId>org.apache.maven.plugins</groupId>
550 <artifactId>maven-jar-plugin</artifactId>
551 <version>2.3.1</version>
552 <executions>
553 <execution>
554 <phase>package</phase>
555 <goals>
556 <goal>test-jar</goal>
557 </goals>
558 </execution>
559 </executions>
560 </plugin>
561
562 <plugin>
563 <groupId>org.apache.maven.plugins</groupId>
564 <artifactId>maven-resources-plugin</artifactId>
565 <version>2.6</version>
566 </plugin>
567
568 <plugin>
569 <groupId>org.apache.felix</groupId>
570 <artifactId>maven-bundle-plugin</artifactId>
571 <version>2.5.3</version>
572 <extensions>true</extensions>
573 <!--
574 Drop following dependency when the below bug fix is published
575 https://issues.apache.org/jira/browse/FELIX-4556
576 -->
577 <dependencies>
578 <dependency>
579 <groupId>biz.aQute.bnd</groupId>
580 <artifactId>bndlib</artifactId>
581 <version>2.4.0</version>
582 </dependency>
583 </dependencies>
584 </plugin>
585
586 <plugin>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-shade-plugin</artifactId>
589 <version>2.3</version>
590 </plugin>
591
592 <plugin>
593 <groupId>org.apache.felix</groupId>
594 <artifactId>maven-scr-plugin</artifactId>
595 <version>1.20.0</version>
596 <executions>
597 <execution>
598 <id>generate-scr-srcdescriptor</id>
599 <goals>
600 <goal>scr</goal>
601 </goals>
602 </execution>
603 </executions>
604 <configuration>
605 <supportedProjectTypes>
606 <supportedProjectType>bundle</supportedProjectType>
607 <supportedProjectType>war</supportedProjectType>
608 </supportedProjectTypes>
609 </configuration>
610 </plugin>
611 <plugin>
612 <groupId>org.codehaus.mojo</groupId>
613 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700614 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700615 <dependencies>
616 <dependency>
617 <groupId>org.onosproject</groupId>
618 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700619 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700620 </dependency>
621 </dependencies>
622 <configuration>
623 <effort>Max</effort>
624 <excludeFilterFile>onos/findbugs-suppressions.xml
625 </excludeFilterFile>
626 </configuration>
627 </plugin>
628
629 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
630 <plugin>
631 <groupId>org.onosproject</groupId>
632 <artifactId>onos-maven-plugin</artifactId>
633 <version>1.5</version>
634 <executions>
635 <execution>
636 <id>cfg</id>
637 <phase>generate-resources</phase>
638 <goals>
639 <goal>cfg</goal>
640 </goals>
641 </execution>
642 <execution>
643 <id>swagger</id>
644 <phase>generate-sources</phase>
645 <goals>
646 <goal>swagger</goal>
647 </goals>
648 </execution>
649 <execution>
650 <id>app</id>
651 <phase>package</phase>
652 <goals>
653 <goal>app</goal>
654 </goals>
655 </execution>
656 </executions>
657 </plugin>
658 </plugins>
659 </pluginManagement>
660
661 <plugins>
662 <plugin>
663 <groupId>org.apache.maven.plugins</groupId>
664 <artifactId>maven-jar-plugin</artifactId>
665 </plugin>
666
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-checkstyle-plugin</artifactId>
670 <version>2.13</version>
671 <dependencies>
672 <dependency>
673 <groupId>org.onosproject</groupId>
674 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700675 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700676 </dependency>
677 <!-- For Java 8 lambda support-->
678 <dependency>
679 <groupId>com.puppycrawl.tools</groupId>
680 <artifactId>checkstyle</artifactId>
681 <version>5.9</version>
682 </dependency>
683 </dependencies>
684 <configuration>
685 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
686 <sourceDirectory>${project.build.sourceDirectory}
687 </sourceDirectory>
688 <testSourceDirectory>${project.build.testSourceDirectory}
689 </testSourceDirectory>
690 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
691 <configLocation>onos/checkstyle.xml</configLocation>
692 <suppressionsLocation>onos/suppressions.xml
693 </suppressionsLocation>
694 <failsOnError>false</failsOnError>
695 <logViolationsToConsole>true</logViolationsToConsole>
696 <includeTestSourceDirectory>true
697 </includeTestSourceDirectory>
698 </configuration>
699 <executions>
700 <execution>
701 <id>validate-checkstyle</id>
702 <phase>verify</phase>
703 <goals>
704 <goal>check</goal>
705 </goals>
706 </execution>
707 </executions>
708 </plugin>
709
710 <plugin>
711 <groupId>org.apache.maven.plugins</groupId>
712 <artifactId>maven-pmd-plugin</artifactId>
713 <version>3.2</version>
714 <configuration>
715 <excludes>
716 </excludes>
717 <rulesets>
718 <ruleset>onos/pmd.xml</ruleset>
719 </rulesets>
720 </configuration>
721 <executions>
722 <execution>
723 <id>validate-pmd</id>
724 <phase>verify</phase>
725 <goals>
726 <!-- Uncomment this goal to make the build fail on pmd errors -->
727 <!--<goal>check</goal>-->
728 </goals>
729 </execution>
730 </executions>
731 </plugin>
732
733 <plugin>
734 <groupId>org.jacoco</groupId>
735 <artifactId>jacoco-maven-plugin</artifactId>
736 <version>0.7.2.201409121644</version>
737 <executions>
738 <execution>
739 <id>default-prepare-agent</id>
740 <goals>
741 <goal>prepare-agent</goal>
742 </goals>
743 </execution>
744 <execution>
745 <id>default-report</id>
746 <phase>prepare-package</phase>
747 <goals>
748 <goal>report</goal>
749 </goals>
750 </execution>
751 </executions>
752 </plugin>
753 </plugins>
754 </build>
755
756 <reporting>
757 <plugins>
758 <plugin>
759 <groupId>org.apache.maven.plugins</groupId>
760 <artifactId>maven-checkstyle-plugin</artifactId>
761 <version>2.12.1</version>
762 <configuration>
763 <configLocation>onos/checkstyle.xml</configLocation>
764 </configuration>
765 </plugin>
766
767 <plugin>
768 <groupId>org.apache.maven.plugins</groupId>
769 <artifactId>maven-pmd-plugin</artifactId>
770 <version>3.2</version>
771 <configuration>
772 <excludes>
773 </excludes>
774 <rulesets>
775 <ruleset>onos/pmd.xml</ruleset>
776 </rulesets>
777 </configuration>
778 </plugin>
779 </plugins>
780 </reporting>
781</project>