blob: 0808e42c5b4e56cbfcb7f3ea612ad8338a3b1257 [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'Connorafc2d7d2015-06-05 23:31:25 -070036 <version>1.3.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>
Thomas Vachuskad24aa7f2015-05-14 18:37:54 -070050 <module>incubator</module>
tom09419512014-08-15 11:28:43 -070051 <module>features</module>
tomaa49a1e2014-09-12 23:11:46 -070052 <module>tools/package/branding</module>
tom09419512014-08-15 11:28:43 -070053 </modules>
54
Brian O'Connor3439c102014-12-03 01:02:03 -080055 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070056
Brian O'Connor932d9412014-12-03 17:20:11 -080057 <scm>
58 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080059 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
60 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080061 <url>http://gerrit.onosproject.org/</url>
62 </scm>
63
tom09419512014-08-15 11:28:43 -070064 <licenses>
65 <license>
tom09419512014-08-15 11:28:43 -070066 <name>Apache License, Version 2.0</name>
67 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
68 </license>
69 </licenses>
70
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070071 <properties>
72 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070073 <netty4.version>4.0.23.Final</netty4.version>
Brian O'Connorf5d8f8c2015-06-03 18:34:13 -070074 <copycat.version>0.4.1.onos</copycat.version>
Brian O'Connor4f74da02015-06-04 15:34:28 -070075 <openflowj.version>0.4.0.onos</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070076 <karaf.version>3.0.3</karaf.version>
77 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070078 </properties>
79
Brian O'Connor932d9412014-12-03 17:20:11 -080080 <distributionManagement>
81 <snapshotRepository>
82 <id>ossrh</id>
83 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
84 </snapshotRepository>
85 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080086
tom0eb04ca2014-08-25 14:34:51 -070087 <dependencyManagement>
88 <dependencies>
89 <dependency>
90 <groupId>junit</groupId>
91 <artifactId>junit</artifactId>
92 <version>4.11</version>
93 <scope>test</scope>
94 </dependency>
tom09419512014-08-15 11:28:43 -070095
tom0eb04ca2014-08-25 14:34:51 -070096 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -070097 <groupId>org.hamcrest</groupId>
98 <artifactId>hamcrest-core</artifactId>
99 <version>1.3</version>
100 <scope>test</scope>
101 </dependency>
102 <dependency>
103 <groupId>org.hamcrest</groupId>
104 <artifactId>hamcrest-library</artifactId>
105 <version>1.3</version>
106 <scope>test</scope>
107 </dependency>
108
109 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700110 <groupId>org.slf4j</groupId>
111 <artifactId>slf4j-api</artifactId>
112 <version>1.7.6</version>
113 <scope>provided</scope>
114 </dependency>
115
116 <dependency>
117 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700118 <artifactId>slf4j-core</artifactId>
119 <version>1.7.6</version>
120 <scope>test</scope>
121 </dependency>
122
123 <dependency>
124 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700125 <artifactId>slf4j-jdk14</artifactId>
126 <version>1.7.6</version>
127 <scope>test</scope>
128 </dependency>
129
130 <dependency>
131 <groupId>com.google.guava</groupId>
132 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700133 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700134 </dependency>
135
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700136 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700137 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700138 <artifactId>netty</artifactId>
139 <version>3.9.0.Final</version>
140 </dependency>
141
tomde8d9682014-08-27 01:11:43 -0700142 <dependency>
143 <groupId>com.google.guava</groupId>
144 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700145 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700146 <scope>test</scope>
147 </dependency>
148
tom6d2a43e2014-09-08 01:50:20 -0700149 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700150 <groupId>com.googlecode.concurrent-trees</groupId>
151 <artifactId>concurrent-trees</artifactId>
152 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700153 </dependency>
154
155 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700156 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700157 <artifactId>commons-lang</artifactId>
158 <version>2.6</version>
159 </dependency>
tomde8d9682014-08-27 01:11:43 -0700160
tom66a7eb22014-09-22 11:58:56 -0700161 <dependency>
162 <groupId>org.apache.commons</groupId>
163 <artifactId>commons-lang3</artifactId>
164 <version>3.3.2</version>
165 </dependency>
166
Brian O'Connorf3d06162014-10-02 15:54:12 -0700167 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800168 <groupId>commons-configuration</groupId>
169 <artifactId>commons-configuration</artifactId>
170 <version>1.10</version>
171 </dependency>
172
173 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700174 <groupId>commons-collections</groupId>
175 <artifactId>commons-collections</artifactId>
176 <version>3.2.1</version>
177 </dependency>
178
179 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700180 <groupId>org.codehaus.jackson</groupId>
181 <artifactId>jackson-core-asl</artifactId>
182 <version>1.9.13</version>
183 </dependency>
184 <dependency>
185 <groupId>org.codehaus.jackson</groupId>
186 <artifactId>jackson-mapper-asl</artifactId>
187 <version>1.9.13</version>
188 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700189
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700190 <dependency>
191 <groupId>org.easymock</groupId>
192 <artifactId>easymock</artifactId>
193 <version>3.2</version>
194 <scope>test</scope>
195 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700196
tom0eb04ca2014-08-25 14:34:51 -0700197 <!-- Web related -->
198 <dependency>
199 <groupId>com.sun.jersey</groupId>
200 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700201 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700202 <scope>provided</scope>
203 </dependency>
204 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700205 <groupId>com.sun.jersey.contribs</groupId>
206 <artifactId>jersey-multipart</artifactId>
207 <version>${jersey.version}</version>
208 <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>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700261 <dependency>
262 <groupId>org.apache.karaf.system</groupId>
263 <artifactId>org.apache.karaf.system.core</artifactId>
264 <version>${karaf.version}</version>
265 <scope>provided</scope>
266 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700267 <dependency>
268 <groupId>org.apache.karaf.shell</groupId>
269 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700270 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700271 <scope>provided</scope>
272 </dependency>
273
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700274 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700275 <groupId>org.livetribe.slp</groupId>
276 <artifactId>livetribe-slp</artifactId>
277 <version>2.2.1</version>
278 </dependency>
279
280 <dependency>
tomdc66b382014-09-22 17:05:47 -0700281 <groupId>com.eclipsesource.minimal-json</groupId>
282 <artifactId>minimal-json</artifactId>
283 <version>0.9.1</version>
284 </dependency>
285 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700286 <groupId>com.esotericsoftware</groupId>
287 <artifactId>kryo</artifactId>
288 <version>3.0.0</version>
289 </dependency>
290 <dependency>
291 <groupId>com.esotericsoftware</groupId>
292 <artifactId>reflectasm</artifactId>
293 <version>1.10.0</version>
294 <type>bundle</type>
295 </dependency>
296 <dependency>
297 <groupId>org.ow2.asm</groupId>
298 <artifactId>asm</artifactId>
299 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700300 </dependency>
301 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700302 <groupId>com.esotericsoftware</groupId>
303 <artifactId>minlog</artifactId>
304 <version>1.3.0</version>
305 </dependency>
306 <dependency>
307 <groupId>org.objenesis</groupId>
308 <artifactId>objenesis</artifactId>
309 <version>2.1</version>
310 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700311
tom0eb04ca2014-08-25 14:34:51 -0700312 <!-- ONOS related -->
313 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800314 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700315 <artifactId>onlab-misc</artifactId>
316 <version>${project.version}</version>
317 </dependency>
tom931af4e2014-09-13 12:00:57 -0700318 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800319 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700320 <artifactId>onlab-nio</artifactId>
321 <version>${project.version}</version>
322 </dependency>
323 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800324 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700325 <artifactId>onlab-osgi</artifactId>
326 <version>${project.version}</version>
327 </dependency>
328 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800329 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800330 <artifactId>onlab-osgi</artifactId>
331 <version>${project.version}</version>
332 <classifier>tests</classifier>
333 <scope>test</scope>
334 </dependency>
335 <dependency>
336 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700337 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700338 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700339 <scope>test</scope>
340 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700341
342 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800343 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700344 <artifactId>onos-api</artifactId>
345 <version>${project.version}</version>
346 </dependency>
347 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800348 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700349 <artifactId>onos-api</artifactId>
350 <version>${project.version}</version>
351 <classifier>tests</classifier>
352 <scope>test</scope>
353 </dependency>
354
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700355 <dependency>
356 <groupId>org.onosproject</groupId>
357 <artifactId>onos-incubator-api</artifactId>
358 <version>${project.version}</version>
359 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800360
361 <dependency>
362 <groupId>org.onosproject</groupId>
363 <artifactId>onos-core-common</artifactId>
364 <version>${project.version}</version>
365 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700366 <dependency>
367 <groupId>org.onosproject</groupId>
368 <artifactId>onos-core-common</artifactId>
369 <version>${project.version}</version>
370 <classifier>tests</classifier>
371 <scope>test</scope>
372 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800373
tom61359e92014-09-16 15:50:27 -0700374 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800375 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700376 <artifactId>onos-of-api</artifactId>
377 <version>${project.version}</version>
378 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700379
380 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800381 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800382 <artifactId>onos-app-pcep-api</artifactId>
383 <version>${project.version}</version>
384 </dependency>
385 <dependency>
386 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700387 <artifactId>onlab-thirdparty</artifactId>
388 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700389 </dependency>
390
tom61359e92014-09-16 15:50:27 -0700391 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800392 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700393 <artifactId>onos-of-api</artifactId>
394 <version>${project.version}</version>
395 <classifier>tests</classifier>
396 <scope>test</scope>
397 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700398 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700399 <groupId>commons-pool</groupId>
400 <artifactId>commons-pool</artifactId>
401 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700402 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700403 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700404 <groupId>io.netty</groupId>
405 <artifactId>netty-common</artifactId>
406 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700407 </dependency>
408 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700409 <groupId>io.netty</groupId>
410 <artifactId>netty-buffer</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-transport</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-handler</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-codec</artifactId>
426 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700427 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700428 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700429 <groupId>io.netty</groupId>
430 <artifactId>netty-transport-native-epoll</artifactId>
431 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800432 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700433 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700434 <dependency>
435 <groupId>joda-time</groupId>
436 <artifactId>joda-time</artifactId>
437 <version>2.5</version>
438 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700439 </dependencies>
440 </dependencyManagement>
441
442 <dependencies>
443 <dependency>
444 <groupId>junit</groupId>
445 <artifactId>junit</artifactId>
446 </dependency>
447 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700448 <groupId>org.hamcrest</groupId>
449 <artifactId>hamcrest-core</artifactId>
450 </dependency>
451 <dependency>
452 <groupId>org.hamcrest</groupId>
453 <artifactId>hamcrest-library</artifactId>
454 </dependency>
455 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700456 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700457 <artifactId>slf4j-api</artifactId>
458 </dependency>
459 <dependency>
460 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700461 <artifactId>slf4j-jdk14</artifactId>
462 </dependency>
463 </dependencies>
tom09419512014-08-15 11:28:43 -0700464
465 <build>
466 <pluginManagement>
467 <plugins>
468 <plugin>
469 <groupId>org.apache.maven.plugins</groupId>
470 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700471 <!-- TODO: update once following issue is fixed. -->
472 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
473 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700474 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800475 <source>1.8</source>
476 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700477 </configuration>
478 </plugin>
479
480 <plugin>
481 <groupId>org.apache.maven.plugins</groupId>
482 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700483 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700484 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700485 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700486 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700487 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
488 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700489 </configuration>
tom09419512014-08-15 11:28:43 -0700490 </plugin>
491
492 <plugin>
493 <groupId>org.apache.maven.plugins</groupId>
494 <artifactId>maven-jar-plugin</artifactId>
495 <version>2.3.1</version>
496 <executions>
497 <execution>
498 <phase>package</phase>
499 <goals>
500 <goal>test-jar</goal>
501 </goals>
502 </execution>
503 </executions>
504 </plugin>
505
506 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700507 <groupId>org.apache.maven.plugins</groupId>
508 <artifactId>maven-resources-plugin</artifactId>
509 <version>2.6</version>
510 </plugin>
511
512 <plugin>
tom09419512014-08-15 11:28:43 -0700513 <groupId>org.apache.felix</groupId>
514 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800515 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700516 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800517 <!--
518 Drop following dependency when the below bug fix is published
519 https://issues.apache.org/jira/browse/FELIX-4556
520 -->
521 <dependencies>
522 <dependency>
523 <groupId>biz.aQute.bnd</groupId>
524 <artifactId>bndlib</artifactId>
525 <version>2.4.0</version>
526 </dependency>
527 </dependencies>
tom09419512014-08-15 11:28:43 -0700528 </plugin>
529
530 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800531 <groupId>org.apache.maven.plugins</groupId>
532 <artifactId>maven-shade-plugin</artifactId>
533 <version>2.3</version>
534 </plugin>
535
536 <plugin>
tom09419512014-08-15 11:28:43 -0700537 <groupId>org.apache.felix</groupId>
538 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800539 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700540 <executions>
541 <execution>
542 <id>generate-scr-srcdescriptor</id>
543 <goals>
544 <goal>scr</goal>
545 </goals>
546 </execution>
547 </executions>
548 <configuration>
549 <supportedProjectTypes>
550 <supportedProjectType>bundle</supportedProjectType>
551 <supportedProjectType>war</supportedProjectType>
552 </supportedProjectTypes>
553 </configuration>
554 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800555 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800556 <groupId>org.codehaus.mojo</groupId>
557 <artifactId>findbugs-maven-plugin</artifactId>
558 <version>3.0.0</version>
559 <dependencies>
560 <dependency>
561 <groupId>org.onosproject</groupId>
562 <artifactId>onos-build-conf</artifactId>
563 <version>1.0</version>
564 </dependency>
565 </dependencies>
566 <configuration>
567 <effort>Max</effort>
568 <excludeFilterFile>onos/findbugs-suppressions.xml
569 </excludeFilterFile>
570 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800571 </plugin>
tom09419512014-08-15 11:28:43 -0700572
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700573 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700574 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700575 <groupId>org.onosproject</groupId>
576 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700577 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700578 <executions>
579 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700580 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700581 <phase>generate-resources</phase>
582 <goals>
583 <goal>cfg</goal>
584 </goals>
585 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700586 <execution>
587 <id>app</id>
588 <phase>package</phase>
589 <goals>
590 <goal>app</goal>
591 </goals>
592 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700593 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700594 </plugin>
tom09419512014-08-15 11:28:43 -0700595 </plugins>
tom09419512014-08-15 11:28:43 -0700596 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700597
598 <plugins>
599 <plugin>
600 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700601 <artifactId>maven-jar-plugin</artifactId>
602 </plugin>
603
604 <plugin>
605 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700606 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700607 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700608 <dependencies>
609 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800610 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700611 <artifactId>onos-build-conf</artifactId>
612 <version>1.0</version>
613 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800614 <!-- For Java 8 lambda support-->
615 <dependency>
616 <groupId>com.puppycrawl.tools</groupId>
617 <artifactId>checkstyle</artifactId>
618 <version>5.9</version>
619 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700620 </dependencies>
621 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800622 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800623 <sourceDirectory>${project.build.sourceDirectory}
624 </sourceDirectory>
625 <testSourceDirectory>${project.build.testSourceDirectory}
626 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800627 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700628 <configLocation>onos/checkstyle.xml</configLocation>
629 <suppressionsLocation>onos/suppressions.xml
630 </suppressionsLocation>
631 <failsOnError>false</failsOnError>
632 <logViolationsToConsole>true</logViolationsToConsole>
633 <includeTestSourceDirectory>true
634 </includeTestSourceDirectory>
635 </configuration>
636 <executions>
637 <execution>
638 <id>validate-checkstyle</id>
639 <phase>verify</phase>
640 <goals>
641 <goal>check</goal>
642 </goals>
643 </execution>
644 </executions>
645 </plugin>
646
647 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700648 <groupId>org.apache.maven.plugins</groupId>
649 <artifactId>maven-pmd-plugin</artifactId>
650 <version>3.2</version>
651 <configuration>
652 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700653 </excludes>
654 <rulesets>
655 <ruleset>onos/pmd.xml</ruleset>
656 </rulesets>
657 </configuration>
658 <executions>
659 <execution>
660 <id>validate-pmd</id>
661 <phase>verify</phase>
662 <goals>
663 <!-- Uncomment this goal to make the build fail on pmd errors -->
664 <!--<goal>check</goal>-->
665 </goals>
666 </execution>
667 </executions>
668 </plugin>
669
670 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700671 <groupId>org.jacoco</groupId>
672 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800673 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700674 <executions>
675 <execution>
676 <id>default-prepare-agent</id>
677 <goals>
678 <goal>prepare-agent</goal>
679 </goals>
680 </execution>
681 <execution>
682 <id>default-report</id>
683 <phase>prepare-package</phase>
684 <goals>
685 <goal>report</goal>
686 </goals>
687 </execution>
688 </executions>
689 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700690 </plugins>
tom09419512014-08-15 11:28:43 -0700691 </build>
alshabib522d9872014-08-15 10:35:16 -0700692
tom0eb04ca2014-08-25 14:34:51 -0700693 <reporting>
694 <plugins>
695 <plugin>
696 <groupId>org.apache.maven.plugins</groupId>
697 <artifactId>maven-checkstyle-plugin</artifactId>
698 <version>2.12.1</version>
699 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800700 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700701 </configuration>
702 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700703
704 <plugin>
705 <groupId>org.apache.maven.plugins</groupId>
706 <artifactId>maven-pmd-plugin</artifactId>
707 <version>3.2</version>
708 <configuration>
709 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700710 </excludes>
711 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800712 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700713 </rulesets>
714 </configuration>
715 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700716 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700717 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700718</project>