blob: c3d0c6ae15e00cd83b00f838ac362b53e0c57a08 [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'Connor33503902015-06-01 17:08:05 -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>
Brian O'Connorf5d8f8c2015-06-03 18:34:13 -070074 <copycat.version>0.4.1.onos</copycat.version>
Brian O'Connorc9dbe2c2015-05-28 15:17:30 -070075 <openflowj.version>0.3.10.oe-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070076 <karaf.version>3.0.3</karaf.version>
77 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070078 </properties>
79
Brian O'Connor932d9412014-12-03 17:20:11 -080080 <distributionManagement>
81 <snapshotRepository>
82 <id>ossrh</id>
83 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
84 </snapshotRepository>
85 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080086
Brian O'Connorc9dbe2c2015-05-28 15:17:30 -070087 <!--- FIXME Needed for copycat. Remove before official release -->
Madan Jampanid5fd8472015-03-25 12:14:41 -070088 <repositories>
89 <repository>
90 <id>snapshots</id>
91 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
92 </repository>
93 </repositories>
94
tom0eb04ca2014-08-25 14:34:51 -070095 <dependencyManagement>
96 <dependencies>
97 <dependency>
98 <groupId>junit</groupId>
99 <artifactId>junit</artifactId>
100 <version>4.11</version>
101 <scope>test</scope>
102 </dependency>
tom09419512014-08-15 11:28:43 -0700103
tom0eb04ca2014-08-25 14:34:51 -0700104 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700105 <groupId>org.hamcrest</groupId>
106 <artifactId>hamcrest-core</artifactId>
107 <version>1.3</version>
108 <scope>test</scope>
109 </dependency>
110 <dependency>
111 <groupId>org.hamcrest</groupId>
112 <artifactId>hamcrest-library</artifactId>
113 <version>1.3</version>
114 <scope>test</scope>
115 </dependency>
116
117 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700118 <groupId>org.slf4j</groupId>
119 <artifactId>slf4j-api</artifactId>
120 <version>1.7.6</version>
121 <scope>provided</scope>
122 </dependency>
123
124 <dependency>
125 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700126 <artifactId>slf4j-core</artifactId>
127 <version>1.7.6</version>
128 <scope>test</scope>
129 </dependency>
130
131 <dependency>
132 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700133 <artifactId>slf4j-jdk14</artifactId>
134 <version>1.7.6</version>
135 <scope>test</scope>
136 </dependency>
137
138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700141 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700142 </dependency>
143
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700144 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700145 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700146 <artifactId>netty</artifactId>
147 <version>3.9.0.Final</version>
148 </dependency>
149
tomde8d9682014-08-27 01:11:43 -0700150 <dependency>
151 <groupId>com.google.guava</groupId>
152 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700153 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700154 <scope>test</scope>
155 </dependency>
156
tom6d2a43e2014-09-08 01:50:20 -0700157 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700158 <groupId>com.googlecode.concurrent-trees</groupId>
159 <artifactId>concurrent-trees</artifactId>
160 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700161 </dependency>
162
163 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700164 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700165 <artifactId>commons-lang</artifactId>
166 <version>2.6</version>
167 </dependency>
tomde8d9682014-08-27 01:11:43 -0700168
tom66a7eb22014-09-22 11:58:56 -0700169 <dependency>
170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-lang3</artifactId>
172 <version>3.3.2</version>
173 </dependency>
174
Brian O'Connorf3d06162014-10-02 15:54:12 -0700175 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800176 <groupId>commons-configuration</groupId>
177 <artifactId>commons-configuration</artifactId>
178 <version>1.10</version>
179 </dependency>
180
181 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700182 <groupId>commons-collections</groupId>
183 <artifactId>commons-collections</artifactId>
184 <version>3.2.1</version>
185 </dependency>
186
187 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800188 <groupId>org.apache.commons</groupId>
189 <artifactId>commons-collections4</artifactId>
190 <version>4.0</version>
191 </dependency>
192
193 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700194 <groupId>org.codehaus.jackson</groupId>
195 <artifactId>jackson-core-asl</artifactId>
196 <version>1.9.13</version>
197 </dependency>
198 <dependency>
199 <groupId>org.codehaus.jackson</groupId>
200 <artifactId>jackson-mapper-asl</artifactId>
201 <version>1.9.13</version>
202 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700203
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700204 <dependency>
205 <groupId>org.easymock</groupId>
206 <artifactId>easymock</artifactId>
207 <version>3.2</version>
208 <scope>test</scope>
209 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700210
tom0eb04ca2014-08-25 14:34:51 -0700211 <!-- Web related -->
212 <dependency>
213 <groupId>com.sun.jersey</groupId>
214 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700215 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700216 <scope>provided</scope>
217 </dependency>
218 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700219 <groupId>com.sun.jersey.contribs</groupId>
220 <artifactId>jersey-multipart</artifactId>
221 <version>${jersey.version}</version>
222 <scope>provided</scope>
223 </dependency>
224 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700225 <groupId>com.sun.jersey.jersey-test-framework</groupId>
226 <artifactId>jersey-test-framework-core</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>
231 <groupId>com.sun.jersey.jersey-test-framework</groupId>
232 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700233 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700234 <scope>test</scope>
235 </dependency>
236 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700237 <groupId>com.fasterxml.jackson.core</groupId>
238 <artifactId>jackson-databind</artifactId>
239 <version>2.4.2</version>
240 <scope>provided</scope>
241 </dependency>
242 <dependency>
243 <groupId>com.fasterxml.jackson.core</groupId>
244 <artifactId>jackson-annotations</artifactId>
245 <version>2.4.2</version>
246 <scope>provided</scope>
247 </dependency>
248
249 <!-- OSGi related -->
250 <dependency>
251 <groupId>org.osgi</groupId>
252 <artifactId>org.osgi.core</artifactId>
253 <version>4.3.1</version>
254 <scope>provided</scope>
255 </dependency>
256 <dependency>
tomc16656f2014-10-15 18:30:31 -0700257 <groupId>org.osgi</groupId>
258 <artifactId>org.osgi.compendium</artifactId>
259 <version>4.3.1</version>
260 <scope>provided</scope>
261 </dependency>
262 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700263 <groupId>org.apache.felix</groupId>
264 <artifactId>org.apache.felix.scr.annotations</artifactId>
265 <version>1.9.8</version>
266 <scope>provided</scope>
267 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700268
269 <dependency>
270 <groupId>org.apache.karaf.features</groupId>
271 <artifactId>org.apache.karaf.features.core</artifactId>
272 <version>${karaf.version}</version>
273 <scope>provided</scope>
274 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700275 <dependency>
276 <groupId>org.apache.karaf.system</groupId>
277 <artifactId>org.apache.karaf.system.core</artifactId>
278 <version>${karaf.version}</version>
279 <scope>provided</scope>
280 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700281 <dependency>
282 <groupId>org.apache.karaf.shell</groupId>
283 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700284 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700285 <scope>provided</scope>
286 </dependency>
287
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700288 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700289 <groupId>org.livetribe.slp</groupId>
290 <artifactId>livetribe-slp</artifactId>
291 <version>2.2.1</version>
292 </dependency>
293
294 <dependency>
tomdc66b382014-09-22 17:05:47 -0700295 <groupId>com.eclipsesource.minimal-json</groupId>
296 <artifactId>minimal-json</artifactId>
297 <version>0.9.1</version>
298 </dependency>
299 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700300 <groupId>com.esotericsoftware</groupId>
301 <artifactId>kryo</artifactId>
302 <version>3.0.0</version>
303 </dependency>
304 <dependency>
305 <groupId>com.esotericsoftware</groupId>
306 <artifactId>reflectasm</artifactId>
307 <version>1.10.0</version>
308 <type>bundle</type>
309 </dependency>
310 <dependency>
311 <groupId>org.ow2.asm</groupId>
312 <artifactId>asm</artifactId>
313 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700314 </dependency>
315 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700316 <groupId>com.esotericsoftware</groupId>
317 <artifactId>minlog</artifactId>
318 <version>1.3.0</version>
319 </dependency>
320 <dependency>
321 <groupId>org.objenesis</groupId>
322 <artifactId>objenesis</artifactId>
323 <version>2.1</version>
324 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700325
tom0eb04ca2014-08-25 14:34:51 -0700326 <!-- ONOS related -->
327 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800328 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700329 <artifactId>onlab-misc</artifactId>
330 <version>${project.version}</version>
331 </dependency>
tom931af4e2014-09-13 12:00:57 -0700332 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800333 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700334 <artifactId>onlab-nio</artifactId>
335 <version>${project.version}</version>
336 </dependency>
337 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800338 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700339 <artifactId>onlab-osgi</artifactId>
340 <version>${project.version}</version>
341 </dependency>
342 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800343 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800344 <artifactId>onlab-osgi</artifactId>
345 <version>${project.version}</version>
346 <classifier>tests</classifier>
347 <scope>test</scope>
348 </dependency>
349 <dependency>
350 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700351 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700352 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700353 <scope>test</scope>
354 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700355
356 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800357 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700358 <artifactId>onos-api</artifactId>
359 <version>${project.version}</version>
360 </dependency>
361 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800362 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700363 <artifactId>onos-api</artifactId>
364 <version>${project.version}</version>
365 <classifier>tests</classifier>
366 <scope>test</scope>
367 </dependency>
368
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-incubator-api</artifactId>
372 <version>${project.version}</version>
373 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800374
375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onos-core-common</artifactId>
378 <version>${project.version}</version>
379 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700380 <dependency>
381 <groupId>org.onosproject</groupId>
382 <artifactId>onos-core-common</artifactId>
383 <version>${project.version}</version>
384 <classifier>tests</classifier>
385 <scope>test</scope>
386 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800387
tom61359e92014-09-16 15:50:27 -0700388 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800389 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700390 <artifactId>onos-of-api</artifactId>
391 <version>${project.version}</version>
392 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700393
394 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800395 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800396 <artifactId>onos-app-pcep-api</artifactId>
397 <version>${project.version}</version>
398 </dependency>
399 <dependency>
400 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700401 <artifactId>onlab-thirdparty</artifactId>
402 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700403 </dependency>
404
tom61359e92014-09-16 15:50:27 -0700405 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800406 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700407 <artifactId>onos-of-api</artifactId>
408 <version>${project.version}</version>
409 <classifier>tests</classifier>
410 <scope>test</scope>
411 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700412 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700413 <groupId>commons-pool</groupId>
414 <artifactId>commons-pool</artifactId>
415 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700416 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700417 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700418 <groupId>io.netty</groupId>
419 <artifactId>netty-common</artifactId>
420 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700421 </dependency>
422 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700423 <groupId>io.netty</groupId>
424 <artifactId>netty-buffer</artifactId>
425 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700426 </dependency>
427 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700428 <groupId>io.netty</groupId>
429 <artifactId>netty-transport</artifactId>
430 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700431 </dependency>
432 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700433 <groupId>io.netty</groupId>
434 <artifactId>netty-handler</artifactId>
435 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700436 </dependency>
437 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700438 <groupId>io.netty</groupId>
439 <artifactId>netty-codec</artifactId>
440 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700441 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700442 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700443 <groupId>io.netty</groupId>
444 <artifactId>netty-transport-native-epoll</artifactId>
445 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800446 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700447 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700448 <dependency>
449 <groupId>joda-time</groupId>
450 <artifactId>joda-time</artifactId>
451 <version>2.5</version>
452 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700453 </dependencies>
454 </dependencyManagement>
455
456 <dependencies>
457 <dependency>
458 <groupId>junit</groupId>
459 <artifactId>junit</artifactId>
460 </dependency>
461 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700462 <groupId>org.hamcrest</groupId>
463 <artifactId>hamcrest-core</artifactId>
464 </dependency>
465 <dependency>
466 <groupId>org.hamcrest</groupId>
467 <artifactId>hamcrest-library</artifactId>
468 </dependency>
469 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700470 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700471 <artifactId>slf4j-api</artifactId>
472 </dependency>
473 <dependency>
474 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700475 <artifactId>slf4j-jdk14</artifactId>
476 </dependency>
477 </dependencies>
tom09419512014-08-15 11:28:43 -0700478
479 <build>
480 <pluginManagement>
481 <plugins>
482 <plugin>
483 <groupId>org.apache.maven.plugins</groupId>
484 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700485 <!-- TODO: update once following issue is fixed. -->
486 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
487 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700488 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800489 <source>1.8</source>
490 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700491 </configuration>
492 </plugin>
493
494 <plugin>
495 <groupId>org.apache.maven.plugins</groupId>
496 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700497 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700498 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700499 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700500 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700501 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
502 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700503 </configuration>
tom09419512014-08-15 11:28:43 -0700504 </plugin>
505
506 <plugin>
507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-jar-plugin</artifactId>
509 <version>2.3.1</version>
510 <executions>
511 <execution>
512 <phase>package</phase>
513 <goals>
514 <goal>test-jar</goal>
515 </goals>
516 </execution>
517 </executions>
518 </plugin>
519
520 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700521 <groupId>org.apache.maven.plugins</groupId>
522 <artifactId>maven-resources-plugin</artifactId>
523 <version>2.6</version>
524 </plugin>
525
526 <plugin>
tom09419512014-08-15 11:28:43 -0700527 <groupId>org.apache.felix</groupId>
528 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800529 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700530 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800531 <!--
532 Drop following dependency when the below bug fix is published
533 https://issues.apache.org/jira/browse/FELIX-4556
534 -->
535 <dependencies>
536 <dependency>
537 <groupId>biz.aQute.bnd</groupId>
538 <artifactId>bndlib</artifactId>
539 <version>2.4.0</version>
540 </dependency>
541 </dependencies>
tom09419512014-08-15 11:28:43 -0700542 </plugin>
543
544 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800545 <groupId>org.apache.maven.plugins</groupId>
546 <artifactId>maven-shade-plugin</artifactId>
547 <version>2.3</version>
548 </plugin>
549
550 <plugin>
tom09419512014-08-15 11:28:43 -0700551 <groupId>org.apache.felix</groupId>
552 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800553 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700554 <executions>
555 <execution>
556 <id>generate-scr-srcdescriptor</id>
557 <goals>
558 <goal>scr</goal>
559 </goals>
560 </execution>
561 </executions>
562 <configuration>
563 <supportedProjectTypes>
564 <supportedProjectType>bundle</supportedProjectType>
565 <supportedProjectType>war</supportedProjectType>
566 </supportedProjectTypes>
567 </configuration>
568 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800569 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800570 <groupId>org.codehaus.mojo</groupId>
571 <artifactId>findbugs-maven-plugin</artifactId>
572 <version>3.0.0</version>
573 <dependencies>
574 <dependency>
575 <groupId>org.onosproject</groupId>
576 <artifactId>onos-build-conf</artifactId>
577 <version>1.0</version>
578 </dependency>
579 </dependencies>
580 <configuration>
581 <effort>Max</effort>
582 <excludeFilterFile>onos/findbugs-suppressions.xml
583 </excludeFilterFile>
584 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800585 </plugin>
tom09419512014-08-15 11:28:43 -0700586
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700587 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700588 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700589 <groupId>org.onosproject</groupId>
590 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700591 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700592 <executions>
593 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700594 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700595 <phase>generate-resources</phase>
596 <goals>
597 <goal>cfg</goal>
598 </goals>
599 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700600 <execution>
601 <id>app</id>
602 <phase>package</phase>
603 <goals>
604 <goal>app</goal>
605 </goals>
606 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700607 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700608 </plugin>
tom09419512014-08-15 11:28:43 -0700609 </plugins>
tom09419512014-08-15 11:28:43 -0700610 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700611
612 <plugins>
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700615 <artifactId>maven-jar-plugin</artifactId>
616 </plugin>
617
618 <plugin>
619 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700620 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700621 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700622 <dependencies>
623 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800624 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700625 <artifactId>onos-build-conf</artifactId>
626 <version>1.0</version>
627 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800628 <!-- For Java 8 lambda support-->
629 <dependency>
630 <groupId>com.puppycrawl.tools</groupId>
631 <artifactId>checkstyle</artifactId>
632 <version>5.9</version>
633 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700634 </dependencies>
635 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800636 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800637 <sourceDirectory>${project.build.sourceDirectory}
638 </sourceDirectory>
639 <testSourceDirectory>${project.build.testSourceDirectory}
640 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800641 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700642 <configLocation>onos/checkstyle.xml</configLocation>
643 <suppressionsLocation>onos/suppressions.xml
644 </suppressionsLocation>
645 <failsOnError>false</failsOnError>
646 <logViolationsToConsole>true</logViolationsToConsole>
647 <includeTestSourceDirectory>true
648 </includeTestSourceDirectory>
649 </configuration>
650 <executions>
651 <execution>
652 <id>validate-checkstyle</id>
653 <phase>verify</phase>
654 <goals>
655 <goal>check</goal>
656 </goals>
657 </execution>
658 </executions>
659 </plugin>
660
661 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700662 <groupId>org.apache.maven.plugins</groupId>
663 <artifactId>maven-pmd-plugin</artifactId>
664 <version>3.2</version>
665 <configuration>
666 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700667 </excludes>
668 <rulesets>
669 <ruleset>onos/pmd.xml</ruleset>
670 </rulesets>
671 </configuration>
672 <executions>
673 <execution>
674 <id>validate-pmd</id>
675 <phase>verify</phase>
676 <goals>
677 <!-- Uncomment this goal to make the build fail on pmd errors -->
678 <!--<goal>check</goal>-->
679 </goals>
680 </execution>
681 </executions>
682 </plugin>
683
684 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700685 <groupId>org.jacoco</groupId>
686 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800687 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700688 <executions>
689 <execution>
690 <id>default-prepare-agent</id>
691 <goals>
692 <goal>prepare-agent</goal>
693 </goals>
694 </execution>
695 <execution>
696 <id>default-report</id>
697 <phase>prepare-package</phase>
698 <goals>
699 <goal>report</goal>
700 </goals>
701 </execution>
702 </executions>
703 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700704 </plugins>
tom09419512014-08-15 11:28:43 -0700705 </build>
alshabib522d9872014-08-15 10:35:16 -0700706
tom0eb04ca2014-08-25 14:34:51 -0700707 <reporting>
708 <plugins>
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-checkstyle-plugin</artifactId>
712 <version>2.12.1</version>
713 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800714 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700715 </configuration>
716 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700717
718 <plugin>
719 <groupId>org.apache.maven.plugins</groupId>
720 <artifactId>maven-pmd-plugin</artifactId>
721 <version>3.2</version>
722 <configuration>
723 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700724 </excludes>
725 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800726 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700727 </rulesets>
728 </configuration>
729 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700730 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700731 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700732</project>