blob: fb2f5c33df5c2a91a851b81ef2f4daf378d5a0ae [file] [log] [blame]
alshabib522d9872014-08-15 10:35:16 -07001<?xml version="1.0" encoding="UTF-8"?>
tom09419512014-08-15 11:28:43 -07002<project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -07006
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -07007 <prerequisites>
8 <maven>3.0.0</maven>
9 </prerequisites>
10
tom0eb04ca2014-08-25 14:34:51 -070011 <groupId>org.onlab.onos</groupId>
tom09419512014-08-15 11:28:43 -070012 <artifactId>onos</artifactId>
13 <packaging>pom</packaging>
14 <version>1.0.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070015
tom0eb04ca2014-08-25 14:34:51 -070016 <description>Open Networking Operating System root project</description>
tom09419512014-08-15 11:28:43 -070017
18 <modules>
tom0eb04ca2014-08-25 14:34:51 -070019 <module>tools/build/conf</module>
20 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070021 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070022 <module>web</module>
23 <module>cli</module>
24 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070025 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070026 <module>apps</module>
tom09419512014-08-15 11:28:43 -070027 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070028 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070029 </modules>
30
31 <url>http://onlab.us/</url>
32
33 <licenses>
34 <license>
tom09419512014-08-15 11:28:43 -070035 <name>Apache License, Version 2.0</name>
36 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
37 </license>
38 </licenses>
39
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070040 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070042 <netty4.version>4.0.23.Final</netty4.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070043 </properties>
44
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080045 <repositories>
46 <!-- FIXME: Repository for copycat, Loxigen + optical experimenter.
47 Decide how to deal with these before release. -->
48 <repository>
49 <id>onlab-temp</id>
50 <name>ON.lab temporary repository</name>
51 <url>http://mavenrepo.onlab.us:8081/nexus/content/groups/public</url>
52 <snapshots>
53 <enabled>true</enabled>
54 </snapshots>
55 </repository>
56 </repositories>
57
58
tom0eb04ca2014-08-25 14:34:51 -070059 <dependencyManagement>
60 <dependencies>
61 <dependency>
62 <groupId>junit</groupId>
63 <artifactId>junit</artifactId>
64 <version>4.11</version>
65 <scope>test</scope>
66 </dependency>
tom09419512014-08-15 11:28:43 -070067
tom0eb04ca2014-08-25 14:34:51 -070068 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070069 <groupId>org.hamcrest</groupId>
70 <artifactId>hamcrest-core</artifactId>
71 <version>1.3</version>
72 <scope>test</scope>
73 </dependency>
74 <dependency>
75 <groupId>org.hamcrest</groupId>
76 <artifactId>hamcrest-library</artifactId>
77 <version>1.3</version>
78 <scope>test</scope>
79 </dependency>
80
81 <dependency>
tom0eb04ca2014-08-25 14:34:51 -070082 <groupId>org.slf4j</groupId>
83 <artifactId>slf4j-api</artifactId>
84 <version>1.7.6</version>
85 <scope>provided</scope>
86 </dependency>
87
88 <dependency>
89 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -070090 <artifactId>slf4j-core</artifactId>
91 <version>1.7.6</version>
92 <scope>test</scope>
93 </dependency>
94
95 <dependency>
96 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -070097 <artifactId>slf4j-jdk14</artifactId>
98 <version>1.7.6</version>
99 <scope>test</scope>
100 </dependency>
101
102 <dependency>
103 <groupId>com.google.guava</groupId>
104 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700105 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700106 </dependency>
107
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700108 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700109 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700110 <artifactId>netty</artifactId>
111 <version>3.9.0.Final</version>
112 </dependency>
113
tomde8d9682014-08-27 01:11:43 -0700114 <dependency>
115 <groupId>com.google.guava</groupId>
116 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700117 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700118 <scope>test</scope>
119 </dependency>
120
tom6d2a43e2014-09-08 01:50:20 -0700121 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700122 <groupId>com.googlecode.concurrent-trees</groupId>
123 <artifactId>concurrent-trees</artifactId>
124 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700125 </dependency>
126
127 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700128 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700129 <artifactId>commons-lang</artifactId>
130 <version>2.6</version>
131 </dependency>
tomde8d9682014-08-27 01:11:43 -0700132
tom66a7eb22014-09-22 11:58:56 -0700133 <dependency>
134 <groupId>org.apache.commons</groupId>
135 <artifactId>commons-lang3</artifactId>
136 <version>3.3.2</version>
137 </dependency>
138
Brian O'Connorf3d06162014-10-02 15:54:12 -0700139 <dependency>
140 <groupId>org.codehaus.jackson</groupId>
141 <artifactId>jackson-core-asl</artifactId>
142 <version>1.9.13</version>
143 </dependency>
144 <dependency>
145 <groupId>org.codehaus.jackson</groupId>
146 <artifactId>jackson-mapper-asl</artifactId>
147 <version>1.9.13</version>
148 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700149
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700150 <dependency>
151 <groupId>org.easymock</groupId>
152 <artifactId>easymock</artifactId>
153 <version>3.2</version>
154 <scope>test</scope>
155 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700156
tom0eb04ca2014-08-25 14:34:51 -0700157 <!-- Web related -->
158 <dependency>
159 <groupId>com.sun.jersey</groupId>
160 <artifactId>jersey-servlet</artifactId>
161 <version>1.18.1</version>
162 <scope>provided</scope>
163 </dependency>
164 <dependency>
165 <groupId>com.fasterxml.jackson.core</groupId>
166 <artifactId>jackson-databind</artifactId>
167 <version>2.4.2</version>
168 <scope>provided</scope>
169 </dependency>
170 <dependency>
171 <groupId>com.fasterxml.jackson.core</groupId>
172 <artifactId>jackson-annotations</artifactId>
173 <version>2.4.2</version>
174 <scope>provided</scope>
175 </dependency>
176
177 <!-- OSGi related -->
178 <dependency>
179 <groupId>org.osgi</groupId>
180 <artifactId>org.osgi.core</artifactId>
181 <version>4.3.1</version>
182 <scope>provided</scope>
183 </dependency>
184 <dependency>
tomc16656f2014-10-15 18:30:31 -0700185 <groupId>org.osgi</groupId>
186 <artifactId>org.osgi.compendium</artifactId>
187 <version>4.3.1</version>
188 <scope>provided</scope>
189 </dependency>
190 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700191 <groupId>org.apache.felix</groupId>
192 <artifactId>org.apache.felix.scr.annotations</artifactId>
193 <version>1.9.8</version>
194 <scope>provided</scope>
195 </dependency>
196 <dependency>
197 <groupId>org.apache.karaf.shell</groupId>
198 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800199 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700200 <scope>provided</scope>
201 </dependency>
202
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700203 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700204 <groupId>org.livetribe.slp</groupId>
205 <artifactId>livetribe-slp</artifactId>
206 <version>2.2.1</version>
207 </dependency>
208
209 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700210 <groupId>com.hazelcast</groupId>
211 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700212 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700213 </dependency>
214 <dependency>
tomdc66b382014-09-22 17:05:47 -0700215 <groupId>com.eclipsesource.minimal-json</groupId>
216 <artifactId>minimal-json</artifactId>
217 <version>0.9.1</version>
218 </dependency>
219 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700220 <groupId>com.esotericsoftware</groupId>
221 <artifactId>kryo</artifactId>
222 <version>3.0.0</version>
223 </dependency>
224 <dependency>
225 <groupId>com.esotericsoftware</groupId>
226 <artifactId>reflectasm</artifactId>
227 <version>1.10.0</version>
228 <type>bundle</type>
229 </dependency>
230 <dependency>
231 <groupId>org.ow2.asm</groupId>
232 <artifactId>asm</artifactId>
233 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700234 </dependency>
235 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700236 <groupId>com.esotericsoftware</groupId>
237 <artifactId>minlog</artifactId>
238 <version>1.3.0</version>
239 </dependency>
240 <dependency>
241 <groupId>org.objenesis</groupId>
242 <artifactId>objenesis</artifactId>
243 <version>2.1</version>
244 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700245
tom0eb04ca2014-08-25 14:34:51 -0700246 <!-- ONOS related -->
247 <dependency>
248 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700249 <artifactId>onlab-misc</artifactId>
250 <version>${project.version}</version>
251 </dependency>
tom931af4e2014-09-13 12:00:57 -0700252 <dependency>
253 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700254 <artifactId>onlab-nio</artifactId>
255 <version>${project.version}</version>
256 </dependency>
257 <dependency>
258 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700259 <artifactId>onlab-osgi</artifactId>
260 <version>${project.version}</version>
261 </dependency>
262 <dependency>
263 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700264 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700265 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700266 <scope>test</scope>
267 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700268
269 <dependency>
270 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700271 <artifactId>onos-api</artifactId>
272 <version>${project.version}</version>
273 </dependency>
274 <dependency>
275 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700276 <artifactId>onos-api</artifactId>
277 <version>${project.version}</version>
278 <classifier>tests</classifier>
279 <scope>test</scope>
280 </dependency>
281
282 <dependency>
283 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700284 <artifactId>onos-of-api</artifactId>
285 <version>${project.version}</version>
286 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700287
288 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700289 <groupId>org.onlab.onos</groupId>
290 <artifactId>onlab-thirdparty</artifactId>
291 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700292 </dependency>
293
tom61359e92014-09-16 15:50:27 -0700294 <dependency>
295 <groupId>org.onlab.onos</groupId>
296 <artifactId>onos-of-api</artifactId>
297 <version>${project.version}</version>
298 <classifier>tests</classifier>
299 <scope>test</scope>
300 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700301 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700302 <groupId>commons-pool</groupId>
303 <artifactId>commons-pool</artifactId>
304 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700305 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700306 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700307 <groupId>io.netty</groupId>
308 <artifactId>netty-common</artifactId>
309 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700310 </dependency>
311 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700312 <groupId>io.netty</groupId>
313 <artifactId>netty-buffer</artifactId>
314 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700315 </dependency>
316 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700317 <groupId>io.netty</groupId>
318 <artifactId>netty-transport</artifactId>
319 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700320 </dependency>
321 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700322 <groupId>io.netty</groupId>
323 <artifactId>netty-handler</artifactId>
324 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700325 </dependency>
326 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700327 <groupId>io.netty</groupId>
328 <artifactId>netty-codec</artifactId>
329 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700330 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700331 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700332 <groupId>io.netty</groupId>
333 <artifactId>netty-transport-native-epoll</artifactId>
334 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800335 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700336 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700337 <dependency>
338 <groupId>joda-time</groupId>
339 <artifactId>joda-time</artifactId>
340 <version>2.5</version>
341 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700342 </dependencies>
343 </dependencyManagement>
344
345 <dependencies>
346 <dependency>
347 <groupId>junit</groupId>
348 <artifactId>junit</artifactId>
349 </dependency>
350 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700351 <groupId>org.hamcrest</groupId>
352 <artifactId>hamcrest-core</artifactId>
353 </dependency>
354 <dependency>
355 <groupId>org.hamcrest</groupId>
356 <artifactId>hamcrest-library</artifactId>
357 </dependency>
358 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700359 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700360 <artifactId>slf4j-api</artifactId>
361 </dependency>
362 <dependency>
363 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700364 <artifactId>slf4j-jdk14</artifactId>
365 </dependency>
366 </dependencies>
tom09419512014-08-15 11:28:43 -0700367
368 <build>
369 <pluginManagement>
370 <plugins>
371 <plugin>
372 <groupId>org.apache.maven.plugins</groupId>
373 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700374 <!-- TODO: update once following issue is fixed. -->
375 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
376 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700377 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800378 <source>1.8</source>
379 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700380 </configuration>
381 </plugin>
382
383 <plugin>
384 <groupId>org.apache.maven.plugins</groupId>
385 <artifactId>maven-surefire-plugin</artifactId>
386 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700387 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700388 <redirectTestOutputToFile>true
389 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700390 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700391 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700392 </configuration>
tom09419512014-08-15 11:28:43 -0700393 </plugin>
394
395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-jar-plugin</artifactId>
398 <version>2.3.1</version>
399 <executions>
400 <execution>
401 <phase>package</phase>
402 <goals>
403 <goal>test-jar</goal>
404 </goals>
405 </execution>
406 </executions>
407 </plugin>
408
409 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700410 <groupId>org.apache.maven.plugins</groupId>
411 <artifactId>maven-resources-plugin</artifactId>
412 <version>2.6</version>
413 </plugin>
414
415 <plugin>
tom09419512014-08-15 11:28:43 -0700416 <groupId>org.apache.felix</groupId>
417 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800418 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700419 <extensions>true</extensions>
420 </plugin>
421
422 <plugin>
Yuta HIGUCHIcbc587c2014-11-04 10:28:09 -0800423 <groupId>org.codehaus.mojo</groupId>
424 <artifactId>findbugs-maven-plugin</artifactId>
425 <version>3.0.0</version>
426 </plugin>
427
428 <plugin>
tom09419512014-08-15 11:28:43 -0700429 <groupId>org.apache.felix</groupId>
430 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800431 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700432 <executions>
433 <execution>
434 <id>generate-scr-srcdescriptor</id>
435 <goals>
436 <goal>scr</goal>
437 </goals>
438 </execution>
439 </executions>
440 <configuration>
441 <supportedProjectTypes>
442 <supportedProjectType>bundle</supportedProjectType>
443 <supportedProjectType>war</supportedProjectType>
444 </supportedProjectTypes>
445 </configuration>
446 </plugin>
447
tom09419512014-08-15 11:28:43 -0700448 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700449 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
450 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700451 <groupId>org.eclipse.m2e</groupId>
452 <artifactId>lifecycle-mapping</artifactId>
453 <version>1.0.0</version>
454 <configuration>
455 <lifecycleMappingMetadata>
456 <pluginExecutions>
457 <pluginExecution>
458 <pluginExecutionFilter>
459 <groupId>org.jacoco</groupId>
460 <artifactId>
461 jacoco-maven-plugin
462 </artifactId>
463 <versionRange>
464 [0.7.1.201405082137,)
465 </versionRange>
466 <goals>
467 <goal>prepare-agent</goal>
468 </goals>
469 </pluginExecutionFilter>
470 <action>
471 <ignore></ignore>
472 </action>
473 </pluginExecution>
474 </pluginExecutions>
475 </lifecycleMappingMetadata>
476 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700477 </plugin>
tom09419512014-08-15 11:28:43 -0700478 </plugins>
tom09419512014-08-15 11:28:43 -0700479 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700480
481 <plugins>
482 <plugin>
483 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700484 <artifactId>maven-jar-plugin</artifactId>
485 </plugin>
486
487 <plugin>
488 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700489 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700490 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700491 <dependencies>
492 <dependency>
493 <groupId>org.onlab.tools</groupId>
494 <artifactId>onos-build-conf</artifactId>
495 <version>1.0</version>
496 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800497 <!-- For Java 8 lambda support-->
498 <dependency>
499 <groupId>com.puppycrawl.tools</groupId>
500 <artifactId>checkstyle</artifactId>
501 <version>5.9</version>
502 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700503 </dependencies>
504 <configuration>
505 <configLocation>onos/checkstyle.xml</configLocation>
506 <suppressionsLocation>onos/suppressions.xml
507 </suppressionsLocation>
508 <failsOnError>false</failsOnError>
509 <logViolationsToConsole>true</logViolationsToConsole>
510 <includeTestSourceDirectory>true
511 </includeTestSourceDirectory>
512 </configuration>
513 <executions>
514 <execution>
515 <id>validate-checkstyle</id>
516 <phase>verify</phase>
517 <goals>
518 <goal>check</goal>
519 </goals>
520 </execution>
521 </executions>
522 </plugin>
523
524 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700525 <groupId>org.apache.maven.plugins</groupId>
526 <artifactId>maven-pmd-plugin</artifactId>
527 <version>3.2</version>
528 <configuration>
529 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700530 </excludes>
531 <rulesets>
532 <ruleset>onos/pmd.xml</ruleset>
533 </rulesets>
534 </configuration>
535 <executions>
536 <execution>
537 <id>validate-pmd</id>
538 <phase>verify</phase>
539 <goals>
540 <!-- Uncomment this goal to make the build fail on pmd errors -->
541 <!--<goal>check</goal>-->
542 </goals>
543 </execution>
544 </executions>
545 </plugin>
546
547 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700548 <groupId>org.jacoco</groupId>
549 <artifactId>jacoco-maven-plugin</artifactId>
550 <version>0.7.1.201405082137</version>
551 <executions>
552 <execution>
553 <id>default-prepare-agent</id>
554 <goals>
555 <goal>prepare-agent</goal>
556 </goals>
557 </execution>
558 <execution>
559 <id>default-report</id>
560 <phase>prepare-package</phase>
561 <goals>
562 <goal>report</goal>
563 </goals>
564 </execution>
565 </executions>
566 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700567 </plugins>
tom09419512014-08-15 11:28:43 -0700568 </build>
alshabib522d9872014-08-15 10:35:16 -0700569
tom0eb04ca2014-08-25 14:34:51 -0700570 <reporting>
571 <plugins>
572 <plugin>
573 <groupId>org.apache.maven.plugins</groupId>
574 <artifactId>maven-checkstyle-plugin</artifactId>
575 <version>2.12.1</version>
576 <configuration>
577 <configLocation>onos/checkstyle.xml</configLocation>
578 </configuration>
579 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700580
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
583 <artifactId>maven-pmd-plugin</artifactId>
584 <version>3.2</version>
585 <configuration>
586 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700587 </excludes>
588 <rulesets>
589 <ruleset>onos/pmd.xml</ruleset>
590 </rulesets>
591 </configuration>
592 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700593 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700594 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700595</project>