blob: 4ea2f205b8452bfea75c8e14aedc50a06c118073 [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>
Sahil Lele372d1f32015-07-31 15:01:41 -070054 <!-- FIXME remove before release -->
55 <module>tools/package/maven-plugin</module>
YuanyouZhangb5e05302015-07-21 20:14:35 +080056 <module>ovsdb</module>
tom09419512014-08-15 11:28:43 -070057 </modules>
58
Brian O'Connor3439c102014-12-03 01:02:03 -080059 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070060
Brian O'Connor932d9412014-12-03 17:20:11 -080061 <scm>
62 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080063 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
64 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080065 <url>http://gerrit.onosproject.org/</url>
66 </scm>
67
tom09419512014-08-15 11:28:43 -070068 <licenses>
69 <license>
tom09419512014-08-15 11:28:43 -070070 <name>Apache License, Version 2.0</name>
71 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
72 </license>
73 </licenses>
74
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070075 <properties>
76 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070077 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani40537ca2015-07-14 19:50:33 -070078 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
Marc De Leenheerb9311372015-07-09 11:36:49 -070079 <openflowj.version>0.4.1.onos-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070080 <karaf.version>3.0.3</karaf.version>
81 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070082 </properties>
83
Brian O'Connor932d9412014-12-03 17:20:11 -080084 <distributionManagement>
85 <snapshotRepository>
86 <id>ossrh</id>
87 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
88 </snapshotRepository>
89 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080090
Madan Jampani458fb892015-07-06 17:54:03 -070091 <!--- Needed for copycat. Remove before official release -->
92 <repositories>
93 <repository>
94 <id>snapshots</id>
95 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
96 </repository>
97 </repositories>
98
Sahil Lele372d1f32015-07-31 15:01:41 -070099 <!--- FIXME Needed for onos-maven-plugin. Remove before official release -->
100 <pluginRepositories>
101 <pluginRepository>
102 <id>snapshots</id>
103 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
104 </pluginRepository>
105 </pluginRepositories>
106
tom0eb04ca2014-08-25 14:34:51 -0700107 <dependencyManagement>
108 <dependencies>
109 <dependency>
110 <groupId>junit</groupId>
111 <artifactId>junit</artifactId>
112 <version>4.11</version>
113 <scope>test</scope>
114 </dependency>
tom09419512014-08-15 11:28:43 -0700115
tom0eb04ca2014-08-25 14:34:51 -0700116 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700117 <groupId>org.hamcrest</groupId>
118 <artifactId>hamcrest-core</artifactId>
119 <version>1.3</version>
120 <scope>test</scope>
121 </dependency>
122 <dependency>
123 <groupId>org.hamcrest</groupId>
124 <artifactId>hamcrest-library</artifactId>
125 <version>1.3</version>
126 <scope>test</scope>
127 </dependency>
128
129 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700130 <groupId>org.slf4j</groupId>
131 <artifactId>slf4j-api</artifactId>
132 <version>1.7.6</version>
133 <scope>provided</scope>
134 </dependency>
135
136 <dependency>
137 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700138 <artifactId>slf4j-core</artifactId>
139 <version>1.7.6</version>
140 <scope>test</scope>
141 </dependency>
142
143 <dependency>
144 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700145 <artifactId>slf4j-jdk14</artifactId>
146 <version>1.7.6</version>
147 <scope>test</scope>
148 </dependency>
149
150 <dependency>
151 <groupId>com.google.guava</groupId>
152 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700153 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700154 </dependency>
155
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700156 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700157 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700158 <artifactId>netty</artifactId>
159 <version>3.9.0.Final</version>
160 </dependency>
161
tomde8d9682014-08-27 01:11:43 -0700162 <dependency>
163 <groupId>com.google.guava</groupId>
164 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700165 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700166 <scope>test</scope>
167 </dependency>
168
tom6d2a43e2014-09-08 01:50:20 -0700169 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700170 <groupId>com.googlecode.concurrent-trees</groupId>
171 <artifactId>concurrent-trees</artifactId>
172 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700173 </dependency>
174
175 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700176 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700177 <artifactId>commons-lang</artifactId>
178 <version>2.6</version>
179 </dependency>
tomde8d9682014-08-27 01:11:43 -0700180
tom66a7eb22014-09-22 11:58:56 -0700181 <dependency>
182 <groupId>org.apache.commons</groupId>
183 <artifactId>commons-lang3</artifactId>
184 <version>3.3.2</version>
185 </dependency>
186
Brian O'Connorf3d06162014-10-02 15:54:12 -0700187 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800188 <groupId>commons-configuration</groupId>
189 <artifactId>commons-configuration</artifactId>
190 <version>1.10</version>
191 </dependency>
192
193 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700194 <groupId>commons-collections</groupId>
195 <artifactId>commons-collections</artifactId>
196 <version>3.2.1</version>
197 </dependency>
198
199 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700200 <groupId>org.codehaus.jackson</groupId>
201 <artifactId>jackson-core-asl</artifactId>
202 <version>1.9.13</version>
203 </dependency>
204 <dependency>
205 <groupId>org.codehaus.jackson</groupId>
206 <artifactId>jackson-mapper-asl</artifactId>
207 <version>1.9.13</version>
208 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700209
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700210 <dependency>
211 <groupId>org.easymock</groupId>
212 <artifactId>easymock</artifactId>
213 <version>3.2</version>
214 <scope>test</scope>
215 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700216
tom0eb04ca2014-08-25 14:34:51 -0700217 <!-- Web related -->
218 <dependency>
219 <groupId>com.sun.jersey</groupId>
220 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700221 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700222 <scope>provided</scope>
223 </dependency>
224 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700225 <groupId>com.sun.jersey.contribs</groupId>
226 <artifactId>jersey-multipart</artifactId>
227 <version>${jersey.version}</version>
228 <scope>provided</scope>
229 </dependency>
230 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700231 <groupId>com.sun.jersey.jersey-test-framework</groupId>
232 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700233 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700234 <scope>test</scope>
235 </dependency>
236 <dependency>
237 <groupId>com.sun.jersey.jersey-test-framework</groupId>
238 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700239 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700240 <scope>test</scope>
241 </dependency>
242 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700243 <groupId>com.fasterxml.jackson.core</groupId>
244 <artifactId>jackson-databind</artifactId>
245 <version>2.4.2</version>
246 <scope>provided</scope>
247 </dependency>
248 <dependency>
249 <groupId>com.fasterxml.jackson.core</groupId>
250 <artifactId>jackson-annotations</artifactId>
251 <version>2.4.2</version>
252 <scope>provided</scope>
253 </dependency>
254
255 <!-- OSGi related -->
256 <dependency>
257 <groupId>org.osgi</groupId>
258 <artifactId>org.osgi.core</artifactId>
259 <version>4.3.1</version>
260 <scope>provided</scope>
261 </dependency>
262 <dependency>
tomc16656f2014-10-15 18:30:31 -0700263 <groupId>org.osgi</groupId>
264 <artifactId>org.osgi.compendium</artifactId>
265 <version>4.3.1</version>
266 <scope>provided</scope>
267 </dependency>
268 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700269 <groupId>org.apache.felix</groupId>
270 <artifactId>org.apache.felix.scr.annotations</artifactId>
271 <version>1.9.8</version>
272 <scope>provided</scope>
273 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700274
275 <dependency>
276 <groupId>org.apache.karaf.features</groupId>
277 <artifactId>org.apache.karaf.features.core</artifactId>
278 <version>${karaf.version}</version>
279 <scope>provided</scope>
280 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700281 <dependency>
282 <groupId>org.apache.karaf.system</groupId>
283 <artifactId>org.apache.karaf.system.core</artifactId>
284 <version>${karaf.version}</version>
285 <scope>provided</scope>
286 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700287 <dependency>
288 <groupId>org.apache.karaf.shell</groupId>
289 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700290 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700291 <scope>provided</scope>
292 </dependency>
293
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700294 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700295 <groupId>org.livetribe.slp</groupId>
296 <artifactId>livetribe-slp</artifactId>
297 <version>2.2.1</version>
298 </dependency>
299
300 <dependency>
tomdc66b382014-09-22 17:05:47 -0700301 <groupId>com.eclipsesource.minimal-json</groupId>
302 <artifactId>minimal-json</artifactId>
303 <version>0.9.1</version>
304 </dependency>
305 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700306 <groupId>com.esotericsoftware</groupId>
307 <artifactId>kryo</artifactId>
308 <version>3.0.0</version>
309 </dependency>
310 <dependency>
311 <groupId>com.esotericsoftware</groupId>
312 <artifactId>reflectasm</artifactId>
313 <version>1.10.0</version>
314 <type>bundle</type>
315 </dependency>
316 <dependency>
317 <groupId>org.ow2.asm</groupId>
318 <artifactId>asm</artifactId>
319 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700320 </dependency>
321 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700322 <groupId>com.esotericsoftware</groupId>
323 <artifactId>minlog</artifactId>
324 <version>1.3.0</version>
325 </dependency>
326 <dependency>
327 <groupId>org.objenesis</groupId>
328 <artifactId>objenesis</artifactId>
329 <version>2.1</version>
330 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700331
tom0eb04ca2014-08-25 14:34:51 -0700332 <!-- ONOS related -->
333 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800334 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700335 <artifactId>onlab-misc</artifactId>
336 <version>${project.version}</version>
337 </dependency>
tom931af4e2014-09-13 12:00:57 -0700338 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800339 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700340 <artifactId>onlab-nio</artifactId>
341 <version>${project.version}</version>
342 </dependency>
343 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800344 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700345 <artifactId>onlab-osgi</artifactId>
346 <version>${project.version}</version>
347 </dependency>
348 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800349 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800350 <artifactId>onlab-osgi</artifactId>
351 <version>${project.version}</version>
352 <classifier>tests</classifier>
353 <scope>test</scope>
354 </dependency>
355 <dependency>
356 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700357 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700358 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700359 <scope>test</scope>
360 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700361
362 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800363 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700364 <artifactId>onos-api</artifactId>
365 <version>${project.version}</version>
366 </dependency>
367 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800368 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700369 <artifactId>onos-api</artifactId>
370 <version>${project.version}</version>
371 <classifier>tests</classifier>
372 <scope>test</scope>
373 </dependency>
374
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700375 <dependency>
376 <groupId>org.onosproject</groupId>
377 <artifactId>onos-incubator-api</artifactId>
378 <version>${project.version}</version>
379 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800380
381 <dependency>
382 <groupId>org.onosproject</groupId>
383 <artifactId>onos-core-common</artifactId>
384 <version>${project.version}</version>
385 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700386 <dependency>
387 <groupId>org.onosproject</groupId>
388 <artifactId>onos-core-common</artifactId>
389 <version>${project.version}</version>
390 <classifier>tests</classifier>
391 <scope>test</scope>
392 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800393
tom61359e92014-09-16 15:50:27 -0700394 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800395 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700396 <artifactId>onos-of-api</artifactId>
397 <version>${project.version}</version>
398 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700399
400 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800401 <groupId>org.onosproject</groupId>
cheng fan48e832c2015-05-29 01:54:47 +0800402 <artifactId>onos-app-pcep-api</artifactId>
403 <version>${project.version}</version>
404 </dependency>
405 <dependency>
406 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700407 <artifactId>onlab-thirdparty</artifactId>
408 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700409 </dependency>
410
tom61359e92014-09-16 15:50:27 -0700411 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800412 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700413 <artifactId>onos-of-api</artifactId>
414 <version>${project.version}</version>
415 <classifier>tests</classifier>
416 <scope>test</scope>
417 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700418 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700419 <groupId>commons-pool</groupId>
420 <artifactId>commons-pool</artifactId>
421 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700422 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700423 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700424 <groupId>io.netty</groupId>
425 <artifactId>netty-common</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-buffer</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-transport</artifactId>
436 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700437 </dependency>
438 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700439 <groupId>io.netty</groupId>
440 <artifactId>netty-handler</artifactId>
441 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700442 </dependency>
443 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700444 <groupId>io.netty</groupId>
445 <artifactId>netty-codec</artifactId>
446 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700447 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700448 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700449 <groupId>io.netty</groupId>
450 <artifactId>netty-transport-native-epoll</artifactId>
451 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800452 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700453 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700454 <dependency>
455 <groupId>joda-time</groupId>
456 <artifactId>joda-time</artifactId>
457 <version>2.5</version>
458 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700459 </dependencies>
460 </dependencyManagement>
461
462 <dependencies>
463 <dependency>
464 <groupId>junit</groupId>
465 <artifactId>junit</artifactId>
466 </dependency>
467 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700468 <groupId>org.hamcrest</groupId>
469 <artifactId>hamcrest-core</artifactId>
470 </dependency>
471 <dependency>
472 <groupId>org.hamcrest</groupId>
473 <artifactId>hamcrest-library</artifactId>
474 </dependency>
475 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700476 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700477 <artifactId>slf4j-api</artifactId>
478 </dependency>
479 <dependency>
480 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700481 <artifactId>slf4j-jdk14</artifactId>
482 </dependency>
483 </dependencies>
tom09419512014-08-15 11:28:43 -0700484
485 <build>
486 <pluginManagement>
487 <plugins>
488 <plugin>
489 <groupId>org.apache.maven.plugins</groupId>
490 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700491 <!-- TODO: update once following issue is fixed. -->
492 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
493 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700494 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800495 <source>1.8</source>
496 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700497 </configuration>
498 </plugin>
499
500 <plugin>
501 <groupId>org.apache.maven.plugins</groupId>
502 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700503 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700504 <configuration>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700505 <redirectTestOutputToFile>true</redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700506 <printSummary>true</printSummary>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700507 <excludedGroups>org.onlab.junit.IntegrationTest</excludedGroups>
508 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700509 </configuration>
tom09419512014-08-15 11:28:43 -0700510 </plugin>
511
512 <plugin>
513 <groupId>org.apache.maven.plugins</groupId>
514 <artifactId>maven-jar-plugin</artifactId>
515 <version>2.3.1</version>
516 <executions>
517 <execution>
518 <phase>package</phase>
519 <goals>
520 <goal>test-jar</goal>
521 </goals>
522 </execution>
523 </executions>
524 </plugin>
525
526 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700527 <groupId>org.apache.maven.plugins</groupId>
528 <artifactId>maven-resources-plugin</artifactId>
529 <version>2.6</version>
530 </plugin>
531
532 <plugin>
tom09419512014-08-15 11:28:43 -0700533 <groupId>org.apache.felix</groupId>
534 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800535 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700536 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800537 <!--
538 Drop following dependency when the below bug fix is published
539 https://issues.apache.org/jira/browse/FELIX-4556
540 -->
541 <dependencies>
542 <dependency>
543 <groupId>biz.aQute.bnd</groupId>
544 <artifactId>bndlib</artifactId>
545 <version>2.4.0</version>
546 </dependency>
547 </dependencies>
tom09419512014-08-15 11:28:43 -0700548 </plugin>
549
550 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800551 <groupId>org.apache.maven.plugins</groupId>
552 <artifactId>maven-shade-plugin</artifactId>
553 <version>2.3</version>
554 </plugin>
555
556 <plugin>
tom09419512014-08-15 11:28:43 -0700557 <groupId>org.apache.felix</groupId>
558 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800559 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700560 <executions>
561 <execution>
562 <id>generate-scr-srcdescriptor</id>
563 <goals>
564 <goal>scr</goal>
565 </goals>
566 </execution>
567 </executions>
568 <configuration>
569 <supportedProjectTypes>
570 <supportedProjectType>bundle</supportedProjectType>
571 <supportedProjectType>war</supportedProjectType>
572 </supportedProjectTypes>
573 </configuration>
574 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800575 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800576 <groupId>org.codehaus.mojo</groupId>
577 <artifactId>findbugs-maven-plugin</artifactId>
578 <version>3.0.0</version>
579 <dependencies>
580 <dependency>
581 <groupId>org.onosproject</groupId>
582 <artifactId>onos-build-conf</artifactId>
583 <version>1.0</version>
584 </dependency>
585 </dependencies>
586 <configuration>
587 <effort>Max</effort>
588 <excludeFilterFile>onos/findbugs-suppressions.xml
589 </excludeFilterFile>
590 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800591 </plugin>
tom09419512014-08-15 11:28:43 -0700592
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700593 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700594 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700595 <groupId>org.onosproject</groupId>
596 <artifactId>onos-maven-plugin</artifactId>
Sahil Lele372d1f32015-07-31 15:01:41 -0700597 <version>1.5-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700598 <executions>
599 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700600 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700601 <phase>generate-resources</phase>
602 <goals>
603 <goal>cfg</goal>
604 </goals>
605 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700606 <execution>
Sahil Lele372d1f32015-07-31 15:01:41 -0700607 <id>swagger</id>
608 <phase>generate-resources</phase>
609 <goals>
610 <goal>swagger</goal>
611 </goals>
612 </execution>
613 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700614 <id>app</id>
615 <phase>package</phase>
616 <goals>
617 <goal>app</goal>
618 </goals>
619 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700620 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700621 </plugin>
tom09419512014-08-15 11:28:43 -0700622 </plugins>
tom09419512014-08-15 11:28:43 -0700623 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700624
625 <plugins>
626 <plugin>
627 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700628 <artifactId>maven-jar-plugin</artifactId>
629 </plugin>
630
631 <plugin>
632 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700633 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700634 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700635 <dependencies>
636 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800637 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700638 <artifactId>onos-build-conf</artifactId>
639 <version>1.0</version>
640 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800641 <!-- For Java 8 lambda support-->
642 <dependency>
643 <groupId>com.puppycrawl.tools</groupId>
644 <artifactId>checkstyle</artifactId>
645 <version>5.9</version>
646 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700647 </dependencies>
648 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800649 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800650 <sourceDirectory>${project.build.sourceDirectory}
651 </sourceDirectory>
652 <testSourceDirectory>${project.build.testSourceDirectory}
653 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800654 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700655 <configLocation>onos/checkstyle.xml</configLocation>
656 <suppressionsLocation>onos/suppressions.xml
657 </suppressionsLocation>
658 <failsOnError>false</failsOnError>
659 <logViolationsToConsole>true</logViolationsToConsole>
660 <includeTestSourceDirectory>true
661 </includeTestSourceDirectory>
662 </configuration>
663 <executions>
664 <execution>
665 <id>validate-checkstyle</id>
666 <phase>verify</phase>
667 <goals>
668 <goal>check</goal>
669 </goals>
670 </execution>
671 </executions>
672 </plugin>
673
674 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700675 <groupId>org.apache.maven.plugins</groupId>
676 <artifactId>maven-pmd-plugin</artifactId>
677 <version>3.2</version>
678 <configuration>
679 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700680 </excludes>
681 <rulesets>
682 <ruleset>onos/pmd.xml</ruleset>
683 </rulesets>
684 </configuration>
685 <executions>
686 <execution>
687 <id>validate-pmd</id>
688 <phase>verify</phase>
689 <goals>
690 <!-- Uncomment this goal to make the build fail on pmd errors -->
691 <!--<goal>check</goal>-->
692 </goals>
693 </execution>
694 </executions>
695 </plugin>
696
697 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700698 <groupId>org.jacoco</groupId>
699 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800700 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700701 <executions>
702 <execution>
703 <id>default-prepare-agent</id>
704 <goals>
705 <goal>prepare-agent</goal>
706 </goals>
707 </execution>
708 <execution>
709 <id>default-report</id>
710 <phase>prepare-package</phase>
711 <goals>
712 <goal>report</goal>
713 </goals>
714 </execution>
715 </executions>
716 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700717 </plugins>
tom09419512014-08-15 11:28:43 -0700718 </build>
alshabib522d9872014-08-15 10:35:16 -0700719
tom0eb04ca2014-08-25 14:34:51 -0700720 <reporting>
721 <plugins>
722 <plugin>
723 <groupId>org.apache.maven.plugins</groupId>
724 <artifactId>maven-checkstyle-plugin</artifactId>
725 <version>2.12.1</version>
726 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800727 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700728 </configuration>
729 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700730
731 <plugin>
732 <groupId>org.apache.maven.plugins</groupId>
733 <artifactId>maven-pmd-plugin</artifactId>
734 <version>3.2</version>
735 <configuration>
736 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700737 </excludes>
738 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800739 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700740 </rulesets>
741 </configuration>
742 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700743 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700744 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700745</project>