blob: 7645fa6488f020a0aabcf35bae899627afc69705 [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>
Thomas Vachuskac65842d2015-03-25 11:04:02 -070075 <copycat.version>0.5.0.onos-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>
488 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700489 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700490 <redirectTestOutputToFile>true
491 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700492 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800493 <excludedGroups>org.onlab.junit.IntegrationTest
494 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700495 </configuration>
tom09419512014-08-15 11:28:43 -0700496 </plugin>
497
498 <plugin>
499 <groupId>org.apache.maven.plugins</groupId>
500 <artifactId>maven-jar-plugin</artifactId>
501 <version>2.3.1</version>
502 <executions>
503 <execution>
504 <phase>package</phase>
505 <goals>
506 <goal>test-jar</goal>
507 </goals>
508 </execution>
509 </executions>
510 </plugin>
511
512 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-resources-plugin</artifactId>
515 <version>2.6</version>
516 </plugin>
517
518 <plugin>
tom09419512014-08-15 11:28:43 -0700519 <groupId>org.apache.felix</groupId>
520 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800521 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700522 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800523 <!--
524 Drop following dependency when the below bug fix is published
525 https://issues.apache.org/jira/browse/FELIX-4556
526 -->
527 <dependencies>
528 <dependency>
529 <groupId>biz.aQute.bnd</groupId>
530 <artifactId>bndlib</artifactId>
531 <version>2.4.0</version>
532 </dependency>
533 </dependencies>
tom09419512014-08-15 11:28:43 -0700534 </plugin>
535
536 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800537 <groupId>org.apache.maven.plugins</groupId>
538 <artifactId>maven-shade-plugin</artifactId>
539 <version>2.3</version>
540 </plugin>
541
542 <plugin>
tom09419512014-08-15 11:28:43 -0700543 <groupId>org.apache.felix</groupId>
544 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800545 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700546 <executions>
547 <execution>
548 <id>generate-scr-srcdescriptor</id>
549 <goals>
550 <goal>scr</goal>
551 </goals>
552 </execution>
553 </executions>
554 <configuration>
555 <supportedProjectTypes>
556 <supportedProjectType>bundle</supportedProjectType>
557 <supportedProjectType>war</supportedProjectType>
558 </supportedProjectTypes>
559 </configuration>
560 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800561 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800562 <groupId>org.codehaus.mojo</groupId>
563 <artifactId>findbugs-maven-plugin</artifactId>
564 <version>3.0.0</version>
565 <dependencies>
566 <dependency>
567 <groupId>org.onosproject</groupId>
568 <artifactId>onos-build-conf</artifactId>
569 <version>1.0</version>
570 </dependency>
571 </dependencies>
572 <configuration>
573 <effort>Max</effort>
574 <excludeFilterFile>onos/findbugs-suppressions.xml
575 </excludeFilterFile>
576 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800577 </plugin>
tom09419512014-08-15 11:28:43 -0700578
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700579 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700580 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700581 <groupId>org.onosproject</groupId>
582 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorbf7eca52015-04-15 16:25:46 -0700583 <version>1.4-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700584 <executions>
585 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700586 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700587 <phase>generate-resources</phase>
588 <goals>
589 <goal>cfg</goal>
590 </goals>
591 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700592 <execution>
593 <id>app</id>
594 <phase>package</phase>
595 <goals>
596 <goal>app</goal>
597 </goals>
598 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700599 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700600 </plugin>
tom09419512014-08-15 11:28:43 -0700601 </plugins>
tom09419512014-08-15 11:28:43 -0700602 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700603
604 <plugins>
605 <plugin>
606 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700607 <artifactId>maven-jar-plugin</artifactId>
608 </plugin>
609
610 <plugin>
611 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700612 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700613 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700614 <dependencies>
615 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800616 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700617 <artifactId>onos-build-conf</artifactId>
618 <version>1.0</version>
619 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800620 <!-- For Java 8 lambda support-->
621 <dependency>
622 <groupId>com.puppycrawl.tools</groupId>
623 <artifactId>checkstyle</artifactId>
624 <version>5.9</version>
625 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700626 </dependencies>
627 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800628 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800629 <sourceDirectory>${project.build.sourceDirectory}
630 </sourceDirectory>
631 <testSourceDirectory>${project.build.testSourceDirectory}
632 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800633 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700634 <configLocation>onos/checkstyle.xml</configLocation>
635 <suppressionsLocation>onos/suppressions.xml
636 </suppressionsLocation>
637 <failsOnError>false</failsOnError>
638 <logViolationsToConsole>true</logViolationsToConsole>
639 <includeTestSourceDirectory>true
640 </includeTestSourceDirectory>
641 </configuration>
642 <executions>
643 <execution>
644 <id>validate-checkstyle</id>
645 <phase>verify</phase>
646 <goals>
647 <goal>check</goal>
648 </goals>
649 </execution>
650 </executions>
651 </plugin>
652
653 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700654 <groupId>org.apache.maven.plugins</groupId>
655 <artifactId>maven-pmd-plugin</artifactId>
656 <version>3.2</version>
657 <configuration>
658 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700659 </excludes>
660 <rulesets>
661 <ruleset>onos/pmd.xml</ruleset>
662 </rulesets>
663 </configuration>
664 <executions>
665 <execution>
666 <id>validate-pmd</id>
667 <phase>verify</phase>
668 <goals>
669 <!-- Uncomment this goal to make the build fail on pmd errors -->
670 <!--<goal>check</goal>-->
671 </goals>
672 </execution>
673 </executions>
674 </plugin>
675
676 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700677 <groupId>org.jacoco</groupId>
678 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800679 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700680 <executions>
681 <execution>
682 <id>default-prepare-agent</id>
683 <goals>
684 <goal>prepare-agent</goal>
685 </goals>
686 </execution>
687 <execution>
688 <id>default-report</id>
689 <phase>prepare-package</phase>
690 <goals>
691 <goal>report</goal>
692 </goals>
693 </execution>
694 </executions>
695 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700696 </plugins>
tom09419512014-08-15 11:28:43 -0700697 </build>
alshabib522d9872014-08-15 10:35:16 -0700698
tom0eb04ca2014-08-25 14:34:51 -0700699 <reporting>
700 <plugins>
701 <plugin>
702 <groupId>org.apache.maven.plugins</groupId>
703 <artifactId>maven-checkstyle-plugin</artifactId>
704 <version>2.12.1</version>
705 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800706 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700707 </configuration>
708 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700709
710 <plugin>
711 <groupId>org.apache.maven.plugins</groupId>
712 <artifactId>maven-pmd-plugin</artifactId>
713 <version>3.2</version>
714 <configuration>
715 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700716 </excludes>
717 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800718 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700719 </rulesets>
720 </configuration>
721 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700722 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700723 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700724</project>