blob: c9a7d6559144d1da67f6a59c9deb780b2861a1d8 [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'Connor30a412d2015-05-21 18:04:26 -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>
alshabibfaa1e362015-04-02 15:01:54 -070047 <module>drivers</module>
tomf8b8d672014-09-17 13:07:23 -070048 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070049 <module>apps</module>
Thomas Vachuskad24aa7f2015-05-14 18:37:54 -070050 <module>incubator</module>
tom09419512014-08-15 11:28:43 -070051 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070052 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070053 </modules>
54
Brian O'Connor3439c102014-12-03 01:02:03 -080055 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070056
Brian O'Connor932d9412014-12-03 17:20:11 -080057 <scm>
58 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080059 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
60 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080061 <url>http://gerrit.onosproject.org/</url>
62 </scm>
63
tom09419512014-08-15 11:28:43 -070064 <licenses>
65 <license>
tom09419512014-08-15 11:28:43 -070066 <name>Apache License, Version 2.0</name>
67 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
68 </license>
69 </licenses>
70
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070071 <properties>
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070073 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampanied1b7fc2015-04-27 23:30:07 -070074 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
Brian O'Connorc9dbe2c2015-05-28 15:17:30 -070075 <openflowj.version>0.3.10.oe-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070076 <karaf.version>3.0.3</karaf.version>
77 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070078 </properties>
79
Brian O'Connor932d9412014-12-03 17:20:11 -080080 <distributionManagement>
81 <snapshotRepository>
82 <id>ossrh</id>
83 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
84 </snapshotRepository>
85 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080086
Brian O'Connorc9dbe2c2015-05-28 15:17:30 -070087 <!--- FIXME Needed for copycat. Remove before official release -->
Madan Jampanid5fd8472015-03-25 12:14:41 -070088 <repositories>
89 <repository>
90 <id>snapshots</id>
91 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
92 </repository>
93 </repositories>
94
tom0eb04ca2014-08-25 14:34:51 -070095 <dependencyManagement>
96 <dependencies>
97 <dependency>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
100 <version>4.11</version>
101 <scope>test</scope>
102 </dependency>
tom09419512014-08-15 11:28:43 -0700103
tom0eb04ca2014-08-25 14:34:51 -0700104 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700105 <groupId>org.hamcrest</groupId>
106 <artifactId>hamcrest-core</artifactId>
107 <version>1.3</version>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.hamcrest</groupId>
112 <artifactId>hamcrest-library</artifactId>
113 <version>1.3</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-api</artifactId>
120 <version>1.7.6</version>
121 <scope>provided</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700126 <artifactId>slf4j-core</artifactId>
127 <version>1.7.6</version>
128 <scope>test</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700133 <artifactId>slf4j-jdk14</artifactId>
134 <version>1.7.6</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700141 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700142 </dependency>
143
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700144 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700145 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700146 <artifactId>netty</artifactId>
147 <version>3.9.0.Final</version>
148 </dependency>
149
tomde8d9682014-08-27 01:11:43 -0700150 <dependency>
151 <groupId>com.google.guava</groupId>
152 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700153 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700154 <scope>test</scope>
155 </dependency>
156
tom6d2a43e2014-09-08 01:50:20 -0700157 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700158 <groupId>com.googlecode.concurrent-trees</groupId>
159 <artifactId>concurrent-trees</artifactId>
160 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700161 </dependency>
162
163 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700164 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700165 <artifactId>commons-lang</artifactId>
166 <version>2.6</version>
167 </dependency>
tomde8d9682014-08-27 01:11:43 -0700168
tom66a7eb22014-09-22 11:58:56 -0700169 <dependency>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-lang3</artifactId>
172 <version>3.3.2</version>
173 </dependency>
174
Brian O'Connorf3d06162014-10-02 15:54:12 -0700175 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800176 <groupId>commons-configuration</groupId>
177 <artifactId>commons-configuration</artifactId>
178 <version>1.10</version>
179 </dependency>
180
181 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-collections4</artifactId>
184 <version>4.0</version>
185 </dependency>
186
187 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700188 <groupId>org.codehaus.jackson</groupId>
189 <artifactId>jackson-core-asl</artifactId>
190 <version>1.9.13</version>
191 </dependency>
192 <dependency>
193 <groupId>org.codehaus.jackson</groupId>
194 <artifactId>jackson-mapper-asl</artifactId>
195 <version>1.9.13</version>
196 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700197
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700198 <dependency>
199 <groupId>org.easymock</groupId>
200 <artifactId>easymock</artifactId>
201 <version>3.2</version>
202 <scope>test</scope>
203 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700204
tom0eb04ca2014-08-25 14:34:51 -0700205 <!-- Web related -->
206 <dependency>
207 <groupId>com.sun.jersey</groupId>
208 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700209 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700210 <scope>provided</scope>
211 </dependency>
212 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700213 <groupId>com.sun.jersey.contribs</groupId>
214 <artifactId>jersey-multipart</artifactId>
215 <version>${jersey.version}</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700219 <groupId>com.sun.jersey.jersey-test-framework</groupId>
220 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700221 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700222 <scope>test</scope>
223 </dependency>
224 <dependency>
225 <groupId>com.sun.jersey.jersey-test-framework</groupId>
226 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700227 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700228 <scope>test</scope>
229 </dependency>
230 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700231 <groupId>com.fasterxml.jackson.core</groupId>
232 <artifactId>jackson-databind</artifactId>
233 <version>2.4.2</version>
234 <scope>provided</scope>
235 </dependency>
236 <dependency>
237 <groupId>com.fasterxml.jackson.core</groupId>
238 <artifactId>jackson-annotations</artifactId>
239 <version>2.4.2</version>
240 <scope>provided</scope>
241 </dependency>
242
243 <!-- OSGi related -->
244 <dependency>
245 <groupId>org.osgi</groupId>
246 <artifactId>org.osgi.core</artifactId>
247 <version>4.3.1</version>
248 <scope>provided</scope>
249 </dependency>
250 <dependency>
tomc16656f2014-10-15 18:30:31 -0700251 <groupId>org.osgi</groupId>
252 <artifactId>org.osgi.compendium</artifactId>
253 <version>4.3.1</version>
254 <scope>provided</scope>
255 </dependency>
256 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700257 <groupId>org.apache.felix</groupId>
258 <artifactId>org.apache.felix.scr.annotations</artifactId>
259 <version>1.9.8</version>
260 <scope>provided</scope>
261 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700262
263 <dependency>
264 <groupId>org.apache.karaf.features</groupId>
265 <artifactId>org.apache.karaf.features.core</artifactId>
266 <version>${karaf.version}</version>
267 <scope>provided</scope>
268 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700269 <dependency>
270 <groupId>org.apache.karaf.system</groupId>
271 <artifactId>org.apache.karaf.system.core</artifactId>
272 <version>${karaf.version}</version>
273 <scope>provided</scope>
274 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700275 <dependency>
276 <groupId>org.apache.karaf.shell</groupId>
277 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700278 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700279 <scope>provided</scope>
280 </dependency>
281
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700282 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700283 <groupId>org.livetribe.slp</groupId>
284 <artifactId>livetribe-slp</artifactId>
285 <version>2.2.1</version>
286 </dependency>
287
288 <dependency>
tomdc66b382014-09-22 17:05:47 -0700289 <groupId>com.eclipsesource.minimal-json</groupId>
290 <artifactId>minimal-json</artifactId>
291 <version>0.9.1</version>
292 </dependency>
293 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700294 <groupId>com.esotericsoftware</groupId>
295 <artifactId>kryo</artifactId>
296 <version>3.0.0</version>
297 </dependency>
298 <dependency>
299 <groupId>com.esotericsoftware</groupId>
300 <artifactId>reflectasm</artifactId>
301 <version>1.10.0</version>
302 <type>bundle</type>
303 </dependency>
304 <dependency>
305 <groupId>org.ow2.asm</groupId>
306 <artifactId>asm</artifactId>
307 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700308 </dependency>
309 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700310 <groupId>com.esotericsoftware</groupId>
311 <artifactId>minlog</artifactId>
312 <version>1.3.0</version>
313 </dependency>
314 <dependency>
315 <groupId>org.objenesis</groupId>
316 <artifactId>objenesis</artifactId>
317 <version>2.1</version>
318 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700319
tom0eb04ca2014-08-25 14:34:51 -0700320 <!-- ONOS related -->
321 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800322 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700323 <artifactId>onlab-misc</artifactId>
324 <version>${project.version}</version>
325 </dependency>
tom931af4e2014-09-13 12:00:57 -0700326 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800327 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700328 <artifactId>onlab-nio</artifactId>
329 <version>${project.version}</version>
330 </dependency>
331 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800332 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700333 <artifactId>onlab-osgi</artifactId>
334 <version>${project.version}</version>
335 </dependency>
336 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800337 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800338 <artifactId>onlab-osgi</artifactId>
339 <version>${project.version}</version>
340 <classifier>tests</classifier>
341 <scope>test</scope>
342 </dependency>
343 <dependency>
344 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700345 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700346 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700347 <scope>test</scope>
348 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700349
350 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800351 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700352 <artifactId>onos-api</artifactId>
353 <version>${project.version}</version>
354 </dependency>
355 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800356 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700357 <artifactId>onos-api</artifactId>
358 <version>${project.version}</version>
359 <classifier>tests</classifier>
360 <scope>test</scope>
361 </dependency>
362
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700363 <dependency>
364 <groupId>org.onosproject</groupId>
365 <artifactId>onos-incubator-api</artifactId>
366 <version>${project.version}</version>
367 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800368
369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-core-common</artifactId>
372 <version>${project.version}</version>
373 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700374 <dependency>
375 <groupId>org.onosproject</groupId>
376 <artifactId>onos-core-common</artifactId>
377 <version>${project.version}</version>
378 <classifier>tests</classifier>
379 <scope>test</scope>
380 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800381
tom61359e92014-09-16 15:50:27 -0700382 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800383 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700384 <artifactId>onos-of-api</artifactId>
385 <version>${project.version}</version>
386 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700387
388 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800389 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800390 <artifactId>onos-app-pcep-api</artifactId>
391 <version>${project.version}</version>
392 </dependency>
393 <dependency>
394 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700395 <artifactId>onlab-thirdparty</artifactId>
396 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700397 </dependency>
398
tom61359e92014-09-16 15:50:27 -0700399 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800400 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700401 <artifactId>onos-of-api</artifactId>
402 <version>${project.version}</version>
403 <classifier>tests</classifier>
404 <scope>test</scope>
405 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700406 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700407 <groupId>commons-pool</groupId>
408 <artifactId>commons-pool</artifactId>
409 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700410 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700411 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700412 <groupId>io.netty</groupId>
413 <artifactId>netty-common</artifactId>
414 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700415 </dependency>
416 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700417 <groupId>io.netty</groupId>
418 <artifactId>netty-buffer</artifactId>
419 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700420 </dependency>
421 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700422 <groupId>io.netty</groupId>
423 <artifactId>netty-transport</artifactId>
424 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700425 </dependency>
426 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700427 <groupId>io.netty</groupId>
428 <artifactId>netty-handler</artifactId>
429 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700430 </dependency>
431 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700432 <groupId>io.netty</groupId>
433 <artifactId>netty-codec</artifactId>
434 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700435 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700436 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700437 <groupId>io.netty</groupId>
438 <artifactId>netty-transport-native-epoll</artifactId>
439 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800440 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700441 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700442 <dependency>
443 <groupId>joda-time</groupId>
444 <artifactId>joda-time</artifactId>
445 <version>2.5</version>
446 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700447 </dependencies>
448 </dependencyManagement>
449
450 <dependencies>
451 <dependency>
452 <groupId>junit</groupId>
453 <artifactId>junit</artifactId>
454 </dependency>
455 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700456 <groupId>org.hamcrest</groupId>
457 <artifactId>hamcrest-core</artifactId>
458 </dependency>
459 <dependency>
460 <groupId>org.hamcrest</groupId>
461 <artifactId>hamcrest-library</artifactId>
462 </dependency>
463 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700464 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700465 <artifactId>slf4j-api</artifactId>
466 </dependency>
467 <dependency>
468 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700469 <artifactId>slf4j-jdk14</artifactId>
470 </dependency>
471 </dependencies>
tom09419512014-08-15 11:28:43 -0700472
473 <build>
474 <pluginManagement>
475 <plugins>
476 <plugin>
477 <groupId>org.apache.maven.plugins</groupId>
478 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700479 <!-- TODO: update once following issue is fixed. -->
480 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
481 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700482 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800483 <source>1.8</source>
484 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700485 </configuration>
486 </plugin>
487
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700491 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700492 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700493 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700494 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700495 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
496 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700497 </configuration>
tom09419512014-08-15 11:28:43 -0700498 </plugin>
499
500 <plugin>
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-jar-plugin</artifactId>
503 <version>2.3.1</version>
504 <executions>
505 <execution>
506 <phase>package</phase>
507 <goals>
508 <goal>test-jar</goal>
509 </goals>
510 </execution>
511 </executions>
512 </plugin>
513
514 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700515 <groupId>org.apache.maven.plugins</groupId>
516 <artifactId>maven-resources-plugin</artifactId>
517 <version>2.6</version>
518 </plugin>
519
520 <plugin>
tom09419512014-08-15 11:28:43 -0700521 <groupId>org.apache.felix</groupId>
522 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800523 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700524 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800525 <!--
526 Drop following dependency when the below bug fix is published
527 https://issues.apache.org/jira/browse/FELIX-4556
528 -->
529 <dependencies>
530 <dependency>
531 <groupId>biz.aQute.bnd</groupId>
532 <artifactId>bndlib</artifactId>
533 <version>2.4.0</version>
534 </dependency>
535 </dependencies>
tom09419512014-08-15 11:28:43 -0700536 </plugin>
537
538 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800539 <groupId>org.apache.maven.plugins</groupId>
540 <artifactId>maven-shade-plugin</artifactId>
541 <version>2.3</version>
542 </plugin>
543
544 <plugin>
tom09419512014-08-15 11:28:43 -0700545 <groupId>org.apache.felix</groupId>
546 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800547 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700548 <executions>
549 <execution>
550 <id>generate-scr-srcdescriptor</id>
551 <goals>
552 <goal>scr</goal>
553 </goals>
554 </execution>
555 </executions>
556 <configuration>
557 <supportedProjectTypes>
558 <supportedProjectType>bundle</supportedProjectType>
559 <supportedProjectType>war</supportedProjectType>
560 </supportedProjectTypes>
561 </configuration>
562 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800563 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800564 <groupId>org.codehaus.mojo</groupId>
565 <artifactId>findbugs-maven-plugin</artifactId>
566 <version>3.0.0</version>
567 <dependencies>
568 <dependency>
569 <groupId>org.onosproject</groupId>
570 <artifactId>onos-build-conf</artifactId>
571 <version>1.0</version>
572 </dependency>
573 </dependencies>
574 <configuration>
575 <effort>Max</effort>
576 <excludeFilterFile>onos/findbugs-suppressions.xml
577 </excludeFilterFile>
578 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800579 </plugin>
tom09419512014-08-15 11:28:43 -0700580
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700581 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700582 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700583 <groupId>org.onosproject</groupId>
584 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700585 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700586 <executions>
587 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700588 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700589 <phase>generate-resources</phase>
590 <goals>
591 <goal>cfg</goal>
592 </goals>
593 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700594 <execution>
595 <id>app</id>
596 <phase>package</phase>
597 <goals>
598 <goal>app</goal>
599 </goals>
600 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700601 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700602 </plugin>
tom09419512014-08-15 11:28:43 -0700603 </plugins>
tom09419512014-08-15 11:28:43 -0700604 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700605
606 <plugins>
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700609 <artifactId>maven-jar-plugin</artifactId>
610 </plugin>
611
612 <plugin>
613 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700614 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700615 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700616 <dependencies>
617 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800618 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700619 <artifactId>onos-build-conf</artifactId>
620 <version>1.0</version>
621 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800622 <!-- For Java 8 lambda support-->
623 <dependency>
624 <groupId>com.puppycrawl.tools</groupId>
625 <artifactId>checkstyle</artifactId>
626 <version>5.9</version>
627 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700628 </dependencies>
629 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800630 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800631 <sourceDirectory>${project.build.sourceDirectory}
632 </sourceDirectory>
633 <testSourceDirectory>${project.build.testSourceDirectory}
634 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800635 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700636 <configLocation>onos/checkstyle.xml</configLocation>
637 <suppressionsLocation>onos/suppressions.xml
638 </suppressionsLocation>
639 <failsOnError>false</failsOnError>
640 <logViolationsToConsole>true</logViolationsToConsole>
641 <includeTestSourceDirectory>true
642 </includeTestSourceDirectory>
643 </configuration>
644 <executions>
645 <execution>
646 <id>validate-checkstyle</id>
647 <phase>verify</phase>
648 <goals>
649 <goal>check</goal>
650 </goals>
651 </execution>
652 </executions>
653 </plugin>
654
655 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700656 <groupId>org.apache.maven.plugins</groupId>
657 <artifactId>maven-pmd-plugin</artifactId>
658 <version>3.2</version>
659 <configuration>
660 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700661 </excludes>
662 <rulesets>
663 <ruleset>onos/pmd.xml</ruleset>
664 </rulesets>
665 </configuration>
666 <executions>
667 <execution>
668 <id>validate-pmd</id>
669 <phase>verify</phase>
670 <goals>
671 <!-- Uncomment this goal to make the build fail on pmd errors -->
672 <!--<goal>check</goal>-->
673 </goals>
674 </execution>
675 </executions>
676 </plugin>
677
678 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700679 <groupId>org.jacoco</groupId>
680 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800681 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700682 <executions>
683 <execution>
684 <id>default-prepare-agent</id>
685 <goals>
686 <goal>prepare-agent</goal>
687 </goals>
688 </execution>
689 <execution>
690 <id>default-report</id>
691 <phase>prepare-package</phase>
692 <goals>
693 <goal>report</goal>
694 </goals>
695 </execution>
696 </executions>
697 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700698 </plugins>
tom09419512014-08-15 11:28:43 -0700699 </build>
alshabib522d9872014-08-15 10:35:16 -0700700
tom0eb04ca2014-08-25 14:34:51 -0700701 <reporting>
702 <plugins>
703 <plugin>
704 <groupId>org.apache.maven.plugins</groupId>
705 <artifactId>maven-checkstyle-plugin</artifactId>
706 <version>2.12.1</version>
707 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800708 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700709 </configuration>
710 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700711
712 <plugin>
713 <groupId>org.apache.maven.plugins</groupId>
714 <artifactId>maven-pmd-plugin</artifactId>
715 <version>3.2</version>
716 <configuration>
717 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700718 </excludes>
719 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800720 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700721 </rulesets>
722 </configuration>
723 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700724 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700725 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700726</project>