blob: 508b681d755e1bf0c82ea28cfc38123fab457fa6 [file] [log] [blame]
Ray Milkey241b96a2014-11-17 13:08:20 -08001 <?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>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -080052 <url>http://mavenrepo.onlab.us:8081/nexus/content/groups/public
53 </url>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080054 <snapshots>
55 <enabled>true</enabled>
56 </snapshots>
57 </repository>
58 </repositories>
59
60
tom0eb04ca2014-08-25 14:34:51 -070061 <dependencyManagement>
62 <dependencies>
63 <dependency>
64 <groupId>junit</groupId>
65 <artifactId>junit</artifactId>
66 <version>4.11</version>
67 <scope>test</scope>
68 </dependency>
tom09419512014-08-15 11:28:43 -070069
tom0eb04ca2014-08-25 14:34:51 -070070 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070071 <groupId>org.hamcrest</groupId>
72 <artifactId>hamcrest-core</artifactId>
73 <version>1.3</version>
74 <scope>test</scope>
75 </dependency>
76 <dependency>
77 <groupId>org.hamcrest</groupId>
78 <artifactId>hamcrest-library</artifactId>
79 <version>1.3</version>
80 <scope>test</scope>
81 </dependency>
82
83 <dependency>
tom0eb04ca2014-08-25 14:34:51 -070084 <groupId>org.slf4j</groupId>
85 <artifactId>slf4j-api</artifactId>
86 <version>1.7.6</version>
87 <scope>provided</scope>
88 </dependency>
89
90 <dependency>
91 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -070092 <artifactId>slf4j-core</artifactId>
93 <version>1.7.6</version>
94 <scope>test</scope>
95 </dependency>
96
97 <dependency>
98 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -070099 <artifactId>slf4j-jdk14</artifactId>
100 <version>1.7.6</version>
101 <scope>test</scope>
102 </dependency>
103
104 <dependency>
105 <groupId>com.google.guava</groupId>
106 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700107 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700108 </dependency>
109
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700110 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700111 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700112 <artifactId>netty</artifactId>
113 <version>3.9.0.Final</version>
114 </dependency>
115
tomde8d9682014-08-27 01:11:43 -0700116 <dependency>
117 <groupId>com.google.guava</groupId>
118 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700119 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700120 <scope>test</scope>
121 </dependency>
122
tom6d2a43e2014-09-08 01:50:20 -0700123 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700124 <groupId>com.googlecode.concurrent-trees</groupId>
125 <artifactId>concurrent-trees</artifactId>
126 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700127 </dependency>
128
129 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700130 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700131 <artifactId>commons-lang</artifactId>
132 <version>2.6</version>
133 </dependency>
tomde8d9682014-08-27 01:11:43 -0700134
tom66a7eb22014-09-22 11:58:56 -0700135 <dependency>
136 <groupId>org.apache.commons</groupId>
137 <artifactId>commons-lang3</artifactId>
138 <version>3.3.2</version>
139 </dependency>
140
Brian O'Connorf3d06162014-10-02 15:54:12 -0700141 <dependency>
142 <groupId>org.codehaus.jackson</groupId>
143 <artifactId>jackson-core-asl</artifactId>
144 <version>1.9.13</version>
145 </dependency>
146 <dependency>
147 <groupId>org.codehaus.jackson</groupId>
148 <artifactId>jackson-mapper-asl</artifactId>
149 <version>1.9.13</version>
150 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700151
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700152 <dependency>
153 <groupId>org.easymock</groupId>
154 <artifactId>easymock</artifactId>
155 <version>3.2</version>
156 <scope>test</scope>
157 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700158
tom0eb04ca2014-08-25 14:34:51 -0700159 <!-- Web related -->
160 <dependency>
161 <groupId>com.sun.jersey</groupId>
162 <artifactId>jersey-servlet</artifactId>
163 <version>1.18.1</version>
164 <scope>provided</scope>
165 </dependency>
166 <dependency>
167 <groupId>com.fasterxml.jackson.core</groupId>
168 <artifactId>jackson-databind</artifactId>
169 <version>2.4.2</version>
170 <scope>provided</scope>
171 </dependency>
172 <dependency>
173 <groupId>com.fasterxml.jackson.core</groupId>
174 <artifactId>jackson-annotations</artifactId>
175 <version>2.4.2</version>
176 <scope>provided</scope>
177 </dependency>
178
179 <!-- OSGi related -->
180 <dependency>
181 <groupId>org.osgi</groupId>
182 <artifactId>org.osgi.core</artifactId>
183 <version>4.3.1</version>
184 <scope>provided</scope>
185 </dependency>
186 <dependency>
tomc16656f2014-10-15 18:30:31 -0700187 <groupId>org.osgi</groupId>
188 <artifactId>org.osgi.compendium</artifactId>
189 <version>4.3.1</version>
190 <scope>provided</scope>
191 </dependency>
192 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700193 <groupId>org.apache.felix</groupId>
194 <artifactId>org.apache.felix.scr.annotations</artifactId>
195 <version>1.9.8</version>
196 <scope>provided</scope>
197 </dependency>
198 <dependency>
199 <groupId>org.apache.karaf.shell</groupId>
200 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800201 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700202 <scope>provided</scope>
203 </dependency>
204
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700205 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700206 <groupId>org.livetribe.slp</groupId>
207 <artifactId>livetribe-slp</artifactId>
208 <version>2.2.1</version>
209 </dependency>
210
211 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700212 <groupId>com.hazelcast</groupId>
213 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700214 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700215 </dependency>
216 <dependency>
tomdc66b382014-09-22 17:05:47 -0700217 <groupId>com.eclipsesource.minimal-json</groupId>
218 <artifactId>minimal-json</artifactId>
219 <version>0.9.1</version>
220 </dependency>
221 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700222 <groupId>com.esotericsoftware</groupId>
223 <artifactId>kryo</artifactId>
224 <version>3.0.0</version>
225 </dependency>
226 <dependency>
227 <groupId>com.esotericsoftware</groupId>
228 <artifactId>reflectasm</artifactId>
229 <version>1.10.0</version>
230 <type>bundle</type>
231 </dependency>
232 <dependency>
233 <groupId>org.ow2.asm</groupId>
234 <artifactId>asm</artifactId>
235 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700236 </dependency>
237 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700238 <groupId>com.esotericsoftware</groupId>
239 <artifactId>minlog</artifactId>
240 <version>1.3.0</version>
241 </dependency>
242 <dependency>
243 <groupId>org.objenesis</groupId>
244 <artifactId>objenesis</artifactId>
245 <version>2.1</version>
246 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700247
tom0eb04ca2014-08-25 14:34:51 -0700248 <!-- ONOS related -->
249 <dependency>
250 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700251 <artifactId>onlab-misc</artifactId>
252 <version>${project.version}</version>
253 </dependency>
tom931af4e2014-09-13 12:00:57 -0700254 <dependency>
255 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700256 <artifactId>onlab-nio</artifactId>
257 <version>${project.version}</version>
258 </dependency>
259 <dependency>
260 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700261 <artifactId>onlab-osgi</artifactId>
262 <version>${project.version}</version>
263 </dependency>
264 <dependency>
265 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700266 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700267 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700268 <scope>test</scope>
269 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700270
271 <dependency>
272 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700273 <artifactId>onos-api</artifactId>
274 <version>${project.version}</version>
275 </dependency>
276 <dependency>
277 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700278 <artifactId>onos-api</artifactId>
279 <version>${project.version}</version>
280 <classifier>tests</classifier>
281 <scope>test</scope>
282 </dependency>
283
284 <dependency>
285 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700286 <artifactId>onos-of-api</artifactId>
287 <version>${project.version}</version>
288 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700289
290 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700291 <groupId>org.onlab.onos</groupId>
292 <artifactId>onlab-thirdparty</artifactId>
293 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700294 </dependency>
295
tom61359e92014-09-16 15:50:27 -0700296 <dependency>
297 <groupId>org.onlab.onos</groupId>
298 <artifactId>onos-of-api</artifactId>
299 <version>${project.version}</version>
300 <classifier>tests</classifier>
301 <scope>test</scope>
302 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700303 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700304 <groupId>commons-pool</groupId>
305 <artifactId>commons-pool</artifactId>
306 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700307 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700308 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700309 <groupId>io.netty</groupId>
310 <artifactId>netty-common</artifactId>
311 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700312 </dependency>
313 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700314 <groupId>io.netty</groupId>
315 <artifactId>netty-buffer</artifactId>
316 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700317 </dependency>
318 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700319 <groupId>io.netty</groupId>
320 <artifactId>netty-transport</artifactId>
321 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700322 </dependency>
323 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700324 <groupId>io.netty</groupId>
325 <artifactId>netty-handler</artifactId>
326 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700327 </dependency>
328 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700329 <groupId>io.netty</groupId>
330 <artifactId>netty-codec</artifactId>
331 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700332 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700333 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700334 <groupId>io.netty</groupId>
335 <artifactId>netty-transport-native-epoll</artifactId>
336 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800337 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700338 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700339 <dependency>
340 <groupId>joda-time</groupId>
341 <artifactId>joda-time</artifactId>
342 <version>2.5</version>
343 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700344 </dependencies>
345 </dependencyManagement>
346
347 <dependencies>
348 <dependency>
349 <groupId>junit</groupId>
350 <artifactId>junit</artifactId>
351 </dependency>
352 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700353 <groupId>org.hamcrest</groupId>
354 <artifactId>hamcrest-core</artifactId>
355 </dependency>
356 <dependency>
357 <groupId>org.hamcrest</groupId>
358 <artifactId>hamcrest-library</artifactId>
359 </dependency>
360 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700361 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700362 <artifactId>slf4j-api</artifactId>
363 </dependency>
364 <dependency>
365 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700366 <artifactId>slf4j-jdk14</artifactId>
367 </dependency>
368 </dependencies>
tom09419512014-08-15 11:28:43 -0700369
370 <build>
371 <pluginManagement>
372 <plugins>
373 <plugin>
374 <groupId>org.apache.maven.plugins</groupId>
375 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700376 <!-- TODO: update once following issue is fixed. -->
377 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
378 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700379 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800380 <source>1.8</source>
381 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700382 </configuration>
383 </plugin>
384
385 <plugin>
386 <groupId>org.apache.maven.plugins</groupId>
387 <artifactId>maven-surefire-plugin</artifactId>
388 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700389 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700390 <redirectTestOutputToFile>true
391 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700392 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700393 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700394 </configuration>
tom09419512014-08-15 11:28:43 -0700395 </plugin>
396
397 <plugin>
398 <groupId>org.apache.maven.plugins</groupId>
399 <artifactId>maven-jar-plugin</artifactId>
400 <version>2.3.1</version>
401 <executions>
402 <execution>
403 <phase>package</phase>
404 <goals>
405 <goal>test-jar</goal>
406 </goals>
407 </execution>
408 </executions>
409 </plugin>
410
411 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700412 <groupId>org.apache.maven.plugins</groupId>
413 <artifactId>maven-resources-plugin</artifactId>
414 <version>2.6</version>
415 </plugin>
416
417 <plugin>
tom09419512014-08-15 11:28:43 -0700418 <groupId>org.apache.felix</groupId>
419 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800420 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700421 <extensions>true</extensions>
422 </plugin>
423
424 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800425 <groupId>org.apache.maven.plugins</groupId>
426 <artifactId>maven-shade-plugin</artifactId>
427 <version>2.3</version>
428 </plugin>
429
430 <plugin>
tom09419512014-08-15 11:28:43 -0700431 <groupId>org.apache.felix</groupId>
432 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800433 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700434 <executions>
435 <execution>
436 <id>generate-scr-srcdescriptor</id>
437 <goals>
438 <goal>scr</goal>
439 </goals>
440 </execution>
441 </executions>
442 <configuration>
443 <supportedProjectTypes>
444 <supportedProjectType>bundle</supportedProjectType>
445 <supportedProjectType>war</supportedProjectType>
446 </supportedProjectTypes>
447 </configuration>
448 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800449 <plugin>
450 <groupId>org.codehaus.mojo</groupId>
451 <artifactId>findbugs-maven-plugin</artifactId>
452 <version>3.0.0</version>
453 <dependencies>
454 <dependency>
455 <groupId>org.onlab.tools</groupId>
456 <artifactId>onos-build-conf</artifactId>
457 <version>1.0</version>
458 </dependency>
459 </dependencies>
460 <configuration>
461 <effort>Max</effort>
462 <excludeFilterFile>onos/findbugs-suppressions.xml</excludeFilterFile>
463 </configuration>
464 </plugin>
tom09419512014-08-15 11:28:43 -0700465
tom09419512014-08-15 11:28:43 -0700466 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700467 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
468 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700469 <groupId>org.eclipse.m2e</groupId>
470 <artifactId>lifecycle-mapping</artifactId>
471 <version>1.0.0</version>
472 <configuration>
473 <lifecycleMappingMetadata>
474 <pluginExecutions>
475 <pluginExecution>
476 <pluginExecutionFilter>
477 <groupId>org.jacoco</groupId>
478 <artifactId>
479 jacoco-maven-plugin
480 </artifactId>
481 <versionRange>
482 [0.7.1.201405082137,)
483 </versionRange>
484 <goals>
485 <goal>prepare-agent</goal>
486 </goals>
487 </pluginExecutionFilter>
488 <action>
489 <ignore></ignore>
490 </action>
491 </pluginExecution>
492 </pluginExecutions>
493 </lifecycleMappingMetadata>
494 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700495 </plugin>
tom09419512014-08-15 11:28:43 -0700496 </plugins>
tom09419512014-08-15 11:28:43 -0700497 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700498
499 <plugins>
500 <plugin>
501 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700502 <artifactId>maven-jar-plugin</artifactId>
503 </plugin>
504
505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700507 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700508 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700509 <dependencies>
510 <dependency>
511 <groupId>org.onlab.tools</groupId>
512 <artifactId>onos-build-conf</artifactId>
513 <version>1.0</version>
514 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800515 <!-- For Java 8 lambda support-->
516 <dependency>
517 <groupId>com.puppycrawl.tools</groupId>
518 <artifactId>checkstyle</artifactId>
519 <version>5.9</version>
520 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700521 </dependencies>
522 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800523 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
524 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
525 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
526 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700527 <configLocation>onos/checkstyle.xml</configLocation>
528 <suppressionsLocation>onos/suppressions.xml
529 </suppressionsLocation>
530 <failsOnError>false</failsOnError>
531 <logViolationsToConsole>true</logViolationsToConsole>
532 <includeTestSourceDirectory>true
533 </includeTestSourceDirectory>
534 </configuration>
535 <executions>
536 <execution>
537 <id>validate-checkstyle</id>
538 <phase>verify</phase>
539 <goals>
540 <goal>check</goal>
541 </goals>
542 </execution>
543 </executions>
544 </plugin>
545
546 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700547 <groupId>org.apache.maven.plugins</groupId>
548 <artifactId>maven-pmd-plugin</artifactId>
549 <version>3.2</version>
550 <configuration>
551 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700552 </excludes>
553 <rulesets>
554 <ruleset>onos/pmd.xml</ruleset>
555 </rulesets>
556 </configuration>
557 <executions>
558 <execution>
559 <id>validate-pmd</id>
560 <phase>verify</phase>
561 <goals>
562 <!-- Uncomment this goal to make the build fail on pmd errors -->
563 <!--<goal>check</goal>-->
564 </goals>
565 </execution>
566 </executions>
567 </plugin>
568
569 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700570 <groupId>org.jacoco</groupId>
571 <artifactId>jacoco-maven-plugin</artifactId>
572 <version>0.7.1.201405082137</version>
573 <executions>
574 <execution>
575 <id>default-prepare-agent</id>
576 <goals>
577 <goal>prepare-agent</goal>
578 </goals>
579 </execution>
580 <execution>
581 <id>default-report</id>
582 <phase>prepare-package</phase>
583 <goals>
584 <goal>report</goal>
585 </goals>
586 </execution>
587 </executions>
588 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700589 </plugins>
tom09419512014-08-15 11:28:43 -0700590 </build>
alshabib522d9872014-08-15 10:35:16 -0700591
tom0eb04ca2014-08-25 14:34:51 -0700592 <reporting>
593 <plugins>
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
596 <artifactId>maven-checkstyle-plugin</artifactId>
597 <version>2.12.1</version>
598 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800599 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700600 </configuration>
601 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700602
603 <plugin>
604 <groupId>org.apache.maven.plugins</groupId>
605 <artifactId>maven-pmd-plugin</artifactId>
606 <version>3.2</version>
607 <configuration>
608 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700609 </excludes>
610 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800611 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700612 </rulesets>
613 </configuration>
614 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700615 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700616 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700617</project>