blob: f33f95b9519d46abc006542e5be3cbe6628c1fe4 [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>
Thomas Vachuska24c54152015-07-13 16:22:53 -070052 <module>tools/package/archetypes</module>
tomaa49a1e2014-09-12 23:11:46 -070053 <module>tools/package/branding</module>
YuanyouZhangb5e05302015-07-21 20:14:35 +080054 <module>ovsdb</module>
tom09419512014-08-15 11:28:43 -070055 </modules>
56
Brian O'Connor3439c102014-12-03 01:02:03 -080057 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070058
Brian O'Connor932d9412014-12-03 17:20:11 -080059 <scm>
60 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080061 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
62 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080063 <url>http://gerrit.onosproject.org/</url>
64 </scm>
65
tom09419512014-08-15 11:28:43 -070066 <licenses>
67 <license>
tom09419512014-08-15 11:28:43 -070068 <name>Apache License, Version 2.0</name>
69 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
70 </license>
71 </licenses>
72
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070073 <properties>
74 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070075 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani40537ca2015-07-14 19:50:33 -070076 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
Marc De Leenheerb9311372015-07-09 11:36:49 -070077 <openflowj.version>0.4.1.onos-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070078 <karaf.version>3.0.3</karaf.version>
79 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070080 </properties>
81
Brian O'Connor932d9412014-12-03 17:20:11 -080082 <distributionManagement>
83 <snapshotRepository>
84 <id>ossrh</id>
85 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
86 </snapshotRepository>
87 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080088
Madan Jampani458fb892015-07-06 17:54:03 -070089 <!--- Needed for copycat. Remove before official release -->
90 <repositories>
91 <repository>
92 <id>snapshots</id>
93 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
94 </repository>
95 </repositories>
96
tom0eb04ca2014-08-25 14:34:51 -070097 <dependencyManagement>
98 <dependencies>
99 <dependency>
100 <groupId>junit</groupId>
101 <artifactId>junit</artifactId>
102 <version>4.11</version>
103 <scope>test</scope>
104 </dependency>
tom09419512014-08-15 11:28:43 -0700105
tom0eb04ca2014-08-25 14:34:51 -0700106 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700107 <groupId>org.hamcrest</groupId>
108 <artifactId>hamcrest-core</artifactId>
109 <version>1.3</version>
110 <scope>test</scope>
111 </dependency>
112 <dependency>
113 <groupId>org.hamcrest</groupId>
114 <artifactId>hamcrest-library</artifactId>
115 <version>1.3</version>
116 <scope>test</scope>
117 </dependency>
118
119 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700120 <groupId>org.slf4j</groupId>
121 <artifactId>slf4j-api</artifactId>
122 <version>1.7.6</version>
123 <scope>provided</scope>
124 </dependency>
125
126 <dependency>
127 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700128 <artifactId>slf4j-core</artifactId>
129 <version>1.7.6</version>
130 <scope>test</scope>
131 </dependency>
132
133 <dependency>
134 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700135 <artifactId>slf4j-jdk14</artifactId>
136 <version>1.7.6</version>
137 <scope>test</scope>
138 </dependency>
139
140 <dependency>
141 <groupId>com.google.guava</groupId>
142 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700143 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700144 </dependency>
145
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700146 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700147 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700148 <artifactId>netty</artifactId>
149 <version>3.9.0.Final</version>
150 </dependency>
151
tomde8d9682014-08-27 01:11:43 -0700152 <dependency>
153 <groupId>com.google.guava</groupId>
154 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700155 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700156 <scope>test</scope>
157 </dependency>
158
tom6d2a43e2014-09-08 01:50:20 -0700159 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700160 <groupId>com.googlecode.concurrent-trees</groupId>
161 <artifactId>concurrent-trees</artifactId>
162 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700163 </dependency>
164
165 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700166 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700167 <artifactId>commons-lang</artifactId>
168 <version>2.6</version>
169 </dependency>
tomde8d9682014-08-27 01:11:43 -0700170
tom66a7eb22014-09-22 11:58:56 -0700171 <dependency>
172 <groupId>org.apache.commons</groupId>
173 <artifactId>commons-lang3</artifactId>
174 <version>3.3.2</version>
175 </dependency>
176
Brian O'Connorf3d06162014-10-02 15:54:12 -0700177 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800178 <groupId>commons-configuration</groupId>
179 <artifactId>commons-configuration</artifactId>
180 <version>1.10</version>
181 </dependency>
182
183 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700184 <groupId>commons-collections</groupId>
185 <artifactId>commons-collections</artifactId>
186 <version>3.2.1</version>
187 </dependency>
188
189 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700190 <groupId>org.codehaus.jackson</groupId>
191 <artifactId>jackson-core-asl</artifactId>
192 <version>1.9.13</version>
193 </dependency>
194 <dependency>
195 <groupId>org.codehaus.jackson</groupId>
196 <artifactId>jackson-mapper-asl</artifactId>
197 <version>1.9.13</version>
198 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700199
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700200 <dependency>
201 <groupId>org.easymock</groupId>
202 <artifactId>easymock</artifactId>
203 <version>3.2</version>
204 <scope>test</scope>
205 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700206
tom0eb04ca2014-08-25 14:34:51 -0700207 <!-- Web related -->
208 <dependency>
209 <groupId>com.sun.jersey</groupId>
210 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700211 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700212 <scope>provided</scope>
213 </dependency>
214 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700215 <groupId>com.sun.jersey.contribs</groupId>
216 <artifactId>jersey-multipart</artifactId>
217 <version>${jersey.version}</version>
218 <scope>provided</scope>
219 </dependency>
220 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700221 <groupId>com.sun.jersey.jersey-test-framework</groupId>
222 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700223 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700224 <scope>test</scope>
225 </dependency>
226 <dependency>
227 <groupId>com.sun.jersey.jersey-test-framework</groupId>
228 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700229 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700230 <scope>test</scope>
231 </dependency>
232 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700233 <groupId>com.fasterxml.jackson.core</groupId>
234 <artifactId>jackson-databind</artifactId>
235 <version>2.4.2</version>
236 <scope>provided</scope>
237 </dependency>
238 <dependency>
239 <groupId>com.fasterxml.jackson.core</groupId>
240 <artifactId>jackson-annotations</artifactId>
241 <version>2.4.2</version>
242 <scope>provided</scope>
243 </dependency>
244
245 <!-- OSGi related -->
246 <dependency>
247 <groupId>org.osgi</groupId>
248 <artifactId>org.osgi.core</artifactId>
249 <version>4.3.1</version>
250 <scope>provided</scope>
251 </dependency>
252 <dependency>
tomc16656f2014-10-15 18:30:31 -0700253 <groupId>org.osgi</groupId>
254 <artifactId>org.osgi.compendium</artifactId>
255 <version>4.3.1</version>
256 <scope>provided</scope>
257 </dependency>
258 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700259 <groupId>org.apache.felix</groupId>
260 <artifactId>org.apache.felix.scr.annotations</artifactId>
261 <version>1.9.8</version>
262 <scope>provided</scope>
263 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700264
265 <dependency>
266 <groupId>org.apache.karaf.features</groupId>
267 <artifactId>org.apache.karaf.features.core</artifactId>
268 <version>${karaf.version}</version>
269 <scope>provided</scope>
270 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700271 <dependency>
272 <groupId>org.apache.karaf.system</groupId>
273 <artifactId>org.apache.karaf.system.core</artifactId>
274 <version>${karaf.version}</version>
275 <scope>provided</scope>
276 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700277 <dependency>
278 <groupId>org.apache.karaf.shell</groupId>
279 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700280 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700281 <scope>provided</scope>
282 </dependency>
283
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700284 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700285 <groupId>org.livetribe.slp</groupId>
286 <artifactId>livetribe-slp</artifactId>
287 <version>2.2.1</version>
288 </dependency>
289
290 <dependency>
tomdc66b382014-09-22 17:05:47 -0700291 <groupId>com.eclipsesource.minimal-json</groupId>
292 <artifactId>minimal-json</artifactId>
293 <version>0.9.1</version>
294 </dependency>
295 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700296 <groupId>com.esotericsoftware</groupId>
297 <artifactId>kryo</artifactId>
298 <version>3.0.0</version>
299 </dependency>
300 <dependency>
301 <groupId>com.esotericsoftware</groupId>
302 <artifactId>reflectasm</artifactId>
303 <version>1.10.0</version>
304 <type>bundle</type>
305 </dependency>
306 <dependency>
307 <groupId>org.ow2.asm</groupId>
308 <artifactId>asm</artifactId>
309 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700310 </dependency>
311 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700312 <groupId>com.esotericsoftware</groupId>
313 <artifactId>minlog</artifactId>
314 <version>1.3.0</version>
315 </dependency>
316 <dependency>
317 <groupId>org.objenesis</groupId>
318 <artifactId>objenesis</artifactId>
319 <version>2.1</version>
320 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700321
tom0eb04ca2014-08-25 14:34:51 -0700322 <!-- ONOS related -->
323 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800324 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700325 <artifactId>onlab-misc</artifactId>
326 <version>${project.version}</version>
327 </dependency>
tom931af4e2014-09-13 12:00:57 -0700328 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800329 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700330 <artifactId>onlab-nio</artifactId>
331 <version>${project.version}</version>
332 </dependency>
333 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800334 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700335 <artifactId>onlab-osgi</artifactId>
336 <version>${project.version}</version>
337 </dependency>
338 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800339 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800340 <artifactId>onlab-osgi</artifactId>
341 <version>${project.version}</version>
342 <classifier>tests</classifier>
343 <scope>test</scope>
344 </dependency>
345 <dependency>
346 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700347 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700348 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700349 <scope>test</scope>
350 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700351
352 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800353 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700354 <artifactId>onos-api</artifactId>
355 <version>${project.version}</version>
356 </dependency>
357 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800358 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700359 <artifactId>onos-api</artifactId>
360 <version>${project.version}</version>
361 <classifier>tests</classifier>
362 <scope>test</scope>
363 </dependency>
364
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700365 <dependency>
366 <groupId>org.onosproject</groupId>
367 <artifactId>onos-incubator-api</artifactId>
368 <version>${project.version}</version>
369 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800370
371 <dependency>
372 <groupId>org.onosproject</groupId>
373 <artifactId>onos-core-common</artifactId>
374 <version>${project.version}</version>
375 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700376 <dependency>
377 <groupId>org.onosproject</groupId>
378 <artifactId>onos-core-common</artifactId>
379 <version>${project.version}</version>
380 <classifier>tests</classifier>
381 <scope>test</scope>
382 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800383
tom61359e92014-09-16 15:50:27 -0700384 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800385 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700386 <artifactId>onos-of-api</artifactId>
387 <version>${project.version}</version>
388 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700389
390 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800391 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800392 <artifactId>onos-app-pcep-api</artifactId>
393 <version>${project.version}</version>
394 </dependency>
395 <dependency>
396 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700397 <artifactId>onlab-thirdparty</artifactId>
398 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700399 </dependency>
400
tom61359e92014-09-16 15:50:27 -0700401 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800402 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700403 <artifactId>onos-of-api</artifactId>
404 <version>${project.version}</version>
405 <classifier>tests</classifier>
406 <scope>test</scope>
407 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700408 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700409 <groupId>commons-pool</groupId>
410 <artifactId>commons-pool</artifactId>
411 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700412 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700413 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700414 <groupId>io.netty</groupId>
415 <artifactId>netty-common</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-buffer</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-transport</artifactId>
426 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700427 </dependency>
428 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700429 <groupId>io.netty</groupId>
430 <artifactId>netty-handler</artifactId>
431 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700432 </dependency>
433 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700434 <groupId>io.netty</groupId>
435 <artifactId>netty-codec</artifactId>
436 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700437 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700438 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700439 <groupId>io.netty</groupId>
440 <artifactId>netty-transport-native-epoll</artifactId>
441 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800442 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700443 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700444 <dependency>
445 <groupId>joda-time</groupId>
446 <artifactId>joda-time</artifactId>
447 <version>2.5</version>
448 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700449 </dependencies>
450 </dependencyManagement>
451
452 <dependencies>
453 <dependency>
454 <groupId>junit</groupId>
455 <artifactId>junit</artifactId>
456 </dependency>
457 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700458 <groupId>org.hamcrest</groupId>
459 <artifactId>hamcrest-core</artifactId>
460 </dependency>
461 <dependency>
462 <groupId>org.hamcrest</groupId>
463 <artifactId>hamcrest-library</artifactId>
464 </dependency>
465 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700466 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700467 <artifactId>slf4j-api</artifactId>
468 </dependency>
469 <dependency>
470 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700471 <artifactId>slf4j-jdk14</artifactId>
472 </dependency>
473 </dependencies>
tom09419512014-08-15 11:28:43 -0700474
475 <build>
476 <pluginManagement>
477 <plugins>
478 <plugin>
479 <groupId>org.apache.maven.plugins</groupId>
480 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700481 <!-- TODO: update once following issue is fixed. -->
482 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
483 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700484 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800485 <source>1.8</source>
486 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700487 </configuration>
488 </plugin>
489
490 <plugin>
491 <groupId>org.apache.maven.plugins</groupId>
492 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700493 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700494 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700495 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700496 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700497 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
498 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700499 </configuration>
tom09419512014-08-15 11:28:43 -0700500 </plugin>
501
502 <plugin>
503 <groupId>org.apache.maven.plugins</groupId>
504 <artifactId>maven-jar-plugin</artifactId>
505 <version>2.3.1</version>
506 <executions>
507 <execution>
508 <phase>package</phase>
509 <goals>
510 <goal>test-jar</goal>
511 </goals>
512 </execution>
513 </executions>
514 </plugin>
515
516 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-resources-plugin</artifactId>
519 <version>2.6</version>
520 </plugin>
521
522 <plugin>
tom09419512014-08-15 11:28:43 -0700523 <groupId>org.apache.felix</groupId>
524 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800525 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700526 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800527 <!--
528 Drop following dependency when the below bug fix is published
529 https://issues.apache.org/jira/browse/FELIX-4556
530 -->
531 <dependencies>
532 <dependency>
533 <groupId>biz.aQute.bnd</groupId>
534 <artifactId>bndlib</artifactId>
535 <version>2.4.0</version>
536 </dependency>
537 </dependencies>
tom09419512014-08-15 11:28:43 -0700538 </plugin>
539
540 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800541 <groupId>org.apache.maven.plugins</groupId>
542 <artifactId>maven-shade-plugin</artifactId>
543 <version>2.3</version>
544 </plugin>
545
546 <plugin>
tom09419512014-08-15 11:28:43 -0700547 <groupId>org.apache.felix</groupId>
548 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800549 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700550 <executions>
551 <execution>
552 <id>generate-scr-srcdescriptor</id>
553 <goals>
554 <goal>scr</goal>
555 </goals>
556 </execution>
557 </executions>
558 <configuration>
559 <supportedProjectTypes>
560 <supportedProjectType>bundle</supportedProjectType>
561 <supportedProjectType>war</supportedProjectType>
562 </supportedProjectTypes>
563 </configuration>
564 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800565 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800566 <groupId>org.codehaus.mojo</groupId>
567 <artifactId>findbugs-maven-plugin</artifactId>
568 <version>3.0.0</version>
569 <dependencies>
570 <dependency>
571 <groupId>org.onosproject</groupId>
572 <artifactId>onos-build-conf</artifactId>
573 <version>1.0</version>
574 </dependency>
575 </dependencies>
576 <configuration>
577 <effort>Max</effort>
578 <excludeFilterFile>onos/findbugs-suppressions.xml
579 </excludeFilterFile>
580 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800581 </plugin>
tom09419512014-08-15 11:28:43 -0700582
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700583 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700584 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700585 <groupId>org.onosproject</groupId>
586 <artifactId>onos-maven-plugin</artifactId>
Brian O'Connorc013a352015-05-21 17:24:46 -0700587 <version>1.4</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700588 <executions>
589 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700590 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700591 <phase>generate-resources</phase>
592 <goals>
593 <goal>cfg</goal>
594 </goals>
595 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700596 <execution>
597 <id>app</id>
598 <phase>package</phase>
599 <goals>
600 <goal>app</goal>
601 </goals>
602 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700603 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700604 </plugin>
tom09419512014-08-15 11:28:43 -0700605 </plugins>
tom09419512014-08-15 11:28:43 -0700606 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700607
608 <plugins>
609 <plugin>
610 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700611 <artifactId>maven-jar-plugin</artifactId>
612 </plugin>
613
614 <plugin>
615 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700616 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700617 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700618 <dependencies>
619 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800620 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700621 <artifactId>onos-build-conf</artifactId>
622 <version>1.0</version>
623 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800624 <!-- For Java 8 lambda support-->
625 <dependency>
626 <groupId>com.puppycrawl.tools</groupId>
627 <artifactId>checkstyle</artifactId>
628 <version>5.9</version>
629 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700630 </dependencies>
631 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800632 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800633 <sourceDirectory>${project.build.sourceDirectory}
634 </sourceDirectory>
635 <testSourceDirectory>${project.build.testSourceDirectory}
636 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800637 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700638 <configLocation>onos/checkstyle.xml</configLocation>
639 <suppressionsLocation>onos/suppressions.xml
640 </suppressionsLocation>
641 <failsOnError>false</failsOnError>
642 <logViolationsToConsole>true</logViolationsToConsole>
643 <includeTestSourceDirectory>true
644 </includeTestSourceDirectory>
645 </configuration>
646 <executions>
647 <execution>
648 <id>validate-checkstyle</id>
649 <phase>verify</phase>
650 <goals>
651 <goal>check</goal>
652 </goals>
653 </execution>
654 </executions>
655 </plugin>
656
657 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700658 <groupId>org.apache.maven.plugins</groupId>
659 <artifactId>maven-pmd-plugin</artifactId>
660 <version>3.2</version>
661 <configuration>
662 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700663 </excludes>
664 <rulesets>
665 <ruleset>onos/pmd.xml</ruleset>
666 </rulesets>
667 </configuration>
668 <executions>
669 <execution>
670 <id>validate-pmd</id>
671 <phase>verify</phase>
672 <goals>
673 <!-- Uncomment this goal to make the build fail on pmd errors -->
674 <!--<goal>check</goal>-->
675 </goals>
676 </execution>
677 </executions>
678 </plugin>
679
680 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700681 <groupId>org.jacoco</groupId>
682 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800683 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700684 <executions>
685 <execution>
686 <id>default-prepare-agent</id>
687 <goals>
688 <goal>prepare-agent</goal>
689 </goals>
690 </execution>
691 <execution>
692 <id>default-report</id>
693 <phase>prepare-package</phase>
694 <goals>
695 <goal>report</goal>
696 </goals>
697 </execution>
698 </executions>
699 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700700 </plugins>
tom09419512014-08-15 11:28:43 -0700701 </build>
alshabib522d9872014-08-15 10:35:16 -0700702
tom0eb04ca2014-08-25 14:34:51 -0700703 <reporting>
704 <plugins>
705 <plugin>
706 <groupId>org.apache.maven.plugins</groupId>
707 <artifactId>maven-checkstyle-plugin</artifactId>
708 <version>2.12.1</version>
709 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800710 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700711 </configuration>
712 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700713
714 <plugin>
715 <groupId>org.apache.maven.plugins</groupId>
716 <artifactId>maven-pmd-plugin</artifactId>
717 <version>3.2</version>
718 <configuration>
719 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700720 </excludes>
721 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800722 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700723 </rulesets>
724 </configuration>
725 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700726 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700727 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700728</project>