blob: dfc86a3da9a9e562855151c76ced98988fe5dfa1 [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>
391 </configuration>
tom09419512014-08-15 11:28:43 -0700392 </plugin>
393
394 <plugin>
395 <groupId>org.apache.maven.plugins</groupId>
396 <artifactId>maven-jar-plugin</artifactId>
397 <version>2.3.1</version>
398 <executions>
399 <execution>
400 <phase>package</phase>
401 <goals>
402 <goal>test-jar</goal>
403 </goals>
404 </execution>
405 </executions>
406 </plugin>
407
408 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700409 <groupId>org.apache.maven.plugins</groupId>
410 <artifactId>maven-resources-plugin</artifactId>
411 <version>2.6</version>
412 </plugin>
413
414 <plugin>
tom09419512014-08-15 11:28:43 -0700415 <groupId>org.apache.felix</groupId>
416 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800417 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700418 <extensions>true</extensions>
419 </plugin>
420
421 <plugin>
Yuta HIGUCHIcbc587c2014-11-04 10:28:09 -0800422 <groupId>org.codehaus.mojo</groupId>
423 <artifactId>findbugs-maven-plugin</artifactId>
424 <version>3.0.0</version>
425 </plugin>
426
427 <plugin>
tom09419512014-08-15 11:28:43 -0700428 <groupId>org.apache.felix</groupId>
429 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800430 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700431 <executions>
432 <execution>
433 <id>generate-scr-srcdescriptor</id>
434 <goals>
435 <goal>scr</goal>
436 </goals>
437 </execution>
438 </executions>
439 <configuration>
440 <supportedProjectTypes>
441 <supportedProjectType>bundle</supportedProjectType>
442 <supportedProjectType>war</supportedProjectType>
443 </supportedProjectTypes>
444 </configuration>
445 </plugin>
446
tom09419512014-08-15 11:28:43 -0700447 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700448 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
449 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700450 <groupId>org.eclipse.m2e</groupId>
451 <artifactId>lifecycle-mapping</artifactId>
452 <version>1.0.0</version>
453 <configuration>
454 <lifecycleMappingMetadata>
455 <pluginExecutions>
456 <pluginExecution>
457 <pluginExecutionFilter>
458 <groupId>org.jacoco</groupId>
459 <artifactId>
460 jacoco-maven-plugin
461 </artifactId>
462 <versionRange>
463 [0.7.1.201405082137,)
464 </versionRange>
465 <goals>
466 <goal>prepare-agent</goal>
467 </goals>
468 </pluginExecutionFilter>
469 <action>
470 <ignore></ignore>
471 </action>
472 </pluginExecution>
473 </pluginExecutions>
474 </lifecycleMappingMetadata>
475 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700476 </plugin>
tom09419512014-08-15 11:28:43 -0700477 </plugins>
tom09419512014-08-15 11:28:43 -0700478 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700479
480 <plugins>
481 <plugin>
482 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700483 <artifactId>maven-jar-plugin</artifactId>
484 </plugin>
485
486 <plugin>
487 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700488 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700489 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700490 <dependencies>
491 <dependency>
492 <groupId>org.onlab.tools</groupId>
493 <artifactId>onos-build-conf</artifactId>
494 <version>1.0</version>
495 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800496 <!-- For Java 8 lambda support-->
497 <dependency>
498 <groupId>com.puppycrawl.tools</groupId>
499 <artifactId>checkstyle</artifactId>
500 <version>5.9</version>
501 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700502 </dependencies>
503 <configuration>
504 <configLocation>onos/checkstyle.xml</configLocation>
505 <suppressionsLocation>onos/suppressions.xml
506 </suppressionsLocation>
507 <failsOnError>false</failsOnError>
508 <logViolationsToConsole>true</logViolationsToConsole>
509 <includeTestSourceDirectory>true
510 </includeTestSourceDirectory>
511 </configuration>
512 <executions>
513 <execution>
514 <id>validate-checkstyle</id>
515 <phase>verify</phase>
516 <goals>
517 <goal>check</goal>
518 </goals>
519 </execution>
520 </executions>
521 </plugin>
522
523 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700524 <groupId>org.apache.maven.plugins</groupId>
525 <artifactId>maven-pmd-plugin</artifactId>
526 <version>3.2</version>
527 <configuration>
528 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700529 </excludes>
530 <rulesets>
531 <ruleset>onos/pmd.xml</ruleset>
532 </rulesets>
533 </configuration>
534 <executions>
535 <execution>
536 <id>validate-pmd</id>
537 <phase>verify</phase>
538 <goals>
539 <!-- Uncomment this goal to make the build fail on pmd errors -->
540 <!--<goal>check</goal>-->
541 </goals>
542 </execution>
543 </executions>
544 </plugin>
545
546 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700547 <groupId>org.jacoco</groupId>
548 <artifactId>jacoco-maven-plugin</artifactId>
549 <version>0.7.1.201405082137</version>
550 <executions>
551 <execution>
552 <id>default-prepare-agent</id>
553 <goals>
554 <goal>prepare-agent</goal>
555 </goals>
556 </execution>
557 <execution>
558 <id>default-report</id>
559 <phase>prepare-package</phase>
560 <goals>
561 <goal>report</goal>
562 </goals>
563 </execution>
564 </executions>
565 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700566 </plugins>
tom09419512014-08-15 11:28:43 -0700567 </build>
alshabib522d9872014-08-15 10:35:16 -0700568
tom0eb04ca2014-08-25 14:34:51 -0700569 <reporting>
570 <plugins>
571 <plugin>
572 <groupId>org.apache.maven.plugins</groupId>
573 <artifactId>maven-checkstyle-plugin</artifactId>
574 <version>2.12.1</version>
575 <configuration>
576 <configLocation>onos/checkstyle.xml</configLocation>
577 </configuration>
578 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700579
580 <plugin>
581 <groupId>org.apache.maven.plugins</groupId>
582 <artifactId>maven-pmd-plugin</artifactId>
583 <version>3.2</version>
584 <configuration>
585 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700586 </excludes>
587 <rulesets>
588 <ruleset>onos/pmd.xml</ruleset>
589 </rulesets>
590 </configuration>
591 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700592 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700593 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700594</project>