blob: b015bdbfd00b84ea342c23f69be4bda2bb11ebfe [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>
Brian O'Connorbf7eca52015-04-15 16:25:46 -070042 <module>tools/package/maven-plugin</module>
tom0eb04ca2014-08-25 14:34:51 -070043 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070044 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070045 <module>web</module>
46 <module>cli</module>
47 <module>providers</module>
alshabibfaa1e362015-04-02 15:01:54 -070048 <module>drivers</module>
tomf8b8d672014-09-17 13:07:23 -070049 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070050 <module>apps</module>
Thomas Vachuskad24aa7f2015-05-14 18:37:54 -070051 <module>incubator</module>
tom09419512014-08-15 11:28:43 -070052 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070053 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070054 </modules>
55
Brian O'Connor3439c102014-12-03 01:02:03 -080056 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070057
Brian O'Connor932d9412014-12-03 17:20:11 -080058 <scm>
59 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080060 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
61 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080062 <url>http://gerrit.onosproject.org/</url>
63 </scm>
64
tom09419512014-08-15 11:28:43 -070065 <licenses>
66 <license>
tom09419512014-08-15 11:28:43 -070067 <name>Apache License, Version 2.0</name>
68 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
69 </license>
70 </licenses>
71
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070072 <properties>
73 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070074 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampanied1b7fc2015-04-27 23:30:07 -070075 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080076 <openflowj.version>0.3.9.oe</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070077 <karaf.version>3.0.3</karaf.version>
78 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070079 </properties>
80
Brian O'Connor932d9412014-12-03 17:20:11 -080081 <distributionManagement>
82 <snapshotRepository>
83 <id>ossrh</id>
84 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
85 </snapshotRepository>
86 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080087
Madan Jampanid5fd8472015-03-25 12:14:41 -070088 <!--- Needed for copycat. Remove before official release -->
89 <repositories>
90 <repository>
91 <id>snapshots</id>
92 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
93 </repository>
94 </repositories>
95
tom0eb04ca2014-08-25 14:34:51 -070096 <dependencyManagement>
97 <dependencies>
98 <dependency>
99 <groupId>junit</groupId>
100 <artifactId>junit</artifactId>
101 <version>4.11</version>
102 <scope>test</scope>
103 </dependency>
tom09419512014-08-15 11:28:43 -0700104
tom0eb04ca2014-08-25 14:34:51 -0700105 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700106 <groupId>org.hamcrest</groupId>
107 <artifactId>hamcrest-core</artifactId>
108 <version>1.3</version>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-library</artifactId>
114 <version>1.3</version>
115 <scope>test</scope>
116 </dependency>
117
118 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-api</artifactId>
121 <version>1.7.6</version>
122 <scope>provided</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700127 <artifactId>slf4j-core</artifactId>
128 <version>1.7.6</version>
129 <scope>test</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700134 <artifactId>slf4j-jdk14</artifactId>
135 <version>1.7.6</version>
136 <scope>test</scope>
137 </dependency>
138
139 <dependency>
140 <groupId>com.google.guava</groupId>
141 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700142 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700143 </dependency>
144
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700145 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700146 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700147 <artifactId>netty</artifactId>
148 <version>3.9.0.Final</version>
149 </dependency>
150
tomde8d9682014-08-27 01:11:43 -0700151 <dependency>
152 <groupId>com.google.guava</groupId>
153 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700154 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700155 <scope>test</scope>
156 </dependency>
157
tom6d2a43e2014-09-08 01:50:20 -0700158 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700159 <groupId>com.googlecode.concurrent-trees</groupId>
160 <artifactId>concurrent-trees</artifactId>
161 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700162 </dependency>
163
164 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700165 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700166 <artifactId>commons-lang</artifactId>
167 <version>2.6</version>
168 </dependency>
tomde8d9682014-08-27 01:11:43 -0700169
tom66a7eb22014-09-22 11:58:56 -0700170 <dependency>
171 <groupId>org.apache.commons</groupId>
172 <artifactId>commons-lang3</artifactId>
173 <version>3.3.2</version>
174 </dependency>
175
Brian O'Connorf3d06162014-10-02 15:54:12 -0700176 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800177 <groupId>commons-configuration</groupId>
178 <artifactId>commons-configuration</artifactId>
179 <version>1.10</version>
180 </dependency>
181
182 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800183 <groupId>org.apache.commons</groupId>
184 <artifactId>commons-collections4</artifactId>
185 <version>4.0</version>
186 </dependency>
187
188 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700189 <groupId>org.codehaus.jackson</groupId>
190 <artifactId>jackson-core-asl</artifactId>
191 <version>1.9.13</version>
192 </dependency>
193 <dependency>
194 <groupId>org.codehaus.jackson</groupId>
195 <artifactId>jackson-mapper-asl</artifactId>
196 <version>1.9.13</version>
197 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700198
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700199 <dependency>
200 <groupId>org.easymock</groupId>
201 <artifactId>easymock</artifactId>
202 <version>3.2</version>
203 <scope>test</scope>
204 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700205
tom0eb04ca2014-08-25 14:34:51 -0700206 <!-- Web related -->
207 <dependency>
208 <groupId>com.sun.jersey</groupId>
209 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700210 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700211 <scope>provided</scope>
212 </dependency>
213 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700214 <groupId>com.sun.jersey.contribs</groupId>
215 <artifactId>jersey-multipart</artifactId>
216 <version>${jersey.version}</version>
217 <scope>provided</scope>
218 </dependency>
219 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700220 <groupId>com.sun.jersey.jersey-test-framework</groupId>
221 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700222 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700223 <scope>test</scope>
224 </dependency>
225 <dependency>
226 <groupId>com.sun.jersey.jersey-test-framework</groupId>
227 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700228 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700229 <scope>test</scope>
230 </dependency>
231 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700232 <groupId>com.fasterxml.jackson.core</groupId>
233 <artifactId>jackson-databind</artifactId>
234 <version>2.4.2</version>
235 <scope>provided</scope>
236 </dependency>
237 <dependency>
238 <groupId>com.fasterxml.jackson.core</groupId>
239 <artifactId>jackson-annotations</artifactId>
240 <version>2.4.2</version>
241 <scope>provided</scope>
242 </dependency>
243
244 <!-- OSGi related -->
245 <dependency>
246 <groupId>org.osgi</groupId>
247 <artifactId>org.osgi.core</artifactId>
248 <version>4.3.1</version>
249 <scope>provided</scope>
250 </dependency>
251 <dependency>
tomc16656f2014-10-15 18:30:31 -0700252 <groupId>org.osgi</groupId>
253 <artifactId>org.osgi.compendium</artifactId>
254 <version>4.3.1</version>
255 <scope>provided</scope>
256 </dependency>
257 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700258 <groupId>org.apache.felix</groupId>
259 <artifactId>org.apache.felix.scr.annotations</artifactId>
260 <version>1.9.8</version>
261 <scope>provided</scope>
262 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700263
264 <dependency>
265 <groupId>org.apache.karaf.features</groupId>
266 <artifactId>org.apache.karaf.features.core</artifactId>
267 <version>${karaf.version}</version>
268 <scope>provided</scope>
269 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700270 <dependency>
271 <groupId>org.apache.karaf.system</groupId>
272 <artifactId>org.apache.karaf.system.core</artifactId>
273 <version>${karaf.version}</version>
274 <scope>provided</scope>
275 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700276 <dependency>
277 <groupId>org.apache.karaf.shell</groupId>
278 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700279 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700280 <scope>provided</scope>
281 </dependency>
282
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700283 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700284 <groupId>org.livetribe.slp</groupId>
285 <artifactId>livetribe-slp</artifactId>
286 <version>2.2.1</version>
287 </dependency>
288
289 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700290 <groupId>com.hazelcast</groupId>
291 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800292 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700293 </dependency>
294 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800295 <groupId>com.hazelcast</groupId>
296 <artifactId>hazelcast</artifactId>
297 <version>3.4</version>
298 <classifier>tests</classifier>
299 <scope>test</scope>
300 </dependency>
301 <dependency>
tomdc66b382014-09-22 17:05:47 -0700302 <groupId>com.eclipsesource.minimal-json</groupId>
303 <artifactId>minimal-json</artifactId>
304 <version>0.9.1</version>
305 </dependency>
306 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700307 <groupId>com.esotericsoftware</groupId>
308 <artifactId>kryo</artifactId>
309 <version>3.0.0</version>
310 </dependency>
311 <dependency>
312 <groupId>com.esotericsoftware</groupId>
313 <artifactId>reflectasm</artifactId>
314 <version>1.10.0</version>
315 <type>bundle</type>
316 </dependency>
317 <dependency>
318 <groupId>org.ow2.asm</groupId>
319 <artifactId>asm</artifactId>
320 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700321 </dependency>
322 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700323 <groupId>com.esotericsoftware</groupId>
324 <artifactId>minlog</artifactId>
325 <version>1.3.0</version>
326 </dependency>
327 <dependency>
328 <groupId>org.objenesis</groupId>
329 <artifactId>objenesis</artifactId>
330 <version>2.1</version>
331 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700332
tom0eb04ca2014-08-25 14:34:51 -0700333 <!-- ONOS related -->
334 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800335 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700336 <artifactId>onlab-misc</artifactId>
337 <version>${project.version}</version>
338 </dependency>
tom931af4e2014-09-13 12:00:57 -0700339 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800340 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700341 <artifactId>onlab-nio</artifactId>
342 <version>${project.version}</version>
343 </dependency>
344 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800345 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700346 <artifactId>onlab-osgi</artifactId>
347 <version>${project.version}</version>
348 </dependency>
349 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800350 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800351 <artifactId>onlab-osgi</artifactId>
352 <version>${project.version}</version>
353 <classifier>tests</classifier>
354 <scope>test</scope>
355 </dependency>
356 <dependency>
357 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700358 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700359 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700360 <scope>test</scope>
361 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700362
363 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800364 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700365 <artifactId>onos-api</artifactId>
366 <version>${project.version}</version>
367 </dependency>
368 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800369 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700370 <artifactId>onos-api</artifactId>
371 <version>${project.version}</version>
372 <classifier>tests</classifier>
373 <scope>test</scope>
374 </dependency>
375
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800376
377 <dependency>
378 <groupId>org.onosproject</groupId>
379 <artifactId>onos-core-common</artifactId>
380 <version>${project.version}</version>
381 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-core-common</artifactId>
385 <version>${project.version}</version>
386 <classifier>tests</classifier>
387 <scope>test</scope>
388 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800389
tom61359e92014-09-16 15:50:27 -0700390 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800391 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700392 <artifactId>onos-of-api</artifactId>
393 <version>${project.version}</version>
394 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700395
396 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800397 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700398 <artifactId>onlab-thirdparty</artifactId>
399 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700400 </dependency>
401
tom61359e92014-09-16 15:50:27 -0700402 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800403 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700404 <artifactId>onos-of-api</artifactId>
405 <version>${project.version}</version>
406 <classifier>tests</classifier>
407 <scope>test</scope>
408 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700409 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700410 <groupId>commons-pool</groupId>
411 <artifactId>commons-pool</artifactId>
412 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700413 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700414 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700415 <groupId>io.netty</groupId>
416 <artifactId>netty-common</artifactId>
417 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700418 </dependency>
419 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700420 <groupId>io.netty</groupId>
421 <artifactId>netty-buffer</artifactId>
422 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700423 </dependency>
424 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700425 <groupId>io.netty</groupId>
426 <artifactId>netty-transport</artifactId>
427 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700428 </dependency>
429 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700430 <groupId>io.netty</groupId>
431 <artifactId>netty-handler</artifactId>
432 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700433 </dependency>
434 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700435 <groupId>io.netty</groupId>
436 <artifactId>netty-codec</artifactId>
437 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700438 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700439 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700440 <groupId>io.netty</groupId>
441 <artifactId>netty-transport-native-epoll</artifactId>
442 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800443 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700444 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700445 <dependency>
446 <groupId>joda-time</groupId>
447 <artifactId>joda-time</artifactId>
448 <version>2.5</version>
449 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700450 </dependencies>
451 </dependencyManagement>
452
453 <dependencies>
454 <dependency>
455 <groupId>junit</groupId>
456 <artifactId>junit</artifactId>
457 </dependency>
458 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700459 <groupId>org.hamcrest</groupId>
460 <artifactId>hamcrest-core</artifactId>
461 </dependency>
462 <dependency>
463 <groupId>org.hamcrest</groupId>
464 <artifactId>hamcrest-library</artifactId>
465 </dependency>
466 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700467 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700468 <artifactId>slf4j-api</artifactId>
469 </dependency>
470 <dependency>
471 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700472 <artifactId>slf4j-jdk14</artifactId>
473 </dependency>
474 </dependencies>
tom09419512014-08-15 11:28:43 -0700475
476 <build>
477 <pluginManagement>
478 <plugins>
479 <plugin>
480 <groupId>org.apache.maven.plugins</groupId>
481 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700482 <!-- TODO: update once following issue is fixed. -->
483 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
484 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700485 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800486 <source>1.8</source>
487 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700488 </configuration>
489 </plugin>
490
491 <plugin>
492 <groupId>org.apache.maven.plugins</groupId>
493 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700494 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700495 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700496 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700497 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700498 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
499 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700500 </configuration>
tom09419512014-08-15 11:28:43 -0700501 </plugin>
502
503 <plugin>
504 <groupId>org.apache.maven.plugins</groupId>
505 <artifactId>maven-jar-plugin</artifactId>
506 <version>2.3.1</version>
507 <executions>
508 <execution>
509 <phase>package</phase>
510 <goals>
511 <goal>test-jar</goal>
512 </goals>
513 </execution>
514 </executions>
515 </plugin>
516
517 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-resources-plugin</artifactId>
520 <version>2.6</version>
521 </plugin>
522
523 <plugin>
tom09419512014-08-15 11:28:43 -0700524 <groupId>org.apache.felix</groupId>
525 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800526 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700527 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800528 <!--
529 Drop following dependency when the below bug fix is published
530 https://issues.apache.org/jira/browse/FELIX-4556
531 -->
532 <dependencies>
533 <dependency>
534 <groupId>biz.aQute.bnd</groupId>
535 <artifactId>bndlib</artifactId>
536 <version>2.4.0</version>
537 </dependency>
538 </dependencies>
tom09419512014-08-15 11:28:43 -0700539 </plugin>
540
541 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800542 <groupId>org.apache.maven.plugins</groupId>
543 <artifactId>maven-shade-plugin</artifactId>
544 <version>2.3</version>
545 </plugin>
546
547 <plugin>
tom09419512014-08-15 11:28:43 -0700548 <groupId>org.apache.felix</groupId>
549 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800550 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700551 <executions>
552 <execution>
553 <id>generate-scr-srcdescriptor</id>
554 <goals>
555 <goal>scr</goal>
556 </goals>
557 </execution>
558 </executions>
559 <configuration>
560 <supportedProjectTypes>
561 <supportedProjectType>bundle</supportedProjectType>
562 <supportedProjectType>war</supportedProjectType>
563 </supportedProjectTypes>
564 </configuration>
565 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800566 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800567 <groupId>org.codehaus.mojo</groupId>
568 <artifactId>findbugs-maven-plugin</artifactId>
569 <version>3.0.0</version>
570 <dependencies>
571 <dependency>
572 <groupId>org.onosproject</groupId>
573 <artifactId>onos-build-conf</artifactId>
574 <version>1.0</version>
575 </dependency>
576 </dependencies>
577 <configuration>
578 <effort>Max</effort>
579 <excludeFilterFile>onos/findbugs-suppressions.xml
580 </excludeFilterFile>
581 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800582 </plugin>
tom09419512014-08-15 11:28:43 -0700583
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700584 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700585 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700586 <groupId>org.onosproject</groupId>
587 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorbf7eca52015-04-15 16:25:46 -0700588 <version>1.4-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700589 <executions>
590 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700591 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700592 <phase>generate-resources</phase>
593 <goals>
594 <goal>cfg</goal>
595 </goals>
596 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700597 <execution>
598 <id>app</id>
599 <phase>package</phase>
600 <goals>
601 <goal>app</goal>
602 </goals>
603 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700604 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700605 </plugin>
tom09419512014-08-15 11:28:43 -0700606 </plugins>
tom09419512014-08-15 11:28:43 -0700607 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700608
609 <plugins>
610 <plugin>
611 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700612 <artifactId>maven-jar-plugin</artifactId>
613 </plugin>
614
615 <plugin>
616 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700617 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700618 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700619 <dependencies>
620 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800621 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700622 <artifactId>onos-build-conf</artifactId>
623 <version>1.0</version>
624 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800625 <!-- For Java 8 lambda support-->
626 <dependency>
627 <groupId>com.puppycrawl.tools</groupId>
628 <artifactId>checkstyle</artifactId>
629 <version>5.9</version>
630 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700631 </dependencies>
632 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800633 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800634 <sourceDirectory>${project.build.sourceDirectory}
635 </sourceDirectory>
636 <testSourceDirectory>${project.build.testSourceDirectory}
637 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800638 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700639 <configLocation>onos/checkstyle.xml</configLocation>
640 <suppressionsLocation>onos/suppressions.xml
641 </suppressionsLocation>
642 <failsOnError>false</failsOnError>
643 <logViolationsToConsole>true</logViolationsToConsole>
644 <includeTestSourceDirectory>true
645 </includeTestSourceDirectory>
646 </configuration>
647 <executions>
648 <execution>
649 <id>validate-checkstyle</id>
650 <phase>verify</phase>
651 <goals>
652 <goal>check</goal>
653 </goals>
654 </execution>
655 </executions>
656 </plugin>
657
658 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700659 <groupId>org.apache.maven.plugins</groupId>
660 <artifactId>maven-pmd-plugin</artifactId>
661 <version>3.2</version>
662 <configuration>
663 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700664 </excludes>
665 <rulesets>
666 <ruleset>onos/pmd.xml</ruleset>
667 </rulesets>
668 </configuration>
669 <executions>
670 <execution>
671 <id>validate-pmd</id>
672 <phase>verify</phase>
673 <goals>
674 <!-- Uncomment this goal to make the build fail on pmd errors -->
675 <!--<goal>check</goal>-->
676 </goals>
677 </execution>
678 </executions>
679 </plugin>
680
681 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700682 <groupId>org.jacoco</groupId>
683 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800684 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700685 <executions>
686 <execution>
687 <id>default-prepare-agent</id>
688 <goals>
689 <goal>prepare-agent</goal>
690 </goals>
691 </execution>
692 <execution>
693 <id>default-report</id>
694 <phase>prepare-package</phase>
695 <goals>
696 <goal>report</goal>
697 </goals>
698 </execution>
699 </executions>
700 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700701 </plugins>
tom09419512014-08-15 11:28:43 -0700702 </build>
alshabib522d9872014-08-15 10:35:16 -0700703
tom0eb04ca2014-08-25 14:34:51 -0700704 <reporting>
705 <plugins>
706 <plugin>
707 <groupId>org.apache.maven.plugins</groupId>
708 <artifactId>maven-checkstyle-plugin</artifactId>
709 <version>2.12.1</version>
710 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800711 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700712 </configuration>
713 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700714
715 <plugin>
716 <groupId>org.apache.maven.plugins</groupId>
717 <artifactId>maven-pmd-plugin</artifactId>
718 <version>3.2</version>
719 <configuration>
720 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700721 </excludes>
722 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800723 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700724 </rulesets>
725 </configuration>
726 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700727 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700728 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700729</project>