blob: 082d1249d4704cef6cb8a967ca34b7439a52c832 [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'Connor4f74da02015-06-04 15:34:28 -070075 <openflowj.version>0.4.0.onos</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
tom0eb04ca2014-08-25 14:34:51 -070087 <dependencyManagement>
88 <dependencies>
89 <dependency>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>4.11</version>
93 <scope>test</scope>
94 </dependency>
tom09419512014-08-15 11:28:43 -070095
tom0eb04ca2014-08-25 14:34:51 -070096 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070097 <groupId>org.hamcrest</groupId>
98 <artifactId>hamcrest-core</artifactId>
99 <version>1.3</version>
100 <scope>test</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.hamcrest</groupId>
104 <artifactId>hamcrest-library</artifactId>
105 <version>1.3</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-api</artifactId>
112 <version>1.7.6</version>
113 <scope>provided</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700118 <artifactId>slf4j-core</artifactId>
119 <version>1.7.6</version>
120 <scope>test</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700125 <artifactId>slf4j-jdk14</artifactId>
126 <version>1.7.6</version>
127 <scope>test</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>com.google.guava</groupId>
132 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700133 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700134 </dependency>
135
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700136 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700137 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700138 <artifactId>netty</artifactId>
139 <version>3.9.0.Final</version>
140 </dependency>
141
tomde8d9682014-08-27 01:11:43 -0700142 <dependency>
143 <groupId>com.google.guava</groupId>
144 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700145 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700146 <scope>test</scope>
147 </dependency>
148
tom6d2a43e2014-09-08 01:50:20 -0700149 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700150 <groupId>com.googlecode.concurrent-trees</groupId>
151 <artifactId>concurrent-trees</artifactId>
152 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700153 </dependency>
154
155 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700156 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700157 <artifactId>commons-lang</artifactId>
158 <version>2.6</version>
159 </dependency>
tomde8d9682014-08-27 01:11:43 -0700160
tom66a7eb22014-09-22 11:58:56 -0700161 <dependency>
162 <groupId>org.apache.commons</groupId>
163 <artifactId>commons-lang3</artifactId>
164 <version>3.3.2</version>
165 </dependency>
166
Brian O'Connorf3d06162014-10-02 15:54:12 -0700167 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800168 <groupId>commons-configuration</groupId>
169 <artifactId>commons-configuration</artifactId>
170 <version>1.10</version>
171 </dependency>
172
173 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700174 <groupId>commons-collections</groupId>
175 <artifactId>commons-collections</artifactId>
176 <version>3.2.1</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>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700211 <groupId>com.sun.jersey.contribs</groupId>
212 <artifactId>jersey-multipart</artifactId>
213 <version>${jersey.version}</version>
214 <scope>provided</scope>
215 </dependency>
216 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700217 <groupId>com.sun.jersey.jersey-test-framework</groupId>
218 <artifactId>jersey-test-framework-core</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>
223 <groupId>com.sun.jersey.jersey-test-framework</groupId>
224 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700225 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700226 <scope>test</scope>
227 </dependency>
228 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700229 <groupId>com.fasterxml.jackson.core</groupId>
230 <artifactId>jackson-databind</artifactId>
231 <version>2.4.2</version>
232 <scope>provided</scope>
233 </dependency>
234 <dependency>
235 <groupId>com.fasterxml.jackson.core</groupId>
236 <artifactId>jackson-annotations</artifactId>
237 <version>2.4.2</version>
238 <scope>provided</scope>
239 </dependency>
240
241 <!-- OSGi related -->
242 <dependency>
243 <groupId>org.osgi</groupId>
244 <artifactId>org.osgi.core</artifactId>
245 <version>4.3.1</version>
246 <scope>provided</scope>
247 </dependency>
248 <dependency>
tomc16656f2014-10-15 18:30:31 -0700249 <groupId>org.osgi</groupId>
250 <artifactId>org.osgi.compendium</artifactId>
251 <version>4.3.1</version>
252 <scope>provided</scope>
253 </dependency>
254 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700255 <groupId>org.apache.felix</groupId>
256 <artifactId>org.apache.felix.scr.annotations</artifactId>
257 <version>1.9.8</version>
258 <scope>provided</scope>
259 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700260
261 <dependency>
262 <groupId>org.apache.karaf.features</groupId>
263 <artifactId>org.apache.karaf.features.core</artifactId>
264 <version>${karaf.version}</version>
265 <scope>provided</scope>
266 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700267 <dependency>
268 <groupId>org.apache.karaf.system</groupId>
269 <artifactId>org.apache.karaf.system.core</artifactId>
270 <version>${karaf.version}</version>
271 <scope>provided</scope>
272 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700273 <dependency>
274 <groupId>org.apache.karaf.shell</groupId>
275 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700276 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700277 <scope>provided</scope>
278 </dependency>
279
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700280 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700281 <groupId>org.livetribe.slp</groupId>
282 <artifactId>livetribe-slp</artifactId>
283 <version>2.2.1</version>
284 </dependency>
285
286 <dependency>
tomdc66b382014-09-22 17:05:47 -0700287 <groupId>com.eclipsesource.minimal-json</groupId>
288 <artifactId>minimal-json</artifactId>
289 <version>0.9.1</version>
290 </dependency>
291 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700292 <groupId>com.esotericsoftware</groupId>
293 <artifactId>kryo</artifactId>
294 <version>3.0.0</version>
295 </dependency>
296 <dependency>
297 <groupId>com.esotericsoftware</groupId>
298 <artifactId>reflectasm</artifactId>
299 <version>1.10.0</version>
300 <type>bundle</type>
301 </dependency>
302 <dependency>
303 <groupId>org.ow2.asm</groupId>
304 <artifactId>asm</artifactId>
305 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700306 </dependency>
307 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700308 <groupId>com.esotericsoftware</groupId>
309 <artifactId>minlog</artifactId>
310 <version>1.3.0</version>
311 </dependency>
312 <dependency>
313 <groupId>org.objenesis</groupId>
314 <artifactId>objenesis</artifactId>
315 <version>2.1</version>
316 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700317
tom0eb04ca2014-08-25 14:34:51 -0700318 <!-- ONOS related -->
319 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800320 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700321 <artifactId>onlab-misc</artifactId>
322 <version>${project.version}</version>
323 </dependency>
tom931af4e2014-09-13 12:00:57 -0700324 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800325 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700326 <artifactId>onlab-nio</artifactId>
327 <version>${project.version}</version>
328 </dependency>
329 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800330 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700331 <artifactId>onlab-osgi</artifactId>
332 <version>${project.version}</version>
333 </dependency>
334 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800335 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800336 <artifactId>onlab-osgi</artifactId>
337 <version>${project.version}</version>
338 <classifier>tests</classifier>
339 <scope>test</scope>
340 </dependency>
341 <dependency>
342 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700343 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700344 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700345 <scope>test</scope>
346 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700347
348 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800349 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700350 <artifactId>onos-api</artifactId>
351 <version>${project.version}</version>
352 </dependency>
353 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800354 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700355 <artifactId>onos-api</artifactId>
356 <version>${project.version}</version>
357 <classifier>tests</classifier>
358 <scope>test</scope>
359 </dependency>
360
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700361 <dependency>
362 <groupId>org.onosproject</groupId>
363 <artifactId>onos-incubator-api</artifactId>
364 <version>${project.version}</version>
365 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800366
367 <dependency>
368 <groupId>org.onosproject</groupId>
369 <artifactId>onos-core-common</artifactId>
370 <version>${project.version}</version>
371 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700372 <dependency>
373 <groupId>org.onosproject</groupId>
374 <artifactId>onos-core-common</artifactId>
375 <version>${project.version}</version>
376 <classifier>tests</classifier>
377 <scope>test</scope>
378 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800379
tom61359e92014-09-16 15:50:27 -0700380 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800381 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700382 <artifactId>onos-of-api</artifactId>
383 <version>${project.version}</version>
384 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700385
386 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800387 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800388 <artifactId>onos-app-pcep-api</artifactId>
389 <version>${project.version}</version>
390 </dependency>
391 <dependency>
392 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700393 <artifactId>onlab-thirdparty</artifactId>
394 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700395 </dependency>
396
tom61359e92014-09-16 15:50:27 -0700397 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800398 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700399 <artifactId>onos-of-api</artifactId>
400 <version>${project.version}</version>
401 <classifier>tests</classifier>
402 <scope>test</scope>
403 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700404 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700405 <groupId>commons-pool</groupId>
406 <artifactId>commons-pool</artifactId>
407 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700408 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700409 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700410 <groupId>io.netty</groupId>
411 <artifactId>netty-common</artifactId>
412 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700413 </dependency>
414 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700415 <groupId>io.netty</groupId>
416 <artifactId>netty-buffer</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-transport</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-handler</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-codec</artifactId>
432 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700433 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700434 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700435 <groupId>io.netty</groupId>
436 <artifactId>netty-transport-native-epoll</artifactId>
437 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800438 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700439 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700440 <dependency>
441 <groupId>joda-time</groupId>
442 <artifactId>joda-time</artifactId>
443 <version>2.5</version>
444 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700445 </dependencies>
446 </dependencyManagement>
447
448 <dependencies>
449 <dependency>
450 <groupId>junit</groupId>
451 <artifactId>junit</artifactId>
452 </dependency>
453 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700454 <groupId>org.hamcrest</groupId>
455 <artifactId>hamcrest-core</artifactId>
456 </dependency>
457 <dependency>
458 <groupId>org.hamcrest</groupId>
459 <artifactId>hamcrest-library</artifactId>
460 </dependency>
461 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700462 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700463 <artifactId>slf4j-api</artifactId>
464 </dependency>
465 <dependency>
466 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700467 <artifactId>slf4j-jdk14</artifactId>
468 </dependency>
469 </dependencies>
tom09419512014-08-15 11:28:43 -0700470
471 <build>
472 <pluginManagement>
473 <plugins>
474 <plugin>
475 <groupId>org.apache.maven.plugins</groupId>
476 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700477 <!-- TODO: update once following issue is fixed. -->
478 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
479 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700480 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800481 <source>1.8</source>
482 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700483 </configuration>
484 </plugin>
485
486 <plugin>
487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700489 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700490 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700491 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700492 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700493 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
494 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700495 </configuration>
tom09419512014-08-15 11:28:43 -0700496 </plugin>
497
498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-jar-plugin</artifactId>
501 <version>2.3.1</version>
502 <executions>
503 <execution>
504 <phase>package</phase>
505 <goals>
506 <goal>test-jar</goal>
507 </goals>
508 </execution>
509 </executions>
510 </plugin>
511
512 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-resources-plugin</artifactId>
515 <version>2.6</version>
516 </plugin>
517
518 <plugin>
tom09419512014-08-15 11:28:43 -0700519 <groupId>org.apache.felix</groupId>
520 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800521 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700522 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800523 <!--
524 Drop following dependency when the below bug fix is published
525 https://issues.apache.org/jira/browse/FELIX-4556
526 -->
527 <dependencies>
528 <dependency>
529 <groupId>biz.aQute.bnd</groupId>
530 <artifactId>bndlib</artifactId>
531 <version>2.4.0</version>
532 </dependency>
533 </dependencies>
tom09419512014-08-15 11:28:43 -0700534 </plugin>
535
536 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-shade-plugin</artifactId>
539 <version>2.3</version>
540 </plugin>
541
542 <plugin>
tom09419512014-08-15 11:28:43 -0700543 <groupId>org.apache.felix</groupId>
544 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800545 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700546 <executions>
547 <execution>
548 <id>generate-scr-srcdescriptor</id>
549 <goals>
550 <goal>scr</goal>
551 </goals>
552 </execution>
553 </executions>
554 <configuration>
555 <supportedProjectTypes>
556 <supportedProjectType>bundle</supportedProjectType>
557 <supportedProjectType>war</supportedProjectType>
558 </supportedProjectTypes>
559 </configuration>
560 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800561 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800562 <groupId>org.codehaus.mojo</groupId>
563 <artifactId>findbugs-maven-plugin</artifactId>
564 <version>3.0.0</version>
565 <dependencies>
566 <dependency>
567 <groupId>org.onosproject</groupId>
568 <artifactId>onos-build-conf</artifactId>
569 <version>1.0</version>
570 </dependency>
571 </dependencies>
572 <configuration>
573 <effort>Max</effort>
574 <excludeFilterFile>onos/findbugs-suppressions.xml
575 </excludeFilterFile>
576 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800577 </plugin>
tom09419512014-08-15 11:28:43 -0700578
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700579 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700580 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700581 <groupId>org.onosproject</groupId>
582 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700583 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700584 <executions>
585 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700586 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700587 <phase>generate-resources</phase>
588 <goals>
589 <goal>cfg</goal>
590 </goals>
591 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700592 <execution>
593 <id>app</id>
594 <phase>package</phase>
595 <goals>
596 <goal>app</goal>
597 </goals>
598 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700599 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700600 </plugin>
tom09419512014-08-15 11:28:43 -0700601 </plugins>
tom09419512014-08-15 11:28:43 -0700602 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700603
604 <plugins>
605 <plugin>
606 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700607 <artifactId>maven-jar-plugin</artifactId>
608 </plugin>
609
610 <plugin>
611 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700612 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700613 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700614 <dependencies>
615 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800616 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700617 <artifactId>onos-build-conf</artifactId>
618 <version>1.0</version>
619 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800620 <!-- For Java 8 lambda support-->
621 <dependency>
622 <groupId>com.puppycrawl.tools</groupId>
623 <artifactId>checkstyle</artifactId>
624 <version>5.9</version>
625 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700626 </dependencies>
627 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800628 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800629 <sourceDirectory>${project.build.sourceDirectory}
630 </sourceDirectory>
631 <testSourceDirectory>${project.build.testSourceDirectory}
632 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800633 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700634 <configLocation>onos/checkstyle.xml</configLocation>
635 <suppressionsLocation>onos/suppressions.xml
636 </suppressionsLocation>
637 <failsOnError>false</failsOnError>
638 <logViolationsToConsole>true</logViolationsToConsole>
639 <includeTestSourceDirectory>true
640 </includeTestSourceDirectory>
641 </configuration>
642 <executions>
643 <execution>
644 <id>validate-checkstyle</id>
645 <phase>verify</phase>
646 <goals>
647 <goal>check</goal>
648 </goals>
649 </execution>
650 </executions>
651 </plugin>
652
653 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700654 <groupId>org.apache.maven.plugins</groupId>
655 <artifactId>maven-pmd-plugin</artifactId>
656 <version>3.2</version>
657 <configuration>
658 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700659 </excludes>
660 <rulesets>
661 <ruleset>onos/pmd.xml</ruleset>
662 </rulesets>
663 </configuration>
664 <executions>
665 <execution>
666 <id>validate-pmd</id>
667 <phase>verify</phase>
668 <goals>
669 <!-- Uncomment this goal to make the build fail on pmd errors -->
670 <!--<goal>check</goal>-->
671 </goals>
672 </execution>
673 </executions>
674 </plugin>
675
676 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700677 <groupId>org.jacoco</groupId>
678 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800679 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700680 <executions>
681 <execution>
682 <id>default-prepare-agent</id>
683 <goals>
684 <goal>prepare-agent</goal>
685 </goals>
686 </execution>
687 <execution>
688 <id>default-report</id>
689 <phase>prepare-package</phase>
690 <goals>
691 <goal>report</goal>
692 </goals>
693 </execution>
694 </executions>
695 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700696 </plugins>
tom09419512014-08-15 11:28:43 -0700697 </build>
alshabib522d9872014-08-15 10:35:16 -0700698
tom0eb04ca2014-08-25 14:34:51 -0700699 <reporting>
700 <plugins>
701 <plugin>
702 <groupId>org.apache.maven.plugins</groupId>
703 <artifactId>maven-checkstyle-plugin</artifactId>
704 <version>2.12.1</version>
705 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800706 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700707 </configuration>
708 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700709
710 <plugin>
711 <groupId>org.apache.maven.plugins</groupId>
712 <artifactId>maven-pmd-plugin</artifactId>
713 <version>3.2</version>
714 <configuration>
715 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700716 </excludes>
717 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800718 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700719 </rulesets>
720 </configuration>
721 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700722 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700723 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700724</project>