blob: 4f3746163e00035b8caac6069b469513408bde2d [file] [log] [blame]
Brian O'Connor5af8a942014-11-26 12:17:40 -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>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800142 <groupId>org.apache.commons</groupId>
143 <artifactId>commons-collections4</artifactId>
144 <version>4.0</version>
145 </dependency>
146
147 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700148 <groupId>org.codehaus.jackson</groupId>
149 <artifactId>jackson-core-asl</artifactId>
150 <version>1.9.13</version>
151 </dependency>
152 <dependency>
153 <groupId>org.codehaus.jackson</groupId>
154 <artifactId>jackson-mapper-asl</artifactId>
155 <version>1.9.13</version>
156 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700157
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700158 <dependency>
159 <groupId>org.easymock</groupId>
160 <artifactId>easymock</artifactId>
161 <version>3.2</version>
162 <scope>test</scope>
163 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700164
tom0eb04ca2014-08-25 14:34:51 -0700165 <!-- Web related -->
166 <dependency>
167 <groupId>com.sun.jersey</groupId>
168 <artifactId>jersey-servlet</artifactId>
169 <version>1.18.1</version>
170 <scope>provided</scope>
171 </dependency>
172 <dependency>
173 <groupId>com.fasterxml.jackson.core</groupId>
174 <artifactId>jackson-databind</artifactId>
175 <version>2.4.2</version>
176 <scope>provided</scope>
177 </dependency>
178 <dependency>
179 <groupId>com.fasterxml.jackson.core</groupId>
180 <artifactId>jackson-annotations</artifactId>
181 <version>2.4.2</version>
182 <scope>provided</scope>
183 </dependency>
184
185 <!-- OSGi related -->
186 <dependency>
187 <groupId>org.osgi</groupId>
188 <artifactId>org.osgi.core</artifactId>
189 <version>4.3.1</version>
190 <scope>provided</scope>
191 </dependency>
192 <dependency>
tomc16656f2014-10-15 18:30:31 -0700193 <groupId>org.osgi</groupId>
194 <artifactId>org.osgi.compendium</artifactId>
195 <version>4.3.1</version>
196 <scope>provided</scope>
197 </dependency>
198 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700199 <groupId>org.apache.felix</groupId>
200 <artifactId>org.apache.felix.scr.annotations</artifactId>
201 <version>1.9.8</version>
202 <scope>provided</scope>
203 </dependency>
204 <dependency>
205 <groupId>org.apache.karaf.shell</groupId>
206 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800207 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700208 <scope>provided</scope>
209 </dependency>
210
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700211 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700212 <groupId>org.livetribe.slp</groupId>
213 <artifactId>livetribe-slp</artifactId>
214 <version>2.2.1</version>
215 </dependency>
216
217 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700218 <groupId>com.hazelcast</groupId>
219 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700220 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700221 </dependency>
222 <dependency>
tomdc66b382014-09-22 17:05:47 -0700223 <groupId>com.eclipsesource.minimal-json</groupId>
224 <artifactId>minimal-json</artifactId>
225 <version>0.9.1</version>
226 </dependency>
227 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700228 <groupId>com.esotericsoftware</groupId>
229 <artifactId>kryo</artifactId>
230 <version>3.0.0</version>
231 </dependency>
232 <dependency>
233 <groupId>com.esotericsoftware</groupId>
234 <artifactId>reflectasm</artifactId>
235 <version>1.10.0</version>
236 <type>bundle</type>
237 </dependency>
238 <dependency>
239 <groupId>org.ow2.asm</groupId>
240 <artifactId>asm</artifactId>
241 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700242 </dependency>
243 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700244 <groupId>com.esotericsoftware</groupId>
245 <artifactId>minlog</artifactId>
246 <version>1.3.0</version>
247 </dependency>
248 <dependency>
249 <groupId>org.objenesis</groupId>
250 <artifactId>objenesis</artifactId>
251 <version>2.1</version>
252 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700253
tom0eb04ca2014-08-25 14:34:51 -0700254 <!-- ONOS related -->
255 <dependency>
256 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700257 <artifactId>onlab-misc</artifactId>
258 <version>${project.version}</version>
259 </dependency>
tom931af4e2014-09-13 12:00:57 -0700260 <dependency>
261 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700262 <artifactId>onlab-nio</artifactId>
263 <version>${project.version}</version>
264 </dependency>
265 <dependency>
266 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700267 <artifactId>onlab-osgi</artifactId>
268 <version>${project.version}</version>
269 </dependency>
270 <dependency>
271 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700272 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700273 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700274 <scope>test</scope>
275 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700276
277 <dependency>
278 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700279 <artifactId>onos-api</artifactId>
280 <version>${project.version}</version>
281 </dependency>
282 <dependency>
283 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700284 <artifactId>onos-api</artifactId>
285 <version>${project.version}</version>
286 <classifier>tests</classifier>
287 <scope>test</scope>
288 </dependency>
289
290 <dependency>
291 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700292 <artifactId>onos-of-api</artifactId>
293 <version>${project.version}</version>
294 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700295
296 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700297 <groupId>org.onlab.onos</groupId>
298 <artifactId>onlab-thirdparty</artifactId>
299 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700300 </dependency>
301
tom61359e92014-09-16 15:50:27 -0700302 <dependency>
303 <groupId>org.onlab.onos</groupId>
304 <artifactId>onos-of-api</artifactId>
305 <version>${project.version}</version>
306 <classifier>tests</classifier>
307 <scope>test</scope>
308 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700309 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700310 <groupId>commons-pool</groupId>
311 <artifactId>commons-pool</artifactId>
312 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700313 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700314 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700315 <groupId>io.netty</groupId>
316 <artifactId>netty-common</artifactId>
317 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700318 </dependency>
319 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700320 <groupId>io.netty</groupId>
321 <artifactId>netty-buffer</artifactId>
322 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700323 </dependency>
324 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700325 <groupId>io.netty</groupId>
326 <artifactId>netty-transport</artifactId>
327 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700328 </dependency>
329 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700330 <groupId>io.netty</groupId>
331 <artifactId>netty-handler</artifactId>
332 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700333 </dependency>
334 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700335 <groupId>io.netty</groupId>
336 <artifactId>netty-codec</artifactId>
337 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700338 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700339 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700340 <groupId>io.netty</groupId>
341 <artifactId>netty-transport-native-epoll</artifactId>
342 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800343 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700344 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700345 <dependency>
346 <groupId>joda-time</groupId>
347 <artifactId>joda-time</artifactId>
348 <version>2.5</version>
349 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700350 </dependencies>
351 </dependencyManagement>
352
353 <dependencies>
354 <dependency>
355 <groupId>junit</groupId>
356 <artifactId>junit</artifactId>
357 </dependency>
358 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700359 <groupId>org.hamcrest</groupId>
360 <artifactId>hamcrest-core</artifactId>
361 </dependency>
362 <dependency>
363 <groupId>org.hamcrest</groupId>
364 <artifactId>hamcrest-library</artifactId>
365 </dependency>
366 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700367 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700368 <artifactId>slf4j-api</artifactId>
369 </dependency>
370 <dependency>
371 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700372 <artifactId>slf4j-jdk14</artifactId>
373 </dependency>
374 </dependencies>
tom09419512014-08-15 11:28:43 -0700375
376 <build>
377 <pluginManagement>
378 <plugins>
379 <plugin>
380 <groupId>org.apache.maven.plugins</groupId>
381 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700382 <!-- TODO: update once following issue is fixed. -->
383 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
384 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700385 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800386 <source>1.8</source>
387 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700388 </configuration>
389 </plugin>
390
391 <plugin>
392 <groupId>org.apache.maven.plugins</groupId>
393 <artifactId>maven-surefire-plugin</artifactId>
394 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700395 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700396 <redirectTestOutputToFile>true
397 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700398 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700399 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700400 </configuration>
tom09419512014-08-15 11:28:43 -0700401 </plugin>
402
403 <plugin>
404 <groupId>org.apache.maven.plugins</groupId>
405 <artifactId>maven-jar-plugin</artifactId>
406 <version>2.3.1</version>
407 <executions>
408 <execution>
409 <phase>package</phase>
410 <goals>
411 <goal>test-jar</goal>
412 </goals>
413 </execution>
414 </executions>
415 </plugin>
416
417 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700418 <groupId>org.apache.maven.plugins</groupId>
419 <artifactId>maven-resources-plugin</artifactId>
420 <version>2.6</version>
421 </plugin>
422
423 <plugin>
tom09419512014-08-15 11:28:43 -0700424 <groupId>org.apache.felix</groupId>
425 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800426 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700427 <extensions>true</extensions>
428 </plugin>
429
430 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800431 <groupId>org.apache.maven.plugins</groupId>
432 <artifactId>maven-shade-plugin</artifactId>
433 <version>2.3</version>
434 </plugin>
435
436 <plugin>
tom09419512014-08-15 11:28:43 -0700437 <groupId>org.apache.felix</groupId>
438 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800439 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700440 <executions>
441 <execution>
442 <id>generate-scr-srcdescriptor</id>
443 <goals>
444 <goal>scr</goal>
445 </goals>
446 </execution>
447 </executions>
448 <configuration>
449 <supportedProjectTypes>
450 <supportedProjectType>bundle</supportedProjectType>
451 <supportedProjectType>war</supportedProjectType>
452 </supportedProjectTypes>
453 </configuration>
454 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800455 <plugin>
456 <groupId>org.codehaus.mojo</groupId>
457 <artifactId>findbugs-maven-plugin</artifactId>
458 <version>3.0.0</version>
459 <dependencies>
460 <dependency>
461 <groupId>org.onlab.tools</groupId>
462 <artifactId>onos-build-conf</artifactId>
463 <version>1.0</version>
464 </dependency>
465 </dependencies>
466 <configuration>
467 <effort>Max</effort>
468 <excludeFilterFile>onos/findbugs-suppressions.xml</excludeFilterFile>
469 </configuration>
470 </plugin>
tom09419512014-08-15 11:28:43 -0700471
tom09419512014-08-15 11:28:43 -0700472 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700473 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
474 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700475 <groupId>org.eclipse.m2e</groupId>
476 <artifactId>lifecycle-mapping</artifactId>
477 <version>1.0.0</version>
478 <configuration>
479 <lifecycleMappingMetadata>
480 <pluginExecutions>
481 <pluginExecution>
482 <pluginExecutionFilter>
483 <groupId>org.jacoco</groupId>
484 <artifactId>
485 jacoco-maven-plugin
486 </artifactId>
487 <versionRange>
488 [0.7.1.201405082137,)
489 </versionRange>
490 <goals>
491 <goal>prepare-agent</goal>
492 </goals>
493 </pluginExecutionFilter>
494 <action>
495 <ignore></ignore>
496 </action>
497 </pluginExecution>
498 </pluginExecutions>
499 </lifecycleMappingMetadata>
500 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700501 </plugin>
tom09419512014-08-15 11:28:43 -0700502 </plugins>
tom09419512014-08-15 11:28:43 -0700503 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700504
505 <plugins>
506 <plugin>
507 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700508 <artifactId>maven-jar-plugin</artifactId>
509 </plugin>
510
511 <plugin>
512 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700513 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700514 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700515 <dependencies>
516 <dependency>
517 <groupId>org.onlab.tools</groupId>
518 <artifactId>onos-build-conf</artifactId>
519 <version>1.0</version>
520 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800521 <!-- For Java 8 lambda support-->
522 <dependency>
523 <groupId>com.puppycrawl.tools</groupId>
524 <artifactId>checkstyle</artifactId>
525 <version>5.9</version>
526 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700527 </dependencies>
528 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800529 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
530 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
531 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
532 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700533 <configLocation>onos/checkstyle.xml</configLocation>
534 <suppressionsLocation>onos/suppressions.xml
535 </suppressionsLocation>
536 <failsOnError>false</failsOnError>
537 <logViolationsToConsole>true</logViolationsToConsole>
538 <includeTestSourceDirectory>true
539 </includeTestSourceDirectory>
540 </configuration>
541 <executions>
542 <execution>
543 <id>validate-checkstyle</id>
544 <phase>verify</phase>
545 <goals>
546 <goal>check</goal>
547 </goals>
548 </execution>
549 </executions>
550 </plugin>
551
552 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700553 <groupId>org.apache.maven.plugins</groupId>
554 <artifactId>maven-pmd-plugin</artifactId>
555 <version>3.2</version>
556 <configuration>
557 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700558 </excludes>
559 <rulesets>
560 <ruleset>onos/pmd.xml</ruleset>
561 </rulesets>
562 </configuration>
563 <executions>
564 <execution>
565 <id>validate-pmd</id>
566 <phase>verify</phase>
567 <goals>
568 <!-- Uncomment this goal to make the build fail on pmd errors -->
569 <!--<goal>check</goal>-->
570 </goals>
571 </execution>
572 </executions>
573 </plugin>
574
575 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700576 <groupId>org.jacoco</groupId>
577 <artifactId>jacoco-maven-plugin</artifactId>
578 <version>0.7.1.201405082137</version>
579 <executions>
580 <execution>
581 <id>default-prepare-agent</id>
582 <goals>
583 <goal>prepare-agent</goal>
584 </goals>
585 </execution>
586 <execution>
587 <id>default-report</id>
588 <phase>prepare-package</phase>
589 <goals>
590 <goal>report</goal>
591 </goals>
592 </execution>
593 </executions>
594 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700595 </plugins>
tom09419512014-08-15 11:28:43 -0700596 </build>
alshabib522d9872014-08-15 10:35:16 -0700597
tom0eb04ca2014-08-25 14:34:51 -0700598 <reporting>
599 <plugins>
600 <plugin>
601 <groupId>org.apache.maven.plugins</groupId>
602 <artifactId>maven-checkstyle-plugin</artifactId>
603 <version>2.12.1</version>
604 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800605 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700606 </configuration>
607 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700608
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
611 <artifactId>maven-pmd-plugin</artifactId>
612 <version>3.2</version>
613 <configuration>
614 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700615 </excludes>
616 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800617 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700618 </rulesets>
619 </configuration>
620 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700621 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700622 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700623</project>