blob: 63b4ef97423425398829cf445a1472bb82b5a000 [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>
alshabibe4344332015-01-28 15:30:13 -080075 <openflowj.version>0.3.9.oe</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
Madan Jampanid5fd8472015-03-25 12:14:41 -070087 <!--- Needed for copycat. Remove before official release -->
88 <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>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700390 <artifactId>onlab-thirdparty</artifactId>
391 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700392 </dependency>
393
tom61359e92014-09-16 15:50:27 -0700394 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800395 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700396 <artifactId>onos-of-api</artifactId>
397 <version>${project.version}</version>
398 <classifier>tests</classifier>
399 <scope>test</scope>
400 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700401 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700402 <groupId>commons-pool</groupId>
403 <artifactId>commons-pool</artifactId>
404 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700405 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700406 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700407 <groupId>io.netty</groupId>
408 <artifactId>netty-common</artifactId>
409 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700410 </dependency>
411 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700412 <groupId>io.netty</groupId>
413 <artifactId>netty-buffer</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-transport</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-handler</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-codec</artifactId>
429 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700430 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700431 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700432 <groupId>io.netty</groupId>
433 <artifactId>netty-transport-native-epoll</artifactId>
434 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800435 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700436 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700437 <dependency>
438 <groupId>joda-time</groupId>
439 <artifactId>joda-time</artifactId>
440 <version>2.5</version>
441 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700442 </dependencies>
443 </dependencyManagement>
444
445 <dependencies>
446 <dependency>
447 <groupId>junit</groupId>
448 <artifactId>junit</artifactId>
449 </dependency>
450 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700451 <groupId>org.hamcrest</groupId>
452 <artifactId>hamcrest-core</artifactId>
453 </dependency>
454 <dependency>
455 <groupId>org.hamcrest</groupId>
456 <artifactId>hamcrest-library</artifactId>
457 </dependency>
458 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700459 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700460 <artifactId>slf4j-api</artifactId>
461 </dependency>
462 <dependency>
463 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700464 <artifactId>slf4j-jdk14</artifactId>
465 </dependency>
466 </dependencies>
tom09419512014-08-15 11:28:43 -0700467
468 <build>
469 <pluginManagement>
470 <plugins>
471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700474 <!-- TODO: update once following issue is fixed. -->
475 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
476 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700477 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800478 <source>1.8</source>
479 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700480 </configuration>
481 </plugin>
482
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700486 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700487 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700488 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700489 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700490 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
491 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700492 </configuration>
tom09419512014-08-15 11:28:43 -0700493 </plugin>
494
495 <plugin>
496 <groupId>org.apache.maven.plugins</groupId>
497 <artifactId>maven-jar-plugin</artifactId>
498 <version>2.3.1</version>
499 <executions>
500 <execution>
501 <phase>package</phase>
502 <goals>
503 <goal>test-jar</goal>
504 </goals>
505 </execution>
506 </executions>
507 </plugin>
508
509 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700510 <groupId>org.apache.maven.plugins</groupId>
511 <artifactId>maven-resources-plugin</artifactId>
512 <version>2.6</version>
513 </plugin>
514
515 <plugin>
tom09419512014-08-15 11:28:43 -0700516 <groupId>org.apache.felix</groupId>
517 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800518 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700519 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800520 <!--
521 Drop following dependency when the below bug fix is published
522 https://issues.apache.org/jira/browse/FELIX-4556
523 -->
524 <dependencies>
525 <dependency>
526 <groupId>biz.aQute.bnd</groupId>
527 <artifactId>bndlib</artifactId>
528 <version>2.4.0</version>
529 </dependency>
530 </dependencies>
tom09419512014-08-15 11:28:43 -0700531 </plugin>
532
533 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800534 <groupId>org.apache.maven.plugins</groupId>
535 <artifactId>maven-shade-plugin</artifactId>
536 <version>2.3</version>
537 </plugin>
538
539 <plugin>
tom09419512014-08-15 11:28:43 -0700540 <groupId>org.apache.felix</groupId>
541 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800542 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700543 <executions>
544 <execution>
545 <id>generate-scr-srcdescriptor</id>
546 <goals>
547 <goal>scr</goal>
548 </goals>
549 </execution>
550 </executions>
551 <configuration>
552 <supportedProjectTypes>
553 <supportedProjectType>bundle</supportedProjectType>
554 <supportedProjectType>war</supportedProjectType>
555 </supportedProjectTypes>
556 </configuration>
557 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800558 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800559 <groupId>org.codehaus.mojo</groupId>
560 <artifactId>findbugs-maven-plugin</artifactId>
561 <version>3.0.0</version>
562 <dependencies>
563 <dependency>
564 <groupId>org.onosproject</groupId>
565 <artifactId>onos-build-conf</artifactId>
566 <version>1.0</version>
567 </dependency>
568 </dependencies>
569 <configuration>
570 <effort>Max</effort>
571 <excludeFilterFile>onos/findbugs-suppressions.xml
572 </excludeFilterFile>
573 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800574 </plugin>
tom09419512014-08-15 11:28:43 -0700575
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700576 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700577 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700578 <groupId>org.onosproject</groupId>
579 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700580 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700581 <executions>
582 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700583 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700584 <phase>generate-resources</phase>
585 <goals>
586 <goal>cfg</goal>
587 </goals>
588 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700589 <execution>
590 <id>app</id>
591 <phase>package</phase>
592 <goals>
593 <goal>app</goal>
594 </goals>
595 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700596 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700597 </plugin>
tom09419512014-08-15 11:28:43 -0700598 </plugins>
tom09419512014-08-15 11:28:43 -0700599 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700600
601 <plugins>
602 <plugin>
603 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700604 <artifactId>maven-jar-plugin</artifactId>
605 </plugin>
606
607 <plugin>
608 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700609 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700610 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700611 <dependencies>
612 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800613 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700614 <artifactId>onos-build-conf</artifactId>
615 <version>1.0</version>
616 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800617 <!-- For Java 8 lambda support-->
618 <dependency>
619 <groupId>com.puppycrawl.tools</groupId>
620 <artifactId>checkstyle</artifactId>
621 <version>5.9</version>
622 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700623 </dependencies>
624 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800625 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800626 <sourceDirectory>${project.build.sourceDirectory}
627 </sourceDirectory>
628 <testSourceDirectory>${project.build.testSourceDirectory}
629 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800630 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700631 <configLocation>onos/checkstyle.xml</configLocation>
632 <suppressionsLocation>onos/suppressions.xml
633 </suppressionsLocation>
634 <failsOnError>false</failsOnError>
635 <logViolationsToConsole>true</logViolationsToConsole>
636 <includeTestSourceDirectory>true
637 </includeTestSourceDirectory>
638 </configuration>
639 <executions>
640 <execution>
641 <id>validate-checkstyle</id>
642 <phase>verify</phase>
643 <goals>
644 <goal>check</goal>
645 </goals>
646 </execution>
647 </executions>
648 </plugin>
649
650 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700651 <groupId>org.apache.maven.plugins</groupId>
652 <artifactId>maven-pmd-plugin</artifactId>
653 <version>3.2</version>
654 <configuration>
655 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700656 </excludes>
657 <rulesets>
658 <ruleset>onos/pmd.xml</ruleset>
659 </rulesets>
660 </configuration>
661 <executions>
662 <execution>
663 <id>validate-pmd</id>
664 <phase>verify</phase>
665 <goals>
666 <!-- Uncomment this goal to make the build fail on pmd errors -->
667 <!--<goal>check</goal>-->
668 </goals>
669 </execution>
670 </executions>
671 </plugin>
672
673 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700674 <groupId>org.jacoco</groupId>
675 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800676 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700677 <executions>
678 <execution>
679 <id>default-prepare-agent</id>
680 <goals>
681 <goal>prepare-agent</goal>
682 </goals>
683 </execution>
684 <execution>
685 <id>default-report</id>
686 <phase>prepare-package</phase>
687 <goals>
688 <goal>report</goal>
689 </goals>
690 </execution>
691 </executions>
692 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700693 </plugins>
tom09419512014-08-15 11:28:43 -0700694 </build>
alshabib522d9872014-08-15 10:35:16 -0700695
tom0eb04ca2014-08-25 14:34:51 -0700696 <reporting>
697 <plugins>
698 <plugin>
699 <groupId>org.apache.maven.plugins</groupId>
700 <artifactId>maven-checkstyle-plugin</artifactId>
701 <version>2.12.1</version>
702 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800703 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700704 </configuration>
705 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700706
707 <plugin>
708 <groupId>org.apache.maven.plugins</groupId>
709 <artifactId>maven-pmd-plugin</artifactId>
710 <version>3.2</version>
711 <configuration>
712 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700713 </excludes>
714 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800715 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700716 </rulesets>
717 </configuration>
718 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700719 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700720 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700721</project>