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