blob: e092ae508deb92f818d8b7fa592520b084a072ee [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>
Thomas Vachuska24c54152015-07-13 16:22:53 -070052 <module>tools/package/archetypes</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 Jampanie9b781a2015-07-07 16:23:20 -070075 <copycat.version>0.4.1.onos</copycat.version>
Brian O'Connor4f74da02015-06-04 15:34:28 -070076 <openflowj.version>0.4.0.onos</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 Jampani458fb892015-07-06 17:54:03 -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>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700183 <groupId>commons-collections</groupId>
184 <artifactId>commons-collections</artifactId>
185 <version>3.2.1</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>
tomdc66b382014-09-22 17:05:47 -0700290 <groupId>com.eclipsesource.minimal-json</groupId>
291 <artifactId>minimal-json</artifactId>
292 <version>0.9.1</version>
293 </dependency>
294 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700295 <groupId>com.esotericsoftware</groupId>
296 <artifactId>kryo</artifactId>
297 <version>3.0.0</version>
298 </dependency>
299 <dependency>
300 <groupId>com.esotericsoftware</groupId>
301 <artifactId>reflectasm</artifactId>
302 <version>1.10.0</version>
303 <type>bundle</type>
304 </dependency>
305 <dependency>
306 <groupId>org.ow2.asm</groupId>
307 <artifactId>asm</artifactId>
308 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700309 </dependency>
310 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700311 <groupId>com.esotericsoftware</groupId>
312 <artifactId>minlog</artifactId>
313 <version>1.3.0</version>
314 </dependency>
315 <dependency>
316 <groupId>org.objenesis</groupId>
317 <artifactId>objenesis</artifactId>
318 <version>2.1</version>
319 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700320
tom0eb04ca2014-08-25 14:34:51 -0700321 <!-- ONOS related -->
322 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800323 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700324 <artifactId>onlab-misc</artifactId>
325 <version>${project.version}</version>
326 </dependency>
tom931af4e2014-09-13 12:00:57 -0700327 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800328 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700329 <artifactId>onlab-nio</artifactId>
330 <version>${project.version}</version>
331 </dependency>
332 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800333 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700334 <artifactId>onlab-osgi</artifactId>
335 <version>${project.version}</version>
336 </dependency>
337 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800338 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800339 <artifactId>onlab-osgi</artifactId>
340 <version>${project.version}</version>
341 <classifier>tests</classifier>
342 <scope>test</scope>
343 </dependency>
344 <dependency>
345 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700346 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700347 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700348 <scope>test</scope>
349 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700350
351 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800352 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700353 <artifactId>onos-api</artifactId>
354 <version>${project.version}</version>
355 </dependency>
356 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800357 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700358 <artifactId>onos-api</artifactId>
359 <version>${project.version}</version>
360 <classifier>tests</classifier>
361 <scope>test</scope>
362 </dependency>
363
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700364 <dependency>
365 <groupId>org.onosproject</groupId>
366 <artifactId>onos-incubator-api</artifactId>
367 <version>${project.version}</version>
368 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800369
370 <dependency>
371 <groupId>org.onosproject</groupId>
372 <artifactId>onos-core-common</artifactId>
373 <version>${project.version}</version>
374 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onos-core-common</artifactId>
378 <version>${project.version}</version>
379 <classifier>tests</classifier>
380 <scope>test</scope>
381 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800382
tom61359e92014-09-16 15:50:27 -0700383 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800384 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700385 <artifactId>onos-of-api</artifactId>
386 <version>${project.version}</version>
387 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700388
389 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800390 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800391 <artifactId>onos-app-pcep-api</artifactId>
392 <version>${project.version}</version>
393 </dependency>
394 <dependency>
395 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700396 <artifactId>onlab-thirdparty</artifactId>
397 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700398 </dependency>
399
tom61359e92014-09-16 15:50:27 -0700400 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800401 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700402 <artifactId>onos-of-api</artifactId>
403 <version>${project.version}</version>
404 <classifier>tests</classifier>
405 <scope>test</scope>
406 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700407 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700408 <groupId>commons-pool</groupId>
409 <artifactId>commons-pool</artifactId>
410 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700411 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700412 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700413 <groupId>io.netty</groupId>
414 <artifactId>netty-common</artifactId>
415 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700416 </dependency>
417 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700418 <groupId>io.netty</groupId>
419 <artifactId>netty-buffer</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-transport</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-handler</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-codec</artifactId>
435 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700436 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700437 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700438 <groupId>io.netty</groupId>
439 <artifactId>netty-transport-native-epoll</artifactId>
440 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800441 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700442 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700443 <dependency>
444 <groupId>joda-time</groupId>
445 <artifactId>joda-time</artifactId>
446 <version>2.5</version>
447 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700448 </dependencies>
449 </dependencyManagement>
450
451 <dependencies>
452 <dependency>
453 <groupId>junit</groupId>
454 <artifactId>junit</artifactId>
455 </dependency>
456 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700457 <groupId>org.hamcrest</groupId>
458 <artifactId>hamcrest-core</artifactId>
459 </dependency>
460 <dependency>
461 <groupId>org.hamcrest</groupId>
462 <artifactId>hamcrest-library</artifactId>
463 </dependency>
464 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700465 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700466 <artifactId>slf4j-api</artifactId>
467 </dependency>
468 <dependency>
469 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700470 <artifactId>slf4j-jdk14</artifactId>
471 </dependency>
472 </dependencies>
tom09419512014-08-15 11:28:43 -0700473
474 <build>
475 <pluginManagement>
476 <plugins>
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700480 <!-- TODO: update once following issue is fixed. -->
481 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
482 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700483 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800484 <source>1.8</source>
485 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700486 </configuration>
487 </plugin>
488
489 <plugin>
490 <groupId>org.apache.maven.plugins</groupId>
491 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700492 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700493 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700494 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700495 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700496 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
497 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700498 </configuration>
tom09419512014-08-15 11:28:43 -0700499 </plugin>
500
501 <plugin>
502 <groupId>org.apache.maven.plugins</groupId>
503 <artifactId>maven-jar-plugin</artifactId>
504 <version>2.3.1</version>
505 <executions>
506 <execution>
507 <phase>package</phase>
508 <goals>
509 <goal>test-jar</goal>
510 </goals>
511 </execution>
512 </executions>
513 </plugin>
514
515 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700516 <groupId>org.apache.maven.plugins</groupId>
517 <artifactId>maven-resources-plugin</artifactId>
518 <version>2.6</version>
519 </plugin>
520
521 <plugin>
tom09419512014-08-15 11:28:43 -0700522 <groupId>org.apache.felix</groupId>
523 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800524 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700525 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800526 <!--
527 Drop following dependency when the below bug fix is published
528 https://issues.apache.org/jira/browse/FELIX-4556
529 -->
530 <dependencies>
531 <dependency>
532 <groupId>biz.aQute.bnd</groupId>
533 <artifactId>bndlib</artifactId>
534 <version>2.4.0</version>
535 </dependency>
536 </dependencies>
tom09419512014-08-15 11:28:43 -0700537 </plugin>
538
539 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800540 <groupId>org.apache.maven.plugins</groupId>
541 <artifactId>maven-shade-plugin</artifactId>
542 <version>2.3</version>
543 </plugin>
544
545 <plugin>
tom09419512014-08-15 11:28:43 -0700546 <groupId>org.apache.felix</groupId>
547 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800548 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700549 <executions>
550 <execution>
551 <id>generate-scr-srcdescriptor</id>
552 <goals>
553 <goal>scr</goal>
554 </goals>
555 </execution>
556 </executions>
557 <configuration>
558 <supportedProjectTypes>
559 <supportedProjectType>bundle</supportedProjectType>
560 <supportedProjectType>war</supportedProjectType>
561 </supportedProjectTypes>
562 </configuration>
563 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800564 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800565 <groupId>org.codehaus.mojo</groupId>
566 <artifactId>findbugs-maven-plugin</artifactId>
567 <version>3.0.0</version>
568 <dependencies>
569 <dependency>
570 <groupId>org.onosproject</groupId>
571 <artifactId>onos-build-conf</artifactId>
572 <version>1.0</version>
573 </dependency>
574 </dependencies>
575 <configuration>
576 <effort>Max</effort>
577 <excludeFilterFile>onos/findbugs-suppressions.xml
578 </excludeFilterFile>
579 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800580 </plugin>
tom09419512014-08-15 11:28:43 -0700581
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700582 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700583 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700584 <groupId>org.onosproject</groupId>
585 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700586 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700587 <executions>
588 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700589 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700590 <phase>generate-resources</phase>
591 <goals>
592 <goal>cfg</goal>
593 </goals>
594 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700595 <execution>
596 <id>app</id>
597 <phase>package</phase>
598 <goals>
599 <goal>app</goal>
600 </goals>
601 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700602 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700603 </plugin>
tom09419512014-08-15 11:28:43 -0700604 </plugins>
tom09419512014-08-15 11:28:43 -0700605 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700606
607 <plugins>
608 <plugin>
609 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700610 <artifactId>maven-jar-plugin</artifactId>
611 </plugin>
612
613 <plugin>
614 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700615 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700616 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700617 <dependencies>
618 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800619 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700620 <artifactId>onos-build-conf</artifactId>
621 <version>1.0</version>
622 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800623 <!-- For Java 8 lambda support-->
624 <dependency>
625 <groupId>com.puppycrawl.tools</groupId>
626 <artifactId>checkstyle</artifactId>
627 <version>5.9</version>
628 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700629 </dependencies>
630 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800631 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800632 <sourceDirectory>${project.build.sourceDirectory}
633 </sourceDirectory>
634 <testSourceDirectory>${project.build.testSourceDirectory}
635 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800636 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700637 <configLocation>onos/checkstyle.xml</configLocation>
638 <suppressionsLocation>onos/suppressions.xml
639 </suppressionsLocation>
640 <failsOnError>false</failsOnError>
641 <logViolationsToConsole>true</logViolationsToConsole>
642 <includeTestSourceDirectory>true
643 </includeTestSourceDirectory>
644 </configuration>
645 <executions>
646 <execution>
647 <id>validate-checkstyle</id>
648 <phase>verify</phase>
649 <goals>
650 <goal>check</goal>
651 </goals>
652 </execution>
653 </executions>
654 </plugin>
655
656 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700657 <groupId>org.apache.maven.plugins</groupId>
658 <artifactId>maven-pmd-plugin</artifactId>
659 <version>3.2</version>
660 <configuration>
661 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700662 </excludes>
663 <rulesets>
664 <ruleset>onos/pmd.xml</ruleset>
665 </rulesets>
666 </configuration>
667 <executions>
668 <execution>
669 <id>validate-pmd</id>
670 <phase>verify</phase>
671 <goals>
672 <!-- Uncomment this goal to make the build fail on pmd errors -->
673 <!--<goal>check</goal>-->
674 </goals>
675 </execution>
676 </executions>
677 </plugin>
678
679 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700680 <groupId>org.jacoco</groupId>
681 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800682 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700683 <executions>
684 <execution>
685 <id>default-prepare-agent</id>
686 <goals>
687 <goal>prepare-agent</goal>
688 </goals>
689 </execution>
690 <execution>
691 <id>default-report</id>
692 <phase>prepare-package</phase>
693 <goals>
694 <goal>report</goal>
695 </goals>
696 </execution>
697 </executions>
698 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700699 </plugins>
tom09419512014-08-15 11:28:43 -0700700 </build>
alshabib522d9872014-08-15 10:35:16 -0700701
tom0eb04ca2014-08-25 14:34:51 -0700702 <reporting>
703 <plugins>
704 <plugin>
705 <groupId>org.apache.maven.plugins</groupId>
706 <artifactId>maven-checkstyle-plugin</artifactId>
707 <version>2.12.1</version>
708 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800709 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700710 </configuration>
711 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700712
713 <plugin>
714 <groupId>org.apache.maven.plugins</groupId>
715 <artifactId>maven-pmd-plugin</artifactId>
716 <version>3.2</version>
717 <configuration>
718 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700719 </excludes>
720 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800721 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700722 </rulesets>
723 </configuration>
724 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700725 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700726 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700727</project>