blob: 6594c4ea37ace0820d3e45575262c37390a56a96 [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
Madan Jampanid5fd8472015-03-25 12:14:41 -070085 <!--- Needed for copycat. Remove before official release -->
86 <repositories>
87 <repository>
88 <id>snapshots</id>
89 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
90 </repository>
91 </repositories>
92
tom0eb04ca2014-08-25 14:34:51 -070093 <dependencyManagement>
94 <dependencies>
95 <dependency>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
98 <version>4.11</version>
99 <scope>test</scope>
100 </dependency>
tom09419512014-08-15 11:28:43 -0700101
tom0eb04ca2014-08-25 14:34:51 -0700102 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700103 <groupId>org.hamcrest</groupId>
104 <artifactId>hamcrest-core</artifactId>
105 <version>1.3</version>
106 <scope>test</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.hamcrest</groupId>
110 <artifactId>hamcrest-library</artifactId>
111 <version>1.3</version>
112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700116 <groupId>org.slf4j</groupId>
117 <artifactId>slf4j-api</artifactId>
118 <version>1.7.6</version>
119 <scope>provided</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700124 <artifactId>slf4j-core</artifactId>
125 <version>1.7.6</version>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
130 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700131 <artifactId>slf4j-jdk14</artifactId>
132 <version>1.7.6</version>
133 <scope>test</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>com.google.guava</groupId>
138 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700139 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700140 </dependency>
141
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700142 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700143 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700144 <artifactId>netty</artifactId>
145 <version>3.9.0.Final</version>
146 </dependency>
147
tomde8d9682014-08-27 01:11:43 -0700148 <dependency>
149 <groupId>com.google.guava</groupId>
150 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700151 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700152 <scope>test</scope>
153 </dependency>
154
tom6d2a43e2014-09-08 01:50:20 -0700155 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700156 <groupId>com.googlecode.concurrent-trees</groupId>
157 <artifactId>concurrent-trees</artifactId>
158 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700159 </dependency>
160
161 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700162 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700163 <artifactId>commons-lang</artifactId>
164 <version>2.6</version>
165 </dependency>
tomde8d9682014-08-27 01:11:43 -0700166
tom66a7eb22014-09-22 11:58:56 -0700167 <dependency>
168 <groupId>org.apache.commons</groupId>
169 <artifactId>commons-lang3</artifactId>
170 <version>3.3.2</version>
171 </dependency>
172
Brian O'Connorf3d06162014-10-02 15:54:12 -0700173 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800174 <groupId>commons-configuration</groupId>
175 <artifactId>commons-configuration</artifactId>
176 <version>1.10</version>
177 </dependency>
178
179 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800180 <groupId>org.apache.commons</groupId>
181 <artifactId>commons-collections4</artifactId>
182 <version>4.0</version>
183 </dependency>
184
185 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700186 <groupId>org.codehaus.jackson</groupId>
187 <artifactId>jackson-core-asl</artifactId>
188 <version>1.9.13</version>
189 </dependency>
190 <dependency>
191 <groupId>org.codehaus.jackson</groupId>
192 <artifactId>jackson-mapper-asl</artifactId>
193 <version>1.9.13</version>
194 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700195
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700196 <dependency>
197 <groupId>org.easymock</groupId>
198 <artifactId>easymock</artifactId>
199 <version>3.2</version>
200 <scope>test</scope>
201 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700202
tom0eb04ca2014-08-25 14:34:51 -0700203 <!-- Web related -->
204 <dependency>
205 <groupId>com.sun.jersey</groupId>
206 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700207 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700208 <scope>provided</scope>
209 </dependency>
210 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700211 <groupId>com.sun.jersey.jersey-test-framework</groupId>
212 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700213 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>com.sun.jersey.jersey-test-framework</groupId>
218 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700219 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700220 <scope>test</scope>
221 </dependency>
222 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700223 <groupId>com.fasterxml.jackson.core</groupId>
224 <artifactId>jackson-databind</artifactId>
225 <version>2.4.2</version>
226 <scope>provided</scope>
227 </dependency>
228 <dependency>
229 <groupId>com.fasterxml.jackson.core</groupId>
230 <artifactId>jackson-annotations</artifactId>
231 <version>2.4.2</version>
232 <scope>provided</scope>
233 </dependency>
234
235 <!-- OSGi related -->
236 <dependency>
237 <groupId>org.osgi</groupId>
238 <artifactId>org.osgi.core</artifactId>
239 <version>4.3.1</version>
240 <scope>provided</scope>
241 </dependency>
242 <dependency>
tomc16656f2014-10-15 18:30:31 -0700243 <groupId>org.osgi</groupId>
244 <artifactId>org.osgi.compendium</artifactId>
245 <version>4.3.1</version>
246 <scope>provided</scope>
247 </dependency>
248 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700249 <groupId>org.apache.felix</groupId>
250 <artifactId>org.apache.felix.scr.annotations</artifactId>
251 <version>1.9.8</version>
252 <scope>provided</scope>
253 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700254
255 <dependency>
256 <groupId>org.apache.karaf.features</groupId>
257 <artifactId>org.apache.karaf.features.core</artifactId>
258 <version>${karaf.version}</version>
259 <scope>provided</scope>
260 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700261 <dependency>
262 <groupId>org.apache.karaf.system</groupId>
263 <artifactId>org.apache.karaf.system.core</artifactId>
264 <version>${karaf.version}</version>
265 <scope>provided</scope>
266 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700267 <dependency>
268 <groupId>org.apache.karaf.shell</groupId>
269 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700270 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700271 <scope>provided</scope>
272 </dependency>
273
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700274 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700275 <groupId>org.livetribe.slp</groupId>
276 <artifactId>livetribe-slp</artifactId>
277 <version>2.2.1</version>
278 </dependency>
279
280 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700281 <groupId>com.hazelcast</groupId>
282 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800283 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700284 </dependency>
285 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800286 <groupId>com.hazelcast</groupId>
287 <artifactId>hazelcast</artifactId>
288 <version>3.4</version>
289 <classifier>tests</classifier>
290 <scope>test</scope>
291 </dependency>
292 <dependency>
tomdc66b382014-09-22 17:05:47 -0700293 <groupId>com.eclipsesource.minimal-json</groupId>
294 <artifactId>minimal-json</artifactId>
295 <version>0.9.1</version>
296 </dependency>
297 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700298 <groupId>com.esotericsoftware</groupId>
299 <artifactId>kryo</artifactId>
300 <version>3.0.0</version>
301 </dependency>
302 <dependency>
303 <groupId>com.esotericsoftware</groupId>
304 <artifactId>reflectasm</artifactId>
305 <version>1.10.0</version>
306 <type>bundle</type>
307 </dependency>
308 <dependency>
309 <groupId>org.ow2.asm</groupId>
310 <artifactId>asm</artifactId>
311 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700312 </dependency>
313 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700314 <groupId>com.esotericsoftware</groupId>
315 <artifactId>minlog</artifactId>
316 <version>1.3.0</version>
317 </dependency>
318 <dependency>
319 <groupId>org.objenesis</groupId>
320 <artifactId>objenesis</artifactId>
321 <version>2.1</version>
322 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700323
tom0eb04ca2014-08-25 14:34:51 -0700324 <!-- ONOS related -->
325 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800326 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700327 <artifactId>onlab-misc</artifactId>
328 <version>${project.version}</version>
329 </dependency>
tom931af4e2014-09-13 12:00:57 -0700330 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800331 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700332 <artifactId>onlab-nio</artifactId>
333 <version>${project.version}</version>
334 </dependency>
335 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800336 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700337 <artifactId>onlab-osgi</artifactId>
338 <version>${project.version}</version>
339 </dependency>
340 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800341 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800342 <artifactId>onlab-osgi</artifactId>
343 <version>${project.version}</version>
344 <classifier>tests</classifier>
345 <scope>test</scope>
346 </dependency>
347 <dependency>
348 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700349 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700350 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700351 <scope>test</scope>
352 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700353
354 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800355 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700356 <artifactId>onos-api</artifactId>
357 <version>${project.version}</version>
358 </dependency>
359 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800360 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700361 <artifactId>onos-api</artifactId>
362 <version>${project.version}</version>
363 <classifier>tests</classifier>
364 <scope>test</scope>
365 </dependency>
366
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800367
368 <dependency>
369 <groupId>org.onosproject</groupId>
370 <artifactId>onos-core-common</artifactId>
371 <version>${project.version}</version>
372 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700373 <dependency>
374 <groupId>org.onosproject</groupId>
375 <artifactId>onos-core-common</artifactId>
376 <version>${project.version}</version>
377 <classifier>tests</classifier>
378 <scope>test</scope>
379 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800380
tom61359e92014-09-16 15:50:27 -0700381 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800382 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700383 <artifactId>onos-of-api</artifactId>
384 <version>${project.version}</version>
385 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700386
387 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800388 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700389 <artifactId>onlab-thirdparty</artifactId>
390 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700391 </dependency>
392
tom61359e92014-09-16 15:50:27 -0700393 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800394 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700395 <artifactId>onos-of-api</artifactId>
396 <version>${project.version}</version>
397 <classifier>tests</classifier>
398 <scope>test</scope>
399 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700400 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700401 <groupId>commons-pool</groupId>
402 <artifactId>commons-pool</artifactId>
403 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700404 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700405 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700406 <groupId>io.netty</groupId>
407 <artifactId>netty-common</artifactId>
408 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700409 </dependency>
410 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700411 <groupId>io.netty</groupId>
412 <artifactId>netty-buffer</artifactId>
413 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700414 </dependency>
415 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700416 <groupId>io.netty</groupId>
417 <artifactId>netty-transport</artifactId>
418 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700419 </dependency>
420 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700421 <groupId>io.netty</groupId>
422 <artifactId>netty-handler</artifactId>
423 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700424 </dependency>
425 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700426 <groupId>io.netty</groupId>
427 <artifactId>netty-codec</artifactId>
428 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700429 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700430 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700431 <groupId>io.netty</groupId>
432 <artifactId>netty-transport-native-epoll</artifactId>
433 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800434 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700435 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700436 <dependency>
437 <groupId>joda-time</groupId>
438 <artifactId>joda-time</artifactId>
439 <version>2.5</version>
440 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700441 </dependencies>
442 </dependencyManagement>
443
444 <dependencies>
445 <dependency>
446 <groupId>junit</groupId>
447 <artifactId>junit</artifactId>
448 </dependency>
449 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700450 <groupId>org.hamcrest</groupId>
451 <artifactId>hamcrest-core</artifactId>
452 </dependency>
453 <dependency>
454 <groupId>org.hamcrest</groupId>
455 <artifactId>hamcrest-library</artifactId>
456 </dependency>
457 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700458 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700459 <artifactId>slf4j-api</artifactId>
460 </dependency>
461 <dependency>
462 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700463 <artifactId>slf4j-jdk14</artifactId>
464 </dependency>
465 </dependencies>
tom09419512014-08-15 11:28:43 -0700466
467 <build>
468 <pluginManagement>
469 <plugins>
470 <plugin>
471 <groupId>org.apache.maven.plugins</groupId>
472 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700473 <!-- TODO: update once following issue is fixed. -->
474 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
475 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700476 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800477 <source>1.8</source>
478 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700479 </configuration>
480 </plugin>
481
482 <plugin>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-surefire-plugin</artifactId>
485 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700486 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700487 <redirectTestOutputToFile>true
488 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700489 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800490 <excludedGroups>org.onlab.junit.IntegrationTest
491 </excludedGroups>
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'Connor3e0ab5f2015-03-17 20:08:59 -0700580 <version>1.1.0</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700581 <executions>
582 <execution>
583 <phase>generate-resources</phase>
584 <goals>
585 <goal>cfg</goal>
586 </goals>
587 </execution>
588 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700589 </plugin>
tom09419512014-08-15 11:28:43 -0700590 </plugins>
tom09419512014-08-15 11:28:43 -0700591 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700592
593 <plugins>
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700596 <artifactId>maven-jar-plugin</artifactId>
597 </plugin>
598
599 <plugin>
600 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700601 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700602 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700603 <dependencies>
604 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800605 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700606 <artifactId>onos-build-conf</artifactId>
607 <version>1.0</version>
608 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800609 <!-- For Java 8 lambda support-->
610 <dependency>
611 <groupId>com.puppycrawl.tools</groupId>
612 <artifactId>checkstyle</artifactId>
613 <version>5.9</version>
614 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700615 </dependencies>
616 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800617 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800618 <sourceDirectory>${project.build.sourceDirectory}
619 </sourceDirectory>
620 <testSourceDirectory>${project.build.testSourceDirectory}
621 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800622 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700623 <configLocation>onos/checkstyle.xml</configLocation>
624 <suppressionsLocation>onos/suppressions.xml
625 </suppressionsLocation>
626 <failsOnError>false</failsOnError>
627 <logViolationsToConsole>true</logViolationsToConsole>
628 <includeTestSourceDirectory>true
629 </includeTestSourceDirectory>
630 </configuration>
631 <executions>
632 <execution>
633 <id>validate-checkstyle</id>
634 <phase>verify</phase>
635 <goals>
636 <goal>check</goal>
637 </goals>
638 </execution>
639 </executions>
640 </plugin>
641
642 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700643 <groupId>org.apache.maven.plugins</groupId>
644 <artifactId>maven-pmd-plugin</artifactId>
645 <version>3.2</version>
646 <configuration>
647 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700648 </excludes>
649 <rulesets>
650 <ruleset>onos/pmd.xml</ruleset>
651 </rulesets>
652 </configuration>
653 <executions>
654 <execution>
655 <id>validate-pmd</id>
656 <phase>verify</phase>
657 <goals>
658 <!-- Uncomment this goal to make the build fail on pmd errors -->
659 <!--<goal>check</goal>-->
660 </goals>
661 </execution>
662 </executions>
663 </plugin>
664
665 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700666 <groupId>org.jacoco</groupId>
667 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800668 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700669 <executions>
670 <execution>
671 <id>default-prepare-agent</id>
672 <goals>
673 <goal>prepare-agent</goal>
674 </goals>
675 </execution>
676 <execution>
677 <id>default-report</id>
678 <phase>prepare-package</phase>
679 <goals>
680 <goal>report</goal>
681 </goals>
682 </execution>
683 </executions>
684 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700685 </plugins>
tom09419512014-08-15 11:28:43 -0700686 </build>
alshabib522d9872014-08-15 10:35:16 -0700687
tom0eb04ca2014-08-25 14:34:51 -0700688 <reporting>
689 <plugins>
690 <plugin>
691 <groupId>org.apache.maven.plugins</groupId>
692 <artifactId>maven-checkstyle-plugin</artifactId>
693 <version>2.12.1</version>
694 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800695 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700696 </configuration>
697 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700698
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-pmd-plugin</artifactId>
702 <version>3.2</version>
703 <configuration>
704 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700705 </excludes>
706 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800707 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700708 </rulesets>
709 </configuration>
710 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700711 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700712 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700713</project>