blob: 738fb4d861e8b16fbea23a8666d8f6d14acfeadb [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>
Brian O'Connor0ecdb322015-09-03 15:37:50 -070083 <openflowj.version>0.9.0.onos</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>
94
Brian O'Connor354cab92015-08-27 11:55:27 -070095 <dependencyManagement>
96 <dependencies>
97 <dependency>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
100 <version>4.11</version>
101 <scope>test</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>org.hamcrest</groupId>
106 <artifactId>hamcrest-core</artifactId>
107 <version>1.3</version>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.hamcrest</groupId>
112 <artifactId>hamcrest-library</artifactId>
113 <version>1.3</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-api</artifactId>
120 <version>1.7.6</version>
121 <scope>provided</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>org.slf4j</groupId>
126 <artifactId>slf4j-core</artifactId>
127 <version>1.7.6</version>
128 <scope>test</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>org.slf4j</groupId>
133 <artifactId>slf4j-jdk14</artifactId>
134 <version>1.7.6</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava</artifactId>
141 <version>18.0</version>
142 </dependency>
143
144 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700145 <groupId>com.google.guava</groupId>
146 <artifactId>guava-testlib</artifactId>
147 <version>18.0</version>
148 <scope>test</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>com.googlecode.concurrent-trees</groupId>
153 <artifactId>concurrent-trees</artifactId>
154 <version>2.4.0</version>
155 </dependency>
156
157 <dependency>
158 <groupId>commons-lang</groupId>
159 <artifactId>commons-lang</artifactId>
160 <version>2.6</version>
161 </dependency>
162
163 <dependency>
164 <groupId>org.apache.commons</groupId>
165 <artifactId>commons-lang3</artifactId>
166 <version>3.3.2</version>
167 </dependency>
168
169 <dependency>
170 <groupId>commons-configuration</groupId>
171 <artifactId>commons-configuration</artifactId>
172 <version>1.10</version>
173 </dependency>
174
175 <dependency>
176 <groupId>commons-collections</groupId>
177 <artifactId>commons-collections</artifactId>
178 <version>3.2.1</version>
179 </dependency>
180
181 <dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800182 <groupId>commons-pool</groupId>
183 <artifactId>commons-pool</artifactId>
184 <version>1.6</version>
185 </dependency>
186
187 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700188 <groupId>org.codehaus.jackson</groupId>
189 <artifactId>jackson-core-asl</artifactId>
190 <version>1.9.13</version>
191 </dependency>
192 <dependency>
193 <groupId>org.codehaus.jackson</groupId>
194 <artifactId>jackson-mapper-asl</artifactId>
195 <version>1.9.13</version>
196 </dependency>
197
198 <dependency>
199 <groupId>org.easymock</groupId>
200 <artifactId>easymock</artifactId>
201 <version>3.2</version>
202 <scope>test</scope>
203 </dependency>
204
205 <!-- Web related -->
206 <dependency>
207 <groupId>com.sun.jersey</groupId>
208 <artifactId>jersey-servlet</artifactId>
209 <version>${jersey.version}</version>
210 <scope>provided</scope>
211 </dependency>
212 <dependency>
213 <groupId>com.sun.jersey.contribs</groupId>
214 <artifactId>jersey-multipart</artifactId>
215 <version>${jersey.version}</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
219 <groupId>com.sun.jersey.jersey-test-framework</groupId>
220 <artifactId>jersey-test-framework-core</artifactId>
221 <version>${jersey.version}</version>
222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>com.sun.jersey.jersey-test-framework</groupId>
226 <artifactId>jersey-test-framework-grizzly2</artifactId>
227 <version>${jersey.version}</version>
228 <scope>test</scope>
229 </dependency>
230 <dependency>
231 <groupId>com.fasterxml.jackson.core</groupId>
232 <artifactId>jackson-databind</artifactId>
233 <version>2.4.2</version>
234 <scope>provided</scope>
235 </dependency>
236 <dependency>
237 <groupId>com.fasterxml.jackson.core</groupId>
238 <artifactId>jackson-annotations</artifactId>
239 <version>2.4.2</version>
240 <scope>provided</scope>
241 </dependency>
242
243 <!-- OSGi related -->
244 <dependency>
245 <groupId>org.osgi</groupId>
246 <artifactId>org.osgi.core</artifactId>
247 <version>4.3.1</version>
248 <scope>provided</scope>
249 </dependency>
250 <dependency>
251 <groupId>org.osgi</groupId>
252 <artifactId>org.osgi.compendium</artifactId>
253 <version>4.3.1</version>
254 <scope>provided</scope>
255 </dependency>
256 <dependency>
257 <groupId>org.apache.felix</groupId>
258 <artifactId>org.apache.felix.scr.annotations</artifactId>
259 <version>1.9.8</version>
260 <scope>provided</scope>
261 </dependency>
262
263 <dependency>
264 <groupId>org.apache.karaf.features</groupId>
265 <artifactId>org.apache.karaf.features.core</artifactId>
266 <version>${karaf.version}</version>
267 <scope>provided</scope>
268 </dependency>
269 <dependency>
270 <groupId>org.apache.karaf.system</groupId>
271 <artifactId>org.apache.karaf.system.core</artifactId>
272 <version>${karaf.version}</version>
273 <scope>provided</scope>
274 </dependency>
275 <dependency>
276 <groupId>org.apache.karaf.shell</groupId>
277 <artifactId>org.apache.karaf.shell.console</artifactId>
278 <version>${karaf.version}</version>
279 <scope>provided</scope>
280 </dependency>
281
282 <dependency>
283 <groupId>org.livetribe.slp</groupId>
284 <artifactId>livetribe-slp</artifactId>
285 <version>2.2.1</version>
286 </dependency>
287
288 <dependency>
289 <groupId>com.eclipsesource.minimal-json</groupId>
290 <artifactId>minimal-json</artifactId>
291 <version>0.9.1</version>
292 </dependency>
293 <dependency>
294 <groupId>com.esotericsoftware</groupId>
295 <artifactId>kryo</artifactId>
296 <version>3.0.0</version>
297 </dependency>
298 <dependency>
299 <groupId>com.esotericsoftware</groupId>
300 <artifactId>reflectasm</artifactId>
301 <version>1.10.0</version>
302 <type>bundle</type>
303 </dependency>
304 <dependency>
305 <groupId>org.ow2.asm</groupId>
306 <artifactId>asm</artifactId>
307 <version>4.2</version>
308 </dependency>
309 <dependency>
310 <groupId>com.esotericsoftware</groupId>
311 <artifactId>minlog</artifactId>
312 <version>1.3.0</version>
313 </dependency>
314 <dependency>
315 <groupId>org.objenesis</groupId>
316 <artifactId>objenesis</artifactId>
317 <version>2.1</version>
318 </dependency>
319
320 <!-- ONOS related -->
321 <dependency>
322 <groupId>org.onosproject</groupId>
323 <artifactId>onlab-misc</artifactId>
324 <version>${project.version}</version>
325 </dependency>
326 <dependency>
327 <groupId>org.onosproject</groupId>
328 <artifactId>onlab-nio</artifactId>
329 <version>${project.version}</version>
330 </dependency>
331 <dependency>
332 <groupId>org.onosproject</groupId>
333 <artifactId>onlab-osgi</artifactId>
334 <version>${project.version}</version>
335 </dependency>
336 <dependency>
337 <groupId>org.onosproject</groupId>
338 <artifactId>onlab-osgi</artifactId>
339 <version>${project.version}</version>
340 <classifier>tests</classifier>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
344 <groupId>org.onosproject</groupId>
345 <artifactId>onlab-junit</artifactId>
346 <version>${project.version}</version>
347 <scope>test</scope>
348 </dependency>
349
350 <dependency>
351 <groupId>org.onosproject</groupId>
352 <artifactId>onos-api</artifactId>
353 <version>${project.version}</version>
354 </dependency>
355 <dependency>
356 <groupId>org.onosproject</groupId>
357 <artifactId>onos-api</artifactId>
358 <version>${project.version}</version>
359 <classifier>tests</classifier>
360 <scope>test</scope>
361 </dependency>
362
363 <dependency>
364 <groupId>org.onosproject</groupId>
365 <artifactId>onos-incubator-api</artifactId>
366 <version>${project.version}</version>
367 </dependency>
368
369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-core-common</artifactId>
372 <version>${project.version}</version>
373 </dependency>
374 <dependency>
375 <groupId>org.onosproject</groupId>
376 <artifactId>onos-core-common</artifactId>
377 <version>${project.version}</version>
378 <classifier>tests</classifier>
379 <scope>test</scope>
380 </dependency>
381
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-of-api</artifactId>
385 <version>${project.version}</version>
386 </dependency>
387 <dependency>
388 <groupId>org.onosproject</groupId>
389 <artifactId>onos-ovsdb-rfc</artifactId>
390 <version>${project.version}</version>
391 </dependency>
392 <dependency>
393 <groupId>org.onosproject</groupId>
394 <artifactId>onos-ovsdb-api</artifactId>
395 <version>${project.version}</version>
396 </dependency>
397 <dependency>
398 <groupId>org.onosproject</groupId>
Phanendra Manda5e895872015-08-26 20:11:58 +0530399 <artifactId>onos-app-pcep-api</artifactId>
400 <version>${project.version}</version>
401 </dependency>
402 <dependency>
403 <groupId>org.onosproject</groupId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700404 <artifactId>onos-pcepio</artifactId>
405 <version>${project.version}</version>
406 </dependency>
407
408 <dependency>
409 <groupId>org.onosproject</groupId>
410 <artifactId>onos-pcep-controller-api</artifactId>
411 <version>${project.version}</version>
412 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700413 <dependency>
414 <groupId>org.onosproject</groupId>
415 <artifactId>onlab-thirdparty</artifactId>
416 <version>${project.version}</version>
417 </dependency>
418
419 <dependency>
420 <groupId>org.onosproject</groupId>
421 <artifactId>onos-of-api</artifactId>
422 <version>${project.version}</version>
423 <classifier>tests</classifier>
424 <scope>test</scope>
425 </dependency>
426 <dependency>
Phanendra Manda5e895872015-08-26 20:11:58 +0530427 <groupId>org.onosproject</groupId>
428 <artifactId>onos-pcep-controller-api</artifactId>
429 <version>${project.version}</version>
430 <classifier>tests</classifier>
431 <scope>test</scope>
432 </dependency>
433 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530434 <groupId>org.onosproject</groupId>
435 <artifactId>onos-bgpio</artifactId>
436 <version>${project.version}</version>
437 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800438
Brian O'Connor354cab92015-08-27 11:55:27 -0700439 <dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530440 <groupId>org.onosproject</groupId>
441 <artifactId>onos-bgp-api</artifactId>
442 <version>${project.version}</version>
443 </dependency>
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530444 <dependency>
445 <groupId>org.onosproject</groupId>
446 <artifactId>onos-app-bgp-api</artifactId>
447 <version>${project.version}</version>
448 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800449
450
451 <!-- Netty related; for now we require both 3.9 and 4 -->
452 <dependency>
453 <groupId>io.netty</groupId>
454 <artifactId>netty</artifactId>
455 <version>3.9.0.Final</version>
456 </dependency>
457
Thejaswi N K6a4cd002015-09-21 17:19:55 +0530458 <dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700459 <groupId>io.netty</groupId>
460 <artifactId>netty-common</artifactId>
461 <version>${netty4.version}</version>
462 </dependency>
463 <dependency>
464 <groupId>io.netty</groupId>
465 <artifactId>netty-buffer</artifactId>
466 <version>${netty4.version}</version>
467 </dependency>
468 <dependency>
469 <groupId>io.netty</groupId>
470 <artifactId>netty-transport</artifactId>
471 <version>${netty4.version}</version>
472 </dependency>
473 <dependency>
474 <groupId>io.netty</groupId>
475 <artifactId>netty-handler</artifactId>
476 <version>${netty4.version}</version>
477 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800478
Brian O'Connor354cab92015-08-27 11:55:27 -0700479 <dependency>
480 <groupId>io.netty</groupId>
481 <artifactId>netty-codec</artifactId>
482 <version>${netty4.version}</version>
483 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800484
Brian O'Connor354cab92015-08-27 11:55:27 -0700485 <dependency>
486 <groupId>io.netty</groupId>
487 <artifactId>netty-transport-native-epoll</artifactId>
488 <version>${netty4.version}</version>
489 <classifier>${os.detected.classifier}</classifier>
490 </dependency>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800491
Brian O'Connor354cab92015-08-27 11:55:27 -0700492 <dependency>
493 <groupId>joda-time</groupId>
494 <artifactId>joda-time</artifactId>
495 <version>2.5</version>
496 </dependency>
497 </dependencies>
498 </dependencyManagement>
499
500 <dependencies>
501 <dependency>
502 <groupId>junit</groupId>
503 <artifactId>junit</artifactId>
504 </dependency>
505 <dependency>
506 <groupId>org.hamcrest</groupId>
507 <artifactId>hamcrest-core</artifactId>
508 </dependency>
509 <dependency>
510 <groupId>org.hamcrest</groupId>
511 <artifactId>hamcrest-library</artifactId>
512 </dependency>
513 <dependency>
514 <groupId>org.slf4j</groupId>
515 <artifactId>slf4j-api</artifactId>
516 </dependency>
517 <dependency>
518 <groupId>org.slf4j</groupId>
519 <artifactId>slf4j-jdk14</artifactId>
520 </dependency>
521 </dependencies>
522
523 <build>
524 <pluginManagement>
525 <plugins>
526 <plugin>
527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-compiler-plugin</artifactId>
529 <!-- TODO: update once following issue is fixed. -->
530 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
531 <version>2.5.1</version>
532 <configuration>
533 <source>1.8</source>
534 <target>1.8</target>
535 </configuration>
536 </plugin>
537
538 <plugin>
539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-surefire-plugin</artifactId>
541 <version>2.18.1</version>
542 <configuration>
Antonio Marsico6097f812015-11-10 11:57:11 +0100543 <argLine>-Duser.language=en -Duser.region=US</argLine>
Brian O'Connor354cab92015-08-27 11:55:27 -0700544 <redirectTestOutputToFile>true
545 </redirectTestOutputToFile>
546 <printSummary>true</printSummary>
547 <excludedGroups>org.onlab.junit.IntegrationTest
548 </excludedGroups>
549 <rerunFailingTestsCount>1</rerunFailingTestsCount>
550 </configuration>
551 </plugin>
andreafaa2c4b2015-11-16 13:48:39 -0800552 <plugin>
553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-javadoc-plugin</artifactId>
555 <version>2.10.3</version>
556 <configuration>
557 <tags>
558 <tag>
559 <name>rsModel</name>
560 <placement>m</placement>
561 <head>Json model for REST api:</head>
562 </tag>
563 </tags>
564 </configuration>
565 </plugin>
Brian O'Connor354cab92015-08-27 11:55:27 -0700566 <plugin>
567 <groupId>org.apache.maven.plugins</groupId>
568 <artifactId>maven-jar-plugin</artifactId>
569 <version>2.3.1</version>
570 <executions>
571 <execution>
572 <phase>package</phase>
573 <goals>
574 <goal>test-jar</goal>
575 </goals>
576 </execution>
577 </executions>
578 </plugin>
579
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-resources-plugin</artifactId>
583 <version>2.6</version>
584 </plugin>
585
586 <plugin>
587 <groupId>org.apache.felix</groupId>
588 <artifactId>maven-bundle-plugin</artifactId>
589 <version>2.5.3</version>
590 <extensions>true</extensions>
591 <!--
592 Drop following dependency when the below bug fix is published
593 https://issues.apache.org/jira/browse/FELIX-4556
594 -->
595 <dependencies>
596 <dependency>
597 <groupId>biz.aQute.bnd</groupId>
598 <artifactId>bndlib</artifactId>
599 <version>2.4.0</version>
600 </dependency>
601 </dependencies>
602 </plugin>
603
604 <plugin>
605 <groupId>org.apache.maven.plugins</groupId>
606 <artifactId>maven-shade-plugin</artifactId>
607 <version>2.3</version>
608 </plugin>
609
610 <plugin>
611 <groupId>org.apache.felix</groupId>
612 <artifactId>maven-scr-plugin</artifactId>
613 <version>1.20.0</version>
614 <executions>
615 <execution>
616 <id>generate-scr-srcdescriptor</id>
617 <goals>
618 <goal>scr</goal>
619 </goals>
620 </execution>
621 </executions>
622 <configuration>
623 <supportedProjectTypes>
624 <supportedProjectType>bundle</supportedProjectType>
625 <supportedProjectType>war</supportedProjectType>
626 </supportedProjectTypes>
627 </configuration>
628 </plugin>
629 <plugin>
630 <groupId>org.codehaus.mojo</groupId>
631 <artifactId>findbugs-maven-plugin</artifactId>
HIGUCHI Yuta8aa86112015-09-22 15:05:35 -0700632 <version>3.0.1</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700633 <dependencies>
634 <dependency>
635 <groupId>org.onosproject</groupId>
636 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700637 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700638 </dependency>
639 </dependencies>
640 <configuration>
641 <effort>Max</effort>
642 <excludeFilterFile>onos/findbugs-suppressions.xml
643 </excludeFilterFile>
644 </configuration>
645 </plugin>
646
647 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
648 <plugin>
649 <groupId>org.onosproject</groupId>
650 <artifactId>onos-maven-plugin</artifactId>
andreafaa2c4b2015-11-16 13:48:39 -0800651 <version>1.6-SNAPSHOT</version>
652 <executions>
Brian O'Connor354cab92015-08-27 11:55:27 -0700653 <execution>
654 <id>cfg</id>
655 <phase>generate-resources</phase>
656 <goals>
657 <goal>cfg</goal>
658 </goals>
659 </execution>
660 <execution>
661 <id>swagger</id>
662 <phase>generate-sources</phase>
663 <goals>
664 <goal>swagger</goal>
665 </goals>
666 </execution>
667 <execution>
668 <id>app</id>
669 <phase>package</phase>
670 <goals>
671 <goal>app</goal>
672 </goals>
673 </execution>
674 </executions>
675 </plugin>
676 </plugins>
677 </pluginManagement>
678
679 <plugins>
680 <plugin>
681 <groupId>org.apache.maven.plugins</groupId>
682 <artifactId>maven-jar-plugin</artifactId>
683 </plugin>
684
685 <plugin>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-checkstyle-plugin</artifactId>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800688 <version>2.16</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700689 <dependencies>
690 <dependency>
691 <groupId>org.onosproject</groupId>
692 <artifactId>onos-build-conf</artifactId>
HIGUCHI Yuta94a9eed2015-09-25 15:20:04 -0700693 <version>${onos-build-conf.version}</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700694 </dependency>
Brian O'Connor354cab92015-08-27 11:55:27 -0700695 </dependencies>
696 <configuration>
697 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
698 <sourceDirectory>${project.build.sourceDirectory}
699 </sourceDirectory>
700 <testSourceDirectory>${project.build.testSourceDirectory}
701 </testSourceDirectory>
702 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
703 <configLocation>onos/checkstyle.xml</configLocation>
704 <suppressionsLocation>onos/suppressions.xml
705 </suppressionsLocation>
706 <failsOnError>false</failsOnError>
707 <logViolationsToConsole>true</logViolationsToConsole>
708 <includeTestSourceDirectory>true
709 </includeTestSourceDirectory>
710 </configuration>
711 <executions>
712 <execution>
713 <id>validate-checkstyle</id>
714 <phase>verify</phase>
715 <goals>
716 <goal>check</goal>
717 </goals>
718 </execution>
719 </executions>
720 </plugin>
721
722 <plugin>
723 <groupId>org.apache.maven.plugins</groupId>
724 <artifactId>maven-pmd-plugin</artifactId>
Thomas Vachuska47e2fcc2015-11-23 11:51:24 -0800725 <version>3.5</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700726 <configuration>
727 <excludes>
728 </excludes>
729 <rulesets>
730 <ruleset>onos/pmd.xml</ruleset>
731 </rulesets>
732 </configuration>
733 <executions>
734 <execution>
735 <id>validate-pmd</id>
736 <phase>verify</phase>
737 <goals>
738 <!-- Uncomment this goal to make the build fail on pmd errors -->
739 <!--<goal>check</goal>-->
740 </goals>
741 </execution>
742 </executions>
743 </plugin>
744
745 <plugin>
746 <groupId>org.jacoco</groupId>
747 <artifactId>jacoco-maven-plugin</artifactId>
HIGUCHI Yuta4303ac22015-11-23 11:29:21 -0800748 <version>0.7.5.201505241946</version>
Brian O'Connor354cab92015-08-27 11:55:27 -0700749 <executions>
750 <execution>
751 <id>default-prepare-agent</id>
752 <goals>
753 <goal>prepare-agent</goal>
754 </goals>
755 </execution>
756 <execution>
757 <id>default-report</id>
758 <phase>prepare-package</phase>
759 <goals>
760 <goal>report</goal>
761 </goals>
762 </execution>
763 </executions>
764 </plugin>
765 </plugins>
766 </build>
767
768 <reporting>
769 <plugins>
770 <plugin>
771 <groupId>org.apache.maven.plugins</groupId>
772 <artifactId>maven-checkstyle-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700773 <configuration>
774 <configLocation>onos/checkstyle.xml</configLocation>
775 </configuration>
776 </plugin>
777
778 <plugin>
779 <groupId>org.apache.maven.plugins</groupId>
780 <artifactId>maven-pmd-plugin</artifactId>
Brian O'Connor354cab92015-08-27 11:55:27 -0700781 <configuration>
782 <excludes>
783 </excludes>
784 <rulesets>
785 <ruleset>onos/pmd.xml</ruleset>
786 </rulesets>
787 </configuration>
788 </plugin>
789 </plugins>
790 </reporting>
791</project>