blob: 0349386d3012af93cd9f3505221ef37f1710956d [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>
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>
Thomas Vachuskac65842d2015-03-25 11:04:02 -070074 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080075 <openflowj.version>0.3.9.oe</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
Madan Jampanid5fd8472015-03-25 12:14:41 -070087 <!--- Needed for copycat. Remove before official release -->
88 <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>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-collections4</artifactId>
184 <version>4.0</version>
185 </dependency>
186
187 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700188 <groupId>org.codehaus.jackson</groupId>
189 <artifactId>jackson-core-asl</artifactId>
190 <version>1.9.13</version>
191 </dependency>
192 <dependency>
193 <groupId>org.codehaus.jackson</groupId>
194 <artifactId>jackson-mapper-asl</artifactId>
195 <version>1.9.13</version>
196 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700197
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700198 <dependency>
199 <groupId>org.easymock</groupId>
200 <artifactId>easymock</artifactId>
201 <version>3.2</version>
202 <scope>test</scope>
203 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700204
tom0eb04ca2014-08-25 14:34:51 -0700205 <!-- Web related -->
206 <dependency>
207 <groupId>com.sun.jersey</groupId>
208 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700209 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700210 <scope>provided</scope>
211 </dependency>
212 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700213 <groupId>com.sun.jersey.jersey-test-framework</groupId>
214 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700215 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700216 <scope>test</scope>
217 </dependency>
218 <dependency>
219 <groupId>com.sun.jersey.jersey-test-framework</groupId>
220 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700221 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700222 <scope>test</scope>
223 </dependency>
224 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700225 <groupId>com.fasterxml.jackson.core</groupId>
226 <artifactId>jackson-databind</artifactId>
227 <version>2.4.2</version>
228 <scope>provided</scope>
229 </dependency>
230 <dependency>
231 <groupId>com.fasterxml.jackson.core</groupId>
232 <artifactId>jackson-annotations</artifactId>
233 <version>2.4.2</version>
234 <scope>provided</scope>
235 </dependency>
236
237 <!-- OSGi related -->
238 <dependency>
239 <groupId>org.osgi</groupId>
240 <artifactId>org.osgi.core</artifactId>
241 <version>4.3.1</version>
242 <scope>provided</scope>
243 </dependency>
244 <dependency>
tomc16656f2014-10-15 18:30:31 -0700245 <groupId>org.osgi</groupId>
246 <artifactId>org.osgi.compendium</artifactId>
247 <version>4.3.1</version>
248 <scope>provided</scope>
249 </dependency>
250 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700251 <groupId>org.apache.felix</groupId>
252 <artifactId>org.apache.felix.scr.annotations</artifactId>
253 <version>1.9.8</version>
254 <scope>provided</scope>
255 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700256
257 <dependency>
258 <groupId>org.apache.karaf.features</groupId>
259 <artifactId>org.apache.karaf.features.core</artifactId>
260 <version>${karaf.version}</version>
261 <scope>provided</scope>
262 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700263 <dependency>
264 <groupId>org.apache.karaf.system</groupId>
265 <artifactId>org.apache.karaf.system.core</artifactId>
266 <version>${karaf.version}</version>
267 <scope>provided</scope>
268 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700269 <dependency>
270 <groupId>org.apache.karaf.shell</groupId>
271 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700272 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700273 <scope>provided</scope>
274 </dependency>
275
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700276 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700277 <groupId>org.livetribe.slp</groupId>
278 <artifactId>livetribe-slp</artifactId>
279 <version>2.2.1</version>
280 </dependency>
281
282 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700283 <groupId>com.hazelcast</groupId>
284 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800285 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700286 </dependency>
287 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800288 <groupId>com.hazelcast</groupId>
289 <artifactId>hazelcast</artifactId>
290 <version>3.4</version>
291 <classifier>tests</classifier>
292 <scope>test</scope>
293 </dependency>
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 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>
487 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700488 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700489 <redirectTestOutputToFile>true
490 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700491 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800492 <excludedGroups>org.onlab.junit.IntegrationTest
493 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700494 </configuration>
tom09419512014-08-15 11:28:43 -0700495 </plugin>
496
497 <plugin>
498 <groupId>org.apache.maven.plugins</groupId>
499 <artifactId>maven-jar-plugin</artifactId>
500 <version>2.3.1</version>
501 <executions>
502 <execution>
503 <phase>package</phase>
504 <goals>
505 <goal>test-jar</goal>
506 </goals>
507 </execution>
508 </executions>
509 </plugin>
510
511 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700512 <groupId>org.apache.maven.plugins</groupId>
513 <artifactId>maven-resources-plugin</artifactId>
514 <version>2.6</version>
515 </plugin>
516
517 <plugin>
tom09419512014-08-15 11:28:43 -0700518 <groupId>org.apache.felix</groupId>
519 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800520 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700521 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800522 <!--
523 Drop following dependency when the below bug fix is published
524 https://issues.apache.org/jira/browse/FELIX-4556
525 -->
526 <dependencies>
527 <dependency>
528 <groupId>biz.aQute.bnd</groupId>
529 <artifactId>bndlib</artifactId>
530 <version>2.4.0</version>
531 </dependency>
532 </dependencies>
tom09419512014-08-15 11:28:43 -0700533 </plugin>
534
535 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800536 <groupId>org.apache.maven.plugins</groupId>
537 <artifactId>maven-shade-plugin</artifactId>
538 <version>2.3</version>
539 </plugin>
540
541 <plugin>
tom09419512014-08-15 11:28:43 -0700542 <groupId>org.apache.felix</groupId>
543 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800544 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700545 <executions>
546 <execution>
547 <id>generate-scr-srcdescriptor</id>
548 <goals>
549 <goal>scr</goal>
550 </goals>
551 </execution>
552 </executions>
553 <configuration>
554 <supportedProjectTypes>
555 <supportedProjectType>bundle</supportedProjectType>
556 <supportedProjectType>war</supportedProjectType>
557 </supportedProjectTypes>
558 </configuration>
559 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800560 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800561 <groupId>org.codehaus.mojo</groupId>
562 <artifactId>findbugs-maven-plugin</artifactId>
563 <version>3.0.0</version>
564 <dependencies>
565 <dependency>
566 <groupId>org.onosproject</groupId>
567 <artifactId>onos-build-conf</artifactId>
568 <version>1.0</version>
569 </dependency>
570 </dependencies>
571 <configuration>
572 <effort>Max</effort>
573 <excludeFilterFile>onos/findbugs-suppressions.xml
574 </excludeFilterFile>
575 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800576 </plugin>
tom09419512014-08-15 11:28:43 -0700577
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700578 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700579 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700580 <groupId>org.onosproject</groupId>
581 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorbf7eca52015-04-15 16:25:46 -0700582 <version>1.4-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700583 <executions>
584 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700585 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700586 <phase>generate-resources</phase>
587 <goals>
588 <goal>cfg</goal>
589 </goals>
590 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700591 <execution>
592 <id>app</id>
593 <phase>package</phase>
594 <goals>
595 <goal>app</goal>
596 </goals>
597 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700598 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700599 </plugin>
tom09419512014-08-15 11:28:43 -0700600 </plugins>
tom09419512014-08-15 11:28:43 -0700601 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700602
603 <plugins>
604 <plugin>
605 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700606 <artifactId>maven-jar-plugin</artifactId>
607 </plugin>
608
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700611 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700612 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700613 <dependencies>
614 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800615 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700616 <artifactId>onos-build-conf</artifactId>
617 <version>1.0</version>
618 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800619 <!-- For Java 8 lambda support-->
620 <dependency>
621 <groupId>com.puppycrawl.tools</groupId>
622 <artifactId>checkstyle</artifactId>
623 <version>5.9</version>
624 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700625 </dependencies>
626 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800627 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800628 <sourceDirectory>${project.build.sourceDirectory}
629 </sourceDirectory>
630 <testSourceDirectory>${project.build.testSourceDirectory}
631 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800632 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700633 <configLocation>onos/checkstyle.xml</configLocation>
634 <suppressionsLocation>onos/suppressions.xml
635 </suppressionsLocation>
636 <failsOnError>false</failsOnError>
637 <logViolationsToConsole>true</logViolationsToConsole>
638 <includeTestSourceDirectory>true
639 </includeTestSourceDirectory>
640 </configuration>
641 <executions>
642 <execution>
643 <id>validate-checkstyle</id>
644 <phase>verify</phase>
645 <goals>
646 <goal>check</goal>
647 </goals>
648 </execution>
649 </executions>
650 </plugin>
651
652 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700653 <groupId>org.apache.maven.plugins</groupId>
654 <artifactId>maven-pmd-plugin</artifactId>
655 <version>3.2</version>
656 <configuration>
657 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700658 </excludes>
659 <rulesets>
660 <ruleset>onos/pmd.xml</ruleset>
661 </rulesets>
662 </configuration>
663 <executions>
664 <execution>
665 <id>validate-pmd</id>
666 <phase>verify</phase>
667 <goals>
668 <!-- Uncomment this goal to make the build fail on pmd errors -->
669 <!--<goal>check</goal>-->
670 </goals>
671 </execution>
672 </executions>
673 </plugin>
674
675 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700676 <groupId>org.jacoco</groupId>
677 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800678 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700679 <executions>
680 <execution>
681 <id>default-prepare-agent</id>
682 <goals>
683 <goal>prepare-agent</goal>
684 </goals>
685 </execution>
686 <execution>
687 <id>default-report</id>
688 <phase>prepare-package</phase>
689 <goals>
690 <goal>report</goal>
691 </goals>
692 </execution>
693 </executions>
694 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700695 </plugins>
tom09419512014-08-15 11:28:43 -0700696 </build>
alshabib522d9872014-08-15 10:35:16 -0700697
tom0eb04ca2014-08-25 14:34:51 -0700698 <reporting>
699 <plugins>
700 <plugin>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-checkstyle-plugin</artifactId>
703 <version>2.12.1</version>
704 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800705 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700706 </configuration>
707 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700708
709 <plugin>
710 <groupId>org.apache.maven.plugins</groupId>
711 <artifactId>maven-pmd-plugin</artifactId>
712 <version>3.2</version>
713 <configuration>
714 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700715 </excludes>
716 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800717 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700718 </rulesets>
719 </configuration>
720 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700721 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700722 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700723</project>