blob: 93e7330bf8d843d5c413a4ea627f35523f88b766 [file] [log] [blame]
Brian O'Connor5af8a942014-11-26 12:17:40 -08001<?xml version="1.0" encoding="UTF-8"?>
Thomas Vachuska7399e482014-12-01 21:27:42 -08002<!--
3 ~ Copyright 2014 Open Networking Laboratory
4 ~
5 ~ Licensed under the Apache License, Version 2.0 (the "License");
6 ~ you may not use this file except in compliance with the License.
7 ~ You may obtain a copy of the License at
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
11 ~ Unless required by applicable law or agreed to in writing, software
12 ~ distributed under the License is distributed on an "AS IS" BASIS,
13 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 ~ See the License for the specific language governing permissions and
15 ~ limitations under the License.
16 -->
tom09419512014-08-15 11:28:43 -070017<project xmlns="http://maven.apache.org/POM/4.0.0"
18 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
19 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
20 <modelVersion>4.0.0</modelVersion>
alshabib522d9872014-08-15 10:35:16 -070021
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070022 <prerequisites>
Yuta HIGUCHI1cb9a522015-02-04 11:55:19 -080023 <maven>3.0.1</maven>
Thomas Vachuskaabfe8d32014-10-23 15:59:32 -070024 </prerequisites>
25
Brian O'Connor932d9412014-12-03 17:20:11 -080026 <parent>
27 <groupId>org.onosproject</groupId>
28 <artifactId>onos-base</artifactId>
29 <version>1</version>
30 <relativePath>tools/build/pom.xml</relativePath>
31 </parent>
32
Brian O'Connorabafb502014-12-02 22:26:20 -080033 <groupId>org.onosproject</groupId>
tom09419512014-08-15 11:28:43 -070034 <artifactId>onos</artifactId>
35 <packaging>pom</packaging>
Brian O'Connor6ea48a22015-03-17 20:07:20 -070036 <version>1.2.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070037
Brian O'Connor932d9412014-12-03 17:20:11 -080038 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080039 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070040
41 <modules>
Brian O'Connorbf7eca52015-04-15 16:25:46 -070042 <module>tools/package/maven-plugin</module>
tom0eb04ca2014-08-25 14:34:51 -070043 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070044 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070045 <module>web</module>
46 <module>cli</module>
47 <module>providers</module>
alshabibfaa1e362015-04-02 15:01:54 -070048 <module>drivers</module>
tomf8b8d672014-09-17 13:07:23 -070049 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070050 <module>apps</module>
Thomas Vachuskad24aa7f2015-05-14 18:37:54 -070051 <module>incubator</module>
tom09419512014-08-15 11:28:43 -070052 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070053 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070054 </modules>
55
Brian O'Connor3439c102014-12-03 01:02:03 -080056 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070057
Brian O'Connor932d9412014-12-03 17:20:11 -080058 <scm>
59 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080060 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
61 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080062 <url>http://gerrit.onosproject.org/</url>
63 </scm>
64
tom09419512014-08-15 11:28:43 -070065 <licenses>
66 <license>
tom09419512014-08-15 11:28:43 -070067 <name>Apache License, Version 2.0</name>
68 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
69 </license>
70 </licenses>
71
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070072 <properties>
73 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070074 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampanied1b7fc2015-04-27 23:30:07 -070075 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080076 <openflowj.version>0.3.9.oe</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070077 <karaf.version>3.0.3</karaf.version>
78 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070079 </properties>
80
Brian O'Connor932d9412014-12-03 17:20:11 -080081 <distributionManagement>
82 <snapshotRepository>
83 <id>ossrh</id>
84 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
85 </snapshotRepository>
86 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080087
Madan Jampanid5fd8472015-03-25 12:14:41 -070088 <!--- Needed for copycat. Remove before official release -->
89 <repositories>
90 <repository>
91 <id>snapshots</id>
92 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
93 </repository>
94 </repositories>
95
tom0eb04ca2014-08-25 14:34:51 -070096 <dependencyManagement>
97 <dependencies>
98 <dependency>
99 <groupId>junit</groupId>
100 <artifactId>junit</artifactId>
101 <version>4.11</version>
102 <scope>test</scope>
103 </dependency>
tom09419512014-08-15 11:28:43 -0700104
tom0eb04ca2014-08-25 14:34:51 -0700105 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700106 <groupId>org.hamcrest</groupId>
107 <artifactId>hamcrest-core</artifactId>
108 <version>1.3</version>
109 <scope>test</scope>
110 </dependency>
111 <dependency>
112 <groupId>org.hamcrest</groupId>
113 <artifactId>hamcrest-library</artifactId>
114 <version>1.3</version>
115 <scope>test</scope>
116 </dependency>
117
118 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700119 <groupId>org.slf4j</groupId>
120 <artifactId>slf4j-api</artifactId>
121 <version>1.7.6</version>
122 <scope>provided</scope>
123 </dependency>
124
125 <dependency>
126 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700127 <artifactId>slf4j-core</artifactId>
128 <version>1.7.6</version>
129 <scope>test</scope>
130 </dependency>
131
132 <dependency>
133 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700134 <artifactId>slf4j-jdk14</artifactId>
135 <version>1.7.6</version>
136 <scope>test</scope>
137 </dependency>
138
139 <dependency>
140 <groupId>com.google.guava</groupId>
141 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700142 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700143 </dependency>
144
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700145 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700146 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700147 <artifactId>netty</artifactId>
148 <version>3.9.0.Final</version>
149 </dependency>
150
tomde8d9682014-08-27 01:11:43 -0700151 <dependency>
152 <groupId>com.google.guava</groupId>
153 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700154 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700155 <scope>test</scope>
156 </dependency>
157
tom6d2a43e2014-09-08 01:50:20 -0700158 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700159 <groupId>com.googlecode.concurrent-trees</groupId>
160 <artifactId>concurrent-trees</artifactId>
161 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700162 </dependency>
163
164 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700165 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700166 <artifactId>commons-lang</artifactId>
167 <version>2.6</version>
168 </dependency>
tomde8d9682014-08-27 01:11:43 -0700169
tom66a7eb22014-09-22 11:58:56 -0700170 <dependency>
171 <groupId>org.apache.commons</groupId>
172 <artifactId>commons-lang3</artifactId>
173 <version>3.3.2</version>
174 </dependency>
175
Brian O'Connorf3d06162014-10-02 15:54:12 -0700176 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800177 <groupId>commons-configuration</groupId>
178 <artifactId>commons-configuration</artifactId>
179 <version>1.10</version>
180 </dependency>
181
182 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800183 <groupId>org.apache.commons</groupId>
184 <artifactId>commons-collections4</artifactId>
185 <version>4.0</version>
186 </dependency>
187
188 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700189 <groupId>org.codehaus.jackson</groupId>
190 <artifactId>jackson-core-asl</artifactId>
191 <version>1.9.13</version>
192 </dependency>
193 <dependency>
194 <groupId>org.codehaus.jackson</groupId>
195 <artifactId>jackson-mapper-asl</artifactId>
196 <version>1.9.13</version>
197 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700198
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700199 <dependency>
200 <groupId>org.easymock</groupId>
201 <artifactId>easymock</artifactId>
202 <version>3.2</version>
203 <scope>test</scope>
204 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700205
tom0eb04ca2014-08-25 14:34:51 -0700206 <!-- Web related -->
207 <dependency>
208 <groupId>com.sun.jersey</groupId>
209 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700210 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700211 <scope>provided</scope>
212 </dependency>
213 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700214 <groupId>com.sun.jersey.contribs</groupId>
215 <artifactId>jersey-multipart</artifactId>
216 <version>${jersey.version}</version>
217 <scope>provided</scope>
218 </dependency>
219 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700220 <groupId>com.sun.jersey.jersey-test-framework</groupId>
221 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700222 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700223 <scope>test</scope>
224 </dependency>
225 <dependency>
226 <groupId>com.sun.jersey.jersey-test-framework</groupId>
227 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700228 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700229 <scope>test</scope>
230 </dependency>
231 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700232 <groupId>com.fasterxml.jackson.core</groupId>
233 <artifactId>jackson-databind</artifactId>
234 <version>2.4.2</version>
235 <scope>provided</scope>
236 </dependency>
237 <dependency>
238 <groupId>com.fasterxml.jackson.core</groupId>
239 <artifactId>jackson-annotations</artifactId>
240 <version>2.4.2</version>
241 <scope>provided</scope>
242 </dependency>
243
244 <!-- OSGi related -->
245 <dependency>
246 <groupId>org.osgi</groupId>
247 <artifactId>org.osgi.core</artifactId>
248 <version>4.3.1</version>
249 <scope>provided</scope>
250 </dependency>
251 <dependency>
tomc16656f2014-10-15 18:30:31 -0700252 <groupId>org.osgi</groupId>
253 <artifactId>org.osgi.compendium</artifactId>
254 <version>4.3.1</version>
255 <scope>provided</scope>
256 </dependency>
257 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700258 <groupId>org.apache.felix</groupId>
259 <artifactId>org.apache.felix.scr.annotations</artifactId>
260 <version>1.9.8</version>
261 <scope>provided</scope>
262 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700263
264 <dependency>
265 <groupId>org.apache.karaf.features</groupId>
266 <artifactId>org.apache.karaf.features.core</artifactId>
267 <version>${karaf.version}</version>
268 <scope>provided</scope>
269 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700270 <dependency>
271 <groupId>org.apache.karaf.system</groupId>
272 <artifactId>org.apache.karaf.system.core</artifactId>
273 <version>${karaf.version}</version>
274 <scope>provided</scope>
275 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700276 <dependency>
277 <groupId>org.apache.karaf.shell</groupId>
278 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700279 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700280 <scope>provided</scope>
281 </dependency>
282
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700283 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700284 <groupId>org.livetribe.slp</groupId>
285 <artifactId>livetribe-slp</artifactId>
286 <version>2.2.1</version>
287 </dependency>
288
289 <dependency>
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>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700391 <artifactId>onlab-thirdparty</artifactId>
392 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700393 </dependency>
394
tom61359e92014-09-16 15:50:27 -0700395 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800396 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700397 <artifactId>onos-of-api</artifactId>
398 <version>${project.version}</version>
399 <classifier>tests</classifier>
400 <scope>test</scope>
401 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700402 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700403 <groupId>commons-pool</groupId>
404 <artifactId>commons-pool</artifactId>
405 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700406 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700407 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700408 <groupId>io.netty</groupId>
409 <artifactId>netty-common</artifactId>
410 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700411 </dependency>
412 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700413 <groupId>io.netty</groupId>
414 <artifactId>netty-buffer</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-transport</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-handler</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-codec</artifactId>
430 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700431 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700432 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700433 <groupId>io.netty</groupId>
434 <artifactId>netty-transport-native-epoll</artifactId>
435 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800436 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700437 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700438 <dependency>
439 <groupId>joda-time</groupId>
440 <artifactId>joda-time</artifactId>
441 <version>2.5</version>
442 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700443 </dependencies>
444 </dependencyManagement>
445
446 <dependencies>
447 <dependency>
448 <groupId>junit</groupId>
449 <artifactId>junit</artifactId>
450 </dependency>
451 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700452 <groupId>org.hamcrest</groupId>
453 <artifactId>hamcrest-core</artifactId>
454 </dependency>
455 <dependency>
456 <groupId>org.hamcrest</groupId>
457 <artifactId>hamcrest-library</artifactId>
458 </dependency>
459 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700460 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700461 <artifactId>slf4j-api</artifactId>
462 </dependency>
463 <dependency>
464 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700465 <artifactId>slf4j-jdk14</artifactId>
466 </dependency>
467 </dependencies>
tom09419512014-08-15 11:28:43 -0700468
469 <build>
470 <pluginManagement>
471 <plugins>
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700475 <!-- TODO: update once following issue is fixed. -->
476 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
477 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700478 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800479 <source>1.8</source>
480 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700481 </configuration>
482 </plugin>
483
484 <plugin>
485 <groupId>org.apache.maven.plugins</groupId>
486 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700487 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700488 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700489 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700490 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700491 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
492 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700493 </configuration>
tom09419512014-08-15 11:28:43 -0700494 </plugin>
495
496 <plugin>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-jar-plugin</artifactId>
499 <version>2.3.1</version>
500 <executions>
501 <execution>
502 <phase>package</phase>
503 <goals>
504 <goal>test-jar</goal>
505 </goals>
506 </execution>
507 </executions>
508 </plugin>
509
510 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-resources-plugin</artifactId>
513 <version>2.6</version>
514 </plugin>
515
516 <plugin>
tom09419512014-08-15 11:28:43 -0700517 <groupId>org.apache.felix</groupId>
518 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800519 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700520 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800521 <!--
522 Drop following dependency when the below bug fix is published
523 https://issues.apache.org/jira/browse/FELIX-4556
524 -->
525 <dependencies>
526 <dependency>
527 <groupId>biz.aQute.bnd</groupId>
528 <artifactId>bndlib</artifactId>
529 <version>2.4.0</version>
530 </dependency>
531 </dependencies>
tom09419512014-08-15 11:28:43 -0700532 </plugin>
533
534 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-shade-plugin</artifactId>
537 <version>2.3</version>
538 </plugin>
539
540 <plugin>
tom09419512014-08-15 11:28:43 -0700541 <groupId>org.apache.felix</groupId>
542 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800543 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700544 <executions>
545 <execution>
546 <id>generate-scr-srcdescriptor</id>
547 <goals>
548 <goal>scr</goal>
549 </goals>
550 </execution>
551 </executions>
552 <configuration>
553 <supportedProjectTypes>
554 <supportedProjectType>bundle</supportedProjectType>
555 <supportedProjectType>war</supportedProjectType>
556 </supportedProjectTypes>
557 </configuration>
558 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800559 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800560 <groupId>org.codehaus.mojo</groupId>
561 <artifactId>findbugs-maven-plugin</artifactId>
562 <version>3.0.0</version>
563 <dependencies>
564 <dependency>
565 <groupId>org.onosproject</groupId>
566 <artifactId>onos-build-conf</artifactId>
567 <version>1.0</version>
568 </dependency>
569 </dependencies>
570 <configuration>
571 <effort>Max</effort>
572 <excludeFilterFile>onos/findbugs-suppressions.xml
573 </excludeFilterFile>
574 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800575 </plugin>
tom09419512014-08-15 11:28:43 -0700576
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700577 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700578 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700579 <groupId>org.onosproject</groupId>
580 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorbf7eca52015-04-15 16:25:46 -0700581 <version>1.4-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700582 <executions>
583 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700584 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700585 <phase>generate-resources</phase>
586 <goals>
587 <goal>cfg</goal>
588 </goals>
589 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700590 <execution>
591 <id>app</id>
592 <phase>package</phase>
593 <goals>
594 <goal>app</goal>
595 </goals>
596 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700597 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700598 </plugin>
tom09419512014-08-15 11:28:43 -0700599 </plugins>
tom09419512014-08-15 11:28:43 -0700600 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700601
602 <plugins>
603 <plugin>
604 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700605 <artifactId>maven-jar-plugin</artifactId>
606 </plugin>
607
608 <plugin>
609 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700610 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700611 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700612 <dependencies>
613 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800614 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700615 <artifactId>onos-build-conf</artifactId>
616 <version>1.0</version>
617 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800618 <!-- For Java 8 lambda support-->
619 <dependency>
620 <groupId>com.puppycrawl.tools</groupId>
621 <artifactId>checkstyle</artifactId>
622 <version>5.9</version>
623 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700624 </dependencies>
625 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800626 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800627 <sourceDirectory>${project.build.sourceDirectory}
628 </sourceDirectory>
629 <testSourceDirectory>${project.build.testSourceDirectory}
630 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800631 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700632 <configLocation>onos/checkstyle.xml</configLocation>
633 <suppressionsLocation>onos/suppressions.xml
634 </suppressionsLocation>
635 <failsOnError>false</failsOnError>
636 <logViolationsToConsole>true</logViolationsToConsole>
637 <includeTestSourceDirectory>true
638 </includeTestSourceDirectory>
639 </configuration>
640 <executions>
641 <execution>
642 <id>validate-checkstyle</id>
643 <phase>verify</phase>
644 <goals>
645 <goal>check</goal>
646 </goals>
647 </execution>
648 </executions>
649 </plugin>
650
651 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700652 <groupId>org.apache.maven.plugins</groupId>
653 <artifactId>maven-pmd-plugin</artifactId>
654 <version>3.2</version>
655 <configuration>
656 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700657 </excludes>
658 <rulesets>
659 <ruleset>onos/pmd.xml</ruleset>
660 </rulesets>
661 </configuration>
662 <executions>
663 <execution>
664 <id>validate-pmd</id>
665 <phase>verify</phase>
666 <goals>
667 <!-- Uncomment this goal to make the build fail on pmd errors -->
668 <!--<goal>check</goal>-->
669 </goals>
670 </execution>
671 </executions>
672 </plugin>
673
674 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700675 <groupId>org.jacoco</groupId>
676 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800677 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700678 <executions>
679 <execution>
680 <id>default-prepare-agent</id>
681 <goals>
682 <goal>prepare-agent</goal>
683 </goals>
684 </execution>
685 <execution>
686 <id>default-report</id>
687 <phase>prepare-package</phase>
688 <goals>
689 <goal>report</goal>
690 </goals>
691 </execution>
692 </executions>
693 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700694 </plugins>
tom09419512014-08-15 11:28:43 -0700695 </build>
alshabib522d9872014-08-15 10:35:16 -0700696
tom0eb04ca2014-08-25 14:34:51 -0700697 <reporting>
698 <plugins>
699 <plugin>
700 <groupId>org.apache.maven.plugins</groupId>
701 <artifactId>maven-checkstyle-plugin</artifactId>
702 <version>2.12.1</version>
703 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800704 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700705 </configuration>
706 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700707
708 <plugin>
709 <groupId>org.apache.maven.plugins</groupId>
710 <artifactId>maven-pmd-plugin</artifactId>
711 <version>3.2</version>
712 <configuration>
713 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700714 </excludes>
715 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800716 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700717 </rulesets>
718 </configuration>
719 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700720 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700721 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700722</project>