blob: 3db4169e76d3fcb266763f075737b2982882f151 [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>
Thomas Vachuskac65842d2015-03-25 11:04:02 -070072 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080073 <openflowj.version>0.3.9.oe</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070074 <karaf.version>3.0.3</karaf.version>
75 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070076 </properties>
77
Brian O'Connor932d9412014-12-03 17:20:11 -080078 <distributionManagement>
79 <snapshotRepository>
80 <id>ossrh</id>
81 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
82 </snapshotRepository>
83 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080084
Madan Jampanid5fd8472015-03-25 12:14:41 -070085 <!--- Needed for copycat. Remove before official release -->
86 <repositories>
87 <repository>
88 <id>snapshots</id>
89 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
90 </repository>
91 </repositories>
92
tom0eb04ca2014-08-25 14:34:51 -070093 <dependencyManagement>
94 <dependencies>
95 <dependency>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
98 <version>4.11</version>
99 <scope>test</scope>
100 </dependency>
tom09419512014-08-15 11:28:43 -0700101
tom0eb04ca2014-08-25 14:34:51 -0700102 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700103 <groupId>org.hamcrest</groupId>
104 <artifactId>hamcrest-core</artifactId>
105 <version>1.3</version>
106 <scope>test</scope>
107 </dependency>
108 <dependency>
109 <groupId>org.hamcrest</groupId>
110 <artifactId>hamcrest-library</artifactId>
111 <version>1.3</version>
112 <scope>test</scope>
113 </dependency>
114
115 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700116 <groupId>org.slf4j</groupId>
117 <artifactId>slf4j-api</artifactId>
118 <version>1.7.6</version>
119 <scope>provided</scope>
120 </dependency>
121
122 <dependency>
123 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700124 <artifactId>slf4j-core</artifactId>
125 <version>1.7.6</version>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
130 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700131 <artifactId>slf4j-jdk14</artifactId>
132 <version>1.7.6</version>
133 <scope>test</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>com.google.guava</groupId>
138 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700139 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700140 </dependency>
141
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700142 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700143 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700144 <artifactId>netty</artifactId>
145 <version>3.9.0.Final</version>
146 </dependency>
147
tomde8d9682014-08-27 01:11:43 -0700148 <dependency>
149 <groupId>com.google.guava</groupId>
150 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700151 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700152 <scope>test</scope>
153 </dependency>
154
tom6d2a43e2014-09-08 01:50:20 -0700155 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700156 <groupId>com.googlecode.concurrent-trees</groupId>
157 <artifactId>concurrent-trees</artifactId>
158 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700159 </dependency>
160
161 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700162 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700163 <artifactId>commons-lang</artifactId>
164 <version>2.6</version>
165 </dependency>
tomde8d9682014-08-27 01:11:43 -0700166
tom66a7eb22014-09-22 11:58:56 -0700167 <dependency>
168 <groupId>org.apache.commons</groupId>
169 <artifactId>commons-lang3</artifactId>
170 <version>3.3.2</version>
171 </dependency>
172
Brian O'Connorf3d06162014-10-02 15:54:12 -0700173 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800174 <groupId>commons-configuration</groupId>
175 <artifactId>commons-configuration</artifactId>
176 <version>1.10</version>
177 </dependency>
178
179 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800180 <groupId>org.apache.commons</groupId>
181 <artifactId>commons-collections4</artifactId>
182 <version>4.0</version>
183 </dependency>
184
185 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700186 <groupId>org.codehaus.jackson</groupId>
187 <artifactId>jackson-core-asl</artifactId>
188 <version>1.9.13</version>
189 </dependency>
190 <dependency>
191 <groupId>org.codehaus.jackson</groupId>
192 <artifactId>jackson-mapper-asl</artifactId>
193 <version>1.9.13</version>
194 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700195
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700196 <dependency>
197 <groupId>org.easymock</groupId>
198 <artifactId>easymock</artifactId>
199 <version>3.2</version>
200 <scope>test</scope>
201 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700202
tom0eb04ca2014-08-25 14:34:51 -0700203 <!-- Web related -->
204 <dependency>
205 <groupId>com.sun.jersey</groupId>
206 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700207 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700208 <scope>provided</scope>
209 </dependency>
210 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700211 <groupId>com.sun.jersey.jersey-test-framework</groupId>
212 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700213 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700214 <scope>test</scope>
215 </dependency>
216 <dependency>
217 <groupId>com.sun.jersey.jersey-test-framework</groupId>
218 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700219 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700220 <scope>test</scope>
221 </dependency>
222 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700223 <groupId>com.fasterxml.jackson.core</groupId>
224 <artifactId>jackson-databind</artifactId>
225 <version>2.4.2</version>
226 <scope>provided</scope>
227 </dependency>
228 <dependency>
229 <groupId>com.fasterxml.jackson.core</groupId>
230 <artifactId>jackson-annotations</artifactId>
231 <version>2.4.2</version>
232 <scope>provided</scope>
233 </dependency>
234
235 <!-- OSGi related -->
236 <dependency>
237 <groupId>org.osgi</groupId>
238 <artifactId>org.osgi.core</artifactId>
239 <version>4.3.1</version>
240 <scope>provided</scope>
241 </dependency>
242 <dependency>
tomc16656f2014-10-15 18:30:31 -0700243 <groupId>org.osgi</groupId>
244 <artifactId>org.osgi.compendium</artifactId>
245 <version>4.3.1</version>
246 <scope>provided</scope>
247 </dependency>
248 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700249 <groupId>org.apache.felix</groupId>
250 <artifactId>org.apache.felix.scr.annotations</artifactId>
251 <version>1.9.8</version>
252 <scope>provided</scope>
253 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700254
255 <dependency>
256 <groupId>org.apache.karaf.features</groupId>
257 <artifactId>org.apache.karaf.features.core</artifactId>
258 <version>${karaf.version}</version>
259 <scope>provided</scope>
260 </dependency>
261
tom0eb04ca2014-08-25 14:34:51 -0700262 <dependency>
263 <groupId>org.apache.karaf.shell</groupId>
264 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700265 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700266 <scope>provided</scope>
267 </dependency>
268
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700269 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700270 <groupId>org.livetribe.slp</groupId>
271 <artifactId>livetribe-slp</artifactId>
272 <version>2.2.1</version>
273 </dependency>
274
275 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700276 <groupId>com.hazelcast</groupId>
277 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800278 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700279 </dependency>
280 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800281 <groupId>com.hazelcast</groupId>
282 <artifactId>hazelcast</artifactId>
283 <version>3.4</version>
284 <classifier>tests</classifier>
285 <scope>test</scope>
286 </dependency>
287 <dependency>
tomdc66b382014-09-22 17:05:47 -0700288 <groupId>com.eclipsesource.minimal-json</groupId>
289 <artifactId>minimal-json</artifactId>
290 <version>0.9.1</version>
291 </dependency>
292 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700293 <groupId>com.esotericsoftware</groupId>
294 <artifactId>kryo</artifactId>
295 <version>3.0.0</version>
296 </dependency>
297 <dependency>
298 <groupId>com.esotericsoftware</groupId>
299 <artifactId>reflectasm</artifactId>
300 <version>1.10.0</version>
301 <type>bundle</type>
302 </dependency>
303 <dependency>
304 <groupId>org.ow2.asm</groupId>
305 <artifactId>asm</artifactId>
306 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700307 </dependency>
308 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700309 <groupId>com.esotericsoftware</groupId>
310 <artifactId>minlog</artifactId>
311 <version>1.3.0</version>
312 </dependency>
313 <dependency>
314 <groupId>org.objenesis</groupId>
315 <artifactId>objenesis</artifactId>
316 <version>2.1</version>
317 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700318
tom0eb04ca2014-08-25 14:34:51 -0700319 <!-- ONOS related -->
320 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800321 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700322 <artifactId>onlab-misc</artifactId>
323 <version>${project.version}</version>
324 </dependency>
tom931af4e2014-09-13 12:00:57 -0700325 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800326 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700327 <artifactId>onlab-nio</artifactId>
328 <version>${project.version}</version>
329 </dependency>
330 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800331 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700332 <artifactId>onlab-osgi</artifactId>
333 <version>${project.version}</version>
334 </dependency>
335 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800336 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800337 <artifactId>onlab-osgi</artifactId>
338 <version>${project.version}</version>
339 <classifier>tests</classifier>
340 <scope>test</scope>
341 </dependency>
342 <dependency>
343 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700344 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700345 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700346 <scope>test</scope>
347 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700348
349 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800350 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700351 <artifactId>onos-api</artifactId>
352 <version>${project.version}</version>
353 </dependency>
354 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800355 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700356 <artifactId>onos-api</artifactId>
357 <version>${project.version}</version>
358 <classifier>tests</classifier>
359 <scope>test</scope>
360 </dependency>
361
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800362
363 <dependency>
364 <groupId>org.onosproject</groupId>
365 <artifactId>onos-core-common</artifactId>
366 <version>${project.version}</version>
367 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700368 <dependency>
369 <groupId>org.onosproject</groupId>
370 <artifactId>onos-core-common</artifactId>
371 <version>${project.version}</version>
372 <classifier>tests</classifier>
373 <scope>test</scope>
374 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800375
tom61359e92014-09-16 15:50:27 -0700376 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800377 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700378 <artifactId>onos-of-api</artifactId>
379 <version>${project.version}</version>
380 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700381
382 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800383 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700384 <artifactId>onlab-thirdparty</artifactId>
385 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700386 </dependency>
387
tom61359e92014-09-16 15:50:27 -0700388 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800389 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700390 <artifactId>onos-of-api</artifactId>
391 <version>${project.version}</version>
392 <classifier>tests</classifier>
393 <scope>test</scope>
394 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700395 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700396 <groupId>commons-pool</groupId>
397 <artifactId>commons-pool</artifactId>
398 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700399 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700400 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700401 <groupId>io.netty</groupId>
402 <artifactId>netty-common</artifactId>
403 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700404 </dependency>
405 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700406 <groupId>io.netty</groupId>
407 <artifactId>netty-buffer</artifactId>
408 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700409 </dependency>
410 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700411 <groupId>io.netty</groupId>
412 <artifactId>netty-transport</artifactId>
413 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700414 </dependency>
415 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700416 <groupId>io.netty</groupId>
417 <artifactId>netty-handler</artifactId>
418 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700419 </dependency>
420 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700421 <groupId>io.netty</groupId>
422 <artifactId>netty-codec</artifactId>
423 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700424 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700425 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700426 <groupId>io.netty</groupId>
427 <artifactId>netty-transport-native-epoll</artifactId>
428 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800429 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700430 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700431 <dependency>
432 <groupId>joda-time</groupId>
433 <artifactId>joda-time</artifactId>
434 <version>2.5</version>
435 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700436 </dependencies>
437 </dependencyManagement>
438
439 <dependencies>
440 <dependency>
441 <groupId>junit</groupId>
442 <artifactId>junit</artifactId>
443 </dependency>
444 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700445 <groupId>org.hamcrest</groupId>
446 <artifactId>hamcrest-core</artifactId>
447 </dependency>
448 <dependency>
449 <groupId>org.hamcrest</groupId>
450 <artifactId>hamcrest-library</artifactId>
451 </dependency>
452 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700453 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700454 <artifactId>slf4j-api</artifactId>
455 </dependency>
456 <dependency>
457 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700458 <artifactId>slf4j-jdk14</artifactId>
459 </dependency>
460 </dependencies>
tom09419512014-08-15 11:28:43 -0700461
462 <build>
463 <pluginManagement>
464 <plugins>
465 <plugin>
466 <groupId>org.apache.maven.plugins</groupId>
467 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700468 <!-- TODO: update once following issue is fixed. -->
469 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
470 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700471 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800472 <source>1.8</source>
473 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700474 </configuration>
475 </plugin>
476
477 <plugin>
478 <groupId>org.apache.maven.plugins</groupId>
479 <artifactId>maven-surefire-plugin</artifactId>
480 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700481 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700482 <redirectTestOutputToFile>true
483 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700484 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800485 <excludedGroups>org.onlab.junit.IntegrationTest
486 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700487 </configuration>
tom09419512014-08-15 11:28:43 -0700488 </plugin>
489
490 <plugin>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-jar-plugin</artifactId>
493 <version>2.3.1</version>
494 <executions>
495 <execution>
496 <phase>package</phase>
497 <goals>
498 <goal>test-jar</goal>
499 </goals>
500 </execution>
501 </executions>
502 </plugin>
503
504 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700505 <groupId>org.apache.maven.plugins</groupId>
506 <artifactId>maven-resources-plugin</artifactId>
507 <version>2.6</version>
508 </plugin>
509
510 <plugin>
tom09419512014-08-15 11:28:43 -0700511 <groupId>org.apache.felix</groupId>
512 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800513 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700514 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800515 <!--
516 Drop following dependency when the below bug fix is published
517 https://issues.apache.org/jira/browse/FELIX-4556
518 -->
519 <dependencies>
520 <dependency>
521 <groupId>biz.aQute.bnd</groupId>
522 <artifactId>bndlib</artifactId>
523 <version>2.4.0</version>
524 </dependency>
525 </dependencies>
tom09419512014-08-15 11:28:43 -0700526 </plugin>
527
528 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800529 <groupId>org.apache.maven.plugins</groupId>
530 <artifactId>maven-shade-plugin</artifactId>
531 <version>2.3</version>
532 </plugin>
533
534 <plugin>
tom09419512014-08-15 11:28:43 -0700535 <groupId>org.apache.felix</groupId>
536 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800537 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700538 <executions>
539 <execution>
540 <id>generate-scr-srcdescriptor</id>
541 <goals>
542 <goal>scr</goal>
543 </goals>
544 </execution>
545 </executions>
546 <configuration>
547 <supportedProjectTypes>
548 <supportedProjectType>bundle</supportedProjectType>
549 <supportedProjectType>war</supportedProjectType>
550 </supportedProjectTypes>
551 </configuration>
552 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800553 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800554 <groupId>org.codehaus.mojo</groupId>
555 <artifactId>findbugs-maven-plugin</artifactId>
556 <version>3.0.0</version>
557 <dependencies>
558 <dependency>
559 <groupId>org.onosproject</groupId>
560 <artifactId>onos-build-conf</artifactId>
561 <version>1.0</version>
562 </dependency>
563 </dependencies>
564 <configuration>
565 <effort>Max</effort>
566 <excludeFilterFile>onos/findbugs-suppressions.xml
567 </excludeFilterFile>
568 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800569 </plugin>
tom09419512014-08-15 11:28:43 -0700570
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700571 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700572 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700573 <groupId>org.onosproject</groupId>
574 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connor3e0ab5f2015-03-17 20:08:59 -0700575 <version>1.1.0</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700576 <executions>
577 <execution>
578 <phase>generate-resources</phase>
579 <goals>
580 <goal>cfg</goal>
581 </goals>
582 </execution>
583 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700584 </plugin>
tom09419512014-08-15 11:28:43 -0700585 </plugins>
tom09419512014-08-15 11:28:43 -0700586 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700587
588 <plugins>
589 <plugin>
590 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700591 <artifactId>maven-jar-plugin</artifactId>
592 </plugin>
593
594 <plugin>
595 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700596 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700597 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700598 <dependencies>
599 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800600 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700601 <artifactId>onos-build-conf</artifactId>
602 <version>1.0</version>
603 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800604 <!-- For Java 8 lambda support-->
605 <dependency>
606 <groupId>com.puppycrawl.tools</groupId>
607 <artifactId>checkstyle</artifactId>
608 <version>5.9</version>
609 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700610 </dependencies>
611 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800612 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800613 <sourceDirectory>${project.build.sourceDirectory}
614 </sourceDirectory>
615 <testSourceDirectory>${project.build.testSourceDirectory}
616 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800617 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700618 <configLocation>onos/checkstyle.xml</configLocation>
619 <suppressionsLocation>onos/suppressions.xml
620 </suppressionsLocation>
621 <failsOnError>false</failsOnError>
622 <logViolationsToConsole>true</logViolationsToConsole>
623 <includeTestSourceDirectory>true
624 </includeTestSourceDirectory>
625 </configuration>
626 <executions>
627 <execution>
628 <id>validate-checkstyle</id>
629 <phase>verify</phase>
630 <goals>
631 <goal>check</goal>
632 </goals>
633 </execution>
634 </executions>
635 </plugin>
636
637 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700638 <groupId>org.apache.maven.plugins</groupId>
639 <artifactId>maven-pmd-plugin</artifactId>
640 <version>3.2</version>
641 <configuration>
642 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700643 </excludes>
644 <rulesets>
645 <ruleset>onos/pmd.xml</ruleset>
646 </rulesets>
647 </configuration>
648 <executions>
649 <execution>
650 <id>validate-pmd</id>
651 <phase>verify</phase>
652 <goals>
653 <!-- Uncomment this goal to make the build fail on pmd errors -->
654 <!--<goal>check</goal>-->
655 </goals>
656 </execution>
657 </executions>
658 </plugin>
659
660 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700661 <groupId>org.jacoco</groupId>
662 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800663 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700664 <executions>
665 <execution>
666 <id>default-prepare-agent</id>
667 <goals>
668 <goal>prepare-agent</goal>
669 </goals>
670 </execution>
671 <execution>
672 <id>default-report</id>
673 <phase>prepare-package</phase>
674 <goals>
675 <goal>report</goal>
676 </goals>
677 </execution>
678 </executions>
679 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700680 </plugins>
tom09419512014-08-15 11:28:43 -0700681 </build>
alshabib522d9872014-08-15 10:35:16 -0700682
tom0eb04ca2014-08-25 14:34:51 -0700683 <reporting>
684 <plugins>
685 <plugin>
686 <groupId>org.apache.maven.plugins</groupId>
687 <artifactId>maven-checkstyle-plugin</artifactId>
688 <version>2.12.1</version>
689 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800690 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700691 </configuration>
692 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700693
694 <plugin>
695 <groupId>org.apache.maven.plugins</groupId>
696 <artifactId>maven-pmd-plugin</artifactId>
697 <version>3.2</version>
698 <configuration>
699 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700700 </excludes>
701 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800702 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700703 </rulesets>
704 </configuration>
705 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700706 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700707 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700708</project>