blob: ee2a3bbd6cebe4b064054ffa152ba6e44f5319df [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 HIGUCHI58e37272014-11-05 14:03:10 -080043 <copycat.version>0.4.0-SNAPSHOT</copycat.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070044 </properties>
45
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080046 <repositories>
47 <!-- FIXME: Repository for copycat, Loxigen + optical experimenter.
48 Decide how to deal with these before release. -->
49 <repository>
50 <id>onlab-temp</id>
51 <name>ON.lab temporary repository</name>
52 <url>http://mavenrepo.onlab.us:8081/nexus/content/groups/public</url>
53 <snapshots>
54 <enabled>true</enabled>
55 </snapshots>
56 </repository>
57 </repositories>
58
59
tom0eb04ca2014-08-25 14:34:51 -070060 <dependencyManagement>
61 <dependencies>
62 <dependency>
63 <groupId>junit</groupId>
64 <artifactId>junit</artifactId>
65 <version>4.11</version>
66 <scope>test</scope>
67 </dependency>
tom09419512014-08-15 11:28:43 -070068
tom0eb04ca2014-08-25 14:34:51 -070069 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070070 <groupId>org.hamcrest</groupId>
71 <artifactId>hamcrest-core</artifactId>
72 <version>1.3</version>
73 <scope>test</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.hamcrest</groupId>
77 <artifactId>hamcrest-library</artifactId>
78 <version>1.3</version>
79 <scope>test</scope>
80 </dependency>
81
82 <dependency>
tom0eb04ca2014-08-25 14:34:51 -070083 <groupId>org.slf4j</groupId>
84 <artifactId>slf4j-api</artifactId>
85 <version>1.7.6</version>
86 <scope>provided</scope>
87 </dependency>
88
89 <dependency>
90 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -070091 <artifactId>slf4j-core</artifactId>
92 <version>1.7.6</version>
93 <scope>test</scope>
94 </dependency>
95
96 <dependency>
97 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -070098 <artifactId>slf4j-jdk14</artifactId>
99 <version>1.7.6</version>
100 <scope>test</scope>
101 </dependency>
102
103 <dependency>
104 <groupId>com.google.guava</groupId>
105 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700106 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700107 </dependency>
108
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700109 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700110 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700111 <artifactId>netty</artifactId>
112 <version>3.9.0.Final</version>
113 </dependency>
114
tomde8d9682014-08-27 01:11:43 -0700115 <dependency>
116 <groupId>com.google.guava</groupId>
117 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700118 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700119 <scope>test</scope>
120 </dependency>
121
tom6d2a43e2014-09-08 01:50:20 -0700122 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700123 <groupId>com.googlecode.concurrent-trees</groupId>
124 <artifactId>concurrent-trees</artifactId>
125 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700126 </dependency>
127
128 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700129 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700130 <artifactId>commons-lang</artifactId>
131 <version>2.6</version>
132 </dependency>
tomde8d9682014-08-27 01:11:43 -0700133
tom66a7eb22014-09-22 11:58:56 -0700134 <dependency>
135 <groupId>org.apache.commons</groupId>
136 <artifactId>commons-lang3</artifactId>
137 <version>3.3.2</version>
138 </dependency>
139
Brian O'Connorf3d06162014-10-02 15:54:12 -0700140 <dependency>
141 <groupId>org.codehaus.jackson</groupId>
142 <artifactId>jackson-core-asl</artifactId>
143 <version>1.9.13</version>
144 </dependency>
145 <dependency>
146 <groupId>org.codehaus.jackson</groupId>
147 <artifactId>jackson-mapper-asl</artifactId>
148 <version>1.9.13</version>
149 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700150
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700151 <dependency>
152 <groupId>org.easymock</groupId>
153 <artifactId>easymock</artifactId>
154 <version>3.2</version>
155 <scope>test</scope>
156 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700157
tom0eb04ca2014-08-25 14:34:51 -0700158 <!-- Web related -->
159 <dependency>
160 <groupId>com.sun.jersey</groupId>
161 <artifactId>jersey-servlet</artifactId>
162 <version>1.18.1</version>
163 <scope>provided</scope>
164 </dependency>
165 <dependency>
166 <groupId>com.fasterxml.jackson.core</groupId>
167 <artifactId>jackson-databind</artifactId>
168 <version>2.4.2</version>
169 <scope>provided</scope>
170 </dependency>
171 <dependency>
172 <groupId>com.fasterxml.jackson.core</groupId>
173 <artifactId>jackson-annotations</artifactId>
174 <version>2.4.2</version>
175 <scope>provided</scope>
176 </dependency>
177
178 <!-- OSGi related -->
179 <dependency>
180 <groupId>org.osgi</groupId>
181 <artifactId>org.osgi.core</artifactId>
182 <version>4.3.1</version>
183 <scope>provided</scope>
184 </dependency>
185 <dependency>
tomc16656f2014-10-15 18:30:31 -0700186 <groupId>org.osgi</groupId>
187 <artifactId>org.osgi.compendium</artifactId>
188 <version>4.3.1</version>
189 <scope>provided</scope>
190 </dependency>
191 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700192 <groupId>org.apache.felix</groupId>
193 <artifactId>org.apache.felix.scr.annotations</artifactId>
194 <version>1.9.8</version>
195 <scope>provided</scope>
196 </dependency>
197 <dependency>
198 <groupId>org.apache.karaf.shell</groupId>
199 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800200 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700201 <scope>provided</scope>
202 </dependency>
203
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700204 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700205 <groupId>org.livetribe.slp</groupId>
206 <artifactId>livetribe-slp</artifactId>
207 <version>2.2.1</version>
208 </dependency>
209
210 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700211 <groupId>com.hazelcast</groupId>
212 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700213 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700214 </dependency>
215 <dependency>
tomdc66b382014-09-22 17:05:47 -0700216 <groupId>com.eclipsesource.minimal-json</groupId>
217 <artifactId>minimal-json</artifactId>
218 <version>0.9.1</version>
219 </dependency>
220 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700221 <groupId>com.esotericsoftware</groupId>
222 <artifactId>kryo</artifactId>
223 <version>3.0.0</version>
224 </dependency>
225 <dependency>
226 <groupId>com.esotericsoftware</groupId>
227 <artifactId>reflectasm</artifactId>
228 <version>1.10.0</version>
229 <type>bundle</type>
230 </dependency>
231 <dependency>
232 <groupId>org.ow2.asm</groupId>
233 <artifactId>asm</artifactId>
234 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700235 </dependency>
236 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700237 <groupId>com.esotericsoftware</groupId>
238 <artifactId>minlog</artifactId>
239 <version>1.3.0</version>
240 </dependency>
241 <dependency>
242 <groupId>org.objenesis</groupId>
243 <artifactId>objenesis</artifactId>
244 <version>2.1</version>
245 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700246
tom0eb04ca2014-08-25 14:34:51 -0700247 <!-- ONOS related -->
248 <dependency>
249 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700250 <artifactId>onlab-misc</artifactId>
251 <version>${project.version}</version>
252 </dependency>
tom931af4e2014-09-13 12:00:57 -0700253 <dependency>
254 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700255 <artifactId>onlab-nio</artifactId>
256 <version>${project.version}</version>
257 </dependency>
258 <dependency>
259 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700260 <artifactId>onlab-osgi</artifactId>
261 <version>${project.version}</version>
262 </dependency>
263 <dependency>
264 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700265 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700266 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700267 <scope>test</scope>
268 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700269
270 <dependency>
271 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700272 <artifactId>onos-api</artifactId>
273 <version>${project.version}</version>
274 </dependency>
275 <dependency>
276 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700277 <artifactId>onos-api</artifactId>
278 <version>${project.version}</version>
279 <classifier>tests</classifier>
280 <scope>test</scope>
281 </dependency>
282
283 <dependency>
284 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700285 <artifactId>onos-of-api</artifactId>
286 <version>${project.version}</version>
287 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700288
289 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700290 <groupId>org.onlab.onos</groupId>
291 <artifactId>onlab-thirdparty</artifactId>
292 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700293 </dependency>
294
tom61359e92014-09-16 15:50:27 -0700295 <dependency>
296 <groupId>org.onlab.onos</groupId>
297 <artifactId>onos-of-api</artifactId>
298 <version>${project.version}</version>
299 <classifier>tests</classifier>
300 <scope>test</scope>
301 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700302 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700303 <groupId>commons-pool</groupId>
304 <artifactId>commons-pool</artifactId>
305 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700306 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700307 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700308 <groupId>io.netty</groupId>
309 <artifactId>netty-common</artifactId>
310 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700311 </dependency>
312 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700313 <groupId>io.netty</groupId>
314 <artifactId>netty-buffer</artifactId>
315 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700316 </dependency>
317 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700318 <groupId>io.netty</groupId>
319 <artifactId>netty-transport</artifactId>
320 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700321 </dependency>
322 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700323 <groupId>io.netty</groupId>
324 <artifactId>netty-handler</artifactId>
325 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700326 </dependency>
327 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700328 <groupId>io.netty</groupId>
329 <artifactId>netty-codec</artifactId>
330 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700331 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700332 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700333 <groupId>io.netty</groupId>
334 <artifactId>netty-transport-native-epoll</artifactId>
335 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800336 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700337 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700338 <dependency>
339 <groupId>joda-time</groupId>
340 <artifactId>joda-time</artifactId>
341 <version>2.5</version>
342 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700343 </dependencies>
344 </dependencyManagement>
345
346 <dependencies>
347 <dependency>
348 <groupId>junit</groupId>
349 <artifactId>junit</artifactId>
350 </dependency>
351 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700352 <groupId>org.hamcrest</groupId>
353 <artifactId>hamcrest-core</artifactId>
354 </dependency>
355 <dependency>
356 <groupId>org.hamcrest</groupId>
357 <artifactId>hamcrest-library</artifactId>
358 </dependency>
359 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700360 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700361 <artifactId>slf4j-api</artifactId>
362 </dependency>
363 <dependency>
364 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700365 <artifactId>slf4j-jdk14</artifactId>
366 </dependency>
367 </dependencies>
tom09419512014-08-15 11:28:43 -0700368
369 <build>
370 <pluginManagement>
371 <plugins>
372 <plugin>
373 <groupId>org.apache.maven.plugins</groupId>
374 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700375 <!-- TODO: update once following issue is fixed. -->
376 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
377 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700378 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800379 <source>1.8</source>
380 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700381 </configuration>
382 </plugin>
383
384 <plugin>
385 <groupId>org.apache.maven.plugins</groupId>
386 <artifactId>maven-surefire-plugin</artifactId>
387 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700388 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700389 <redirectTestOutputToFile>true
390 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700391 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700392 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700393 </configuration>
tom09419512014-08-15 11:28:43 -0700394 </plugin>
395
396 <plugin>
397 <groupId>org.apache.maven.plugins</groupId>
398 <artifactId>maven-jar-plugin</artifactId>
399 <version>2.3.1</version>
400 <executions>
401 <execution>
402 <phase>package</phase>
403 <goals>
404 <goal>test-jar</goal>
405 </goals>
406 </execution>
407 </executions>
408 </plugin>
409
410 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700411 <groupId>org.apache.maven.plugins</groupId>
412 <artifactId>maven-resources-plugin</artifactId>
413 <version>2.6</version>
414 </plugin>
415
416 <plugin>
tom09419512014-08-15 11:28:43 -0700417 <groupId>org.apache.felix</groupId>
418 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800419 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700420 <extensions>true</extensions>
421 </plugin>
422
423 <plugin>
Yuta HIGUCHIcbc587c2014-11-04 10:28:09 -0800424 <groupId>org.codehaus.mojo</groupId>
425 <artifactId>findbugs-maven-plugin</artifactId>
426 <version>3.0.0</version>
427 </plugin>
428
429 <plugin>
tom09419512014-08-15 11:28:43 -0700430 <groupId>org.apache.felix</groupId>
431 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800432 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700433 <executions>
434 <execution>
435 <id>generate-scr-srcdescriptor</id>
436 <goals>
437 <goal>scr</goal>
438 </goals>
439 </execution>
440 </executions>
441 <configuration>
442 <supportedProjectTypes>
443 <supportedProjectType>bundle</supportedProjectType>
444 <supportedProjectType>war</supportedProjectType>
445 </supportedProjectTypes>
446 </configuration>
447 </plugin>
448
tom09419512014-08-15 11:28:43 -0700449 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700450 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
451 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700452 <groupId>org.eclipse.m2e</groupId>
453 <artifactId>lifecycle-mapping</artifactId>
454 <version>1.0.0</version>
455 <configuration>
456 <lifecycleMappingMetadata>
457 <pluginExecutions>
458 <pluginExecution>
459 <pluginExecutionFilter>
460 <groupId>org.jacoco</groupId>
461 <artifactId>
462 jacoco-maven-plugin
463 </artifactId>
464 <versionRange>
465 [0.7.1.201405082137,)
466 </versionRange>
467 <goals>
468 <goal>prepare-agent</goal>
469 </goals>
470 </pluginExecutionFilter>
471 <action>
472 <ignore></ignore>
473 </action>
474 </pluginExecution>
475 </pluginExecutions>
476 </lifecycleMappingMetadata>
477 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700478 </plugin>
tom09419512014-08-15 11:28:43 -0700479 </plugins>
tom09419512014-08-15 11:28:43 -0700480 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700481
482 <plugins>
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700485 <artifactId>maven-jar-plugin</artifactId>
486 </plugin>
487
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700490 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700491 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700492 <dependencies>
493 <dependency>
494 <groupId>org.onlab.tools</groupId>
495 <artifactId>onos-build-conf</artifactId>
496 <version>1.0</version>
497 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800498 <!-- For Java 8 lambda support-->
499 <dependency>
500 <groupId>com.puppycrawl.tools</groupId>
501 <artifactId>checkstyle</artifactId>
502 <version>5.9</version>
503 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700504 </dependencies>
505 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800506 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
507 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
508 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
509 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700510 <configLocation>onos/checkstyle.xml</configLocation>
511 <suppressionsLocation>onos/suppressions.xml
512 </suppressionsLocation>
513 <failsOnError>false</failsOnError>
514 <logViolationsToConsole>true</logViolationsToConsole>
515 <includeTestSourceDirectory>true
516 </includeTestSourceDirectory>
517 </configuration>
518 <executions>
519 <execution>
520 <id>validate-checkstyle</id>
521 <phase>verify</phase>
522 <goals>
523 <goal>check</goal>
524 </goals>
525 </execution>
526 </executions>
527 </plugin>
528
529 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700530 <groupId>org.apache.maven.plugins</groupId>
531 <artifactId>maven-pmd-plugin</artifactId>
532 <version>3.2</version>
533 <configuration>
534 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700535 </excludes>
536 <rulesets>
537 <ruleset>onos/pmd.xml</ruleset>
538 </rulesets>
539 </configuration>
540 <executions>
541 <execution>
542 <id>validate-pmd</id>
543 <phase>verify</phase>
544 <goals>
545 <!-- Uncomment this goal to make the build fail on pmd errors -->
546 <!--<goal>check</goal>-->
547 </goals>
548 </execution>
549 </executions>
550 </plugin>
551
552 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700553 <groupId>org.jacoco</groupId>
554 <artifactId>jacoco-maven-plugin</artifactId>
555 <version>0.7.1.201405082137</version>
556 <executions>
557 <execution>
558 <id>default-prepare-agent</id>
559 <goals>
560 <goal>prepare-agent</goal>
561 </goals>
562 </execution>
563 <execution>
564 <id>default-report</id>
565 <phase>prepare-package</phase>
566 <goals>
567 <goal>report</goal>
568 </goals>
569 </execution>
570 </executions>
571 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700572 </plugins>
tom09419512014-08-15 11:28:43 -0700573 </build>
alshabib522d9872014-08-15 10:35:16 -0700574
tom0eb04ca2014-08-25 14:34:51 -0700575 <reporting>
576 <plugins>
577 <plugin>
578 <groupId>org.apache.maven.plugins</groupId>
579 <artifactId>maven-checkstyle-plugin</artifactId>
580 <version>2.12.1</version>
581 <configuration>
582 <configLocation>onos/checkstyle.xml</configLocation>
583 </configuration>
584 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700585
586 <plugin>
587 <groupId>org.apache.maven.plugins</groupId>
588 <artifactId>maven-pmd-plugin</artifactId>
589 <version>3.2</version>
590 <configuration>
591 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700592 </excludes>
593 <rulesets>
594 <ruleset>onos/pmd.xml</ruleset>
595 </rulesets>
596 </configuration>
597 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700598 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700599 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700600</project>