blob: cb02cda33ec7de657f3802461741d998cbd1bf44 [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'Connorafc2d7d2015-06-05 23:31:25 -070036 <version>1.3.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>
Phaneendra Manda1c0061d2015-08-06 12:29:38 +053052 <module>pcep</module>
53 <module>tools/package/archetypes</module>
tomaa49a1e2014-09-12 23:11:46 -070054 <module>tools/package/branding</module>
Sahil Lele372d1f32015-07-31 15:01:41 -070055 <!-- FIXME remove before release -->
56 <module>tools/package/maven-plugin</module>
YuanyouZhangb5e05302015-07-21 20:14:35 +080057 <module>ovsdb</module>
tom09419512014-08-15 11:28:43 -070058 </modules>
59
Brian O'Connor3439c102014-12-03 01:02:03 -080060 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070061
Brian O'Connor932d9412014-12-03 17:20:11 -080062 <scm>
63 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080064 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
65 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080066 <url>http://gerrit.onosproject.org/</url>
67 </scm>
68
tom09419512014-08-15 11:28:43 -070069 <licenses>
70 <license>
tom09419512014-08-15 11:28:43 -070071 <name>Apache License, Version 2.0</name>
72 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
73 </license>
74 </licenses>
75
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070076 <properties>
77 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070078 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani40537ca2015-07-14 19:50:33 -070079 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
Marc De Leenheerb9311372015-07-09 11:36:49 -070080 <openflowj.version>0.4.1.onos-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070081 <karaf.version>3.0.3</karaf.version>
82 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070083 </properties>
84
Brian O'Connor932d9412014-12-03 17:20:11 -080085 <distributionManagement>
86 <snapshotRepository>
87 <id>ossrh</id>
88 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
89 </snapshotRepository>
90 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080091
Madan Jampani458fb892015-07-06 17:54:03 -070092 <!--- Needed for copycat. Remove before official release -->
93 <repositories>
94 <repository>
95 <id>snapshots</id>
96 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
97 </repository>
98 </repositories>
99
Sahil Lele372d1f32015-07-31 15:01:41 -0700100 <!--- FIXME Needed for onos-maven-plugin. Remove before official release -->
101 <pluginRepositories>
102 <pluginRepository>
103 <id>snapshots</id>
104 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
105 </pluginRepository>
106 </pluginRepositories>
107
tom0eb04ca2014-08-25 14:34:51 -0700108 <dependencyManagement>
109 <dependencies>
110 <dependency>
111 <groupId>junit</groupId>
112 <artifactId>junit</artifactId>
113 <version>4.11</version>
114 <scope>test</scope>
115 </dependency>
tom09419512014-08-15 11:28:43 -0700116
tom0eb04ca2014-08-25 14:34:51 -0700117 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700118 <groupId>org.hamcrest</groupId>
119 <artifactId>hamcrest-core</artifactId>
120 <version>1.3</version>
121 <scope>test</scope>
122 </dependency>
123 <dependency>
124 <groupId>org.hamcrest</groupId>
125 <artifactId>hamcrest-library</artifactId>
126 <version>1.3</version>
127 <scope>test</scope>
128 </dependency>
129
130 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700131 <groupId>org.slf4j</groupId>
132 <artifactId>slf4j-api</artifactId>
133 <version>1.7.6</version>
134 <scope>provided</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700139 <artifactId>slf4j-core</artifactId>
140 <version>1.7.6</version>
141 <scope>test</scope>
142 </dependency>
143
144 <dependency>
145 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700146 <artifactId>slf4j-jdk14</artifactId>
147 <version>1.7.6</version>
148 <scope>test</scope>
149 </dependency>
150
151 <dependency>
152 <groupId>com.google.guava</groupId>
153 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700154 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700155 </dependency>
156
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700157 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700158 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700159 <artifactId>netty</artifactId>
160 <version>3.9.0.Final</version>
161 </dependency>
162
tomde8d9682014-08-27 01:11:43 -0700163 <dependency>
164 <groupId>com.google.guava</groupId>
165 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700166 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700167 <scope>test</scope>
168 </dependency>
169
tom6d2a43e2014-09-08 01:50:20 -0700170 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700171 <groupId>com.googlecode.concurrent-trees</groupId>
172 <artifactId>concurrent-trees</artifactId>
173 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700174 </dependency>
175
176 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700177 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700178 <artifactId>commons-lang</artifactId>
179 <version>2.6</version>
180 </dependency>
tomde8d9682014-08-27 01:11:43 -0700181
tom66a7eb22014-09-22 11:58:56 -0700182 <dependency>
183 <groupId>org.apache.commons</groupId>
184 <artifactId>commons-lang3</artifactId>
185 <version>3.3.2</version>
186 </dependency>
187
Brian O'Connorf3d06162014-10-02 15:54:12 -0700188 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800189 <groupId>commons-configuration</groupId>
190 <artifactId>commons-configuration</artifactId>
191 <version>1.10</version>
192 </dependency>
193
194 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700195 <groupId>commons-collections</groupId>
196 <artifactId>commons-collections</artifactId>
197 <version>3.2.1</version>
198 </dependency>
199
200 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700201 <groupId>org.codehaus.jackson</groupId>
202 <artifactId>jackson-core-asl</artifactId>
203 <version>1.9.13</version>
204 </dependency>
205 <dependency>
206 <groupId>org.codehaus.jackson</groupId>
207 <artifactId>jackson-mapper-asl</artifactId>
208 <version>1.9.13</version>
209 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700210
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700211 <dependency>
212 <groupId>org.easymock</groupId>
213 <artifactId>easymock</artifactId>
214 <version>3.2</version>
215 <scope>test</scope>
216 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700217
tom0eb04ca2014-08-25 14:34:51 -0700218 <!-- Web related -->
219 <dependency>
220 <groupId>com.sun.jersey</groupId>
221 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700222 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700223 <scope>provided</scope>
224 </dependency>
225 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700226 <groupId>com.sun.jersey.contribs</groupId>
227 <artifactId>jersey-multipart</artifactId>
228 <version>${jersey.version}</version>
229 <scope>provided</scope>
230 </dependency>
231 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700232 <groupId>com.sun.jersey.jersey-test-framework</groupId>
233 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700234 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700235 <scope>test</scope>
236 </dependency>
237 <dependency>
238 <groupId>com.sun.jersey.jersey-test-framework</groupId>
239 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700240 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700241 <scope>test</scope>
242 </dependency>
243 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700244 <groupId>com.fasterxml.jackson.core</groupId>
245 <artifactId>jackson-databind</artifactId>
246 <version>2.4.2</version>
247 <scope>provided</scope>
248 </dependency>
249 <dependency>
250 <groupId>com.fasterxml.jackson.core</groupId>
251 <artifactId>jackson-annotations</artifactId>
252 <version>2.4.2</version>
253 <scope>provided</scope>
254 </dependency>
255
256 <!-- OSGi related -->
257 <dependency>
258 <groupId>org.osgi</groupId>
259 <artifactId>org.osgi.core</artifactId>
260 <version>4.3.1</version>
261 <scope>provided</scope>
262 </dependency>
263 <dependency>
tomc16656f2014-10-15 18:30:31 -0700264 <groupId>org.osgi</groupId>
265 <artifactId>org.osgi.compendium</artifactId>
266 <version>4.3.1</version>
267 <scope>provided</scope>
268 </dependency>
269 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700270 <groupId>org.apache.felix</groupId>
271 <artifactId>org.apache.felix.scr.annotations</artifactId>
272 <version>1.9.8</version>
273 <scope>provided</scope>
274 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700275
276 <dependency>
277 <groupId>org.apache.karaf.features</groupId>
278 <artifactId>org.apache.karaf.features.core</artifactId>
279 <version>${karaf.version}</version>
280 <scope>provided</scope>
281 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700282 <dependency>
283 <groupId>org.apache.karaf.system</groupId>
284 <artifactId>org.apache.karaf.system.core</artifactId>
285 <version>${karaf.version}</version>
286 <scope>provided</scope>
287 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700288 <dependency>
289 <groupId>org.apache.karaf.shell</groupId>
290 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700291 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700292 <scope>provided</scope>
293 </dependency>
294
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700295 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700296 <groupId>org.livetribe.slp</groupId>
297 <artifactId>livetribe-slp</artifactId>
298 <version>2.2.1</version>
299 </dependency>
300
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 Vachuskabf916ea2015-05-20 18:24:34 -0700376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-incubator-api</artifactId>
379 <version>${project.version}</version>
380 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800381
382 <dependency>
383 <groupId>org.onosproject</groupId>
384 <artifactId>onos-core-common</artifactId>
385 <version>${project.version}</version>
386 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700387 <dependency>
388 <groupId>org.onosproject</groupId>
389 <artifactId>onos-core-common</artifactId>
390 <version>${project.version}</version>
391 <classifier>tests</classifier>
392 <scope>test</scope>
393 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800394
tom61359e92014-09-16 15:50:27 -0700395 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800396 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700397 <artifactId>onos-of-api</artifactId>
398 <version>${project.version}</version>
399 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700400
401 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800402 <groupId>org.onosproject</groupId>
Phaneendra Manda1c0061d2015-08-06 12:29:38 +0530403 <artifactId>onos-pcepio</artifactId>
404 <version>${project.version}</version>
405 </dependency>
406
407 <dependency>
408 <groupId>org.onosproject</groupId>
409 <artifactId>onos-pcep-controller-api</artifactId>
410 <version>${project.version}</version>
411 </dependency>
412
413 <dependency>
414 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800415 <artifactId>onos-app-pcep-api</artifactId>
416 <version>${project.version}</version>
417 </dependency>
418 <dependency>
419 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700420 <artifactId>onlab-thirdparty</artifactId>
421 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700422 </dependency>
423
tom61359e92014-09-16 15:50:27 -0700424 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800425 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700426 <artifactId>onos-of-api</artifactId>
427 <version>${project.version}</version>
428 <classifier>tests</classifier>
429 <scope>test</scope>
430 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700431 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700432 <groupId>commons-pool</groupId>
433 <artifactId>commons-pool</artifactId>
434 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700435 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700436 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700437 <groupId>io.netty</groupId>
438 <artifactId>netty-common</artifactId>
439 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700440 </dependency>
441 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700442 <groupId>io.netty</groupId>
443 <artifactId>netty-buffer</artifactId>
444 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700445 </dependency>
446 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700447 <groupId>io.netty</groupId>
448 <artifactId>netty-transport</artifactId>
449 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700450 </dependency>
451 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700452 <groupId>io.netty</groupId>
453 <artifactId>netty-handler</artifactId>
454 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700455 </dependency>
456 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700457 <groupId>io.netty</groupId>
458 <artifactId>netty-codec</artifactId>
459 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700460 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700461 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700462 <groupId>io.netty</groupId>
463 <artifactId>netty-transport-native-epoll</artifactId>
464 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800465 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700466 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700467 <dependency>
468 <groupId>joda-time</groupId>
469 <artifactId>joda-time</artifactId>
470 <version>2.5</version>
471 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700472 </dependencies>
473 </dependencyManagement>
474
475 <dependencies>
476 <dependency>
477 <groupId>junit</groupId>
478 <artifactId>junit</artifactId>
479 </dependency>
480 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700481 <groupId>org.hamcrest</groupId>
482 <artifactId>hamcrest-core</artifactId>
483 </dependency>
484 <dependency>
485 <groupId>org.hamcrest</groupId>
486 <artifactId>hamcrest-library</artifactId>
487 </dependency>
488 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700489 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700490 <artifactId>slf4j-api</artifactId>
491 </dependency>
492 <dependency>
493 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700494 <artifactId>slf4j-jdk14</artifactId>
495 </dependency>
496 </dependencies>
tom09419512014-08-15 11:28:43 -0700497
498 <build>
499 <pluginManagement>
500 <plugins>
501 <plugin>
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700504 <!-- TODO: update once following issue is fixed. -->
505 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
506 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700507 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800508 <source>1.8</source>
509 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700510 </configuration>
511 </plugin>
512
513 <plugin>
514 <groupId>org.apache.maven.plugins</groupId>
515 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700516 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700517 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700518 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700519 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700520 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
521 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700522 </configuration>
tom09419512014-08-15 11:28:43 -0700523 </plugin>
524
525 <plugin>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-jar-plugin</artifactId>
528 <version>2.3.1</version>
529 <executions>
530 <execution>
531 <phase>package</phase>
532 <goals>
533 <goal>test-jar</goal>
534 </goals>
535 </execution>
536 </executions>
537 </plugin>
538
539 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-resources-plugin</artifactId>
542 <version>2.6</version>
543 </plugin>
544
545 <plugin>
tom09419512014-08-15 11:28:43 -0700546 <groupId>org.apache.felix</groupId>
547 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800548 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700549 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800550 <!--
551 Drop following dependency when the below bug fix is published
552 https://issues.apache.org/jira/browse/FELIX-4556
553 -->
554 <dependencies>
555 <dependency>
556 <groupId>biz.aQute.bnd</groupId>
557 <artifactId>bndlib</artifactId>
558 <version>2.4.0</version>
559 </dependency>
560 </dependencies>
tom09419512014-08-15 11:28:43 -0700561 </plugin>
562
563 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800564 <groupId>org.apache.maven.plugins</groupId>
565 <artifactId>maven-shade-plugin</artifactId>
566 <version>2.3</version>
567 </plugin>
568
569 <plugin>
tom09419512014-08-15 11:28:43 -0700570 <groupId>org.apache.felix</groupId>
571 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800572 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700573 <executions>
574 <execution>
575 <id>generate-scr-srcdescriptor</id>
576 <goals>
577 <goal>scr</goal>
578 </goals>
579 </execution>
580 </executions>
581 <configuration>
582 <supportedProjectTypes>
583 <supportedProjectType>bundle</supportedProjectType>
584 <supportedProjectType>war</supportedProjectType>
585 </supportedProjectTypes>
586 </configuration>
587 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800588 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800589 <groupId>org.codehaus.mojo</groupId>
590 <artifactId>findbugs-maven-plugin</artifactId>
591 <version>3.0.0</version>
592 <dependencies>
593 <dependency>
594 <groupId>org.onosproject</groupId>
595 <artifactId>onos-build-conf</artifactId>
596 <version>1.0</version>
597 </dependency>
598 </dependencies>
599 <configuration>
600 <effort>Max</effort>
601 <excludeFilterFile>onos/findbugs-suppressions.xml
602 </excludeFilterFile>
603 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800604 </plugin>
tom09419512014-08-15 11:28:43 -0700605
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700606 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700607 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700608 <groupId>org.onosproject</groupId>
609 <artifactId>onos-maven-plugin</artifactId>
Sahil Lele372d1f32015-07-31 15:01:41 -0700610 <version>1.5-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700611 <executions>
612 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700613 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700614 <phase>generate-resources</phase>
615 <goals>
616 <goal>cfg</goal>
617 </goals>
618 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700619 <execution>
Sahil Lele372d1f32015-07-31 15:01:41 -0700620 <id>swagger</id>
621 <phase>generate-resources</phase>
622 <goals>
623 <goal>swagger</goal>
624 </goals>
625 </execution>
626 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700627 <id>app</id>
628 <phase>package</phase>
629 <goals>
630 <goal>app</goal>
631 </goals>
632 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700633 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700634 </plugin>
tom09419512014-08-15 11:28:43 -0700635 </plugins>
tom09419512014-08-15 11:28:43 -0700636 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700637
638 <plugins>
639 <plugin>
640 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700641 <artifactId>maven-jar-plugin</artifactId>
642 </plugin>
643
644 <plugin>
645 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700646 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700647 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700648 <dependencies>
649 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800650 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700651 <artifactId>onos-build-conf</artifactId>
652 <version>1.0</version>
653 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800654 <!-- For Java 8 lambda support-->
655 <dependency>
656 <groupId>com.puppycrawl.tools</groupId>
657 <artifactId>checkstyle</artifactId>
658 <version>5.9</version>
659 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700660 </dependencies>
661 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800662 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800663 <sourceDirectory>${project.build.sourceDirectory}
664 </sourceDirectory>
665 <testSourceDirectory>${project.build.testSourceDirectory}
666 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800667 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700668 <configLocation>onos/checkstyle.xml</configLocation>
669 <suppressionsLocation>onos/suppressions.xml
670 </suppressionsLocation>
671 <failsOnError>false</failsOnError>
672 <logViolationsToConsole>true</logViolationsToConsole>
673 <includeTestSourceDirectory>true
674 </includeTestSourceDirectory>
675 </configuration>
676 <executions>
677 <execution>
678 <id>validate-checkstyle</id>
679 <phase>verify</phase>
680 <goals>
681 <goal>check</goal>
682 </goals>
683 </execution>
684 </executions>
685 </plugin>
686
687 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700688 <groupId>org.apache.maven.plugins</groupId>
689 <artifactId>maven-pmd-plugin</artifactId>
690 <version>3.2</version>
691 <configuration>
692 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700693 </excludes>
694 <rulesets>
695 <ruleset>onos/pmd.xml</ruleset>
696 </rulesets>
697 </configuration>
698 <executions>
699 <execution>
700 <id>validate-pmd</id>
701 <phase>verify</phase>
702 <goals>
703 <!-- Uncomment this goal to make the build fail on pmd errors -->
704 <!--<goal>check</goal>-->
705 </goals>
706 </execution>
707 </executions>
708 </plugin>
709
710 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700711 <groupId>org.jacoco</groupId>
712 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800713 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700714 <executions>
715 <execution>
716 <id>default-prepare-agent</id>
717 <goals>
718 <goal>prepare-agent</goal>
719 </goals>
720 </execution>
721 <execution>
722 <id>default-report</id>
723 <phase>prepare-package</phase>
724 <goals>
725 <goal>report</goal>
726 </goals>
727 </execution>
728 </executions>
729 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700730 </plugins>
tom09419512014-08-15 11:28:43 -0700731 </build>
alshabib522d9872014-08-15 10:35:16 -0700732
tom0eb04ca2014-08-25 14:34:51 -0700733 <reporting>
734 <plugins>
735 <plugin>
736 <groupId>org.apache.maven.plugins</groupId>
737 <artifactId>maven-checkstyle-plugin</artifactId>
738 <version>2.12.1</version>
739 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800740 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700741 </configuration>
742 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700743
744 <plugin>
745 <groupId>org.apache.maven.plugins</groupId>
746 <artifactId>maven-pmd-plugin</artifactId>
747 <version>3.2</version>
748 <configuration>
749 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700750 </excludes>
751 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800752 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700753 </rulesets>
754 </configuration>
755 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700756 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700757 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700758</project>