blob: 3feb61a54b20ba40515ccf17ca71197249d8abfb [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 Vachuskad3858e42015-04-22 22:05:49 -070051 <module>exp</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>
Ray Milkey67c22722015-03-09 15:48:57 -0700214 <groupId>com.sun.jersey.jersey-test-framework</groupId>
215 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700216 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700217 <scope>test</scope>
218 </dependency>
219 <dependency>
220 <groupId>com.sun.jersey.jersey-test-framework</groupId>
221 <artifactId>jersey-test-framework-grizzly2</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>
tom0eb04ca2014-08-25 14:34:51 -0700226 <groupId>com.fasterxml.jackson.core</groupId>
227 <artifactId>jackson-databind</artifactId>
228 <version>2.4.2</version>
229 <scope>provided</scope>
230 </dependency>
231 <dependency>
232 <groupId>com.fasterxml.jackson.core</groupId>
233 <artifactId>jackson-annotations</artifactId>
234 <version>2.4.2</version>
235 <scope>provided</scope>
236 </dependency>
237
238 <!-- OSGi related -->
239 <dependency>
240 <groupId>org.osgi</groupId>
241 <artifactId>org.osgi.core</artifactId>
242 <version>4.3.1</version>
243 <scope>provided</scope>
244 </dependency>
245 <dependency>
tomc16656f2014-10-15 18:30:31 -0700246 <groupId>org.osgi</groupId>
247 <artifactId>org.osgi.compendium</artifactId>
248 <version>4.3.1</version>
249 <scope>provided</scope>
250 </dependency>
251 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700252 <groupId>org.apache.felix</groupId>
253 <artifactId>org.apache.felix.scr.annotations</artifactId>
254 <version>1.9.8</version>
255 <scope>provided</scope>
256 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700257
258 <dependency>
259 <groupId>org.apache.karaf.features</groupId>
260 <artifactId>org.apache.karaf.features.core</artifactId>
261 <version>${karaf.version}</version>
262 <scope>provided</scope>
263 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700264 <dependency>
265 <groupId>org.apache.karaf.system</groupId>
266 <artifactId>org.apache.karaf.system.core</artifactId>
267 <version>${karaf.version}</version>
268 <scope>provided</scope>
269 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700270 <dependency>
271 <groupId>org.apache.karaf.shell</groupId>
272 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700273 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700274 <scope>provided</scope>
275 </dependency>
276
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700277 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700278 <groupId>org.livetribe.slp</groupId>
279 <artifactId>livetribe-slp</artifactId>
280 <version>2.2.1</version>
281 </dependency>
282
283 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700284 <groupId>com.hazelcast</groupId>
285 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800286 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700287 </dependency>
288 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800289 <groupId>com.hazelcast</groupId>
290 <artifactId>hazelcast</artifactId>
291 <version>3.4</version>
292 <classifier>tests</classifier>
293 <scope>test</scope>
294 </dependency>
295 <dependency>
tomdc66b382014-09-22 17:05:47 -0700296 <groupId>com.eclipsesource.minimal-json</groupId>
297 <artifactId>minimal-json</artifactId>
298 <version>0.9.1</version>
299 </dependency>
300 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700301 <groupId>com.esotericsoftware</groupId>
302 <artifactId>kryo</artifactId>
303 <version>3.0.0</version>
304 </dependency>
305 <dependency>
306 <groupId>com.esotericsoftware</groupId>
307 <artifactId>reflectasm</artifactId>
308 <version>1.10.0</version>
309 <type>bundle</type>
310 </dependency>
311 <dependency>
312 <groupId>org.ow2.asm</groupId>
313 <artifactId>asm</artifactId>
314 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700315 </dependency>
316 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700317 <groupId>com.esotericsoftware</groupId>
318 <artifactId>minlog</artifactId>
319 <version>1.3.0</version>
320 </dependency>
321 <dependency>
322 <groupId>org.objenesis</groupId>
323 <artifactId>objenesis</artifactId>
324 <version>2.1</version>
325 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700326
tom0eb04ca2014-08-25 14:34:51 -0700327 <!-- ONOS related -->
328 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800329 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700330 <artifactId>onlab-misc</artifactId>
331 <version>${project.version}</version>
332 </dependency>
tom931af4e2014-09-13 12:00:57 -0700333 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800334 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700335 <artifactId>onlab-nio</artifactId>
336 <version>${project.version}</version>
337 </dependency>
338 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800339 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700340 <artifactId>onlab-osgi</artifactId>
341 <version>${project.version}</version>
342 </dependency>
343 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800344 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800345 <artifactId>onlab-osgi</artifactId>
346 <version>${project.version}</version>
347 <classifier>tests</classifier>
348 <scope>test</scope>
349 </dependency>
350 <dependency>
351 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700352 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700353 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700354 <scope>test</scope>
355 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700356
357 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800358 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700359 <artifactId>onos-api</artifactId>
360 <version>${project.version}</version>
361 </dependency>
362 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800363 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700364 <artifactId>onos-api</artifactId>
365 <version>${project.version}</version>
366 <classifier>tests</classifier>
367 <scope>test</scope>
368 </dependency>
369
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800370
371 <dependency>
372 <groupId>org.onosproject</groupId>
373 <artifactId>onos-core-common</artifactId>
374 <version>${project.version}</version>
375 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-core-common</artifactId>
379 <version>${project.version}</version>
380 <classifier>tests</classifier>
381 <scope>test</scope>
382 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800383
tom61359e92014-09-16 15:50:27 -0700384 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800385 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700386 <artifactId>onos-of-api</artifactId>
387 <version>${project.version}</version>
388 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700389
390 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800391 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700392 <artifactId>onlab-thirdparty</artifactId>
393 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700394 </dependency>
395
tom61359e92014-09-16 15:50:27 -0700396 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800397 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700398 <artifactId>onos-of-api</artifactId>
399 <version>${project.version}</version>
400 <classifier>tests</classifier>
401 <scope>test</scope>
402 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700403 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700404 <groupId>commons-pool</groupId>
405 <artifactId>commons-pool</artifactId>
406 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700407 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700408 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700409 <groupId>io.netty</groupId>
410 <artifactId>netty-common</artifactId>
411 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700412 </dependency>
413 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700414 <groupId>io.netty</groupId>
415 <artifactId>netty-buffer</artifactId>
416 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700417 </dependency>
418 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700419 <groupId>io.netty</groupId>
420 <artifactId>netty-transport</artifactId>
421 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700422 </dependency>
423 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700424 <groupId>io.netty</groupId>
425 <artifactId>netty-handler</artifactId>
426 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700427 </dependency>
428 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700429 <groupId>io.netty</groupId>
430 <artifactId>netty-codec</artifactId>
431 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700432 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700433 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700434 <groupId>io.netty</groupId>
435 <artifactId>netty-transport-native-epoll</artifactId>
436 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800437 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700438 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700439 <dependency>
440 <groupId>joda-time</groupId>
441 <artifactId>joda-time</artifactId>
442 <version>2.5</version>
443 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700444 </dependencies>
445 </dependencyManagement>
446
447 <dependencies>
448 <dependency>
449 <groupId>junit</groupId>
450 <artifactId>junit</artifactId>
451 </dependency>
452 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700453 <groupId>org.hamcrest</groupId>
454 <artifactId>hamcrest-core</artifactId>
455 </dependency>
456 <dependency>
457 <groupId>org.hamcrest</groupId>
458 <artifactId>hamcrest-library</artifactId>
459 </dependency>
460 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700461 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700462 <artifactId>slf4j-api</artifactId>
463 </dependency>
464 <dependency>
465 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700466 <artifactId>slf4j-jdk14</artifactId>
467 </dependency>
468 </dependencies>
tom09419512014-08-15 11:28:43 -0700469
470 <build>
471 <pluginManagement>
472 <plugins>
473 <plugin>
474 <groupId>org.apache.maven.plugins</groupId>
475 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700476 <!-- TODO: update once following issue is fixed. -->
477 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
478 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700479 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800480 <source>1.8</source>
481 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700482 </configuration>
483 </plugin>
484
485 <plugin>
486 <groupId>org.apache.maven.plugins</groupId>
487 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700488 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700489 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700490 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700491 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700492 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
493 <rerunFailingTestsCount>1</rerunFailingTestsCount>
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>