blob: 84349dba994e0e6ad428280e6de021581921035b [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>
Yuta HIGUCHI1cb9a522015-02-04 11:55:19 -080023 <maven>3.0.1</maven>
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070024 </prerequisites>
25
Brian O'Connor932d9412014-12-03 17:20:11 -080026 <parent>
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-base</artifactId>
29 <version>1</version>
30 <relativePath>tools/build/pom.xml</relativePath>
31 </parent>
32
Brian O'Connorabafb502014-12-02 22:26:20 -080033 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070034 <artifactId>onos</artifactId>
35 <packaging>pom</packaging>
Brian O'Connor6ea48a22015-03-17 20:07:20 -070036 <version>1.2.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070037
Brian O'Connor932d9412014-12-03 17:20:11 -080038 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080039 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070040
41 <modules>
tom0eb04ca2014-08-25 14:34:51 -070042 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070043 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070044 <module>web</module>
45 <module>cli</module>
46 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070047 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070048 <module>apps</module>
tom09419512014-08-15 11:28:43 -070049 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070050 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070051 </modules>
52
Brian O'Connor3439c102014-12-03 01:02:03 -080053 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070054
Brian O'Connor932d9412014-12-03 17:20:11 -080055 <scm>
56 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080057 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
58 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080059 <url>http://gerrit.onosproject.org/</url>
60 </scm>
61
tom09419512014-08-15 11:28:43 -070062 <licenses>
63 <license>
tom09419512014-08-15 11:28:43 -070064 <name>Apache License, Version 2.0</name>
65 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
66 </license>
67 </licenses>
68
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070069 <properties>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070071 <netty4.version>4.0.23.Final</netty4.version>
Thomas Vachuskac65842d2015-03-25 11:04:02 -070072 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080073 <openflowj.version>0.3.9.oe</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070074 <karaf.version>3.0.3</karaf.version>
75 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070076 </properties>
77
Brian O'Connor932d9412014-12-03 17:20:11 -080078 <distributionManagement>
79 <snapshotRepository>
80 <id>ossrh</id>
81 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
82 </snapshotRepository>
83 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080084
tom0eb04ca2014-08-25 14:34:51 -070085 <dependencyManagement>
86 <dependencies>
87 <dependency>
88 <groupId>junit</groupId>
89 <artifactId>junit</artifactId>
90 <version>4.11</version>
91 <scope>test</scope>
92 </dependency>
tom09419512014-08-15 11:28:43 -070093
tom0eb04ca2014-08-25 14:34:51 -070094 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070095 <groupId>org.hamcrest</groupId>
96 <artifactId>hamcrest-core</artifactId>
97 <version>1.3</version>
98 <scope>test</scope>
99 </dependency>
100 <dependency>
101 <groupId>org.hamcrest</groupId>
102 <artifactId>hamcrest-library</artifactId>
103 <version>1.3</version>
104 <scope>test</scope>
105 </dependency>
106
107 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700108 <groupId>org.slf4j</groupId>
109 <artifactId>slf4j-api</artifactId>
110 <version>1.7.6</version>
111 <scope>provided</scope>
112 </dependency>
113
114 <dependency>
115 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700116 <artifactId>slf4j-core</artifactId>
117 <version>1.7.6</version>
118 <scope>test</scope>
119 </dependency>
120
121 <dependency>
122 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700123 <artifactId>slf4j-jdk14</artifactId>
124 <version>1.7.6</version>
125 <scope>test</scope>
126 </dependency>
127
128 <dependency>
129 <groupId>com.google.guava</groupId>
130 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700131 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700132 </dependency>
133
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700134 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700135 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700136 <artifactId>netty</artifactId>
137 <version>3.9.0.Final</version>
138 </dependency>
139
tomde8d9682014-08-27 01:11:43 -0700140 <dependency>
141 <groupId>com.google.guava</groupId>
142 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700143 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700144 <scope>test</scope>
145 </dependency>
146
tom6d2a43e2014-09-08 01:50:20 -0700147 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700148 <groupId>com.googlecode.concurrent-trees</groupId>
149 <artifactId>concurrent-trees</artifactId>
150 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700151 </dependency>
152
153 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700154 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700155 <artifactId>commons-lang</artifactId>
156 <version>2.6</version>
157 </dependency>
tomde8d9682014-08-27 01:11:43 -0700158
tom66a7eb22014-09-22 11:58:56 -0700159 <dependency>
160 <groupId>org.apache.commons</groupId>
161 <artifactId>commons-lang3</artifactId>
162 <version>3.3.2</version>
163 </dependency>
164
Brian O'Connorf3d06162014-10-02 15:54:12 -0700165 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800166 <groupId>commons-configuration</groupId>
167 <artifactId>commons-configuration</artifactId>
168 <version>1.10</version>
169 </dependency>
170
171 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-collections4</artifactId>
174 <version>4.0</version>
175 </dependency>
176
177 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700178 <groupId>org.codehaus.jackson</groupId>
179 <artifactId>jackson-core-asl</artifactId>
180 <version>1.9.13</version>
181 </dependency>
182 <dependency>
183 <groupId>org.codehaus.jackson</groupId>
184 <artifactId>jackson-mapper-asl</artifactId>
185 <version>1.9.13</version>
186 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700187
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700188 <dependency>
189 <groupId>org.easymock</groupId>
190 <artifactId>easymock</artifactId>
191 <version>3.2</version>
192 <scope>test</scope>
193 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700194
tom0eb04ca2014-08-25 14:34:51 -0700195 <!-- Web related -->
196 <dependency>
197 <groupId>com.sun.jersey</groupId>
198 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700199 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700200 <scope>provided</scope>
201 </dependency>
202 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700203 <groupId>com.sun.jersey.jersey-test-framework</groupId>
204 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700205 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700206 <scope>test</scope>
207 </dependency>
208 <dependency>
209 <groupId>com.sun.jersey.jersey-test-framework</groupId>
210 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700211 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700212 <scope>test</scope>
213 </dependency>
214 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700215 <groupId>com.fasterxml.jackson.core</groupId>
216 <artifactId>jackson-databind</artifactId>
217 <version>2.4.2</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
221 <groupId>com.fasterxml.jackson.core</groupId>
222 <artifactId>jackson-annotations</artifactId>
223 <version>2.4.2</version>
224 <scope>provided</scope>
225 </dependency>
226
227 <!-- OSGi related -->
228 <dependency>
229 <groupId>org.osgi</groupId>
230 <artifactId>org.osgi.core</artifactId>
231 <version>4.3.1</version>
232 <scope>provided</scope>
233 </dependency>
234 <dependency>
tomc16656f2014-10-15 18:30:31 -0700235 <groupId>org.osgi</groupId>
236 <artifactId>org.osgi.compendium</artifactId>
237 <version>4.3.1</version>
238 <scope>provided</scope>
239 </dependency>
240 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700241 <groupId>org.apache.felix</groupId>
242 <artifactId>org.apache.felix.scr.annotations</artifactId>
243 <version>1.9.8</version>
244 <scope>provided</scope>
245 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700246
247 <dependency>
248 <groupId>org.apache.karaf.features</groupId>
249 <artifactId>org.apache.karaf.features.core</artifactId>
250 <version>${karaf.version}</version>
251 <scope>provided</scope>
252 </dependency>
253
tom0eb04ca2014-08-25 14:34:51 -0700254 <dependency>
255 <groupId>org.apache.karaf.shell</groupId>
256 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700257 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700258 <scope>provided</scope>
259 </dependency>
260
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700261 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700262 <groupId>org.livetribe.slp</groupId>
263 <artifactId>livetribe-slp</artifactId>
264 <version>2.2.1</version>
265 </dependency>
266
267 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700268 <groupId>com.hazelcast</groupId>
269 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800270 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700271 </dependency>
272 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800273 <groupId>com.hazelcast</groupId>
274 <artifactId>hazelcast</artifactId>
275 <version>3.4</version>
276 <classifier>tests</classifier>
277 <scope>test</scope>
278 </dependency>
279 <dependency>
tomdc66b382014-09-22 17:05:47 -0700280 <groupId>com.eclipsesource.minimal-json</groupId>
281 <artifactId>minimal-json</artifactId>
282 <version>0.9.1</version>
283 </dependency>
284 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700285 <groupId>com.esotericsoftware</groupId>
286 <artifactId>kryo</artifactId>
287 <version>3.0.0</version>
288 </dependency>
289 <dependency>
290 <groupId>com.esotericsoftware</groupId>
291 <artifactId>reflectasm</artifactId>
292 <version>1.10.0</version>
293 <type>bundle</type>
294 </dependency>
295 <dependency>
296 <groupId>org.ow2.asm</groupId>
297 <artifactId>asm</artifactId>
298 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700299 </dependency>
300 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700301 <groupId>com.esotericsoftware</groupId>
302 <artifactId>minlog</artifactId>
303 <version>1.3.0</version>
304 </dependency>
305 <dependency>
306 <groupId>org.objenesis</groupId>
307 <artifactId>objenesis</artifactId>
308 <version>2.1</version>
309 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700310
tom0eb04ca2014-08-25 14:34:51 -0700311 <!-- ONOS related -->
312 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800313 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700314 <artifactId>onlab-misc</artifactId>
315 <version>${project.version}</version>
316 </dependency>
tom931af4e2014-09-13 12:00:57 -0700317 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800318 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700319 <artifactId>onlab-nio</artifactId>
320 <version>${project.version}</version>
321 </dependency>
322 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800323 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700324 <artifactId>onlab-osgi</artifactId>
325 <version>${project.version}</version>
326 </dependency>
327 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800328 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800329 <artifactId>onlab-osgi</artifactId>
330 <version>${project.version}</version>
331 <classifier>tests</classifier>
332 <scope>test</scope>
333 </dependency>
334 <dependency>
335 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700336 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700337 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700338 <scope>test</scope>
339 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700340
341 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800342 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700343 <artifactId>onos-api</artifactId>
344 <version>${project.version}</version>
345 </dependency>
346 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800347 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700348 <artifactId>onos-api</artifactId>
349 <version>${project.version}</version>
350 <classifier>tests</classifier>
351 <scope>test</scope>
352 </dependency>
353
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800354
355 <dependency>
356 <groupId>org.onosproject</groupId>
357 <artifactId>onos-core-common</artifactId>
358 <version>${project.version}</version>
359 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700360 <dependency>
361 <groupId>org.onosproject</groupId>
362 <artifactId>onos-core-common</artifactId>
363 <version>${project.version}</version>
364 <classifier>tests</classifier>
365 <scope>test</scope>
366 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800367
tom61359e92014-09-16 15:50:27 -0700368 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800369 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700370 <artifactId>onos-of-api</artifactId>
371 <version>${project.version}</version>
372 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700373
374 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800375 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700376 <artifactId>onlab-thirdparty</artifactId>
377 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700378 </dependency>
379
tom61359e92014-09-16 15:50:27 -0700380 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800381 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700382 <artifactId>onos-of-api</artifactId>
383 <version>${project.version}</version>
384 <classifier>tests</classifier>
385 <scope>test</scope>
386 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700387 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700388 <groupId>commons-pool</groupId>
389 <artifactId>commons-pool</artifactId>
390 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700391 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700392 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700393 <groupId>io.netty</groupId>
394 <artifactId>netty-common</artifactId>
395 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700396 </dependency>
397 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700398 <groupId>io.netty</groupId>
399 <artifactId>netty-buffer</artifactId>
400 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700401 </dependency>
402 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700403 <groupId>io.netty</groupId>
404 <artifactId>netty-transport</artifactId>
405 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700406 </dependency>
407 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700408 <groupId>io.netty</groupId>
409 <artifactId>netty-handler</artifactId>
410 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700411 </dependency>
412 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700413 <groupId>io.netty</groupId>
414 <artifactId>netty-codec</artifactId>
415 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700416 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700417 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700418 <groupId>io.netty</groupId>
419 <artifactId>netty-transport-native-epoll</artifactId>
420 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800421 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700422 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700423 <dependency>
424 <groupId>joda-time</groupId>
425 <artifactId>joda-time</artifactId>
426 <version>2.5</version>
427 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700428 </dependencies>
429 </dependencyManagement>
430
431 <dependencies>
432 <dependency>
433 <groupId>junit</groupId>
434 <artifactId>junit</artifactId>
435 </dependency>
436 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700437 <groupId>org.hamcrest</groupId>
438 <artifactId>hamcrest-core</artifactId>
439 </dependency>
440 <dependency>
441 <groupId>org.hamcrest</groupId>
442 <artifactId>hamcrest-library</artifactId>
443 </dependency>
444 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700445 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700446 <artifactId>slf4j-api</artifactId>
447 </dependency>
448 <dependency>
449 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700450 <artifactId>slf4j-jdk14</artifactId>
451 </dependency>
452 </dependencies>
tom09419512014-08-15 11:28:43 -0700453
454 <build>
455 <pluginManagement>
456 <plugins>
457 <plugin>
458 <groupId>org.apache.maven.plugins</groupId>
459 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700460 <!-- TODO: update once following issue is fixed. -->
461 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
462 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700463 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800464 <source>1.8</source>
465 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700466 </configuration>
467 </plugin>
468
469 <plugin>
470 <groupId>org.apache.maven.plugins</groupId>
471 <artifactId>maven-surefire-plugin</artifactId>
472 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700473 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700474 <redirectTestOutputToFile>true
475 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700476 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800477 <excludedGroups>org.onlab.junit.IntegrationTest
478 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700479 </configuration>
tom09419512014-08-15 11:28:43 -0700480 </plugin>
481
482 <plugin>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-jar-plugin</artifactId>
485 <version>2.3.1</version>
486 <executions>
487 <execution>
488 <phase>package</phase>
489 <goals>
490 <goal>test-jar</goal>
491 </goals>
492 </execution>
493 </executions>
494 </plugin>
495
496 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-resources-plugin</artifactId>
499 <version>2.6</version>
500 </plugin>
501
502 <plugin>
tom09419512014-08-15 11:28:43 -0700503 <groupId>org.apache.felix</groupId>
504 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800505 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700506 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800507 <!--
508 Drop following dependency when the below bug fix is published
509 https://issues.apache.org/jira/browse/FELIX-4556
510 -->
511 <dependencies>
512 <dependency>
513 <groupId>biz.aQute.bnd</groupId>
514 <artifactId>bndlib</artifactId>
515 <version>2.4.0</version>
516 </dependency>
517 </dependencies>
tom09419512014-08-15 11:28:43 -0700518 </plugin>
519
520 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-shade-plugin</artifactId>
523 <version>2.3</version>
524 </plugin>
525
526 <plugin>
tom09419512014-08-15 11:28:43 -0700527 <groupId>org.apache.felix</groupId>
528 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800529 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700530 <executions>
531 <execution>
532 <id>generate-scr-srcdescriptor</id>
533 <goals>
534 <goal>scr</goal>
535 </goals>
536 </execution>
537 </executions>
538 <configuration>
539 <supportedProjectTypes>
540 <supportedProjectType>bundle</supportedProjectType>
541 <supportedProjectType>war</supportedProjectType>
542 </supportedProjectTypes>
543 </configuration>
544 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800545 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800546 <groupId>org.codehaus.mojo</groupId>
547 <artifactId>findbugs-maven-plugin</artifactId>
548 <version>3.0.0</version>
549 <dependencies>
550 <dependency>
551 <groupId>org.onosproject</groupId>
552 <artifactId>onos-build-conf</artifactId>
553 <version>1.0</version>
554 </dependency>
555 </dependencies>
556 <configuration>
557 <effort>Max</effort>
558 <excludeFilterFile>onos/findbugs-suppressions.xml
559 </excludeFilterFile>
560 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800561 </plugin>
tom09419512014-08-15 11:28:43 -0700562
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700563 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700564 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700565 <groupId>org.onosproject</groupId>
566 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connor3e0ab5f2015-03-17 20:08:59 -0700567 <version>1.1.0</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700568 <executions>
569 <execution>
570 <phase>generate-resources</phase>
571 <goals>
572 <goal>cfg</goal>
573 </goals>
574 </execution>
575 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700576 </plugin>
tom09419512014-08-15 11:28:43 -0700577 </plugins>
tom09419512014-08-15 11:28:43 -0700578 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700579
580 <plugins>
581 <plugin>
582 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700583 <artifactId>maven-jar-plugin</artifactId>
584 </plugin>
585
586 <plugin>
587 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700588 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700589 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700590 <dependencies>
591 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800592 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700593 <artifactId>onos-build-conf</artifactId>
594 <version>1.0</version>
595 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800596 <!-- For Java 8 lambda support-->
597 <dependency>
598 <groupId>com.puppycrawl.tools</groupId>
599 <artifactId>checkstyle</artifactId>
600 <version>5.9</version>
601 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700602 </dependencies>
603 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800604 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800605 <sourceDirectory>${project.build.sourceDirectory}
606 </sourceDirectory>
607 <testSourceDirectory>${project.build.testSourceDirectory}
608 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800609 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700610 <configLocation>onos/checkstyle.xml</configLocation>
611 <suppressionsLocation>onos/suppressions.xml
612 </suppressionsLocation>
613 <failsOnError>false</failsOnError>
614 <logViolationsToConsole>true</logViolationsToConsole>
615 <includeTestSourceDirectory>true
616 </includeTestSourceDirectory>
617 </configuration>
618 <executions>
619 <execution>
620 <id>validate-checkstyle</id>
621 <phase>verify</phase>
622 <goals>
623 <goal>check</goal>
624 </goals>
625 </execution>
626 </executions>
627 </plugin>
628
629 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700630 <groupId>org.apache.maven.plugins</groupId>
631 <artifactId>maven-pmd-plugin</artifactId>
632 <version>3.2</version>
633 <configuration>
634 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700635 </excludes>
636 <rulesets>
637 <ruleset>onos/pmd.xml</ruleset>
638 </rulesets>
639 </configuration>
640 <executions>
641 <execution>
642 <id>validate-pmd</id>
643 <phase>verify</phase>
644 <goals>
645 <!-- Uncomment this goal to make the build fail on pmd errors -->
646 <!--<goal>check</goal>-->
647 </goals>
648 </execution>
649 </executions>
650 </plugin>
651
652 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700653 <groupId>org.jacoco</groupId>
654 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800655 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700656 <executions>
657 <execution>
658 <id>default-prepare-agent</id>
659 <goals>
660 <goal>prepare-agent</goal>
661 </goals>
662 </execution>
663 <execution>
664 <id>default-report</id>
665 <phase>prepare-package</phase>
666 <goals>
667 <goal>report</goal>
668 </goals>
669 </execution>
670 </executions>
671 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700672 </plugins>
tom09419512014-08-15 11:28:43 -0700673 </build>
alshabib522d9872014-08-15 10:35:16 -0700674
tom0eb04ca2014-08-25 14:34:51 -0700675 <reporting>
676 <plugins>
677 <plugin>
678 <groupId>org.apache.maven.plugins</groupId>
679 <artifactId>maven-checkstyle-plugin</artifactId>
680 <version>2.12.1</version>
681 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800682 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700683 </configuration>
684 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700685
686 <plugin>
687 <groupId>org.apache.maven.plugins</groupId>
688 <artifactId>maven-pmd-plugin</artifactId>
689 <version>3.2</version>
690 <configuration>
691 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700692 </excludes>
693 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800694 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700695 </rulesets>
696 </configuration>
697 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700698 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700699 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700700</project>