blob: ad1af3430777c9ab334179039c3ae85564ebd184 [file] [log] [blame]
Brian O'Connor5af8a942014-11-26 12:17:40 -08001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska7399e482014-12-01 21:27:42 -08002<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
tom09419512014-08-15 11:28:43 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -070021
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070022 <prerequisites>
23 <maven>3.0.0</maven>
24 </prerequisites>
25
tom0eb04ca2014-08-25 14:34:51 -070026 <groupId>org.onlab.onos</groupId>
tom09419512014-08-15 11:28:43 -070027 <artifactId>onos</artifactId>
28 <packaging>pom</packaging>
29 <version>1.0.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070030
tom0eb04ca2014-08-25 14:34:51 -070031 <description>Open Networking Operating System root project</description>
tom09419512014-08-15 11:28:43 -070032
33 <modules>
tom0eb04ca2014-08-25 14:34:51 -070034 <module>tools/build/conf</module>
35 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070036 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070037 <module>web</module>
38 <module>cli</module>
39 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070040 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070041 <module>apps</module>
tom09419512014-08-15 11:28:43 -070042 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070043 <module>tools/package/branding</module>
Thomas Vachuska7399e482014-12-01 21:27:42 -080044 <module>tools/package/archetypes</module>
tom09419512014-08-15 11:28:43 -070045 </modules>
46
47 <url>http://onlab.us/</url>
48
49 <licenses>
50 <license>
tom09419512014-08-15 11:28:43 -070051 <name>Apache License, Version 2.0</name>
52 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
53 </license>
54 </licenses>
55
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070056 <properties>
57 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070058 <netty4.version>4.0.23.Final</netty4.version>
Yuta HIGUCHI58e37272014-11-05 14:03:10 -080059 <copycat.version>0.4.0-SNAPSHOT</copycat.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070060 </properties>
61
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080062 <repositories>
63 <!-- FIXME: Repository for copycat, Loxigen + optical experimenter.
64 Decide how to deal with these before release. -->
65 <repository>
66 <id>onlab-temp</id>
67 <name>ON.lab temporary repository</name>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -080068 <url>http://mavenrepo.onlab.us:8081/nexus/content/groups/public
69 </url>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080070 <snapshots>
71 <enabled>true</enabled>
72 </snapshots>
73 </repository>
74 </repositories>
75
76
tom0eb04ca2014-08-25 14:34:51 -070077 <dependencyManagement>
78 <dependencies>
79 <dependency>
80 <groupId>junit</groupId>
81 <artifactId>junit</artifactId>
82 <version>4.11</version>
83 <scope>test</scope>
84 </dependency>
tom09419512014-08-15 11:28:43 -070085
tom0eb04ca2014-08-25 14:34:51 -070086 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070087 <groupId>org.hamcrest</groupId>
88 <artifactId>hamcrest-core</artifactId>
89 <version>1.3</version>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.hamcrest</groupId>
94 <artifactId>hamcrest-library</artifactId>
95 <version>1.3</version>
96 <scope>test</scope>
97 </dependency>
98
99 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700100 <groupId>org.slf4j</groupId>
101 <artifactId>slf4j-api</artifactId>
102 <version>1.7.6</version>
103 <scope>provided</scope>
104 </dependency>
105
106 <dependency>
107 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700108 <artifactId>slf4j-core</artifactId>
109 <version>1.7.6</version>
110 <scope>test</scope>
111 </dependency>
112
113 <dependency>
114 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700115 <artifactId>slf4j-jdk14</artifactId>
116 <version>1.7.6</version>
117 <scope>test</scope>
118 </dependency>
119
120 <dependency>
121 <groupId>com.google.guava</groupId>
122 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700123 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700124 </dependency>
125
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700126 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700127 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700128 <artifactId>netty</artifactId>
129 <version>3.9.0.Final</version>
130 </dependency>
131
tomde8d9682014-08-27 01:11:43 -0700132 <dependency>
133 <groupId>com.google.guava</groupId>
134 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700135 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700136 <scope>test</scope>
137 </dependency>
138
tom6d2a43e2014-09-08 01:50:20 -0700139 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700140 <groupId>com.googlecode.concurrent-trees</groupId>
141 <artifactId>concurrent-trees</artifactId>
142 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700143 </dependency>
144
145 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700146 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700147 <artifactId>commons-lang</artifactId>
148 <version>2.6</version>
149 </dependency>
tomde8d9682014-08-27 01:11:43 -0700150
tom66a7eb22014-09-22 11:58:56 -0700151 <dependency>
152 <groupId>org.apache.commons</groupId>
153 <artifactId>commons-lang3</artifactId>
154 <version>3.3.2</version>
155 </dependency>
156
Brian O'Connorf3d06162014-10-02 15:54:12 -0700157 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-collections4</artifactId>
160 <version>4.0</version>
161 </dependency>
162
163 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700164 <groupId>org.codehaus.jackson</groupId>
165 <artifactId>jackson-core-asl</artifactId>
166 <version>1.9.13</version>
167 </dependency>
168 <dependency>
169 <groupId>org.codehaus.jackson</groupId>
170 <artifactId>jackson-mapper-asl</artifactId>
171 <version>1.9.13</version>
172 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700173
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700174 <dependency>
175 <groupId>org.easymock</groupId>
176 <artifactId>easymock</artifactId>
177 <version>3.2</version>
178 <scope>test</scope>
179 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700180
tom0eb04ca2014-08-25 14:34:51 -0700181 <!-- Web related -->
182 <dependency>
183 <groupId>com.sun.jersey</groupId>
184 <artifactId>jersey-servlet</artifactId>
185 <version>1.18.1</version>
186 <scope>provided</scope>
187 </dependency>
188 <dependency>
189 <groupId>com.fasterxml.jackson.core</groupId>
190 <artifactId>jackson-databind</artifactId>
191 <version>2.4.2</version>
192 <scope>provided</scope>
193 </dependency>
194 <dependency>
195 <groupId>com.fasterxml.jackson.core</groupId>
196 <artifactId>jackson-annotations</artifactId>
197 <version>2.4.2</version>
198 <scope>provided</scope>
199 </dependency>
200
201 <!-- OSGi related -->
202 <dependency>
203 <groupId>org.osgi</groupId>
204 <artifactId>org.osgi.core</artifactId>
205 <version>4.3.1</version>
206 <scope>provided</scope>
207 </dependency>
208 <dependency>
tomc16656f2014-10-15 18:30:31 -0700209 <groupId>org.osgi</groupId>
210 <artifactId>org.osgi.compendium</artifactId>
211 <version>4.3.1</version>
212 <scope>provided</scope>
213 </dependency>
214 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700215 <groupId>org.apache.felix</groupId>
216 <artifactId>org.apache.felix.scr.annotations</artifactId>
217 <version>1.9.8</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>org.apache.karaf.shell</groupId>
222 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800223 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700224 <scope>provided</scope>
225 </dependency>
226
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700227 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700228 <groupId>org.livetribe.slp</groupId>
229 <artifactId>livetribe-slp</artifactId>
230 <version>2.2.1</version>
231 </dependency>
232
233 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700234 <groupId>com.hazelcast</groupId>
235 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI9eedb462014-10-23 12:45:14 -0700236 <version>3.3.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700237 </dependency>
238 <dependency>
tomdc66b382014-09-22 17:05:47 -0700239 <groupId>com.eclipsesource.minimal-json</groupId>
240 <artifactId>minimal-json</artifactId>
241 <version>0.9.1</version>
242 </dependency>
243 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700244 <groupId>com.esotericsoftware</groupId>
245 <artifactId>kryo</artifactId>
246 <version>3.0.0</version>
247 </dependency>
248 <dependency>
249 <groupId>com.esotericsoftware</groupId>
250 <artifactId>reflectasm</artifactId>
251 <version>1.10.0</version>
252 <type>bundle</type>
253 </dependency>
254 <dependency>
255 <groupId>org.ow2.asm</groupId>
256 <artifactId>asm</artifactId>
257 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700258 </dependency>
259 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700260 <groupId>com.esotericsoftware</groupId>
261 <artifactId>minlog</artifactId>
262 <version>1.3.0</version>
263 </dependency>
264 <dependency>
265 <groupId>org.objenesis</groupId>
266 <artifactId>objenesis</artifactId>
267 <version>2.1</version>
268 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700269
tom0eb04ca2014-08-25 14:34:51 -0700270 <!-- ONOS related -->
271 <dependency>
272 <groupId>org.onlab.onos</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700273 <artifactId>onlab-misc</artifactId>
274 <version>${project.version}</version>
275 </dependency>
tom931af4e2014-09-13 12:00:57 -0700276 <dependency>
277 <groupId>org.onlab.onos</groupId>
tomf110fff2014-09-26 00:38:18 -0700278 <artifactId>onlab-nio</artifactId>
279 <version>${project.version}</version>
280 </dependency>
281 <dependency>
282 <groupId>org.onlab.onos</groupId>
tom0872a172014-09-23 11:24:26 -0700283 <artifactId>onlab-osgi</artifactId>
284 <version>${project.version}</version>
285 </dependency>
286 <dependency>
287 <groupId>org.onlab.onos</groupId>
tom931af4e2014-09-13 12:00:57 -0700288 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700289 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700290 <scope>test</scope>
291 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700292
293 <dependency>
294 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700295 <artifactId>onos-api</artifactId>
296 <version>${project.version}</version>
297 </dependency>
298 <dependency>
299 <groupId>org.onlab.onos</groupId>
tom61359e92014-09-16 15:50:27 -0700300 <artifactId>onos-api</artifactId>
301 <version>${project.version}</version>
302 <classifier>tests</classifier>
303 <scope>test</scope>
304 </dependency>
305
306 <dependency>
307 <groupId>org.onlab.onos</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700308 <artifactId>onos-of-api</artifactId>
309 <version>${project.version}</version>
310 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700311
312 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700313 <groupId>org.onlab.onos</groupId>
314 <artifactId>onlab-thirdparty</artifactId>
315 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700316 </dependency>
317
tom61359e92014-09-16 15:50:27 -0700318 <dependency>
319 <groupId>org.onlab.onos</groupId>
320 <artifactId>onos-of-api</artifactId>
321 <version>${project.version}</version>
322 <classifier>tests</classifier>
323 <scope>test</scope>
324 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700325 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700326 <groupId>commons-pool</groupId>
327 <artifactId>commons-pool</artifactId>
328 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700329 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700330 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700331 <groupId>io.netty</groupId>
332 <artifactId>netty-common</artifactId>
333 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700334 </dependency>
335 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700336 <groupId>io.netty</groupId>
337 <artifactId>netty-buffer</artifactId>
338 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700339 </dependency>
340 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700341 <groupId>io.netty</groupId>
342 <artifactId>netty-transport</artifactId>
343 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700344 </dependency>
345 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700346 <groupId>io.netty</groupId>
347 <artifactId>netty-handler</artifactId>
348 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700349 </dependency>
350 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700351 <groupId>io.netty</groupId>
352 <artifactId>netty-codec</artifactId>
353 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700354 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700355 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700356 <groupId>io.netty</groupId>
357 <artifactId>netty-transport-native-epoll</artifactId>
358 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800359 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700360 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700361 <dependency>
362 <groupId>joda-time</groupId>
363 <artifactId>joda-time</artifactId>
364 <version>2.5</version>
365 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700366 </dependencies>
367 </dependencyManagement>
368
369 <dependencies>
370 <dependency>
371 <groupId>junit</groupId>
372 <artifactId>junit</artifactId>
373 </dependency>
374 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700375 <groupId>org.hamcrest</groupId>
376 <artifactId>hamcrest-core</artifactId>
377 </dependency>
378 <dependency>
379 <groupId>org.hamcrest</groupId>
380 <artifactId>hamcrest-library</artifactId>
381 </dependency>
382 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700383 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700384 <artifactId>slf4j-api</artifactId>
385 </dependency>
386 <dependency>
387 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700388 <artifactId>slf4j-jdk14</artifactId>
389 </dependency>
390 </dependencies>
tom09419512014-08-15 11:28:43 -0700391
392 <build>
393 <pluginManagement>
394 <plugins>
395 <plugin>
396 <groupId>org.apache.maven.plugins</groupId>
397 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700398 <!-- TODO: update once following issue is fixed. -->
399 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
400 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700401 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800402 <source>1.8</source>
403 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700404 </configuration>
405 </plugin>
406
407 <plugin>
408 <groupId>org.apache.maven.plugins</groupId>
409 <artifactId>maven-surefire-plugin</artifactId>
410 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700411 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700412 <redirectTestOutputToFile>true
413 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700414 <printSummary>true</printSummary>
Pingping32fa30c2014-10-23 15:24:26 -0700415 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
tom64888122014-08-27 21:47:46 -0700416 </configuration>
tom09419512014-08-15 11:28:43 -0700417 </plugin>
418
419 <plugin>
420 <groupId>org.apache.maven.plugins</groupId>
421 <artifactId>maven-jar-plugin</artifactId>
422 <version>2.3.1</version>
423 <executions>
424 <execution>
425 <phase>package</phase>
426 <goals>
427 <goal>test-jar</goal>
428 </goals>
429 </execution>
430 </executions>
431 </plugin>
432
433 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700434 <groupId>org.apache.maven.plugins</groupId>
435 <artifactId>maven-resources-plugin</artifactId>
436 <version>2.6</version>
437 </plugin>
438
439 <plugin>
tom09419512014-08-15 11:28:43 -0700440 <groupId>org.apache.felix</groupId>
441 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800442 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700443 <extensions>true</extensions>
444 </plugin>
445
446 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800447 <groupId>org.apache.maven.plugins</groupId>
448 <artifactId>maven-shade-plugin</artifactId>
449 <version>2.3</version>
450 </plugin>
451
452 <plugin>
tom09419512014-08-15 11:28:43 -0700453 <groupId>org.apache.felix</groupId>
454 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800455 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700456 <executions>
457 <execution>
458 <id>generate-scr-srcdescriptor</id>
459 <goals>
460 <goal>scr</goal>
461 </goals>
462 </execution>
463 </executions>
464 <configuration>
465 <supportedProjectTypes>
466 <supportedProjectType>bundle</supportedProjectType>
467 <supportedProjectType>war</supportedProjectType>
468 </supportedProjectTypes>
469 </configuration>
470 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800471 <plugin>
472 <groupId>org.codehaus.mojo</groupId>
473 <artifactId>findbugs-maven-plugin</artifactId>
474 <version>3.0.0</version>
475 <dependencies>
476 <dependency>
477 <groupId>org.onlab.tools</groupId>
478 <artifactId>onos-build-conf</artifactId>
479 <version>1.0</version>
480 </dependency>
481 </dependencies>
482 <configuration>
483 <effort>Max</effort>
484 <excludeFilterFile>onos/findbugs-suppressions.xml</excludeFilterFile>
485 </configuration>
486 </plugin>
tom09419512014-08-15 11:28:43 -0700487
tom09419512014-08-15 11:28:43 -0700488 <!-- TODO: add findbugs plugin for static code analysis; for explicit invocation only -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700489 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
490 <plugin>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700491 <groupId>org.eclipse.m2e</groupId>
492 <artifactId>lifecycle-mapping</artifactId>
493 <version>1.0.0</version>
494 <configuration>
495 <lifecycleMappingMetadata>
496 <pluginExecutions>
497 <pluginExecution>
498 <pluginExecutionFilter>
499 <groupId>org.jacoco</groupId>
500 <artifactId>
501 jacoco-maven-plugin
502 </artifactId>
503 <versionRange>
504 [0.7.1.201405082137,)
505 </versionRange>
506 <goals>
507 <goal>prepare-agent</goal>
508 </goals>
509 </pluginExecutionFilter>
510 <action>
511 <ignore></ignore>
512 </action>
513 </pluginExecution>
514 </pluginExecutions>
515 </lifecycleMappingMetadata>
516 </configuration>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700517 </plugin>
tom09419512014-08-15 11:28:43 -0700518 </plugins>
tom09419512014-08-15 11:28:43 -0700519 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700520
521 <plugins>
522 <plugin>
523 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700524 <artifactId>maven-jar-plugin</artifactId>
525 </plugin>
526
527 <plugin>
528 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700529 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700530 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700531 <dependencies>
532 <dependency>
533 <groupId>org.onlab.tools</groupId>
534 <artifactId>onos-build-conf</artifactId>
535 <version>1.0</version>
536 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800537 <!-- For Java 8 lambda support-->
538 <dependency>
539 <groupId>com.puppycrawl.tools</groupId>
540 <artifactId>checkstyle</artifactId>
541 <version>5.9</version>
542 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700543 </dependencies>
544 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800545 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
546 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
547 <testSourceDirectory>${project.build.testSourceDirectory}</testSourceDirectory>
548 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700549 <configLocation>onos/checkstyle.xml</configLocation>
550 <suppressionsLocation>onos/suppressions.xml
551 </suppressionsLocation>
552 <failsOnError>false</failsOnError>
553 <logViolationsToConsole>true</logViolationsToConsole>
554 <includeTestSourceDirectory>true
555 </includeTestSourceDirectory>
556 </configuration>
557 <executions>
558 <execution>
559 <id>validate-checkstyle</id>
560 <phase>verify</phase>
561 <goals>
562 <goal>check</goal>
563 </goals>
564 </execution>
565 </executions>
566 </plugin>
567
568 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700569 <groupId>org.apache.maven.plugins</groupId>
570 <artifactId>maven-pmd-plugin</artifactId>
571 <version>3.2</version>
572 <configuration>
573 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700574 </excludes>
575 <rulesets>
576 <ruleset>onos/pmd.xml</ruleset>
577 </rulesets>
578 </configuration>
579 <executions>
580 <execution>
581 <id>validate-pmd</id>
582 <phase>verify</phase>
583 <goals>
584 <!-- Uncomment this goal to make the build fail on pmd errors -->
585 <!--<goal>check</goal>-->
586 </goals>
587 </execution>
588 </executions>
589 </plugin>
590
591 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700592 <groupId>org.jacoco</groupId>
593 <artifactId>jacoco-maven-plugin</artifactId>
594 <version>0.7.1.201405082137</version>
595 <executions>
596 <execution>
597 <id>default-prepare-agent</id>
598 <goals>
599 <goal>prepare-agent</goal>
600 </goals>
601 </execution>
602 <execution>
603 <id>default-report</id>
604 <phase>prepare-package</phase>
605 <goals>
606 <goal>report</goal>
607 </goals>
608 </execution>
609 </executions>
610 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700611 </plugins>
tom09419512014-08-15 11:28:43 -0700612 </build>
alshabib522d9872014-08-15 10:35:16 -0700613
tom0eb04ca2014-08-25 14:34:51 -0700614 <reporting>
615 <plugins>
616 <plugin>
617 <groupId>org.apache.maven.plugins</groupId>
618 <artifactId>maven-checkstyle-plugin</artifactId>
619 <version>2.12.1</version>
620 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800621 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700622 </configuration>
623 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700624
625 <plugin>
626 <groupId>org.apache.maven.plugins</groupId>
627 <artifactId>maven-pmd-plugin</artifactId>
628 <version>3.2</version>
629 <configuration>
630 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700631 </excludes>
632 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800633 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700634 </rulesets>
635 </configuration>
636 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700637 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700638 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700639</project>