blob: 7316ac807d141f4c0f3df0906f4410b38b3f4294 [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>
alshabibfaa1e362015-04-02 15:01:54 -070047 <module>drivers</module>
tomf8b8d672014-09-17 13:07:23 -070048 <module>openflow</module>
tom8bb16062014-09-12 14:47:46 -070049 <module>apps</module>
tom09419512014-08-15 11:28:43 -070050 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070051 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070052 </modules>
53
Brian O'Connor3439c102014-12-03 01:02:03 -080054 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070055
Brian O'Connor932d9412014-12-03 17:20:11 -080056 <scm>
57 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080058 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
59 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080060 <url>http://gerrit.onosproject.org/</url>
61 </scm>
62
tom09419512014-08-15 11:28:43 -070063 <licenses>
64 <license>
tom09419512014-08-15 11:28:43 -070065 <name>Apache License, Version 2.0</name>
66 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
67 </license>
68 </licenses>
69
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070070 <properties>
71 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070072 <netty4.version>4.0.23.Final</netty4.version>
Thomas Vachuskac65842d2015-03-25 11:04:02 -070073 <copycat.version>0.5.0.onos-SNAPSHOT</copycat.version>
alshabibe4344332015-01-28 15:30:13 -080074 <openflowj.version>0.3.9.oe</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070075 <karaf.version>3.0.3</karaf.version>
76 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070077 </properties>
78
Brian O'Connor932d9412014-12-03 17:20:11 -080079 <distributionManagement>
80 <snapshotRepository>
81 <id>ossrh</id>
82 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
83 </snapshotRepository>
84 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080085
Madan Jampanid5fd8472015-03-25 12:14:41 -070086 <!--- Needed for copycat. Remove before official release -->
87 <repositories>
88 <repository>
89 <id>snapshots</id>
90 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
91 </repository>
92 </repositories>
93
tom0eb04ca2014-08-25 14:34:51 -070094 <dependencyManagement>
95 <dependencies>
96 <dependency>
97 <groupId>junit</groupId>
98 <artifactId>junit</artifactId>
99 <version>4.11</version>
100 <scope>test</scope>
101 </dependency>
tom09419512014-08-15 11:28:43 -0700102
tom0eb04ca2014-08-25 14:34:51 -0700103 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700104 <groupId>org.hamcrest</groupId>
105 <artifactId>hamcrest-core</artifactId>
106 <version>1.3</version>
107 <scope>test</scope>
108 </dependency>
109 <dependency>
110 <groupId>org.hamcrest</groupId>
111 <artifactId>hamcrest-library</artifactId>
112 <version>1.3</version>
113 <scope>test</scope>
114 </dependency>
115
116 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700117 <groupId>org.slf4j</groupId>
118 <artifactId>slf4j-api</artifactId>
119 <version>1.7.6</version>
120 <scope>provided</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700125 <artifactId>slf4j-core</artifactId>
126 <version>1.7.6</version>
127 <scope>test</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700132 <artifactId>slf4j-jdk14</artifactId>
133 <version>1.7.6</version>
134 <scope>test</scope>
135 </dependency>
136
137 <dependency>
138 <groupId>com.google.guava</groupId>
139 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700140 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700141 </dependency>
142
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700143 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700144 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700145 <artifactId>netty</artifactId>
146 <version>3.9.0.Final</version>
147 </dependency>
148
tomde8d9682014-08-27 01:11:43 -0700149 <dependency>
150 <groupId>com.google.guava</groupId>
151 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700152 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700153 <scope>test</scope>
154 </dependency>
155
tom6d2a43e2014-09-08 01:50:20 -0700156 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700157 <groupId>com.googlecode.concurrent-trees</groupId>
158 <artifactId>concurrent-trees</artifactId>
159 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700160 </dependency>
161
162 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700163 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700164 <artifactId>commons-lang</artifactId>
165 <version>2.6</version>
166 </dependency>
tomde8d9682014-08-27 01:11:43 -0700167
tom66a7eb22014-09-22 11:58:56 -0700168 <dependency>
169 <groupId>org.apache.commons</groupId>
170 <artifactId>commons-lang3</artifactId>
171 <version>3.3.2</version>
172 </dependency>
173
Brian O'Connorf3d06162014-10-02 15:54:12 -0700174 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800175 <groupId>commons-configuration</groupId>
176 <artifactId>commons-configuration</artifactId>
177 <version>1.10</version>
178 </dependency>
179
180 <dependency>
Pavlin Radoslavova7243cc2014-11-22 21:38:02 -0800181 <groupId>org.apache.commons</groupId>
182 <artifactId>commons-collections4</artifactId>
183 <version>4.0</version>
184 </dependency>
185
186 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700187 <groupId>org.codehaus.jackson</groupId>
188 <artifactId>jackson-core-asl</artifactId>
189 <version>1.9.13</version>
190 </dependency>
191 <dependency>
192 <groupId>org.codehaus.jackson</groupId>
193 <artifactId>jackson-mapper-asl</artifactId>
194 <version>1.9.13</version>
195 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700196
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700197 <dependency>
198 <groupId>org.easymock</groupId>
199 <artifactId>easymock</artifactId>
200 <version>3.2</version>
201 <scope>test</scope>
202 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700203
tom0eb04ca2014-08-25 14:34:51 -0700204 <!-- Web related -->
205 <dependency>
206 <groupId>com.sun.jersey</groupId>
207 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700208 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700209 <scope>provided</scope>
210 </dependency>
211 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700212 <groupId>com.sun.jersey.jersey-test-framework</groupId>
213 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700214 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700215 <scope>test</scope>
216 </dependency>
217 <dependency>
218 <groupId>com.sun.jersey.jersey-test-framework</groupId>
219 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700220 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700221 <scope>test</scope>
222 </dependency>
223 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700224 <groupId>com.fasterxml.jackson.core</groupId>
225 <artifactId>jackson-databind</artifactId>
226 <version>2.4.2</version>
227 <scope>provided</scope>
228 </dependency>
229 <dependency>
230 <groupId>com.fasterxml.jackson.core</groupId>
231 <artifactId>jackson-annotations</artifactId>
232 <version>2.4.2</version>
233 <scope>provided</scope>
234 </dependency>
235
236 <!-- OSGi related -->
237 <dependency>
238 <groupId>org.osgi</groupId>
239 <artifactId>org.osgi.core</artifactId>
240 <version>4.3.1</version>
241 <scope>provided</scope>
242 </dependency>
243 <dependency>
tomc16656f2014-10-15 18:30:31 -0700244 <groupId>org.osgi</groupId>
245 <artifactId>org.osgi.compendium</artifactId>
246 <version>4.3.1</version>
247 <scope>provided</scope>
248 </dependency>
249 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700250 <groupId>org.apache.felix</groupId>
251 <artifactId>org.apache.felix.scr.annotations</artifactId>
252 <version>1.9.8</version>
253 <scope>provided</scope>
254 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700255
256 <dependency>
257 <groupId>org.apache.karaf.features</groupId>
258 <artifactId>org.apache.karaf.features.core</artifactId>
259 <version>${karaf.version}</version>
260 <scope>provided</scope>
261 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700262 <dependency>
263 <groupId>org.apache.karaf.system</groupId>
264 <artifactId>org.apache.karaf.system.core</artifactId>
265 <version>${karaf.version}</version>
266 <scope>provided</scope>
267 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700268 <dependency>
269 <groupId>org.apache.karaf.shell</groupId>
270 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700271 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700272 <scope>provided</scope>
273 </dependency>
274
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700275 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700276 <groupId>org.livetribe.slp</groupId>
277 <artifactId>livetribe-slp</artifactId>
278 <version>2.2.1</version>
279 </dependency>
280
281 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700282 <groupId>com.hazelcast</groupId>
283 <artifactId>hazelcast</artifactId>
Yuta HIGUCHI93356bc2015-01-28 12:33:59 -0800284 <version>3.4</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700285 </dependency>
286 <dependency>
Yuta HIGUCHI151cad82015-02-04 23:26:50 -0800287 <groupId>com.hazelcast</groupId>
288 <artifactId>hazelcast</artifactId>
289 <version>3.4</version>
290 <classifier>tests</classifier>
291 <scope>test</scope>
292 </dependency>
293 <dependency>
tomdc66b382014-09-22 17:05:47 -0700294 <groupId>com.eclipsesource.minimal-json</groupId>
295 <artifactId>minimal-json</artifactId>
296 <version>0.9.1</version>
297 </dependency>
298 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700299 <groupId>com.esotericsoftware</groupId>
300 <artifactId>kryo</artifactId>
301 <version>3.0.0</version>
302 </dependency>
303 <dependency>
304 <groupId>com.esotericsoftware</groupId>
305 <artifactId>reflectasm</artifactId>
306 <version>1.10.0</version>
307 <type>bundle</type>
308 </dependency>
309 <dependency>
310 <groupId>org.ow2.asm</groupId>
311 <artifactId>asm</artifactId>
312 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700313 </dependency>
314 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700315 <groupId>com.esotericsoftware</groupId>
316 <artifactId>minlog</artifactId>
317 <version>1.3.0</version>
318 </dependency>
319 <dependency>
320 <groupId>org.objenesis</groupId>
321 <artifactId>objenesis</artifactId>
322 <version>2.1</version>
323 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700324
tom0eb04ca2014-08-25 14:34:51 -0700325 <!-- ONOS related -->
326 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800327 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700328 <artifactId>onlab-misc</artifactId>
329 <version>${project.version}</version>
330 </dependency>
tom931af4e2014-09-13 12:00:57 -0700331 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800332 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700333 <artifactId>onlab-nio</artifactId>
334 <version>${project.version}</version>
335 </dependency>
336 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800337 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700338 <artifactId>onlab-osgi</artifactId>
339 <version>${project.version}</version>
340 </dependency>
341 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800342 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800343 <artifactId>onlab-osgi</artifactId>
344 <version>${project.version}</version>
345 <classifier>tests</classifier>
346 <scope>test</scope>
347 </dependency>
348 <dependency>
349 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700350 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700351 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700352 <scope>test</scope>
353 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700354
355 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800356 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700357 <artifactId>onos-api</artifactId>
358 <version>${project.version}</version>
359 </dependency>
360 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800361 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700362 <artifactId>onos-api</artifactId>
363 <version>${project.version}</version>
364 <classifier>tests</classifier>
365 <scope>test</scope>
366 </dependency>
367
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800368
369 <dependency>
370 <groupId>org.onosproject</groupId>
371 <artifactId>onos-core-common</artifactId>
372 <version>${project.version}</version>
373 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700374 <dependency>
375 <groupId>org.onosproject</groupId>
376 <artifactId>onos-core-common</artifactId>
377 <version>${project.version}</version>
378 <classifier>tests</classifier>
379 <scope>test</scope>
380 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800381
tom61359e92014-09-16 15:50:27 -0700382 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800383 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700384 <artifactId>onos-of-api</artifactId>
385 <version>${project.version}</version>
386 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700387
388 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800389 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700390 <artifactId>onlab-thirdparty</artifactId>
391 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700392 </dependency>
393
tom61359e92014-09-16 15:50:27 -0700394 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800395 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700396 <artifactId>onos-of-api</artifactId>
397 <version>${project.version}</version>
398 <classifier>tests</classifier>
399 <scope>test</scope>
400 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700401 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700402 <groupId>commons-pool</groupId>
403 <artifactId>commons-pool</artifactId>
404 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700405 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700406 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700407 <groupId>io.netty</groupId>
408 <artifactId>netty-common</artifactId>
409 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700410 </dependency>
411 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700412 <groupId>io.netty</groupId>
413 <artifactId>netty-buffer</artifactId>
414 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700415 </dependency>
416 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700417 <groupId>io.netty</groupId>
418 <artifactId>netty-transport</artifactId>
419 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700420 </dependency>
421 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700422 <groupId>io.netty</groupId>
423 <artifactId>netty-handler</artifactId>
424 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700425 </dependency>
426 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700427 <groupId>io.netty</groupId>
428 <artifactId>netty-codec</artifactId>
429 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700430 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700431 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700432 <groupId>io.netty</groupId>
433 <artifactId>netty-transport-native-epoll</artifactId>
434 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800435 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700436 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700437 <dependency>
438 <groupId>joda-time</groupId>
439 <artifactId>joda-time</artifactId>
440 <version>2.5</version>
441 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700442 </dependencies>
443 </dependencyManagement>
444
445 <dependencies>
446 <dependency>
447 <groupId>junit</groupId>
448 <artifactId>junit</artifactId>
449 </dependency>
450 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700451 <groupId>org.hamcrest</groupId>
452 <artifactId>hamcrest-core</artifactId>
453 </dependency>
454 <dependency>
455 <groupId>org.hamcrest</groupId>
456 <artifactId>hamcrest-library</artifactId>
457 </dependency>
458 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700459 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700460 <artifactId>slf4j-api</artifactId>
461 </dependency>
462 <dependency>
463 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700464 <artifactId>slf4j-jdk14</artifactId>
465 </dependency>
466 </dependencies>
tom09419512014-08-15 11:28:43 -0700467
468 <build>
469 <pluginManagement>
470 <plugins>
471 <plugin>
472 <groupId>org.apache.maven.plugins</groupId>
473 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700474 <!-- TODO: update once following issue is fixed. -->
475 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
476 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700477 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800478 <source>1.8</source>
479 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700480 </configuration>
481 </plugin>
482
483 <plugin>
484 <groupId>org.apache.maven.plugins</groupId>
485 <artifactId>maven-surefire-plugin</artifactId>
486 <version>2.17</version>
tom64888122014-08-27 21:47:46 -0700487 <configuration>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700488 <redirectTestOutputToFile>true
489 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700490 <printSummary>true</printSummary>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800491 <excludedGroups>org.onlab.junit.IntegrationTest
492 </excludedGroups>
tom64888122014-08-27 21:47:46 -0700493 </configuration>
tom09419512014-08-15 11:28:43 -0700494 </plugin>
495
496 <plugin>
497 <groupId>org.apache.maven.plugins</groupId>
498 <artifactId>maven-jar-plugin</artifactId>
499 <version>2.3.1</version>
500 <executions>
501 <execution>
502 <phase>package</phase>
503 <goals>
504 <goal>test-jar</goal>
505 </goals>
506 </execution>
507 </executions>
508 </plugin>
509
510 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700511 <groupId>org.apache.maven.plugins</groupId>
512 <artifactId>maven-resources-plugin</artifactId>
513 <version>2.6</version>
514 </plugin>
515
516 <plugin>
tom09419512014-08-15 11:28:43 -0700517 <groupId>org.apache.felix</groupId>
518 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800519 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700520 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800521 <!--
522 Drop following dependency when the below bug fix is published
523 https://issues.apache.org/jira/browse/FELIX-4556
524 -->
525 <dependencies>
526 <dependency>
527 <groupId>biz.aQute.bnd</groupId>
528 <artifactId>bndlib</artifactId>
529 <version>2.4.0</version>
530 </dependency>
531 </dependencies>
tom09419512014-08-15 11:28:43 -0700532 </plugin>
533
534 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800535 <groupId>org.apache.maven.plugins</groupId>
536 <artifactId>maven-shade-plugin</artifactId>
537 <version>2.3</version>
538 </plugin>
539
540 <plugin>
tom09419512014-08-15 11:28:43 -0700541 <groupId>org.apache.felix</groupId>
542 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800543 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700544 <executions>
545 <execution>
546 <id>generate-scr-srcdescriptor</id>
547 <goals>
548 <goal>scr</goal>
549 </goals>
550 </execution>
551 </executions>
552 <configuration>
553 <supportedProjectTypes>
554 <supportedProjectType>bundle</supportedProjectType>
555 <supportedProjectType>war</supportedProjectType>
556 </supportedProjectTypes>
557 </configuration>
558 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800559 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800560 <groupId>org.codehaus.mojo</groupId>
561 <artifactId>findbugs-maven-plugin</artifactId>
562 <version>3.0.0</version>
563 <dependencies>
564 <dependency>
565 <groupId>org.onosproject</groupId>
566 <artifactId>onos-build-conf</artifactId>
567 <version>1.0</version>
568 </dependency>
569 </dependencies>
570 <configuration>
571 <effort>Max</effort>
572 <excludeFilterFile>onos/findbugs-suppressions.xml
573 </excludeFilterFile>
574 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800575 </plugin>
tom09419512014-08-15 11:28:43 -0700576
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700577 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700578 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700579 <groupId>org.onosproject</groupId>
580 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connor3e0ab5f2015-03-17 20:08:59 -0700581 <version>1.1.0</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700582 <executions>
583 <execution>
584 <phase>generate-resources</phase>
585 <goals>
586 <goal>cfg</goal>
587 </goals>
588 </execution>
589 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700590 </plugin>
tom09419512014-08-15 11:28:43 -0700591 </plugins>
tom09419512014-08-15 11:28:43 -0700592 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700593
594 <plugins>
595 <plugin>
596 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700597 <artifactId>maven-jar-plugin</artifactId>
598 </plugin>
599
600 <plugin>
601 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700602 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700603 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700604 <dependencies>
605 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800606 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700607 <artifactId>onos-build-conf</artifactId>
608 <version>1.0</version>
609 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800610 <!-- For Java 8 lambda support-->
611 <dependency>
612 <groupId>com.puppycrawl.tools</groupId>
613 <artifactId>checkstyle</artifactId>
614 <version>5.9</version>
615 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700616 </dependencies>
617 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800618 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800619 <sourceDirectory>${project.build.sourceDirectory}
620 </sourceDirectory>
621 <testSourceDirectory>${project.build.testSourceDirectory}
622 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800623 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700624 <configLocation>onos/checkstyle.xml</configLocation>
625 <suppressionsLocation>onos/suppressions.xml
626 </suppressionsLocation>
627 <failsOnError>false</failsOnError>
628 <logViolationsToConsole>true</logViolationsToConsole>
629 <includeTestSourceDirectory>true
630 </includeTestSourceDirectory>
631 </configuration>
632 <executions>
633 <execution>
634 <id>validate-checkstyle</id>
635 <phase>verify</phase>
636 <goals>
637 <goal>check</goal>
638 </goals>
639 </execution>
640 </executions>
641 </plugin>
642
643 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700644 <groupId>org.apache.maven.plugins</groupId>
645 <artifactId>maven-pmd-plugin</artifactId>
646 <version>3.2</version>
647 <configuration>
648 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700649 </excludes>
650 <rulesets>
651 <ruleset>onos/pmd.xml</ruleset>
652 </rulesets>
653 </configuration>
654 <executions>
655 <execution>
656 <id>validate-pmd</id>
657 <phase>verify</phase>
658 <goals>
659 <!-- Uncomment this goal to make the build fail on pmd errors -->
660 <!--<goal>check</goal>-->
661 </goals>
662 </execution>
663 </executions>
664 </plugin>
665
666 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700667 <groupId>org.jacoco</groupId>
668 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800669 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700670 <executions>
671 <execution>
672 <id>default-prepare-agent</id>
673 <goals>
674 <goal>prepare-agent</goal>
675 </goals>
676 </execution>
677 <execution>
678 <id>default-report</id>
679 <phase>prepare-package</phase>
680 <goals>
681 <goal>report</goal>
682 </goals>
683 </execution>
684 </executions>
685 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700686 </plugins>
tom09419512014-08-15 11:28:43 -0700687 </build>
alshabib522d9872014-08-15 10:35:16 -0700688
tom0eb04ca2014-08-25 14:34:51 -0700689 <reporting>
690 <plugins>
691 <plugin>
692 <groupId>org.apache.maven.plugins</groupId>
693 <artifactId>maven-checkstyle-plugin</artifactId>
694 <version>2.12.1</version>
695 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800696 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700697 </configuration>
698 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700699
700 <plugin>
701 <groupId>org.apache.maven.plugins</groupId>
702 <artifactId>maven-pmd-plugin</artifactId>
703 <version>3.2</version>
704 <configuration>
705 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700706 </excludes>
707 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800708 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700709 </rulesets>
710 </configuration>
711 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700712 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700713 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700714</project>