blob: d487a53fd6ece5e72d035e8d4ad6904163981764 [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>
tom0eb04ca2014-08-25 14:34:51 -070042 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070043 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070044 <module>web</module>
45 <module>cli</module>
46 <module>providers</module>
tomf8b8d672014-09-17 13:07:23 -070047 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070048 <module>apps</module>
tom09419512014-08-15 11:28:43 -070049 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070050 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070051 </modules>
52
Brian O'Connor3439c102014-12-03 01:02:03 -080053 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070054
Brian O'Connor932d9412014-12-03 17:20:11 -080055 <scm>
56 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080057 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
58 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080059 <url>http://gerrit.onosproject.org/</url>
60 </scm>
61
tom09419512014-08-15 11:28:43 -070062 <licenses>
63 <license>
tom09419512014-08-15 11:28:43 -070064 <name>Apache License, Version 2.0</name>
65 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
66 </license>
67 </licenses>
68
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070069 <properties>
70 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070071 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connor55396412015-03-17 18:49:29 -070072 <copycat.version>0.4.0.onos</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080073 <openflowj.version>0.3.9.oe</openflowj.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070074 </properties>
75
Brian O'Connor932d9412014-12-03 17:20:11 -080076 <distributionManagement>
77 <snapshotRepository>
78 <id>ossrh</id>
79 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
80 </snapshotRepository>
81 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080082
tom0eb04ca2014-08-25 14:34:51 -070083 <dependencyManagement>
84 <dependencies>
85 <dependency>
86 <groupId>junit</groupId>
87 <artifactId>junit</artifactId>
88 <version>4.11</version>
89 <scope>test</scope>
90 </dependency>
tom09419512014-08-15 11:28:43 -070091
tom0eb04ca2014-08-25 14:34:51 -070092 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070093 <groupId>org.hamcrest</groupId>
94 <artifactId>hamcrest-core</artifactId>
95 <version>1.3</version>
96 <scope>test</scope>
97 </dependency>
98 <dependency>
99 <groupId>org.hamcrest</groupId>
100 <artifactId>hamcrest-library</artifactId>
101 <version>1.3</version>
102 <scope>test</scope>
103 </dependency>
104
105 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700106 <groupId>org.slf4j</groupId>
107 <artifactId>slf4j-api</artifactId>
108 <version>1.7.6</version>
109 <scope>provided</scope>
110 </dependency>
111
112 <dependency>
113 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700114 <artifactId>slf4j-core</artifactId>
115 <version>1.7.6</version>
116 <scope>test</scope>
117 </dependency>
118
119 <dependency>
120 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700121 <artifactId>slf4j-jdk14</artifactId>
122 <version>1.7.6</version>
123 <scope>test</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>com.google.guava</groupId>
128 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700129 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700130 </dependency>
131
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700132 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700133 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700134 <artifactId>netty</artifactId>
135 <version>3.9.0.Final</version>
136 </dependency>
137
tomde8d9682014-08-27 01:11:43 -0700138 <dependency>
139 <groupId>com.google.guava</groupId>
140 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700141 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700142 <scope>test</scope>
143 </dependency>
144
tom6d2a43e2014-09-08 01:50:20 -0700145 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700146 <groupId>com.googlecode.concurrent-trees</groupId>
147 <artifactId>concurrent-trees</artifactId>
148 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700149 </dependency>
150
151 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700152 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700153 <artifactId>commons-lang</artifactId>
154 <version>2.6</version>
155 </dependency>
tomde8d9682014-08-27 01:11:43 -0700156
tom66a7eb22014-09-22 11:58:56 -0700157 <dependency>
158 <groupId>org.apache.commons</groupId>
159 <artifactId>commons-lang3</artifactId>
160 <version>3.3.2</version>
161 </dependency>
162
Brian O'Connorf3d06162014-10-02 15:54:12 -0700163 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800164 <groupId>commons-configuration</groupId>
165 <artifactId>commons-configuration</artifactId>
166 <version>1.10</version>
167 </dependency>
168
169 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800170 <groupId>org.apache.commons</groupId>
171 <artifactId>commons-collections4</artifactId>
172 <version>4.0</version>
173 </dependency>
174
175 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700176 <groupId>org.codehaus.jackson</groupId>
177 <artifactId>jackson-core-asl</artifactId>
178 <version>1.9.13</version>
179 </dependency>
180 <dependency>
181 <groupId>org.codehaus.jackson</groupId>
182 <artifactId>jackson-mapper-asl</artifactId>
183 <version>1.9.13</version>
184 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700185
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700186 <dependency>
187 <groupId>org.easymock</groupId>
188 <artifactId>easymock</artifactId>
189 <version>3.2</version>
190 <scope>test</scope>
191 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700192
tom0eb04ca2014-08-25 14:34:51 -0700193 <!-- Web related -->
194 <dependency>
195 <groupId>com.sun.jersey</groupId>
196 <artifactId>jersey-servlet</artifactId>
Ray Milkey67c22722015-03-09 15:48:57 -0700197 <version>1.19</version>
tom0eb04ca2014-08-25 14:34:51 -0700198 <scope>provided</scope>
199 </dependency>
200 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700201 <groupId>com.sun.jersey.jersey-test-framework</groupId>
202 <artifactId>jersey-test-framework-core</artifactId>
203 <version>1.19</version>
204 <scope>test</scope>
205 </dependency>
206 <dependency>
207 <groupId>com.sun.jersey.jersey-test-framework</groupId>
208 <artifactId>jersey-test-framework-grizzly2</artifactId>
209 <version>1.19</version>
210 <scope>test</scope>
211 </dependency>
212 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700213 <groupId>com.fasterxml.jackson.core</groupId>
214 <artifactId>jackson-databind</artifactId>
215 <version>2.4.2</version>
216 <scope>provided</scope>
217 </dependency>
218 <dependency>
219 <groupId>com.fasterxml.jackson.core</groupId>
220 <artifactId>jackson-annotations</artifactId>
221 <version>2.4.2</version>
222 <scope>provided</scope>
223 </dependency>
224
225 <!-- OSGi related -->
226 <dependency>
227 <groupId>org.osgi</groupId>
228 <artifactId>org.osgi.core</artifactId>
229 <version>4.3.1</version>
230 <scope>provided</scope>
231 </dependency>
232 <dependency>
tomc16656f2014-10-15 18:30:31 -0700233 <groupId>org.osgi</groupId>
234 <artifactId>org.osgi.compendium</artifactId>
235 <version>4.3.1</version>
236 <scope>provided</scope>
237 </dependency>
238 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700239 <groupId>org.apache.felix</groupId>
240 <artifactId>org.apache.felix.scr.annotations</artifactId>
241 <version>1.9.8</version>
242 <scope>provided</scope>
243 </dependency>
244 <dependency>
245 <groupId>org.apache.karaf.shell</groupId>
246 <artifactId>org.apache.karaf.shell.console</artifactId>
Pavlin Radoslavovc5227052014-11-04 10:55:19 -0800247 <version>3.0.2</version>
tom0eb04ca2014-08-25 14:34:51 -0700248 <scope>provided</scope>
249 </dependency>
250
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700251 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700252 <groupId>org.livetribe.slp</groupId>
253 <artifactId>livetribe-slp</artifactId>
254 <version>2.2.1</version>
255 </dependency>
256
257 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700258 <groupId>com.hazelcast</groupId>
259 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800260 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700261 </dependency>
262 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800263 <groupId>com.hazelcast</groupId>
264 <artifactId>hazelcast</artifactId>
265 <version>3.4</version>
266 <classifier>tests</classifier>
267 <scope>test</scope>
268 </dependency>
269 <dependency>
tomdc66b382014-09-22 17:05:47 -0700270 <groupId>com.eclipsesource.minimal-json</groupId>
271 <artifactId>minimal-json</artifactId>
272 <version>0.9.1</version>
273 </dependency>
274 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700275 <groupId>com.esotericsoftware</groupId>
276 <artifactId>kryo</artifactId>
277 <version>3.0.0</version>
278 </dependency>
279 <dependency>
280 <groupId>com.esotericsoftware</groupId>
281 <artifactId>reflectasm</artifactId>
282 <version>1.10.0</version>
283 <type>bundle</type>
284 </dependency>
285 <dependency>
286 <groupId>org.ow2.asm</groupId>
287 <artifactId>asm</artifactId>
288 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700289 </dependency>
290 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700291 <groupId>com.esotericsoftware</groupId>
292 <artifactId>minlog</artifactId>
293 <version>1.3.0</version>
294 </dependency>
295 <dependency>
296 <groupId>org.objenesis</groupId>
297 <artifactId>objenesis</artifactId>
298 <version>2.1</version>
299 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700300
tom0eb04ca2014-08-25 14:34:51 -0700301 <!-- ONOS related -->
302 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800303 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700304 <artifactId>onlab-misc</artifactId>
305 <version>${project.version}</version>
306 </dependency>
tom931af4e2014-09-13 12:00:57 -0700307 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800308 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700309 <artifactId>onlab-nio</artifactId>
310 <version>${project.version}</version>
311 </dependency>
312 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800313 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700314 <artifactId>onlab-osgi</artifactId>
315 <version>${project.version}</version>
316 </dependency>
317 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800318 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800319 <artifactId>onlab-osgi</artifactId>
320 <version>${project.version}</version>
321 <classifier>tests</classifier>
322 <scope>test</scope>
323 </dependency>
324 <dependency>
325 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700326 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700327 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700328 <scope>test</scope>
329 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700330
331 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800332 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700333 <artifactId>onos-api</artifactId>
334 <version>${project.version}</version>
335 </dependency>
336 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800337 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700338 <artifactId>onos-api</artifactId>
339 <version>${project.version}</version>
340 <classifier>tests</classifier>
341 <scope>test</scope>
342 </dependency>
343
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800344
345 <dependency>
346 <groupId>org.onosproject</groupId>
347 <artifactId>onos-core-common</artifactId>
348 <version>${project.version}</version>
349 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700350 <dependency>
351 <groupId>org.onosproject</groupId>
352 <artifactId>onos-core-common</artifactId>
353 <version>${project.version}</version>
354 <classifier>tests</classifier>
355 <scope>test</scope>
356 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800357
tom61359e92014-09-16 15:50:27 -0700358 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800359 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700360 <artifactId>onos-of-api</artifactId>
361 <version>${project.version}</version>
362 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700363
364 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800365 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700366 <artifactId>onlab-thirdparty</artifactId>
367 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700368 </dependency>
369
tom61359e92014-09-16 15:50:27 -0700370 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800371 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700372 <artifactId>onos-of-api</artifactId>
373 <version>${project.version}</version>
374 <classifier>tests</classifier>
375 <scope>test</scope>
376 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700377 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700378 <groupId>commons-pool</groupId>
379 <artifactId>commons-pool</artifactId>
380 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700381 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700382 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700383 <groupId>io.netty</groupId>
384 <artifactId>netty-common</artifactId>
385 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700386 </dependency>
387 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700388 <groupId>io.netty</groupId>
389 <artifactId>netty-buffer</artifactId>
390 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700391 </dependency>
392 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700393 <groupId>io.netty</groupId>
394 <artifactId>netty-transport</artifactId>
395 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700396 </dependency>
397 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700398 <groupId>io.netty</groupId>
399 <artifactId>netty-handler</artifactId>
400 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700401 </dependency>
402 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700403 <groupId>io.netty</groupId>
404 <artifactId>netty-codec</artifactId>
405 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700406 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700407 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700408 <groupId>io.netty</groupId>
409 <artifactId>netty-transport-native-epoll</artifactId>
410 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800411 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700412 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700413 <dependency>
414 <groupId>joda-time</groupId>
415 <artifactId>joda-time</artifactId>
416 <version>2.5</version>
417 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700418 </dependencies>
419 </dependencyManagement>
420
421 <dependencies>
422 <dependency>
423 <groupId>junit</groupId>
424 <artifactId>junit</artifactId>
425 </dependency>
426 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700427 <groupId>org.hamcrest</groupId>
428 <artifactId>hamcrest-core</artifactId>
429 </dependency>
430 <dependency>
431 <groupId>org.hamcrest</groupId>
432 <artifactId>hamcrest-library</artifactId>
433 </dependency>
434 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700435 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700436 <artifactId>slf4j-api</artifactId>
437 </dependency>
438 <dependency>
439 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700440 <artifactId>slf4j-jdk14</artifactId>
441 </dependency>
442 </dependencies>
tom09419512014-08-15 11:28:43 -0700443
444 <build>
445 <pluginManagement>
446 <plugins>
447 <plugin>
448 <groupId>org.apache.maven.plugins</groupId>
449 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700450 <!-- TODO: update once following issue is fixed. -->
451 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
452 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700453 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800454 <source>1.8</source>
455 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700456 </configuration>
457 </plugin>
458
459 <plugin>
460 <groupId>org.apache.maven.plugins</groupId>
461 <artifactId>maven-surefire-plugin</artifactId>
462 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700463 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700464 <redirectTestOutputToFile>true
465 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700466 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800467 <excludedGroups>org.onlab.junit.IntegrationTest
468 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700469 </configuration>
tom09419512014-08-15 11:28:43 -0700470 </plugin>
471
472 <plugin>
473 <groupId>org.apache.maven.plugins</groupId>
474 <artifactId>maven-jar-plugin</artifactId>
475 <version>2.3.1</version>
476 <executions>
477 <execution>
478 <phase>package</phase>
479 <goals>
480 <goal>test-jar</goal>
481 </goals>
482 </execution>
483 </executions>
484 </plugin>
485
486 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700487 <groupId>org.apache.maven.plugins</groupId>
488 <artifactId>maven-resources-plugin</artifactId>
489 <version>2.6</version>
490 </plugin>
491
492 <plugin>
tom09419512014-08-15 11:28:43 -0700493 <groupId>org.apache.felix</groupId>
494 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800495 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700496 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800497 <!--
498 Drop following dependency when the below bug fix is published
499 https://issues.apache.org/jira/browse/FELIX-4556
500 -->
501 <dependencies>
502 <dependency>
503 <groupId>biz.aQute.bnd</groupId>
504 <artifactId>bndlib</artifactId>
505 <version>2.4.0</version>
506 </dependency>
507 </dependencies>
tom09419512014-08-15 11:28:43 -0700508 </plugin>
509
510 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-shade-plugin</artifactId>
513 <version>2.3</version>
514 </plugin>
515
516 <plugin>
tom09419512014-08-15 11:28:43 -0700517 <groupId>org.apache.felix</groupId>
518 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800519 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700520 <executions>
521 <execution>
522 <id>generate-scr-srcdescriptor</id>
523 <goals>
524 <goal>scr</goal>
525 </goals>
526 </execution>
527 </executions>
528 <configuration>
529 <supportedProjectTypes>
530 <supportedProjectType>bundle</supportedProjectType>
531 <supportedProjectType>war</supportedProjectType>
532 </supportedProjectTypes>
533 </configuration>
534 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800535 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800536 <groupId>org.codehaus.mojo</groupId>
537 <artifactId>findbugs-maven-plugin</artifactId>
538 <version>3.0.0</version>
539 <dependencies>
540 <dependency>
541 <groupId>org.onosproject</groupId>
542 <artifactId>onos-build-conf</artifactId>
543 <version>1.0</version>
544 </dependency>
545 </dependencies>
546 <configuration>
547 <effort>Max</effort>
548 <excludeFilterFile>onos/findbugs-suppressions.xml
549 </excludeFilterFile>
550 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800551 </plugin>
tom09419512014-08-15 11:28:43 -0700552
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700553 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700554 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700555 <groupId>org.onosproject</groupId>
556 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connor3e0ab5f2015-03-17 20:08:59 -0700557 <version>1.1.0</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700558 <executions>
559 <execution>
560 <phase>generate-resources</phase>
561 <goals>
562 <goal>cfg</goal>
563 </goals>
564 </execution>
565 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700566 </plugin>
tom09419512014-08-15 11:28:43 -0700567 </plugins>
tom09419512014-08-15 11:28:43 -0700568 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700569
570 <plugins>
571 <plugin>
572 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700573 <artifactId>maven-jar-plugin</artifactId>
574 </plugin>
575
576 <plugin>
577 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700578 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700579 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700580 <dependencies>
581 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800582 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700583 <artifactId>onos-build-conf</artifactId>
584 <version>1.0</version>
585 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800586 <!-- For Java 8 lambda support-->
587 <dependency>
588 <groupId>com.puppycrawl.tools</groupId>
589 <artifactId>checkstyle</artifactId>
590 <version>5.9</version>
591 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700592 </dependencies>
593 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800594 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800595 <sourceDirectory>${project.build.sourceDirectory}
596 </sourceDirectory>
597 <testSourceDirectory>${project.build.testSourceDirectory}
598 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800599 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700600 <configLocation>onos/checkstyle.xml</configLocation>
601 <suppressionsLocation>onos/suppressions.xml
602 </suppressionsLocation>
603 <failsOnError>false</failsOnError>
604 <logViolationsToConsole>true</logViolationsToConsole>
605 <includeTestSourceDirectory>true
606 </includeTestSourceDirectory>
607 </configuration>
608 <executions>
609 <execution>
610 <id>validate-checkstyle</id>
611 <phase>verify</phase>
612 <goals>
613 <goal>check</goal>
614 </goals>
615 </execution>
616 </executions>
617 </plugin>
618
619 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700620 <groupId>org.apache.maven.plugins</groupId>
621 <artifactId>maven-pmd-plugin</artifactId>
622 <version>3.2</version>
623 <configuration>
624 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700625 </excludes>
626 <rulesets>
627 <ruleset>onos/pmd.xml</ruleset>
628 </rulesets>
629 </configuration>
630 <executions>
631 <execution>
632 <id>validate-pmd</id>
633 <phase>verify</phase>
634 <goals>
635 <!-- Uncomment this goal to make the build fail on pmd errors -->
636 <!--<goal>check</goal>-->
637 </goals>
638 </execution>
639 </executions>
640 </plugin>
641
642 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700643 <groupId>org.jacoco</groupId>
644 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800645 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700646 <executions>
647 <execution>
648 <id>default-prepare-agent</id>
649 <goals>
650 <goal>prepare-agent</goal>
651 </goals>
652 </execution>
653 <execution>
654 <id>default-report</id>
655 <phase>prepare-package</phase>
656 <goals>
657 <goal>report</goal>
658 </goals>
659 </execution>
660 </executions>
661 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700662 </plugins>
tom09419512014-08-15 11:28:43 -0700663 </build>
alshabib522d9872014-08-15 10:35:16 -0700664
tom0eb04ca2014-08-25 14:34:51 -0700665 <reporting>
666 <plugins>
667 <plugin>
668 <groupId>org.apache.maven.plugins</groupId>
669 <artifactId>maven-checkstyle-plugin</artifactId>
670 <version>2.12.1</version>
671 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800672 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700673 </configuration>
674 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700675
676 <plugin>
677 <groupId>org.apache.maven.plugins</groupId>
678 <artifactId>maven-pmd-plugin</artifactId>
679 <version>3.2</version>
680 <configuration>
681 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700682 </excludes>
683 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800684 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700685 </rulesets>
686 </configuration>
687 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700688 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700689 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700690</project>