blob: 14c307963c8e8995233486716356779829ff86a6 [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
tom09419512014-08-15 11:28:43 -070033 <artifactId>onos</artifactId>
34 <packaging>pom</packaging>
Brian O'Connorafc2d7d2015-06-05 23:31:25 -070035 <version>1.3.0-SNAPSHOT</version>
alshabib522d9872014-08-15 10:35:16 -070036
Brian O'Connor932d9412014-12-03 17:20:11 -080037 <name>${project.artifactId}</name>
Yuta HIGUCHI964c1732014-12-02 20:38:07 -080038 <description>Open Network Operating System root project</description>
tom09419512014-08-15 11:28:43 -070039
40 <modules>
tom0eb04ca2014-08-25 14:34:51 -070041 <module>utils</module>
tome2dc27a2014-09-09 12:41:21 -070042 <module>core</module>
tom0eb04ca2014-08-25 14:34:51 -070043 <module>web</module>
44 <module>cli</module>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070045
46 <module>openflow</module>
47 <module>ovsdb</module>
48 <module>pcep</module>
49
tom0eb04ca2014-08-25 14:34:51 -070050 <module>providers</module>
alshabibfaa1e362015-04-02 15:01:54 -070051 <module>drivers</module>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070052
tom8bb16062014-09-12 14:47:46 -070053 <module>apps</module>
Thomas Vachuskad24aa7f2015-05-14 18:37:54 -070054 <module>incubator</module>
tom09419512014-08-15 11:28:43 -070055 <module>features</module>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070056
57 <module>tools/package/archetypes</module>
tomaa49a1e2014-09-12 23:11:46 -070058 <module>tools/package/branding</module>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -070059
Sahil Lele372d1f32015-07-31 15:01:41 -070060 <!-- FIXME remove before release -->
61 <module>tools/package/maven-plugin</module>
tom09419512014-08-15 11:28:43 -070062 </modules>
63
Brian O'Connor3439c102014-12-03 01:02:03 -080064 <url>http://onosproject.org/</url>
tom09419512014-08-15 11:28:43 -070065
Brian O'Connor932d9412014-12-03 17:20:11 -080066 <scm>
67 <connection>scm:git:https://gerrit.onosproject.org/onos</connection>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -080068 <developerConnection>scm:git:https://gerrit.onosproject.org/onos
69 </developerConnection>
Brian O'Connor932d9412014-12-03 17:20:11 -080070 <url>http://gerrit.onosproject.org/</url>
71 </scm>
72
tom09419512014-08-15 11:28:43 -070073 <licenses>
74 <license>
tom09419512014-08-15 11:28:43 -070075 <name>Apache License, Version 2.0</name>
76 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
77 </license>
78 </licenses>
79
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070080 <properties>
81 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -070082 <netty4.version>4.0.23.Final</netty4.version>
Madan Jampani40537ca2015-07-14 19:50:33 -070083 <copycat.version>0.5.0.onos12-SNAPSHOT</copycat.version>
Marc De Leenheerb9311372015-07-09 11:36:49 -070084 <openflowj.version>0.4.1.onos-SNAPSHOT</openflowj.version>
Thomas Vachuska5630c612015-03-24 12:24:12 -070085 <karaf.version>3.0.3</karaf.version>
86 <jersey.version>1.19</jersey.version>
Yuta HIGUCHIe2efe722014-09-19 14:37:34 -070087 </properties>
88
Brian O'Connor932d9412014-12-03 17:20:11 -080089 <distributionManagement>
90 <snapshotRepository>
91 <id>ossrh</id>
92 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
93 </snapshotRepository>
94 </distributionManagement>
Yuta HIGUCHI275fb6b2014-11-04 08:33:13 -080095
Madan Jampani458fb892015-07-06 17:54:03 -070096 <!--- Needed for copycat. Remove before official release -->
97 <repositories>
98 <repository>
99 <id>snapshots</id>
100 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
101 </repository>
102 </repositories>
103
Sahil Lele372d1f32015-07-31 15:01:41 -0700104 <!--- FIXME Needed for onos-maven-plugin. Remove before official release -->
105 <pluginRepositories>
106 <pluginRepository>
107 <id>snapshots</id>
108 <url>https://oss.sonatype.org/content/repositories/snapshots</url>
109 </pluginRepository>
110 </pluginRepositories>
111
tom0eb04ca2014-08-25 14:34:51 -0700112 <dependencyManagement>
113 <dependencies>
114 <dependency>
115 <groupId>junit</groupId>
116 <artifactId>junit</artifactId>
117 <version>4.11</version>
118 <scope>test</scope>
119 </dependency>
tom09419512014-08-15 11:28:43 -0700120
tom0eb04ca2014-08-25 14:34:51 -0700121 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700122 <groupId>org.hamcrest</groupId>
123 <artifactId>hamcrest-core</artifactId>
124 <version>1.3</version>
125 <scope>test</scope>
126 </dependency>
127 <dependency>
128 <groupId>org.hamcrest</groupId>
129 <artifactId>hamcrest-library</artifactId>
130 <version>1.3</version>
131 <scope>test</scope>
132 </dependency>
133
134 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700135 <groupId>org.slf4j</groupId>
136 <artifactId>slf4j-api</artifactId>
137 <version>1.7.6</version>
138 <scope>provided</scope>
139 </dependency>
140
141 <dependency>
142 <groupId>org.slf4j</groupId>
pankajb57fae22014-10-06 18:28:21 -0700143 <artifactId>slf4j-core</artifactId>
144 <version>1.7.6</version>
145 <scope>test</scope>
146 </dependency>
147
148 <dependency>
149 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700150 <artifactId>slf4j-jdk14</artifactId>
151 <version>1.7.6</version>
152 <scope>test</scope>
153 </dependency>
154
155 <dependency>
156 <groupId>com.google.guava</groupId>
157 <artifactId>guava</artifactId>
tomeadbb462014-09-07 16:10:19 -0700158 <version>18.0</version>
tom0eb04ca2014-08-25 14:34:51 -0700159 </dependency>
160
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700161 <dependency>
Madan Jampania185d862014-09-30 11:32:31 -0700162 <groupId>io.netty</groupId>
alshabibdf652ad2014-09-09 11:53:19 -0700163 <artifactId>netty</artifactId>
164 <version>3.9.0.Final</version>
165 </dependency>
166
tomde8d9682014-08-27 01:11:43 -0700167 <dependency>
168 <groupId>com.google.guava</groupId>
169 <artifactId>guava-testlib</artifactId>
tomeadbb462014-09-07 16:10:19 -0700170 <version>18.0</version>
tomde8d9682014-08-27 01:11:43 -0700171 <scope>test</scope>
172 </dependency>
173
tom6d2a43e2014-09-08 01:50:20 -0700174 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700175 <groupId>com.googlecode.concurrent-trees</groupId>
176 <artifactId>concurrent-trees</artifactId>
177 <version>2.4.0</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700178 </dependency>
179
180 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700181 <groupId>commons-lang</groupId>
tom6d2a43e2014-09-08 01:50:20 -0700182 <artifactId>commons-lang</artifactId>
183 <version>2.6</version>
184 </dependency>
tomde8d9682014-08-27 01:11:43 -0700185
tom66a7eb22014-09-22 11:58:56 -0700186 <dependency>
187 <groupId>org.apache.commons</groupId>
188 <artifactId>commons-lang3</artifactId>
189 <version>3.3.2</version>
190 </dependency>
191
Brian O'Connorf3d06162014-10-02 15:54:12 -0700192 <dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800193 <groupId>commons-configuration</groupId>
194 <artifactId>commons-configuration</artifactId>
195 <version>1.10</version>
196 </dependency>
197
198 <dependency>
Thomas Vachuskaf9c84362015-04-15 11:20:45 -0700199 <groupId>commons-collections</groupId>
200 <artifactId>commons-collections</artifactId>
201 <version>3.2.1</version>
202 </dependency>
203
204 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700205 <groupId>org.codehaus.jackson</groupId>
206 <artifactId>jackson-core-asl</artifactId>
207 <version>1.9.13</version>
208 </dependency>
209 <dependency>
210 <groupId>org.codehaus.jackson</groupId>
211 <artifactId>jackson-mapper-asl</artifactId>
212 <version>1.9.13</version>
213 </dependency>
Jonathan Hart74f9c3b2014-09-29 20:03:50 -0700214
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700215 <dependency>
216 <groupId>org.easymock</groupId>
217 <artifactId>easymock</artifactId>
218 <version>3.2</version>
219 <scope>test</scope>
220 </dependency>
tom66a7eb22014-09-22 11:58:56 -0700221
tom0eb04ca2014-08-25 14:34:51 -0700222 <!-- Web related -->
223 <dependency>
224 <groupId>com.sun.jersey</groupId>
225 <artifactId>jersey-servlet</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700226 <version>${jersey.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700227 <scope>provided</scope>
228 </dependency>
229 <dependency>
Thomas Vachuska530e52a2015-05-06 19:51:32 -0700230 <groupId>com.sun.jersey.contribs</groupId>
231 <artifactId>jersey-multipart</artifactId>
232 <version>${jersey.version}</version>
233 <scope>provided</scope>
234 </dependency>
235 <dependency>
Ray Milkey67c22722015-03-09 15:48:57 -0700236 <groupId>com.sun.jersey.jersey-test-framework</groupId>
237 <artifactId>jersey-test-framework-core</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700238 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700239 <scope>test</scope>
240 </dependency>
241 <dependency>
242 <groupId>com.sun.jersey.jersey-test-framework</groupId>
243 <artifactId>jersey-test-framework-grizzly2</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700244 <version>${jersey.version}</version>
Ray Milkey67c22722015-03-09 15:48:57 -0700245 <scope>test</scope>
246 </dependency>
247 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700248 <groupId>com.fasterxml.jackson.core</groupId>
249 <artifactId>jackson-databind</artifactId>
250 <version>2.4.2</version>
251 <scope>provided</scope>
252 </dependency>
253 <dependency>
254 <groupId>com.fasterxml.jackson.core</groupId>
255 <artifactId>jackson-annotations</artifactId>
256 <version>2.4.2</version>
257 <scope>provided</scope>
258 </dependency>
259
260 <!-- OSGi related -->
261 <dependency>
262 <groupId>org.osgi</groupId>
263 <artifactId>org.osgi.core</artifactId>
264 <version>4.3.1</version>
265 <scope>provided</scope>
266 </dependency>
267 <dependency>
tomc16656f2014-10-15 18:30:31 -0700268 <groupId>org.osgi</groupId>
269 <artifactId>org.osgi.compendium</artifactId>
270 <version>4.3.1</version>
271 <scope>provided</scope>
272 </dependency>
273 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700274 <groupId>org.apache.felix</groupId>
275 <artifactId>org.apache.felix.scr.annotations</artifactId>
276 <version>1.9.8</version>
277 <scope>provided</scope>
278 </dependency>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700279
280 <dependency>
281 <groupId>org.apache.karaf.features</groupId>
282 <artifactId>org.apache.karaf.features.core</artifactId>
283 <version>${karaf.version}</version>
284 <scope>provided</scope>
285 </dependency>
Thomas Vachuskade563cf2015-04-01 00:28:50 -0700286 <dependency>
287 <groupId>org.apache.karaf.system</groupId>
288 <artifactId>org.apache.karaf.system.core</artifactId>
289 <version>${karaf.version}</version>
290 <scope>provided</scope>
291 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700292 <dependency>
293 <groupId>org.apache.karaf.shell</groupId>
294 <artifactId>org.apache.karaf.shell.console</artifactId>
Thomas Vachuska5630c612015-03-24 12:24:12 -0700295 <version>${karaf.version}</version>
tom0eb04ca2014-08-25 14:34:51 -0700296 <scope>provided</scope>
297 </dependency>
298
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700299 <dependency>
tom14dc4d02014-09-26 12:43:14 -0700300 <groupId>org.livetribe.slp</groupId>
301 <artifactId>livetribe-slp</artifactId>
302 <version>2.2.1</version>
303 </dependency>
304
305 <dependency>
tomdc66b382014-09-22 17:05:47 -0700306 <groupId>com.eclipsesource.minimal-json</groupId>
307 <artifactId>minimal-json</artifactId>
308 <version>0.9.1</version>
309 </dependency>
310 <dependency>
Yuta HIGUCHI8ee7d4c2014-10-09 23:09:41 -0700311 <groupId>com.esotericsoftware</groupId>
312 <artifactId>kryo</artifactId>
313 <version>3.0.0</version>
314 </dependency>
315 <dependency>
316 <groupId>com.esotericsoftware</groupId>
317 <artifactId>reflectasm</artifactId>
318 <version>1.10.0</version>
319 <type>bundle</type>
320 </dependency>
321 <dependency>
322 <groupId>org.ow2.asm</groupId>
323 <artifactId>asm</artifactId>
324 <version>4.2</version>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700325 </dependency>
326 <dependency>
tom66a7eb22014-09-22 11:58:56 -0700327 <groupId>com.esotericsoftware</groupId>
328 <artifactId>minlog</artifactId>
329 <version>1.3.0</version>
330 </dependency>
331 <dependency>
332 <groupId>org.objenesis</groupId>
333 <artifactId>objenesis</artifactId>
334 <version>2.1</version>
335 </dependency>
Yuta HIGUCHI24a086b2014-09-21 23:28:41 -0700336
tom0eb04ca2014-08-25 14:34:51 -0700337 <!-- ONOS related -->
338 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800339 <groupId>org.onosproject</groupId>
tom5f38b3a2014-08-27 23:50:54 -0700340 <artifactId>onlab-misc</artifactId>
341 <version>${project.version}</version>
342 </dependency>
tom931af4e2014-09-13 12:00:57 -0700343 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800344 <groupId>org.onosproject</groupId>
tomf110fff2014-09-26 00:38:18 -0700345 <artifactId>onlab-nio</artifactId>
346 <version>${project.version}</version>
347 </dependency>
348 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800349 <groupId>org.onosproject</groupId>
tom0872a172014-09-23 11:24:26 -0700350 <artifactId>onlab-osgi</artifactId>
351 <version>${project.version}</version>
352 </dependency>
353 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800354 <groupId>org.onosproject</groupId>
Yuta HIGUCHIa7a4e5d2015-02-11 14:20:58 -0800355 <artifactId>onlab-osgi</artifactId>
356 <version>${project.version}</version>
357 <classifier>tests</classifier>
358 <scope>test</scope>
359 </dependency>
360 <dependency>
361 <groupId>org.onosproject</groupId>
tom931af4e2014-09-13 12:00:57 -0700362 <artifactId>onlab-junit</artifactId>
Pavlin Radoslavovd26f57a2014-10-23 17:19:45 -0700363 <version>${project.version}</version>
tom931af4e2014-09-13 12:00:57 -0700364 <scope>test</scope>
365 </dependency>
tom5f38b3a2014-08-27 23:50:54 -0700366
367 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800368 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700369 <artifactId>onos-api</artifactId>
370 <version>${project.version}</version>
371 </dependency>
372 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800373 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700374 <artifactId>onos-api</artifactId>
375 <version>${project.version}</version>
376 <classifier>tests</classifier>
377 <scope>test</scope>
378 </dependency>
379
Thomas Vachuskabf916ea2015-05-20 18:24:34 -0700380 <dependency>
381 <groupId>org.onosproject</groupId>
382 <artifactId>onos-incubator-api</artifactId>
383 <version>${project.version}</version>
384 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800385
386 <dependency>
387 <groupId>org.onosproject</groupId>
388 <artifactId>onos-core-common</artifactId>
389 <version>${project.version}</version>
390 </dependency>
HIGUCHI Yuta3c994f72015-03-18 16:32:49 -0700391 <dependency>
392 <groupId>org.onosproject</groupId>
393 <artifactId>onos-core-common</artifactId>
394 <version>${project.version}</version>
395 <classifier>tests</classifier>
396 <scope>test</scope>
397 </dependency>
Thomas Vachuska02aeb032015-01-06 22:36:30 -0800398
tom61359e92014-09-16 15:50:27 -0700399 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800400 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700401 <artifactId>onos-of-api</artifactId>
402 <version>${project.version}</version>
403 </dependency>
Jonathan Hart335ef462014-10-16 08:20:46 -0700404
405 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800406 <groupId>org.onosproject</groupId>
Phaneendra Manda1c0061d2015-08-06 12:29:38 +0530407 <artifactId>onos-pcepio</artifactId>
408 <version>${project.version}</version>
409 </dependency>
410
411 <dependency>
412 <groupId>org.onosproject</groupId>
413 <artifactId>onos-pcep-controller-api</artifactId>
414 <version>${project.version}</version>
415 </dependency>
416
417 <dependency>
418 <groupId>org.onosproject</groupId>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700419 <artifactId>onos-app-pcep-api</artifactId>
cheng fan48e832c2015-05-29 01:54:47 +0800420 <version>${project.version}</version>
421 </dependency>
422 <dependency>
423 <groupId>org.onosproject</groupId>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700424 <artifactId>onlab-thirdparty</artifactId>
425 <version>${project.version}</version>
Jonathan Hart335ef462014-10-16 08:20:46 -0700426 </dependency>
427
tom61359e92014-09-16 15:50:27 -0700428 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800429 <groupId>org.onosproject</groupId>
tom61359e92014-09-16 15:50:27 -0700430 <artifactId>onos-of-api</artifactId>
431 <version>${project.version}</version>
432 <classifier>tests</classifier>
433 <scope>test</scope>
434 </dependency>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700435 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700436 <groupId>commons-pool</groupId>
437 <artifactId>commons-pool</artifactId>
438 <version>1.6</version>
Yuta HIGUCHI707a7e62014-10-02 16:35:49 -0700439 </dependency>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700440 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700441 <groupId>io.netty</groupId>
442 <artifactId>netty-common</artifactId>
443 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700444 </dependency>
445 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700446 <groupId>io.netty</groupId>
447 <artifactId>netty-buffer</artifactId>
448 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700449 </dependency>
450 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700451 <groupId>io.netty</groupId>
452 <artifactId>netty-transport</artifactId>
453 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700454 </dependency>
455 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700456 <groupId>io.netty</groupId>
457 <artifactId>netty-handler</artifactId>
458 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700459 </dependency>
460 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700461 <groupId>io.netty</groupId>
462 <artifactId>netty-codec</artifactId>
463 <version>${netty4.version}</version>
Yuta HIGUCHIceff7b02014-10-20 18:32:25 -0700464 </dependency>
Madan Jampani824a7c12014-10-21 09:46:15 -0700465 <dependency>
Thomas Vachuska5d42c6b2014-10-21 23:52:28 -0700466 <groupId>io.netty</groupId>
467 <artifactId>netty-transport-native-epoll</artifactId>
468 <version>${netty4.version}</version>
Madan Jampani1c7b8782014-11-03 12:14:29 -0800469 <classifier>${os.detected.classifier}</classifier>
Madan Jampani824a7c12014-10-21 09:46:15 -0700470 </dependency>
Yuta HIGUCHIb87ef952014-10-28 23:34:23 -0700471 <dependency>
472 <groupId>joda-time</groupId>
473 <artifactId>joda-time</artifactId>
474 <version>2.5</version>
475 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700476 </dependencies>
477 </dependencyManagement>
478
479 <dependencies>
480 <dependency>
481 <groupId>junit</groupId>
482 <artifactId>junit</artifactId>
483 </dependency>
484 <dependency>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700485 <groupId>org.hamcrest</groupId>
486 <artifactId>hamcrest-core</artifactId>
487 </dependency>
488 <dependency>
489 <groupId>org.hamcrest</groupId>
490 <artifactId>hamcrest-library</artifactId>
491 </dependency>
492 <dependency>
tom0eb04ca2014-08-25 14:34:51 -0700493 <groupId>org.slf4j</groupId>
Yuta HIGUCHI0390ffb2014-10-09 23:45:16 -0700494 <artifactId>slf4j-api</artifactId>
495 </dependency>
496 <dependency>
497 <groupId>org.slf4j</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700498 <artifactId>slf4j-jdk14</artifactId>
499 </dependency>
500 </dependencies>
tom09419512014-08-15 11:28:43 -0700501
502 <build>
503 <pluginManagement>
504 <plugins>
505 <plugin>
506 <groupId>org.apache.maven.plugins</groupId>
507 <artifactId>maven-compiler-plugin</artifactId>
Yuta HIGUCHIea90aa62014-10-13 15:57:55 -0700508 <!-- TODO: update once following issue is fixed. -->
509 <!-- https://jira.codehaus.org/browse/MCOMPILER-205 -->
510 <version>2.5.1</version>
tom09419512014-08-15 11:28:43 -0700511 <configuration>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800512 <source>1.8</source>
513 <target>1.8</target>
tom09419512014-08-15 11:28:43 -0700514 </configuration>
515 </plugin>
516
517 <plugin>
518 <groupId>org.apache.maven.plugins</groupId>
519 <artifactId>maven-surefire-plugin</artifactId>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700520 <version>2.18.1</version>
tom64888122014-08-27 21:47:46 -0700521 <configuration>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700522 <redirectTestOutputToFile>true
523 </redirectTestOutputToFile>
tom64888122014-08-27 21:47:46 -0700524 <printSummary>true</printSummary>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700525 <excludedGroups>org.onlab.junit.IntegrationTest
526 </excludedGroups>
HIGUCHI Yuta2eef94d2015-05-05 15:40:58 -0700527 <rerunFailingTestsCount>1</rerunFailingTestsCount>
tom64888122014-08-27 21:47:46 -0700528 </configuration>
tom09419512014-08-15 11:28:43 -0700529 </plugin>
530
531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-jar-plugin</artifactId>
534 <version>2.3.1</version>
535 <executions>
536 <execution>
537 <phase>package</phase>
538 <goals>
539 <goal>test-jar</goal>
540 </goals>
541 </execution>
542 </executions>
543 </plugin>
544
545 <plugin>
tom0eb04ca2014-08-25 14:34:51 -0700546 <groupId>org.apache.maven.plugins</groupId>
547 <artifactId>maven-resources-plugin</artifactId>
548 <version>2.6</version>
549 </plugin>
550
551 <plugin>
tom09419512014-08-15 11:28:43 -0700552 <groupId>org.apache.felix</groupId>
553 <artifactId>maven-bundle-plugin</artifactId>
Madan Jampani08822c42014-11-04 17:17:46 -0800554 <version>2.5.3</version>
tom09419512014-08-15 11:28:43 -0700555 <extensions>true</extensions>
alshabibe4344332015-01-28 15:30:13 -0800556 <!--
557 Drop following dependency when the below bug fix is published
558 https://issues.apache.org/jira/browse/FELIX-4556
559 -->
560 <dependencies>
561 <dependency>
562 <groupId>biz.aQute.bnd</groupId>
563 <artifactId>bndlib</artifactId>
564 <version>2.4.0</version>
565 </dependency>
566 </dependencies>
tom09419512014-08-15 11:28:43 -0700567 </plugin>
568
569 <plugin>
Thomas Vachuska01a6ec02014-11-05 09:54:09 -0800570 <groupId>org.apache.maven.plugins</groupId>
571 <artifactId>maven-shade-plugin</artifactId>
572 <version>2.3</version>
573 </plugin>
574
575 <plugin>
tom09419512014-08-15 11:28:43 -0700576 <groupId>org.apache.felix</groupId>
577 <artifactId>maven-scr-plugin</artifactId>
Yuta HIGUCHIf2548cb2014-11-03 18:02:25 -0800578 <version>1.20.0</version>
tom09419512014-08-15 11:28:43 -0700579 <executions>
580 <execution>
581 <id>generate-scr-srcdescriptor</id>
582 <goals>
583 <goal>scr</goal>
584 </goals>
585 </execution>
586 </executions>
587 <configuration>
588 <supportedProjectTypes>
589 <supportedProjectType>bundle</supportedProjectType>
590 <supportedProjectType>war</supportedProjectType>
591 </supportedProjectTypes>
592 </configuration>
593 </plugin>
Ray Milkey241b96a2014-11-17 13:08:20 -0800594 <plugin>
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800595 <groupId>org.codehaus.mojo</groupId>
596 <artifactId>findbugs-maven-plugin</artifactId>
597 <version>3.0.0</version>
598 <dependencies>
599 <dependency>
600 <groupId>org.onosproject</groupId>
601 <artifactId>onos-build-conf</artifactId>
602 <version>1.0</version>
603 </dependency>
604 </dependencies>
605 <configuration>
606 <effort>Max</effort>
607 <excludeFilterFile>onos/findbugs-suppressions.xml
608 </excludeFilterFile>
609 </configuration>
Ray Milkey241b96a2014-11-17 13:08:20 -0800610 </plugin>
tom09419512014-08-15 11:28:43 -0700611
Brian O'Connoreaa47be2015-03-17 20:57:47 -0700612 <!-- This version needs to be updated manually when changes are made to onos-maven-plugin -->
Brian O'Connorf3d06162014-10-02 15:54:12 -0700613 <plugin>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700614 <groupId>org.onosproject</groupId>
615 <artifactId>onos-maven-plugin</artifactId>
Sahil Lele372d1f32015-07-31 15:01:41 -0700616 <version>1.5-SNAPSHOT</version>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700617 <executions>
618 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700619 <id>cfg</id>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700620 <phase>generate-resources</phase>
621 <goals>
622 <goal>cfg</goal>
623 </goals>
624 </execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700625 <execution>
Sahil Lele372d1f32015-07-31 15:01:41 -0700626 <id>swagger</id>
Thomas Vachuska0fa2aa12015-08-18 12:53:04 -0700627 <phase>generate-sources</phase>
Sahil Lele372d1f32015-07-31 15:01:41 -0700628 <goals>
629 <goal>swagger</goal>
630 </goals>
631 </execution>
632 <execution>
Brian O'Connor5819b0a2015-04-14 15:03:06 -0700633 <id>app</id>
634 <phase>package</phase>
635 <goals>
636 <goal>app</goal>
637 </goals>
638 </execution>
Thomas Vachuska8c8b0372015-03-10 11:11:24 -0700639 </executions>
Brian O'Connorf3d06162014-10-02 15:54:12 -0700640 </plugin>
tom09419512014-08-15 11:28:43 -0700641 </plugins>
tom09419512014-08-15 11:28:43 -0700642 </pluginManagement>
tom0eb04ca2014-08-25 14:34:51 -0700643
644 <plugins>
645 <plugin>
646 <groupId>org.apache.maven.plugins</groupId>
tome33cc1a2014-08-25 21:59:41 -0700647 <artifactId>maven-jar-plugin</artifactId>
648 </plugin>
649
650 <plugin>
651 <groupId>org.apache.maven.plugins</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700652 <artifactId>maven-checkstyle-plugin</artifactId>
Yuta HIGUCHIee0ae6c2014-10-18 18:11:57 -0700653 <version>2.13</version>
tom0eb04ca2014-08-25 14:34:51 -0700654 <dependencies>
655 <dependency>
Brian O'Connorabafb502014-12-02 22:26:20 -0800656 <groupId>org.onosproject</groupId>
tom0eb04ca2014-08-25 14:34:51 -0700657 <artifactId>onos-build-conf</artifactId>
658 <version>1.0</version>
659 </dependency>
Madan Jampani08822c42014-11-04 17:17:46 -0800660 <!-- For Java 8 lambda support-->
661 <dependency>
662 <groupId>com.puppycrawl.tools</groupId>
663 <artifactId>checkstyle</artifactId>
664 <version>5.9</version>
665 </dependency>
tom0eb04ca2014-08-25 14:34:51 -0700666 </dependencies>
667 <configuration>
Toshio Koided7d96412014-11-05 11:56:07 -0800668 <!-- begin: workaround for unexpected NullPointerException on Eclipse -->
Thomas Vachuskaa8f4e7d2015-01-08 17:31:55 -0800669 <sourceDirectory>${project.build.sourceDirectory}
670 </sourceDirectory>
671 <testSourceDirectory>${project.build.testSourceDirectory}
672 </testSourceDirectory>
Toshio Koided7d96412014-11-05 11:56:07 -0800673 <!-- end: workaround for unexpected NullPointerException on Eclipse -->
tom0eb04ca2014-08-25 14:34:51 -0700674 <configLocation>onos/checkstyle.xml</configLocation>
675 <suppressionsLocation>onos/suppressions.xml
676 </suppressionsLocation>
677 <failsOnError>false</failsOnError>
678 <logViolationsToConsole>true</logViolationsToConsole>
679 <includeTestSourceDirectory>true
680 </includeTestSourceDirectory>
681 </configuration>
682 <executions>
683 <execution>
684 <id>validate-checkstyle</id>
685 <phase>verify</phase>
686 <goals>
687 <goal>check</goal>
688 </goals>
689 </execution>
690 </executions>
691 </plugin>
692
693 <plugin>
tom50a76dd2014-09-02 15:18:35 -0700694 <groupId>org.apache.maven.plugins</groupId>
695 <artifactId>maven-pmd-plugin</artifactId>
696 <version>3.2</version>
697 <configuration>
698 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700699 </excludes>
700 <rulesets>
701 <ruleset>onos/pmd.xml</ruleset>
702 </rulesets>
703 </configuration>
704 <executions>
705 <execution>
706 <id>validate-pmd</id>
707 <phase>verify</phase>
708 <goals>
709 <!-- Uncomment this goal to make the build fail on pmd errors -->
710 <!--<goal>check</goal>-->
711 </goals>
712 </execution>
713 </executions>
714 </plugin>
715
716 <plugin>
tom4f3b18b2014-08-28 14:38:47 -0700717 <groupId>org.jacoco</groupId>
718 <artifactId>jacoco-maven-plugin</artifactId>
Yuta HIGUCHIf61665d2015-02-04 12:14:09 -0800719 <version>0.7.2.201409121644</version>
tom4f3b18b2014-08-28 14:38:47 -0700720 <executions>
721 <execution>
722 <id>default-prepare-agent</id>
723 <goals>
724 <goal>prepare-agent</goal>
725 </goals>
726 </execution>
727 <execution>
728 <id>default-report</id>
729 <phase>prepare-package</phase>
730 <goals>
731 <goal>report</goal>
732 </goals>
733 </execution>
734 </executions>
735 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700736 </plugins>
tom09419512014-08-15 11:28:43 -0700737 </build>
alshabib522d9872014-08-15 10:35:16 -0700738
tom0eb04ca2014-08-25 14:34:51 -0700739 <reporting>
740 <plugins>
741 <plugin>
742 <groupId>org.apache.maven.plugins</groupId>
743 <artifactId>maven-checkstyle-plugin</artifactId>
744 <version>2.12.1</version>
745 <configuration>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800746 <configLocation>onos/checkstyle.xml</configLocation>
tom0eb04ca2014-08-25 14:34:51 -0700747 </configuration>
748 </plugin>
tom50a76dd2014-09-02 15:18:35 -0700749
750 <plugin>
751 <groupId>org.apache.maven.plugins</groupId>
752 <artifactId>maven-pmd-plugin</artifactId>
753 <version>3.2</version>
754 <configuration>
755 <excludes>
tom50a76dd2014-09-02 15:18:35 -0700756 </excludes>
757 <rulesets>
Ray Milkey0f98ca22014-11-17 17:12:38 -0800758 <ruleset>onos/pmd.xml</ruleset>
tom50a76dd2014-09-02 15:18:35 -0700759 </rulesets>
760 </configuration>
761 </plugin>
tom0eb04ca2014-08-25 14:34:51 -0700762 </plugins>
tom0eb04ca2014-08-25 14:34:51 -0700763 </reporting>
alshabib522d9872014-08-15 10:35:16 -0700764</project>