blob: 89930f59d4bf636a9180cea22220d3dace67eead [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>
Jonathan Hart317f4762015-11-09 16:05:36 -080051 <module>bgp</module>
Brian O'Connor354cab92015-08-27 11:55:27 -070052
53 <module>providers</module>
54 <module>drivers</module>
55
56 <module>apps</module>
57 <module>incubator</module>
58 <module>features</module>
59
60 <module>tools/package/archetypes</module>
61 <module>tools/package/branding</module>
Ray Milkeyccda0b52015-10-30 16:51:06 -070062 <module>tools/build/conf</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>
Antonio Marsico6097f812015-11-10 11:57:11 +0100539 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -0700540 <redirectTestOutputToFile>true
541 </redirectTestOutputToFile>
542 <printSummary>true</printSummary>
543 <excludedGroups>org.onlab.junit.IntegrationTest
544 </excludedGroups>
545 <rerunFailingTestsCount>1</rerunFailingTestsCount>
546 </configuration>
547 </plugin>
548
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-jar-plugin</artifactId>
552 <version>2.3.1</version>
553 <executions>
554 <execution>
555 <phase>package</phase>
556 <goals>
557 <goal>test-jar</goal>
558 </goals>
559 </execution>
560 </executions>
561 </plugin>
562
563 <plugin>
564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-resources-plugin</artifactId>
566 <version>2.6</version>
567 </plugin>
568
569 <plugin>
570 <groupId>org.apache.felix</groupId>
571 <artifactId>maven-bundle-plugin</artifactId>
572 <version>2.5.3</version>
573 <extensions>true</extensions>
574 <!--
575 Drop following dependency when the below bug fix is published
576 https://issues.apache.org/jira/browse/FELIX-4556
577 -->
578 <dependencies>
579 <dependency>
580 <groupId>biz.aQute.bnd</groupId>
581 <artifactId>bndlib</artifactId>
582 <version>2.4.0</version>
583 </dependency>
584 </dependencies>
585 </plugin>
586
587 <plugin>
588 <groupId>org.apache.maven.plugins</groupId>
589 <artifactId>maven-shade-plugin</artifactId>
590 <version>2.3</version>
591 </plugin>
592
593 <plugin>
594 <groupId>org.apache.felix</groupId>
595 <artifactId>maven-scr-plugin</artifactId>
596 <version>1.20.0</version>
597 <executions>
598 <execution>
599 <id>generate-scr-srcdescriptor</id>
600 <goals>
601 <goal>scr</goal>
602 </goals>
603 </execution>
604 </executions>
605 <configuration>
606 <supportedProjectTypes>
607 <supportedProjectType>bundle</supportedProjectType>
608 <supportedProjectType>war</supportedProjectType>
609 </supportedProjectTypes>
610 </configuration>
611 </plugin>
612 <plugin>
613 <groupId>org.codehaus.mojo</groupId>
614 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700615 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700616 <dependencies>
617 <dependency>
618 <groupId>org.onosproject</groupId>
619 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700620 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700621 </dependency>
622 </dependencies>
623 <configuration>
624 <effort>Max</effort>
625 <excludeFilterFile>onos/findbugs-suppressions.xml
626 </excludeFilterFile>
627 </configuration>
628 </plugin>
629
630 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
631 <plugin>
632 <groupId>org.onosproject</groupId>
633 <artifactId>onos-maven-plugin</artifactId>
634 <version>1.5</version>
635 <executions>
636 <execution>
637 <id>cfg</id>
638 <phase>generate-resources</phase>
639 <goals>
640 <goal>cfg</goal>
641 </goals>
642 </execution>
643 <execution>
644 <id>swagger</id>
645 <phase>generate-sources</phase>
646 <goals>
647 <goal>swagger</goal>
648 </goals>
649 </execution>
650 <execution>
651 <id>app</id>
652 <phase>package</phase>
653 <goals>
654 <goal>app</goal>
655 </goals>
656 </execution>
657 </executions>
658 </plugin>
659 </plugins>
660 </pluginManagement>
661
662 <plugins>
663 <plugin>
664 <groupId>org.apache.maven.plugins</groupId>
665 <artifactId>maven-jar-plugin</artifactId>
666 </plugin>
667
668 <plugin>
669 <groupId>org.apache.maven.plugins</groupId>
670 <artifactId>maven-checkstyle-plugin</artifactId>
671 <version>2.13</version>
672 <dependencies>
673 <dependency>
674 <groupId>org.onosproject</groupId>
675 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700676 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700677 </dependency>
678 <!-- For Java 8 lambda support-->
679 <dependency>
680 <groupId>com.puppycrawl.tools</groupId>
681 <artifactId>checkstyle</artifactId>
682 <version>5.9</version>
683 </dependency>
684 </dependencies>
685 <configuration>
686 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
687 <sourceDirectory>${project.build.sourceDirectory}
688 </sourceDirectory>
689 <testSourceDirectory>${project.build.testSourceDirectory}
690 </testSourceDirectory>
691 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
692 <configLocation>onos/checkstyle.xml</configLocation>
693 <suppressionsLocation>onos/suppressions.xml
694 </suppressionsLocation>
695 <failsOnError>false</failsOnError>
696 <logViolationsToConsole>true</logViolationsToConsole>
697 <includeTestSourceDirectory>true
698 </includeTestSourceDirectory>
699 </configuration>
700 <executions>
701 <execution>
702 <id>validate-checkstyle</id>
703 <phase>verify</phase>
704 <goals>
705 <goal>check</goal>
706 </goals>
707 </execution>
708 </executions>
709 </plugin>
710
711 <plugin>
712 <groupId>org.apache.maven.plugins</groupId>
713 <artifactId>maven-pmd-plugin</artifactId>
714 <version>3.2</version>
715 <configuration>
716 <excludes>
717 </excludes>
718 <rulesets>
719 <ruleset>onos/pmd.xml</ruleset>
720 </rulesets>
721 </configuration>
722 <executions>
723 <execution>
724 <id>validate-pmd</id>
725 <phase>verify</phase>
726 <goals>
727 <!-- Uncomment this goal to make the build fail on pmd errors -->
728 <!--<goal>check</goal>-->
729 </goals>
730 </execution>
731 </executions>
732 </plugin>
733
734 <plugin>
735 <groupId>org.jacoco</groupId>
736 <artifactId>jacoco-maven-plugin</artifactId>
737 <version>0.7.2.201409121644</version>
738 <executions>
739 <execution>
740 <id>default-prepare-agent</id>
741 <goals>
742 <goal>prepare-agent</goal>
743 </goals>
744 </execution>
745 <execution>
746 <id>default-report</id>
747 <phase>prepare-package</phase>
748 <goals>
749 <goal>report</goal>
750 </goals>
751 </execution>
752 </executions>
753 </plugin>
754 </plugins>
755 </build>
756
757 <reporting>
758 <plugins>
759 <plugin>
760 <groupId>org.apache.maven.plugins</groupId>
761 <artifactId>maven-checkstyle-plugin</artifactId>
762 <version>2.12.1</version>
763 <configuration>
764 <configLocation>onos/checkstyle.xml</configLocation>
765 </configuration>
766 </plugin>
767
768 <plugin>
769 <groupId>org.apache.maven.plugins</groupId>
770 <artifactId>maven-pmd-plugin</artifactId>
771 <version>3.2</version>
772 <configuration>
773 <excludes>
774 </excludes>
775 <rulesets>
776 <ruleset>onos/pmd.xml</ruleset>
777 </rulesets>
778 </configuration>
779 </plugin>
780 </plugins>
781 </reporting>
782</project>